@local-logic/sdks-app 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/assets/{auto-track-legacy.a46e361b.js → auto-track-legacy.5a15cc10.js} +1 -1
  2. package/dist/assets/{auto-track.bcea5d95.js → auto-track.9c4c37f2.js} +1 -1
  3. package/dist/assets/{index-legacy.770cfe03.js → index-legacy.2dafcab0.js} +1 -1
  4. package/dist/assets/index-legacy.33e7763b.js +1 -0
  5. package/dist/assets/{index-legacy.ea25d2c0.js → index-legacy.3e15a23a.js} +1 -1
  6. package/dist/assets/{index-legacy.98ea5567.js → index-legacy.64d191bf.js} +12 -12
  7. package/dist/assets/{index-legacy.ded6c0c3.js → index-legacy.8c8f66b9.js} +1 -1
  8. package/dist/assets/{index-legacy.9eb391ce.js → index-legacy.b1b7c758.js} +1 -1
  9. package/dist/assets/{index-legacy.b7a4faaa.js → index-legacy.bfac1b45.js} +1 -1
  10. package/dist/assets/{index-legacy.fe28c497.js → index-legacy.f168d7a1.js} +1 -1
  11. package/dist/assets/{index-legacy.5bcad02a.js → index-legacy.f70a489f.js} +1 -1
  12. package/dist/assets/{index-legacy.0be73293.js → index-legacy.fe45c685.js} +1 -1
  13. package/dist/assets/{index.9c4a9ff4.js → index.2fa91f65.js} +1 -1
  14. package/dist/assets/{index.3f198d2d.js → index.7c5ff2a7.js} +39 -39
  15. package/dist/assets/{index.16564d34.js → index.913d55c2.js} +1 -1
  16. package/dist/assets/{index.520a122e.js → index.a59f31e1.js} +16 -19
  17. package/dist/assets/{index.939781f4.js → index.a62f0f16.js} +1 -1
  18. package/dist/assets/{index.499b0146.js → index.ab13cdc9.js} +1 -1
  19. package/dist/assets/{index.9c512de3.js → index.b571c2ea.js} +1 -1
  20. package/dist/assets/{index.0ad6c4c5.js → index.e16053c4.js} +1 -1
  21. package/dist/assets/index.e267d77a.js +1 -0
  22. package/dist/assets/{index.a930ac3c.js → index.eedc8298.js} +1 -1
  23. package/dist/assets/{index.umd-legacy.97cfaf3e.js → index.umd-legacy.313ecd9d.js} +1 -1
  24. package/dist/assets/{index.umd.fababc47.js → index.umd.4df6dfc8.js} +1 -1
  25. package/dist/index.html +2 -2
  26. package/dist/types/components/Search/index.d.ts.map +1 -1
  27. package/dist/types/components/Search/index.js +13 -5
  28. package/dist/types/components/Search/index.js.map +1 -1
  29. package/dist/types/components/Search/useSuggestions.d.ts +1 -1
  30. package/dist/types/components/Search/useSuggestions.d.ts.map +1 -1
  31. package/dist/types/components/Search/useSuggestions.js +2 -1
  32. package/dist/types/components/Search/useSuggestions.js.map +1 -1
  33. package/dist/types/constants/tracking.d.ts +2 -3
  34. package/dist/types/constants/tracking.d.ts.map +1 -1
  35. package/dist/types/constants/tracking.js +2 -3
  36. package/dist/types/constants/tracking.js.map +1 -1
  37. package/dist/types/features/suggestions/types.d.ts +4 -1
  38. package/dist/types/features/suggestions/types.d.ts.map +1 -1
  39. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/index.d.ts.map +1 -1
  40. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/index.js +16 -4
  41. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/index.js.map +1 -1
  42. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/styles.d.ts +1 -1
  43. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/styles.d.ts.map +1 -1
  44. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/styles.js +1 -4
  45. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/styles.js.map +1 -1
  46. package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.d.ts.map +1 -1
  47. package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.js +8 -2
  48. package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.js.map +1 -1
  49. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts.map +1 -1
  50. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js +3 -0
  51. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js.map +1 -1
  52. package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
  53. package/dist/types/sdks/LocalContent/Map/index.js +5 -0
  54. package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
  55. package/package.json +1 -1
  56. package/dist/assets/index-legacy.d5ed91f3.js +0 -1
  57. package/dist/assets/index.6afa5429.js +0 -1
@@ -37,4 +37,4 @@ var $o=Jr.exports,Jo=Zo.exports;function ei(e){for(var t="https://reactjs.org/do
37
37
  * LICENSE.md file in the root directory of this source tree.
38
38
  *
39
39
  * @license MIT
40
- */function BO(){return BO=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},BO.apply(this,arguments)}function UO(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function VO(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}var HO=["children","location","__experimental__snapshot"],qO=["location","__experimental__snapshot"],YO=["basepath","routes"],GO=Jr.exports.createContext(null),WO=Jr.exports.createContext(null),KO=Jr.exports.createContext(null),XO=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),ZO=XO?Jr.exports.useLayoutEffect:Jr.exports.useEffect,QO=function(){return XO?function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function o(){var e=n.location,t=e.pathname,o=e.search,i=e.hash,a=r.state||{};return[a.idx,{pathname:t,search:o,hash:i,state:a.usr||null,key:a.key||"default"}]}var i=null;n.addEventListener("popstate",(function(){if(i)f.call(i),i=null;else{var e=rO.Pop,t=o(),n=t[0],r=t[1];if(f.length){if(null!=n){var a=s-n;a&&(i={action:e,location:r,retry:function(){g(-1*a)}},g(a))}}else m(e)}}));var a=rO.Pop,u=o(),s=u[0],l=u[1],c=FO(),f=FO();function d(e){return"string"==typeof e?e:jO(e)}function p(e,t){return void 0===t&&(t=null),DO({pathname:l.pathname,hash:"",search:""},"string"==typeof e?zO(e):e,{state:t,key:IO()})}function h(e,t){return[{usr:e.state,key:e.key,idx:t},d(e)]}function v(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function m(e){a=e;var t=o();s=t[0],l=t[1],c.call({action:a,location:l})}function g(e){r.go(e)}null==s&&(s=0,r.replaceState(DO({},r.state,{idx:s}),""));var y={get action(){return a},get location(){return l},createHref:d,push:function e(t,o){var i=rO.Push,a=p(t,o);if(v(i,a,(function(){e(t,o)}))){var u=h(a,s+1),l=u[0],c=u[1];try{r.pushState(l,"",c)}catch(f){n.location.assign(c)}m(i)}},replace:function e(t,n){var o=rO.Replace,i=p(t,n);if(v(o,i,(function(){e(t,n)}))){var a=h(i,s),u=a[0],l=a[1];r.replaceState(u,"",l),m(o)}},go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(e){return c.push(e)},block:function(e){var t=f.push(e);return 1===f.length&&n.addEventListener(LO,NO),function(){t(),f.length||n.removeEventListener(LO,NO)}}};return y}():function(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=void 0===n?["/"]:n,o=t.initialIndex,i=r.map((function(e){return DO({pathname:"/",search:"",hash:"",state:null,key:IO()},"string"==typeof e?zO(e):e)})),a=MO(null==o?i.length-1:o,0,i.length-1),u=rO.Pop,s=i[a],l=FO(),c=FO();function f(e,t){return void 0===t&&(t=null),DO({pathname:s.pathname,search:"",hash:""},"string"==typeof e?zO(e):e,{state:t,key:IO()})}function d(e,t,n){return!c.length||(c.call({action:e,location:t,retry:n}),!1)}function p(e,t){u=e,s=t,l.call({action:u,location:s})}function h(e){var t=MO(a+e,0,i.length-1),n=rO.Pop,r=i[t];d(n,r,(function(){h(e)}))&&(a=t,p(n,r))}var v={get index(){return a},get action(){return u},get location(){return s},createHref:function(e){return"string"==typeof e?e:jO(e)},push:function e(t,n){var r=rO.Push,o=f(t,n);d(r,o,(function(){e(t,n)}))&&(a+=1,i.splice(a,i.length,o),p(r,o))},replace:function e(t,n){var r=rO.Replace,o=f(t,n);d(r,o,(function(){e(t,n)}))&&(i[a]=o,p(r,o))},go:h,back:function(){h(-1)},forward:function(){h(1)},listen:function(e){return l.push(e)},block:function(e){return c.push(e)}};return v}()},$O=function(){function e(){ro(this,e),this.listeners=[]}return no(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),function(){t.listeners=t.listeners.filter((function(t){return t!==e}))}}},{key:"notify",value:function(){this.listeners.forEach((function(e){return e()}))}}]),e}(),JO=function(e){oo(n,e);var t=io(n);function n(e){var r,o,i;return ro(this,n),(r=t.call(this)).isTransitioning=!1,r.history=(null==e?void 0:e.history)||QO(),r.stringifySearch=null!=(o=null==e?void 0:e.stringifySearch)?o:TR,r.parseSearch=null!=(i=null==e?void 0:e.parseSearch)?i:AR,r.current=r.parseLocation(r.history.location),r.destroy=r.history.listen((function(e){r.current=r.parseLocation(e.location,r.current),r.notify()})),r}return no(n,[{key:"buildNext",value:function(e,t){var n,r,o,i;void 0===e&&(e="/"),void 0===t&&(t={});var a=BO({},this.current,t.from),u=function(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");var r=xR(t),o=xR(n);o.forEach((function(e,t){if("/"===e.value)t?t===o.length-1&&r.push(e):r=[e];else if(".."===e.value)r.pop();else{if("."===e.value)return;r.push(e)}}));var i=yR([e].concat(Wr(r.map((function(e){return e.value})))));return bR(i)}(e,a.pathname,""+(null!=(n=t.to)?n:".")),s=null!=(r=t.__searchFilters)&&r.length?t.__searchFilters.reduce((function(e,t){return t(e)}),a.search):a.search,l=!0===t.search?s:t.search?null!=(o=gR(t.search,s))?o:{}:null!=(i=t.__searchFilters)&&i.length?s:{},c=_R(a.search,l),f=this.stringifySearch(c),d=!0===t.hash?a.hash:gR(t.hash,a.hash);return{pathname:u,search:c,searchStr:f,hash:d=d?"#"+d:"",href:""+u+f+d,key:t.key}}},{key:"navigate",value:function(e,t){this.current=e,this.navigateTimeout&&clearTimeout(this.navigateTimeout);var n="replace";return t||(n="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(n="replace"),"replace"===n?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})}},{key:"parseLocation",value:function(e,t){var n,r=this.parseSearch(e.search);return{pathname:e.pathname,searchStr:e.search,search:_R(null==t?void 0:t.search,r),hash:null!=(n=e.hash.split("#").reverse()[0])?n:"",href:""+e.pathname+e.search+e.hash,key:e.key}}}]),n}($O);function eR(e){return Fx(WO.Provider,Zr({},e))}function tR(e){var t=e.children,n=e.location,r=e.__experimental__snapshot,o=UO(e,HO),i=Jr.exports.useRef(null);i.current||(i.current=new rR({location:n,__experimental__snapshot:r,routes:o.routes}));var a=i.current,u=$r(Jr.exports.useReducer((function(){return{}}),{}),2),s=(u[0],u[1]);return a.update(o),ZO((function(){return a.subscribe((function(){s()}))}),[]),ZO((function(){return a.updateLocation(n.current).unsubscribe}),[n.current.key]),Jr.exports.createElement(GO.Provider,{value:{location:n}},Jr.exports.createElement(KO.Provider,{value:{router:a}},Fx(nR,{}),Fx(eR,{value:[a.rootMatch].concat(Wr(a.state.matches)),children:null!=t?t:Fx(hR,{})})))}function nR(){var e=oR(),t=pR(),n=dR();return ZO((function(){t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})}),[]),null}var rR=function(e){oo(n,e);var t=io(n);function n(e){var r,o;ro(this,n);var i=e.location,a=e.__experimental__snapshot,u=UO(e,qO);(r=t.call(this)).routesById={},r.update=function(e){var t=e.basepath,n=e.routes,o=UO(e,YO);Object.assign(uo(r),o),r.basepath=bR("/"+(null!=t?t:"")),r.routesById={};r.routes=function e(t,n){return t.map((function(t){var i,a,u,s,l=null!=(i=t.path)?i:"*",c=yR(["root"===(null==n?void 0:n.id)?"":null==n?void 0:n.id,(null==l?void 0:l.replace(/(.)\/$/,"$1"))+(t.id?"-"+t.id:"")]);if(t=BO({},t,{pendingMs:null!=(a=t.pendingMs)?a:null==o?void 0:o.defaultPendingMs,pendingMinMs:null!=(u=t.pendingMinMs)?u:null==o?void 0:o.defaultPendingMinMs,id:c}),r.routesById[c])throw new Error;return r.routesById[c]=t,t.children=null!=(s=t.children)&&s.length?e(t.children,t):void 0,t}))}(n),r.rootMatch={id:"root",params:{},search:{},pathname:r.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},r.setState=function(e){var t=e({state:r.state,pending:r.pending});r.state=t.state,r.pending=t.pending,r.cleanMatchCache(),r.notify()},r.matchCache={},r.cleanMatchCache=function(){var e,t,n,o=[].concat(Wr(null!=(e=null==uo(r)?void 0:r.state.matches)?e:[]),Wr(null!=(t=null==uo(r)||null==(n=r.pending)?void 0:n.matches)?t:[])).map((function(e){return e.id}));Object.values(r.matchCache).forEach((function(e){var t;if(e.updatedAt&&!o.includes(e.id)){var n=Date.now()-(null!=(t=e.updatedAt)?t:0);(!e.maxAge||n>e.maxAge)&&(e.route.unloader&&e.route.unloader(e),delete r.matchCache[e.id])}}))},r.updateLocation=function(e){var t,n=new Promise((function(n){var o=new aR(uo(r),e);r.setState((function(e){return BO({},e,{pending:{location:o.location,matches:o.matches}})})),t=o.subscribe((function(){var e=r.state.matches;e.filter((function(e){return!o.matches.find((function(t){return t.id===e.id}))})).forEach((function(e){null==e.onExit||e.onExit(e)})),e.filter((function(e){return o.matches.find((function(t){return t.id===e.id}))})).forEach((function(e){null==e.route.onTransition||e.route.onTransition(e)})),o.matches.filter((function(t){return!e.find((function(e){return e.id===t.id}))})).forEach((function(e){e.onExit=null==e.route.onMatch?void 0:e.route.onMatch(e)})),r.setState((function(e){return BO({},e,{state:{location:o.location,matches:o.matches},pending:void 0})})),n()})),o.loadData(),o.startPending()}));return{promise:n,unsubscribe:t}},r.__experimental__createSnapshot=function(){return{location:r.state.location,matches:r.state.matches.map((function(e){var t=e.ownData;return{id:e.id,ownData:t}}))}},r.update(u);var s=[];if(a){var l=new aR(uo(r),i.current);l.matches.forEach((function(e,t){var n,r,o,i;if(e.id!==(null==(n=a.matches[t])?void 0:n.id))throw new Error("Router hydration mismatch: "+e.id+" !== "+(null==(i=a.matches[t])?void 0:i.id));e.ownData=null!=(r=null==(o=a.matches[t])?void 0:o.ownData)?r:{}})),uR(l.matches),s=l.matches}return r.state={location:null!=(o=null==a?void 0:a.location)?o:i.current,matches:s},i.subscribe((function(){return r.notify()})),r}return no(n)}($O);function oR(){var e=Jr.exports.useContext(GO);return mR(!!e,"useLocation must be used within a <ReactLocation />"),e.location}var iR=no((function e(t){var n=this;ro(this,e),this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=function(e){var t;null==(t=n.matchLoader)||t.preNotify(e?n:void 0)},this.assignMatchLoader=function(e){n.matchLoader=e},this.startPending=function(){n.pendingTimeout&&clearTimeout(n.pendingTimeout),void 0!==n.route.pendingMs&&(n.pendingTimeout=setTimeout((function(){var e;"loading"===n.status&&(n.status="pending"),null==(e=n.notify)||e.call(n),void 0!==n.route.pendingMinMs&&(n.pendingMinPromise=new Promise((function(e){return setTimeout(e,n.route.pendingMinMs)})))}),n.route.pendingMs))},this.load=function(e){var t,r;if(n.maxAge=null!=(t=null!=(r=e.maxAge)?r:n.route.loaderMaxAge)?t:e.router.defaultLoaderMaxAge,!n.loaderPromise){var o=n.route.import;n.loaderPromise=(o?(n.isLoading=!0,o({params:n.params,search:n.search}).then((function(e){n.route=BO({},n.route,e)}))):Promise.resolve()).then((function(){var t=[];["element","errorElement","pendingElement"].forEach((function(e){var r=n.route[e];n[e]||("function"==typeof r?(n.isLoading=!0,t.push(r(n).then((function(t){n[e]=t})))):n[e]=n.route[e])}));var r=n.route.loader,o=r?new Promise(function(){var t=Vr(Br().mark((function t(o){var i,a,u;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.isLoading=!0,i=function(e){n.updatedAt=Date.now(),o(n.ownData),n.status=e},a=function(e){n.ownData=e,n.error=void 0,i("resolved")},u=function(e){console.error(e),n.error=e,i("rejected")},t.prev=4,t.t0=a,t.next=8,r(n,{parentMatch:e.parentMatch,dispatch:function(){var e=Vr(Br().mark((function e(t){var r;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"resolve"===t.type?a(t.data):"reject"===t.type?u(t.error):"loading"===t.type?n.isLoading=!0:"maxAge"===t.type&&(n.maxAge=t.maxAge),n.updatedAt=Date.now(),null==(r=n.notify)||r.call(n,!0);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});case 8:t.t1=t.sent,(0,t.t0)(t.t1),t.next=15;break;case 12:t.prev=12,t.t2=t.catch(4),u(t.t2);case 15:case"end":return t.stop()}}),t,null,[[4,12]])})));return function(e){return t.apply(this,arguments)}}()):Promise.resolve();return Promise.all([].concat(t,[o])).then((function(){n.status="resolved",n.isLoading=!1,n.startPending=void 0})).then((function(){return n.pendingMinPromise})).then((function(){var e;n.pendingTimeout&&clearTimeout(n.pendingTimeout),null==(e=n.notify)||e.call(n,!0)}))})).then((function(){return n.ownData}))}},Object.assign(this,t)})),aR=function(e){oo(n,e);var t=io(n);function n(e,r){var o,i;ro(this,n),o=t.call(this),i=uo(o),o.preNotifiedMatches=[],o.status="pending",o.preNotify=function(e){e&&(o.preNotifiedMatches.includes(e)||o.preNotifiedMatches.push(e)),e&&o.preNotifiedMatches.length!==o.matches.length||(o.status="resolved",uR(o.matches),o.notify())},o.loadData=function(){var e=Vr(Br().mark((function e(t){var n,r;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(void 0===t?{}:t).maxAge,i.router.cleanMatchCache(),null!=(n=i.matches)&&n.length){e.next=5;break}return i.preNotify(),e.abrupt("return");case 5:return i.firstRenderPromises=[],i.matches.forEach((function(e,t){var n,o,a=null==(n=i.matches)?void 0:n[t-1];null==e.assignMatchLoader||e.assignMatchLoader(i),null==e.load||e.load({maxAge:r,parentMatch:a,router:i.router}),null==(o=i.firstRenderPromises)||o.push(e.loaderPromise)})),e.next=9,Promise.all(i.firstRenderPromises).then((function(){return i.preNotify(),i.matches}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o.load=function(){var e=Vr(Br().mark((function e(t){var n;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(void 0===t?{}:t).maxAge,e.next=3,i.loadData({maxAge:n});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o.startPending=Vr(Br().mark((function e(){return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o.matches.forEach((function(e){return null==e.startPending?void 0:e.startPending()}));case 1:case"end":return e.stop()}}),e)}))),o.router=e,o.location=r,o.matches=[];var a=lR(o.router,o.location);return o.matches=null==a?void 0:a.map((function(e){return o.router.matchCache[e.id]||(o.router.matchCache[e.id]=new iR(e)),o.router.matchCache[e.id]})),o}return no(n)}($O);function uR(e){null==e||e.forEach((function(t,n){var r,o=null==e?void 0:e[n-1];t.data=BO({},null!=(r=null==o?void 0:o.data)?r:{},t.ownData)}))}function sR(){var e=Jr.exports.useContext(KO);if(!e)throw mR(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function lR(e,t){if(!e.routes.length)return[];var n=[],r=function(){var o=Vr(Br().mark((function o(i,a){var u,s,l,c,f,d,p,h;return Br().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(s=a.pathname,l=a.params,c=null!=e&&e.filterRoutes?null==e?void 0:e.filterRoutes(i):i,f=c.find((function(n){var r,o,i=yR([s,n.path]),a=!!("/"!==n.path||null!=(r=n.children)&&r.length),u=vR(t,{to:i,search:n.search,fuzzy:a,caseSensitive:null!=(o=n.caseSensitive)?o:e.caseSensitive});return u&&(l=BO({},l,u)),!!u}))){o.next=5;break}return o.abrupt("return");case 5:d=cR(f.path,l),s=yR([s,d]),p=cR(f.id,l,!0),h={id:p,route:f,params:l,pathname:s,search:t.search},n.push(h),null!=(u=f.children)&&u.length&&r(f.children,h);case 11:case"end":return o.stop()}}),o)})));return function(e,t){return o.apply(this,arguments)}}();return r(e.routes,e.rootMatch),n}function cR(e,t,n){return yR(xR(e).map((function(e){return"*"!==e.value||n?"param"===e.type?null!=(r=t[e.value.substring(1)])?r:"":e.value:"";var r})))}function fR(){return Jr.exports.useContext(WO)}function dR(){var e,t=oR(),n=null==(e=fR())?void 0:e[0],r=pR();return wR((function(e){var o,i=e.search,a=e.hash,u=e.replace,s=e.from,l=e.to,c=e.fromCurrent;c=null!=(o=c)?o:void 0===l;var f=r({to:l,search:i,hash:a,from:c?t.current:null!=s?s:{pathname:n.pathname}});t.navigate(f,u)}))}function pR(){var e=oR(),t=sR();return wR((function(n){var r=e.buildNext(t.basepath,n),o=lR(t,r).map((function(e){var t;return null!=(t=e.route.searchFilters)?t:[]})).flat().filter(Boolean);return e.buildNext(t.basepath,BO({},n,{__searchFilters:o}))}))}function hR(){var e,t=sR(),n=zr(fR()),r=(n[0],n.slice(1)),o=r[0];if(!o)return null;var i=null!=(e=o.errorElement)?e:t.defaultErrorElement,a=function(){var e,n;if("rejected"===o.status){if(i)return i;if(!t.useErrorBoundary)return"An unknown error occured!";throw o.error}var r=null!=(e=o.pendingElement)?e:t.defaultPendingElement;if("loading"===o.status)return null;if("pending"===o.status&&(o.route.pendingMs||r))return null!=r?r:null;var a=null!=(n=o.element)?n:t.defaultElement;return null!=a?a:Fx(hR,{})}();return Fx(eR,{value:r,children:a})}function vR(e,t){var n=function(e,t){var n,r=xR(e.pathname),o=xR(""+(null!=(n=t.to)?n:"*")),i={},a=function(){for(var e=0;e<Math.max(r.length,o.length);e++){var n=r[e],a=o[e],u=e===o.length-1,s=e===r.length-1;if(a){if("wildcard"===a.type)return!(null==n||!n.value)&&(i["*"]=yR(r.slice(e).map((function(e){return e.value}))),!0);if("pathname"===a.type){if("/"===a.value&&(null==n||!n.value))return!0;if(n)if(t.caseSensitive){if(a.value!==n.value)return!1}else if(a.value.toLowerCase()!==n.value.toLowerCase())return!1}if(!n)return!1;"param"===a.type&&(i[a.value.substring(1)]=n.value)}if(u&&!s)return!!t.fuzzy}return!0}();return a?i:void 0}(e,t),r=function(e,t){return!(!t.search||!t.search(e.search))}(e,t);if((!t.to||n)&&(!t.search||r))return null!=n?n:{}}function mR(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function gR(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function yR(e){return bR(e.filter(Boolean).join("/"))}function bR(e){return(""+e).replace(/\/{2,}/g,"/")}function xR(e){if(!e)return[];var t=[];if("/"===(e=bR(e)).slice(0,1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;var n=e.split("/").filter(Boolean);return t.push.apply(t,Wr(n.map((function(e){return e.startsWith("*")?{type:"wildcard",value:e}:":"===e.charAt(0)?{type:"param",value:e}:{type:"pathname",value:e}})))),"/"===e.slice(-1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function wR(e){var t=Jr.exports.useRef(),n=Jr.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current.apply(n,arguments)}),t.current}function _R(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||ER(e)&&ER(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,s=0;s<i;s++){var l=n?s:o[s];a[l]=_R(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function ER(e){if(!SR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!SR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function SR(e){return"[object Object]"===Object.prototype.toString.call(e)}var kR,CR,AR=(kR=JSON.parse,function(e){"?"===e.substring(0,1)&&(e=e.substring(1));var t=function(e){for(var t,n,r={},o=e.split("&");t=o.shift();)void 0!==r[n=(t=t.split("=")).shift()]?r[n]=[].concat(r[n],VO(t.shift())):r[n]=VO(t.shift());return r}(e);for(var n in t){var r=t[n];if("string"==typeof r)try{t[n]=kR(r)}catch(o){}}return t}),TR=(CR=JSON.stringify,function(e){(e=BO({},e))&&Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n||void 0===n)delete e[t];else if(n&&"object"===ho(n)&&null!==n)try{e[t]=CR(n)}catch(r){}}));var t=function(e,t){var n,r,o,i="";for(n in e)if(void 0!==(o=e[n]))if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(t||"")+i}(e).toString();return t?"?"+t:""});function PR(e,t){return PR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PR(e,t)}var OR={error:null},RR=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state=OR,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,PR(t,n),r.getDerivedStateFromError=function(e){return{error:e}};var o=r.prototype;return o.reset=function(){this.setState(OR)},o.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},o.componentDidUpdate=function(e,t){var n,r,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,i)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,i),this.reset())},o.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,r=t.FallbackComponent,o=t.fallback;if(null!==e){var i={error:e,resetErrorBoundary:this.resetErrorBoundary};if(Jr.exports.isValidElement(o))return o;if("function"==typeof n)return n(i);if(r)return Fx(r,Zr({},i));throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(Jr.exports.Component),DR=function(){function e(){ro(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return no(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(t){return t!==e})),t.onUnsubscribe()}}},{key:"hasListeners",value:function(){return this.listeners.length>0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}();Ur("D",DR);var LR=Ur("H","undefined"==typeof window);function MR(){}function NR(e){return"number"==typeof e&&e>=0&&e!==1/0}function FR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function IR(e,t,n){return XR(e)?"function"==typeof t?Zr(Zr({},n),{},{queryKey:e,queryFn:t}):Zr(Zr({},t),{},{queryKey:e}):e}function jR(e,t,n){return XR(e)?[Zr(Zr({},t),{},{queryKey:e}),n]:[e||{},t]}function zR(e,t){var n=e.type,r=void 0===n?"all":n,o=e.exact,i=e.fetchStatus,a=e.predicate,u=e.queryKey,s=e.stale;if(XR(u))if(o){if(t.queryHash!==UR(u,t.options))return!1}else if(!HR(t.queryKey,u))return!1;if("all"!==r){var l=t.isActive();if("active"===r&&!l)return!1;if("inactive"===r&&l)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((void 0===i||i===t.state.fetchStatus)&&!(a&&!a(t)))}function BR(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(XR(i)){if(!t.options.mutationKey)return!1;if(n){if(VR(t.options.mutationKey)!==VR(i))return!1}else if(!HR(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function UR(e,t){return((null==t?void 0:t.queryKeyHashFn)||VR)(e)}function VR(e){return JSON.stringify(e,(function(e,t){return WR(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function HR(e,t){return qR(e,t)}function qR(e,t){return e===t||ho(e)===ho(t)&&(!(!e||!t||"object"!==ho(e)||"object"!==ho(t))&&!Object.keys(t).some((function(n){return!qR(e[n],t[n])})))}function YR(e,t){if(e===t)return e;var n=GR(e)&&GR(t);if(n||WR(e)&&WR(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,s=0;s<i;s++){var l=n?s:o[s];a[l]=YR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function GR(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function WR(e){if(!KR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!KR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function KR(e){return"[object Object]"===Object.prototype.toString.call(e)}function XR(e){return Array.isArray(e)}function ZR(e){return new Promise((function(t){setTimeout(t,e)}))}function QR(e){ZR(0).then(e)}function $R(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?YR(e,t):t}var JR=Ur("P",new(function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this)).setup=function(e){if(!LR&&window.addEventListener){var t=function(){return e()};return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),function(){window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}},e}return no(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))}},{key:"setFocused",value:function(e){this.focused=e,e&&this.onFocus()}},{key:"onFocus",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isFocused",value:function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}]),n}(DR))),eD=new(function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this)).setup=function(e){if(!LR&&window.addEventListener){var t=function(){return e()};return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),function(){window.removeEventListener("online",t),window.removeEventListener("offline",t)}}},e}return no(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))}},{key:"setOnline",value:function(e){this.online=e,e&&this.onOnline()}},{key:"onOnline",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isOnline",value:function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}]),n}(DR));function tD(e){return Math.min(1e3*Math.pow(2,e),3e4)}function nD(e){return"online"!==(null!=e?e:"online")||eD.isOnline()}var rD=no((function e(t){ro(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function oD(e){return e instanceof rD}function iD(e){var t,n,r,o=!1,i=0,a=!1,u=new Promise((function(e,t){n=e,r=t})),s=function(){return!JR.isFocused()||"always"!==e.networkMode&&!eD.isOnline()},l=function(r){a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},c=function(n){a||(a=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},f=function(){return new Promise((function(n){t=function(e){if(a||!s())return n(e)},null==e.onPause||e.onPause()})).then((function(){t=void 0,a||null==e.onContinue||e.onContinue()}))},d=function t(){if(!a){var n;try{n=e.fn()}catch(r){n=Promise.reject(r)}Promise.resolve(n).then(l).catch((function(n){var r,u;if(!a){var l=null!=(r=e.retry)?r:3,d=null!=(u=e.retryDelay)?u:tD,p="function"==typeof d?d(i,n):d,h=!0===l||"number"==typeof l&&i<l||"function"==typeof l&&l(i,n);!o&&h?(i++,null==e.onFail||e.onFail(i,n),ZR(p).then((function(){if(s())return f()})).then((function(){o?c(n):t()}))):c(n)}}))}};return nD(e.networkMode)?d():f().then(d),{promise:u,cancel:function(t){a||(c(new rD(t)),null==e.abort||e.abort())},continue:function(){null==t||t()},cancelRetry:function(){o=!0},continueRetry:function(){o=!1}}}var aD=console;var uD,sD,lD,cD,fD,dD,pD=Ur("X",(uD=[],sD=0,lD=function(e){e()},cD=function(e){e()},dD=function(){var e=uD;uD=[],e.length&&QR((function(){cD((function(){e.forEach((function(e){lD(e)}))}))}))},{batch:function(e){var t;sD++;try{t=e()}finally{--sD||dD()}return t},batchCalls:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];fD((function(){e.apply(void 0,n)}))}},schedule:fD=function(e){sD?uD.push(e):QR((function(){lD(e)}))},setNotifyFunction:function(e){lD=e},setBatchNotifyFunction:function(e){cD=e}})),hD=function(){function e(){ro(this,e)}return no(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),NR(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))}},{key:"updateCacheTime",value:function(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:LR?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),vD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).abortSignalConsumed=!1,r.defaultOptions=e.defaultOptions,r.setOptions(e.options),r.observers=[],r.cache=e.cache,r.logger=e.logger||aD,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(r.options),r.state=r.initialState,r.meta=e.meta,r}return no(n,[{key:"setOptions",value:function(e){this.options=Zr(Zr({},this.defaultOptions),e),this.meta=null==e?void 0:e.meta,this.updateCacheTime(this.options.cacheTime)}},{key:"optionalRemove",value:function(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}},{key:"setData",value:function(e,t){var n=$R(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}},{key:"setState",value:function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}},{key:"cancel",value:function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(MR).catch(MR):Promise.resolve()}},{key:"destroy",value:function(){Yr(po(n.prototype),"destroy",this).call(this),this.cancel({silent:!0})}},{key:"reset",value:function(){this.destroy(),this.setState(this.initialState)}},{key:"isActive",value:function(){return this.observers.some((function(e){return!1!==e.options.enabled}))}},{key:"isDisabled",value:function(){return this.getObserversCount()>0&&!this.isActive()}},{key:"isStale",value:function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))}},{key:"isStaleByTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!FR(this.state.dataUpdatedAt,e)}},{key:"onFocus",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"onOnline",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),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:e}))}},{key:"getObserversCount",value:function(){return this.observers.length}},{key:"invalidate",value:function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}},{key:"fetch",value:function(e,t){var n,r,o=this;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find((function(e){return e.options.queryFn}));a&&this.setOptions(a.options)}Array.isArray(this.options.queryKey);var u=function(){if("function"==typeof AbortController)return new AbortController}(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=function(e){Object.defineProperty(e,"signal",{enumerable:!0,get:function(){if(u)return o.abortSignalConsumed=!0,u.signal}})};l(s);var c,f={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(s)):Promise.reject("Missing queryFn")},meta:this.meta};(l(f),null==(n=this.options.behavior)||n.onFetch(f),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=f.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=f.fetchOptions)?void 0:c.meta});var d=function(e){var t,n;(oD(e)&&e.silent||o.dispatch({type:"error",error:e}),oD(e))||(null==(t=(n=o.cache.config).onError)||t.call(n,e,o));o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1};return this.retryer=iD({fn:f.fetchFn,abort:null==u?void 0:u.abort.bind(u),onSuccess:function(e){var t,n;void 0!==e?(o.setData(e),null==(t=(n=o.cache.config).onSuccess)||t.call(n,e,o),o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1):d(new Error("Query data cannot be undefined"))},onError:d,onFail:function(){o.dispatch({type:"failed"})},onPause:function(){o.dispatch({type:"pause"})},onContinue:function(){o.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode}),this.promise=this.retryer.promise,this.promise}},{key:"dispatch",value:function(e){var t=this;this.state=function(n){var r,o;switch(e.type){case"failed":return Zr(Zr({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Zr(Zr({},n),{},{fetchStatus:"paused"});case"continue":return Zr(Zr({},n),{},{fetchStatus:"fetching"});case"fetch":return Zr(Zr({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:nD(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Zr(Zr({},n),{},{data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0});case"error":var i=e.error;return oD(i)&&i.revert&&t.revertState?Zr({},t.revertState):Zr(Zr({},n),{},{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return Zr(Zr({},n),{},{isInvalidated:!0});case"setState":return Zr(Zr({},n),e.state)}}(this.state),pD.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(hD);var mD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return no(n,[{key:"build",value:function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:UR(o,t),a=this.get(i);return a||(a=new vD({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a}},{key:"add",value:function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}},{key:"remove",value:function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}},{key:"clear",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))}},{key:"get",value:function(e){return this.queriesMap[e]}},{key:"getAll",value:function(){return this.queries}},{key:"find",value:function(e,t){var n=$r(jR(e,t),1)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return zR(n,e)}))}},{key:"findAll",value:function(e,t){var n=$r(jR(e,t),1)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return zR(n,e)})):this.queries}},{key:"notify",value:function(e){var t=this;pD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(DR),gD=function(e){oo(r,e);var t,n=io(r);function r(e){var t;return ro(this,r),(t=n.call(this)).options=Zr(Zr({},e.defaultOptions),e.options),t.mutationId=e.mutationId,t.mutationCache=e.mutationCache,t.logger=e.logger||aD,t.observers=[],t.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t.meta=e.meta,t.updateCacheTime(t.options.cacheTime),t.scheduleGc(),t}return no(r,[{key:"setState",value:function(e){this.dispatch({type:"setState",state:e})}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers=this.observers.filter((function(t){return t!==e})),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}},{key:"optionalRemove",value:function(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}},{key:"continue",value:function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}},{key:"execute",value:(t=Vr(Br().mark((function e(){var t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return w.retryer=iD({fn:function(){return w.options.mutationFn?w.options.mutationFn(w.state.variables):Promise.reject("No mutationFn found")},onFail:function(){w.dispatch({type:"failed"})},onPause:function(){w.dispatch({type:"pause"})},onContinue:function(){w.dispatch({type:"continue"})},retry:null!=(e=w.options.retry)?e:0,retryDelay:w.options.retryDelay,networkMode:w.options.networkMode}),w.retryer.promise},n="loading"===this.state.status,e.prev=2,n){e.next=10;break}return this.dispatch({type:"loading",variables:this.options.variables}),null==(l=(c=this.mutationCache.config).onMutate)||l.call(c,this.state.variables,this),e.next=8,null==(f=(d=this.options).onMutate)?void 0:f.call(d,this.state.variables);case 8:(p=e.sent)!==this.state.context&&this.dispatch({type:"loading",context:p,variables:this.state.variables});case 10:return e.next=12,t();case 12:return h=e.sent,null==(r=(o=this.mutationCache.config).onSuccess)||r.call(o,h,this.state.variables,this.state.context,this),e.next=16,null==(i=(a=this.options).onSuccess)?void 0:i.call(a,h,this.state.variables,this.state.context);case 16:return e.next=18,null==(u=(s=this.options).onSettled)?void 0:u.call(s,h,null,this.state.variables,this.state.context);case 18:return this.dispatch({type:"success",data:h}),e.abrupt("return",h);case 22:return e.prev=22,e.t0=e.catch(2),e.prev=24,null==(v=(m=this.mutationCache.config).onError)||v.call(m,e.t0,this.state.variables,this.state.context,this),e.next=29,null==(g=(y=this.options).onError)?void 0:g.call(y,e.t0,this.state.variables,this.state.context);case 29:return e.next=31,null==(b=(x=this.options).onSettled)?void 0:b.call(x,void 0,e.t0,this.state.variables,this.state.context);case 31:throw e.t0;case 32:return e.prev=32,this.dispatch({type:"error",error:e.t0}),e.finish(32);case 35:case"end":return e.stop()}}),e,this,[[2,22],[24,,32,35]])}))),function(){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){var t=this;this.state=function(n){switch(e.type){case"failed":return Zr(Zr({},n),{},{failureCount:n.failureCount+1});case"pause":return Zr(Zr({},n),{},{isPaused:!0});case"continue":return Zr(Zr({},n),{},{isPaused:!1});case"loading":return Zr(Zr({},n),{},{context:e.context,data:void 0,error:null,isPaused:!nD(t.options.networkMode),status:"loading",variables:e.variables});case"success":return Zr(Zr({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Zr(Zr({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return Zr(Zr({},n),e.state)}}(this.state),pD.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),r}(hD);var yD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return no(n,[{key:"build",value:function(e,t,n){var r=new gD({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r}},{key:"add",value:function(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}},{key:"remove",value:function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),this.notify({type:"removed",mutation:e})}},{key:"clear",value:function(){var e=this;pD.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))}},{key:"getAll",value:function(){return this.mutations}},{key:"find",value:function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return BR(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return BR(e,t)}))}},{key:"notify",value:function(e){var t=this;pD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"resumePausedMutations",value:function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return pD.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(MR)}))}),Promise.resolve())}))}}]),n}(DR);function bD(){return{onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,u,s,l,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,f=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,d=null==f?void 0:f.pageParam,p="forward"===(null==f?void 0:f.direction),h="backward"===(null==f?void 0:f.direction),v=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=m,y=!1,b=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},x=function(e,t,n,r){return g=r?[t].concat(Wr(g)):[].concat(Wr(g),[t]),r?[n].concat(Wr(e)):[].concat(Wr(e),[n])},w=function(t,n,r,o){if(y)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,pageParam:r,meta:e.meta};!function(t){Object.defineProperty(t,"signal",{enumerable:!0,get:function(){var t,n;return null!=(t=e.signal)&&t.aborted?y=!0:null==(n=e.signal)||n.addEventListener("abort",(function(){y=!0})),e.signal}})}(i);var a=b(i);return Promise.resolve(a).then((function(e){return x(t,r,e,o)}))};if(v.length)if(p){var _=void 0!==d,E=_?d:xD(e.options,v);u=w(v,_,E)}else if(h){var S=void 0!==d,k=S?d:(s=e.options,l=v,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(l[0],l));u=w(v,S,k,!0)}else!function(){g=[];var t=void 0===e.options.getNextPageParam,n=!c||!v[0]||c(v[0],0,v);u=n?w([],t,m[0]):Promise.resolve(x([],m[0],v[0]));for(var r=function(n){u=u.then((function(r){if(!c||!v[n]||c(v[n],n,v)){var o=t?m[n]:xD(e.options,r);return w(r,t,o)}return Promise.resolve(x(r,m[n],v[n]))}))},o=1;o<v.length;o++)r(o)}();else u=w([]);var C=u.then((function(e){return{pages:e,pageParams:g}}));return C}}}}function xD(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var wD=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,e),this.queryCache=t.queryCache||new mD,this.mutationCache=t.mutationCache||new yD,this.logger=t.logger||aD,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return no(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=JR.subscribe((function(){JR.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=eD.subscribe((function(){eD.isOnline()&&(e.resumePausedMutations(),e.queryCache.onOnline())}))}},{key:"unmount",value:function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}},{key:"isFetching",value:function(e,t){var n=$r(jR(e,t),1)[0];return n.fetchStatus="fetching",this.queryCache.findAll(n).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll(Zr(Zr({},e),{},{fetching:!0})).length}},{key:"getQueryData",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}},{key:"getQueriesData",value:function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))}},{key:"setQueryData",value:function(e,t,n){var r=this.queryCache.find(e),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0!==o){var i=IR(e),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,Zr(Zr({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return pD.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))}},{key:"getQueryState",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}},{key:"removeQueries",value:function(e,t){var n=$r(jR(e,t),1)[0],r=this.queryCache;pD.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=this.queryCache,s=Zr({type:"active"},i);return pD.batch((function(){return u.findAll(i).forEach((function(e){e.reset()})),r.refetchQueries(s,a)}))}},{key:"cancelQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=void 0===a?{}:a;void 0===u.revert&&(u.revert=!0);var s=pD.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(u)}))}));return Promise.all(s).then(MR).catch(MR)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1];return pD.batch((function(){var e,t;if(r.queryCache.findAll(i).forEach((function(e){e.invalidate()})),"none"===i.refetchType)return Promise.resolve();var n=Zr(Zr({},i),{},{type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"});return r.refetchQueries(n,a)}))}},{key:"refetchQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=pD.batch((function(){return r.queryCache.findAll(i).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,Zr(Zr({},a),{},{cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}}))}))})),s=Promise.all(u).then(MR);return null!=a&&a.throwOnError||(s=s.catch(MR)),s}},{key:"fetchQuery",value:function(e,t,n){var r=IR(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}},{key:"prefetchQuery",value:function(e,t,n){return this.fetchQuery(e,t,n).then(MR).catch(MR)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=IR(e,t,n);return r.behavior=bD(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(MR).catch(MR)}},{key:"resumePausedMutations",value:function(){return this.mutationCache.resumePausedMutations()}},{key:"getQueryCache",value:function(){return this.queryCache}},{key:"getMutationCache",value:function(){return this.mutationCache}},{key:"getLogger",value:function(){return this.logger}},{key:"getDefaultOptions",value:function(){return this.defaultOptions}},{key:"setDefaultOptions",value:function(e){this.defaultOptions=e}},{key:"setQueryDefaults",value:function(e,t){var n=this.queryDefaults.find((function(t){return VR(e)===VR(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}},{key:"getQueryDefaults",value:function(e){if(e){var t=this.queryDefaults.find((function(t){return HR(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return VR(e)===VR(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}},{key:"getMutationDefaults",value:function(e){if(e){var t=this.mutationDefaults.find((function(t){return HR(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=Zr(Zr(Zr(Zr({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=UR(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}},{key:"defaultMutationOptions",value:function(e){return null!=e&&e._defaulted?e:Zr(Zr(Zr(Zr({},this.defaultOptions.mutations),this.getMutationDefaults(null==e?void 0:e.mutationKey)),e),{},{_defaulted:!0})}},{key:"clear",value:function(){this.queryCache.clear(),this.mutationCache.clear()}}]),e}(),_D=Jr.exports.createContext(void 0),ED=Jr.exports.createContext(!1);function SD(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=_D),window.ReactQueryClientContext):_D)}Ur("Y",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=Jr.exports.useContext(SD(t,Jr.exports.useContext(ED)));if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n}));var kD=function(e){var t=e.client,n=e.children,r=e.context,o=e.contextSharing,i=void 0!==o&&o;Jr.exports.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=SD(r,i);return Fx(ED.Provider,{value:!r&&i,children:Fx(a.Provider,{value:t,children:n})})},CD=Ur("g",(function(e,t,n){return e()})),AD=function(e){return e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e}(AD||{}),TD=new JO,PD=Yo.lazy((function(){return CD((function(){return Gr.import("./index-legacy.ded6c0c3.js").then((function(e){return e.q}))}),void 0)})),OD=Yo.lazy((function(){return CD((function(){return Gr.import("./index-legacy.fe28c497.js")}),void 0)})),RD=function(e){var t=e.children,n=[{path:"/sdks-app/".concat("v1","/",AD.LOCAL_CONTENT),element:Fx(PD,{})},{path:"/sdks-app/".concat("v1","/",AD.DATA_EXPLORER),element:Fx(OD,{})}];return Fx(tR,{location:TD,routes:n,children:t})},DD=Object.defineProperty,LD=function(e,t,n){return function(e,t,n){t in e?DD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=ho(t)?t+"":t,n),n};function MD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ND={exports:{}};!function(e){var t=function(){var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,o=function(t,n,r){return n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r},i=function(e,i){for(var a in i||(i={}))n.call(i,a)&&o(e,a,i[a]);if(t){var u,s=vo(t(i));try{for(s.s();!(u=s.n()).done;){a=u.value;r.call(i,a)&&o(e,a,i[a])}}catch(l){s.e(l)}finally{s.f()}}return e},a={};!function(t,n){for(var r in function(t){e(t,"__esModule",{value:!0})}(t),n)e(t,r,{get:n[r],enumerable:!0})}(a,{DEFAULT_UUID_LENGTH:function(){return s},default:function(){return f}});var u="4.4.4",s=6,l={dictionary:"alphanum",shuffle:!0,debug:!1,length:s},c=function(e){oo(n,e);var t=io(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,n),(e=t.call(this)).dictIndex=0,e.dictRange=[],e.lowerBound=0,e.upperBound=0,e.dictLength=0,e._digit_first_ascii=48,e._digit_last_ascii=58,e._alpha_lower_first_ascii=97,e._alpha_lower_last_ascii=123,e._hex_last_ascii=103,e._alpha_upper_first_ascii=65,e._alpha_upper_last_ascii=91,e._number_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii]},e._alpha_dict_ranges={lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alpha_lower_dict_ranges={lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii]},e._alpha_upper_dict_ranges={upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alphanum_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alphanum_lower_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii]},e._alphanum_upper_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._hex_dict_ranges={decDigits:[e._digit_first_ascii,e._digit_last_ascii],alphaDigits:[e._alpha_lower_first_ascii,e._hex_last_ascii]},e.log=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=[].concat(r);if(i[0]="[short-unique-id] ".concat(r[0]),!0===e.debug&&("undefined"==typeof console?"undefined":ho(console))<"u"&&null!==console)return(t=console).log.apply(t,Wr(i))},e.setDictionary=function(t,n){var r;if(t&&Array.isArray(t)&&t.length>1)r=t;else{var o;r=[],e.dictIndex=o=0;var i="_".concat(t,"_dict_ranges"),a=e[i];Object.keys(a).forEach((function(t){var n=t;for(e.dictRange=a[n],e.lowerBound=e.dictRange[0],e.upperBound=e.dictRange[1],e.dictIndex=o=e.lowerBound;e.lowerBound<=e.upperBound?o<e.upperBound:o>e.upperBound;e.dictIndex=e.lowerBound<=e.upperBound?o+=1:o-=1)r.push(String.fromCharCode(e.dictIndex))}))}n&&(r=r.sort((function(){return Math.random()-.5}))),e.dict=r,e.dictLength=e.dict.length,e.counter=0},e.seq=function(){return e.sequentialUUID()},e.sequentialUUID=function(){var t,n,r="";t=e.counter;do{n=t%e.dictLength,t=Math.trunc(t/e.dictLength),r+=e.dict[n]}while(0!==t);return e.counter+=1,r},e.randomUUID=function(){var t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.uuidLength||s;if(null===o||ho(o)>"u"||o<1)throw new Error("Invalid UUID Length Provided");for(t="",r=0;r<o;r+=1)n=parseInt((Math.random()*e.dictLength).toFixed(0),10)%e.dictLength,t+=e.dict[n];return t},e.availableUUIDs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.uuidLength;return parseFloat(Math.pow(Wr(new Set(e.dict)).length,t).toFixed(0))},e.approxMaxBeforeCollision=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength);return parseFloat(Math.sqrt(Math.PI/2*t).toFixed(20))},e.collisionProbability=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.uuidLength;return parseFloat((e.approxMaxBeforeCollision(t)/e.availableUUIDs(n)).toFixed(20))},e.uniqueness=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength),n=parseFloat((1-e.approxMaxBeforeCollision(t)/t).toFixed(20));return n>1?1:n<0?0:n},e.getVersion=function(){return e.version},e.stamp=function(t){if("number"!=typeof t||t<10)throw new Error("Param finalLength must be number greater than 10");var n=Math.floor(+new Date/1e3).toString(16),r=t-9,o=Math.round(Math.random()*(r>15?15:r)),i=e.randomUUID(r);return"".concat(i.substr(0,o)).concat(n).concat(i.substr(o)).concat(o.toString(16))},e.parseStamp=function(e){if(e.length<10)throw new Error("Stamp length invalid");var t=parseInt(e.substr(e.length-1,1),16);return new Date(1e3*parseInt(e.substr(t,8),16))};var o=i(i({},l),r);e.counter=0,e.debug=!1,e.dict=[],e.version=u;var a=o.dictionary,c=o.shuffle,f=o.length;return ao(e,(e.uuidLength=f,e.setDictionary(a,c),e.debug=o.debug,e.log(e.dict),e.log("Generator instantiated with Dictionary Size ".concat(e.dictLength)),new Proxy(uo(e),{apply:function(t,n,r){var o;return(o=e).randomUUID.apply(o,Wr(r))}})))}return no(n)}(so(Function)),f=c;return f.default=c,a}();e.exports=t.default,("undefined"==typeof window?"undefined":ho(window))<"u"&&(t=t.default)}(ND);var FD=new(MD(ND.exports))({length:10}),ID=function(){function e(t,n){var r=this;ro(this,e),LD(this,"connection"),LD(this,"channelId"),LD(this,"boundMessageHandler"),LD(this,"onMessageHandlers",[]),LD(this,"resolveConnection"),LD(this,"channelNodeId"),LD(this,"crossOrigin"),LD(this,"message",(function(e,t,n){return r.crossOrigin?r.postMessage(e,t,n):r.customEventMessage(e,t,n)})),this.channelId=null!=t?t:"DEFAULT",this.channelNodeId="channel-node-".concat(FD()),this.crossOrigin=n,this.connection=new Promise((function(e){r.resolveConnection=e})),this.boundMessageHandler=this.handleMessage.bind(this)}var t,n;return no(e,[{key:"disconnect",value:function(){var e=this;this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise((function(t){e.resolveConnection=t}))}},{key:"onMessage",value:function(e){this.onMessageHandlers.push(e)}},{key:"removeMessageHandler",value:function(e){var t=this.onMessageHandlers.findIndex((function(t){return t===e}));this.onMessageHandlers.splice(t,1)}},{key:"customEventMessage",value:function(e,t,n){var r=new CustomEvent(this.channelId,{detail:{eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t}});window.dispatchEvent(r)}},{key:"postMessage",value:function(e,t,n){var r,o,i;null==(i=null==(r=this.crossOrigin)?void 0:r.window)||i.postMessage({eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t},null==(o=this.crossOrigin)?void 0:o.targetOrigin)}},{key:"eventRequest",value:(n=Vr(Br().mark((function e(t,n){var r,o=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=FD(),e.abrupt("return",new Promise((function(e){o.onMessage((function t(n){var i=n.eventId;r===i&&(o.removeMessageHandler(t),e(n))})),o.message(t,n,r)})));case 2:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"waitForEvent",value:(t=Vr(Br().mark((function e(t){var n=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){n.onMessage((function r(o){var i=o.name;t===i&&(n.removeMessageHandler(r),e(o))}))})));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"handleMessage",value:function(t){var n,r;if(e.isCustomEvent(t))r=t.detail;else{if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&"*"!==(null==(n=this.crossOrigin)?void 0:n.targetOrigin))return;r=t.data}var o=r,i=o.channelId,a=o.channelNodeId;this.channelId===i&&this.channelNodeId!==a&&this.onMessageHandlers.forEach((function(e){e(r)}))}}],[{key:"isCustomEvent",value:function(e){return void 0!==e.detail}}]),e}(),jD=function(e){oo(n,e);var t=io(n);function n(){return ro(this,n),t.apply(this,arguments)}return no(n,[{key:"connect",value:function(){var e=this;return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest("CONNECT").then((function(t){e.resolveConnection(t)})),this.connection}}]),n}(ID),zD=1/0,BD=17976931348623157e292,UD=NaN,VD="[object Symbol]",HD=/^\s+|\s+$/g,qD=/^[-+]0x[0-9a-f]+$/i,YD=/^0b[01]+$/i,GD=/^0o[0-7]+$/i,WD=parseInt,KD=Object.prototype.toString;function XD(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==ho(e)||function(e){return!!e&&"object"==ho(e)}(e)&&KD.call(e)==VD}(e))return UD;if(ZD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ZD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(HD,"");var n=YD.test(e);return n||GD.test(e)?WD(e.slice(2),n?2:8):qD.test(e)?UD:+e}(e))===zD||e===-1/0){return(e<0?-1:1)*BD}return e==e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function ZD(e){var t=ho(e);return!!e&&("object"==t||"function"==t)}var QD=function(e){return XD(2,e)},$D=function(e){return"object"===ho(e)&&null!==e&&!Array.isArray(e)};function JD(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();return $D(e)&&$D(o)&&Object.keys(o).forEach((function(t){$D(o[t])?(e[t]||Object.assign(e,Qr({},t,{})),JD(e[t],o[t])):Object.assign(e,Qr({},t,o[t]))})),JD.apply(void 0,[e].concat(n))}var eL=Ur("h",(function(e,t){var n=$r(Jr.exports.useState(e),2),r=n[0],o=n[1];return Jr.exports.useEffect((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r})),tL=function(e){return e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e}(tL||{}),nL={locale:"en"},rL={"local-content":{globalOptions:nL,options:{zoom:16,pitch:0,bearing:0,cooperativeGestures:!0}},"data-explorer":{globalOptions:nL,options:{}}},oL=QD((function(){return Yo.createContext({})})),iL=Ur("u",(function(){var e=Yo.useContext(oL());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e})),aL=Yo.memo((function(e){var t,n,r,o,i,a,u=e.children,s=oL(),l=oR().current.search,c=Yo.useRef(l),f=oR().current.pathname.split("/"),d=f[f.length-1],p=rL[d],h=Yo.useRef(),v=$r(Jr.exports.useState(!1),2),m=v[0],g=v[1],y=$r(Jr.exports.useState(p),2),b=y[0],x=y[1],w=eL(b,500),_=dR(),E=function(e){c.current=e,x(e)},S=function(e){var t;e.name===tL.GET_STATE&&(null===(t=h.current)||void 0===t||t.message(tL.GET_STATE_RESPONSE,c.current,e.eventId));e.name===tL.SET_STATE&&E(e.data)};t=function(){var e=new jD(l.channelId,{targetOrigin:document.referrer,window:window.parent});h.current=e,null==e||e.onMessage(S),null==e||e.connect().then((function(e){var t=JD(b,e.data);E(t),g(!0)}))},n=Jr.exports.useRef(t),r=Jr.exports.useRef(),o=Jr.exports.useRef(!1),i=Jr.exports.useRef(!1),a=$r(Jr.exports.useState(0),2)[1],o.current&&(i.current=!0),Jr.exports.useEffect((function(){return o.current||(r.current=n.current(),o.current=!0),a((function(e){return e+1})),function(){i.current&&r.current&&r.current()}}),[]);var k=function(e){var t;null===(t=h.current)||void 0===t||t.message(tL.ON_CHANGE,e)};Jr.exports.useEffect((function(){_({search:function(){return w}})}),[w]),Jr.exports.useEffect((function(){b.options&&k({type:"options",data:b.options})}),[b.options]);var C=Jr.exports.useMemo((function(){return{sdkState:b,setSdkState:E,onChange:k}}),[b,E,k]);return m?Fx(s.Provider,{value:C,children:u}):null}));aL.displayName="StateManagerProvider";var uL={en:function(){return CD((function(){return Gr.import("./index-legacy.93d69255.js")}),void 0)},fr:function(){return CD((function(){return Gr.import("./index-legacy.46f64d17.js")}),void 0)}},sL={en:function(){return CD((function(){return Gr.import("./index-legacy.57bc6187.js")}),void 0)},fr:function(){return CD((function(){return Gr.import("./index-legacy.c4bf8ae2.js")}),void 0)}},lL={"local-content":function(e){return sL[e]()},"data-explorer":function(e){return uL[e]()}},cL=QD((function(){return Yo.createContext({})})),fL=(Ur("q",(function(){var e=Jr.exports.useContext(cL());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e})),function(e){var t,n=e.children,r=$r(Jr.exports.useState(!0),2),o=r[0],i=r[1],a=$r(Jr.exports.useState(),2),u=a[0],s=a[1],l=(null===(t=iL().sdkState.globalOptions)||void 0===t?void 0:t.locale)||"en",c=cL(),f=oR().current.pathname.split("/"),d=f[f.length-1],p=lL[d];if(Jr.exports.useEffect((function(){i(!0),p(l).then((function(e){s(e.translations)})).finally((function(){i(!1)}))}),[l,p]),o)return null;if(!u)throw new Error("No translations were found.");return Fx(c.Provider,{value:{translations:u},children:n})}),dL={exports:{}},pL={exports:{}},hL=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},vL=hL,mL=Object.prototype.toString;function gL(e){return Array.isArray(e)}function yL(e){return void 0===e}function bL(e){return"[object ArrayBuffer]"===mL.call(e)}function xL(e){return null!==e&&"object"===ho(e)}function wL(e){if("[object Object]"!==mL.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function _L(e){return"[object Function]"===mL.call(e)}function EL(e,t){if(null!=e)if("object"!==ho(e)&&(e=[e]),gL(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var SL={isArray:gL,isArrayBuffer:bL,isBuffer:function(e){return null!==e&&!yL(e)&&null!==e.constructor&&!yL(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===mL.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bL(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:xL,isPlainObject:wL,isUndefined:yL,isDate:function(e){return"[object Date]"===mL.call(e)},isFile:function(e){return"[object File]"===mL.call(e)},isBlob:function(e){return"[object Blob]"===mL.call(e)},isFunction:_L,isStream:function(e){return xL(e)&&_L(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===mL.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:EL,merge:function e(){var t={};function n(n,r){wL(t[r])&&wL(n)?t[r]=e(t[r],n):wL(n)?t[r]=e({},n):gL(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)EL(arguments[r],n);return t},extend:function(e,t,n){return EL(t,(function(t,r){e[r]=n&&"function"==typeof t?vL(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},kL=SL;function CL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var AL=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(kL.isURLSearchParams(t))r=t.toString();else{var o=[];kL.forEach(t,(function(e,t){null!=e&&(kL.isArray(e)?t+="[]":e=[e],kL.forEach(e,(function(e){kL.isDate(e)?e=e.toISOString():kL.isObject(e)&&(e=JSON.stringify(e)),o.push(CL(t)+"="+CL(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},TL=SL;function PL(){this.handlers=[]}PL.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},PL.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},PL.prototype.forEach=function(e){TL.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var OL,RL,DL,LL,ML,NL,FL,IL,jL,zL,BL,UL,VL,HL,qL,YL,GL,WL,KL,XL,ZL=PL,QL=SL,$L=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},JL={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function eM(){if(RL)return OL;RL=1;var e=$L;return OL=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)}}function tM(){if(LL)return DL;LL=1;var e=eM();return DL=function(t,n,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?n(e("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}}function nM(){if(NL)return ML;NL=1;var e=SL;return ML=e.isStandardBrowserEnv()?{write:function(t,n,r,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}}function rM(){return IL?FL:(IL=1,FL=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)})}function oM(){return zL?jL:(zL=1,jL=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e})}function iM(){if(UL)return BL;UL=1;var e=rM(),t=oM();return BL=function(n,r){return n&&!e(r)?t(n,r):r}}function aM(){if(HL)return VL;HL=1;var e=SL,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return VL=function(n){var r,o,i,a={};return n?(e.forEach(n.split("\n"),(function(n){if(i=n.indexOf(":"),r=e.trim(n.substr(0,i)).toLowerCase(),o=e.trim(n.substr(i+1)),r){if(a[r]&&t.indexOf(r)>=0)return;a[r]="set-cookie"===r?(a[r]?a[r]:[]).concat([o]):a[r]?a[r]+", "+o:o}})),a):a}}function uM(){if(YL)return qL;YL=1;var e=SL;return qL=e.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(n){var r=e.isString(n)?o(n):n;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}}function sM(){if(WL)return GL;function e(e){this.message=e}return WL=1,e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,GL=e}function lM(){if(XL)return KL;XL=1;var e=SL,t=tM(),n=nM(),r=AL,o=iM(),i=aM(),a=uM(),u=eM(),s=JL,l=sM();return KL=function(c){return new Promise((function(f,d){var p,h=c.data,v=c.headers,m=c.responseType;function g(){c.cancelToken&&c.cancelToken.unsubscribe(p),c.signal&&c.signal.removeEventListener("abort",p)}e.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(c.auth){var b=c.auth.username||"",x=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+x)}var w=o(c.baseURL,c.url);function _(){if(y){var e="getAllResponseHeaders"in y?i(y.getAllResponseHeaders()):null,n={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:e,config:c,request:y};t((function(e){f(e),g()}),(function(e){d(e),g()}),n),y=null}}if(y.open(c.method.toUpperCase(),r(w,c.params,c.paramsSerializer),!0),y.timeout=c.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(d(u("Request aborted",c,"ECONNABORTED",y)),y=null)},y.onerror=function(){d(u("Network Error",c,null,y)),y=null},y.ontimeout=function(){var e=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",t=c.transitional||s;c.timeoutErrorMessage&&(e=c.timeoutErrorMessage),d(u(e,c,t.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},e.isStandardBrowserEnv()){var E=(c.withCredentials||a(w))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;E&&(v[c.xsrfHeaderName]=E)}"setRequestHeader"in y&&e.forEach(v,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),e.isUndefined(c.withCredentials)||(y.withCredentials=!!c.withCredentials),m&&"json"!==m&&(y.responseType=c.responseType),"function"==typeof c.onDownloadProgress&&y.addEventListener("progress",c.onDownloadProgress),"function"==typeof c.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(p=function(e){y&&(d(!e||e&&e.type?new l("canceled"):e),y.abort(),y=null)},c.cancelToken&&c.cancelToken.subscribe(p),c.signal&&(c.signal.aborted?p():c.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))},KL}var cM=SL,fM=function(e,t){QL.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},dM=$L,pM={"Content-Type":"application/x-www-form-urlencoded"};function hM(e,t){!cM.isUndefined(e)&&cM.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var vM,mM={transitional:JL,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(vM=lM()),vM),transformRequest:[function(e,t){return fM(t,"Accept"),fM(t,"Content-Type"),cM.isFormData(e)||cM.isArrayBuffer(e)||cM.isBuffer(e)||cM.isStream(e)||cM.isFile(e)||cM.isBlob(e)?e:cM.isArrayBufferView(e)?e.buffer:cM.isURLSearchParams(e)?(hM(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):cM.isObject(e)||t&&"application/json"===t["Content-Type"]?(hM(t,"application/json"),function(e,t,n){if(cM.isString(e))try{return(t||JSON.parse)(e),cM.trim(e)}catch(Lw){if("SyntaxError"!==Lw.name)throw Lw}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||mM.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&cM.isString(e)&&e.length)try{return JSON.parse(e)}catch(Lw){if(o){if("SyntaxError"===Lw.name)throw dM(Lw,this,"E_JSON_PARSE");throw Lw}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};cM.forEach(["delete","get","head"],(function(e){mM.headers[e]={}})),cM.forEach(["post","put","patch"],(function(e){mM.headers[e]=cM.merge(pM)}));var gM,yM,bM=mM,xM=SL,wM=bM;function _M(){return yM?gM:(yM=1,gM=function(e){return!(!e||!e.__CANCEL__)})}var EM=SL,SM=function(e,t,n){var r=this||wM;return xM.forEach(n,(function(n){e=n.call(r,e,t)})),e},kM=_M(),CM=bM,AM=sM();function TM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new AM("canceled")}var PM,OM,RM=SL,DM=function(e,t){t=t||{};var n={};function r(e,t){return RM.isPlainObject(e)&&RM.isPlainObject(t)?RM.merge(e,t):RM.isPlainObject(t)?RM.merge({},t):RM.isArray(t)?t.slice():t}function o(n){return RM.isUndefined(t[n])?RM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function i(e){if(!RM.isUndefined(t[e]))return r(void 0,t[e])}function a(n){return RM.isUndefined(t[n])?RM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function u(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return RM.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||o,r=t(e);RM.isUndefined(r)&&t!==u||(n[e]=r)})),n};function LM(){return OM?PM:(OM=1,PM={version:"0.26.1"})}var MM=LM().version,NM={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){NM[e]=function(n){return ho(n)===e||"a"+(t<1?"n ":" ")+e}}));var FM={};NM.transitional=function(e,t,n){function r(e,t){return"[Axios v"+MM+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new Error(r(o," has been removed"+(t?" in "+t:"")));return t&&!FM[o]&&(FM[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var IM,jM,zM,BM,UM,VM,HM={assertOptions:function(e,t,n){if("object"!==ho(e))throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:NM},qM=SL,YM=AL,GM=ZL,WM=function(e){return TM(e),e.headers=e.headers||{},e.data=SM.call(e,e.data,e.headers,e.transformRequest),e.headers=EM.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),EM.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||CM.adapter)(e).then((function(t){return TM(e),t.data=SM.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return kM(t)||(TM(e),t&&t.response&&(t.response.data=SM.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},KM=DM,XM=HM,ZM=XM.validators;function QM(e){this.defaults=e,this.interceptors={request:new GM,response:new GM}}QM.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=KM(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&XM.assertOptions(n,{silentJSONParsing:ZM.transitional(ZM.boolean),forcedJSONParsing:ZM.transitional(ZM.boolean),clarifyTimeoutError:ZM.transitional(ZM.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!o){var u=[WM,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(a),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=t;r.length;){var l=r.shift(),c=r.shift();try{s=l(s)}catch(f){c(f);break}}try{i=WM(s)}catch(f){return Promise.reject(f)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},QM.prototype.getUri=function(e){return e=KM(this.defaults,e),YM(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},qM.forEach(["delete","get","head","options"],(function(e){QM.prototype[e]=function(t,n){return this.request(KM(n||{},{method:e,url:t,data:(n||{}).data}))}})),qM.forEach(["post","put","patch"],(function(e){QM.prototype[e]=function(t,n,r){return this.request(KM(r||{},{method:e,url:t,data:n}))}}));var $M=SL,JM=hL,eN=QM,tN=DM;var nN=function e(t){var n=new eN(t),r=JM(eN.prototype.request,n);return $M.extend(r,eN.prototype,n),$M.extend(r,n),r.create=function(n){return e(tN(t,n))},r}(bM);nN.Axios=eN,nN.Cancel=sM(),nN.CancelToken=function(){if(jM)return IM;jM=1;var e=sM();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(t){r.reason||(r.reason=new e(t),n(r.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e,n=new t((function(t){e=t}));return{token:n,cancel:e}},IM=t}(),nN.isCancel=_M(),nN.VERSION=LM().version,nN.all=function(e){return Promise.all(e)},nN.spread=BM?zM:(BM=1,zM=function(e){return function(t){return e.apply(null,t)}}),nN.isAxiosError=function(){if(VM)return UM;VM=1;var e=SL;return UM=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),pL.exports=nN,pL.exports.default=nN,function(e){e.exports=pL.exports}(dL);var rN,oN=Xr(dL.exports),iN=function(e,t){return oN.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t})};Ur("a8",rN),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"}(rN||Ur("a8",rN={}));function aN(e){this._maxSize=e,this.clear()}aN.prototype.clear=function(){this._size=0,this._values=Object.create(null)},aN.prototype.get=function(e){return this._values[e]},aN.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var uN=/[^.^\]^[]+|(?=\[\]|\.\.)/g,sN=/^\d+$/,lN=/^\d/,cN=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,fN=/^\s*(['"]?)(.*?)(\1)\s*$/,dN=new aN(512),pN=new aN(512),hN=new aN(512),vN={Cache:aN,split:gN,normalizePath:mN,setter:function(e){var t=mN(e);return pN.get(e)||pN.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=mN(e);return hN.get(e)||hN.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(yN(t)||sN.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,u=e.length;for(o=0;o<u;o++)(r=e[o])&&(bN(r)&&(r='"'+r+'"'),i=!(a=yN(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:gN(e),t,n)}};function mN(e){return dN.get(e)||dN.set(e,gN(e).map((function(e){return e.replace(fN,"$2")})))}function gN(e){return e.match(uN)||[""]}function yN(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function bN(e){return!yN(e)&&(function(e){return e.match(lN)&&!e.match(sN)}(e)||function(e){return cN.test(e)}(e))}var xN=/[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,wN=function(e){return e.match(xN)||[]},_N=function(e,t){return wN(e).join(t).toLowerCase()},EN=function(e){return wN(e).reduce((function(e,t){return"".concat(e).concat(e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase())}),"")},SN=EN,kN=function(e){return _N(e,"_")},CN={exports:{}};function AN(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),u=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!u.has(e[0])||!u.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||s(e[i],i,new Set);return r;function s(e,t,i){if(i.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(Lw){l=""}throw new Error("Cyclic dependency"+l)}if(!u.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var c=a.get(e)||new Set;if(t=(c=Array.from(c)).length){i.add(e);do{var f=c[--t];s(f,u.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}CN.exports=function(e){return AN(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},CN.exports.array=AN;var TN=Object.prototype.toString,PN=Error.prototype.toString,ON=RegExp.prototype.toString,RN="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},DN=/^Symbol\((.*)\)(.*)$/;function LN(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}function MN(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=ho(e);if("number"===n)return LN(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return RN.call(e).replace(DN,"Symbol($1)");var r=TN.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+PN.call(e)+"]":"RegExp"===r?ON.call(e):null}function NN(e,t){var n=MN(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=MN(this[e],t);return null!==r?r:n}),2)}function FN(e){return null==e?[]:[].concat(e)}var IN=/\$\{\s*(\w+)\s*\}/g,jN=function(e){oo(n,e);var t=io(n);function n(e,r,o,i){var a;return ro(this,n),(a=t.call(this)).value=void 0,a.path=void 0,a.type=void 0,a.errors=void 0,a.params=void 0,a.inner=void 0,a.name="ValidationError",a.value=r,a.path=o,a.type=i,a.errors=[],a.inner=[],FN(e).forEach((function(e){var t;n.isError(e)?((t=a.errors).push.apply(t,Wr(e.errors)),a.inner=a.inner.concat(e.inner.length?e.inner:e)):a.errors.push(e)})),a.message=a.errors.length>1?"".concat(a.errors.length," errors occurred"):a.errors[0],Error.captureStackTrace&&Error.captureStackTrace(uo(a),n),a}return no(n,null,[{key:"formatError",value:function(e,t){var n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e?e.replace(IN,(function(e,n){return NN(t[n])})):"function"==typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(so(Error)),zN={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:function(e){var t=e.path,n=e.type,r=e.value,o=e.originalValue,i=null!=o&&o!==r?" (cast from the value `".concat(NN(o,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(NN(r,!0),"`")+i:"".concat(t," must match the configured type. ")+"The validated value was: `".concat(NN(r,!0),"`")+i}},BN={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"},UN={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"},VN={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},HN={isValue:"${path} field must be ${value}"},qN={noUnknown:"${path} field has unspecified keys: ${unknown}"},YN={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:zN,string:BN,number:UN,date:VN,object:qN,array:YN,boolean:HN});var GN=function(e){return e&&e.__isYupSchema__},WN=function(){function e(t,n){ro(this,e),this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}return no(e,[{key:"resolve",value:function(e,t){var n=this.refs.map((function(e){return e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)})),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!GN(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}],[{key:"fromOptions",value:function(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,o=n.then,i=n.otherwise,a="function"==typeof r?r:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return e===r}))};return new e(t,(function(e,t){var n,r=a.apply(void 0,Wr(e))?o:i;return null!=(n=null==r?void 0:r(t))?n:t}))}}]),e}();var KN="$",XN=".",ZN=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ro(this,e),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,"string"!=typeof t)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]===KN,this.isValue=this.key[0]===XN,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?KN:this.isValue?XN:"";this.path=this.key.slice(r.length),this.getter=this.path&&vN.getter(this.path,!0),this.map=n.map}return no(e,[{key:"getValue",value:function(e,t,n){var r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(e){return e&&e.__isYupRef}}]),e}();ZN.prototype.__isYupRef=!0;var QN=function(e){return null==e},$N=["value","path","label","options","originalValue","spec","sync"];function JN(e){function t(t,n,r){var o=t.value,i=t.path,a=void 0===i?"":i,u=t.label,s=t.options,l=t.originalValue,c=t.spec,f=t.sync,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,$N),p=e.name,h=e.test,v=e.params,m=e.message,g=e.skipAbsent,y=s.parent,b=s.context,x=s.abortEarly;function w(e){return ZN.isRef(e)?e.getValue(o,y,b):e}function _(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({value:o,originalValue:l,label:u,path:e.path||a,spec:c},v,e.params),n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];t[i]=w(t[i])}var s=new jN(jN.formatError(e.message||m,t),o,t.path,e.type||p);return s.params=t,s}var E=(void 0===x?d.schema.spec.abortEarly:x)?n:r,S=Object.assign({path:a,parent:y,type:p,createError:_,resolve:w,options:s,originalValue:l},d),k=function(e){jN.isError(e)?E(e):e?r(null):E(_())},C=function(e){jN.isError(e)?E(e):n(e)},A=g&&QN(o);if(f){var T;try{var P;if("function"==typeof(null==(P=T=!!A||h.call(S,o,S))?void 0:P.then))throw new Error('Validation test of type: "'.concat(S.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(O){return void C(O)}k(T)}else try{Promise.resolve(!!A||h.call(S,o,S)).then(k,C)}catch(O){C(O)}}return t.OPTIONS=e,t}var eF=function(e){return e.substr(0,e.length-1).substr(1)};function tF(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?(vN.forEach(t,(function(u,s,l){var c=s?eF(u):u,f="tuple"===(e=e.resolve({context:a,parent:r,value:n})).type,d=l?parseInt(c,10):0;if(e.innerType||f){if(f&&!l)throw new Error('Yup.reach cannot implicitly index into a tuple type. the path part "'.concat(i,'" must contain an index to the tuple element, e.g. "').concat(i,'[0]"'));if(n&&d>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(u,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!l){if(!e.fields||!e.fields[c])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(i,' which is a type: "').concat(e.type,'")'));r=n,n=n&&n[c],e=e.fields[c]}o=c,i=s?"["+u+"]":"."+u})),{schema:e,parent:r,parentPath:o}):{parent:r,parentPath:t,schema:e}}var nF=function(){function e(){ro(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return no(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=vo(this.list);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(u){n.e(u)}finally{n.f()}var o,i=vo(this.refs);try{for(i.s();!(o=i.n()).done;){var a=$r(o.value,2)[1];t.push(a.describe())}}catch(u){i.e(u)}finally{i.f()}return t}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"resolveAll",value:function(e){return this.toArray().reduce((function(t,n){return t.concat(ZN.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){ZN.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){ZN.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}},{key:"clone",value:function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}},{key:"merge",value:function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n}}]),e}();function rF(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(GN(e)||!e||"object"!==ho(e))return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime()),n.set(e,t);else if(e instanceof RegExp)t=new RegExp(e),n.set(e,t);else if(Array.isArray(e)){t=new Array(e.length),n.set(e,t);for(var r=0;r<e.length;r++)t[r]=rF(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);var o,i=vo(e.entries());try{for(i.s();!(o=i.n()).done;){var a=$r(o.value,2),u=a[0],s=a[1];t.set(u,rF(s,n))}}catch(g){i.e(g)}finally{i.f()}}else if(e instanceof Set){t=new Set,n.set(e,t);var l,c=vo(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;t.add(rF(f,n))}}catch(g){c.e(g)}finally{c.f()}}else{if(!(e instanceof Object))throw Error("Unable to clone ".concat(e));t={},n.set(e,t);for(var d=0,p=Object.entries(e);d<p.length;d++){var h=$r(p[d],2),v=h[0],m=h[1];t[v]=rF(m,n)}}return t}var oF=function(){function e(t){var n=this;ro(this,e),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 nF,this._blacklist=new nF,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(zN.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},null==t?void 0:t.spec),this.withMutation((function(e){e.nonNullable()}))}return no(e,[{key:"_type",get:function(){return this.type}},{key:"clone",value:function(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;var t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=Wr(this.deps),t.conditions=Wr(this.conditions),t.tests=Wr(this.tests),t.transforms=Wr(this.transforms),t.spec=rF(Object.assign({},this.spec,e)),t}},{key:"label",value:function(e){var t=this.clone();return t.spec.label=e,t}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}},{key:"withMutation",value:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n}},{key:"concat",value:function(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));var t=this,n=e.clone(),r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),n.transforms=[].concat(Wr(t.transforms),Wr(n.transforms)),n}},{key:"isType",value:function(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}},{key:"resolve",value:function(e){var t=this;if(t.conditions.length){var n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t}},{key:"resolveOptions",value:function(e){var t,n,r;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive})}},{key:"cast",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&QN(o))return o;var i=NN(e),a=NN(o);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n.type,'". \n\n')+"attempted value: ".concat(i," \n")+(a!==i?"result of cast: ".concat(a):""))}return o}},{key:"_cast",value:function(e,t){var n=this,r=void 0===e?e:this.transforms.reduce((function(t,r){return r.call(n,t,e,n)}),e);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=n.sync,a=n.path,u=n.from,s=void 0===u?[]:u,l=n.originalValue,c=void 0===l?e:l,f=n.strict,d=void 0===f?this.spec.strict:f,p=e;d||(p=this._cast(p,Object.assign({assert:!1},n)));for(var h={value:p,path:a,options:n,originalValue:c,schema:this,label:this.spec.label,spec:this.spec,sync:i,from:s},v=[],m=0,g=Object.values(this.internalTests);m<g.length;m++){var y=g[m];y&&v.push(y)}this.runTests({args:h,value:p,tests:v},r,(function(e){if(e.length)return o(e,p);t.runTests({args:h,value:p,tests:t.tests},r,o)}))}},{key:"runTests",value:function(e,t,n){var r=!1,o=e.tests,i=e.args,a=e.value,u=function(e){r||(r=!0,t(e,a))},s=function(e){r||(r=!0,n(e,a))},l=o.length,c=[];if(!l)return s([]);for(var f=0;f<o.length;f++){(0,o[f])(i,u,(function(e){e&&(c=c.concat(e)),--l<=0&&s(c)}))}}},{key:"asNestedTest",value:function(e){var t,n=this,r=e.key,o=e.index,i=e.parent,a=e.parentPath,u=e.originalParent,s=e.options,l=null!=r?r:o;if(null==l)throw TypeError("Must include `key` or `index` for nested validations");var c="number"==typeof l,f=i[l],d=Object.assign({},s,(Qr(t={strict:!0,parent:i,value:f,originalValue:u[l],key:void 0},c?"index":"key",l),Qr(t,"path",c||l.includes(".")?"".concat(a||"","[").concat(f?l:'"'.concat(l,'"'),"]"):(a?"".concat(a,"."):"")+r),t));return function(e,t,r){return n.resolve(d)._validate(f,d,t,r)}}},{key:"validate",value:function(e,t){var n=this.resolve(Object.assign({},t,{value:e}));return new Promise((function(r,o){return n._validate(e,t,(function(e,t){jN.isError(e)&&(e.value=t),o(e)}),(function(e,t){e.length?o(new jN(e,t)):r(t)}))}))}},{key:"validateSync",value:function(e,t){var n;return this.resolve(Object.assign({},t,{value:e}))._validate(e,Object.assign({},t,{sync:!0}),(function(e,t){throw jN.isError(e)&&(e.value=t),e}),(function(t,r){if(t.length)throw new jN(t,e);n=r})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(jN.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if(jN.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):rF(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){if(0===arguments.length)return this._getDefault();var t=this.clone({default:e});return t}},{key:"strict",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({strict:e})}},{key:"nullability",value:function(e,t){var n=this.clone({nullable:e});return n.internalTests.nullable=JN({message:t,name:"nullable",test:function(e){return null!==e||this.schema.spec.nullable}}),n}},{key:"optionality",value:function(e,t){var n=this.clone({optional:e});return n.internalTests.optionality=JN({message:t,name:"optionality",test:function(e){return void 0!==e||this.schema.spec.optional}}),n}},{key:"optional",value:function(){return this.optionality(!0)}},{key:"defined",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.defined;return this.optionality(!1,e)}},{key:"nullable",value:function(){return this.nullability(!0)}},{key:"nonNullable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.notNull;return this.nullability(!1,e)}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.required;return this.clone().withMutation((function(t){return t.nonNullable(e).defined(e)}))}},{key:"notRequired",value:function(){return this.clone().withMutation((function(e){return e.nullable().optional()}))}},{key:"transform",value:function(e){var t=this.clone();return t.transforms.push(e),t}},{key:"test",value:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=zN.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=JN(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}},{key:"when",value:function(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");var n=this.clone(),r=FN(e).map((function(e){return new ZN(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new WN(r,t):WN.fromOptions(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t.internalTests.typeError=JN({message:e,name:"typeError",test:function(e){return!(!QN(e)&&!this.schema._typeCheck(e))||this.createError({params:{type:this.schema.type}})}}),t}},{key:"oneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zN.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=JN({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"notOneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zN.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=JN({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}},{key:"describe",value:function(e){var t=(e?this.resolve(e):this).clone(),n=t.spec,r=n.label,o={meta:n.meta,label:r,optional:n.optional,nullable:n.nullable,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return o}}]),e}();oF.prototype.__isYupSchema__=!0;for(var iF=function(){var e=uF[aF];oF.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=tF(this,t,n,r.context),i=o.parent,a=o.parentPath,u=o.schema;return u[e](i&&i[a],Object.assign({},r,{parent:i,path:t}))}},aF=0,uF=["validate","validateSync"];aF<uF.length;aF++)iF();for(var sF=0,lF=["equals","is"];sF<lF.length;sF++){var cF=lF[sF];oF.prototype[cF]=oF.prototype.oneOf}for(var fF=0,dF=["not","nope"];fF<dF.length;fF++){var pF=dF[fF];oF.prototype[pF]=oF.prototype.notOneOf}function hF(){return new vF}var vF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"boolean",check:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}}),e.withMutation((function(){e.transform((function(e,t,n){if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))})),e}return no(n,[{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:HN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return QN(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:HN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return QN(e)||!1===e}})}},{key:"default",value:function(e){return Yr(po(n.prototype),"default",this).call(this,e)}},{key:"defined",value:function(e){return Yr(po(n.prototype),"defined",this).call(this,e)}},{key:"optional",value:function(){return Yr(po(n.prototype),"optional",this).call(this)}},{key:"required",value:function(e){return Yr(po(n.prototype),"required",this).call(this,e)}},{key:"notRequired",value:function(){return Yr(po(n.prototype),"notRequired",this).call(this)}},{key:"nullable",value:function(){return Yr(po(n.prototype),"nullable",this).call(this)}},{key:"nonNullable",value:function(e){return Yr(po(n.prototype),"nonNullable",this).call(this,e)}},{key:"strip",value:function(e){return Yr(po(n.prototype),"strip",this).call(this,e)}}]),n}(oF);hF.prototype=vF.prototype;var mF=/^((([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,gF=/^((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,yF=/^(?:[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,bF=function(e){return QN(e)||e===e.trim()},xF={}.toString();function wF(){return new _F}var _F=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this,{type:"string",check:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;var r=null!=e&&e.toString?e.toString():e;return r===xF?e:r}))})),e}return no(n,[{key:"required",value:function(e){return Yr(po(n.prototype),"required",this).call(this,e).withMutation((function(t){return t.test({message:e||zN.required,name:"required",skipAbsent:!0,test:function(e){return!!e.length}})}))}},{key:"notRequired",value:function(){return Yr(po(n.prototype),"notRequired",this).call(this).withMutation((function(e){return e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e}))}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"matches",value:function(e,t){var n,r,o=!1;if(t)if("object"===ho(t)){var i=t.excludeEmptyString;o=void 0!==i&&i,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||BN.matches,params:{regex:e},skipAbsent:!0,test:function(t){return""===t&&o||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.email;return this.matches(mF,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.url;return this.matches(gF,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.uuid;return this.matches(yF,{name:"uuid",message:e,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(e){return null===e?"":e}))}},{key:"trim",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:bF})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.lowercase;return this.transform((function(e){return QN(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return QN(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.uppercase;return this.transform((function(e){return QN(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return QN(e)||e===e.toUpperCase()}})}}]),n}(oF);wF.prototype=_F.prototype;function EF(){return new SF}var SF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this,{type:"number",check:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce)return e;var r=e;if("string"==typeof r){if(""===(r=r.replace(/\s/g,"")))return NaN;r=+r}return n.isType(r)?r:parseFloat(r)}))})),e}return no(n,[{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t<=this.resolve(e)}})}},{key:"lessThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test:function(t){return t<this.resolve(e)}})}},{key:"moreThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test:function(t){return t>this.resolve(e)}})}},{key:"positive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UN.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UN.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UN.integer;return this.test({name:"integer",message:e,skipAbsent:!0,test:function(e){return Number.isInteger(e)}})}},{key:"truncate",value:function(){return this.transform((function(e){return QN(e)?e:0|e}))}},{key:"round",value:function(e){var t,n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(t){return QN(t)?t:Math[e](t)}))}}]),n}(oF);EF.prototype=SF.prototype;var kF=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var CF=new Date(""),AF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"date",check:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),e.withMutation((function(){e.transform((function(e,t,r){return!r.spec.coerce||r.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=kF.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?n.INVALID_DATE:new Date(e))}))})),e}return no(n,[{key:"prepareParam",value:function(e,t){var n;if(ZN.isRef(e))n=e;else{var r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:VN.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(e){return e>=this.resolve(n)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:VN.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(e){return e<=this.resolve(n)}})}}]),n}(oF);function TF(e,t){var n=1/0;return e.some((function(e,r){var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function PF(e){return function(t,n){return TF(e,t)-TF(e,n)}}AF.INVALID_DATE=CF,AF.prototype;var OF=function(e,t,n){if("string"!=typeof e)return e;var r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function RF(e){if("fields"in e){for(var t={},n=0,r=Object.entries(e.fields);n<r.length;n++){var o=$r(r[n],2),i=o[0],a=o[1];t[i]=RF(a)}return e.setFields(t)}if("array"===e.type){var u=e.optional();return u.innerType&&(u.innerType=RF(u.innerType)),u}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(RF)}):"optional"in e?e.optional():e}var DF=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function LF(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}var MF=PF([]);function NF(e){return new FF(e)}var FF=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this,{type:"object",check:function(e){return DF(e)||"function"==typeof e}})).fields=Object.create(null),r._sortErrors=MF,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){e&&r.shape(e)})),r}return no(n,[{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Yr(po(n.prototype),"_cast",this).call(this,e,o);if(void 0===i)return this.getDefault();if(!this._typeCheck(i))return i;var a,u=this.fields,s=null!=(t=o.stripUnknown)?t:this.spec.noUnknown,l=[].concat(this._nodes,Object.keys(i).filter((function(e){return!r._nodes.includes(e)}))),c={},f=Object.assign({},o,{parent:c,__validating:o.__validating||!1}),d=!1,p=vo(l);try{for(p.s();!(a=p.n()).done;){var h=a.value,v=u[h],m=h in i;if(v){var g=void 0,y=i[h];f.path=(o.path?"".concat(o.path,"."):"")+h;var b=(v=v.resolve({value:y,context:o.context,parent:c}))instanceof oF?v.spec:void 0,x=null==b?void 0:b.strict;if(null!=b&&b.strip){d=d||h in i;continue}void 0!==(g=o.__validating&&x?i[h]:v.cast(i[h],f))&&(c[h]=g)}else m&&!s&&(c[h]=i[h]);m===h in c&&c[h]===i[h]||(d=!0)}}catch(w){p.e(w)}finally{p.f()}return d?c:i}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=r.from,u=void 0===a?[]:a,s=r.originalValue,l=void 0===s?e:s,c=r.recursive,f=void 0===c?this.spec.recursive:c;r.from=[{schema:this,value:l}].concat(Wr(u)),r.__validating=!0,r.originalValue=l,Yr(po(n.prototype),"_validate",this).call(this,e,r,o,(function(e,n){if(f&&DF(n)){l=l||n;var a,u=[],s=vo(t._nodes);try{for(s.s();!(a=s.n()).done;){var c=a.value,d=t.fields[c];d&&!ZN.isRef(d)&&u.push(d.asNestedTest({options:r,key:c,parent:n,parentPath:r.path,originalParent:l}))}}catch(p){s.e(p)}finally{s.f()}t.runTests({tests:u,value:n},o,(function(r){i(r.sort(t._sortErrors).concat(e),n)}))}else i(e,n)}))}},{key:"clone",value:function(e){var t=Yr(po(n.prototype),"clone",this).call(this,e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}},{key:"concat",value:function(e){for(var t=this,r=Yr(po(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var u=$r(a[i],2),s=u[0],l=u[1],c=o[s];o[s]=void 0===c?l:c}return r.withMutation((function(e){return e.setFields(o,t._excludedEdges)}))}},{key:"_getDefault",value:function(){var e=this;if("default"in this.spec)return Yr(po(n.prototype),"_getDefault",this).call(this);if(this._nodes.length){var t={};return this._nodes.forEach((function(n){var r=e.fields[n];t[n]="getDefault"in r?r.getDefault():void 0})),t}}},{key:"setFields",value:function(e,t){var n=this.clone();return n.fields=e,n._nodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,o=new Set(t.map((function(e){var t=$r(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=vN.split(e)[0];r.add(i),o.has("".concat(t,"-").concat(i))||n.push([t,i])}for(var a=function(){var t=s[u],n=e[t];r.add(t),ZN.isRef(n)&&n.isSibling?i(n.path,t):GN(n)&&"deps"in n&&n.deps.forEach((function(e){return i(e,t)}))},u=0,s=Object.keys(e);u<s.length;u++)a();return CN.exports.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=PF(Object.keys(e)),t&&(n._excludedEdges=t),n}},{key:"shape",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.clone().withMutation((function(n){var r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[].concat(Wr(n._excludedEdges),Wr(t))),n.setFields(Object.assign(n.fields,e),r)}))}},{key:"partial",value:function(){for(var e={},t=0,n=Object.entries(this.fields);t<n.length;t++){var r=$r(n[t],2),o=r[0],i=r[1];e[o]="optional"in i&&i.optional instanceof Function?i.optional():i}return this.setFields(e)}},{key:"deepPartial",value:function(){return RF(this)}},{key:"pick",value:function(e){var t,n={},r=vo(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;this.fields[o]&&(n[o]=this.fields[o])}}catch(i){r.e(i)}finally{r.f()}return this.setFields(n)}},{key:"omit",value:function(e){var t,n=Object.assign({},this.fields),r=vo(e);try{for(r.s();!(t=r.n()).done;){delete n[t.value]}}catch(o){r.e(o)}finally{r.f()}return this.setFields(n)}},{key:"from",value:function(e,t,n){var r=vN.getter(e,!0);return this.transform((function(o){if(!o)return o;var i=o;return function(e,t){var n=Wr(vN.normalizePath(t));if(1===n.length)return n[0]in e;var r=n.pop(),o=vN.getter(vN.join(n),!0)(e);return!(!o||!(r in o))}(o,e)&&(i=Object.assign({},o),n||delete i[e],i[t]=r(o)),i}))}},{key:"json",value:function(){return this.transform(OF)}},{key:"noUnknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qN.noUnknown;"boolean"!=typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=LF(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}},{key:"unknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qN.noUnknown;return this.noUnknown(!e,t)}},{key:"transformKeys",value:function(e){return this.transform((function(t){if(!t)return t;for(var n={},r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];n[e(i)]=t[i]}return n}))}},{key:"camelCase",value:function(){return this.transformKeys(SN)}},{key:"snakeCase",value:function(){return this.transformKeys(kN)}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return kN(e).toUpperCase()}))}},{key:"describe",value:function(e){var t=Yr(po(n.prototype),"describe",this).call(this,e);t.fields={};for(var r=0,o=Object.entries(this.fields);r<o.length;r++){var i,a=$r(o[r],2),u=a[0],s=a[1],l=e;null!=(i=l)&&i.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[u]})),t.fields[u]=s.describe(l)}return t}}]),n}(oF);function IF(e){return new jF(e)}NF.prototype=FF.prototype;var jF=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),r=t.call(this,{type:"array",check:function(e){return Array.isArray(e)}}),r.innerType=void 0,r.innerType=e,r}return no(n,[{key:"_cast",value:function(e,t){var r=this,o=Yr(po(n.prototype),"_cast",this).call(this,e,t);if(!this._typeCheck(o)||!this.innerType)return o;var i=!1,a=o.map((function(e,n){var o=r.innerType.cast(e,Object.assign({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return o!==e&&(i=!0),o}));return i?a:o}},{key:"_validate",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,u=this.innerType,s=null!=(t=o.recursive)?t:this.spec.recursive;null!=o.originalValue&&o.originalValue,Yr(po(n.prototype),"_validate",this).call(this,e,o,i,(function(t,n){if(s&&u&&r._typeCheck(n)){for(var l=new Array(n.length),c=0;c<n.length;c++){var f;l[c]=u.asNestedTest({options:o,index:c,parent:n,parentPath:o.path,originalParent:null!=(f=o.originalValue)?f:e})}r.runTests({value:n,tests:l},i,(function(e){return a(e.concat(t),n)}))}else a(t,n)}))}},{key:"clone",value:function(e){var t=Yr(po(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"json",value:function(){return this.transform(OF)}},{key:"concat",value:function(e){var t=Yr(po(n.prototype),"concat",this).call(this,e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}},{key:"of",value:function(e){var t=this.clone();if(!GN(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+NN(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:YN.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e,t){return t=t||YN.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e,t){return t=t||YN.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"ensure",value:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))}},{key:"describe",value:function(e){var t=Yr(po(n.prototype),"describe",this).call(this);if(this.innerType){var r,o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),t.innerType=this.innerType.describe(e)}return t}}]),n}(oF);IF.prototype=jF.prototype;var zF,BF=new RegExp("(".concat(Object.keys(rN).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),UF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:EF().max(30),radius:EF().max(25e3),include:IF().of(wF().matches(BF,"Must be a valid Score category.").required()).required()}),VF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Ur("a7",zF),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"}(zF||Ur("a7",zF={}));var HF=new RegExp("(".concat(Object.keys(zF).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),qF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:IF().of(wF().required()),geographyLevels:IF().of(wF().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:hF(),include:IF().of(wF().matches(HF,"Must be a valid Score category.").required())}),YF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},GF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:EF().max(30,"Must use a limit between 1 and 30."),radius:EF().max(25e3,"Must use a radius between 1 and 25000.")}),WF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},KF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:wF()}),XF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},ZF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),QF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},$F=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:EF().max(5e3)}),JF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},eI="LocalLogicClient/",tI=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message;return ro(this,n),(r=t.call(this,o)).name=eI+r.constructor.name,r}return no(n)}(so(Error)),nI=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message,i=e.response;return ro(this,n),(r=t.call(this,o)).name=eI+r.constructor.name,r.statusCode=null==i?void 0:i.status,r.statusText=null==i?void 0:i.statusText,r.data=null==i?void 0:i.data,r}return no(n)}(so(Error)),rI=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message;return ro(this,n),(r=t.call(this,o)).name=eI+r.constructor.name,r}return no(n)}(so(Error)),oI=function(e){if(e instanceof jN)throw new tI(e);if(oN.isAxiosError(e))throw new nI(e);throw new rI(e)},iI=function(e,t,n){var r=n.value;return n.value=function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=r.apply(this,t);return o&&o instanceof Promise?o.catch((function(e){oI(e)})):o}catch(i){oI(i)}},n},aI=globalThis&&globalThis.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":ho(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},uI=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{locale:"en"};ro(this,e),this.requests=iN(t,n),this.options=n}return no(e,[{key:"getPois",value:function(e){return(t=this.requests,function(e){return VF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u,s,l;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,UF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,s=r.include,n.next=6,t.get("/pois",{params:{lat:o,lng:i,limit:a,radius:u,include:null==s?void 0:s.join(",")}});case 6:return l=n.sent,n.abrupt("return",l.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getScores",value:function(e){return(t=this.requests,function(e){return YF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u,s,l,c,f;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,qF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.include,u=r.geographyIds,s=r.geographyLevels,l=r.locationScoresRounding,c=void 0===l||l,n.next=6,t.get("/scores",{params:{lat:o,lng:i,include:null==a?void 0:a.join(","),geography_levels:null==s?void 0:s.join(","),geography_ids:null==u?void 0:u.join(","),location_scores_rounding:c?".5":"none"}});case 6:return f=n.sent,n.abrupt("return",f.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getSchools",value:function(e){return(t=this.requests,function(e){return WF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u,s;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,GF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,n.next=6,t.get("/schools",{params:{lat:o,lng:i,limit:a,radius:u}});case 6:return s=n.sent,n.abrupt("return",s.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getProfiles",value:function(e){return(t=this.requests,function(e){return XF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,KF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.geogId,n.next=6,t.get("/profiles",{params:{lat:o,lng:i,geog_id:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getGeographies",value:function(e){return(t=this.requests,function(e){return QF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ZF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,n.next=6,t.get("/geographies",{params:{lat:o,lng:i}});case 6:return a=n.sent,n.abrupt("return",a.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getDemographics",value:function(e){return(t=this.requests,function(e){return JF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,$F.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.radius,n.next=6,t.get("/demographics",{params:{lat:o,lng:i,radius:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data.attributes);case 8:case"end":return n.stop()}}),n)})))})(e);var t}}]),e}();aI([iI],uI.prototype,"getPois",null),aI([iI],uI.prototype,"getScores",null),aI([iI],uI.prototype,"getSchools",null),aI([iI],uI.prototype,"getProfiles",null),aI([iI],uI.prototype,"getGeographies",null),aI([iI],uI.prototype,"getDemographics",null);var sI=function(e,t){return sI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},sI(e,t)};function lI(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}sI(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var cI=Ur("a",(function(){return Ur("a",cI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}),cI.apply(this,arguments)}));function fI(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function dI(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function pI(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var hI=("undefined"==typeof process||process.env,"production"),vI=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},mI={measureLayout:vI(["layout","layoutId","drag"]),animation:vI(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:vI(["exit"]),drag:vI(["drag","dragControls"]),focus:vI(["whileFocus"]),hover:vI(["whileHover","onHoverStart","onHoverEnd"]),tap:vI(["whileTap","onTap","onTapStart","onTapCancel"]),pan:vI(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:vI(["whileInView","onViewportEnter","onViewportLeave"])};var gI=Jr.exports.createContext({strict:!1}),yI=Object.keys(mI),bI=yI.length;var xI=Jr.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),wI=Jr.exports.createContext({});var _I=Jr.exports.createContext(null),EI="undefined"!=typeof document,SI=EI?Jr.exports.useLayoutEffect:Jr.exports.useEffect,kI={current:null},CI=!1;function AI(){return!CI&&function(){if(CI=!0,EI)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return kI.current=e.matches};e.addListener(t),t()}else kI.current=!1}(),dI(Jr.exports.useState(kI.current),1)[0]}function TI(e,t,n,r){var o,i,a=Jr.exports.useContext(gI),u=Jr.exports.useContext(wI).visualElement,s=Jr.exports.useContext(_I),l=(o=AI(),"never"!==(i=Jr.exports.useContext(xI).reducedMotion)&&("always"===i||o)),c=Jr.exports.useRef(void 0);r||(r=a.renderer),!c.current&&r&&(c.current=r(e,{visualState:t,parent:u,props:n,presenceId:null==s?void 0:s.id,blockInitialAnimation:!1===(null==s?void 0:s.initial),shouldReduceMotion:l}));var f=c.current;return SI((function(){null==f||f.syncRender()})),Jr.exports.useEffect((function(){var e;null===(e=null==f?void 0:f.animationState)||void 0===e||e.animateChanges()})),SI((function(){return function(){return null==f?void 0:f.notifyUnmount()}}),[]),f}function PI(e){return"object"===ho(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function OI(e,t,n){return Jr.exports.useCallback((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):PI(n)&&(n.current=r))}),[t])}function RI(e){return Array.isArray(e)}function DI(e){return"string"==typeof e||RI(e)}function LI(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function MI(e,t,n){var r=e.getProps();return LI(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function NI(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||DI(e.initial)||DI(e.animate)||DI(e.whileHover)||DI(e.whileDrag)||DI(e.whileTap)||DI(e.whileFocus)||DI(e.exit)}function FI(e){return Boolean(NI(e)||e.variants)}function II(e){var t=function(e,t){if(NI(e)){var n=e.initial,r=e.animate;return{initial:!1===n||DI(n)?n:void 0,animate:DI(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,Jr.exports.useContext(wI)),n=t.initial,r=t.animate;return Jr.exports.useMemo((function(){return{initial:n,animate:r}}),[jI(n),jI(r)])}function jI(e){return Array.isArray(e)?e.join(" "):e}function zI(e){var t=Jr.exports.useRef(null);return null===t.current&&(t.current=e()),t.current}var BI={hasAnimatedSinceResize:!0,hasEverUpdated:!1},UI=1;var VI=Jr.exports.createContext({}),HI=Jr.exports.createContext({});var qI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lI(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(Yo.Component);function YI(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?mI.projectionNodeConstructor=e[t]:mI[t].Component=e[t])}(t),Jr.exports.forwardRef((function(e,u){var s=function(e){var t,n=e.layoutId,r=null===(t=Jr.exports.useContext(VI))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=cI(cI({},e),{layoutId:s});var l=Jr.exports.useContext(xI),c=null,f=II(e),d=l.isStatic?void 0:zI((function(){if(BI.hasEverUpdated)return UI++})),p=i(e,l.isStatic);return!l.isStatic&&EI&&(f.visualElement=TI(a,p,cI(cI({},l),e),n),function(e,t,n,r){var o,i=t.layoutId,a=t.layout,u=t.drag,s=t.dragConstraints,l=t.layoutScroll,c=Jr.exports.useContext(HI);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(u)||s&&PI(s),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof a?a:"both",initialPromotionConfig:c,layoutScroll:l}))}(d,e,f.visualElement,r||mI.projectionNodeConstructor),c=function(e,t,n){var r=[],o=Jr.exports.useContext(gI);if(!t)return null;"production"!==hI&&n&&o.strict;for(var i=0;i<bI;i++){var a=yI[i],u=mI[a],s=u.isEnabled,l=u.Component;s(e)&&l&&r.push(Fx(l,Zr({},cI({key:a},e,{visualElement:t}))))}return r}(e,f.visualElement,t)),Ix(qI,{visualElement:f.visualElement,props:cI(cI({},l),e),children:[c,Fx(wI.Provider,{value:f,children:o(a,e,d,OI(p,f.visualElement,u),p,l.isStatic,f.visualElement)})]})}))}function GI(e){function t(t,n){return void 0===n&&(n={}),YI(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var WI=["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 KI(e){return"string"==typeof e&&!e.includes("-")&&!!(WI.indexOf(e)>-1||/[A-Z]/.test(e))}var XI={};var ZI=["","X","Y","Z"],QI=["transformPerspective","x","y","z"];function $I(e,t){return QI.indexOf(e)-QI.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return ZI.forEach((function(t){return QI.push(e+t)}))}));var JI=new Set(QI);function ej(e){return JI.has(e)}var tj=new Set(["originX","originY","originZ"]);function nj(e){return tj.has(e)}function rj(e,t){var n=t.layout,r=t.layoutId;return ej(e)||nj(e)||(n||void 0!==r)&&(!!XI[e]||"opacity"===e)}var oj=function(e){return Boolean(null!==e&&"object"===ho(e)&&e.getVelocity)},ij={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function aj(e){return e.startsWith("--")}var uj=function(e,t){return t&&"number"==typeof e?t.transform(e):e},sj=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},lj=function(e){return e%1?Number(e.toFixed(5)):e},cj=/(-)?([\d]*\.?[\d])+/g,fj=/(#[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,dj=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function pj(e){return"string"==typeof e}var hj={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},vj=Object.assign(Object.assign({},hj),{transform:sj(0,1)}),mj=Object.assign(Object.assign({},hj),{default:1}),gj=function(e){return{test:function(t){return pj(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return"".concat(t).concat(e)}}},yj=gj("deg"),bj=gj("%"),xj=gj("px"),wj=gj("vh"),_j=gj("vw"),Ej=Object.assign(Object.assign({},bj),{parse:function(e){return bj.parse(e)/100},transform:function(e){return bj.transform(100*e)}}),Sj=function(e,t){return function(n){return Boolean(pj(n)&&dj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},kj=function(e,t,n){return function(r){var o;if(!pj(r))return r;var i=$r(r.match(cj),4),a=i[0],u=i[1],s=i[2],l=i[3];return Qr(o={},e,parseFloat(a)),Qr(o,t,parseFloat(u)),Qr(o,n,parseFloat(s)),Qr(o,"alpha",void 0!==l?parseFloat(l):1),o}},Cj={test:Sj("hsl","hue"),parse:kj("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+bj.transform(lj(n))+", "+bj.transform(lj(r))+", "+lj(vj.transform(i))+")"}},Aj=sj(0,255),Tj=Object.assign(Object.assign({},hj),{transform:function(e){return Math.round(Aj(e))}}),Pj={test:Sj("rgb","red"),parse:kj("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+Tj.transform(t)+", "+Tj.transform(n)+", "+Tj.transform(r)+", "+lj(vj.transform(i))+")"}};var Oj={test:Sj("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Pj.transform},Rj={test:function(e){return Pj.test(e)||Oj.test(e)||Cj.test(e)},parse:function(e){return Pj.test(e)?Pj.parse(e):Cj.test(e)?Cj.parse(e):Oj.parse(e)},transform:function(e){return pj(e)?e:e.hasOwnProperty("red")?Pj.transform(e):Cj.transform(e)}},Dj="${c}",Lj="${n}";function Mj(e){"number"==typeof e&&(e="".concat(e));var t=[],n=0,r=e.match(fj);r&&(n=r.length,e=e.replace(fj,Dj),t.push.apply(t,Wr(r.map(Rj.parse))));var o=e.match(cj);return o&&(e=e.replace(cj,Lj),t.push.apply(t,Wr(o.map(hj.parse)))),{values:t,numColors:n,tokenised:e}}function Nj(e){return Mj(e).values}function Fj(e){var t=Mj(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Dj:Lj,n<r?Rj.transform(e[n]):lj(e[n]));return t}}var Ij=function(e){return"number"==typeof e?0:e};var jj={test:function(e){var t,n,r,o;return isNaN(e)&&pj(e)&&(null!==(n=null===(t=e.match(cj))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(fj))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Nj,createTransformer:Fj,getAnimatableNone:function(e){var t=Nj(e);return Fj(e)(t.map(Ij))}},zj=new Set(["brightness","contrast","saturate","opacity"]);function Bj(e){var t=$r(e.slice(0,-1).split("("),2),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=$r(r.match(cj)||[],1)[0];if(!o)return e;var i=r.replace(o,""),a=zj.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var Uj=/([a-z-]*)\(.*?\)/g,Vj=Object.assign(Object.assign({},jj),{getAnimatableNone:function(e){var t=e.match(Uj);return t?t.map(Bj).join(" "):e}}),Hj=cI(cI({},hj),{transform:Math.round}),qj={borderWidth:xj,borderTopWidth:xj,borderRightWidth:xj,borderBottomWidth:xj,borderLeftWidth:xj,borderRadius:xj,radius:xj,borderTopLeftRadius:xj,borderTopRightRadius:xj,borderBottomRightRadius:xj,borderBottomLeftRadius:xj,width:xj,maxWidth:xj,height:xj,maxHeight:xj,size:xj,top:xj,right:xj,bottom:xj,left:xj,padding:xj,paddingTop:xj,paddingRight:xj,paddingBottom:xj,paddingLeft:xj,margin:xj,marginTop:xj,marginRight:xj,marginBottom:xj,marginLeft:xj,rotate:yj,rotateX:yj,rotateY:yj,rotateZ:yj,scale:mj,scaleX:mj,scaleY:mj,scaleZ:mj,skew:yj,skewX:yj,skewY:yj,distance:xj,translateX:xj,translateY:xj,translateZ:xj,x:xj,y:xj,z:xj,perspective:xj,transformPerspective:xj,opacity:vj,originX:Ej,originY:Ej,originZ:xj,zIndex:Hj,fillOpacity:vj,strokeOpacity:vj,numOctaves:Hj};function Yj(e,t,n,r){var o,i=e.style,a=e.vars,u=e.transform,s=e.transformKeys,l=e.transformOrigin;s.length=0;var c=!1,f=!1,d=!0;for(var p in t){var h=t[p];if(aj(p))a[p]=h;else{var v=qj[p],m=uj(h,v);if(ej(p)){if(c=!0,u[p]=m,s.push(p),!d)continue;h!==(null!==(o=v.default)&&void 0!==o?o:0)&&(d=!1)}else nj(p)?(l[p]=m,f=!0):i[p]=m}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,u=void 0===a||a,s=t.allowTransformNone,l=void 0===s||s,c="";i.sort($I);for(var f=!1,d=i.length,p=0;p<d;p++){var h=i[p];c+="".concat(ij[h]||h,"(").concat(o[h],") "),"z"===h&&(f=!0)}return!f&&u?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):l&&n&&(c="none"),c}(e,n,d,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),f&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(l))}var Gj=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Wj(e,t,n){for(var r in t)oj(t[r])||rj(r,n)||(e[r]=t[r])}function Kj(e,t,n){var r={};return Wj(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return Jr.exports.useMemo((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Yj(e,t,{enableHardwareAcceleration:!n},r);var o=e.style;return cI(cI({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}function Xj(e,t,n){var r={},o=Kj(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var Zj=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 Qj(e){return Zj.has(e)}var $j,Jj=function(e){return!Qj(e)};try{($j=require("@emotion/is-prop-valid").default)&&(Jj=function(e){return e.startsWith("on")?!Qj(e):$j(e)})}catch(WX){}function ez(e,t,n){return"string"==typeof e?e:xj.transform(t+n*e)}var tz={offset:"stroke-dashoffset",array:"stroke-dasharray"},nz={offset:"strokeDashoffset",array:"strokeDasharray"};function rz(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,u=t.originY,s=t.pathLength,l=t.pathSpacing,c=void 0===l?1:l,f=t.pathOffset,d=void 0===f?0:f;Yj(e,fI(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var p=e.attrs,h=e.style,v=e.dimensions;p.transform&&(v&&(h.transform=p.transform),delete p.transform),v&&(void 0!==a||void 0!==u||h.transform)&&(h.transformOrigin=function(e,t,n){var r=ez(t,e.x,e.width),o=ez(n,e.y,e.height);return"".concat(r," ").concat(o)}(v,void 0!==a?a:.5,void 0!==u?u:.5)),void 0!==o&&(p.x=o),void 0!==i&&(p.y=i),void 0!==s&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?tz:nz;e[i.offset]=xj.transform(-r);var a=xj.transform(t),u=xj.transform(n);e[i.array]="".concat(a," ").concat(u)}(p,s,c,d,!1)}var oz=function(){return cI(cI({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function iz(e,t){var n=Jr.exports.useMemo((function(){var n=oz();return rz(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),cI(cI({},n.attrs),{style:cI({},n.style)})}),[t]);if(e.style){var r={};Wj(r,e.style,e),n.style=cI(cI({},r),n.style)}return n}function az(e){void 0===e&&(e=!1);return function(t,n,r,o,i,a){var u=i.latestValues,s=(KI(t)?iz:Xj)(n,u,a),l=function(e,t,n){var r={};for(var o in e)(Jj(o)||!0===n&&Qj(o)||!t&&!Qj(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c=cI(cI(cI({},l),s),{ref:o});return r&&(c["data-projection-id"]=r),Jr.exports.createElement(t,c)}}var uz=/([a-z])([A-Z])/g,sz=function(e){return e.replace(uz,"$1-$2").toLowerCase()};function lz(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var cz=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function fz(e,t,n,r){for(var o in lz(e,t,void 0,r),t.attrs)e.setAttribute(cz.has(o)?o:sz(o),t.attrs[o])}function dz(e){var t=e.style,n={};for(var r in t)(oj(t[r])||rj(r,e))&&(n[r]=t[r]);return n}function pz(e){var t=dz(e);for(var n in e){if(oj(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function hz(e){return"object"===ho(e)&&"function"==typeof e.start}var vz=function(e){return Array.isArray(e)},mz=function(e){return vz(e)?e[e.length-1]||0:e};function gz(e){var t=oj(e)?e.get():e;return function(e){return Boolean(e&&"object"===ho(e)&&e.mix&&e.toValue)}(t)?t.toValue():t}function yz(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,u={latestValues:xz(t,n,r,o),renderState:i()};return a&&(u.mount=function(e){return a(t,e,u)}),u}var bz=function(e){return function(t,n){var r=Jr.exports.useContext(wI),o=Jr.exports.useContext(_I);return n?yz(e,t,r,o):zI((function(){return yz(e,t,r,o)}))}};function xz(e,t,n,r){var o={},i=!1===(null==n?void 0:n.initial),a=r(e);for(var u in a)o[u]=gz(a[u]);var s=e.initial,l=e.animate,c=NI(e),f=FI(e);t&&f&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=l||(l=t.animate));var d=i||!1===s,p=d?l:s;p&&"boolean"!=typeof p&&!hz(p)&&(Array.isArray(p)?p:[p]).forEach((function(t){var n=LI(e,t);if(n){var r=n.transitionEnd;n.transition;var i=fI(n,["transitionEnd","transition"]);for(var a in i){var u=i[a];if(Array.isArray(u))u=u[d?u.length-1:0];null!==u&&(o[a]=u)}for(var a in r)o[a]=r[a]}}));return o}var wz,_z={useVisualState:bz({scrapeMotionValuesFromProps:pz,createRenderState:oz,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(Lw){r.dimensions={x:0,y:0,width:0,height:0}}rz(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),fz(t,r)}})},Ez={useVisualState:bz({scrapeMotionValuesFromProps:dz,createRenderState:Gj})};function Sz(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function kz(e,t,n,r){Jr.exports.useEffect((function(){var o=e.current;if(n&&o)return Sz(o,t,n,r)}),[e,t,n,r])}function Cz(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Az(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(wz||(wz={}));var Tz={pageX:0,pageY:0};function Pz(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Tz;return{x:n[t+"X"],y:n[t+"Y"]}}function Oz(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Rz(e,t){return void 0===t&&(t="page"),{point:Az(e)?Pz(e,t):Oz(e,t)}}var Dz=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,Rz(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},Lz={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Mz={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Nz(e){return EI&&null===window.onpointerdown?e:EI&&null===window.ontouchstart?Mz[e]:EI&&null===window.onmousedown?Lz[e]:e}function Fz(e,t,n,r){return Sz(e,Nz(t),Dz(n,"pointerdown"===t),r)}function Iz(e,t,n,r){return kz(e,Nz(t),n&&Dz(n,"pointerdown"===t),r)}function jz(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var zz=jz("dragHorizontal"),Bz=jz("dragVertical");function Uz(e){var t=!1;if("y"===e)t=Bz();else if("x"===e)t=zz();else{var n=zz(),r=Bz();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Vz(){var e=Uz(!0);return!e||(e(),!1)}function Hz(e,t,n){return function(r,o){var i;Cz(r)&&!Vz()&&(null===(i=e.animationState)||void 0===i||i.setActive(wz.Hover,t),null==n||n(r,o))}}var qz=function e(t,n){return!!n&&(t===n||e(t,n.parentElement))};function Yz(e){return Jr.exports.useEffect((function(){return function(){return e()}}),[])}var Gz=function(e,t,n){return Math.min(Math.max(n,e),t)},Wz=.001;function Kz(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,u=e.velocity,s=void 0===u?0:u,l=e.mass,c=void 0===l?1:l,f=1-a;f=Gz(.05,1,f),o=Gz(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o,r=t-s,i=Xz(e,f),a=Math.exp(-n);return Wz-r/i*a},n=function(e){var n=e*f*o,r=n*s+s,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),u=Xz(Math.pow(e,2),f);return(-t(e)+Wz>0?-1:1)*((r-i)*a)/u}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var d=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*c;return{stiffness:p,damping:2*f*Math.sqrt(c*p),duration:o}}function Xz(e,t){return e*Math.sqrt(1-t*t)}var Zz=["duration","bounce"],Qz=["stiffness","damping","mass"];function $z(e,t){return t.some((function(t){return void 0!==e[t]}))}function Jz(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.restSpeed,a=void 0===i?2:i,u=e.restDelta,s=fI(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},c=function(e){var t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!$z(e,Qz)&&$z(e,Zz)){var n=Kz(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),f=c.stiffness,d=c.damping,p=c.mass,h=c.velocity,v=c.duration,m=c.isResolvedFromDuration,g=eB,y=eB;function b(){var e=h?-h/1e3:0,t=o-n,r=d/(2*Math.sqrt(f*p)),i=Math.sqrt(f/p)/1e3;if(void 0===u&&(u=Math.min(Math.abs(o-n)/100,.4)),r<1){var a=Xz(i,r);g=function(n){var u=Math.exp(-r*i*n);return o-u*((e+r*i*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},y=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(e+r*i*t)/a+t*Math.cos(a*n))-o*(Math.cos(a*n)*(e+r*i*t)-a*t*Math.sin(a*n))}}else if(1===r)g=function(n){return o-Math.exp(-i*n)*(t+(e+i*t)*n)};else{var s=i*Math.sqrt(r*r-1);g=function(n){var a=Math.exp(-r*i*n),u=Math.min(s*n,300);return o-a*((e+r*i*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return b(),{next:function(e){var t=g(e);if(m)l.done=e>=v;else{var n=1e3*y(e),r=Math.abs(n)<=a,i=Math.abs(o-t)<=u;l.done=r&&i}return l.value=l.done?o:t,l},flipTarget:function(){h=-h;var e=[o,n];n=e[0],o=e[1],b()}}}Jz.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var eB=function(e){return 0},tB=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},nB=function(e,t,n){return-n*e+n*t+e};function rB(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oB(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha;t/=360,r/=100;var i=0,a=0,u=0;if(n/=100){var s=r<.5?r*(1+n):r+n-r*n,l=2*r-s;i=rB(l,s,t+1/3),a=rB(l,s,t),u=rB(l,s,t-1/3)}else i=a=u=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*u),alpha:o}}var iB=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},aB=[Oj,Pj,Cj],uB=function(e){return aB.find((function(t){return t.test(e)}))},sB=function(e,t){var n=uB(e),r=uB(t),o=n.parse(e),i=r.parse(t);n===Cj&&(o=oB(o),n=Pj),r===Cj&&(i=oB(i),r=Pj);var a=Object.assign({},o);return function(e){for(var t in a)"alpha"!==t&&(a[t]=iB(o[t],i[t],e));return a.alpha=nB(o.alpha,i.alpha,e),n.transform(a)}},lB=function(e){return"number"==typeof e},cB=function(e,t){return function(n){return t(e(n))}},fB=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(cB)};function dB(e,t){return lB(e)?function(n){return nB(e,t,n)}:Rj.test(e)?sB(e,t):mB(e,t)}var pB=function(e,t){var n=Wr(e),r=n.length,o=e.map((function(e,n){return dB(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},hB=function(e,t){var n=Object.assign(Object.assign({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=dB(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function vB(e){for(var t=jj.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var mB=function(e,t){var n=jj.createTransformer(t),r=vB(e),o=vB(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?fB(pB(r.parsed,o.parsed),n):function(n){return"".concat(n>0?t:e)}},gB=function(e,t){return function(n){return nB(e,t,n)}};function yB(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?gB:"string"==typeof e?Rj.test(e)?sB:mB:Array.isArray(e)?pB:"object"===ho(e)?hB:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var u=o(e[a],e[a+1]);if(t){var s=Array.isArray(t)?t[a]:t;u=fB(s,u)}r.push(u)}return r}function bB(e,t){var n=$r(e,2),r=n[0],o=n[1],i=$r(t,1)[0];return function(e){return i(tB(r,o,e))}}function xB(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var u=1;u<n&&!(e[u]>o||u===r);u++);i=u-1}var s=tB(e[i],e[i+1],o);return t[i](s)}}function wB(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.clamp,o=void 0===r||r,i=n.ease,a=n.mixer,u=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var s=yB(t,i,a),l=2===u?bB(e,s):xB(e,s);return o?function(t){return l(Gz(e[0],e[u-1],t))}:l}var _B,EB=function(e){return function(t){return 1-e(1-t)}},SB=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},kB=function(e){return function(t){return t*t*((e+1)*t-e)}},CB=function(e){return e},AB=(_B=2,function(e){return Math.pow(e,_B)}),TB=EB(AB),PB=SB(AB),OB=function(e){return 1-Math.sin(Math.acos(e))},RB=EB(OB),DB=SB(RB),LB=kB(1.525),MB=EB(LB),NB=SB(LB),FB=function(e){var t=kB(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),IB=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},jB=EB(IB);function zB(e,t){return e.map((function(){return t||PB})).splice(0,e.length-1)}function BB(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,u=e.duration,s=void 0===u?300:u,l={done:!1,value:n},c=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===c.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(c),s);function d(){return wB(f,c,{ease:Array.isArray(i)?i:zB(c,i)})}var p=d();return{next:function(e){return l.value=p(e),l.done=e>=s,l},flipTarget:function(){c.reverse(),p=d()}}}var UB={keyframes:BB,spring:Jz,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,u=e.timeConstant,s=void 0===u?350:u,l=e.restDelta,c=void 0===l?.5:l,f=e.modifyTarget,d={done:!1,value:o},p=a*n,h=o+p,v=void 0===f?h:f(h);return v!==h&&(p=v-o),{next:function(e){var t=-p*Math.exp(-e/s);return d.done=!(t>c||t<-c),d.value=d.done?v:v+t,d},flipTarget:function(){}}}};var VB=1/60*1e3,HB="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},qB="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(HB())}),VB)};var YB=!0,GB=!1,WB=!1,KB={delta:0,timestamp:0},XB=["read","update","preRender","render","postRender"],ZB=XB.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=!1,a=new WeakSet,u={schedule:function(e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,u=i?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(e),-1===u.indexOf(e)&&(u.push(e),i&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(s){if(o)i=!0;else{o=!0;var l=[n,t];if(t=l[0],(n=l[1]).length=0,r=t.length)for(var c=0;c<r;c++){var f=t[c];f(s),a.has(f)&&(u.schedule(f),e())}o=!1,i&&(i=!1,u.process(s))}}};return u}((function(){return GB=!0})),e}),{}),QB=XB.reduce((function(e,t){var n=ZB[t];return e[t]=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return GB||nU(),n.schedule(e,t,r)},e}),{}),$B=XB.reduce((function(e,t){return e[t]=ZB[t].cancel,e}),{}),JB=XB.reduce((function(e,t){return e[t]=function(){return ZB[t].process(KB)},e}),{}),eU=function(e){return ZB[e].process(KB)},tU=function e(t){GB=!1,KB.delta=YB?VB:Math.max(Math.min(t-KB.timestamp,40),1),KB.timestamp=t,WB=!0,XB.forEach(eU),WB=!1,GB&&(YB=!1,qB(e))},nU=function(){GB=!0,YB=!0,WB||qB(tU)},rU=function(){return KB};function oU(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e-t-n}var iU=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return QB.update(t,!0)},stop:function(){return $B.update(t)}}};function aU(e){var t,n,r,o,i,a=e.from,u=e.autoplay,s=void 0===u||u,l=e.driver,c=void 0===l?iU:l,f=e.elapsed,d=void 0===f?0:f,p=e.repeat,h=void 0===p?0:p,v=e.repeatType,m=void 0===v?"loop":v,g=e.repeatDelay,y=void 0===g?0:g,b=e.onPlay,x=e.onStop,w=e.onComplete,_=e.onRepeat,E=e.onUpdate,S=fI(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),k=S.to,C=0,A=S.duration,T=!1,P=!0,O=function(e){if(Array.isArray(e.to))return BB;if(UB[e.type])return UB[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?BB:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Jz:BB}(S);(null===(n=(t=O).needsInterpolation)||void 0===n?void 0:n.call(t,a,k))&&(i=wB([0,100],[a,k],{clamp:!1}),a=0,k=100);var R=O(Object.assign(Object.assign({},S),{from:a,to:k}));function D(){C++,"reverse"===m?d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+n:oU(t+-e,t,n)}(d,A,y,P=C%2==0):(d=oU(d,A,y),"mirror"===m&&R.flipTarget()),T=!1,_&&_()}function L(e){if(P||(e=-e),d+=e,!T){var t=R.next(Math.max(0,d));o=t.value,i&&(o=i(o)),T=P?t.done:d<=0}null==E||E(o),T&&(0===C&&(null!=A||(A=d)),C<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(d,A,y,P)&&D():(r.stop(),w&&w()))}return s&&(null==b||b(),(r=c(L)).start()),{stop:function(){null==x||x(),r.stop()}}}function uU(e,t){return t?e*(1e3/t):0}var sU=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},lU=function(e){return sU(e)&&e.hasOwnProperty("z")},cU=function(e,t){return Math.abs(e-t)};function fU(e,t){if(lB(e)&&lB(t))return cU(e,t);if(sU(e)&&sU(t)){var n=cU(e.x,t.x),r=cU(e.y,t.y),o=lU(e)&&lU(t)?cU(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var dU=function(e,t){return 1-3*t+3*e},pU=function(e,t){return 3*t-6*e},hU=function(e){return 3*e},vU=function(e,t,n){return((dU(t,n)*e+pU(t,n))*e+hU(t))*e},mU=function(e,t,n){return 3*dU(t,n)*e*e+2*pU(t,n)*e+hU(t)};var gU=.1;function yU(e,t,n,r){if(e===t&&n===r)return CB;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=vU(i*gU,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=gU;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*gU,u=mU(a,e,n);return u>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=mU(t,n,r);if(0===i)return t;t-=(vU(t,n,r)-e)/i}return t}(t,a,e,n):0===u?a:function(e,t,n,r,o){var i,a,u=0;do{(i=vU(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++u<10);return a}(t,r,r+gU,e,n)}return function(e){return 0===e||1===e?e:vU(a(e),t,r)}}var bU=new Set;var xU=new WeakMap,wU=new WeakMap,_U=function(e){var t;null===(t=xU.get(e.target))||void 0===t||t(e)},EU=function(e){e.forEach(_U)};function SU(e,t,n){var r=function(e){var t=e.root,n=fI(e,["root"]),r=t||document;wU.has(r)||wU.set(r,{});var o=wU.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(EU,cI({root:t},n))),o[i]}(t);return xU.set(e,n),r.observe(e),function(){xU.delete(e),r.unobserve(e)}}var kU={some:0,all:1};function CU(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,u=void 0===a?"some":a,s=r.once;Jr.exports.useEffect((function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:i,threshold:"number"==typeof u?u:kU[u]};return SU(n.getInstance(),r,(function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!s||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(wz.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(e)}}))}}),[e,o,i,u])}function AU(e,t,n,r){var o=r.fallback,i=void 0===o||o;Jr.exports.useEffect((function(){var r,o;e&&i&&("production"!==hI&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||bU.has(r)||(console.warn(r),o&&console.warn(o),bU.add(r))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(wz.InView,!0)})))}),[e])}var TU=function(e){return function(t){return e(t),null}},PU={inView:TU((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=void 0===i?{}:i,u=Jr.exports.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(n||r||o);a.once&&u.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?AU:CU)(s,u.current,t,a)})),tap:TU((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,u=Jr.exports.useRef(!1),s=Jr.exports.useRef(null),l={passive:!(n||t||r||h)};function c(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function f(){var e;return c(),u.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(wz.Tap,!1),!Vz()}function d(e,n){f()&&(qz(i.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function p(e,t){f()&&(null==r||r(e,t))}function h(e,t){var r;c(),u.current||(u.current=!0,s.current=fB(Fz(window,"pointerup",d,l),Fz(window,"pointercancel",p,l)),null===(r=i.animationState)||void 0===r||r.setActive(wz.Tap,!0),null==n||n(e,t))}Iz(i,"pointerdown",a?h:void 0,l),Yz(c)})),focus:TU((function(e){var t=e.whileFocus,n=e.visualElement;kz(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wz.Focus,!0)}:void 0),kz(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wz.Focus,!1)}:void 0)})),hover:TU((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Iz(o,"pointerenter",t||r?Hz(o,!0,t):void 0,{passive:!t}),Iz(o,"pointerleave",n||r?Hz(o,!1,n):void 0,{passive:!n})}))},OU=0,RU=function(){return OU++};function DU(){var e=Jr.exports.useContext(_I);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=zI(RU);Jr.exports.useEffect((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function LU(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 MU=function(e){return 1e3*e},NU={linear:CB,easeIn:AB,easeInOut:PB,easeOut:TB,circIn:OB,circInOut:DB,circOut:RB,backIn:LB,backInOut:NB,backOut:MB,anticipate:FB,bounceIn:jB,bounceInOut:function(e){return e<.5?.5*(1-IB(1-2*e)):.5*IB(2*e-1)+.5},bounceOut:IB},FU=function(e){if(Array.isArray(e)){e.length;var t=dI(e,4);return yU(t[0],t[1],t[2],t[3])}return"string"==typeof e?NU[e]:e},IU=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!jj.test(t)||t.startsWith("url(")))},jU=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},zU=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},BU=function(){return{type:"keyframes",ease:"linear",duration:.3}},UU=function(e){return{type:"keyframes",duration:.8,values:e}},VU={x:jU,y:jU,z:jU,rotate:jU,rotateX:jU,rotateY:jU,rotateZ:jU,scaleX:zU,scaleY:zU,scale:zU,opacity:BU,backgroundColor:BU,color:BU,default:zU},HU=cI(cI({},qj),{color:Rj,backgroundColor:Rj,outlineColor:Rj,fill:Rj,stroke:Rj,borderColor:Rj,borderTopColor:Rj,borderRightColor:Rj,borderBottomColor:Rj,borderLeftColor:Rj,filter:Vj,WebkitFilter:Vj}),qU=function(e){return HU[e]};function YU(e,t){var n,r=qU(e);return r!==Vj&&(r=jj),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var GU=!1;function WU(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=fI(e,["ease","times","yoyo","flip","loop"]),u=cI({},a);return n&&(u.offset=n),a.duration&&(u.duration=MU(a.duration)),a.repeatDelay&&(u.repeatDelay=MU(a.repeatDelay)),t&&(u.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(FU):FU(t)),"tween"===a.type&&(u.type="keyframes"),(r||i||o)&&(r?u.repeatType="reverse":i?u.repeatType="loop":o&&(u.repeatType="mirror"),u.repeat=i||r||o||a.repeat),"spring"!==a.type&&(u.type="keyframes"),u}function KU(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=pI([],dI(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=fI(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=cI(cI({},e),function(e,t){var n;return n=vz(t)?UU:VU[e]||VU.default,cI({to:t},n(t))}(n,t.to))),cI(cI({},t),WU(e))}function XU(e,t,n,r,o){var i,a=$U(r,e),u=null!==(i=a.from)&&void 0!==i?i:t.get(),s=IU(e,n);return"none"===u&&s&&"string"==typeof n?u=YU(e,n):ZU(u)&&"string"==typeof n?u=QU(n):!Array.isArray(n)&&ZU(n)&&"string"==typeof u&&(n=QU(u)),IU(e,u)&&s&&!1!==a.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,i=void 0===o?0:o,a=e.min,u=e.max,s=e.power,l=void 0===s?.8:s,c=e.timeConstant,f=void 0===c?750:c,d=e.bounceStiffness,p=void 0===d?500:d,h=e.bounceDamping,v=void 0===h?10:h,m=e.restDelta,g=void 0===m?1:m,y=e.modifyTarget,b=e.driver,x=e.onUpdate,w=e.onComplete,_=e.onStop;function E(e){return void 0!==a&&e<a||void 0!==u&&e>u}function S(e){return void 0===a?u:void 0===u||Math.abs(a-e)<Math.abs(u-e)?a:u}function k(e){null==t||t.stop(),t=aU(Object.assign(Object.assign({},e),{driver:b,onUpdate:function(t){var n;null==x||x(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w,onStop:_}))}function C(e){k(Object.assign({type:"spring",stiffness:p,damping:v,restDelta:g},e))}if(E(r))C({from:r,velocity:i,to:S(r)});else{var A=l*i+r;void 0!==y&&(A=y(A));var T,P,O=S(A),R=O===a?-1:1;k({type:"decay",from:r,velocity:i,timeConstant:f,power:l,restDelta:g,modifyTarget:y,onUpdate:E(A)?function(e){T=P,P=e,i=uU(e-T,rU().delta),(1===R&&e>O||-1===R&&e<O)&&C({from:e,to:O,velocity:i})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(cI(cI({},r),a)):aU(cI(cI({},KU(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=mz(n);return t.set(i),o(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}function ZU(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function QU(e){return"number"==typeof e?0:YU("",e)}function $U(e,t){return e[t]||e.default||e}function JU(e,t,n,r){return void 0===r&&(r={}),GU&&(r={type:!1}),t.start((function(o){var i,a,u=XU(e,t,n,r,o),s=function(e,t){var n,r;return null!==(r=null!==(n=($U(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),l=function(){return a=u()};return s?i=window.setTimeout(l,MU(s)):l(),function(){clearTimeout(i),null==a||a.stop()}}))}var eV=function(e){return/^\-?\d*\.?\d+$/.test(e)},tV=function(e){return/^0[^.\s]+$/.test(e)};function nV(e,t){-1===e.indexOf(t)&&e.push(t)}function rV(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var oV=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return nV(this.subscriptions,e),function(){return rV(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),iV=function(){function e(e){var t,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new oV,this.velocityUpdateSubscribers=new oV,this.renderSubscribers=new oV,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=rU(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,QB.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return QB.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?uU(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.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 aV(e){return new iV(e)}var uV=function(e){return function(t){return t.test(e)}},sV=[hj,xj,bj,yj,_j,wj,{test:function(e){return"auto"===e},parse:function(e){return e}}],lV=function(e){return sV.find(uV(e))},cV=pI(pI([],dI(sV),!1),[Rj,jj],!1),fV=function(e){return cV.find(uV(e))};function dV(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,aV(n))}function pV(e,t){if(t)return(t[e]||t.default||t).from}function hV(e,t,n){var r;void 0===n&&(n={});var o=MI(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var u=o?function(){return vV(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,u=a.staggerChildren,s=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],u=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(mV).forEach((function(e,r){a.push(hV(e,t,cI(cI({},i),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,u,s,n)}:function(){return Promise.resolve()},l=a.when;if(l){var c=dI("beforeChildren"===l?[u,s]:[s,u],2),f=c[0],d=c[1];return f().then(d)}return Promise.all([u(),s(n.delay)])}function vV(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,u=o.transitionOverride,s=o.type,l=e.makeTargetAnimatable(t),c=l.transition,f=void 0===c?e.getDefaultTransition():c,d=l.transitionEnd,p=fI(l,["transition","transitionEnd"]);u&&(f=u);var h=[],v=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var m in p){var g=e.getValue(m),y=p[m];if(!(!g||void 0===y||v&&gV(v,m))){var b=cI({delay:a},f);e.shouldReduceMotion&&ej(m)&&(b=cI(cI({},b),{type:!1,delay:0}));var x=JU(m,g,y,b);h.push(x)}}return Promise.all(h).then((function(){d&&function(e,t){var n=MI(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=fI(r,["transitionEnd","transition"]);for(var u in a=cI(cI({},a),i))dV(e,u,mz(a[u]))}(e,d)}))}function mV(e,t){return e.sortNodePosition(t)}function gV(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var yV=[wz.Animate,wz.InView,wz.Focus,wz.Hover,wz.Tap,wz.Drag,wz.Exit],bV=pI([],dI(yV),!1).reverse(),xV=yV.length;function wV(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return hV(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=hV(e,t,n);else{var i="function"==typeof t?MI(e,t,n.custom):t;r=vV(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function _V(e){var t=wV(e),n=function(){var e;return(e={})[wz.Animate]=EV(!0),e[wz.InView]=EV(),e[wz.Hover]=EV(),e[wz.Tap]=EV(),e[wz.Drag]=EV(),e[wz.Focus]=EV(),e[wz.Exit]=EV(),e}(),r={},o=!0,i=function(t,n){var r=MI(e,n);if(r){r.transition;var o=r.transitionEnd,i=fI(r,["transition","transitionEnd"]);t=cI(cI(cI({},t),i),o)}return t};function a(a,u){for(var s,l=e.getProps(),c=e.getVariantContext(!0)||{},f=[],d=new Set,p={},h=1/0,v=function(t){var r=bV[t],v=n[r],m=null!==(s=l[r])&&void 0!==s?s:c[r],g=DI(m),y=r===u?v.isActive:null;!1===y&&(h=t);var b=m===c[r]&&m!==l[r]&&g;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys=cI({},p),!v.isActive&&null===y||!m&&!v.prevProp||hz(m)||"boolean"==typeof m)return"continue";var x=function(e,t){if("string"==typeof t)return t!==e;if(RI(t))return!LU(t,e);return!1}(v.prevProp,m),w=x||r===u&&v.isActive&&!b&&g||t>h&&g,_=Array.isArray(m)?m:[m],E=_.reduce(i,{});!1===y&&(E={});var S=v.prevResolvedValues,k=void 0===S?{}:S,C=cI(cI({},k),E),A=function(e){w=!0,d.delete(e),v.needsAnimating[e]=!0};for(var T in C){var P=E[T],O=k[T];p.hasOwnProperty(T)||(P!==O?vz(P)&&vz(O)?!LU(P,O)||x?A(T):v.protectedKeys[T]=!0:void 0!==P?A(T):d.add(T):void 0!==P&&d.has(T)?A(T):v.protectedKeys[T]=!0)}v.prevProp=m,v.prevResolvedValues=E,v.isActive&&(p=cI(cI({},p),E)),o&&e.blockInitialAnimation&&(w=!1),w&&!b&&f.push.apply(f,pI([],dI(_.map((function(e){return{animation:e,options:cI({type:r},a)}}))),!1))},m=0;m<xV;m++)v(m);if(r=cI({},p),d.size){var g={};d.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),f.push({animation:g})}var y=Boolean(f.length);return o&&!1===l.initial&&!e.manuallyAnimateOnMount&&(y=!1),o=!1,y?t(f):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,o){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var u=a(o,t);for(var s in n)n[s].protectedKeys={};return u},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function EV(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var SV={animation:TU((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=_V(t)),hz(n)&&Jr.exports.useEffect((function(){return n.subscribe(t)}),[n])})),exit:TU((function(e){var t=e.custom,n=e.visualElement,r=dI(DU(),2),o=r[0],i=r[1],a=Jr.exports.useContext(_I);Jr.exports.useEffect((function(){var e,r;n.isPresent=o;var u=null===(e=n.animationState)||void 0===e?void 0:e.setActive(wz.Exit,!o,{custom:null!==(r=null==a?void 0:a.custom)&&void 0!==r?r:t});!o&&(null==u||u.then(i))}),[o])}))},kV=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=TV(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=fU(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=rU().timestamp;r.history.push(cI(cI({},o),{timestamp:i}));var a=r.handlers,u=a.onStart,s=a.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=CV(t,r.transformPagePoint),Cz(e)&&0===e.buttons?r.handlePointerUp(e,t):QB.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=TV(CV(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Az(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=CV(Rz(e),this.transformPagePoint),a=i.point,u=rU().timestamp;this.history=[cI(cI({},a),{timestamp:u})];var s=t.onSessionStart;s&&s(e,TV(i,this.history)),this.removeListeners=fB(Fz(window,"pointermove",this.handlePointerMove),Fz(window,"pointerup",this.handlePointerUp),Fz(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),$B.update(this.updatePoint)},e}();function CV(e,t){return t?{point:t(e.point)}:e}function AV(e,t){return{x:e.x-t.x,y:e.y-t.y}}function TV(e,t){var n=e.point;return{point:n,delta:AV(n,OV(t)),offset:AV(n,PV(t)),velocity:RV(t,.1)}}function PV(e){return e[0]}function OV(e){return e[e.length-1]}function RV(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=OV(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>MU(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function DV(e){return e.max-e.min}function LV(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),fU(e,t)<n}function MV(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=nB(t.min,t.max,e.origin),e.scale=DV(n)/DV(t),(LV(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=nB(n.min,n.max,e.origin)-e.originPoint,(LV(e.translate)||isNaN(e.translate))&&(e.translate=0)}function NV(e,t,n,r){MV(e.x,t.x,n.x,null==r?void 0:r.originX),MV(e.y,t.y,n.y,null==r?void 0:r.originY)}function FV(e,t,n){e.min=n.min+t.min,e.max=e.min+DV(t)}function IV(e,t,n){e.min=t.min-n.min,e.max=e.min+DV(t)}function jV(e,t,n){IV(e.x,t.x,n.x),IV(e.y,t.y,n.y)}function zV(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function BV(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=dI([o,r],2))[0],o=n[1]),{min:r,max:o}}var UV=.35;function VV(e,t,n){return{min:HV(e,t),max:HV(e,n)}}function HV(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function qV(e){return[e("x"),e("y")]}function YV(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function GV(e){return void 0===e||1===e}function WV(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!GV(t)||!GV(n)||!GV(r)}function KV(e){return WV(e)||XV(e.x)||XV(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function XV(e){return e&&"0%"!==e}function ZV(e,t,n){return n+t*(e-n)}function QV(e,t,n,r,o){return void 0!==o&&(e=ZV(e,o,r)),ZV(e,n,r)+t}function $V(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=QV(e.min,t,n,r,o),e.max=QV(e.max,t,n,r,o)}function JV(e,t){var n=t.x,r=t.y;$V(e.x,n.translate,n.scale,n.originPoint),$V(e.y,r.translate,r.scale,r.originPoint)}function eH(e,t){e.min=e.min+t,e.max=e.max+t}function tH(e,t,n){var r=dI(n,3),o=r[0],i=r[1],a=r[2],u=void 0!==t[a]?t[a]:.5,s=nB(e.min,e.max,u);$V(e,t[o],t[i],s,t.scale)}var nH=["x","scaleX","originX"],rH=["y","scaleY","originY"];function oH(e,t){tH(e.x,t,nH),tH(e.y,t,rH)}function iH(e,t){return YV(function(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}}(e.getBoundingClientRect(),t))}var aH=new WeakMap,uH=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new kV(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(Rz(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,u=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Uz(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),qV((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(bj.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(i)o=DV(i)*(parseFloat(o)/100)}n.originPoint[e]=o})),null==u||u(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(wz.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,u=r.onDrag;if(o||n.openGlobalLock){var s=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,s),n.updateAxis("y",t.point,s),n.visualElement.syncRender(),null==u||u(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(wz.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&sH(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?nB(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?nB(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&PI(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:zV(e.x,r,i),y:zV(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=UV),!1===e?e=0:!0===e&&(e=UV),{x:VV(e,"left","right"),y:VV(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&qV((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!PI(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=iH(e,n),o=t.scroll;return o&&(eH(r.x,o.x),eH(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:BV(e.x,t.x),y:BV(e.y,t.y)}}(o.layout.actual,i);if(n){var u=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!u,u&&(a=YV(u))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,u=n.dragSnapToOrigin,s=n.onDragTransitionEnd,l=this.constraints||{},c=qV((function(n){var s;if(sH(n,r,t.currentDirection)){var c=null!==(s=null==l?void 0:l[n])&&void 0!==s?s:{};u&&(c={min:0,max:0});var f=i?200:1e6,d=i?40:1e7,p=cI(cI({type:"inertia",velocity:o?e[n]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,p)}}));return Promise.all(c).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return JU(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;qV((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;qV((function(n){if(sH(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,u=i.max;o.set(e[n]-nB(a,u,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(PI(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};qV((function(e){var n,r,o,i,u,s=t.getAxisMotionValue(e);if(s){var l=s.get();a[e]=(n={min:l,max:l},r=t.constraints[e],o=.5,i=DV(n),(u=DV(r))>i?o=tB(r.min,r.max-i,n.min):i>u&&(o=tB(n.min,n.max-u,r.min)),Gz(0,1,o))}}));var u=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=u?u({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),qV((function(e){if(sH(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,u=o.max;n.set(nB(i,u,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;aH.set(this.visualElement,this);var n=Fz(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){PI(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=Sz(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(qV((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,u=e.dragConstraints,s=void 0!==u&&u,l=e.dragElastic,c=void 0===l?UV:l,f=e.dragMomentum,d=void 0===f||f;return cI(cI({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:d})},e}();function sH(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var lH={pan:TU((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,u=Jr.exports.useRef(null),s=Jr.exports.useContext(xI).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};Jr.exports.useEffect((function(){null!==u.current&&u.current.updateHandlers(l)})),Iz(i,"pointerdown",a&&function(e){u.current=new kV(e,l,{transformPagePoint:s})}),Yz((function(){return u.current&&u.current.end()}))})),drag:TU((function(e){var t=e.dragControls,n=e.visualElement,r=zI((function(){return new uH(n)}));Jr.exports.useEffect((function(){return t&&t.subscribe(r)}),[r,t]),Jr.exports.useEffect((function(){return r.addListeners()}),[r])}))},cH=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var fH=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,u=e.render,s=e.readValueFromInstance,l=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(e,t){var d=e.parent,p=e.props,h=e.presenceId,v=e.blockInitialAnimation,m=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var y,b,x=!1,w=m.latestValues,_=m.renderState,E=function(){var e=cH.map((function(){return new oV})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){cH.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+cH[t]]=function(t){return e.add(t)},n["notify"+cH[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,pI([],dI(t),!1))}})),n}(),S=new Map,k=new Map,C={},A=cI({},w);function T(){y&&x&&(P(),u(y,_,p.style,I.projection))}function P(){r(I,_,w,t,p)}function O(){E.notifyUpdate(w)}function R(e,t){var n=t.onChange((function(t){w[e]=t,p.onUpdate&&QB.update(O,!1,!0)})),r=t.onRenderRequest(I.scheduleRender);k.set(e,(function(){n(),r()}))}var D=f(p);for(var L in D){var M=D[L];void 0!==w[L]&&oj(M)&&M.set(w[L],!1)}var N=NI(p),F=FI(p),I=cI(cI({treeType:n,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:h,shouldReduceMotion:g,variantChildren:F?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:v,isMounted:function(){return Boolean(y)},mount:function(e){x=!0,y=I.current=e,I.projection&&I.projection.mount(e),F&&d&&!N&&(b=null==d?void 0:d.addVariantChild(I)),S.forEach((function(e,t){return R(t,e)})),null==d||d.children.add(I),I.setProps(p)},unmount:function(){var e;null===(e=I.projection)||void 0===e||e.unmount(),$B.update(O),$B.render(T),k.forEach((function(e){return e()})),null==b||b(),null==d||d.children.delete(I),E.clearAllListeners(),y=void 0,x=!1},addVariantChild:function(e){var t,n=I.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(I.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return F?I:null==d?void 0:d.getClosestVariantNode()},getLayoutId:function(){return p.layoutId},getInstance:function(){return y},getStaticValue:function(e){return w[e]},setStaticValue:function(e,t){return w[e]=t},getLatestValues:function(){return w},setVisibility:function(e){I.isVisible!==e&&(I.isVisible=e,I.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(I,e,p,t)},measureViewportBox:function(){return a(y,p)},addValue:function(e,t){I.hasValue(e)&&I.removeValue(e),S.set(e,t),w[e]=t.get(),R(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=k.get(e))||void 0===t||t(),k.delete(e),delete w[e],l(e,_)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var n=S.get(e);return void 0===n&&void 0!==t&&(n=aV(t),I.addValue(e,n)),n},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var n;return null!==(n=w[e])&&void 0!==n?n:s(y,e,t)},setBaseTarget:function(e,t){A[e]=t},getBaseTarget:function(e){if(o){var t=o(p,e);if(void 0!==t&&!oj(t))return t}return A[e]}},E),{build:function(){return P(),_},scheduleRender:function(){QB.render(T,!1,!0)},syncRender:T,setProps:function(e){(e.transformTemplate||p.transformTemplate)&&I.scheduleRender(),p=e,E.updatePropListeners(e),C=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(oj(i))e.addValue(o,i);else if(oj(a))e.addValue(o,aV(i));else if(a!==i)if(e.hasValue(o)){var u=e.getValue(o);!u.hasAnimated&&u.set(i)}else e.addValue(o,aV(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(I,f(p),C)},getProps:function(){return p},getVariant:function(e){var t;return null===(t=p.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return p.transition},getTransformPagePoint:function(){return p.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==d?void 0:d.getVariantContext();if(!N){var t=(null==d?void 0:d.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}for(var n={},r=0;r<pH;r++){var o=dH[r],i=p[o];(DI(i)||!1===i)&&(n[o]=i)}return n}});return I}},dH=pI(["initial"],dI(yV),!1),pH=dH.length;function hH(e){return"string"==typeof e&&e.startsWith("var(--")}var vH=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function mH(e,t,n){var r=dI(function(e){var t=vH.exec(e);if(!t)return[,];var n=dI(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():hH(i)?mH(i,t):i}}var gH,yH=new Set(["width","height","top","left","right","bottom","x","y"]),bH=function(e){return yH.has(e)},xH=function(e,t){e.set(t,!1),e.set(t)},wH=function(e){return e===hj||e===xj};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(gH||(gH={}));var _H=function(e,t){return parseFloat(e.split(", ")[t])},EH=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return _H(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_H(a[1],e):0}},SH=new Set(["x","y","z"]),kH=QI.filter((function(e){return!SH.has(e)}));var CH={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:EH(4,13),y:EH(5,14)},AH=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=cI({},t),r=cI({},r);var o=Object.keys(t).filter(bH),i=[],a=!1,u=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var l,c=n[o],f=lV(c),d=t[o];if(vz(d)){var p=d.length,h=null===d[0]?1:0;c=d[h],f=lV(c);for(var v=h;v<p;v++)l?lV(d[v]):l=lV(d[v])}else l=lV(d);if(f!==l)if(wH(f)&&wH(l)){var m=s.get();"string"==typeof m&&s.set(parseFloat(m)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===xj&&(t[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?s.set(l.transform(c)):t[o]=f.transform(d):(a||(i=function(e){var t=[];return kH.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:t[o],xH(s,d))}})),u.length){var s=u.indexOf("height")>=0?window.pageYOffset:null,l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,u={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){u[e]=CH[e](r,i)})),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);xH(r,u[n]),e[n]=CH[n](s,i)})),e}(t,e,u);return i.length&&i.forEach((function(t){var n=dI(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),null!==s&&window.scrollTo({top:s}),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}};function TH(e,t,n,r){return function(e){return Object.keys(e).some(bH)}(t)?AH(e,t,n,r):{target:t,transitionEnd:r}}var PH=function(e,t,n,r){var o=function(e,t,n){var r,o=fI(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=cI({},n)),e.forEachValue((function(e){var t=e.get();if(hH(t)){var n=mH(t,i);n&&e.set(n)}})),o){var u=o[a];if(hH(u)){var s=mH(u,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=u)))}}return{target:o,transitionEnd:n}}(e,t,r);return TH(e,t=o.target,n,r=o.transitionEnd)};var OH={treeType:"dom",readValueFromInstance:function(e,t){if(ej(t)){var n=qU(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(aj(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return iH(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,u=fI(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=pV(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(u,i||{},e);if(o&&(a&&(a=o(a)),u&&(u=o(u)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a,u=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=u.length;if(s)for(var l=0;l<s;l++){var c=u[l],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),null===d&&(d=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=d&&("string"==typeof d&&(eV(d)||tV(d))?d=parseFloat(d):!fV(d)&&jj.test(f)&&(d=YU(c,f)),e.addValue(c,aV(d)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=d),e.setBaseTarget(c,d))}}(e,u,s);var l=PH(e,u,s,a);a=l.transitionEnd,u=l.target}return cI({transition:i,transitionEnd:a},u)},scrapeMotionValuesFromProps:dz,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Yj(t,n,r,o.transformTemplate)},render:lz},RH=fH(OH),DH=fH(cI(cI({},OH),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return ej(t)?(null===(n=qU(t))||void 0===n?void 0:n.default)||0:(t=cz.has(t)?t:sz(t),e.getAttribute(t))},scrapeMotionValuesFromProps:pz,build:function(e,t,n,r,o){rz(t,n,r,o.transformTemplate)},render:fz})),LH=function(e,t){return KI(e)?DH(t,{enableHardwareAcceleration:!1}):RH(t,{enableHardwareAcceleration:!0})};function MH(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var NH={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!xj.test(e))return e;e=parseFloat(e)}var n=MH(e,t.target.x),r=MH(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},FH="_$css",IH={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(vH,(function(e){return a.push(e),FH})));var u=jj.parse(e);if(u.length>5)return o;var s=jj.createTransformer(e),l="number"!=typeof u[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;u[0+l]/=c,u[1+l]/=f;var d=nB(c,f,.5);"number"==typeof u[2+l]&&(u[2+l]/=d),"number"==typeof u[3+l]&&(u[3+l]/=d);var p=s(u);if(i){var h=0;p=p.replace(FH,(function(){var e=a[h];return h++,e}))}return p}},jH=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lI(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,u=r.projection;e=zH,Object.assign(XI,e),u&&((null==o?void 0:o.group)&&o.group.add(u),(null==i?void 0:i.register)&&a&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){t.safeToRemove()})),u.setOptions(cI(cI({},u.options),{onExitComplete:function(){return t.safeToRemove()}}))),BI.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,u=o.projection;return u?(u.isPresent=a,i||e.layoutDependency!==r||void 0===r?u.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?u.promote():u.relegate()||QB.postRender((function(){var e;(null===(e=u.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(Yo.Component);var zH={borderRadius:cI(cI({},NH),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:NH,borderTopRightRadius:NH,borderBottomLeftRadius:NH,borderBottomRightRadius:NH,boxShadow:IH},BH={measureLayout:function(e){var t=dI(DU(),2),n=t[0],r=t[1],o=Jr.exports.useContext(VI);return Fx(jH,Zr({},cI({},e,{layoutGroup:o,switchLayoutGroup:Jr.exports.useContext(HI),isPresent:n,safeToRemove:r})))}};var UH=["TopLeft","TopRight","BottomLeft","BottomRight"],VH=UH.length,HH=function(e){return"string"==typeof e?parseFloat(e):e},qH=function(e){return"number"==typeof e||xj.test(e)};function YH(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var GH=KH(0,.5,RB),WH=KH(.5,.95,CB);function KH(e,t,n){return function(r){return r<e?0:r>t?1:n(tB(e,t,r))}}function XH(e,t){e.min=t.min,e.max=t.max}function ZH(e,t){XH(e.x,t.x),XH(e.y,t.y)}function QH(e,t,n,r,o){return e=ZV(e-=t,1/n,r),void 0!==o&&(e=ZV(e,1/o,r)),e}function $H(e,t,n,r,o){var i=dI(n,3),a=i[0],u=i[1],s=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),bj.test(t)&&(t=parseFloat(t),t=nB(a.min,a.max,t/100)-a.min),"number"==typeof t){var u=nB(i.min,i.max,r);e===i&&(u-=t),e.min=QH(e.min,t,n,u,o),e.max=QH(e.max,t,n,u,o)}}(e,t[a],t[u],t[s],t.scale,r,o)}var JH=["x","scaleX","originX"],eq=["y","scaleY","originY"];function tq(e,t,n,r){$H(e.x,t,JH,null==n?void 0:n.x,null==r?void 0:r.x),$H(e.y,t,eq,null==n?void 0:n.y,null==r?void 0:r.y)}function nq(e){return 0===e.translate&&1===e.scale}function rq(e){return nq(e.x)&&nq(e.y)}function oq(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 iq=function(){function e(){this.members=[]}return e.prototype.add=function(e){nV(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(rV(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function aq(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,u=n.rotateX,s=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),u&&(i+="rotateX(".concat(u,"deg) ")),s&&(i+="rotateY(".concat(s,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(l,", ").concat(c,")"))?"none":i}var uq=function(e,t){return e.depth-t.depth},sq=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){nV(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){rV(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(uq),this.isDirty=!1,this.children.forEach(e)},e}();function lq(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?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(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(mq),o.nodes.forEach(gq)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?pI(pI([],dI(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new sq)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new oV),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,pI([],dI(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,a=i.layoutId,u=i.layout,s=i.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(u||a)&&(this.isLayoutDirty=!0),t){var l,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(c,250),BI.hasAnimatedSinceResize&&(BI.hasAnimatedSinceResize=!1,o.nodes.forEach(vq))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&s&&(a||u)&&this.addEventListener("didUpdate",(function(e){var t,n,r,i,a,u=e.delta,l=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,f=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var d=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==n?n:Eq,p=s.getProps(),h=p.onLayoutAnimationStart,v=p.onLayoutAnimationComplete,m=!o.targetLayout||!oq(o.targetLayout,f)||c,g=!l&&c;if((null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||g||l&&(m||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(u,g);var y=cI(cI({},$U(d,"layout")),{onPlay:h,onComplete:v});s.shouldReduceMotion&&(y.delay=0,y.type=!1),o.startAnimation(y)}else l||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(a=(i=o.options).onExitComplete)||void 0===a||a.call(i));o.targetLayout=f}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,$B.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(yq))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,u=a.layoutId,s=a.layout;if(void 0!==u||s){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(pq);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Sq),this.potentialNodes.clear()),this.nodes.forEach(hq),this.nodes.forEach(cq),this.nodes.forEach(fq),this.clearAllSnapshots(),JB.update(),JB.preRender(),JB.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(dq),this.sharedNodes.forEach(bq)},e.prototype.scheduleUpdateProjection=function(){QB.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;QB.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));Cq(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();Cq(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(i){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!rq(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||KV(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(eH(t.x,n.x),eH(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};ZH(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options,a=r.isScrollRoot;if(r!==this.root&&o&&i.layoutScroll){if(a){ZH(t,e);var u=this.root.scroll;u&&(eH(t.x,-u.x),eH(t.y,-u.y))}eH(t.x,o.x),eH(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};ZH(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&oH(n,{x:-o.scroll.x,y:-o.scroll.y}),KV(o.latestValues)&&oH(n,o.latestValues)}return KV(this.latestValues)&&oH(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};ZH(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&KV(o.latestValues)){WV(o.latestValues)&&o.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};ZH(i,o.measure()),tq(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return KV(this.latestValues)&&tq(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=cI(cI(cI({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.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},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},jV(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),ZH(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,FV(t.x,n.x,r.x),FV(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):ZH(this.target,this.layout.actual),JV(this.target,this.targetDelta)):ZH(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={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},jV(this.relativeTargetOrigin,this.target,this.relativeParent.target),ZH(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!KV(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();ZH(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var u,s;t.x=t.y=1;for(var l=0;l<a;l++)s=(u=n[l]).projectionDelta,"contents"!==(null===(i=null===(o=u.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&oH(e,{x:-u.scroll.x,y:-u.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,JV(e,s)),r&&KV(u.latestValues)&&oH(e,u.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,u=this.treeScale.y,s=this.projectionTransform;NV(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=aq(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===a&&this.treeScale.y===u||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=cI({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s={x:{min:0,max:0},y:{min:0,max:0}},l=null==o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,f=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(_q));this.animationProgress=0,this.mixTargetDelta=function(t){var n,o=t/1e3;xq(u.x,e.x,o),xq(u.y,e.y,o),r.setTargetDelta(u),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(jV(s,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){wq(e.x,t.x,n.x,r),wq(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,s,o)),l&&(r.animationValues=a,function(e,t,n,r,o,i){var a,u,s,l;o?(e.opacity=nB(0,null!==(a=n.opacity)&&void 0!==a?a:1,GH(r)),e.opacityExit=nB(null!==(u=t.opacity)&&void 0!==u?u:1,0,WH(r))):i&&(e.opacity=nB(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<VH;c++){var f="border".concat(UH[c],"Radius"),d=YH(t,f),p=YH(n,f);void 0===d&&void 0===p||(d||(d=0),p||(p=0),0===d||0===p||qH(d)===qH(p)?(e[f]=Math.max(nB(HH(d),HH(p),r),0),(bj.test(p)||bj.test(d))&&(e[f]+="%")):e[f]=p)}(t.rotate||n.rotate)&&(e.rotate=nB(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,o,f,c)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=o},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&($B.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=QB.update((function(){BI.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=oj(e)?e:aV(e);return JU("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,cI(cI({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(ZH(t,n),oH(t,o),NV(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new iq),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<ZI.length;r++){var o="rotate"+ZI[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;void 0===e&&(e={});var u={};if(!this.instance||this.isSVG)return u;if(!this.isVisible)return{visibility:"hidden"};u.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=gz(e.pointerEvents)||"",u.transform=s?s(this.latestValues,""):"none",u;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=gz(e.pointerEvents)||""),this.hasProjected&&!KV(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var f=l.animationValues||l.latestValues;this.applyTransformsToTarget(),u.transform=aq(this.projectionDeltaWithTransform,this.treeScale,f),s&&(u.transform=s(f,u.transform));var d=this.projectionDelta,p=d.x,h=d.y;for(var v in u.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),l.animationValues?u.opacity=l===this?null!==(o=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=l===this?null!==(i=f.opacity)&&void 0!==i?i:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,XI)if(void 0!==f[v]){var m=XI[v],g=m.correct,y=m.applyTo,b=g(f[v],l);if(y)for(var x=y.length,w=0;w<x;w++)u[y[w]]=b;else u[v]=b}return this.options.layoutId&&(u.pointerEvents=l===this?gz(e.pointerEvents)||"":"none"),u},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(pq),this.root.sharedNodes.clear()},e}()}function cq(e){e.updateLayout()}function fq(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,u=a.actual,s=a.measured;"size"===e.options.animationType?qV((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=DV(t);t.min=u[e].min,t.max=t.min+n})):"position"===e.options.animationType&&qV((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=DV(u[e]);t.max=t.min+n}));var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};NV(l,u,i.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?NV(c,e.applyTransform(s,!0),i.measured):NV(c,u,i.layout);var f=!rq(l),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 m={x:{min:0,max:0},y:{min:0,max:0}};jV(m,i.layout,h.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};jV(g,u,v.actual),oq(m,g)||(d=!0)}}e.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function dq(e){e.clearSnapshot()}function pq(e){e.clearMeasurements()}function hq(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function vq(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function mq(e){e.resolveTargetDelta()}function gq(e){e.calcProjection()}function yq(e){e.resetRotation()}function bq(e){e.removeLeadSnapshot()}function xq(e,t,n){e.translate=nB(t.translate,0,n),e.scale=nB(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function wq(e,t,n,r){e.min=nB(t.min,n.min,r),e.max=nB(t.max,n.max,r)}function _q(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var Eq={duration:.45,ease:[.4,0,.1,1]};function Sq(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function kq(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Cq(e){kq(e.x),kq(e.y)}var Aq,Tq=lq({attachResizeListener:function(e,t){return Sz(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Pq={current:void 0},Oq=lq({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Pq.current){var e=new Tq(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Pq.current=e}return Pq.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Rq=cI(cI(cI(cI({},SV),PU),lH),BH),Dq=Ur("a3",GI((function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,u=KI(e)?_z:Ez;return cI(cI({},u),{preloadedFeatures:n,useRender:az(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,Rq,LH,Oq)}))),Lq={exports:{}},Mq={};!function(e){e.exports=function(){if(Aq)return Mq;Aq=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return Mq.Fragment=n,Mq.jsx=a,Mq.jsxs=a,Mq}()}(Lq);var Nq,Fq=Lq.exports.Fragment,Iq=Lq.exports.jsx,jq=Lq.exports.jsxs,zq={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"},Bq={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"},Uq={colorBlue70:"#0056D3"},Vq=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:zq,neutralColors:Bq,blueColors:Uq},Symbol.toStringTag,{value:"Module"})),Hq={"--ll-color-primary":zq.colorPrimary50,"--ll-color-primary-variant1":zq.colorPrimary40,"--ll-color-background":Bq.colorNeutral100,"--ll-color-surface":Bq.colorNeutral95,"--ll-color-surface-variant1":Bq.colorNeutral90,"--ll-color-surface-variant2":Bq.colorNeutral80,"--ll-color-on-primary":Bq.colorNeutral100,"--ll-color-on-primary-variant1":Bq.colorNeutral90,"--ll-color-on-background":Bq.colorNeutral10,"--ll-color-on-background-variant1":Bq.colorNeutral30,"--ll-color-on-surface":Bq.colorNeutral10,"--ll-color-on-surface-variant1":Bq.colorNeutral30,"--ll-color-placeholder":Bq.colorNeutral60,"--ll-color-disabled":Bq.colorNeutral60,"--ll-color-border":Bq.colorNeutral90,"--ll-color-link":Uq.colorBlue70},qq={"--ll-border-radius-small":"".concat(4,"px"),"--ll-border-radius-medium":"".concat(8,"px")},Yq={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":"".concat(4,"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)"},Gq=Zr(Zr(Zr(Zr(Zr(Zr(Zr({},Hq),qq),{"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"}),Yq),{"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"}),{"--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)"}),{"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"}),Wq=Zr(Zr({},Gq),{},{"--ll-color-primary":zq.colorPrimary60,"--ll-color-primary-variant1":zq.colorPrimary50,"--ll-color-background":Bq.colorNeutral10,"--ll-color-surface":Bq.colorNeutral20,"--ll-color-surface-variant1":Bq.colorNeutral30,"--ll-color-surface-variant2":Bq.colorNeutral40,"--ll-color-on-primary":Bq.colorNeutral100,"--ll-color-on-primary-variant1":Bq.colorNeutral90,"--ll-color-on-background":Bq.colorNeutral99,"--ll-color-on-background-variant1":Bq.colorNeutral80,"--ll-color-on-surface":Bq.colorNeutral80,"--ll-color-on-surface-variant1":Bq.colorNeutral90,"--ll-color-placeholder":Bq.colorNeutral70,"--ll-color-disabled":Bq.colorNeutral70,"--ll-color-border":Bq.colorNeutral30,"--ll-color-link":Uq.colorBlue70}),Kq=Object.keys(Gq).reduce((function(e,t){return Zr(Zr({},e),{},Qr({},t,"var(".concat(t,")")))}),{}),Xq={day:Gq,night:Wq},Zq=mE(J||(J=Hr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Zr(Zr({},Xq[t||"day"]),n)})),Qq={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},$q=Object.freeze(Object.defineProperty({__proto__:null,transitions:Qq},Symbol.toStringTag,{value:"Module"})),Jq=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:{mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560}},Symbol.toStringTag,{value:"Module"})),eY=Zr(Zr({colors:Vq},$q),Jq),tY=yE.span(re||(re=Hr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\n justify-content: center;\n\n ",";\n"])),(function(e){return e.textColor}),(function(e){return e.backgroundColor}),Kq["--ll-border-radius-small"],Kq["--ll-font-family"],Kq["--ll-font-size-caption-1"],(function(e){var t=e.size;return"small"===t?eE(ee||(ee=Hr(["\n padding: calc("," / 2) ",";\n "])),Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-xx-small"]):"large"===t?eE(te||(te=Hr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n line-height: ",";\n "])),Kq["--ll-spacing-small"],Kq["--ll-spacing-medium"],Kq["--ll-font-size-p"],Kq["--ll-font-size-h6"]):eE(ne||(ne=Hr(["\n padding: "," ",";\n "])),Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-x-small"])})),nY={exports:{}},rY={};!function(e){e.exports=function(){if(Nq)return rY;Nq=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return rY.Fragment=n,rY.jsx=a,rY.jsxs=a,rY}()}(nY);var oY=nY.exports.Fragment,iY=nY.exports.jsx,aY=nY.exports.jsxs,uY=function(e){var t=e.text,n=e.size,r=void 0===n?"small":n,o=e.className,i=e.textColor,a=void 0===i?Bq.colorNeutral100:i,u=e.backgroundColor,s=void 0===u?Bq.colorNeutral60:u,l=e.onClick;return iY(tY,{size:r,onClick:l,className:o,textColor:a,backgroundColor:s,children:t})},sY=yE.div(oe||(oe=Hr(["\n height: ","px;\n width: ","px;\n fill: ",";\n display: flex;\n\n & > svg {\n fill: inherit;\n height: 100%;\n width: 100%;\n }\n"])),(function(e){return e.height}),(function(e){return e.width}),(function(e){return e.fill})),lY=function(e){var t=e.SVGElement,n=e.fill,r=void 0===n?"--ll-color-on-background":n,o=e.height,i=void 0===o?24:o,a=e.width;return iY(sY,{fill:r,height:i,width:void 0===a?24:a,children:iY(t,{})})},cY=function(e){var t=e.variant;return"h1"===t?Kq["--ll-font-size-h1"]:"h2"===t?Kq["--ll-font-size-h2"]:"h3"===t?Kq["--ll-font-size-h3"]:"h4"===t?Kq["--ll-font-size-h4"]:"h5"===t?Kq["--ll-font-size-h5"]:"h6"===t?Kq["--ll-font-size-h6"]:"p"===t?Kq["--ll-font-size-p"]:"caption1"===t?Kq["--ll-font-size-caption-1"]:"caption2"===t?Kq["--ll-font-size-caption-2"]:Kq["--ll-font-size-h2"]},fY=function(e){var t=e.color;return t in Kq?Kq[t]:t},dY=yE.span(ie||(ie=Hr(["\n overflow: hidden;\n display: inline-block;\n width: 100%;\n line-height: ",";\n margin: 0 0 "," 0;\n font-size: inherit;\n font-weight: inherit;\n"])),(function(e){return e.lineHeight||1.45}),(function(e){return e.noMargin?"0":"0.5em"})),pY=yE.div(ae||(ae=Hr(["\n ","\n"])),(function(e){return eE(ue||(ue=Hr(["\n text-align: ",";\n font-size: ",";\n font-family: ",";\n color: ",";\n font-weight: ",";\n overflow: hidden;\n display: flex;\n\n svg {\n height: ",";\n fill: ",";\n }\n\n "," {\n ","\n }\n "])),e.align,cY(e),"sans-serif"===e.family?Kq["--ll-font-family"]:Kq["--ll-font-family-mono"],fY(e),Kq[e.weight],cY(e),fY(e),dY,e.noWrap&&eE(se||(se=Hr(["\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))))})),hY=function(e){var t=e.children,n=e.variant,r=void 0===n?"p":n,o=e.align,i=e.color,a=void 0===i?"--ll-color-on-background":i,u=e.noWrap,s=e.noMargin,l=e.lineHeight,c=e.weight,f=void 0===c?"--ll-font-weight-normal":c,d=e.family,p=void 0===d?"sans-serif":d,h=e.className,v=["caption1","caption2","p"].includes(r)?"p":r;return iY(pY,{variant:r,align:o,color:a,noWrap:u,weight:f,family:p,children:iY(dY,{as:v,noMargin:s,className:h,lineHeight:l,children:t})})},vY=yE.a(le||(le=Hr(["\n font-family: ",";\n font-size: ",";\n color: ",";\n cursor: pointer;\n\n ","\n"])),Kq["--ll-font-family"],Kq["--ll-font-size-p"],Kq["--ll-color-link"],(function(e){var t=e.lineClamp;return t&&eE(ce||(ce=Hr(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ",";\n "])),t)})),mY=function(e){var t=e.children,n=e.href,r=e.className,o=e.lineClamp;return iY(vY,{target:"_blank",rel:"noreferrer",lineClamp:o,href:n,className:r,children:t})};function gY(){return gY=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},gY.apply(this,arguments)}function yY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,Rn),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,bY.apply(void 0,[o].concat(Wr(t)))]}function bY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}function xY(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function wY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return xY(t,e)}))}}function _Y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback(wY.apply(void 0,t),t)}var EY=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Dn),o=Jr.exports.Children.toArray(n),i=o.find(CY);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(SY,gY({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(SY,gY({},r,{ref:t}),n)}));EY.displayName="Slot";var SY=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Ln);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:wY(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));SY.displayName="SlotClone";var kY=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function CY(e){return Jr.exports.isValidElement(e)&&e.type===kY}var AY=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,Mn),i=r?EY:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,gY({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});var TY=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},PY=Go["useId".toString()]||function(){},OY=0;function RY(e){var t=$r(Jr.exports.useState(PY()),2),n=t[0],r=t[1];return TY((function(){e||r((function(e){return null!=e?e:String(OY++)}))}),[e]),e||(n?"radix-".concat(n):"")}var DY=function(e,t){var n=Jr.exports.createContext(t);function r(e){var t=e.children,r=qr(e,On),o=Jr.exports.useMemo((function(){return r}),Object.values(r));return Jr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Jr.exports.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}("Label",{id:void 0,controlRef:{current:null}}),LY=$r(DY,2),MY=LY[0],NY=LY[1],FY=Jr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=qr(e,Nn),i=Jr.exports.useRef(null),a=Jr.exports.useRef(null),u=_Y(t,a),s=RY(r);return Jr.exports.useEffect((function(){if(n){var e=document.getElementById(n);if(a.current&&e){var t=function(){return e.getAttribute("aria-labelledby")},r=[s,t()].filter(Boolean).join(" ");return e.setAttribute("aria-labelledby",r),i.current=e,function(){var n,r=null===(n=t())||void 0===n?void 0:n.replace(s,"");""===r?e.removeAttribute("aria-labelledby"):r&&e.setAttribute("aria-labelledby",r)}}}}),[s,n]),Jr.exports.createElement(MY,{id:s,controlRef:i},Jr.exports.createElement(AY.span,gY({role:"label",id:s},o,{ref:u,onMouseDown:function(t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()},onClick:function(t){var n;if(null===(n=e.onClick)||void 0===n||n.call(e,t),i.current&&!t.defaultPrevented){var r=i.current.contains(t.target),o=!0===t.isTrusted;!r&&o&&(i.current.click(),i.current.focus())}}})))})),IY=function(e){var t=NY("LabelConsumer"),n=t.controlRef;return Jr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id};yE(FY)(fe||(fe=Hr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),Kq["--ll-font-size-p"],Kq["--ll-font-family"],Kq["--ll-color-placeholder"]);var jY=gE(de||(de=Hr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),zY={small:16,medium:24,large:32},BY=yE.div(pe||(pe=Hr(["\n height: ","px;\n width: ","px;\n border: ","px solid ",";\n border-bottom-color: transparent;\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: "," 1s linear infinite;\n"])),(function(e){var t=e.size;return zY[t]}),(function(e){var t=e.size;return zY[t]}),(function(e){var t=e.size;return zY[t]/6}),Kq["--ll-color-on-surface-variant1"],jY),UY=function(e){var t=e.size;return iY(BY,{size:void 0===t?"medium":t})},VY={primary:{background:Kq["--ll-color-primary"],onBackground:Kq["--ll-color-on-primary"],hover:Kq["--ll-color-primary-variant1"]}},HY=function(e){var t=e.size;return"".concat("small"===t?32:"large"===t?48:40,"px")},qY=eE(he||(he=Hr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return eE(ve||(ve=Hr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),Kq["--ll-color-on-background"])}),HY),YY=eE(me||(me=Hr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(ge||(ge=Hr(["\n background-color: ",";\n color: ",";\n border: 1px solid transparent;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: default;\n }\n "])),VY[n].background,VY[n].onBackground,VY[n].hover,Kq["--ll-color-disabled"])}),HY),GY=eE(ye||(ye=Hr(["\n ",";\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.03);\n }\n\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(be||(be=Hr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),VY[n].background,VY[n].background)}),HY),WY=yE.div(xe||(xe=Hr(["\n display: flex;\n align-items: center;\n margin-right: ",";\n margin-left: calc(-1 * ",");\n"])),Kq["--ll-spacing-x-small"],Kq["--ll-spacing-xx-small"]),KY=yE.button(we||(we=Hr(["\n font-weight: ",";\n border-radius: ",";\n align-items: center;\n justify-content: center;\n cursor: pointer;\n display: inline-flex;\n background: none;\n border: none;\n box-sizing: border-box;\n\n svg {\n fill: currentColor;\n }\n\n ",";\n ",";\n ",";\n ",";\n"])),Kq["--ll-font-weight-normal"],Kq["--ll-border-radius-small"],(function(e){return{contained:YY,outlined:GY,text:qY}[e.variant]}),(function(e){var t=e.size;return"large"===t?"svg { height: 24px; }":"small"===t?"svg { height: 12px }":"svg { height: 20px; }"}),(function(e){var t=e.size;return"font-size: ".concat("small"===t?Kq["--ll-font-size-caption-1"]:Kq["--ll-font-size-p"])}),(function(e){var t=e.size;return"padding: 0 ".concat("small"===t?Kq["--ll-spacing-x-small"]:"large"===t?Kq["--ll-spacing-medium"]:Kq["--ll-spacing-small"])})),XY=Yo.forwardRef((function(e,t){var n=e.children,r=e.disabled,o=void 0!==r&&r,i=e.onClick,a=e.variant,u=void 0===a?"contained":a,s=e.startAdornment,l=e.size,c=void 0===l?"medium":l,f=e.type,d=void 0===f?"button":f,p=e.color,h=e.isLoading,v=e.className;return iY(KY,{variant:u,size:c,onClick:function(e){o||!i||h||i(e)},disabled:o||h,className:v,color:p,type:d,ref:t,children:h?iY(UY,{}):aY(oY,{children:[s&&iY(WY,{children:s}),n]})})}));function ZY(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function QY(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}function $Y(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=QY(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=QY(o),d=Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f]);return[c,d]}function JY(e){var t=Jr.exports.useRef({value:e,previous:e});return Jr.exports.useMemo((function(){return t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous}),[e])}function eG(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return TY((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}XY.displayName="Button",yE.div(_e||(_e=Hr(["\n display: flex;\n flex-direction: column;\n"]))),yE.div(Ee||(Ee=Hr(["\n position: relative;\n"]))),yE(XY)(Se||(Se=Hr(["\n position: absolute;\n right: 0px;\n top: 0px;\n"]))),yE.input(ke||(ke=Hr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 ",";\n height: 30px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n width: calc(100% - ",");\n\n &:focus {\n box-shadow: ",";\n }\n"])),Kq["--ll-border-radius-small"],Kq["--ll-spacing-x-small"],Kq["--ll-font-size-p"],Kq["--ll-font-family"],Kq["--ll-color-on-background"],Kq["--ll-color-background"],Kq["--ll-color-border"],Kq["--ll-spacing-medium"],Kq["--ll-shadow-small"]);var tG="Switch",nG=$r(yY(tG),2),rG=nG[0],oG=(nG[1],$r(rG(tG),2)),iG=oG[0],aG=oG[1],uG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=e["aria-labelledby"],o=e.name,i=e.checked,a=e.defaultChecked,u=e.required,s=e.disabled,l=e.value,c=void 0===l?"on":l,f=e.onCheckedChange,d=qr(e,Fn),p=$r(Jr.exports.useState(null),2),h=p[0],v=p[1],m=_Y(t,(function(e){return v(e)})),g=IY(h),y=r||g,b=Jr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=$r($Y({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Jr.exports.createElement(iG,{scope:n,checked:E,disabled:s},Jr.exports.createElement(AY.button,gY({type:"button",role:"switch","aria-checked":E,"aria-labelledby":y,"aria-required":u,"data-state":cG(E),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:ZY(e.onClick,(function(e){S((function(e){return!e})),x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())}))})),x&&Jr.exports.createElement(lG,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),sG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=qr(e,In),o=aG("SwitchThumb",n);return Jr.exports.createElement(AY.span,gY({"data-state":cG(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),lG=function(e){var t=e.control,n=e.checked,r=e.bubbles,o=void 0===r||r,i=qr(e,jn),a=Jr.exports.useRef(null),u=JY(n),s=eG(t);return Jr.exports.useEffect((function(){var e=a.current,t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(u!==n&&r){var i=new Event("click",{bubbles:o});r.call(e,n),e.dispatchEvent(i)}}),[u,n,o]),Jr.exports.createElement("input",gY({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Zr(Zr(Zr({},e.style),s),{},{position:"absolute",pointerEvents:"none",opacity:0,margin:0})}))};function cG(e){return e?"checked":"unchecked"}var fG=sG;function dG(e,t){var n=$r(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}yE(uG)(Ce||(Ce=Hr(["\n all: unset;\n width: 42px;\n height: 24px;\n background-color: ",';\n border-radius: 13px;\n position: relative;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-state="checked"] {\n background-color: ',";\n }\n"])),Kq["--ll-color-disabled"],Kq["--ll-color-on-background"]),yE(fG)(Ae||(Ae=Hr(["\n display: block;\n width: 18px;\n height: 18px;\n background-color: ",';\n border-radius: 9px;\n transition: transform 100ms;\n transform: translateX(3px);\n will-change: transform;\n\n &[data-state="checked"] {\n transform: translateX(21px);\n }\n'])),Kq["--ll-color-background"]);var pG=Jr.exports.createContext(void 0);function hG(e){var t=e+"CollectionProvider",n=$r(yY(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=_Y(t,u(s,n).collectionRef);return Yo.createElement(EY,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,zn),a=Yo.useRef(null),s=_Y(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(EY,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}var vG=["PageUp","PageDown"],mG=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],gG={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},yG="Slider",bG=$r(hG(yG),3),xG=bG[0],wG=bG[1],_G=bG[2],EG=$r(yY(yG,[_G]),2),SG=EG[0],kG=(EG[1],$r(SG(yG),2)),CG=kG[0],AG=kG[1],TG=Jr.exports.forwardRef((function(e,t){var n=e.name,r=e.min,o=void 0===r?0:r,i=e.max,a=void 0===i?100:i,u=e.step,s=void 0===u?1:u,l=e.orientation,c=void 0===l?"horizontal":l,f=e.disabled,d=void 0!==f&&f,p=e.minStepsBetweenThumbs,h=void 0===p?0:p,v=e.defaultValue,m=void 0===v?[o]:v,g=e.value,y=e.onValueChange,b=void 0===y?function(){}:y,x=qr(e,Bn),w=$r(Jr.exports.useState(null),2),_=w[0],E=w[1],S=_Y(t,(function(e){return E(e)})),k=Jr.exports.useRef(new Set),C=Jr.exports.useRef(0),A="horizontal"===c,T=!_||Boolean(_.closest("form")),P=A?DG:LG,O=$Y({prop:g,defaultProp:m,onChange:function(e){var t;null===(t=Wr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=$r(O,2),D=R[0],L=void 0===D?[]:D,M=R[1];function N(e,t){var n=function(e){return(String(e).split(".")[1]||"").length}(s),r=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-o)/s)*s+o,n),i=dG(r,[o,a]);M((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=VG(e,i,t);return qG(n,h*s)?(C.current=n.indexOf(i),String(n)===String(e)?e:n):e}))}return Jr.exports.createElement(CG,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Jr.exports.createElement(xG.Provider,{scope:e.__scopeSlider},Jr.exports.createElement(xG.Slot,{scope:e.__scopeSlider},Jr.exports.createElement(P,gY({"aria-disabled":d,"data-disabled":d?"":void 0},x,{ref:S,min:o,max:a,onSlideStart:d?void 0:function(e){var t=function(e,t){if(1===e.length)return 0;var n=e.map((function(e){return Math.abs(e-t)})),r=Math.min.apply(Math,Wr(n));return n.indexOf(r)}(L,e);N(e,t)},onSlideMove:d?void 0:function(e){N(e,C.current)},onHomeKeyDown:function(){return!d&&N(o,0)},onEndKeyDown:function(){return!d&&N(a,L.length-1)},onStepKeyDown:function(e){var t=e.event,n=e.direction;if(!d){var r=vG.includes(t.key)||t.shiftKey&&mG.includes(t.key)?10:1,o=C.current;N(L[o]+s*r*n,o)}}})))),T&&L.map((function(e,t){return Jr.exports.createElement(UG,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),PG=$r(SG(yG,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),OG=PG[0],RG=PG[1],DG=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.dir,i=e.onSlideStart,a=e.onSlideMove,u=e.onStepKeyDown,s=qr(e,Un),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=_Y(t,(function(e){return f(e)})),p=Jr.exports.useRef(),h=function(e){var t=Jr.exports.useContext(pG);return e||t||"ltr"}(o),v="ltr"===h;function m(e){var t=p.current||c.getBoundingClientRect(),o=YG([0,t.width],v?[n,r]:[r,n]);return p.current=t,o(e-t.left)}return Jr.exports.createElement(OG,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Jr.exports.createElement(MG,gY({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Zr(Zr({},s.style),{},Qr({},"--radix-slider-thumb-transform","translateX(-50%)")),onSlideStart:function(e){var t=m(e.clientX);null==i||i(t)},onSlideMove:function(e){var t=m(e.clientX);null==a||a(t)},onSlideEnd:function(){return p.current=void 0},onStepKeyDown:function(e){var t=gG[h].includes(e.key);null==u||u({event:e,direction:t?-1:1})}})))})),LG=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=qr(e,Vn),s=Jr.exports.useRef(null),l=_Y(t,s),c=Jr.exports.useRef();function f(e){var t=c.current||s.current.getBoundingClientRect(),o=YG([0,t.height],[r,n]);return c.current=t,o(e-t.top)}return Jr.exports.createElement(OG,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Jr.exports.createElement(MG,gY({"data-orientation":"vertical"},u,{ref:l,style:Zr(Zr({},u.style),{},Qr({},"--radix-slider-thumb-transform","translateY(50%)")),onSlideStart:function(e){var t=f(e.clientY);null==o||o(t)},onSlideMove:function(e){var t=f(e.clientY);null==i||i(t)},onSlideEnd:function(){return c.current=void 0},onStepKeyDown:function(e){var t=gG.ltr.includes(e.key);null==a||a({event:e,direction:t?-1:1})}})))})),MG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.onSlideStart,o=e.onSlideMove,i=e.onSlideEnd,a=e.onHomeKeyDown,u=e.onEndKeyDown,s=e.onStepKeyDown,l=qr(e,Hn),c=AG(yG,n);return Jr.exports.createElement(AY.span,gY({},l,{ref:t,onKeyDown:ZY(e.onKeyDown,(function(e){"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):vG.concat(mG).includes(e.key)&&(s(e),e.preventDefault())})),onPointerDown:ZY(e.onPointerDown,(function(e){var t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)})),onPointerMove:ZY(e.onPointerMove,(function(e){e.target.hasPointerCapture(e.pointerId)&&o(e)})),onPointerUp:ZY(e.onPointerUp,(function(e){var t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(e))}))}))})),NG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=qr(e,qn),o=AG("SliderTrack",n);return Jr.exports.createElement(AY.span,gY({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),FG="SliderRange",IG=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=qr(e,Yn),i=AG(FG,r),a=RG(FG,r),u=_Y(t,Jr.exports.useRef(null)),s=i.values.length,l=i.values.map((function(e){return HG(e,i.min,i.max)})),c=s>1?Math.min.apply(Math,Wr(l)):0,f=100-Math.max.apply(Math,Wr(l));return Jr.exports.createElement(AY.span,gY({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Zr(Zr({},e.style),{},(n={},Qr(n,a.startEdge,c+"%"),Qr(n,a.endEdge,f+"%"),n))}))})),jG="SliderThumb",zG=Jr.exports.forwardRef((function(e,t){var n=wG(e.__scopeSlider),r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1],a=_Y(t,(function(e){return i(e)})),u=Jr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Jr.exports.createElement(BG,gY({},e,{ref:a,index:u}))})),BG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=qr(e,Gn),i=AG(jG,n),a=RG(jG,n),u=$r(Jr.exports.useState(null),2),s=u[0],l=u[1],c=_Y(t,(function(e){return l(e)})),f=eG(s),d=i.values[r],p=void 0===d?0:HG(d,i.min,i.max),h=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(r,i.values.length),v=null==f?void 0:f[a.size],m=v?function(e,t,n){var r=e/2,o=YG([0,50],[0,r]);return(r-o(t)*n)*n}(v,p,a.direction):0;return Jr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Jr.exports.createElement("span",{style:Qr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Jr.exports.createElement(xG.ItemSlot,{scope:e.__scopeSlider},Jr.exports.createElement(AY.span,gY({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:c,style:void 0===d?{display:"none"}:e.style,onFocus:ZY(e.onFocus,(function(){i.valueIndexToChangeRef.current=r}))}))))})),UG=function(e){var t=e.value,n=qr(e,Wn),r=Jr.exports.useRef(null),o=JY(t);return Jr.exports.useEffect((function(){var e=r.current,n=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(n,"value").set;if(o!==t&&i){var a=new Event("input",{bubbles:!0});i.call(e,t),e.dispatchEvent(a)}}),[o,t]),Jr.exports.createElement("input",gY({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function VG(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Wr(e);return r[n]=t,r.sort((function(e,t){return e-t}))}function HG(e,t,n){return 100/(n-t)*(e-t)}function qG(e,t){if(t>0){var n=function(e){return e.slice(0,-1).map((function(t,n){return e[n+1]-t}))}(e);return Math.min.apply(Math,Wr(n))>=t}return!0}function YG(e,t){return function(n){if(e[0]===e[1]||t[0]===t[1])return t[0];var r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var GG=TG,WG=NG,KG=IG,XG=zG;yE.div(Te||(Te=Hr([""]))),yE.div(Pe||(Pe=Hr(["\n display: flex;\n align-items: center;\n"]))),yE(GG)(Oe||(Oe=Hr(["\n position: relative;\n display: flex;\n align-items: center;\n user-select: none;\n touch-action: none;\n height: 20;\n flex: 1;\n"]))),yE(XG)(Re||(Re=Hr(["\n all: unset;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n display: block;\n background-color: ",";\n box-shadow: ",";\n"])),Kq["--ll-color-primary"],Kq["--ll-shadow-medium"]),yE(WG)(De||(De=Hr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),Kq["--ll-color-surface-variant1"]),yE(KG)(Le||(Le=Hr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),Kq["--ll-color-primary"]);var ZG=yE.div(Me||(Me=Hr(["\n margin: ",";\n flex-shrink: 0;\n"])),(function(e){return function(e){var t=e.vertical,n=e.spacing,r=Kq[n];return t?"".concat(r," 0 0 0"):"0 ".concat(r," 0 0")}(e)})),QG=function(e){var t=e.vertical,n=void 0!==t&&t,r=e.spacing;return iY(ZG,{vertical:n,spacing:void 0===r?"--ll-spacing-auto":r})};var $G,JG="dismissableLayer.update",eW="dismissableLayer.pointerDownOutside",tW="dismissableLayer.focusOutside",nW=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rW=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,Kn),c=Jr.exports.useContext(nW),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=_Y(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=QY(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){iW(eW,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=QY(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&iW(tW,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=QY(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&($G=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),oW(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=$G)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),oW())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(JG,e),function(){return document.removeEventListener(JG,e)}}),[]),Jr.exports.createElement(AY.div,gY({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:ZY(e.onFocusCapture,E.onFocusCapture),onBlurCapture:ZY(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:ZY(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function oW(){var e=new CustomEvent(JG);document.dispatchEvent(e)}function iW(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var aW=0;function uW(){Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:sW()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:sW()),aW++,function(){1===aW&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),aW--}}),[])}function sW(){var 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}var lW="focusScope.autoFocusOnMount",cW="focusScope.autoFocusOnUnmount",fW={bubbles:!1,cancelable:!0},dW=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,Xn),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=QY(a),p=QY(u),h=Jr.exports.useRef(null),v=_Y(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:gW(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||gW(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){yW.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(lW,fW);c.addEventListener(lW,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if(gW(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(pW(c)),{select:!0}),document.activeElement===e&&gW(c))}return function(){c.removeEventListener(lW,d),setTimeout((function(){var t=new CustomEvent(cW,fW);c.addEventListener(cW,p),c.dispatchEvent(t),t.defaultPrevented||gW(null!=e?e:document.body,{select:!0}),c.removeEventListener(cW,p),yW.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=pW(e),n=hW(t,e),r=hW(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&gW(l,{select:!0})):(e.preventDefault(),r&&gW(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(AY.div,gY({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function pW(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function hW(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!vW(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function vW(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function mW(e){return e instanceof HTMLInputElement&&"select"in e}function gW(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&mW(e)&&r&&e.select()}}var yW=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=bW(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=bW(e,t))[0])||void 0===n||n.resume()}}}();function bW(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function xW(e){return e.split("-")[0]}function wW(e){return e.split("-")[1]}function _W(e){return["top","bottom"].includes(xW(e))?"x":"y"}function EW(e){return"y"===e?"height":"width"}function SW(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=_W(t),l=EW(s),c=o[l]/2-i[l]/2,f="x"===s;switch(xW(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(wW(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var kW=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=SW(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=SW(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function CW(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function AW(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function TW(e,t){return PW.apply(this,arguments)}function PW(){return PW=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=CW(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=AW,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=AW,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),PW.apply(this,arguments)}var OW=Math.min,RW=Math.max;function DW(e,t,n){return RW(e,OW(t,n))}var LW=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=CW(s),v={x:l,y:c},m=_W(f),g=wW(f),y=EW(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=DW(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},MW={left:"right",right:"left",bottom:"top",top:"bottom"};function NW(e){return e.replace(/left|right|bottom|top/g,(function(e){return MW[e]}))}function FW(e,t,n){void 0===n&&(n=!1);var r=wW(e),o=_W(e),i=EW(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=NW(a)),{main:a,cross:NW(a)}}var IW={start:"end",end:"start"};function jW(e){return e.replace(/start|end/g,(function(e){return IW[e]}))}var zW=["top","right","bottom","left"];function BW(e){var t=NW(e);return[jW(e),t,jW(t)]}var UW=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,Zn),w=xW(o),_=v||(w!==u&&b?BW(u):[NW(u)]),E=[u].concat(Wr(_)),n.next=22,TW(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=FW,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function VW(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function HW(e){return zW.some((function(t){return e[t]>=0}))}var qW=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,Qn);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,TW(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=VW(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:HW(a)}});case 9:return t.next=11,TW(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=VW(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:HW(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function YW(e,t){return GW.apply(this,arguments)}function GW(){return GW=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=xW(r),s=wW(r),l="x"===_W(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),GW.apply(this,arguments)}var WW=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,YW(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function KW(e){return"x"===e?"y":"x"}var XW=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,$n),v={x:o,y:i},n.next=14,TW(t,h);case 14:return m=n.sent,g=_W(xW(a)),y=KW(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=DW(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=DW(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},ZW=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=_W(i),g=KW(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(xW(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function QW(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function $W(e){if(null==e)return window;if(!QW(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function JW(e){return $W(e).getComputedStyle(e)}function eK(e){return QW(e)?"":e?(e.nodeName||"").toLowerCase():""}function tK(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function nK(e){return e instanceof $W(e).HTMLElement}function rK(e){return e instanceof $W(e).Element}function oK(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof $W(e).ShadowRoot||e instanceof ShadowRoot)}function iK(e){var t=JW(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function aK(e){return["table","td","th"].includes(eK(e))}function uK(e){var t=/firefox/i.test(tK()),n=JW(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function sK(){return!/^((?!chrome|android).)*safari/i.test(tK())}var lK=Math.min,cK=Math.max,fK=Math.round;function dK(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&nK(e)&&(s=e.offsetWidth>0&&fK(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&fK(u.height)/e.offsetHeight||1);var c=rK(e)?$W(e):window,f=!sK()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function pK(e){return((function(e){return e instanceof $W(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function hK(e){return rK(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vK(e){return dK(pK(e)).left+hK(e).scrollLeft}function mK(e,t,n){var r=nK(t),o=pK(t),i=dK(e,r&&function(e){var t=dK(e);return fK(t.width)!==e.offsetWidth||fK(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==eK(t)||iK(o))&&(a=hK(t)),nK(t)){var s=dK(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=vK(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function gK(e){return"html"===eK(e)?e:e.assignedSlot||e.parentNode||(oK(e)?e.host:null)||pK(e)}function yK(e){return nK(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function bK(e){for(var t=$W(e),n=yK(e);n&&aK(n)&&"static"===getComputedStyle(n).position;)n=yK(n);return n&&("html"===eK(n)||"body"===eK(n)&&"static"===getComputedStyle(n).position&&!uK(n))?t:n||function(e){var t=gK(e);for(oK(t)&&(t=t.host);nK(t)&&!["html","body"].includes(eK(t));){if(uK(t))return t;t=t.parentNode}return null}(e)||t}function xK(e){if(nK(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=dK(e);return{width:t.width,height:t.height}}function wK(e){var t=gK(e);return["html","body","#document"].includes(eK(t))?e.ownerDocument.body:nK(t)&&iK(t)?t:wK(t)}function _K(e,t){var n;void 0===t&&(t=[]);var r=wK(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=$W(r),a=o?[i].concat(i.visualViewport||[],iK(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(_K(a))}function EK(e,t,n){return"viewport"===t?AW(function(e,t){var n=$W(e),r=pK(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=sK();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):rK(t)?function(e,t){var n=dK(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):AW(function(e){var t,n=pK(e),r=hK(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=cK(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cK(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+vK(e),s=-r.scrollTop;return"rtl"===JW(o||n).direction&&(u+=cK(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(pK(e)))}function SK(e){var t=_K(e),n=["absolute","fixed"].includes(JW(e).position)&&nK(e)?bK(e):e;return rK(n)?t.filter((function(e){return rK(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&oK(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==eK(e)})):[]}var kK={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?SK(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=EK(t,n,o);return e.top=cK(r.top,e.top),e.right=lK(r.right,e.right),e.bottom=lK(r.bottom,e.bottom),e.left=cK(r.left,e.left),e}),EK(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=nK(n),i=pK(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==eK(n)||iK(i))&&(a=hK(n)),nK(n))){var s=dK(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:rK,getDimensions:xK,getOffsetParent:bK,getDocumentElement:pK,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:mK(t,bK(n),r),floating:Zr(Zr({},xK(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===JW(e).direction}};function CK(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(rK(e)?_K(e):[]),Wr(_K(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),rK(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?dK(e):null;return d&&function t(){var r=dK(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var AK=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function TK(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!TK(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||TK(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function PK(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return AK((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];TK(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return kW(e,t,Zr({platform:kK},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);AK((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);AK((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var OK=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?LW({element:t.current,padding:n}).fn(e):{}:t?LW({element:t,padding:n}).fn(e):{}}}},RK=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,Jn);return Jr.exports.createElement(AY.svg,gY({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),DK=RK,LK="Popper",MK=$r(yY(LK),2),NK=MK[0],FK=MK[1],IK=$r(NK(LK),2),jK=(IK[0],IK[1]),zK=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,er),i=jK("PopperAnchor",n),a=Jr.exports.useRef(null),u=_Y(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(AY.div,gY({},o,{ref:u}))})),BK="PopperContent",UK=$r(NK(BK),2),VK=UK[0],HK=UK[1],qK=$r(NK(BK,{hasParent:!1,positionUpdateFns:new Set}),2),YK=qK[0],GK=qK[1],WK=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,tr),D=jK(BK,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=_Y(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=eG(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(QK),altBoundary:G},K=PK({strategy:"fixed",placement:H,whileElementsMounted:CK,middleware:[WW({mainAxis:h+V,alignmentAxis:y}),O?XW(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?ZW():void 0},W)):void 0,j?OK({element:j,padding:x}):void 0,O?UW(Zr({},W)):void 0,$K({arrowWidth:U,arrowHeight:V}),T?qW({strategy:"referenceHidden"}):void 0].filter(ZK)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;TY((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(JK(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];TY((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=GK(BK,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(VK,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(YK,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(AY.div,ge)):Jr.exports.createElement(AY.div,ge)))})),KK={top:"bottom",right:"left",bottom:"top",left:"right"},XK=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,nr),i=HK("PopperArrow",r),a=KK[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(DK,gY({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function ZK(e){return void 0!==e}function QK(e){return null!==e}var $K=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(JK(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function JK(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var eX=zK,tX=WK,nX=XK,rX=Jr.exports.forwardRef((function(e,t){var n,r=e.container,o=void 0===r?null==globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body:r,i=qr(e,rr);return o?Jv.createPortal(Jr.exports.createElement(AY.div,gY({},i,{ref:t})),o):null}));var oX=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=iX(o.current);a.current="mounted"===s?e:"none"}),[s]),TY((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=iX(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),TY((function(){if(n){var e=function(e){var t=iX(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=iX(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=_Y(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function iX(e){return(null==e?void 0:e.animationName)||"none"}oX.displayName="Presence";var aX=new WeakMap,uX=new WeakMap,sX={},lX=0,cX=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];sX[n]||(sX[n]=new WeakMap);var i=sX[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=(aX.get(t)||0)+1,c=(i.get(t)||0)+1;aX.set(t,l),i.set(t,c),a.push(t),1===l&&s&&uX.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),lX++,function(){a.forEach((function(e){var t=aX.get(e)-1,o=i.get(e)-1;aX.set(e,t),i.set(e,o),t||(uX.has(e)||e.removeAttribute(r),uX.delete(e)),o||e.removeAttribute(n)})),--lX||(aX=new WeakMap,aX=new WeakMap,uX=new WeakMap,sX={})}}(r,o,n,"aria-hidden")):function(){return null}},fX=function(){return fX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},fX.apply(this,arguments)};function dX(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var pX="right-scroll-bar-position",hX="width-before-scroll-bar";function vX(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function mX(e){return e}var gX=function(e){var t=e.sideCar,n=dX(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 iY(r,Zr({},fX({},n)))};gX.isSideCarExport=!0;var yX=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=mX);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=fX({async:!0,ssr:!1},e),t}(),bX=function(){},xX=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:bX,onWheelCapture:bX,onTouchMoveCapture:bX}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=dX(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=vX([n,t]),w=fX(fX({},y),o);return aY(oY,{children:[c&&iY(b,{sideCar:yX,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),fX(fX({},w),{ref:x})):iY(g,Zr(Zr({},fX({},w,{className:s,ref:x})),{},{children:u}))]})}));xX.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xX.classNames={fullWidth:hX,zeroRight:pX};function wX(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var _X=function(){var e=0,t=null;return{add:function(n){0==e&&(t=wX())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},EX=function(){var e=function(){var e=_X();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},SX={left:0,top:0,right:0,gap:0},kX=function(e){return parseInt(e||"",10)||0},CX=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return SX;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[kX(n),kX(r),kX(o)]}(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])}},AX=EX(),TX=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(pX," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(hX," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(pX," .").concat(pX," {\n right: 0 ").concat(r,";\n }\n \n .").concat(hX," .").concat(hX," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},PX=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return CX(o)}),[o]);return iY(AX,{styles:TX(i,!t,o,n?"":"!important")})},OX=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var RX=Object.defineProperty({},"passive",{get:function(){return OX=!0,!0}});window.addEventListener("test",RX,RX),window.removeEventListener("test",RX,RX)}catch(c5){OX=!1}var DX=!!OX&&{passive:!1},LX=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),MX(e,n)){var r=NX(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},MX=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},NX=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},FX=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},IX=function(e){return[e.deltaX,e.deltaY]},jX=function(e){return e&&"current"in e?e.current:e},zX=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},BX=0,UX=[];var VX=function(e,t){return e.useMedium(t),gX}(yX,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(BX++)[0],i=Jr.exports.useState((function(){return EX()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(jX),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=FX(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=LX(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=LX(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=NX(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&MX(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(UX.length&&UX[UX.length-1]===i){var r="deltaY"in n?IX(n):FX(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(jX).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=FX(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,IX(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,FX(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return UX.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,DX),document.addEventListener("touchmove",s,DX),document.addEventListener("touchstart",c,DX),function(){UX=UX.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,DX),document.removeEventListener("touchmove",s,DX),document.removeEventListener("touchstart",c,DX)}}),[]);var p=e.removeScrollBar,h=e.inert;return aY(oY,{children:[h?iY(i,{styles:zX(o)}):null,p?iY(PX,{gapMode:"margin"}):null]})})),HX=Jr.exports.forwardRef((function(e,t){return iY(xX,Zr({},fX({},e,{ref:t,sideCar:VX})))}));HX.classNames=xX.classNames;var qX=HX,YX="Popover",GX=$r(yY(YX,[FK]),2),WX=GX[0],KX=(GX[1],FK()),XX=$r(WX(YX),2),ZX=(XX[0],XX[1]),QX=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,or),o=ZX("PopoverTrigger",n),i=KX(n),a=_Y(t,o.triggerRef),u=Jr.exports.createElement(AY.button,gY({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":aZ(o.open)},r,{ref:a,onClick:ZY(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(eX,gY({asChild:!0},i),u)})),$X=$r(WX("PopoverPortal",{forceMount:void 0}),2),JX=($X[0],$X[1]),eZ="PopoverContent",tZ=Jr.exports.forwardRef((function(e,t){var n=JX(eZ,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,ir),a=ZX(eZ,e.__scopePopover);return Jr.exports.createElement(oX,{present:o||a.open},a.modal?Jr.exports.createElement(nZ,gY({},i,{ref:t})):Jr.exports.createElement(rZ,gY({},i,{ref:t})))})),nZ=Jr.exports.forwardRef((function(e,t){var n=ZX(eZ,e.__scopePopover),r=Jr.exports.useRef(null),o=_Y(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return cX(e)}),[]),Jr.exports.createElement(qX,{as:EY,allowPinchZoom:!0},Jr.exports.createElement(oZ,gY({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ZY(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:ZY(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:ZY(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),rZ=Jr.exports.forwardRef((function(e,t){var n=ZX(eZ,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement(oZ,gY({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;null!==(i=n.triggerRef.current)&&void 0!==i&&i.contains(a)&&t.preventDefault()}}))})),oZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,ar),d=ZX(eZ,n),p=KX(n);return uW(),Jr.exports.createElement(dW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(rW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(tX,gY({"data-state":aZ(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),iZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,ur),o=KX(n);return Jr.exports.createElement(nX,gY({},o,r,{ref:t}))}));function aZ(e){return e?"open":"closed"}var uZ=tZ,sZ=iZ;yE(QX)(Ne||(Ne=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),yE(uZ)(Fe||(Fe=Hr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),Kq["--ll-border-radius-small"],Kq["--ll-shadow-small"],Kq["--ll-spacing-medium"]),yE(sZ)(Ie||(Ie=Hr(["\n fill: ",";\n"])),Kq["--ll-color-background"]);var lZ={primary:{background:Kq["--ll-color-primary"],onBackground:Kq["--ll-color-on-primary"],hover:Kq["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:Kq["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:Kq["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},cZ={small:24,medium:32,large:48};yE.button(je||(je=Hr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return eE(ze||(ze=Hr(["\n border: none;\n background-color: ",";\n color: ",";\n border-radius: 50%;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n cursor: default;\n background-color: rgba(0, 0, 0, 0.1);\n color: ",";\n }\n "])),lZ[n].background,lZ[n].onBackground,cZ[o],cZ[o],lZ[n].hover,Kq["--ll-color-on-background-variant1"])}));var fZ=gE(Ue||(Ue=Hr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"])));yE.div(Ve||(Ve=Hr(["\n border-radius: ",";\n animation: "," 2s linear infinite;\n background: linear-gradient(\n to right,\n /* NOTE: 99.9% of the time we should use colours from theme, since these are\n CSS vars that can be overriden. */\n "," 4%,\n "," 25%,\n "," 36%\n );\n background-size: 800px 100%;\n ","\n"])),Kq["--ll-border-radius-medium"],fZ,Kq["--ll-color-surface-variant1"],Kq["--ll-color-surface-variant2"],Kq["--ll-color-surface-variant1"],(function(e){var t=e.height,n=e.width;return eE(Be||(Be=Hr(["\n height: ",";\n width: ",";\n "])),t,n)})),yE.div(He||(He=Hr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),yE.div(qe||(qe=Hr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var dZ=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(AY.span,gY({},e,{ref:t,style:Zr({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"},e.style)}))})),pZ=[" ","Enter","ArrowUp","ArrowDown"],hZ=[" ","Enter"],vZ="Select",mZ=$r(hG(vZ),3),gZ=mZ[0],yZ=mZ[1],bZ=$r(yY(vZ,[mZ[2]]),2),xZ=bZ[0],wZ=(bZ[1],$r(xZ(vZ),2)),_Z=(wZ[0],wZ[1]);xZ(vZ);var EZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=qr(e,sr),u=_Z("SelectTrigger",n),s=_Y(t,u.onTriggerChange),l=yZ(n),c=IY(u.trigger),f=i||c,d=BZ((function(e){var t=l().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.value===u.value})),r=UZ(t,e,n);void 0!==r&&u.onValueChange(r.value)})),p=$r(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Jr.exports.createElement(AY.button,gY({type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-autocomplete":"none","aria-labelledby":f,dir:u.dir,"data-state":u.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":void 0===u.value?"":void 0},a,{ref:s,onPointerDown:ZY(a.onPointerDown,(function(e){e.target.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:ZY(a.onKeyDown,(function(e){var t=""!==h.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&v(e.key),(!t||" "!==e.key)&&pZ.includes(e.key)&&(g(),e.preventDefault())}))}))})),SZ=Jr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=qr(e,lr);return Jr.exports.createElement(AY.span,gY({"aria-hidden":!0},r,{ref:t}),n||"▼")})),kZ="SelectContent",CZ=Jr.exports.forwardRef((function(e,t){var n=_Z(kZ,e.__scopeSelect),r=$r(Jr.exports.useState(),2),o=r[0],i=r[1];return TY((function(){i(new DocumentFragment)}),[]),Jr.exports.createElement(Jr.exports.Fragment,null,n.open?Jr.exports.createElement(RZ,gY({},e,{ref:t})):o?Ko.exports.createPortal(Jr.exports.createElement(PZ,{scope:e.__scopeSelect},Jr.exports.createElement(gZ.Slot,{scope:e.__scopeSelect},Jr.exports.createElement("div",null,e.children))),o):null)})),AZ=10,TZ=$r(xZ(kZ),2),PZ=TZ[0],OZ=TZ[1],RZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=qr(e,cr),i=_Z(kZ,n),a=$r(Jr.exports.useState(null),2),u=a[0],s=a[1],l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=$r(Jr.exports.useState(null),2),p=d[0],h=d[1],v=_Y(t,(function(e){return f(e)})),m=$r(Jr.exports.useState(null),2),g=m[0],y=m[1],b=$r(Jr.exports.useState(null),2),x=b[0],w=b[1],_=yZ(n),E=$r(Jr.exports.useState(!1),2),S=E[0],k=E[1],C=Jr.exports.useRef(!0),A=Jr.exports.useRef(!1),T=Jr.exports.useRef(!1);Jr.exports.useEffect((function(){if(c)return cX(c)}),[c]),uW();var P=$r(Jr.exports.useState(),2),O=P[0],R=P[1];TY((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Jr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=zr(n),o=r[0],i=$r(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=vo(e);try{for(u.s();!(t=u.n()).done;){var s=t.value;if(s===a||(null==s||s.scrollIntoView({block:"nearest"}),s===o&&p&&(p.scrollTop=0),s===i&&p&&(p.scrollTop=p.scrollHeight),null==s||s.focus(),document.activeElement!==a))return}}catch(l){u.e(l)}finally{u.f()}}),[_,p]),L=Jr.exports.useCallback((function(){if(i.trigger&&i.valueNode&&u&&c&&p&&g&&x){var e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==i.dir){var o=r.left-t.left,a=n.left-o,s=e.left-a,l=e.width+s,f=Math.max(l,t.width),d=window.innerWidth-AZ,h=dG(a,[AZ,d-f]);u.style.minWidth=l+"px",u.style.left=h+"px"}else{var v=t.right-r.right,m=window.innerWidth-n.right-v,y=window.innerWidth-e.right-m,b=e.width+y,w=Math.max(b,t.width),E=window.innerWidth-AZ,S=dG(m,[AZ,E-w]);u.style.minWidth=b+"px",u.style.right=S+"px"}var C=_(),T=window.innerHeight-20,P=p.scrollHeight,O=window.getComputedStyle(c),R=parseInt(O.borderTopWidth,10),D=parseInt(O.paddingTop,10),L=parseInt(O.borderBottomWidth,10),M=R+D+P+parseInt(O.paddingBottom,10)+L,N=Math.min(5*g.offsetHeight,M),F=window.getComputedStyle(p),I=parseInt(F.paddingTop,10),j=parseInt(F.paddingBottom,10),z=e.top+e.height/2-AZ,B=T-z,U=g.offsetHeight/2,V=R+D+(g.offsetTop+U),H=M-V;if(V<=z){var q=g===C[C.length-1].ref.current;u.style.bottom="0px";var Y=c.clientHeight-p.offsetTop-p.offsetHeight,G=V+Math.max(B,U+(q?j:0)+Y+L);u.style.height=G+"px"}else{var W=g===C[0].ref.current;u.style.top="0px";var K=Math.max(z,R+p.offsetTop+(W?I:0)+U)+H;u.style.height=K+"px",p.scrollTop=V-z+p.offsetTop}u.style.margin="".concat(AZ,"px 0"),u.style.minHeight=N+"px",u.style.maxHeight=T+"px",k(!0),requestAnimationFrame((function(){return A.current=!0}))}}),[_,i.trigger,i.valueNode,u,c,p,g,x,i.dir]);TY((function(){return L()}),[L]);var M=Jr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Jr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Jr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Jr.exports.useEffect((function(){if(c){var e={x:0,y:0},t=function(t){var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=I.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=I.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=function(n){e.x<=10&&e.y<=10?n.preventDefault():c.contains(n.target)||F(!1),document.removeEventListener("pointermove",t),I.current=null};return null!==I.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),function(){document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[c,F,I]),Jr.exports.useEffect((function(){var e=function(){return F(!1)};return window.addEventListener("blur",e),window.addEventListener("resize",e),function(){window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[F]);var j=BZ((function(e){var t=_().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.ref.current===document.activeElement})),r=UZ(t,e,n);r&&setTimeout((function(){return r.ref.current.focus()}))})),z=$r(j,2),B=z[0],U=z[1],V=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&(y(e),r&&(T.current=!0))}),[i.value]),H=Jr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Jr.exports.createElement(PZ,{scope:n,contentWrapper:u,content:c,viewport:p,onViewportChange:h,itemRefCallback:V,selectedItem:g,onItemLeave:H,itemTextRefCallback:q,selectedItemText:x,onScrollButtonChange:N,isPositioned:S,shouldExpandOnScrollRef:A,searchRef:B},Jr.exports.createElement(qX,{as:EY,allowPinchZoom:!0},Jr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Jr.exports.createElement(dW,{asChild:!0,trapped:i.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:ZY(r,(function(e){var t;null===(t=i.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},Jr.exports.createElement(rW,gY({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:function(e){return e.preventDefault()}},o,{ref:v,style:Zr({display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none"},o.style),disableOutsidePointerEvents:!0,onFocusOutside:function(e){return e.preventDefault()},onDismiss:function(){return i.onOpenChange(!1)},onKeyDown:ZY(o.onKeyDown,(function(e){var t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){var n=_().filter((function(e){return!e.disabled})).map((function(e){return e.ref.current}));if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){var r=e.target,o=n.indexOf(r);n=n.slice(o+1)}setTimeout((function(){return D(n)})),e.preventDefault()}}))}))))))})),DZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,fr),o=OZ("SelectViewport",n),i=_Y(t,o.onViewportChange),a=Jr.exports.useRef(0);return Jr.exports.createElement(Jr.exports.Fragment,null,Jr.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),Jr.exports.createElement(gZ.Slot,{scope:n},Jr.exports.createElement(AY.div,gY({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Zr({position:"relative",flex:1,overflow:"auto"},r.style),onScroll:ZY(r.onScroll,(function(e){var t=e.currentTarget,n=o.contentWrapper,r=o.shouldExpandOnScrollRef;if(null!=r&&r.current&&n){var i=Math.abs(a.current-t.scrollTop);if(i>0){var u=window.innerHeight-20,s=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),c=Math.max(s,l);if(c<u){var f=c+i,d=Math.min(u,f),p=f-d;n.style.height=d+"px","0px"===n.style.bottom&&(t.scrollTop=p>0?p:0,n.style.justifyContent="flex-end")}}}a.current=t.scrollTop}))}))))}));xZ("SelectGroup");var LZ="SelectItem",MZ=$r(xZ(LZ),2),NZ=MZ[0],FZ=MZ[1],IZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=qr(e,dr),s=_Z(LZ,n),l=OZ(LZ,n),c=s.value===r,f=$r(Jr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=$r(Jr.exports.useState(!1),2),v=h[0],m=h[1],g=_Y(t,(function(e){var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)})),y=RY(),b=function(){i||(s.onValueChange(r),s.onOpenChange(!1))};return Jr.exports.createElement(NZ,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Jr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Jr.exports.createElement(gZ.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Jr.exports.createElement(AY.div,gY({role:"option","aria-labelledby":y,"data-highlighted":v?"":void 0,"aria-selected":c&&v,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},u,{ref:g,onFocus:ZY(u.onFocus,(function(){return m(!0)})),onBlur:ZY(u.onBlur,(function(){return m(!1)})),onPointerUp:ZY(u.onPointerUp,b),onPointerMove:ZY(u.onPointerMove,(function(e){var t;i?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:ZY(u.onPointerLeave,(function(e){var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:ZY(u.onKeyDown,(function(e){var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(hZ.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),jZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,pr);return FZ("SelectItemIndicator",n).isSelected?Jr.exports.createElement(AY.span,gY({"aria-hidden":!0},r,{ref:t})):null})),zZ=Jr.exports.forwardRef((function(e,t){var n=e.value,r=qr(e,hr),o=Jr.exports.useRef(null),i=_Y(t,o),a=JY(n);return Jr.exports.useEffect((function(){var e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){var i=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(i)}}),[a,n]),Jr.exports.createElement(dZ,{asChild:!0},Jr.exports.createElement("select",gY({},r,{ref:i,defaultValue:n})))}));function BZ(e){var t=QY(e),n=Jr.exports.useRef(""),r=Jr.exports.useRef(0),o=Jr.exports.useCallback((function(e){var o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((function(){return e("")}),1e3))}(o)}),[t]),i=Jr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Jr.exports.useEffect((function(){return function(){return window.clearTimeout(r.current)}}),[]),[n,o,i]}function UZ(e,t,n){var r=t.length>1&&Array.from(t).every((function(e){return e===t[0]}))?t[0]:t,o=n?e.indexOf(n):-1,i=function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(e,Math.max(o,0));1===r.length&&(i=i.filter((function(e){return e!==n})));var a=i.find((function(e){return e.textValue.toLowerCase().startsWith(r.toLowerCase())}));return a!==n?a:void 0}zZ.displayName="BubbleSelect";var VZ=function(e){return Jr.exports.createElement(rX,gY({asChild:!0},e))},HZ=CZ,qZ=DZ,YZ=IZ,GZ=jZ;yE(EZ)(Ye||(Ye=Hr(["\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n color: ",";\n padding: "," ","\n "," ",";\n flex: 1;\n height: ",";\n font-size: ",";\n"])),Kq["--ll-color-background"],Kq["--ll-border-radius-small"],Kq["--ll-color-border"],Kq["--ll-color-on-background-variant1"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-x-small"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-small"],(function(e){return"medium"===e.size?"32px":"40px"}),(function(e){return"medium"===e.size?Kq["--ll-font-size-p"]:Kq["--ll-font-size-h6"]})),yE(SZ)(Ge||(Ge=Hr(["\n margin-left: ",";\n"])),Kq["--ll-spacing-x-small"]),yE(HZ)(We||(We=Hr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 2;\n font-size: ",";\n"])),Kq["--ll-color-background"],Kq["--ll-border-radius-small"],Kq["--ll-shadow-medium"],(function(e){return"medium"===e.size?Kq["--ll-font-size-p"]:Kq["--ll-font-size-h6"]})),yE(YZ)(Ke||(Ke=Hr(["\n font-family: ",";\n font-size: inherit;\n padding: "," ","\n "," ",";\n outline: none;\n border-radius: ",";\n position: relative;\n color: ",";\n cursor: default;\n\n &[data-highlighted] {\n background-color: ",";\n color: ",";\n }\n"])),Kq["--ll-font-family"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-x-large"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-large"],Kq["--ll-border-radius-small"],Kq["--ll-color-on-surface-variant1"],Kq["--ll-color-primary"],Kq["--ll-color-on-primary"]),yE(GZ)(Xe||(Xe=Hr(["\n position: absolute;\n left: 0;\n height: 100%;\n left: 0;\n bottom: 0;\n width: ",";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])),Kq["--ll-spacing-large"]),yE(qZ)(Ze||(Ze=Hr(["\n font-size: inherit;\n padding: ",";\n"])),Kq["--ll-spacing-base-unit"]),yE(VZ)(Qe||(Qe=Hr(["\n z-index: 1;\n"])));var WZ=Yo.createContext({}),KZ=Ur("L",(function(){return Jr.exports.useContext(WZ)})),XZ=function(e){var t,n,r=e.client,o=e.options,i=e.children;return Iq(WZ.Provider,{value:{client:r,options:o},children:Iq(q_,{target:document.head,children:jq(Fq,{children:[Iq(Zq,{themeName:null==(t=null==o?void 0:o.appearance)?void 0:t.theme,overrides:null==(n=null==o?void 0:o.appearance)?void 0:n.variables}),i]})})})},ZZ=Yo.createContext({}),QZ=function(){return Jr.exports.useContext(ZZ)},$Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=2*parseFloat(e);return t?Math.round(n):Math.round(10*n)/10},JZ=function(e){var t=e.scoresData,n=e.score,r=e.round,o=void 0!==r&&r,i=Jr.exports.useMemo((function(){var e,r,i=null==(r=null==(e=null==t?void 0:t.location)?void 0:e[n])?void 0:r.value;return $Z(i,o)}),[t,n,o]),a=Jr.exports.useMemo((function(){var e,r;return null==(r=null==(e=null==t?void 0:t.location)?void 0:e[n])?void 0:r.text}),[t,n]),u=Jr.exports.useMemo((function(){var e;return null==(e=null==t?void 0:t.geographies)?void 0:e.find((function(e){return"municipality"===e.geog_level_type}))}),[t]),s=Jr.exports.useMemo((function(){var e;return null==(e=null==t?void 0:t.geographies)?void 0:e.find((function(e){return"macro neighbourhood"===e.geog_level_type}))}),[t]),l=Jr.exports.useMemo((function(){var e,t=null==(e=null==u?void 0:u.scores[n])?void 0:e.value;return $Z(t,o)}),[u,n,o]),c=Jr.exports.useMemo((function(){var e,t=null==(e=null==s?void 0:s.scores[n])?void 0:e.value;return $Z(t,o)}),[s,n,o]);return{textVal:a,scoreVal:i,cityName:Jr.exports.useMemo((function(){return null==u?void 0:u.name}),[u]),cityScoreVal:l,neighbourhoodName:Jr.exports.useMemo((function(){return null==s?void 0:s.name}),[s]),neighbourhoodScoreVal:c}},eQ=yE.div(et||(et=Hr(["\n position: relative;\n background: ",";\n color: ",";\n border-radius: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n line-height: 1;\n font-family: ",";\n overflow: hidden;\n transition: background 160ms ease;\n ",';\n\n &:after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.2) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n }\n'])),(function(e){return e.isPrimary?Kq["--ll-color-primary"]:Kq["--ll-color-disabled"]}),Kq["--ll-color-on-primary"],Kq["--ll-border-radius-small"],Kq["--ll-font-family"],(function(e){return function(e){return"small"===e?eE($e||($e=Hr(["\n height: 16px;\n padding: 0 ",";\n font-size: ",";\n "])),Kq["--ll-spacing-xx-small"],Kq["--ll-font-size-caption-2"]):eE(Je||(Je=Hr(["\n height: 32px;\n width: 32px;\n font-size: ",";\n "])),Kq["--ll-font-size-p"])}(e.variant)})),tQ=yE.div(tt||(tt=Hr(["\n z-index: 1;\n"]))),nQ=function(e){return"object"==ho(e)&&null!==e&&!Array.isArray(e)};function rQ(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();return nQ(e)&&nQ(o)&&Object.keys(o).forEach((function(t){nQ(o[t])?(e[t]||Object.assign(e,Qr({},t,{})),rQ(e[t],o[t])):Object.assign(e,Qr({},t,o[t]))})),rQ.apply(void 0,[e].concat(n))}var oQ=function(e){var t=KZ().client.options.locale,n=void 0===t?"en":t,r=Jr.exports.useMemo((function(){return rQ.apply(void 0,[{}].concat(Wr(e)))[n]}),[n,e]);return{locale:n,translations:r}},iQ={en:{cafes:"Cafes",car_friendly:"Driving",cycling_friendly:"Cycling",daycares:"Day care",greenery:"Greenery",groceries:"Grocery",high_schools:"High schools",historic:"Historic",nightlife:"Night life",parks:"Parks",pedestrian_friendly:"Walking",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Cafés",car_friendly:"Voiture",cycling_friendly:"Vélo",daycares:"Garderies",greenery:"Verdure",groceries:"Épiceries",high_schools:"Écoles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Marche",primary_schools:"Écoles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasins",transit_friendly:"Transport public",vibrant:"Dynamisme",wellness:"Bien-être"}},aQ={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é et de la diversité des cafés à proximité.","car_friendly-description":"Représente la fluidité de la circulation et la facilité de stationnement.","cycling_friendly-description":"Représente à quel point la zone est adaptée au cyclisme en termes d'infrastructure cyclable à proximité et de rues calmes, ainsi que le nombre de destinations pouvant être atteintes à vélo.","daycares-description":"Représente la distance à la garderie la plus proche.","greenery-description":"Quantité d'espaces verts à proximité et couverture de la canopée des arbres.","groceries-description":"Une mesure de la quantité d'épiceries à proximité.","high_schools-description":"Représente la distance à l'école secondaire la plus proche.","historic-description":"Une mesure de la quantité et de la taille des bâtiments patrimoniaux, et de l'âge moyen des bâtiments dans la région.","nightlife-description":"Représente la quantité et la diversité des bars à proximité.","parks-description":"Une mesure de la quantité et de la taille des parcs à proximité.","pedestrian_friendly-description":"Une mesure de la proximité des services de base et de l'agrément d'y aller à pied.","primary_schools-description":"Une mesure de la distance à l'école primaire la plus proche.","quiet-description":"Une mesure des niveaux moyens de bruit à proximité.","restaurants-description":"Représente la quantité et la diversité des restaurants à proximité.","shopping-description":"Une mesure de la quantité et de la diversité de magasins de mode et de grands magasins à proximité.","transit_friendly-description":"Une mesure de la fréquence et du niveau de service de transport en commun.","vibrant-description":"Représente le niveau d'activité de la rue à proximité.","wellness-description":"Représente à quel point un emplacement est propice au bien-être des individus."}},uQ=function(e){var t,n=QZ().options.score,r=oQ([aQ,iQ]).translations;return null!=(t=e.options)&&t.isRawText?Iq(Fq,{children:r[n]}):Iq(hY,Zr(Zr({},e.options),{},{children:r[n]}))};uQ.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};var sQ=function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"})]}))},lQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},cQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},fQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},dQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},pQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},hQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},vQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},mQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},gQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},yQ=function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"})]}))},bQ={pedestrian_friendly:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},transit_friendly:sQ,cycling_friendly:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},car_friendly:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"})]}))},groceries:pQ,restaurants:dQ,cafes:lQ,shopping:cQ,wellness:mQ,parks:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},greenery:hQ,vibrant:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"})]}))},nightlife:fQ,quiet:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},historic:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),Fx("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}))},high_schools:gQ,primary_schools:yQ,daycares:vQ},xQ=(Ur("p",{pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants","healthy_restaurants"],cafes:["cafes"],shopping:["shopping"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:["nightlife"],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]}),function(e){var t=e.options,n=QZ().options.score;return Iq(lY,{SVGElement:bQ[n],fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})});xQ.defaultProps={options:{color:"--ll-color-on-background-variant1"}};var wQ={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},_Q={en:{LOCATION:"This Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood",AVG:"Avg."},fr:{LOCATION:"Ce Lieu",CITY:"Ville",NEIGHBOURHOOD:"Quartier",AVG:"Moy."}},EQ=yE.div(nt||(nt=Hr(["\n position: relative;\n display: grid;\n grid-template-columns: ",";\n align-items: center;\n grid-column-gap: ",";\n width: 100%;\n"])),(function(e){return e.isUsingIcons?"auto auto 1fr auto":"auto 1fr auto"}),Kq["--ll-spacing-x-small"]),SQ=yE.div(rt||(rt=Hr(["\n height: ","px;\n width: 100%;\n border-radius: ","px;\n background-color: ",";\n position: relative;\n overflow: hidden;\n"])),8,4,Kq["--ll-color-surface-variant1"]),kQ=yE(Dq.div)(ot||(ot=Hr(["\n position: absolute;\n height: 100%;\n border-radius: ","px;\n background: linear-gradient(\n to right,\n ",",\n ","\n );\n"])),4,Kq["--ll-color-primary-variant1"],Kq["--ll-color-primary"]);yE.div(it||(it=Hr(["\n position: absolute;\n height: 100%;\n top: 0;\n left: ","%;\n transform: translateX(-1px);\n border-right: ",";\n"])),(function(e){return 10*e.val}),(function(e){var t=e.markerType;return"4px ".concat("city"===t?"solid":"dotted"," ").concat(Kq["--ll-color-on-background"])})),yE.div(at||(at=Hr(["\n position: absolute;\n top: ",";\n bottom: ",";\n transform: translateX(calc(-50% + 2px));\n left: 0;\n"])),(function(e){return"top"===e.position&&"-18px"}),(function(e){return"bottom"===e.position&&"-18px"}));var CQ=yE.div(ut||(ut=Hr(["\n display: flex;\n max-width: ","px;\n"])),(function(e){return e.maxWidth})),AQ=yE(hY)(st||(st=Hr(["\n margin-right: 4px;\n"]))),TQ=yE.span(lt||(lt=Hr(["\n flex-shrink: 0;\n"])));function PQ(){return PQ=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},PQ.apply(this,arguments)}function OQ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function RQ(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function DQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return RQ(t,e)}))}}function LQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback(DQ.apply(void 0,t),t)}function MQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,vr),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,NQ.apply(void 0,[o].concat(Wr(t)))]}function NQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}var FQ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,mr),o=Jr.exports.Children.toArray(n),i=o.find(zQ);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(IQ,PQ({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(IQ,PQ({},r,{ref:t}),n)}));FQ.displayName="Slot";var IQ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,gr);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:DQ(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));IQ.displayName="SlotClone";var jQ=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function zQ(e){return Jr.exports.isValidElement(e)&&e.type===jQ}var BQ=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,yr),i=r?FQ:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,PQ({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});function UQ(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}var VQ,HQ="dismissableLayer.update",qQ="dismissableLayer.pointerDownOutside",YQ="dismissableLayer.focusOutside",GQ=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),WQ=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,br),c=Jr.exports.useContext(GQ),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=LQ(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=UQ(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){XQ(qQ,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=UQ(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&XQ(YQ,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=UQ(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(VQ=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),KQ(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=VQ)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),KQ())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(HQ,e),function(){return document.removeEventListener(HQ,e)}}),[]),Jr.exports.createElement(BQ.div,PQ({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:OQ(e.onFocusCapture,E.onFocusCapture),onBlurCapture:OQ(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:OQ(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function KQ(){var e=new CustomEvent(HQ);document.dispatchEvent(e)}function XQ(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var ZQ=0;function QQ(){var 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}var $Q="focusScope.autoFocusOnMount",JQ="focusScope.autoFocusOnUnmount",e$={bubbles:!1,cancelable:!0},t$=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,xr),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=UQ(a),p=UQ(u),h=Jr.exports.useRef(null),v=LQ(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:a$(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||a$(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){u$.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent($Q,e$);c.addEventListener($Q,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if(a$(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(n$(c)),{select:!0}),document.activeElement===e&&a$(c))}return function(){c.removeEventListener($Q,d),setTimeout((function(){var t=new CustomEvent(JQ,e$);c.addEventListener(JQ,p),c.dispatchEvent(t),t.defaultPrevented||a$(null!=e?e:document.body,{select:!0}),c.removeEventListener(JQ,p),u$.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=n$(e),n=r$(t,e),r=r$(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&a$(l,{select:!0})):(e.preventDefault(),r&&a$(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(BQ.div,PQ({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function n$(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function r$(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!o$(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function o$(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function i$(e){return e instanceof HTMLInputElement&&"select"in e}function a$(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&i$(e)&&r&&e.select()}}var u$=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=s$(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=s$(e,t))[0])||void 0===n||n.resume()}}}();function s$(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var l$=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},c$=Go["useId".toString()]||function(){},f$=0;function d$(e){var t=$r(Jr.exports.useState(c$()),2),n=t[0],r=t[1];return l$((function(){e||r((function(e){return null!=e?e:String(f$++)}))}),[e]),e||(n?"radix-".concat(n):"")}function p$(e){return e.split("-")[0]}function h$(e){return e.split("-")[1]}function v$(e){return["top","bottom"].includes(p$(e))?"x":"y"}function m$(e){return"y"===e?"height":"width"}function g$(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=v$(t),l=m$(s),c=o[l]/2-i[l]/2,f="x"===s;switch(p$(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(h$(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var y$=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=g$(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=g$(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function b$(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function x$(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function w$(e,t){return _$.apply(this,arguments)}function _$(){return _$=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=b$(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=x$,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=x$,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),_$.apply(this,arguments)}var E$=Math.min,S$=Math.max;function k$(e,t,n){return S$(e,E$(t,n))}var C$=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=b$(s),v={x:l,y:c},m=v$(f),g=h$(f),y=m$(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=k$(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},A$={left:"right",right:"left",bottom:"top",top:"bottom"};function T$(e){return e.replace(/left|right|bottom|top/g,(function(e){return A$[e]}))}function P$(e,t,n){void 0===n&&(n=!1);var r=h$(e),o=v$(e),i=m$(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=T$(a)),{main:a,cross:T$(a)}}var O$={start:"end",end:"start"};function R$(e){return e.replace(/start|end/g,(function(e){return O$[e]}))}var D$=["top","right","bottom","left"];function L$(e){var t=T$(e);return[R$(e),t,R$(t)]}var M$=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,wr),w=p$(o),_=v||(w!==u&&b?L$(u):[T$(u)]),E=[u].concat(Wr(_)),n.next=22,w$(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=P$,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function N$(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function F$(e){return D$.some((function(t){return e[t]>=0}))}var I$=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,_r);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,w$(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=N$(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:F$(a)}});case 9:return t.next=11,w$(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=N$(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:F$(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function j$(e,t){return z$.apply(this,arguments)}function z$(){return z$=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=p$(r),s=h$(r),l="x"===v$(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),z$.apply(this,arguments)}var B$=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,j$(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function U$(e){return"x"===e?"y":"x"}var V$=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,Er),v={x:o,y:i},n.next=14,w$(t,h);case 14:return m=n.sent,g=v$(p$(a)),y=U$(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=k$(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=k$(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},H$=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=v$(i),g=U$(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(p$(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function q$(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Y$(e){if(null==e)return window;if(!q$(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function G$(e){return Y$(e).getComputedStyle(e)}function W$(e){return q$(e)?"":e?(e.nodeName||"").toLowerCase():""}function K$(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function X$(e){return e instanceof Y$(e).HTMLElement}function Z$(e){return e instanceof Y$(e).Element}function Q$(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof Y$(e).ShadowRoot||e instanceof ShadowRoot)}function $$(e){var t=G$(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function J$(e){return["table","td","th"].includes(W$(e))}function eJ(e){var t=/firefox/i.test(K$()),n=G$(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function tJ(){return!/^((?!chrome|android).)*safari/i.test(K$())}var nJ=Math.min,rJ=Math.max,oJ=Math.round;function iJ(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&X$(e)&&(s=e.offsetWidth>0&&oJ(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&oJ(u.height)/e.offsetHeight||1);var c=Z$(e)?Y$(e):window,f=!tJ()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function aJ(e){return((function(e){return e instanceof Y$(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function uJ(e){return Z$(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function sJ(e){return iJ(aJ(e)).left+uJ(e).scrollLeft}function lJ(e,t,n){var r=X$(t),o=aJ(t),i=iJ(e,r&&function(e){var t=iJ(e);return oJ(t.width)!==e.offsetWidth||oJ(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==W$(t)||$$(o))&&(a=uJ(t)),X$(t)){var s=iJ(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=sJ(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function cJ(e){return"html"===W$(e)?e:e.assignedSlot||e.parentNode||(Q$(e)?e.host:null)||aJ(e)}function fJ(e){return X$(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function dJ(e){for(var t=Y$(e),n=fJ(e);n&&J$(n)&&"static"===getComputedStyle(n).position;)n=fJ(n);return n&&("html"===W$(n)||"body"===W$(n)&&"static"===getComputedStyle(n).position&&!eJ(n))?t:n||function(e){var t=cJ(e);for(Q$(t)&&(t=t.host);X$(t)&&!["html","body"].includes(W$(t));){if(eJ(t))return t;t=t.parentNode}return null}(e)||t}function pJ(e){if(X$(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=iJ(e);return{width:t.width,height:t.height}}function hJ(e){var t=cJ(e);return["html","body","#document"].includes(W$(t))?e.ownerDocument.body:X$(t)&&$$(t)?t:hJ(t)}function vJ(e,t){var n;void 0===t&&(t=[]);var r=hJ(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Y$(r),a=o?[i].concat(i.visualViewport||[],$$(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(vJ(a))}function mJ(e,t,n){return"viewport"===t?x$(function(e,t){var n=Y$(e),r=aJ(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=tJ();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):Z$(t)?function(e,t){var n=iJ(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):x$(function(e){var t,n=aJ(e),r=uJ(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=rJ(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=rJ(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+sJ(e),s=-r.scrollTop;return"rtl"===G$(o||n).direction&&(u+=rJ(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(aJ(e)))}function gJ(e){var t=vJ(e),n=["absolute","fixed"].includes(G$(e).position)&&X$(e)?dJ(e):e;return Z$(n)?t.filter((function(e){return Z$(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Q$(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==W$(e)})):[]}var yJ={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?gJ(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=mJ(t,n,o);return e.top=rJ(r.top,e.top),e.right=nJ(r.right,e.right),e.bottom=nJ(r.bottom,e.bottom),e.left=rJ(r.left,e.left),e}),mJ(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=X$(n),i=aJ(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==W$(n)||$$(i))&&(a=uJ(n)),X$(n))){var s=iJ(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:Z$,getDimensions:pJ,getOffsetParent:dJ,getDocumentElement:aJ,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:lJ(t,dJ(n),r),floating:Zr(Zr({},pJ(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===G$(e).direction}};function bJ(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(Z$(e)?vJ(e):[]),Wr(vJ(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),Z$(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?iJ(e):null;return d&&function t(){var r=iJ(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var xJ=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function wJ(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!wJ(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||wJ(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function _J(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return xJ((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];wJ(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return y$(e,t,Zr({platform:yJ},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);xJ((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);xJ((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var EJ=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?C$({element:t.current,padding:n}).fn(e):{}:t?C$({element:t,padding:n}).fn(e):{}}}},SJ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,Sr);return Jr.exports.createElement(BQ.svg,PQ({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),kJ=SJ;var CJ="Popper",AJ=$r(MQ(CJ),2),TJ=AJ[0],PJ=AJ[1],OJ=$r(TJ(CJ),2),RJ=OJ[0],DJ=OJ[1],LJ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,kr),i=DJ("PopperAnchor",n),a=Jr.exports.useRef(null),u=LQ(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(BQ.div,PQ({},o,{ref:u}))})),MJ="PopperContent",NJ=$r(TJ(MJ),2),FJ=NJ[0],IJ=NJ[1],jJ=$r(TJ(MJ,{hasParent:!1,positionUpdateFns:new Set}),2),zJ=jJ[0],BJ=jJ[1],UJ=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,Cr),D=DJ(MJ,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=LQ(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=function(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return l$((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(YJ),altBoundary:G},K=_J({strategy:"fixed",placement:H,whileElementsMounted:bJ,middleware:[B$({mainAxis:h+V,alignmentAxis:y}),O?V$(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?H$():void 0},W)):void 0,j?EJ({element:j,padding:x}):void 0,O?M$(Zr({},W)):void 0,GJ({arrowWidth:U,arrowHeight:V}),T?I$({strategy:"referenceHidden"}):void 0].filter(qJ)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;l$((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(WJ(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];l$((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=BJ(MJ,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(FJ,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(zJ,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(BQ.div,ge)):Jr.exports.createElement(BQ.div,ge)))})),VJ={top:"bottom",right:"left",bottom:"top",left:"right"},HJ=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,Ar),i=IJ("PopperArrow",r),a=VJ[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(kJ,PQ({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function qJ(e){return void 0!==e}function YJ(e){return null!==e}var GJ=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(WJ(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function WJ(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var KJ=function(e){var t=e.__scopePopper,n=e.children,r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1];return Jr.exports.createElement(RJ,{scope:t,anchor:o,onAnchorChange:i},n)},XJ=LJ,ZJ=UJ,QJ=HJ;var $J=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=JJ(o.current);a.current="mounted"===s?e:"none"}),[s]),l$((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=JJ(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),l$((function(){if(n){var e=function(e){var t=JJ(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=JJ(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=LQ(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function JJ(e){return(null==e?void 0:e.animationName)||"none"}function e0(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=UQ(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=UQ(o),d=Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f]);return[c,d]}$J.displayName="Presence";var t0=new WeakMap,n0=new WeakMap,r0={},o0=0,i0=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];r0[n]||(r0[n]=new WeakMap);var i=r0[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=(t0.get(t)||0)+1,c=(i.get(t)||0)+1;t0.set(t,l),i.set(t,c),a.push(t),1===l&&s&&n0.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),o0++,function(){a.forEach((function(e){var t=t0.get(e)-1,o=i.get(e)-1;t0.set(e,t),i.set(e,o),t||(n0.has(e)||e.removeAttribute(r),n0.delete(e)),o||e.removeAttribute(n)})),--o0||(t0=new WeakMap,t0=new WeakMap,n0=new WeakMap,r0={})}}(r,o,n,"aria-hidden")):function(){return null}},a0=function(){return a0=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a0.apply(this,arguments)};function u0(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var s0="right-scroll-bar-position",l0="width-before-scroll-bar";function c0(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function f0(e){return e}var d0=function(e){var t=e.sideCar,n=u0(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 Iq(r,Zr({},a0({},n)))};d0.isSideCarExport=!0;var p0=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=f0);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=a0({async:!0,ssr:!1},e),t}(),h0=function(){},v0=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:h0,onWheelCapture:h0,onTouchMoveCapture:h0}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=u0(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=c0([n,t]),w=a0(a0({},y),o);return jq(Fq,{children:[c&&Iq(b,{sideCar:p0,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),a0(a0({},w),{ref:x})):Iq(g,Zr(Zr({},a0({},w,{className:s,ref:x})),{},{children:u}))]})}));v0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v0.classNames={fullWidth:l0,zeroRight:s0};function m0(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var g0=function(){var e=0,t=null;return{add:function(n){0==e&&(t=m0())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y0=function(){var e=function(){var e=g0();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},b0={left:0,top:0,right:0,gap:0},x0=function(e){return parseInt(e||"",10)||0},w0=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return b0;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x0(n),x0(r),x0(o)]}(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])}},_0=y0(),E0=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(s0," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(l0," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(s0," .").concat(s0," {\n right: 0 ").concat(r,";\n }\n \n .").concat(l0," .").concat(l0," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},S0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return w0(o)}),[o]);return Iq(_0,{styles:E0(i,!t,o,n?"":"!important")})},k0=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var C0=Object.defineProperty({},"passive",{get:function(){return k0=!0,!0}});window.addEventListener("test",C0,C0),window.removeEventListener("test",C0,C0)}catch(f5){k0=!1}var A0=!!k0&&{passive:!1},T0=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),P0(e,n)){var r=O0(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},P0=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},O0=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},R0=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},D0=function(e){return[e.deltaX,e.deltaY]},L0=function(e){return e&&"current"in e?e.current:e},M0=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},N0=0,F0=[];var I0=function(e,t){return e.useMedium(t),d0}(p0,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(N0++)[0],i=Jr.exports.useState((function(){return y0()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(L0),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=R0(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=T0(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=T0(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=O0(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&P0(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(F0.length&&F0[F0.length-1]===i){var r="deltaY"in n?D0(n):R0(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(L0).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=R0(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,D0(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,R0(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return F0.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,A0),document.addEventListener("touchmove",s,A0),document.addEventListener("touchstart",c,A0),function(){F0=F0.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,A0),document.removeEventListener("touchmove",s,A0),document.removeEventListener("touchstart",c,A0)}}),[]);var p=e.removeScrollBar,h=e.inert;return jq(Fq,{children:[h?Iq(i,{styles:M0(o)}):null,p?Iq(S0,{gapMode:"margin"}):null]})})),j0=Jr.exports.forwardRef((function(e,t){return Iq(v0,Zr({},a0({},e,{ref:t,sideCar:I0})))}));j0.classNames=v0.classNames;var z0=j0,B0="Popover",U0=$r(MQ(B0,[PJ]),2),V0=U0[0],H0=(U0[1],PJ()),q0=$r(V0(B0),2),Y0=q0[0],G0=q0[1],W0=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,Tr),o=G0("PopoverTrigger",n),i=H0(n),a=LQ(t,o.triggerRef),u=Jr.exports.createElement(BQ.button,PQ({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":n1(o.open)},r,{ref:a,onClick:OQ(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(XJ,PQ({asChild:!0},i),u)})),K0=$r(V0("PopoverPortal",{forceMount:void 0}),2),X0=(K0[0],K0[1]),Z0="PopoverContent",Q0=Jr.exports.forwardRef((function(e,t){var n=X0(Z0,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,Pr),a=G0(Z0,e.__scopePopover);return Jr.exports.createElement($J,{present:o||a.open},a.modal?Jr.exports.createElement($0,PQ({},i,{ref:t})):Jr.exports.createElement(J0,PQ({},i,{ref:t})))})),$0=Jr.exports.forwardRef((function(e,t){var n=G0(Z0,e.__scopePopover),r=Jr.exports.useRef(null),o=LQ(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return i0(e)}),[]),Jr.exports.createElement(z0,{as:FQ,allowPinchZoom:!0},Jr.exports.createElement(e1,PQ({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:OQ(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:OQ(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:OQ(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),J0=Jr.exports.forwardRef((function(e,t){var n=G0(Z0,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement(e1,PQ({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(a))&&t.preventDefault()}}))})),e1=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,Or),d=G0(Z0,n),p=H0(n);return Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:QQ()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:QQ()),ZQ++,function(){1===ZQ&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),ZQ--}}),[]),Jr.exports.createElement(t$,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(WQ,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(ZJ,PQ({"data-state":n1(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),t1=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,Rr),o=H0(n);return Jr.exports.createElement(QJ,PQ({},o,r,{ref:t}))}));function n1(e){return e?"open":"closed"}var r1=function(e){var t=e.__scopePopover,n=e.children,r=e.open,o=e.defaultOpen,i=e.onOpenChange,a=e.modal,u=void 0!==a&&a,s=H0(t),l=Jr.exports.useRef(null),c=$r(Jr.exports.useState(!1),2),f=c[0],d=c[1],p=$r(e0({prop:r,defaultProp:o,onChange:i}),2),h=p[0],v=void 0!==h&&h,m=p[1];return Jr.exports.createElement(KJ,s,Jr.exports.createElement(Y0,{scope:t,contentId:d$(),triggerRef:l,open:v,onOpenChange:m,onOpenToggle:Jr.exports.useCallback((function(){return m((function(e){return!e}))}),[m]),hasCustomAnchor:f,onCustomAnchorAdd:Jr.exports.useCallback((function(){return d(!0)}),[]),onCustomAnchorRemove:Jr.exports.useCallback((function(){return d(!1)}),[]),modal:u},n))},o1=W0,i1=Q0,a1=t1,u1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},s1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},l1=yE(o1)(ct||(ct=Hr(["\n background: none;\n border: none;\n padding: 2px;\n margin: 0 0 0 ",";\n flex-shrink: 0;\n box-sizing: content-box;\n"])),Kq["--ll-spacing-x-small"]),c1=yE(i1)(ft||(ft=Hr(["\n background-color: ",";\n padding: ",";\n border-radius: ",";\n box-shadow: ",";\n z-index: 1;\n width: 240px;\n max-width: 100vw;\n"])),Kq["--ll-color-background"],Kq["--ll-spacing-small"],Kq["--ll-border-radius-small"],Kq["--ll-shadow-small"]),f1=yE.div(dt||(dt=Hr(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"]))),d1=yE(a1)(pt||(pt=Hr(["\n fill: ",";\n"])),Kq["--ll-color-background"]),p1=Object.freeze(Object.defineProperty({__proto__:null,Badge:function(e){var t=e.options,n=(t=void 0===t?{}:t).variant,r=void 0===n?"large":n,o=t.isPrimary,i=void 0===o||o,a=QZ().options,u=a.scoresData,s=a.score,l=JZ({scoresData:u,score:s}).scoreVal;return null==l?null:Iq(eQ,{"data-testid":"score-badge",variant:r,isPrimary:i,children:Iq(tQ,{children:l})})},Title:uQ,Icon:xQ,BarChart:function(e){var t=e.options,n=(t=void 0===t?{}:t).locationIcon,r=t.cityIcon,o=t.neighbourhoodIcon,i=QZ().options,a=i.scoresData,u=i.score,s=JZ({score:u,scoresData:a}),l=s.scoreVal,c=s.cityName,f=s.cityScoreVal,d=(s.neighbourhoodName,s.neighbourhoodScoreVal,oQ([_Q]).translations),p=!!n||!!r||!!o,h=function(){var e=$r(Jr.exports.useState(null),2),t=e[0],n=e[1],r=$r(Jr.exports.useState(wQ),2),o=r[0],i=r[1],a=Jr.exports.useMemo((function(){return new window.ResizeObserver((function(e){if(e[0]){var t=e[0].contentRect,n=t.x,r=t.y,o=t.width,a=t.height,u=t.top,s=t.left,l=t.bottom,c=t.right;i({x:n,y:r,width:o,height:a,top:u,left:s,bottom:l,right:c})}}))}),[]);return Jr.exports.useLayoutEffect((function(){if(t)return a.observe(t),function(){a.disconnect()}}),[t]),[n,o,t]}(),v=$r(h,2),m=v[0],g=v[1],y=Iq("div",{}),b=function(e){return e?Iq(lY,{width:20,height:20,SVGElement:e,fill:Kq["--ll-color-on-background-variant1"]}):p?y:void 0};return l?Iq(Fq,{children:jq(EQ,{isUsingIcons:p,ref:m,children:[jq(Fq,{children:[b(n),Iq(hY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:d.LOCATION}),Iq(SQ,{children:Iq(kQ,{animate:{width:"".concat(l/10*100,"%")},transition:Zr({delay:.3},eY.transitions.spring)})}),Iq(hY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:l})]}),f&&jq(Fq,{children:[b(r),jq(CQ,{maxWidth:g.width/2,children:[Iq(AQ,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:c||d.CITY}),Iq(TQ,{children:Iq(hY,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:d.AVG})})]}),Iq(SQ,{children:Iq(kQ,{animate:{width:"".concat(f/10*100,"%")},transition:Zr({delay:.4},eY.transitions.spring)})}),Iq(hY,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:f})]})]})}):null},Description:function(){var e=QZ(),t=e.options,n=t.scoresData,r=t.score,o=e.onChange,i=JZ({scoresData:n,score:r}).textVal,a=$r(Jr.exports.useState(!1),2),u=a[0],s=a[1],l=oQ([aQ,iQ]).translations;return i?jq(f1,{children:[jq(hY,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[i,"."]}),jq(r1,{open:u,onOpenChange:function(e){s(e),o&&o({type:"tooltip-toggle",data:e})},children:[Iq(l1,{children:Iq(lY,{SVGElement:u?u1:s1,fill:Kq["--ll-color-primary"],height:20,width:20})}),jq(c1,{collisionPadding:8,children:[Iq(d1,{}),Iq(hY,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:l["".concat(r,"-description")]})]})]})]}):null},Root:function(e){return Iq(ZZ.Provider,{value:Zr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})),h1={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propulsé par"}},v1=yE.a(ht||(ht=Hr(["\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n margin-top: 1px;\n width: 100%;\n"]))),m1=yE.img(vt||(vt=Hr(["\n height: 20px;\n margin-left: ",";\n"])),Kq["--ll-spacing-base-unit"]),g1=yE(hY)(mt||(mt=Hr(["\n line-height: initial;\n"]))),y1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),b1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(){var e=oQ([h1]).translations;return jq(v1,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[Iq(g1,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),Iq(m1,{src:"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="})]})},Types:y1},Symbol.toStringTag,{value:"Module"})),x1={small:20,medium:32,large:40},w1=yE(Dq.div)(gt||(gt=Hr(["\n background: linear-gradient(\n to top,\n ",",\n ","\n );\n border-radius: 50%;\n border: 2px solid #fff;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n box-shadow: ",";\n"])),(function(e){return e.backgroundColorHighlight}),(function(e){return e.backgroundColor}),(function(e){var t=e.size;return x1[t]}),(function(e){var t=e.size;return x1[t]}),Kq["--ll-shadow-small"]),_1=function(e){var t=e.fill,n=void 0===t?"#fff":t,r=e.backgroundColor,o=void 0===r?Kq["--ll-color-primary"]:r,i=e.backgroundColorHighlight,a=void 0===i?o:i,u=e.SVGElement,s=e.size,l=void 0===s?"small":s,c=e.expandMarker;return Iq(w1,{"data-testid":"svgInfo",backgroundColor:o,backgroundColorHighlight:a,size:l,variants:{default:{scale:1},hovered:{scale:1.2}},animate:c?"hovered":"default",whileHover:{scale:1.2},transition:eY.transitions.default,children:Iq(lY,{SVGElement:u,fill:n,height:x1[l]/1.5,width:x1[l]/1.5})})},E1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}))},S1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},k1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),C1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options;return Iq(_1,{SVGElement:"house"===t.style?E1:S1,size:"large",backgroundColor:Kq["--ll-color-primary"],backgroundColorHighlight:Kq["--ll-color-primary-variant1"]})},Types:k1},Symbol.toStringTag,{value:"Module"})),A1=Yo.createContext({}),T1=function(){return Jr.exports.useContext(A1)},P1={groceries:function(e){return Fx("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:Fx("path",{d:"M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z"})}))},groceries_specialized:pQ,shopping:cQ,nightlife:fQ,restaurants:dQ,healthy_restaurants:mQ,cafes:lQ,daycares:vQ,bus_stops:sQ,rapid_transit_stations:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},train_stations:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},parks:hQ,fitness:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("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"})]}))},personal_care:mQ,pet_care:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("circle",{cx:4.5,cy:9.5,r:2.5}),Fx("circle",{cx:9,cy:5.5,r:2.5}),Fx("circle",{cx:15,cy:5.5,r:2.5}),Fx("circle",{cx:19.5,cy:9.5,r:2.5}),Fx("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"})]}))},car_fueling_stations:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("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"})]}))},health_care:function(e){return Ix("svg",Zr(Zr({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:[Fx("rect",{fill:"none",height:24,width:24}),Fx("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"})]}))},sport_facilities:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"})]}))},art_culture_science:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Fx("g",{children:Fx("rect",{fill:"none",height:24,width:24})}),Fx("g",{children:Fx("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"})})]}))},home_improvement:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Fx("g",{children:Fx("rect",{fill:"none",height:24,width:24})}),Fx("g",{children:Ix("g",{children:[Fx("g",{children:Fx("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"})}),Fx("g",{children:Fx("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"})})]})})]}))},primary_schools:yQ,high_schools:gQ},O1=yE(o1)(yt||(yt=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),R1=function(e,t){return"school"===t},D1=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},L1={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Rapid transit",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"Générales",groceries_specialized:"Spécialisées",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Cafés",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"Métro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de santé",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Amélioration de l'habitat",personal_care:"Soins personnels"}},M1={en:{SCHOOL_BOARD:"Board",SCHOOL_LANGUAGES:"Languages",SCHOOL_LEVELS:"Levels",SCHOOL_TYPE:"Type",ENGLISH:"English",FRENCH:"French",SPANISH:"Spanish",high_schools:"High schools",primary_schools:"Primary schools"},fr:{SCHOOL_BOARD:"Commission",SCHOOL_LANGUAGES:"Langues",SCHOOL_LEVELS:"Niveaux",SCHOOL_TYPE:"Type",ENGLISH:"Anglais",FRENCH:"Français",SPANISH:"Espagnol",high_schools:"Écoles secondaires",primary_schools:"Écoles primaires"}},N1=yE(i1)(bt||(bt=Hr(["\n padding: ",";\n background-color: ",";\n box-shadow: ",";\n border-radius: ",";\n width: 240px;\n"])),Kq["--ll-spacing-small"],Kq["--ll-color-background"],Kq["--ll-shadow-small"],Kq["--ll-border-radius-small"]),F1=yE(a1)(xt||(xt=Hr(["\n fill: ",";\n"])),Kq["--ll-color-background"]),I1=yE.div(wt||(wt=Hr(["\n display: flex;\n margin-bottom: ",";\n"])),Kq["--ll-spacing-xx-small"]),j1=yE(uY)(_t||(_t=Hr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),z1=yE.div(Et||(Et=Hr(["\n display: grid;\n grid-template-columns: auto 1fr;\n grid-column-gap: 10px;\n margin-bottom: ",";\n"])),Kq["--ll-spacing-xx-small"]),B1=yE(hY)(St||(St=Hr([""]))),U1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),V1=Object.freeze(Object.defineProperty({__proto__:null,Types:U1,Marker:function(){var e=T1().options,t=e.type,n=e.isOpen,r=e.isHovered,o=e.size;return Iq(O1,{children:Iq(_1,{size:o,SVGElement:P1[t],expandMarker:n||r,backgroundColor:Kq["--ll-color-primary"],backgroundColorHighlight:Kq["--ll-color-primary-variant1"]})})},Content:function(){var e,t,n,r,o,i,a=T1().options,u=a.poi,s=a.side,l=a.collisionPadding,c=a.type,f=oQ([L1,M1]).translations,d="high_schools"===c||"primary_schools"===c?"school":"poi",p=function(e,t){return jq(Fq,{children:[jq(B1,{children:[e,": "]}),Iq(B1,{color:Kq["--ll-color-on-background-variant1"],children:D1(t)})]})};return jq(N1,{side:s,collisionPadding:l,sideOffset:8,children:[Iq(F1,{}),Iq(hY,{variant:"h4",noMargin:!0,weight:"--ll-font-weight-bold",children:u.name}),Iq(QG,{vertical:!0,spacing:"--ll-spacing-xx-small"}),u.address&&Iq(hY,{variant:"p",noMargin:!0,children:u.address}),Iq(QG,{vertical:!0,spacing:"--ll-spacing-xx-small"}),u.url&&jq(Fq,{children:[Iq(mY,{lineClamp:2,href:u.url,children:u.url}),Iq(QG,{vertical:!0,spacing:"--ll-spacing-xx-small"})]}),R1(0,d)?jq(z1,{children:[(null==(e=u.school_attributes)?void 0:e.grades)&&p(f.SCHOOL_LEVELS,u.school_attributes.grades),(null==(t=u.school_attributes)?void 0:t.languages)&&p(f.SCHOOL_LANGUAGES,function(e){return e.map((function(e){switch(e){case"en":return f.ENGLISH;case"fr":return f.FRENCH;case"es":return f.SPANISH;default:return e}}))}(u.school_attributes.languages).join(", ")),(null==(n=u.school_attributes)?void 0:n.types)&&p(f.SCHOOL_TYPE,u.school_attributes.types.join(", ")),(null==(r=u.school_board_attributes)?void 0:r.name)&&(null==(o=u.school_board_attributes)?void 0:o.url)&&jq(Fq,{children:[jq(B1,{children:[f.SCHOOL_BOARD,": "]}),Iq(mY,{href:u.school_board_attributes.url,children:D1(u.school_board_attributes.name)})]})]}):u.routes&&jq(I1,{children:[Iq(lY,{SVGElement:P1[c],height:20,width:20,fill:Kq["--ll-color-on-background"]}),null==(i=u.routes)?void 0:i.map((function(e,t){return Iq(j1,{text:e.short_name,backgroundColor:e.route_color,textColor:e.text_color},e.short_name+t)}))]}),Iq(uY,{text:f[c],size:"medium",backgroundColor:Kq["--ll-color-primary"]})]})},Root:function(e){return Iq(r1,{open:e.options.isOpen,onOpenChange:function(t){return e.onChange&&e.onChange({type:"open-change",data:t})},children:Iq(A1.Provider,{value:Zr({},e),children:e.children})})}},Symbol.toStringTag,{value:"Module"})),H1=yE.ul(kt||(kt=Hr(["\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n"]))),q1=yE.li(Ct||(Ct=Hr(["\n padding: ",";\n margin-bottom: ",";\n border-radius: ",";\n background-color: ",";\n"])),Kq["--ll-spacing-x-small"],Kq["--ll-spacing-xx-small"],Kq["--ll-border-radius-small"],(function(e){var t=e.isActive,n=e.isHovered;return t||n?Kq["--ll-color-surface-variant1"]:Kq["--ll-color-background"]})),Y1=yE.div(At||(At=Hr(["\n display: flex;\n flex-wrap: wrap;\n"]))),G1=yE(uY)(Tt||(Tt=Hr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),W1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=t.data,r=t.type,o=t.activePOI,i=t.hoveredPOI,a=e.onChange;return Iq(H1,{children:n.map((function(e,t){var n,u,s;return jq(q1,{isActive:o===e,isHovered:i===e,onClick:function(){return a&&a({type:"poi-click",data:e})},onMouseOver:function(){return a&&a({type:"poi-hover",data:e})},onMouseLeave:function(){return a&&a({type:"poi-hover",data:void 0})},children:[Iq(hY,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:e.name}),R1(0,r)?Iq(Y1,{children:null==(u=null==(n=e.school_attributes)?void 0:n.types)?void 0:u.map((function(e,t){return Iq(G1,{text:e},e)}))}):Iq(Y1,{children:null==(s=e.routes)?void 0:s.map((function(e,t){return Iq(G1,{text:e.short_name,backgroundColor:e.route_color,textColor:e.text_color},e.short_name+t)}))})]},"".concat(e.name,"-").concat(e.lat,"-").concat(e.lng,"-").concat(t))}))})},Types:W1},Symbol.toStringTag,{value:"Module"})),X1=Yo.createContext({}),Z1=function(){return Jr.exports.useContext(X1)},Q1={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Services",character:"Caractère",nature:"Nature",education:"Familles",about:"Info"}},$1=function(e){var t=Z1().scoreCategory,n=oQ([Q1]).translations;return Iq(hY,Zr(Zr({},e.options),{},{children:n[t]}))};Ur({m:p1,w:b1,a0:C1,k:V1,A:K1}),$1.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};var J1=Ur("I",[{value:"commute",icon:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},scores:["transit_friendly","car_friendly","pedestrian_friendly","cycling_friendly"]},{value:"education",icon:gQ,scores:["primary_schools","high_schools","daycares"]},{value:"amenities",icon:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},scores:["groceries","restaurants","shopping","cafes"]},{value:"character",icon:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"})]}))},scores:["quiet","nightlife","vibrant","historic"]},{value:"nature",icon:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"})]}))},scores:["parks","greenery"]}]),e2=function(e){var t=e.options,n=Z1().scoreCategory,r=J1.find((function(e){return e.value===n}));return Iq(lY,{SVGElement:r.icon,fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})};e2.defaultProps={options:{color:"--ll-color-on-background-variant1"}};var t2=function(e){var t=e.options,n=e.children;return Iq(X1.Provider,{value:Zr({},t),children:n})},n2=Ur("B",Object.freeze(Object.defineProperty({__proto__:null,Root:t2,Title:$1,Icon:e2},Symbol.toStringTag,{value:"Module"})));var r2=Jr.exports.createContext(void 0);function o2(e){var t=Jr.exports.useContext(r2);return e||t||"ltr"}var i2="rovingFocusGroup.onEntryFocus",a2={bubbles:!1,cancelable:!0},u2="RovingFocusGroup",s2=function(e){var t=e+"CollectionProvider",n=$r(MQ(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=LQ(t,u(s,n).collectionRef);return Yo.createElement(FQ,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,Dr),a=Yo.useRef(null),s=LQ(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(FQ,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}(u2),l2=$r(s2,3),c2=l2[0],f2=l2[1],d2=$r(MQ(u2,[l2[2]]),2),p2=d2[0],h2=d2[1],v2=$r(p2(u2),2),m2=v2[0],g2=v2[1],y2=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(c2.Provider,{scope:e.__scopeRovingFocusGroup},Jr.exports.createElement(c2.Slot,{scope:e.__scopeRovingFocusGroup},Jr.exports.createElement(b2,PQ({},e,{ref:t}))))})),b2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeRovingFocusGroup,r=e.orientation,o=e.loop,i=void 0!==o&&o,a=e.dir,u=e.currentTabStopId,s=e.defaultCurrentTabStopId,l=e.onCurrentTabStopIdChange,c=e.onEntryFocus,f=qr(e,Lr),d=Jr.exports.useRef(null),p=LQ(t,d),h=o2(a),v=$r(e0({prop:u,defaultProp:s,onChange:l}),2),m=v[0],g=void 0===m?null:m,y=v[1],b=$r(Jr.exports.useState(!1),2),x=b[0],w=b[1],_=UQ(c),E=f2(n),S=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=d.current;if(e)return e.addEventListener(i2,_),function(){return e.removeEventListener(i2,_)}}),[_]),Jr.exports.createElement(m2,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:Jr.exports.useCallback((function(e){return y(e)}),[y]),onItemShiftTab:Jr.exports.useCallback((function(){return w(!0)}),[])},Jr.exports.createElement(BQ.div,PQ({tabIndex:x?-1:0,"data-orientation":r},f,{ref:p,style:Zr({outline:"none"},e.style),onMouseDown:OQ(e.onMouseDown,(function(){S.current=!0})),onFocus:OQ(e.onFocus,(function(e){var t=!S.current;if(e.target===e.currentTarget&&t&&!x){var n=new CustomEvent(i2,a2);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){var r=E().filter((function(e){return e.focusable})),o=r.find((function(e){return e.active})),i=r.find((function(e){return e.id===g})),a=[o,i].concat(Wr(r)).filter(Boolean).map((function(e){return e.ref.current}));_2(a)}}S.current=!1})),onBlur:OQ(e.onBlur,(function(){return w(!1)}))})))})),x2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeRovingFocusGroup,r=e.focusable,o=void 0===r||r,i=e.active,a=void 0!==i&&i,u=qr(e,Mr),s=d$(),l=g2("RovingFocusGroupItem",n),c=l.currentTabStopId===s,f=f2(n);return Jr.exports.createElement(c2.ItemSlot,{scope:n,id:s,focusable:o,active:a},Jr.exports.createElement(BQ.span,PQ({tabIndex:c?0:-1,"data-orientation":l.orientation},u,{ref:t,onMouseDown:OQ(e.onMouseDown,(function(e){o?l.onItemFocus(s):e.preventDefault()})),onFocus:OQ(e.onFocus,(function(){return l.onItemFocus(s)})),onKeyDown:OQ(e.onKeyDown,(function(e){if("Tab"===e.key&&e.shiftKey)l.onItemShiftTab();else if(e.target===e.currentTarget){var t=function(e,t,n){var r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return w2[r]}(e,l.orientation,l.dir);if(void 0!==t){e.preventDefault();var n=f().filter((function(e){return e.focusable})).map((function(e){return e.ref.current}));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();var r=n.indexOf(e.currentTarget);n=l.loop?function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(n,r+1):n.slice(r+1)}setTimeout((function(){return _2(n)}))}}}))})))})),w2={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function _2(e){var t,n=document.activeElement,r=vo(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===n||(o.focus(),document.activeElement!==n))return}}catch(i){r.e(i)}finally{r.f()}}var E2=y2,S2=x2,k2="Tabs",C2=$r(MQ(k2,[h2]),2),A2=C2[0],T2=(C2[1],h2()),P2=$r(A2(k2),2),O2=P2[0],R2=P2[1],D2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.onValueChange,i=e.defaultValue,a=e.orientation,u=void 0===a?"horizontal":a,s=e.dir,l=e.activationMode,c=void 0===l?"automatic":l,f=qr(e,Nr),d=o2(s),p=$r(e0({prop:r,onChange:o,defaultProp:i}),2),h=p[0],v=p[1];return Jr.exports.createElement(O2,{scope:n,baseId:d$(),value:h,onValueChange:v,orientation:u,dir:d,activationMode:c},Jr.exports.createElement(BQ.div,PQ({dir:d,"data-orientation":u},f,{ref:t})))})),L2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.loop,o=void 0===r||r,i=qr(e,Fr),a=R2("TabsList",n),u=T2(n);return Jr.exports.createElement(E2,PQ({asChild:!0},u,{orientation:a.orientation,dir:a.dir,loop:o}),Jr.exports.createElement(BQ.div,PQ({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))})),M2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.disabled,i=void 0!==o&&o,a=qr(e,Ir),u=R2("TabsTrigger",n),s=T2(n),l=F2(u.baseId,r),c=I2(u.baseId,r),f=r===u.value;return Jr.exports.createElement(S2,PQ({asChild:!0},s,{focusable:!i,active:f}),Jr.exports.createElement(BQ.button,PQ({type:"button",role:"tab","aria-selected":f,"aria-controls":c,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l},a,{ref:t,onMouseDown:OQ(e.onMouseDown,(function(e){i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(r)})),onKeyDown:OQ(e.onKeyDown,(function(e){[" ","Enter"].includes(e.key)&&u.onValueChange(r)})),onFocus:OQ(e.onFocus,(function(){var e="manual"!==u.activationMode;!f&&!i&&e&&u.onValueChange(r)}))})))})),N2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.forceMount,i=e.children,a=qr(e,jr),u=R2("TabsContent",n),s=F2(u.baseId,r),l=I2(u.baseId,r),c=r===u.value,f=Jr.exports.useRef(c);return Jr.exports.useEffect((function(){var e=requestAnimationFrame((function(){return f.current=!1}));return function(){return cancelAnimationFrame(e)}}),[]),Jr.exports.createElement($J,{present:o||c},(function(n){var r=n.present;return Jr.exports.createElement(BQ.div,PQ({"data-state":c?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":s,hidden:!r,id:l,tabIndex:0},a,{ref:t,style:Zr(Zr({},e.style),{},{animationDuration:f.current?"0s":void 0})}),r&&i)}))}));function F2(e,t){return"".concat(e,"-trigger-").concat(t)}function I2(e,t){return"".concat(e,"-content-").concat(t)}var j2=D2,z2=L2,B2=M2,U2=N2,V2=function(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null==(n=t.current)?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])},H2=function(e){var t=e.controlledValue,n=e.onChange,r=function(e){var t=e.defaultValue,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=V2(null==n?void 0:n.func);return Jr.exports.useEffect((function(){i.current!==o&&n&&(a({type:n.key,data:o}),i.current=o)}),[o,i,a]),r}({defaultValue:e.defaultValue,onChange:n}),o=$r(r,2),i=o[0],a=o[1],u=void 0!==t,s=u?t:i,l=V2(null==n?void 0:n.func),c=Jr.exports.useCallback((function(e){if(u){var r="function"==typeof e?e(t):e;r!==t&&n&&l({type:n.key,data:r})}else a(e)}),[u,s,a,l]);return[s,c]},q2=Yo.createContext({}),Y2=n2.Title,G2=n2.Icon,W2=yE(z2)(Pt||(Pt=Hr(["\n display: grid;\n grid-auto-columns: minmax(0, 1fr);\n grid-auto-flow: column;\n background-color: ",";\n"])),Kq["--ll-color-background"]),K2=yE(B2)(Ot||(Ot=Hr(["\n background: none;\n border: none;\n padding: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n\n &:hover {\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n }\n"])),Kq["--ll-spacing-xx-small"],Kq["--ll-color-surface"],Kq["--ll-border-radius-small"],Kq["--ll-shadow-small"]),X2=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=e.onChange,r=e.children,o=$r(H2({controlledValue:t.currentTab,onChange:{func:n,key:"tabs"},defaultValue:t.defaultTab||"commute"}),2),i=o[0],a=o[1];return Iq(q2.Provider,{value:Zr(Zr({},t),{},{currentTab:i}),children:Iq(j2,{value:i,orientation:"vertical",defaultValue:i,onValueChange:function(e){return a(e)},children:r})})},Tabs:function(){var e=Jr.exports.useContext(q2).currentTab,t=oQ([Q1]).translations;return Iq(W2,{"aria-label":"Score tabs",children:J1.map((function(n){var r=n.value===e?"--ll-color-primary":"--ll-color-disabled";return Iq(Yo.Fragment,{children:jq(K2,{value:n.value,children:[Iq(lY,{SVGElement:n.icon,fill:Kq[r]}),Iq(hY,{noMargin:!0,variant:"caption1",color:r,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)}))})},Content:function(e){var t=e.children,n=e.options.value;return Iq(U2,{value:n,children:Iq(t2,{options:{scoreCategory:n},children:t})},n)},Title:Y2,Icon:G2},Symbol.toStringTag,{value:"Module"})),Z2=Yo.createContext({}),Q2=yE(B2)(Rt||(Rt=Hr(["\n margin-right: ",";\n margin-bottom: ",";\n"])),Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-xx-small"]),$2=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=e.children,r=$r(Jr.exports.useState(t.include[0]),2),o=r[0],i=r[1];return Iq(Z2.Provider,{value:Zr(Zr({},t),{},{activeTab:o,setActiveTab:i}),children:Iq(j2,{value:o,children:n})})},Tabs:function(){var e=Jr.exports.useContext(Z2),t=e.include,n=e.activeTab,r=e.setActiveTab,o=oQ([L1]).translations;return t.length<=1?null:Iq(z2,{"aria-label":"tabs example",children:t.map((function(e){return Iq(Q2,{value:e,asChild:!0,children:Iq(XY,{size:"small",variant:e===n?"contained":"outlined",onClick:function(){return r(e)},children:o[e]})},e)}))})},Content:function(e){var t=e.children,n=e.options.value;return Iq(U2,{value:n,children:t},n)}},Symbol.toStringTag,{value:"Module"})),J2=Yo.createContext({}),e5=function(){return Jr.exports.useContext(J2)},t5=function(e){var t,n=e5().options.poi,r=oQ([L1]).translations;return null!=(t=e.options)&&t.isRawText?Iq(Fq,{children:r[n]}):Iq(hY,Zr(Zr({},e.options),{},{children:r[n]}))};Ur({C:X2,x:$2}),t5.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};var n5=function(e){var t=e.options,n=e5().options.poi;return Iq(lY,{SVGElement:P1[n],fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})};n5.defaultProps={options:{color:"--ll-color-on-background-variant1"}};Ur("a9",Object.freeze(Object.defineProperty({__proto__:null,Title:t5,Icon:n5,Root:function(e){return Iq(J2.Provider,{value:Zr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})));var r5,o5=function(e){var t,n,r=e.children,o=iL().sdkState;if(null==o||!o.apiKey)throw Error("A valid apiKey must be provided.");var i,a,u=(i=o.apiKey,a={locale:null==o||null===(t=o.globalOptions)||void 0===t?void 0:t.locale},new uI(i,a));return Fx(XZ,{client:u,options:{appearance:null==o||null===(n=o.globalOptions)||void 0===n?void 0:n.appearance},children:r})},i5=yE.div(Dt||(Dt=Hr(["\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n"]))),a5=function(e){var t=e.error;return Ix(i5,{children:[Fx(WE,{variant:"h4",children:"An error occurred"}),Fx(WE,{variant:"p",color:"--ll-color-on-background-variant1",children:t.message})]})},u5=new wD({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),s5=function(){return Ix(Nx,{children:[Fx(OE,{}),Fx(RR,{FallbackComponent:a5,children:Fx(RD,{children:Fx(kD,{client:u5,children:Fx(aL,{children:Fx(o5,{children:Fx(fL,{children:Fx(hR,{})})})})})})})]})};(r5={dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new kw],tracesSampleRate:1,environment:"production",enabled:!0})._metadata=r5._metadata||{},r5._metadata.sdk=r5._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Ly}],version:Ly},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=Ub),void 0===e.release){var t=om();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);var n=Zr(Zr({},e),{},{stackParser:Gm(e.stackParser||pb),integrations:Ay(e),transport:e.transport||(Zm()?rb:ob)});Oy(nb,n),e.autoSessionTracking&&Hb()}(r5),Wo.createRoot(document.getElementById("root")).render(Fx(Yo.StrictMode,{children:Fx(s5,{})}))}}}))}();
40
+ */function BO(){return BO=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},BO.apply(this,arguments)}function UO(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function VO(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}var HO=["children","location","__experimental__snapshot"],qO=["location","__experimental__snapshot"],YO=["basepath","routes"],GO=Jr.exports.createContext(null),WO=Jr.exports.createContext(null),KO=Jr.exports.createContext(null),XO=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),ZO=XO?Jr.exports.useLayoutEffect:Jr.exports.useEffect,QO=function(){return XO?function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function o(){var e=n.location,t=e.pathname,o=e.search,i=e.hash,a=r.state||{};return[a.idx,{pathname:t,search:o,hash:i,state:a.usr||null,key:a.key||"default"}]}var i=null;n.addEventListener("popstate",(function(){if(i)f.call(i),i=null;else{var e=rO.Pop,t=o(),n=t[0],r=t[1];if(f.length){if(null!=n){var a=s-n;a&&(i={action:e,location:r,retry:function(){g(-1*a)}},g(a))}}else m(e)}}));var a=rO.Pop,u=o(),s=u[0],l=u[1],c=FO(),f=FO();function d(e){return"string"==typeof e?e:jO(e)}function p(e,t){return void 0===t&&(t=null),DO({pathname:l.pathname,hash:"",search:""},"string"==typeof e?zO(e):e,{state:t,key:IO()})}function h(e,t){return[{usr:e.state,key:e.key,idx:t},d(e)]}function v(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function m(e){a=e;var t=o();s=t[0],l=t[1],c.call({action:a,location:l})}function g(e){r.go(e)}null==s&&(s=0,r.replaceState(DO({},r.state,{idx:s}),""));var y={get action(){return a},get location(){return l},createHref:d,push:function e(t,o){var i=rO.Push,a=p(t,o);if(v(i,a,(function(){e(t,o)}))){var u=h(a,s+1),l=u[0],c=u[1];try{r.pushState(l,"",c)}catch(f){n.location.assign(c)}m(i)}},replace:function e(t,n){var o=rO.Replace,i=p(t,n);if(v(o,i,(function(){e(t,n)}))){var a=h(i,s),u=a[0],l=a[1];r.replaceState(u,"",l),m(o)}},go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(e){return c.push(e)},block:function(e){var t=f.push(e);return 1===f.length&&n.addEventListener(LO,NO),function(){t(),f.length||n.removeEventListener(LO,NO)}}};return y}():function(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=void 0===n?["/"]:n,o=t.initialIndex,i=r.map((function(e){return DO({pathname:"/",search:"",hash:"",state:null,key:IO()},"string"==typeof e?zO(e):e)})),a=MO(null==o?i.length-1:o,0,i.length-1),u=rO.Pop,s=i[a],l=FO(),c=FO();function f(e,t){return void 0===t&&(t=null),DO({pathname:s.pathname,search:"",hash:""},"string"==typeof e?zO(e):e,{state:t,key:IO()})}function d(e,t,n){return!c.length||(c.call({action:e,location:t,retry:n}),!1)}function p(e,t){u=e,s=t,l.call({action:u,location:s})}function h(e){var t=MO(a+e,0,i.length-1),n=rO.Pop,r=i[t];d(n,r,(function(){h(e)}))&&(a=t,p(n,r))}var v={get index(){return a},get action(){return u},get location(){return s},createHref:function(e){return"string"==typeof e?e:jO(e)},push:function e(t,n){var r=rO.Push,o=f(t,n);d(r,o,(function(){e(t,n)}))&&(a+=1,i.splice(a,i.length,o),p(r,o))},replace:function e(t,n){var r=rO.Replace,o=f(t,n);d(r,o,(function(){e(t,n)}))&&(i[a]=o,p(r,o))},go:h,back:function(){h(-1)},forward:function(){h(1)},listen:function(e){return l.push(e)},block:function(e){return c.push(e)}};return v}()},$O=function(){function e(){ro(this,e),this.listeners=[]}return no(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),function(){t.listeners=t.listeners.filter((function(t){return t!==e}))}}},{key:"notify",value:function(){this.listeners.forEach((function(e){return e()}))}}]),e}(),JO=function(e){oo(n,e);var t=io(n);function n(e){var r,o,i;return ro(this,n),(r=t.call(this)).isTransitioning=!1,r.history=(null==e?void 0:e.history)||QO(),r.stringifySearch=null!=(o=null==e?void 0:e.stringifySearch)?o:TR,r.parseSearch=null!=(i=null==e?void 0:e.parseSearch)?i:AR,r.current=r.parseLocation(r.history.location),r.destroy=r.history.listen((function(e){r.current=r.parseLocation(e.location,r.current),r.notify()})),r}return no(n,[{key:"buildNext",value:function(e,t){var n,r,o,i;void 0===e&&(e="/"),void 0===t&&(t={});var a=BO({},this.current,t.from),u=function(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");var r=xR(t),o=xR(n);o.forEach((function(e,t){if("/"===e.value)t?t===o.length-1&&r.push(e):r=[e];else if(".."===e.value)r.pop();else{if("."===e.value)return;r.push(e)}}));var i=yR([e].concat(Wr(r.map((function(e){return e.value})))));return bR(i)}(e,a.pathname,""+(null!=(n=t.to)?n:".")),s=null!=(r=t.__searchFilters)&&r.length?t.__searchFilters.reduce((function(e,t){return t(e)}),a.search):a.search,l=!0===t.search?s:t.search?null!=(o=gR(t.search,s))?o:{}:null!=(i=t.__searchFilters)&&i.length?s:{},c=_R(a.search,l),f=this.stringifySearch(c),d=!0===t.hash?a.hash:gR(t.hash,a.hash);return{pathname:u,search:c,searchStr:f,hash:d=d?"#"+d:"",href:""+u+f+d,key:t.key}}},{key:"navigate",value:function(e,t){this.current=e,this.navigateTimeout&&clearTimeout(this.navigateTimeout);var n="replace";return t||(n="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(n="replace"),"replace"===n?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})}},{key:"parseLocation",value:function(e,t){var n,r=this.parseSearch(e.search);return{pathname:e.pathname,searchStr:e.search,search:_R(null==t?void 0:t.search,r),hash:null!=(n=e.hash.split("#").reverse()[0])?n:"",href:""+e.pathname+e.search+e.hash,key:e.key}}}]),n}($O);function eR(e){return Fx(WO.Provider,Zr({},e))}function tR(e){var t=e.children,n=e.location,r=e.__experimental__snapshot,o=UO(e,HO),i=Jr.exports.useRef(null);i.current||(i.current=new rR({location:n,__experimental__snapshot:r,routes:o.routes}));var a=i.current,u=$r(Jr.exports.useReducer((function(){return{}}),{}),2),s=(u[0],u[1]);return a.update(o),ZO((function(){return a.subscribe((function(){s()}))}),[]),ZO((function(){return a.updateLocation(n.current).unsubscribe}),[n.current.key]),Jr.exports.createElement(GO.Provider,{value:{location:n}},Jr.exports.createElement(KO.Provider,{value:{router:a}},Fx(nR,{}),Fx(eR,{value:[a.rootMatch].concat(Wr(a.state.matches)),children:null!=t?t:Fx(hR,{})})))}function nR(){var e=oR(),t=pR(),n=dR();return ZO((function(){t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})}),[]),null}var rR=function(e){oo(n,e);var t=io(n);function n(e){var r,o;ro(this,n);var i=e.location,a=e.__experimental__snapshot,u=UO(e,qO);(r=t.call(this)).routesById={},r.update=function(e){var t=e.basepath,n=e.routes,o=UO(e,YO);Object.assign(uo(r),o),r.basepath=bR("/"+(null!=t?t:"")),r.routesById={};r.routes=function e(t,n){return t.map((function(t){var i,a,u,s,l=null!=(i=t.path)?i:"*",c=yR(["root"===(null==n?void 0:n.id)?"":null==n?void 0:n.id,(null==l?void 0:l.replace(/(.)\/$/,"$1"))+(t.id?"-"+t.id:"")]);if(t=BO({},t,{pendingMs:null!=(a=t.pendingMs)?a:null==o?void 0:o.defaultPendingMs,pendingMinMs:null!=(u=t.pendingMinMs)?u:null==o?void 0:o.defaultPendingMinMs,id:c}),r.routesById[c])throw new Error;return r.routesById[c]=t,t.children=null!=(s=t.children)&&s.length?e(t.children,t):void 0,t}))}(n),r.rootMatch={id:"root",params:{},search:{},pathname:r.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},r.setState=function(e){var t=e({state:r.state,pending:r.pending});r.state=t.state,r.pending=t.pending,r.cleanMatchCache(),r.notify()},r.matchCache={},r.cleanMatchCache=function(){var e,t,n,o=[].concat(Wr(null!=(e=null==uo(r)?void 0:r.state.matches)?e:[]),Wr(null!=(t=null==uo(r)||null==(n=r.pending)?void 0:n.matches)?t:[])).map((function(e){return e.id}));Object.values(r.matchCache).forEach((function(e){var t;if(e.updatedAt&&!o.includes(e.id)){var n=Date.now()-(null!=(t=e.updatedAt)?t:0);(!e.maxAge||n>e.maxAge)&&(e.route.unloader&&e.route.unloader(e),delete r.matchCache[e.id])}}))},r.updateLocation=function(e){var t,n=new Promise((function(n){var o=new aR(uo(r),e);r.setState((function(e){return BO({},e,{pending:{location:o.location,matches:o.matches}})})),t=o.subscribe((function(){var e=r.state.matches;e.filter((function(e){return!o.matches.find((function(t){return t.id===e.id}))})).forEach((function(e){null==e.onExit||e.onExit(e)})),e.filter((function(e){return o.matches.find((function(t){return t.id===e.id}))})).forEach((function(e){null==e.route.onTransition||e.route.onTransition(e)})),o.matches.filter((function(t){return!e.find((function(e){return e.id===t.id}))})).forEach((function(e){e.onExit=null==e.route.onMatch?void 0:e.route.onMatch(e)})),r.setState((function(e){return BO({},e,{state:{location:o.location,matches:o.matches},pending:void 0})})),n()})),o.loadData(),o.startPending()}));return{promise:n,unsubscribe:t}},r.__experimental__createSnapshot=function(){return{location:r.state.location,matches:r.state.matches.map((function(e){var t=e.ownData;return{id:e.id,ownData:t}}))}},r.update(u);var s=[];if(a){var l=new aR(uo(r),i.current);l.matches.forEach((function(e,t){var n,r,o,i;if(e.id!==(null==(n=a.matches[t])?void 0:n.id))throw new Error("Router hydration mismatch: "+e.id+" !== "+(null==(i=a.matches[t])?void 0:i.id));e.ownData=null!=(r=null==(o=a.matches[t])?void 0:o.ownData)?r:{}})),uR(l.matches),s=l.matches}return r.state={location:null!=(o=null==a?void 0:a.location)?o:i.current,matches:s},i.subscribe((function(){return r.notify()})),r}return no(n)}($O);function oR(){var e=Jr.exports.useContext(GO);return mR(!!e,"useLocation must be used within a <ReactLocation />"),e.location}var iR=no((function e(t){var n=this;ro(this,e),this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=function(e){var t;null==(t=n.matchLoader)||t.preNotify(e?n:void 0)},this.assignMatchLoader=function(e){n.matchLoader=e},this.startPending=function(){n.pendingTimeout&&clearTimeout(n.pendingTimeout),void 0!==n.route.pendingMs&&(n.pendingTimeout=setTimeout((function(){var e;"loading"===n.status&&(n.status="pending"),null==(e=n.notify)||e.call(n),void 0!==n.route.pendingMinMs&&(n.pendingMinPromise=new Promise((function(e){return setTimeout(e,n.route.pendingMinMs)})))}),n.route.pendingMs))},this.load=function(e){var t,r;if(n.maxAge=null!=(t=null!=(r=e.maxAge)?r:n.route.loaderMaxAge)?t:e.router.defaultLoaderMaxAge,!n.loaderPromise){var o=n.route.import;n.loaderPromise=(o?(n.isLoading=!0,o({params:n.params,search:n.search}).then((function(e){n.route=BO({},n.route,e)}))):Promise.resolve()).then((function(){var t=[];["element","errorElement","pendingElement"].forEach((function(e){var r=n.route[e];n[e]||("function"==typeof r?(n.isLoading=!0,t.push(r(n).then((function(t){n[e]=t})))):n[e]=n.route[e])}));var r=n.route.loader,o=r?new Promise(function(){var t=Vr(Br().mark((function t(o){var i,a,u;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.isLoading=!0,i=function(e){n.updatedAt=Date.now(),o(n.ownData),n.status=e},a=function(e){n.ownData=e,n.error=void 0,i("resolved")},u=function(e){console.error(e),n.error=e,i("rejected")},t.prev=4,t.t0=a,t.next=8,r(n,{parentMatch:e.parentMatch,dispatch:function(){var e=Vr(Br().mark((function e(t){var r;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"resolve"===t.type?a(t.data):"reject"===t.type?u(t.error):"loading"===t.type?n.isLoading=!0:"maxAge"===t.type&&(n.maxAge=t.maxAge),n.updatedAt=Date.now(),null==(r=n.notify)||r.call(n,!0);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});case 8:t.t1=t.sent,(0,t.t0)(t.t1),t.next=15;break;case 12:t.prev=12,t.t2=t.catch(4),u(t.t2);case 15:case"end":return t.stop()}}),t,null,[[4,12]])})));return function(e){return t.apply(this,arguments)}}()):Promise.resolve();return Promise.all([].concat(t,[o])).then((function(){n.status="resolved",n.isLoading=!1,n.startPending=void 0})).then((function(){return n.pendingMinPromise})).then((function(){var e;n.pendingTimeout&&clearTimeout(n.pendingTimeout),null==(e=n.notify)||e.call(n,!0)}))})).then((function(){return n.ownData}))}},Object.assign(this,t)})),aR=function(e){oo(n,e);var t=io(n);function n(e,r){var o,i;ro(this,n),o=t.call(this),i=uo(o),o.preNotifiedMatches=[],o.status="pending",o.preNotify=function(e){e&&(o.preNotifiedMatches.includes(e)||o.preNotifiedMatches.push(e)),e&&o.preNotifiedMatches.length!==o.matches.length||(o.status="resolved",uR(o.matches),o.notify())},o.loadData=function(){var e=Vr(Br().mark((function e(t){var n,r;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(void 0===t?{}:t).maxAge,i.router.cleanMatchCache(),null!=(n=i.matches)&&n.length){e.next=5;break}return i.preNotify(),e.abrupt("return");case 5:return i.firstRenderPromises=[],i.matches.forEach((function(e,t){var n,o,a=null==(n=i.matches)?void 0:n[t-1];null==e.assignMatchLoader||e.assignMatchLoader(i),null==e.load||e.load({maxAge:r,parentMatch:a,router:i.router}),null==(o=i.firstRenderPromises)||o.push(e.loaderPromise)})),e.next=9,Promise.all(i.firstRenderPromises).then((function(){return i.preNotify(),i.matches}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o.load=function(){var e=Vr(Br().mark((function e(t){var n;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(void 0===t?{}:t).maxAge,e.next=3,i.loadData({maxAge:n});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o.startPending=Vr(Br().mark((function e(){return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o.matches.forEach((function(e){return null==e.startPending?void 0:e.startPending()}));case 1:case"end":return e.stop()}}),e)}))),o.router=e,o.location=r,o.matches=[];var a=lR(o.router,o.location);return o.matches=null==a?void 0:a.map((function(e){return o.router.matchCache[e.id]||(o.router.matchCache[e.id]=new iR(e)),o.router.matchCache[e.id]})),o}return no(n)}($O);function uR(e){null==e||e.forEach((function(t,n){var r,o=null==e?void 0:e[n-1];t.data=BO({},null!=(r=null==o?void 0:o.data)?r:{},t.ownData)}))}function sR(){var e=Jr.exports.useContext(KO);if(!e)throw mR(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function lR(e,t){if(!e.routes.length)return[];var n=[],r=function(){var o=Vr(Br().mark((function o(i,a){var u,s,l,c,f,d,p,h;return Br().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(s=a.pathname,l=a.params,c=null!=e&&e.filterRoutes?null==e?void 0:e.filterRoutes(i):i,f=c.find((function(n){var r,o,i=yR([s,n.path]),a=!!("/"!==n.path||null!=(r=n.children)&&r.length),u=vR(t,{to:i,search:n.search,fuzzy:a,caseSensitive:null!=(o=n.caseSensitive)?o:e.caseSensitive});return u&&(l=BO({},l,u)),!!u}))){o.next=5;break}return o.abrupt("return");case 5:d=cR(f.path,l),s=yR([s,d]),p=cR(f.id,l,!0),h={id:p,route:f,params:l,pathname:s,search:t.search},n.push(h),null!=(u=f.children)&&u.length&&r(f.children,h);case 11:case"end":return o.stop()}}),o)})));return function(e,t){return o.apply(this,arguments)}}();return r(e.routes,e.rootMatch),n}function cR(e,t,n){return yR(xR(e).map((function(e){return"*"!==e.value||n?"param"===e.type?null!=(r=t[e.value.substring(1)])?r:"":e.value:"";var r})))}function fR(){return Jr.exports.useContext(WO)}function dR(){var e,t=oR(),n=null==(e=fR())?void 0:e[0],r=pR();return wR((function(e){var o,i=e.search,a=e.hash,u=e.replace,s=e.from,l=e.to,c=e.fromCurrent;c=null!=(o=c)?o:void 0===l;var f=r({to:l,search:i,hash:a,from:c?t.current:null!=s?s:{pathname:n.pathname}});t.navigate(f,u)}))}function pR(){var e=oR(),t=sR();return wR((function(n){var r=e.buildNext(t.basepath,n),o=lR(t,r).map((function(e){var t;return null!=(t=e.route.searchFilters)?t:[]})).flat().filter(Boolean);return e.buildNext(t.basepath,BO({},n,{__searchFilters:o}))}))}function hR(){var e,t=sR(),n=zr(fR()),r=(n[0],n.slice(1)),o=r[0];if(!o)return null;var i=null!=(e=o.errorElement)?e:t.defaultErrorElement,a=function(){var e,n;if("rejected"===o.status){if(i)return i;if(!t.useErrorBoundary)return"An unknown error occured!";throw o.error}var r=null!=(e=o.pendingElement)?e:t.defaultPendingElement;if("loading"===o.status)return null;if("pending"===o.status&&(o.route.pendingMs||r))return null!=r?r:null;var a=null!=(n=o.element)?n:t.defaultElement;return null!=a?a:Fx(hR,{})}();return Fx(eR,{value:r,children:a})}function vR(e,t){var n=function(e,t){var n,r=xR(e.pathname),o=xR(""+(null!=(n=t.to)?n:"*")),i={},a=function(){for(var e=0;e<Math.max(r.length,o.length);e++){var n=r[e],a=o[e],u=e===o.length-1,s=e===r.length-1;if(a){if("wildcard"===a.type)return!(null==n||!n.value)&&(i["*"]=yR(r.slice(e).map((function(e){return e.value}))),!0);if("pathname"===a.type){if("/"===a.value&&(null==n||!n.value))return!0;if(n)if(t.caseSensitive){if(a.value!==n.value)return!1}else if(a.value.toLowerCase()!==n.value.toLowerCase())return!1}if(!n)return!1;"param"===a.type&&(i[a.value.substring(1)]=n.value)}if(u&&!s)return!!t.fuzzy}return!0}();return a?i:void 0}(e,t),r=function(e,t){return!(!t.search||!t.search(e.search))}(e,t);if((!t.to||n)&&(!t.search||r))return null!=n?n:{}}function mR(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function gR(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function yR(e){return bR(e.filter(Boolean).join("/"))}function bR(e){return(""+e).replace(/\/{2,}/g,"/")}function xR(e){if(!e)return[];var t=[];if("/"===(e=bR(e)).slice(0,1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;var n=e.split("/").filter(Boolean);return t.push.apply(t,Wr(n.map((function(e){return e.startsWith("*")?{type:"wildcard",value:e}:":"===e.charAt(0)?{type:"param",value:e}:{type:"pathname",value:e}})))),"/"===e.slice(-1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function wR(e){var t=Jr.exports.useRef(),n=Jr.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current.apply(n,arguments)}),t.current}function _R(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||ER(e)&&ER(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,s=0;s<i;s++){var l=n?s:o[s];a[l]=_R(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function ER(e){if(!SR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!SR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function SR(e){return"[object Object]"===Object.prototype.toString.call(e)}var kR,CR,AR=(kR=JSON.parse,function(e){"?"===e.substring(0,1)&&(e=e.substring(1));var t=function(e){for(var t,n,r={},o=e.split("&");t=o.shift();)void 0!==r[n=(t=t.split("=")).shift()]?r[n]=[].concat(r[n],VO(t.shift())):r[n]=VO(t.shift());return r}(e);for(var n in t){var r=t[n];if("string"==typeof r)try{t[n]=kR(r)}catch(o){}}return t}),TR=(CR=JSON.stringify,function(e){(e=BO({},e))&&Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n||void 0===n)delete e[t];else if(n&&"object"===ho(n)&&null!==n)try{e[t]=CR(n)}catch(r){}}));var t=function(e,t){var n,r,o,i="";for(n in e)if(void 0!==(o=e[n]))if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(t||"")+i}(e).toString();return t?"?"+t:""});function PR(e,t){return PR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PR(e,t)}var OR={error:null},RR=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state=OR,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,PR(t,n),r.getDerivedStateFromError=function(e){return{error:e}};var o=r.prototype;return o.reset=function(){this.setState(OR)},o.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},o.componentDidUpdate=function(e,t){var n,r,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,i)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,i),this.reset())},o.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,r=t.FallbackComponent,o=t.fallback;if(null!==e){var i={error:e,resetErrorBoundary:this.resetErrorBoundary};if(Jr.exports.isValidElement(o))return o;if("function"==typeof n)return n(i);if(r)return Fx(r,Zr({},i));throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(Jr.exports.Component),DR=function(){function e(){ro(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return no(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(t){return t!==e})),t.onUnsubscribe()}}},{key:"hasListeners",value:function(){return this.listeners.length>0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}();Ur("D",DR);var LR=Ur("H","undefined"==typeof window);function MR(){}function NR(e){return"number"==typeof e&&e>=0&&e!==1/0}function FR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function IR(e,t,n){return XR(e)?"function"==typeof t?Zr(Zr({},n),{},{queryKey:e,queryFn:t}):Zr(Zr({},t),{},{queryKey:e}):e}function jR(e,t,n){return XR(e)?[Zr(Zr({},t),{},{queryKey:e}),n]:[e||{},t]}function zR(e,t){var n=e.type,r=void 0===n?"all":n,o=e.exact,i=e.fetchStatus,a=e.predicate,u=e.queryKey,s=e.stale;if(XR(u))if(o){if(t.queryHash!==UR(u,t.options))return!1}else if(!HR(t.queryKey,u))return!1;if("all"!==r){var l=t.isActive();if("active"===r&&!l)return!1;if("inactive"===r&&l)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((void 0===i||i===t.state.fetchStatus)&&!(a&&!a(t)))}function BR(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(XR(i)){if(!t.options.mutationKey)return!1;if(n){if(VR(t.options.mutationKey)!==VR(i))return!1}else if(!HR(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function UR(e,t){return((null==t?void 0:t.queryKeyHashFn)||VR)(e)}function VR(e){return JSON.stringify(e,(function(e,t){return WR(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function HR(e,t){return qR(e,t)}function qR(e,t){return e===t||ho(e)===ho(t)&&(!(!e||!t||"object"!==ho(e)||"object"!==ho(t))&&!Object.keys(t).some((function(n){return!qR(e[n],t[n])})))}function YR(e,t){if(e===t)return e;var n=GR(e)&&GR(t);if(n||WR(e)&&WR(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,s=0;s<i;s++){var l=n?s:o[s];a[l]=YR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function GR(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function WR(e){if(!KR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!KR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function KR(e){return"[object Object]"===Object.prototype.toString.call(e)}function XR(e){return Array.isArray(e)}function ZR(e){return new Promise((function(t){setTimeout(t,e)}))}function QR(e){ZR(0).then(e)}function $R(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?YR(e,t):t}var JR=Ur("P",new(function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this)).setup=function(e){if(!LR&&window.addEventListener){var t=function(){return e()};return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),function(){window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}},e}return no(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))}},{key:"setFocused",value:function(e){this.focused=e,e&&this.onFocus()}},{key:"onFocus",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isFocused",value:function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}]),n}(DR))),eD=new(function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this)).setup=function(e){if(!LR&&window.addEventListener){var t=function(){return e()};return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),function(){window.removeEventListener("online",t),window.removeEventListener("offline",t)}}},e}return no(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))}},{key:"setOnline",value:function(e){this.online=e,e&&this.onOnline()}},{key:"onOnline",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isOnline",value:function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}]),n}(DR));function tD(e){return Math.min(1e3*Math.pow(2,e),3e4)}function nD(e){return"online"!==(null!=e?e:"online")||eD.isOnline()}var rD=no((function e(t){ro(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function oD(e){return e instanceof rD}function iD(e){var t,n,r,o=!1,i=0,a=!1,u=new Promise((function(e,t){n=e,r=t})),s=function(){return!JR.isFocused()||"always"!==e.networkMode&&!eD.isOnline()},l=function(r){a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},c=function(n){a||(a=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},f=function(){return new Promise((function(n){t=function(e){if(a||!s())return n(e)},null==e.onPause||e.onPause()})).then((function(){t=void 0,a||null==e.onContinue||e.onContinue()}))},d=function t(){if(!a){var n;try{n=e.fn()}catch(r){n=Promise.reject(r)}Promise.resolve(n).then(l).catch((function(n){var r,u;if(!a){var l=null!=(r=e.retry)?r:3,d=null!=(u=e.retryDelay)?u:tD,p="function"==typeof d?d(i,n):d,h=!0===l||"number"==typeof l&&i<l||"function"==typeof l&&l(i,n);!o&&h?(i++,null==e.onFail||e.onFail(i,n),ZR(p).then((function(){if(s())return f()})).then((function(){o?c(n):t()}))):c(n)}}))}};return nD(e.networkMode)?d():f().then(d),{promise:u,cancel:function(t){a||(c(new rD(t)),null==e.abort||e.abort())},continue:function(){null==t||t()},cancelRetry:function(){o=!0},continueRetry:function(){o=!1}}}var aD=console;var uD,sD,lD,cD,fD,dD,pD=Ur("X",(uD=[],sD=0,lD=function(e){e()},cD=function(e){e()},dD=function(){var e=uD;uD=[],e.length&&QR((function(){cD((function(){e.forEach((function(e){lD(e)}))}))}))},{batch:function(e){var t;sD++;try{t=e()}finally{--sD||dD()}return t},batchCalls:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];fD((function(){e.apply(void 0,n)}))}},schedule:fD=function(e){sD?uD.push(e):QR((function(){lD(e)}))},setNotifyFunction:function(e){lD=e},setBatchNotifyFunction:function(e){cD=e}})),hD=function(){function e(){ro(this,e)}return no(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),NR(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))}},{key:"updateCacheTime",value:function(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:LR?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),vD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).abortSignalConsumed=!1,r.defaultOptions=e.defaultOptions,r.setOptions(e.options),r.observers=[],r.cache=e.cache,r.logger=e.logger||aD,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(r.options),r.state=r.initialState,r.meta=e.meta,r}return no(n,[{key:"setOptions",value:function(e){this.options=Zr(Zr({},this.defaultOptions),e),this.meta=null==e?void 0:e.meta,this.updateCacheTime(this.options.cacheTime)}},{key:"optionalRemove",value:function(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}},{key:"setData",value:function(e,t){var n=$R(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}},{key:"setState",value:function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}},{key:"cancel",value:function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(MR).catch(MR):Promise.resolve()}},{key:"destroy",value:function(){Yr(po(n.prototype),"destroy",this).call(this),this.cancel({silent:!0})}},{key:"reset",value:function(){this.destroy(),this.setState(this.initialState)}},{key:"isActive",value:function(){return this.observers.some((function(e){return!1!==e.options.enabled}))}},{key:"isDisabled",value:function(){return this.getObserversCount()>0&&!this.isActive()}},{key:"isStale",value:function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))}},{key:"isStaleByTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!FR(this.state.dataUpdatedAt,e)}},{key:"onFocus",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"onOnline",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),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:e}))}},{key:"getObserversCount",value:function(){return this.observers.length}},{key:"invalidate",value:function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}},{key:"fetch",value:function(e,t){var n,r,o=this;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find((function(e){return e.options.queryFn}));a&&this.setOptions(a.options)}Array.isArray(this.options.queryKey);var u=function(){if("function"==typeof AbortController)return new AbortController}(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=function(e){Object.defineProperty(e,"signal",{enumerable:!0,get:function(){if(u)return o.abortSignalConsumed=!0,u.signal}})};l(s);var c,f={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(s)):Promise.reject("Missing queryFn")},meta:this.meta};(l(f),null==(n=this.options.behavior)||n.onFetch(f),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=f.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=f.fetchOptions)?void 0:c.meta});var d=function(e){var t,n;(oD(e)&&e.silent||o.dispatch({type:"error",error:e}),oD(e))||(null==(t=(n=o.cache.config).onError)||t.call(n,e,o));o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1};return this.retryer=iD({fn:f.fetchFn,abort:null==u?void 0:u.abort.bind(u),onSuccess:function(e){var t,n;void 0!==e?(o.setData(e),null==(t=(n=o.cache.config).onSuccess)||t.call(n,e,o),o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1):d(new Error("Query data cannot be undefined"))},onError:d,onFail:function(){o.dispatch({type:"failed"})},onPause:function(){o.dispatch({type:"pause"})},onContinue:function(){o.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode}),this.promise=this.retryer.promise,this.promise}},{key:"dispatch",value:function(e){var t=this;this.state=function(n){var r,o;switch(e.type){case"failed":return Zr(Zr({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Zr(Zr({},n),{},{fetchStatus:"paused"});case"continue":return Zr(Zr({},n),{},{fetchStatus:"fetching"});case"fetch":return Zr(Zr({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:nD(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Zr(Zr({},n),{},{data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0});case"error":var i=e.error;return oD(i)&&i.revert&&t.revertState?Zr({},t.revertState):Zr(Zr({},n),{},{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return Zr(Zr({},n),{},{isInvalidated:!0});case"setState":return Zr(Zr({},n),e.state)}}(this.state),pD.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(hD);var mD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return no(n,[{key:"build",value:function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:UR(o,t),a=this.get(i);return a||(a=new vD({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a}},{key:"add",value:function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}},{key:"remove",value:function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}},{key:"clear",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))}},{key:"get",value:function(e){return this.queriesMap[e]}},{key:"getAll",value:function(){return this.queries}},{key:"find",value:function(e,t){var n=$r(jR(e,t),1)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return zR(n,e)}))}},{key:"findAll",value:function(e,t){var n=$r(jR(e,t),1)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return zR(n,e)})):this.queries}},{key:"notify",value:function(e){var t=this;pD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(DR),gD=function(e){oo(r,e);var t,n=io(r);function r(e){var t;return ro(this,r),(t=n.call(this)).options=Zr(Zr({},e.defaultOptions),e.options),t.mutationId=e.mutationId,t.mutationCache=e.mutationCache,t.logger=e.logger||aD,t.observers=[],t.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t.meta=e.meta,t.updateCacheTime(t.options.cacheTime),t.scheduleGc(),t}return no(r,[{key:"setState",value:function(e){this.dispatch({type:"setState",state:e})}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers=this.observers.filter((function(t){return t!==e})),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}},{key:"optionalRemove",value:function(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}},{key:"continue",value:function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}},{key:"execute",value:(t=Vr(Br().mark((function e(){var t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return w.retryer=iD({fn:function(){return w.options.mutationFn?w.options.mutationFn(w.state.variables):Promise.reject("No mutationFn found")},onFail:function(){w.dispatch({type:"failed"})},onPause:function(){w.dispatch({type:"pause"})},onContinue:function(){w.dispatch({type:"continue"})},retry:null!=(e=w.options.retry)?e:0,retryDelay:w.options.retryDelay,networkMode:w.options.networkMode}),w.retryer.promise},n="loading"===this.state.status,e.prev=2,n){e.next=10;break}return this.dispatch({type:"loading",variables:this.options.variables}),null==(l=(c=this.mutationCache.config).onMutate)||l.call(c,this.state.variables,this),e.next=8,null==(f=(d=this.options).onMutate)?void 0:f.call(d,this.state.variables);case 8:(p=e.sent)!==this.state.context&&this.dispatch({type:"loading",context:p,variables:this.state.variables});case 10:return e.next=12,t();case 12:return h=e.sent,null==(r=(o=this.mutationCache.config).onSuccess)||r.call(o,h,this.state.variables,this.state.context,this),e.next=16,null==(i=(a=this.options).onSuccess)?void 0:i.call(a,h,this.state.variables,this.state.context);case 16:return e.next=18,null==(u=(s=this.options).onSettled)?void 0:u.call(s,h,null,this.state.variables,this.state.context);case 18:return this.dispatch({type:"success",data:h}),e.abrupt("return",h);case 22:return e.prev=22,e.t0=e.catch(2),e.prev=24,null==(v=(m=this.mutationCache.config).onError)||v.call(m,e.t0,this.state.variables,this.state.context,this),e.next=29,null==(g=(y=this.options).onError)?void 0:g.call(y,e.t0,this.state.variables,this.state.context);case 29:return e.next=31,null==(b=(x=this.options).onSettled)?void 0:b.call(x,void 0,e.t0,this.state.variables,this.state.context);case 31:throw e.t0;case 32:return e.prev=32,this.dispatch({type:"error",error:e.t0}),e.finish(32);case 35:case"end":return e.stop()}}),e,this,[[2,22],[24,,32,35]])}))),function(){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){var t=this;this.state=function(n){switch(e.type){case"failed":return Zr(Zr({},n),{},{failureCount:n.failureCount+1});case"pause":return Zr(Zr({},n),{},{isPaused:!0});case"continue":return Zr(Zr({},n),{},{isPaused:!1});case"loading":return Zr(Zr({},n),{},{context:e.context,data:void 0,error:null,isPaused:!nD(t.options.networkMode),status:"loading",variables:e.variables});case"success":return Zr(Zr({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Zr(Zr({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return Zr(Zr({},n),e.state)}}(this.state),pD.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),r}(hD);var yD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return no(n,[{key:"build",value:function(e,t,n){var r=new gD({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r}},{key:"add",value:function(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}},{key:"remove",value:function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),this.notify({type:"removed",mutation:e})}},{key:"clear",value:function(){var e=this;pD.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))}},{key:"getAll",value:function(){return this.mutations}},{key:"find",value:function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return BR(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return BR(e,t)}))}},{key:"notify",value:function(e){var t=this;pD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"resumePausedMutations",value:function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return pD.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(MR)}))}),Promise.resolve())}))}}]),n}(DR);function bD(){return{onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,u,s,l,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,f=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,d=null==f?void 0:f.pageParam,p="forward"===(null==f?void 0:f.direction),h="backward"===(null==f?void 0:f.direction),v=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=m,y=!1,b=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},x=function(e,t,n,r){return g=r?[t].concat(Wr(g)):[].concat(Wr(g),[t]),r?[n].concat(Wr(e)):[].concat(Wr(e),[n])},w=function(t,n,r,o){if(y)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,pageParam:r,meta:e.meta};!function(t){Object.defineProperty(t,"signal",{enumerable:!0,get:function(){var t,n;return null!=(t=e.signal)&&t.aborted?y=!0:null==(n=e.signal)||n.addEventListener("abort",(function(){y=!0})),e.signal}})}(i);var a=b(i);return Promise.resolve(a).then((function(e){return x(t,r,e,o)}))};if(v.length)if(p){var _=void 0!==d,E=_?d:xD(e.options,v);u=w(v,_,E)}else if(h){var S=void 0!==d,k=S?d:(s=e.options,l=v,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(l[0],l));u=w(v,S,k,!0)}else!function(){g=[];var t=void 0===e.options.getNextPageParam,n=!c||!v[0]||c(v[0],0,v);u=n?w([],t,m[0]):Promise.resolve(x([],m[0],v[0]));for(var r=function(n){u=u.then((function(r){if(!c||!v[n]||c(v[n],n,v)){var o=t?m[n]:xD(e.options,r);return w(r,t,o)}return Promise.resolve(x(r,m[n],v[n]))}))},o=1;o<v.length;o++)r(o)}();else u=w([]);var C=u.then((function(e){return{pages:e,pageParams:g}}));return C}}}}function xD(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var wD=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,e),this.queryCache=t.queryCache||new mD,this.mutationCache=t.mutationCache||new yD,this.logger=t.logger||aD,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return no(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=JR.subscribe((function(){JR.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=eD.subscribe((function(){eD.isOnline()&&(e.resumePausedMutations(),e.queryCache.onOnline())}))}},{key:"unmount",value:function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}},{key:"isFetching",value:function(e,t){var n=$r(jR(e,t),1)[0];return n.fetchStatus="fetching",this.queryCache.findAll(n).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll(Zr(Zr({},e),{},{fetching:!0})).length}},{key:"getQueryData",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}},{key:"getQueriesData",value:function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))}},{key:"setQueryData",value:function(e,t,n){var r=this.queryCache.find(e),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0!==o){var i=IR(e),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,Zr(Zr({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return pD.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))}},{key:"getQueryState",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}},{key:"removeQueries",value:function(e,t){var n=$r(jR(e,t),1)[0],r=this.queryCache;pD.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=this.queryCache,s=Zr({type:"active"},i);return pD.batch((function(){return u.findAll(i).forEach((function(e){e.reset()})),r.refetchQueries(s,a)}))}},{key:"cancelQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=void 0===a?{}:a;void 0===u.revert&&(u.revert=!0);var s=pD.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(u)}))}));return Promise.all(s).then(MR).catch(MR)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1];return pD.batch((function(){var e,t;if(r.queryCache.findAll(i).forEach((function(e){e.invalidate()})),"none"===i.refetchType)return Promise.resolve();var n=Zr(Zr({},i),{},{type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"});return r.refetchQueries(n,a)}))}},{key:"refetchQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=pD.batch((function(){return r.queryCache.findAll(i).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,Zr(Zr({},a),{},{cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}}))}))})),s=Promise.all(u).then(MR);return null!=a&&a.throwOnError||(s=s.catch(MR)),s}},{key:"fetchQuery",value:function(e,t,n){var r=IR(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}},{key:"prefetchQuery",value:function(e,t,n){return this.fetchQuery(e,t,n).then(MR).catch(MR)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=IR(e,t,n);return r.behavior=bD(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(MR).catch(MR)}},{key:"resumePausedMutations",value:function(){return this.mutationCache.resumePausedMutations()}},{key:"getQueryCache",value:function(){return this.queryCache}},{key:"getMutationCache",value:function(){return this.mutationCache}},{key:"getLogger",value:function(){return this.logger}},{key:"getDefaultOptions",value:function(){return this.defaultOptions}},{key:"setDefaultOptions",value:function(e){this.defaultOptions=e}},{key:"setQueryDefaults",value:function(e,t){var n=this.queryDefaults.find((function(t){return VR(e)===VR(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}},{key:"getQueryDefaults",value:function(e){if(e){var t=this.queryDefaults.find((function(t){return HR(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return VR(e)===VR(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}},{key:"getMutationDefaults",value:function(e){if(e){var t=this.mutationDefaults.find((function(t){return HR(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=Zr(Zr(Zr(Zr({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=UR(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}},{key:"defaultMutationOptions",value:function(e){return null!=e&&e._defaulted?e:Zr(Zr(Zr(Zr({},this.defaultOptions.mutations),this.getMutationDefaults(null==e?void 0:e.mutationKey)),e),{},{_defaulted:!0})}},{key:"clear",value:function(){this.queryCache.clear(),this.mutationCache.clear()}}]),e}(),_D=Jr.exports.createContext(void 0),ED=Jr.exports.createContext(!1);function SD(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=_D),window.ReactQueryClientContext):_D)}Ur("Y",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=Jr.exports.useContext(SD(t,Jr.exports.useContext(ED)));if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n}));var kD=function(e){var t=e.client,n=e.children,r=e.context,o=e.contextSharing,i=void 0!==o&&o;Jr.exports.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=SD(r,i);return Fx(ED.Provider,{value:!r&&i,children:Fx(a.Provider,{value:t,children:n})})},CD=Ur("g",(function(e,t,n){return e()})),AD=function(e){return e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e}(AD||{}),TD=new JO,PD=Yo.lazy((function(){return CD((function(){return Gr.import("./index-legacy.8c8f66b9.js").then((function(e){return e.q}))}),void 0)})),OD=Yo.lazy((function(){return CD((function(){return Gr.import("./index-legacy.f168d7a1.js")}),void 0)})),RD=function(e){var t=e.children,n=[{path:"/sdks-app/".concat("v1","/",AD.LOCAL_CONTENT),element:Fx(PD,{})},{path:"/sdks-app/".concat("v1","/",AD.DATA_EXPLORER),element:Fx(OD,{})}];return Fx(tR,{location:TD,routes:n,children:t})},DD=Object.defineProperty,LD=function(e,t,n){return function(e,t,n){t in e?DD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=ho(t)?t+"":t,n),n};function MD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ND={exports:{}};!function(e){var t=function(){var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,o=function(t,n,r){return n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r},i=function(e,i){for(var a in i||(i={}))n.call(i,a)&&o(e,a,i[a]);if(t){var u,s=vo(t(i));try{for(s.s();!(u=s.n()).done;){a=u.value;r.call(i,a)&&o(e,a,i[a])}}catch(l){s.e(l)}finally{s.f()}}return e},a={};!function(t,n){for(var r in function(t){e(t,"__esModule",{value:!0})}(t),n)e(t,r,{get:n[r],enumerable:!0})}(a,{DEFAULT_UUID_LENGTH:function(){return s},default:function(){return f}});var u="4.4.4",s=6,l={dictionary:"alphanum",shuffle:!0,debug:!1,length:s},c=function(e){oo(n,e);var t=io(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,n),(e=t.call(this)).dictIndex=0,e.dictRange=[],e.lowerBound=0,e.upperBound=0,e.dictLength=0,e._digit_first_ascii=48,e._digit_last_ascii=58,e._alpha_lower_first_ascii=97,e._alpha_lower_last_ascii=123,e._hex_last_ascii=103,e._alpha_upper_first_ascii=65,e._alpha_upper_last_ascii=91,e._number_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii]},e._alpha_dict_ranges={lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alpha_lower_dict_ranges={lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii]},e._alpha_upper_dict_ranges={upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alphanum_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alphanum_lower_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii]},e._alphanum_upper_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._hex_dict_ranges={decDigits:[e._digit_first_ascii,e._digit_last_ascii],alphaDigits:[e._alpha_lower_first_ascii,e._hex_last_ascii]},e.log=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=[].concat(r);if(i[0]="[short-unique-id] ".concat(r[0]),!0===e.debug&&("undefined"==typeof console?"undefined":ho(console))<"u"&&null!==console)return(t=console).log.apply(t,Wr(i))},e.setDictionary=function(t,n){var r;if(t&&Array.isArray(t)&&t.length>1)r=t;else{var o;r=[],e.dictIndex=o=0;var i="_".concat(t,"_dict_ranges"),a=e[i];Object.keys(a).forEach((function(t){var n=t;for(e.dictRange=a[n],e.lowerBound=e.dictRange[0],e.upperBound=e.dictRange[1],e.dictIndex=o=e.lowerBound;e.lowerBound<=e.upperBound?o<e.upperBound:o>e.upperBound;e.dictIndex=e.lowerBound<=e.upperBound?o+=1:o-=1)r.push(String.fromCharCode(e.dictIndex))}))}n&&(r=r.sort((function(){return Math.random()-.5}))),e.dict=r,e.dictLength=e.dict.length,e.counter=0},e.seq=function(){return e.sequentialUUID()},e.sequentialUUID=function(){var t,n,r="";t=e.counter;do{n=t%e.dictLength,t=Math.trunc(t/e.dictLength),r+=e.dict[n]}while(0!==t);return e.counter+=1,r},e.randomUUID=function(){var t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.uuidLength||s;if(null===o||ho(o)>"u"||o<1)throw new Error("Invalid UUID Length Provided");for(t="",r=0;r<o;r+=1)n=parseInt((Math.random()*e.dictLength).toFixed(0),10)%e.dictLength,t+=e.dict[n];return t},e.availableUUIDs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.uuidLength;return parseFloat(Math.pow(Wr(new Set(e.dict)).length,t).toFixed(0))},e.approxMaxBeforeCollision=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength);return parseFloat(Math.sqrt(Math.PI/2*t).toFixed(20))},e.collisionProbability=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.uuidLength;return parseFloat((e.approxMaxBeforeCollision(t)/e.availableUUIDs(n)).toFixed(20))},e.uniqueness=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength),n=parseFloat((1-e.approxMaxBeforeCollision(t)/t).toFixed(20));return n>1?1:n<0?0:n},e.getVersion=function(){return e.version},e.stamp=function(t){if("number"!=typeof t||t<10)throw new Error("Param finalLength must be number greater than 10");var n=Math.floor(+new Date/1e3).toString(16),r=t-9,o=Math.round(Math.random()*(r>15?15:r)),i=e.randomUUID(r);return"".concat(i.substr(0,o)).concat(n).concat(i.substr(o)).concat(o.toString(16))},e.parseStamp=function(e){if(e.length<10)throw new Error("Stamp length invalid");var t=parseInt(e.substr(e.length-1,1),16);return new Date(1e3*parseInt(e.substr(t,8),16))};var o=i(i({},l),r);e.counter=0,e.debug=!1,e.dict=[],e.version=u;var a=o.dictionary,c=o.shuffle,f=o.length;return ao(e,(e.uuidLength=f,e.setDictionary(a,c),e.debug=o.debug,e.log(e.dict),e.log("Generator instantiated with Dictionary Size ".concat(e.dictLength)),new Proxy(uo(e),{apply:function(t,n,r){var o;return(o=e).randomUUID.apply(o,Wr(r))}})))}return no(n)}(so(Function)),f=c;return f.default=c,a}();e.exports=t.default,("undefined"==typeof window?"undefined":ho(window))<"u"&&(t=t.default)}(ND);var FD=new(MD(ND.exports))({length:10}),ID=function(){function e(t,n){var r=this;ro(this,e),LD(this,"connection"),LD(this,"channelId"),LD(this,"boundMessageHandler"),LD(this,"onMessageHandlers",[]),LD(this,"resolveConnection"),LD(this,"channelNodeId"),LD(this,"crossOrigin"),LD(this,"message",(function(e,t,n){return r.crossOrigin?r.postMessage(e,t,n):r.customEventMessage(e,t,n)})),this.channelId=null!=t?t:"DEFAULT",this.channelNodeId="channel-node-".concat(FD()),this.crossOrigin=n,this.connection=new Promise((function(e){r.resolveConnection=e})),this.boundMessageHandler=this.handleMessage.bind(this)}var t,n;return no(e,[{key:"disconnect",value:function(){var e=this;this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise((function(t){e.resolveConnection=t}))}},{key:"onMessage",value:function(e){this.onMessageHandlers.push(e)}},{key:"removeMessageHandler",value:function(e){var t=this.onMessageHandlers.findIndex((function(t){return t===e}));this.onMessageHandlers.splice(t,1)}},{key:"customEventMessage",value:function(e,t,n){var r=new CustomEvent(this.channelId,{detail:{eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t}});window.dispatchEvent(r)}},{key:"postMessage",value:function(e,t,n){var r,o,i;null==(i=null==(r=this.crossOrigin)?void 0:r.window)||i.postMessage({eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t},null==(o=this.crossOrigin)?void 0:o.targetOrigin)}},{key:"eventRequest",value:(n=Vr(Br().mark((function e(t,n){var r,o=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=FD(),e.abrupt("return",new Promise((function(e){o.onMessage((function t(n){var i=n.eventId;r===i&&(o.removeMessageHandler(t),e(n))})),o.message(t,n,r)})));case 2:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"waitForEvent",value:(t=Vr(Br().mark((function e(t){var n=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){n.onMessage((function r(o){var i=o.name;t===i&&(n.removeMessageHandler(r),e(o))}))})));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"handleMessage",value:function(t){var n,r;if(e.isCustomEvent(t))r=t.detail;else{if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&"*"!==(null==(n=this.crossOrigin)?void 0:n.targetOrigin))return;r=t.data}var o=r,i=o.channelId,a=o.channelNodeId;this.channelId===i&&this.channelNodeId!==a&&this.onMessageHandlers.forEach((function(e){e(r)}))}}],[{key:"isCustomEvent",value:function(e){return void 0!==e.detail}}]),e}(),jD=function(e){oo(n,e);var t=io(n);function n(){return ro(this,n),t.apply(this,arguments)}return no(n,[{key:"connect",value:function(){var e=this;return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest("CONNECT").then((function(t){e.resolveConnection(t)})),this.connection}}]),n}(ID),zD=1/0,BD=17976931348623157e292,UD=NaN,VD="[object Symbol]",HD=/^\s+|\s+$/g,qD=/^[-+]0x[0-9a-f]+$/i,YD=/^0b[01]+$/i,GD=/^0o[0-7]+$/i,WD=parseInt,KD=Object.prototype.toString;function XD(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==ho(e)||function(e){return!!e&&"object"==ho(e)}(e)&&KD.call(e)==VD}(e))return UD;if(ZD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ZD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(HD,"");var n=YD.test(e);return n||GD.test(e)?WD(e.slice(2),n?2:8):qD.test(e)?UD:+e}(e))===zD||e===-1/0){return(e<0?-1:1)*BD}return e==e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function ZD(e){var t=ho(e);return!!e&&("object"==t||"function"==t)}var QD=function(e){return XD(2,e)},$D=function(e){return"object"===ho(e)&&null!==e&&!Array.isArray(e)};function JD(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();return $D(e)&&$D(o)&&Object.keys(o).forEach((function(t){$D(o[t])?(e[t]||Object.assign(e,Qr({},t,{})),JD(e[t],o[t])):Object.assign(e,Qr({},t,o[t]))})),JD.apply(void 0,[e].concat(n))}var eL=Ur("h",(function(e,t){var n=$r(Jr.exports.useState(e),2),r=n[0],o=n[1];return Jr.exports.useEffect((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r})),tL=function(e){return e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e}(tL||{}),nL={locale:"en"},rL={"local-content":{globalOptions:nL,options:{zoom:16,pitch:0,bearing:0,cooperativeGestures:!0}},"data-explorer":{globalOptions:nL,options:{}}},oL=QD((function(){return Yo.createContext({})})),iL=Ur("u",(function(){var e=Yo.useContext(oL());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e})),aL=Yo.memo((function(e){var t,n,r,o,i,a,u=e.children,s=oL(),l=oR().current.search,c=Yo.useRef(l),f=oR().current.pathname.split("/"),d=f[f.length-1],p=rL[d],h=Yo.useRef(),v=$r(Jr.exports.useState(!1),2),m=v[0],g=v[1],y=$r(Jr.exports.useState(p),2),b=y[0],x=y[1],w=eL(b,500),_=dR(),E=function(e){c.current=e,x(e)},S=function(e){var t;e.name===tL.GET_STATE&&(null===(t=h.current)||void 0===t||t.message(tL.GET_STATE_RESPONSE,c.current,e.eventId));e.name===tL.SET_STATE&&E(e.data)};t=function(){var e=new jD(l.channelId,{targetOrigin:document.referrer,window:window.parent});h.current=e,null==e||e.onMessage(S),null==e||e.connect().then((function(e){var t=JD(b,e.data);E(t),g(!0)}))},n=Jr.exports.useRef(t),r=Jr.exports.useRef(),o=Jr.exports.useRef(!1),i=Jr.exports.useRef(!1),a=$r(Jr.exports.useState(0),2)[1],o.current&&(i.current=!0),Jr.exports.useEffect((function(){return o.current||(r.current=n.current(),o.current=!0),a((function(e){return e+1})),function(){i.current&&r.current&&r.current()}}),[]);var k=function(e){var t;null===(t=h.current)||void 0===t||t.message(tL.ON_CHANGE,e)};Jr.exports.useEffect((function(){_({search:function(){return w}})}),[w]),Jr.exports.useEffect((function(){b.options&&k({type:"options",data:b.options})}),[b.options]);var C=Jr.exports.useMemo((function(){return{sdkState:b,setSdkState:E,onChange:k}}),[b,E,k]);return m?Fx(s.Provider,{value:C,children:u}):null}));aL.displayName="StateManagerProvider";var uL={en:function(){return CD((function(){return Gr.import("./index-legacy.93d69255.js")}),void 0)},fr:function(){return CD((function(){return Gr.import("./index-legacy.46f64d17.js")}),void 0)}},sL={en:function(){return CD((function(){return Gr.import("./index-legacy.57bc6187.js")}),void 0)},fr:function(){return CD((function(){return Gr.import("./index-legacy.c4bf8ae2.js")}),void 0)}},lL={"local-content":function(e){return sL[e]()},"data-explorer":function(e){return uL[e]()}},cL=QD((function(){return Yo.createContext({})})),fL=(Ur("q",(function(){var e=Jr.exports.useContext(cL());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e})),function(e){var t,n=e.children,r=$r(Jr.exports.useState(!0),2),o=r[0],i=r[1],a=$r(Jr.exports.useState(),2),u=a[0],s=a[1],l=(null===(t=iL().sdkState.globalOptions)||void 0===t?void 0:t.locale)||"en",c=cL(),f=oR().current.pathname.split("/"),d=f[f.length-1],p=lL[d];if(Jr.exports.useEffect((function(){i(!0),p(l).then((function(e){s(e.translations)})).finally((function(){i(!1)}))}),[l,p]),o)return null;if(!u)throw new Error("No translations were found.");return Fx(c.Provider,{value:{translations:u},children:n})}),dL={exports:{}},pL={exports:{}},hL=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},vL=hL,mL=Object.prototype.toString;function gL(e){return Array.isArray(e)}function yL(e){return void 0===e}function bL(e){return"[object ArrayBuffer]"===mL.call(e)}function xL(e){return null!==e&&"object"===ho(e)}function wL(e){if("[object Object]"!==mL.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function _L(e){return"[object Function]"===mL.call(e)}function EL(e,t){if(null!=e)if("object"!==ho(e)&&(e=[e]),gL(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var SL={isArray:gL,isArrayBuffer:bL,isBuffer:function(e){return null!==e&&!yL(e)&&null!==e.constructor&&!yL(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===mL.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&bL(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:xL,isPlainObject:wL,isUndefined:yL,isDate:function(e){return"[object Date]"===mL.call(e)},isFile:function(e){return"[object File]"===mL.call(e)},isBlob:function(e){return"[object Blob]"===mL.call(e)},isFunction:_L,isStream:function(e){return xL(e)&&_L(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===mL.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:EL,merge:function e(){var t={};function n(n,r){wL(t[r])&&wL(n)?t[r]=e(t[r],n):wL(n)?t[r]=e({},n):gL(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)EL(arguments[r],n);return t},extend:function(e,t,n){return EL(t,(function(t,r){e[r]=n&&"function"==typeof t?vL(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},kL=SL;function CL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var AL=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(kL.isURLSearchParams(t))r=t.toString();else{var o=[];kL.forEach(t,(function(e,t){null!=e&&(kL.isArray(e)?t+="[]":e=[e],kL.forEach(e,(function(e){kL.isDate(e)?e=e.toISOString():kL.isObject(e)&&(e=JSON.stringify(e)),o.push(CL(t)+"="+CL(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},TL=SL;function PL(){this.handlers=[]}PL.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},PL.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},PL.prototype.forEach=function(e){TL.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var OL,RL,DL,LL,ML,NL,FL,IL,jL,zL,BL,UL,VL,HL,qL,YL,GL,WL,KL,XL,ZL=PL,QL=SL,$L=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},JL={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function eM(){if(RL)return OL;RL=1;var e=$L;return OL=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)}}function tM(){if(LL)return DL;LL=1;var e=eM();return DL=function(t,n,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?n(e("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}}function nM(){if(NL)return ML;NL=1;var e=SL;return ML=e.isStandardBrowserEnv()?{write:function(t,n,r,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}}function rM(){return IL?FL:(IL=1,FL=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)})}function oM(){return zL?jL:(zL=1,jL=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e})}function iM(){if(UL)return BL;UL=1;var e=rM(),t=oM();return BL=function(n,r){return n&&!e(r)?t(n,r):r}}function aM(){if(HL)return VL;HL=1;var e=SL,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return VL=function(n){var r,o,i,a={};return n?(e.forEach(n.split("\n"),(function(n){if(i=n.indexOf(":"),r=e.trim(n.substr(0,i)).toLowerCase(),o=e.trim(n.substr(i+1)),r){if(a[r]&&t.indexOf(r)>=0)return;a[r]="set-cookie"===r?(a[r]?a[r]:[]).concat([o]):a[r]?a[r]+", "+o:o}})),a):a}}function uM(){if(YL)return qL;YL=1;var e=SL;return qL=e.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(n){var r=e.isString(n)?o(n):n;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}}function sM(){if(WL)return GL;function e(e){this.message=e}return WL=1,e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,GL=e}function lM(){if(XL)return KL;XL=1;var e=SL,t=tM(),n=nM(),r=AL,o=iM(),i=aM(),a=uM(),u=eM(),s=JL,l=sM();return KL=function(c){return new Promise((function(f,d){var p,h=c.data,v=c.headers,m=c.responseType;function g(){c.cancelToken&&c.cancelToken.unsubscribe(p),c.signal&&c.signal.removeEventListener("abort",p)}e.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(c.auth){var b=c.auth.username||"",x=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+x)}var w=o(c.baseURL,c.url);function _(){if(y){var e="getAllResponseHeaders"in y?i(y.getAllResponseHeaders()):null,n={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:e,config:c,request:y};t((function(e){f(e),g()}),(function(e){d(e),g()}),n),y=null}}if(y.open(c.method.toUpperCase(),r(w,c.params,c.paramsSerializer),!0),y.timeout=c.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(d(u("Request aborted",c,"ECONNABORTED",y)),y=null)},y.onerror=function(){d(u("Network Error",c,null,y)),y=null},y.ontimeout=function(){var e=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",t=c.transitional||s;c.timeoutErrorMessage&&(e=c.timeoutErrorMessage),d(u(e,c,t.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},e.isStandardBrowserEnv()){var E=(c.withCredentials||a(w))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;E&&(v[c.xsrfHeaderName]=E)}"setRequestHeader"in y&&e.forEach(v,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),e.isUndefined(c.withCredentials)||(y.withCredentials=!!c.withCredentials),m&&"json"!==m&&(y.responseType=c.responseType),"function"==typeof c.onDownloadProgress&&y.addEventListener("progress",c.onDownloadProgress),"function"==typeof c.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(p=function(e){y&&(d(!e||e&&e.type?new l("canceled"):e),y.abort(),y=null)},c.cancelToken&&c.cancelToken.subscribe(p),c.signal&&(c.signal.aborted?p():c.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))},KL}var cM=SL,fM=function(e,t){QL.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},dM=$L,pM={"Content-Type":"application/x-www-form-urlencoded"};function hM(e,t){!cM.isUndefined(e)&&cM.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var vM,mM={transitional:JL,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(vM=lM()),vM),transformRequest:[function(e,t){return fM(t,"Accept"),fM(t,"Content-Type"),cM.isFormData(e)||cM.isArrayBuffer(e)||cM.isBuffer(e)||cM.isStream(e)||cM.isFile(e)||cM.isBlob(e)?e:cM.isArrayBufferView(e)?e.buffer:cM.isURLSearchParams(e)?(hM(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):cM.isObject(e)||t&&"application/json"===t["Content-Type"]?(hM(t,"application/json"),function(e,t,n){if(cM.isString(e))try{return(t||JSON.parse)(e),cM.trim(e)}catch(Lw){if("SyntaxError"!==Lw.name)throw Lw}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||mM.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&cM.isString(e)&&e.length)try{return JSON.parse(e)}catch(Lw){if(o){if("SyntaxError"===Lw.name)throw dM(Lw,this,"E_JSON_PARSE");throw Lw}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};cM.forEach(["delete","get","head"],(function(e){mM.headers[e]={}})),cM.forEach(["post","put","patch"],(function(e){mM.headers[e]=cM.merge(pM)}));var gM,yM,bM=mM,xM=SL,wM=bM;function _M(){return yM?gM:(yM=1,gM=function(e){return!(!e||!e.__CANCEL__)})}var EM=SL,SM=function(e,t,n){var r=this||wM;return xM.forEach(n,(function(n){e=n.call(r,e,t)})),e},kM=_M(),CM=bM,AM=sM();function TM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new AM("canceled")}var PM,OM,RM=SL,DM=function(e,t){t=t||{};var n={};function r(e,t){return RM.isPlainObject(e)&&RM.isPlainObject(t)?RM.merge(e,t):RM.isPlainObject(t)?RM.merge({},t):RM.isArray(t)?t.slice():t}function o(n){return RM.isUndefined(t[n])?RM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function i(e){if(!RM.isUndefined(t[e]))return r(void 0,t[e])}function a(n){return RM.isUndefined(t[n])?RM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function u(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return RM.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||o,r=t(e);RM.isUndefined(r)&&t!==u||(n[e]=r)})),n};function LM(){return OM?PM:(OM=1,PM={version:"0.26.1"})}var MM=LM().version,NM={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){NM[e]=function(n){return ho(n)===e||"a"+(t<1?"n ":" ")+e}}));var FM={};NM.transitional=function(e,t,n){function r(e,t){return"[Axios v"+MM+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new Error(r(o," has been removed"+(t?" in "+t:"")));return t&&!FM[o]&&(FM[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var IM,jM,zM,BM,UM,VM,HM={assertOptions:function(e,t,n){if("object"!==ho(e))throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:NM},qM=SL,YM=AL,GM=ZL,WM=function(e){return TM(e),e.headers=e.headers||{},e.data=SM.call(e,e.data,e.headers,e.transformRequest),e.headers=EM.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),EM.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||CM.adapter)(e).then((function(t){return TM(e),t.data=SM.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return kM(t)||(TM(e),t&&t.response&&(t.response.data=SM.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},KM=DM,XM=HM,ZM=XM.validators;function QM(e){this.defaults=e,this.interceptors={request:new GM,response:new GM}}QM.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=KM(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&XM.assertOptions(n,{silentJSONParsing:ZM.transitional(ZM.boolean),forcedJSONParsing:ZM.transitional(ZM.boolean),clarifyTimeoutError:ZM.transitional(ZM.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!o){var u=[WM,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(a),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=t;r.length;){var l=r.shift(),c=r.shift();try{s=l(s)}catch(f){c(f);break}}try{i=WM(s)}catch(f){return Promise.reject(f)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},QM.prototype.getUri=function(e){return e=KM(this.defaults,e),YM(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},qM.forEach(["delete","get","head","options"],(function(e){QM.prototype[e]=function(t,n){return this.request(KM(n||{},{method:e,url:t,data:(n||{}).data}))}})),qM.forEach(["post","put","patch"],(function(e){QM.prototype[e]=function(t,n,r){return this.request(KM(r||{},{method:e,url:t,data:n}))}}));var $M=SL,JM=hL,eN=QM,tN=DM;var nN=function e(t){var n=new eN(t),r=JM(eN.prototype.request,n);return $M.extend(r,eN.prototype,n),$M.extend(r,n),r.create=function(n){return e(tN(t,n))},r}(bM);nN.Axios=eN,nN.Cancel=sM(),nN.CancelToken=function(){if(jM)return IM;jM=1;var e=sM();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(t){r.reason||(r.reason=new e(t),n(r.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e,n=new t((function(t){e=t}));return{token:n,cancel:e}},IM=t}(),nN.isCancel=_M(),nN.VERSION=LM().version,nN.all=function(e){return Promise.all(e)},nN.spread=BM?zM:(BM=1,zM=function(e){return function(t){return e.apply(null,t)}}),nN.isAxiosError=function(){if(VM)return UM;VM=1;var e=SL;return UM=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),pL.exports=nN,pL.exports.default=nN,function(e){e.exports=pL.exports}(dL);var rN,oN=Xr(dL.exports),iN=function(e,t){return oN.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t})};Ur("a8",rN),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"}(rN||Ur("a8",rN={}));function aN(e){this._maxSize=e,this.clear()}aN.prototype.clear=function(){this._size=0,this._values=Object.create(null)},aN.prototype.get=function(e){return this._values[e]},aN.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var uN=/[^.^\]^[]+|(?=\[\]|\.\.)/g,sN=/^\d+$/,lN=/^\d/,cN=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,fN=/^\s*(['"]?)(.*?)(\1)\s*$/,dN=new aN(512),pN=new aN(512),hN=new aN(512),vN={Cache:aN,split:gN,normalizePath:mN,setter:function(e){var t=mN(e);return pN.get(e)||pN.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=mN(e);return hN.get(e)||hN.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(yN(t)||sN.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,u=e.length;for(o=0;o<u;o++)(r=e[o])&&(bN(r)&&(r='"'+r+'"'),i=!(a=yN(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:gN(e),t,n)}};function mN(e){return dN.get(e)||dN.set(e,gN(e).map((function(e){return e.replace(fN,"$2")})))}function gN(e){return e.match(uN)||[""]}function yN(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function bN(e){return!yN(e)&&(function(e){return e.match(lN)&&!e.match(sN)}(e)||function(e){return cN.test(e)}(e))}var xN=/[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,wN=function(e){return e.match(xN)||[]},_N=function(e,t){return wN(e).join(t).toLowerCase()},EN=function(e){return wN(e).reduce((function(e,t){return"".concat(e).concat(e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase())}),"")},SN=EN,kN=function(e){return _N(e,"_")},CN={exports:{}};function AN(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),u=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!u.has(e[0])||!u.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||s(e[i],i,new Set);return r;function s(e,t,i){if(i.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(Lw){l=""}throw new Error("Cyclic dependency"+l)}if(!u.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var c=a.get(e)||new Set;if(t=(c=Array.from(c)).length){i.add(e);do{var f=c[--t];s(f,u.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}CN.exports=function(e){return AN(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},CN.exports.array=AN;var TN=Object.prototype.toString,PN=Error.prototype.toString,ON=RegExp.prototype.toString,RN="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},DN=/^Symbol\((.*)\)(.*)$/;function LN(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}function MN(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=ho(e);if("number"===n)return LN(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return RN.call(e).replace(DN,"Symbol($1)");var r=TN.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+PN.call(e)+"]":"RegExp"===r?ON.call(e):null}function NN(e,t){var n=MN(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=MN(this[e],t);return null!==r?r:n}),2)}function FN(e){return null==e?[]:[].concat(e)}var IN=/\$\{\s*(\w+)\s*\}/g,jN=function(e){oo(n,e);var t=io(n);function n(e,r,o,i){var a;return ro(this,n),(a=t.call(this)).value=void 0,a.path=void 0,a.type=void 0,a.errors=void 0,a.params=void 0,a.inner=void 0,a.name="ValidationError",a.value=r,a.path=o,a.type=i,a.errors=[],a.inner=[],FN(e).forEach((function(e){var t;n.isError(e)?((t=a.errors).push.apply(t,Wr(e.errors)),a.inner=a.inner.concat(e.inner.length?e.inner:e)):a.errors.push(e)})),a.message=a.errors.length>1?"".concat(a.errors.length," errors occurred"):a.errors[0],Error.captureStackTrace&&Error.captureStackTrace(uo(a),n),a}return no(n,null,[{key:"formatError",value:function(e,t){var n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e?e.replace(IN,(function(e,n){return NN(t[n])})):"function"==typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(so(Error)),zN={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:function(e){var t=e.path,n=e.type,r=e.value,o=e.originalValue,i=null!=o&&o!==r?" (cast from the value `".concat(NN(o,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(NN(r,!0),"`")+i:"".concat(t," must match the configured type. ")+"The validated value was: `".concat(NN(r,!0),"`")+i}},BN={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"},UN={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"},VN={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},HN={isValue:"${path} field must be ${value}"},qN={noUnknown:"${path} field has unspecified keys: ${unknown}"},YN={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:zN,string:BN,number:UN,date:VN,object:qN,array:YN,boolean:HN});var GN=function(e){return e&&e.__isYupSchema__},WN=function(){function e(t,n){ro(this,e),this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}return no(e,[{key:"resolve",value:function(e,t){var n=this.refs.map((function(e){return e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)})),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!GN(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}],[{key:"fromOptions",value:function(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,o=n.then,i=n.otherwise,a="function"==typeof r?r:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return e===r}))};return new e(t,(function(e,t){var n,r=a.apply(void 0,Wr(e))?o:i;return null!=(n=null==r?void 0:r(t))?n:t}))}}]),e}();var KN="$",XN=".",ZN=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ro(this,e),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,"string"!=typeof t)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]===KN,this.isValue=this.key[0]===XN,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?KN:this.isValue?XN:"";this.path=this.key.slice(r.length),this.getter=this.path&&vN.getter(this.path,!0),this.map=n.map}return no(e,[{key:"getValue",value:function(e,t,n){var r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(e){return e&&e.__isYupRef}}]),e}();ZN.prototype.__isYupRef=!0;var QN=function(e){return null==e},$N=["value","path","label","options","originalValue","spec","sync"];function JN(e){function t(t,n,r){var o=t.value,i=t.path,a=void 0===i?"":i,u=t.label,s=t.options,l=t.originalValue,c=t.spec,f=t.sync,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,$N),p=e.name,h=e.test,v=e.params,m=e.message,g=e.skipAbsent,y=s.parent,b=s.context,x=s.abortEarly;function w(e){return ZN.isRef(e)?e.getValue(o,y,b):e}function _(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({value:o,originalValue:l,label:u,path:e.path||a,spec:c},v,e.params),n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];t[i]=w(t[i])}var s=new jN(jN.formatError(e.message||m,t),o,t.path,e.type||p);return s.params=t,s}var E=(void 0===x?d.schema.spec.abortEarly:x)?n:r,S=Object.assign({path:a,parent:y,type:p,createError:_,resolve:w,options:s,originalValue:l},d),k=function(e){jN.isError(e)?E(e):e?r(null):E(_())},C=function(e){jN.isError(e)?E(e):n(e)},A=g&&QN(o);if(f){var T;try{var P;if("function"==typeof(null==(P=T=!!A||h.call(S,o,S))?void 0:P.then))throw new Error('Validation test of type: "'.concat(S.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(O){return void C(O)}k(T)}else try{Promise.resolve(!!A||h.call(S,o,S)).then(k,C)}catch(O){C(O)}}return t.OPTIONS=e,t}var eF=function(e){return e.substr(0,e.length-1).substr(1)};function tF(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?(vN.forEach(t,(function(u,s,l){var c=s?eF(u):u,f="tuple"===(e=e.resolve({context:a,parent:r,value:n})).type,d=l?parseInt(c,10):0;if(e.innerType||f){if(f&&!l)throw new Error('Yup.reach cannot implicitly index into a tuple type. the path part "'.concat(i,'" must contain an index to the tuple element, e.g. "').concat(i,'[0]"'));if(n&&d>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(u,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!l){if(!e.fields||!e.fields[c])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(i,' which is a type: "').concat(e.type,'")'));r=n,n=n&&n[c],e=e.fields[c]}o=c,i=s?"["+u+"]":"."+u})),{schema:e,parent:r,parentPath:o}):{parent:r,parentPath:t,schema:e}}var nF=function(){function e(){ro(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return no(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=vo(this.list);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(u){n.e(u)}finally{n.f()}var o,i=vo(this.refs);try{for(i.s();!(o=i.n()).done;){var a=$r(o.value,2)[1];t.push(a.describe())}}catch(u){i.e(u)}finally{i.f()}return t}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"resolveAll",value:function(e){return this.toArray().reduce((function(t,n){return t.concat(ZN.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){ZN.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){ZN.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}},{key:"clone",value:function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}},{key:"merge",value:function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n}}]),e}();function rF(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(GN(e)||!e||"object"!==ho(e))return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime()),n.set(e,t);else if(e instanceof RegExp)t=new RegExp(e),n.set(e,t);else if(Array.isArray(e)){t=new Array(e.length),n.set(e,t);for(var r=0;r<e.length;r++)t[r]=rF(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);var o,i=vo(e.entries());try{for(i.s();!(o=i.n()).done;){var a=$r(o.value,2),u=a[0],s=a[1];t.set(u,rF(s,n))}}catch(g){i.e(g)}finally{i.f()}}else if(e instanceof Set){t=new Set,n.set(e,t);var l,c=vo(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;t.add(rF(f,n))}}catch(g){c.e(g)}finally{c.f()}}else{if(!(e instanceof Object))throw Error("Unable to clone ".concat(e));t={},n.set(e,t);for(var d=0,p=Object.entries(e);d<p.length;d++){var h=$r(p[d],2),v=h[0],m=h[1];t[v]=rF(m,n)}}return t}var oF=function(){function e(t){var n=this;ro(this,e),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 nF,this._blacklist=new nF,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(zN.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},null==t?void 0:t.spec),this.withMutation((function(e){e.nonNullable()}))}return no(e,[{key:"_type",get:function(){return this.type}},{key:"clone",value:function(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;var t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=Wr(this.deps),t.conditions=Wr(this.conditions),t.tests=Wr(this.tests),t.transforms=Wr(this.transforms),t.spec=rF(Object.assign({},this.spec,e)),t}},{key:"label",value:function(e){var t=this.clone();return t.spec.label=e,t}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}},{key:"withMutation",value:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n}},{key:"concat",value:function(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));var t=this,n=e.clone(),r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),n.transforms=[].concat(Wr(t.transforms),Wr(n.transforms)),n}},{key:"isType",value:function(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}},{key:"resolve",value:function(e){var t=this;if(t.conditions.length){var n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t}},{key:"resolveOptions",value:function(e){var t,n,r;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive})}},{key:"cast",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&QN(o))return o;var i=NN(e),a=NN(o);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n.type,'". \n\n')+"attempted value: ".concat(i," \n")+(a!==i?"result of cast: ".concat(a):""))}return o}},{key:"_cast",value:function(e,t){var n=this,r=void 0===e?e:this.transforms.reduce((function(t,r){return r.call(n,t,e,n)}),e);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=n.sync,a=n.path,u=n.from,s=void 0===u?[]:u,l=n.originalValue,c=void 0===l?e:l,f=n.strict,d=void 0===f?this.spec.strict:f,p=e;d||(p=this._cast(p,Object.assign({assert:!1},n)));for(var h={value:p,path:a,options:n,originalValue:c,schema:this,label:this.spec.label,spec:this.spec,sync:i,from:s},v=[],m=0,g=Object.values(this.internalTests);m<g.length;m++){var y=g[m];y&&v.push(y)}this.runTests({args:h,value:p,tests:v},r,(function(e){if(e.length)return o(e,p);t.runTests({args:h,value:p,tests:t.tests},r,o)}))}},{key:"runTests",value:function(e,t,n){var r=!1,o=e.tests,i=e.args,a=e.value,u=function(e){r||(r=!0,t(e,a))},s=function(e){r||(r=!0,n(e,a))},l=o.length,c=[];if(!l)return s([]);for(var f=0;f<o.length;f++){(0,o[f])(i,u,(function(e){e&&(c=c.concat(e)),--l<=0&&s(c)}))}}},{key:"asNestedTest",value:function(e){var t,n=this,r=e.key,o=e.index,i=e.parent,a=e.parentPath,u=e.originalParent,s=e.options,l=null!=r?r:o;if(null==l)throw TypeError("Must include `key` or `index` for nested validations");var c="number"==typeof l,f=i[l],d=Object.assign({},s,(Qr(t={strict:!0,parent:i,value:f,originalValue:u[l],key:void 0},c?"index":"key",l),Qr(t,"path",c||l.includes(".")?"".concat(a||"","[").concat(f?l:'"'.concat(l,'"'),"]"):(a?"".concat(a,"."):"")+r),t));return function(e,t,r){return n.resolve(d)._validate(f,d,t,r)}}},{key:"validate",value:function(e,t){var n=this.resolve(Object.assign({},t,{value:e}));return new Promise((function(r,o){return n._validate(e,t,(function(e,t){jN.isError(e)&&(e.value=t),o(e)}),(function(e,t){e.length?o(new jN(e,t)):r(t)}))}))}},{key:"validateSync",value:function(e,t){var n;return this.resolve(Object.assign({},t,{value:e}))._validate(e,Object.assign({},t,{sync:!0}),(function(e,t){throw jN.isError(e)&&(e.value=t),e}),(function(t,r){if(t.length)throw new jN(t,e);n=r})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(jN.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if(jN.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):rF(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){if(0===arguments.length)return this._getDefault();var t=this.clone({default:e});return t}},{key:"strict",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({strict:e})}},{key:"nullability",value:function(e,t){var n=this.clone({nullable:e});return n.internalTests.nullable=JN({message:t,name:"nullable",test:function(e){return null!==e||this.schema.spec.nullable}}),n}},{key:"optionality",value:function(e,t){var n=this.clone({optional:e});return n.internalTests.optionality=JN({message:t,name:"optionality",test:function(e){return void 0!==e||this.schema.spec.optional}}),n}},{key:"optional",value:function(){return this.optionality(!0)}},{key:"defined",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.defined;return this.optionality(!1,e)}},{key:"nullable",value:function(){return this.nullability(!0)}},{key:"nonNullable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.notNull;return this.nullability(!1,e)}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.required;return this.clone().withMutation((function(t){return t.nonNullable(e).defined(e)}))}},{key:"notRequired",value:function(){return this.clone().withMutation((function(e){return e.nullable().optional()}))}},{key:"transform",value:function(e){var t=this.clone();return t.transforms.push(e),t}},{key:"test",value:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=zN.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=JN(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}},{key:"when",value:function(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");var n=this.clone(),r=FN(e).map((function(e){return new ZN(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new WN(r,t):WN.fromOptions(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t.internalTests.typeError=JN({message:e,name:"typeError",test:function(e){return!(!QN(e)&&!this.schema._typeCheck(e))||this.createError({params:{type:this.schema.type}})}}),t}},{key:"oneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zN.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=JN({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"notOneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zN.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=JN({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}},{key:"describe",value:function(e){var t=(e?this.resolve(e):this).clone(),n=t.spec,r=n.label,o={meta:n.meta,label:r,optional:n.optional,nullable:n.nullable,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return o}}]),e}();oF.prototype.__isYupSchema__=!0;for(var iF=function(){var e=uF[aF];oF.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=tF(this,t,n,r.context),i=o.parent,a=o.parentPath,u=o.schema;return u[e](i&&i[a],Object.assign({},r,{parent:i,path:t}))}},aF=0,uF=["validate","validateSync"];aF<uF.length;aF++)iF();for(var sF=0,lF=["equals","is"];sF<lF.length;sF++){var cF=lF[sF];oF.prototype[cF]=oF.prototype.oneOf}for(var fF=0,dF=["not","nope"];fF<dF.length;fF++){var pF=dF[fF];oF.prototype[pF]=oF.prototype.notOneOf}function hF(){return new vF}var vF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"boolean",check:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}}),e.withMutation((function(){e.transform((function(e,t,n){if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))})),e}return no(n,[{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:HN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return QN(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:HN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return QN(e)||!1===e}})}},{key:"default",value:function(e){return Yr(po(n.prototype),"default",this).call(this,e)}},{key:"defined",value:function(e){return Yr(po(n.prototype),"defined",this).call(this,e)}},{key:"optional",value:function(){return Yr(po(n.prototype),"optional",this).call(this)}},{key:"required",value:function(e){return Yr(po(n.prototype),"required",this).call(this,e)}},{key:"notRequired",value:function(){return Yr(po(n.prototype),"notRequired",this).call(this)}},{key:"nullable",value:function(){return Yr(po(n.prototype),"nullable",this).call(this)}},{key:"nonNullable",value:function(e){return Yr(po(n.prototype),"nonNullable",this).call(this,e)}},{key:"strip",value:function(e){return Yr(po(n.prototype),"strip",this).call(this,e)}}]),n}(oF);hF.prototype=vF.prototype;var mF=/^((([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,gF=/^((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,yF=/^(?:[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,bF=function(e){return QN(e)||e===e.trim()},xF={}.toString();function wF(){return new _F}var _F=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this,{type:"string",check:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;var r=null!=e&&e.toString?e.toString():e;return r===xF?e:r}))})),e}return no(n,[{key:"required",value:function(e){return Yr(po(n.prototype),"required",this).call(this,e).withMutation((function(t){return t.test({message:e||zN.required,name:"required",skipAbsent:!0,test:function(e){return!!e.length}})}))}},{key:"notRequired",value:function(){return Yr(po(n.prototype),"notRequired",this).call(this).withMutation((function(e){return e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e}))}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"matches",value:function(e,t){var n,r,o=!1;if(t)if("object"===ho(t)){var i=t.excludeEmptyString;o=void 0!==i&&i,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||BN.matches,params:{regex:e},skipAbsent:!0,test:function(t){return""===t&&o||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.email;return this.matches(mF,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.url;return this.matches(gF,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.uuid;return this.matches(yF,{name:"uuid",message:e,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(e){return null===e?"":e}))}},{key:"trim",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:bF})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.lowercase;return this.transform((function(e){return QN(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return QN(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:BN.uppercase;return this.transform((function(e){return QN(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return QN(e)||e===e.toUpperCase()}})}}]),n}(oF);wF.prototype=_F.prototype;function EF(){return new SF}var SF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this,{type:"number",check:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce)return e;var r=e;if("string"==typeof r){if(""===(r=r.replace(/\s/g,"")))return NaN;r=+r}return n.isType(r)?r:parseFloat(r)}))})),e}return no(n,[{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t<=this.resolve(e)}})}},{key:"lessThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test:function(t){return t<this.resolve(e)}})}},{key:"moreThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test:function(t){return t>this.resolve(e)}})}},{key:"positive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UN.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UN.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UN.integer;return this.test({name:"integer",message:e,skipAbsent:!0,test:function(e){return Number.isInteger(e)}})}},{key:"truncate",value:function(){return this.transform((function(e){return QN(e)?e:0|e}))}},{key:"round",value:function(e){var t,n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(t){return QN(t)?t:Math[e](t)}))}}]),n}(oF);EF.prototype=SF.prototype;var kF=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var CF=new Date(""),AF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"date",check:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),e.withMutation((function(){e.transform((function(e,t,r){return!r.spec.coerce||r.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=kF.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?n.INVALID_DATE:new Date(e))}))})),e}return no(n,[{key:"prepareParam",value:function(e,t){var n;if(ZN.isRef(e))n=e;else{var r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:VN.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(e){return e>=this.resolve(n)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:VN.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(e){return e<=this.resolve(n)}})}}]),n}(oF);function TF(e,t){var n=1/0;return e.some((function(e,r){var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function PF(e){return function(t,n){return TF(e,t)-TF(e,n)}}AF.INVALID_DATE=CF,AF.prototype;var OF=function(e,t,n){if("string"!=typeof e)return e;var r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function RF(e){if("fields"in e){for(var t={},n=0,r=Object.entries(e.fields);n<r.length;n++){var o=$r(r[n],2),i=o[0],a=o[1];t[i]=RF(a)}return e.setFields(t)}if("array"===e.type){var u=e.optional();return u.innerType&&(u.innerType=RF(u.innerType)),u}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(RF)}):"optional"in e?e.optional():e}var DF=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function LF(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}var MF=PF([]);function NF(e){return new FF(e)}var FF=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this,{type:"object",check:function(e){return DF(e)||"function"==typeof e}})).fields=Object.create(null),r._sortErrors=MF,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){e&&r.shape(e)})),r}return no(n,[{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Yr(po(n.prototype),"_cast",this).call(this,e,o);if(void 0===i)return this.getDefault();if(!this._typeCheck(i))return i;var a,u=this.fields,s=null!=(t=o.stripUnknown)?t:this.spec.noUnknown,l=[].concat(this._nodes,Object.keys(i).filter((function(e){return!r._nodes.includes(e)}))),c={},f=Object.assign({},o,{parent:c,__validating:o.__validating||!1}),d=!1,p=vo(l);try{for(p.s();!(a=p.n()).done;){var h=a.value,v=u[h],m=h in i;if(v){var g=void 0,y=i[h];f.path=(o.path?"".concat(o.path,"."):"")+h;var b=(v=v.resolve({value:y,context:o.context,parent:c}))instanceof oF?v.spec:void 0,x=null==b?void 0:b.strict;if(null!=b&&b.strip){d=d||h in i;continue}void 0!==(g=o.__validating&&x?i[h]:v.cast(i[h],f))&&(c[h]=g)}else m&&!s&&(c[h]=i[h]);m===h in c&&c[h]===i[h]||(d=!0)}}catch(w){p.e(w)}finally{p.f()}return d?c:i}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=r.from,u=void 0===a?[]:a,s=r.originalValue,l=void 0===s?e:s,c=r.recursive,f=void 0===c?this.spec.recursive:c;r.from=[{schema:this,value:l}].concat(Wr(u)),r.__validating=!0,r.originalValue=l,Yr(po(n.prototype),"_validate",this).call(this,e,r,o,(function(e,n){if(f&&DF(n)){l=l||n;var a,u=[],s=vo(t._nodes);try{for(s.s();!(a=s.n()).done;){var c=a.value,d=t.fields[c];d&&!ZN.isRef(d)&&u.push(d.asNestedTest({options:r,key:c,parent:n,parentPath:r.path,originalParent:l}))}}catch(p){s.e(p)}finally{s.f()}t.runTests({tests:u,value:n},o,(function(r){i(r.sort(t._sortErrors).concat(e),n)}))}else i(e,n)}))}},{key:"clone",value:function(e){var t=Yr(po(n.prototype),"clone",this).call(this,e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}},{key:"concat",value:function(e){for(var t=this,r=Yr(po(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var u=$r(a[i],2),s=u[0],l=u[1],c=o[s];o[s]=void 0===c?l:c}return r.withMutation((function(e){return e.setFields(o,t._excludedEdges)}))}},{key:"_getDefault",value:function(){var e=this;if("default"in this.spec)return Yr(po(n.prototype),"_getDefault",this).call(this);if(this._nodes.length){var t={};return this._nodes.forEach((function(n){var r=e.fields[n];t[n]="getDefault"in r?r.getDefault():void 0})),t}}},{key:"setFields",value:function(e,t){var n=this.clone();return n.fields=e,n._nodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,o=new Set(t.map((function(e){var t=$r(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=vN.split(e)[0];r.add(i),o.has("".concat(t,"-").concat(i))||n.push([t,i])}for(var a=function(){var t=s[u],n=e[t];r.add(t),ZN.isRef(n)&&n.isSibling?i(n.path,t):GN(n)&&"deps"in n&&n.deps.forEach((function(e){return i(e,t)}))},u=0,s=Object.keys(e);u<s.length;u++)a();return CN.exports.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=PF(Object.keys(e)),t&&(n._excludedEdges=t),n}},{key:"shape",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.clone().withMutation((function(n){var r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[].concat(Wr(n._excludedEdges),Wr(t))),n.setFields(Object.assign(n.fields,e),r)}))}},{key:"partial",value:function(){for(var e={},t=0,n=Object.entries(this.fields);t<n.length;t++){var r=$r(n[t],2),o=r[0],i=r[1];e[o]="optional"in i&&i.optional instanceof Function?i.optional():i}return this.setFields(e)}},{key:"deepPartial",value:function(){return RF(this)}},{key:"pick",value:function(e){var t,n={},r=vo(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;this.fields[o]&&(n[o]=this.fields[o])}}catch(i){r.e(i)}finally{r.f()}return this.setFields(n)}},{key:"omit",value:function(e){var t,n=Object.assign({},this.fields),r=vo(e);try{for(r.s();!(t=r.n()).done;){delete n[t.value]}}catch(o){r.e(o)}finally{r.f()}return this.setFields(n)}},{key:"from",value:function(e,t,n){var r=vN.getter(e,!0);return this.transform((function(o){if(!o)return o;var i=o;return function(e,t){var n=Wr(vN.normalizePath(t));if(1===n.length)return n[0]in e;var r=n.pop(),o=vN.getter(vN.join(n),!0)(e);return!(!o||!(r in o))}(o,e)&&(i=Object.assign({},o),n||delete i[e],i[t]=r(o)),i}))}},{key:"json",value:function(){return this.transform(OF)}},{key:"noUnknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qN.noUnknown;"boolean"!=typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=LF(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}},{key:"unknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qN.noUnknown;return this.noUnknown(!e,t)}},{key:"transformKeys",value:function(e){return this.transform((function(t){if(!t)return t;for(var n={},r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];n[e(i)]=t[i]}return n}))}},{key:"camelCase",value:function(){return this.transformKeys(SN)}},{key:"snakeCase",value:function(){return this.transformKeys(kN)}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return kN(e).toUpperCase()}))}},{key:"describe",value:function(e){var t=Yr(po(n.prototype),"describe",this).call(this,e);t.fields={};for(var r=0,o=Object.entries(this.fields);r<o.length;r++){var i,a=$r(o[r],2),u=a[0],s=a[1],l=e;null!=(i=l)&&i.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[u]})),t.fields[u]=s.describe(l)}return t}}]),n}(oF);function IF(e){return new jF(e)}NF.prototype=FF.prototype;var jF=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),r=t.call(this,{type:"array",check:function(e){return Array.isArray(e)}}),r.innerType=void 0,r.innerType=e,r}return no(n,[{key:"_cast",value:function(e,t){var r=this,o=Yr(po(n.prototype),"_cast",this).call(this,e,t);if(!this._typeCheck(o)||!this.innerType)return o;var i=!1,a=o.map((function(e,n){var o=r.innerType.cast(e,Object.assign({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return o!==e&&(i=!0),o}));return i?a:o}},{key:"_validate",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,u=this.innerType,s=null!=(t=o.recursive)?t:this.spec.recursive;null!=o.originalValue&&o.originalValue,Yr(po(n.prototype),"_validate",this).call(this,e,o,i,(function(t,n){if(s&&u&&r._typeCheck(n)){for(var l=new Array(n.length),c=0;c<n.length;c++){var f;l[c]=u.asNestedTest({options:o,index:c,parent:n,parentPath:o.path,originalParent:null!=(f=o.originalValue)?f:e})}r.runTests({value:n,tests:l},i,(function(e){return a(e.concat(t),n)}))}else a(t,n)}))}},{key:"clone",value:function(e){var t=Yr(po(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"json",value:function(){return this.transform(OF)}},{key:"concat",value:function(e){var t=Yr(po(n.prototype),"concat",this).call(this,e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}},{key:"of",value:function(e){var t=this.clone();if(!GN(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+NN(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:YN.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e,t){return t=t||YN.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e,t){return t=t||YN.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"ensure",value:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))}},{key:"describe",value:function(e){var t=Yr(po(n.prototype),"describe",this).call(this);if(this.innerType){var r,o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),t.innerType=this.innerType.describe(e)}return t}}]),n}(oF);IF.prototype=jF.prototype;var zF,BF=new RegExp("(".concat(Object.keys(rN).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),UF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:EF().max(30),radius:EF().max(25e3),include:IF().of(wF().matches(BF,"Must be a valid Score category.").required()).required()}),VF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Ur("a7",zF),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"}(zF||Ur("a7",zF={}));var HF=new RegExp("(".concat(Object.keys(zF).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),qF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:IF().of(wF().required()),geographyLevels:IF().of(wF().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:hF(),include:IF().of(wF().matches(HF,"Must be a valid Score category.").required())}),YF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},GF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:EF().max(30,"Must use a limit between 1 and 30."),radius:EF().max(25e3,"Must use a radius between 1 and 25000.")}),WF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},KF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:wF()}),XF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},ZF=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),QF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},$F=NF({lat:EF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:EF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:EF().max(5e3)}),JF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Lw){i(Lw)}}function u(e){try{s(r.throw(e))}catch(Lw){i(Lw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},eI="LocalLogicClient/",tI=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message;return ro(this,n),(r=t.call(this,o)).name=eI+r.constructor.name,r}return no(n)}(so(Error)),nI=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message,i=e.response;return ro(this,n),(r=t.call(this,o)).name=eI+r.constructor.name,r.statusCode=null==i?void 0:i.status,r.statusText=null==i?void 0:i.statusText,r.data=null==i?void 0:i.data,r}return no(n)}(so(Error)),rI=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message;return ro(this,n),(r=t.call(this,o)).name=eI+r.constructor.name,r}return no(n)}(so(Error)),oI=function(e){if(e instanceof jN)throw new tI(e);if(oN.isAxiosError(e))throw new nI(e);throw new rI(e)},iI=function(e,t,n){var r=n.value;return n.value=function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=r.apply(this,t);return o&&o instanceof Promise?o.catch((function(e){oI(e)})):o}catch(i){oI(i)}},n},aI=globalThis&&globalThis.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":ho(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},uI=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{locale:"en"};ro(this,e),this.requests=iN(t,n),this.options=n}return no(e,[{key:"getPois",value:function(e){return(t=this.requests,function(e){return VF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u,s,l;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,UF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,s=r.include,n.next=6,t.get("/pois",{params:{lat:o,lng:i,limit:a,radius:u,include:null==s?void 0:s.join(",")}});case 6:return l=n.sent,n.abrupt("return",l.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getScores",value:function(e){return(t=this.requests,function(e){return YF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u,s,l,c,f;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,qF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.include,u=r.geographyIds,s=r.geographyLevels,l=r.locationScoresRounding,c=void 0===l||l,n.next=6,t.get("/scores",{params:{lat:o,lng:i,include:null==a?void 0:a.join(","),geography_levels:null==s?void 0:s.join(","),geography_ids:null==u?void 0:u.join(","),location_scores_rounding:c?".5":"none"}});case 6:return f=n.sent,n.abrupt("return",f.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getSchools",value:function(e){return(t=this.requests,function(e){return WF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u,s;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,GF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,n.next=6,t.get("/schools",{params:{lat:o,lng:i,limit:a,radius:u}});case 6:return s=n.sent,n.abrupt("return",s.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getProfiles",value:function(e){return(t=this.requests,function(e){return XF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,KF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.geogId,n.next=6,t.get("/profiles",{params:{lat:o,lng:i,geog_id:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getGeographies",value:function(e){return(t=this.requests,function(e){return QF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ZF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,n.next=6,t.get("/geographies",{params:{lat:o,lng:i}});case 6:return a=n.sent,n.abrupt("return",a.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getDemographics",value:function(e){return(t=this.requests,function(e){return JF(void 0,void 0,void 0,Br().mark((function n(){var r,o,i,a,u;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,$F.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.radius,n.next=6,t.get("/demographics",{params:{lat:o,lng:i,radius:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data.attributes);case 8:case"end":return n.stop()}}),n)})))})(e);var t}}]),e}();aI([iI],uI.prototype,"getPois",null),aI([iI],uI.prototype,"getScores",null),aI([iI],uI.prototype,"getSchools",null),aI([iI],uI.prototype,"getProfiles",null),aI([iI],uI.prototype,"getGeographies",null),aI([iI],uI.prototype,"getDemographics",null);var sI=function(e,t){return sI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},sI(e,t)};function lI(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}sI(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var cI=Ur("a",(function(){return Ur("a",cI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}),cI.apply(this,arguments)}));function fI(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function dI(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function pI(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var hI=("undefined"==typeof process||process.env,"production"),vI=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},mI={measureLayout:vI(["layout","layoutId","drag"]),animation:vI(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:vI(["exit"]),drag:vI(["drag","dragControls"]),focus:vI(["whileFocus"]),hover:vI(["whileHover","onHoverStart","onHoverEnd"]),tap:vI(["whileTap","onTap","onTapStart","onTapCancel"]),pan:vI(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:vI(["whileInView","onViewportEnter","onViewportLeave"])};var gI=Jr.exports.createContext({strict:!1}),yI=Object.keys(mI),bI=yI.length;var xI=Jr.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),wI=Jr.exports.createContext({});var _I=Jr.exports.createContext(null),EI="undefined"!=typeof document,SI=EI?Jr.exports.useLayoutEffect:Jr.exports.useEffect,kI={current:null},CI=!1;function AI(){return!CI&&function(){if(CI=!0,EI)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return kI.current=e.matches};e.addListener(t),t()}else kI.current=!1}(),dI(Jr.exports.useState(kI.current),1)[0]}function TI(e,t,n,r){var o,i,a=Jr.exports.useContext(gI),u=Jr.exports.useContext(wI).visualElement,s=Jr.exports.useContext(_I),l=(o=AI(),"never"!==(i=Jr.exports.useContext(xI).reducedMotion)&&("always"===i||o)),c=Jr.exports.useRef(void 0);r||(r=a.renderer),!c.current&&r&&(c.current=r(e,{visualState:t,parent:u,props:n,presenceId:null==s?void 0:s.id,blockInitialAnimation:!1===(null==s?void 0:s.initial),shouldReduceMotion:l}));var f=c.current;return SI((function(){null==f||f.syncRender()})),Jr.exports.useEffect((function(){var e;null===(e=null==f?void 0:f.animationState)||void 0===e||e.animateChanges()})),SI((function(){return function(){return null==f?void 0:f.notifyUnmount()}}),[]),f}function PI(e){return"object"===ho(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function OI(e,t,n){return Jr.exports.useCallback((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):PI(n)&&(n.current=r))}),[t])}function RI(e){return Array.isArray(e)}function DI(e){return"string"==typeof e||RI(e)}function LI(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function MI(e,t,n){var r=e.getProps();return LI(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function NI(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||DI(e.initial)||DI(e.animate)||DI(e.whileHover)||DI(e.whileDrag)||DI(e.whileTap)||DI(e.whileFocus)||DI(e.exit)}function FI(e){return Boolean(NI(e)||e.variants)}function II(e){var t=function(e,t){if(NI(e)){var n=e.initial,r=e.animate;return{initial:!1===n||DI(n)?n:void 0,animate:DI(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,Jr.exports.useContext(wI)),n=t.initial,r=t.animate;return Jr.exports.useMemo((function(){return{initial:n,animate:r}}),[jI(n),jI(r)])}function jI(e){return Array.isArray(e)?e.join(" "):e}function zI(e){var t=Jr.exports.useRef(null);return null===t.current&&(t.current=e()),t.current}var BI={hasAnimatedSinceResize:!0,hasEverUpdated:!1},UI=1;var VI=Jr.exports.createContext({}),HI=Jr.exports.createContext({});var qI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lI(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(Yo.Component);function YI(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?mI.projectionNodeConstructor=e[t]:mI[t].Component=e[t])}(t),Jr.exports.forwardRef((function(e,u){var s=function(e){var t,n=e.layoutId,r=null===(t=Jr.exports.useContext(VI))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=cI(cI({},e),{layoutId:s});var l=Jr.exports.useContext(xI),c=null,f=II(e),d=l.isStatic?void 0:zI((function(){if(BI.hasEverUpdated)return UI++})),p=i(e,l.isStatic);return!l.isStatic&&EI&&(f.visualElement=TI(a,p,cI(cI({},l),e),n),function(e,t,n,r){var o,i=t.layoutId,a=t.layout,u=t.drag,s=t.dragConstraints,l=t.layoutScroll,c=Jr.exports.useContext(HI);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(u)||s&&PI(s),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof a?a:"both",initialPromotionConfig:c,layoutScroll:l}))}(d,e,f.visualElement,r||mI.projectionNodeConstructor),c=function(e,t,n){var r=[],o=Jr.exports.useContext(gI);if(!t)return null;"production"!==hI&&n&&o.strict;for(var i=0;i<bI;i++){var a=yI[i],u=mI[a],s=u.isEnabled,l=u.Component;s(e)&&l&&r.push(Fx(l,Zr({},cI({key:a},e,{visualElement:t}))))}return r}(e,f.visualElement,t)),Ix(qI,{visualElement:f.visualElement,props:cI(cI({},l),e),children:[c,Fx(wI.Provider,{value:f,children:o(a,e,d,OI(p,f.visualElement,u),p,l.isStatic,f.visualElement)})]})}))}function GI(e){function t(t,n){return void 0===n&&(n={}),YI(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var WI=["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 KI(e){return"string"==typeof e&&!e.includes("-")&&!!(WI.indexOf(e)>-1||/[A-Z]/.test(e))}var XI={};var ZI=["","X","Y","Z"],QI=["transformPerspective","x","y","z"];function $I(e,t){return QI.indexOf(e)-QI.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return ZI.forEach((function(t){return QI.push(e+t)}))}));var JI=new Set(QI);function ej(e){return JI.has(e)}var tj=new Set(["originX","originY","originZ"]);function nj(e){return tj.has(e)}function rj(e,t){var n=t.layout,r=t.layoutId;return ej(e)||nj(e)||(n||void 0!==r)&&(!!XI[e]||"opacity"===e)}var oj=function(e){return Boolean(null!==e&&"object"===ho(e)&&e.getVelocity)},ij={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function aj(e){return e.startsWith("--")}var uj=function(e,t){return t&&"number"==typeof e?t.transform(e):e},sj=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},lj=function(e){return e%1?Number(e.toFixed(5)):e},cj=/(-)?([\d]*\.?[\d])+/g,fj=/(#[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,dj=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function pj(e){return"string"==typeof e}var hj={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},vj=Object.assign(Object.assign({},hj),{transform:sj(0,1)}),mj=Object.assign(Object.assign({},hj),{default:1}),gj=function(e){return{test:function(t){return pj(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return"".concat(t).concat(e)}}},yj=gj("deg"),bj=gj("%"),xj=gj("px"),wj=gj("vh"),_j=gj("vw"),Ej=Object.assign(Object.assign({},bj),{parse:function(e){return bj.parse(e)/100},transform:function(e){return bj.transform(100*e)}}),Sj=function(e,t){return function(n){return Boolean(pj(n)&&dj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},kj=function(e,t,n){return function(r){var o;if(!pj(r))return r;var i=$r(r.match(cj),4),a=i[0],u=i[1],s=i[2],l=i[3];return Qr(o={},e,parseFloat(a)),Qr(o,t,parseFloat(u)),Qr(o,n,parseFloat(s)),Qr(o,"alpha",void 0!==l?parseFloat(l):1),o}},Cj={test:Sj("hsl","hue"),parse:kj("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+bj.transform(lj(n))+", "+bj.transform(lj(r))+", "+lj(vj.transform(i))+")"}},Aj=sj(0,255),Tj=Object.assign(Object.assign({},hj),{transform:function(e){return Math.round(Aj(e))}}),Pj={test:Sj("rgb","red"),parse:kj("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+Tj.transform(t)+", "+Tj.transform(n)+", "+Tj.transform(r)+", "+lj(vj.transform(i))+")"}};var Oj={test:Sj("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Pj.transform},Rj={test:function(e){return Pj.test(e)||Oj.test(e)||Cj.test(e)},parse:function(e){return Pj.test(e)?Pj.parse(e):Cj.test(e)?Cj.parse(e):Oj.parse(e)},transform:function(e){return pj(e)?e:e.hasOwnProperty("red")?Pj.transform(e):Cj.transform(e)}},Dj="${c}",Lj="${n}";function Mj(e){"number"==typeof e&&(e="".concat(e));var t=[],n=0,r=e.match(fj);r&&(n=r.length,e=e.replace(fj,Dj),t.push.apply(t,Wr(r.map(Rj.parse))));var o=e.match(cj);return o&&(e=e.replace(cj,Lj),t.push.apply(t,Wr(o.map(hj.parse)))),{values:t,numColors:n,tokenised:e}}function Nj(e){return Mj(e).values}function Fj(e){var t=Mj(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Dj:Lj,n<r?Rj.transform(e[n]):lj(e[n]));return t}}var Ij=function(e){return"number"==typeof e?0:e};var jj={test:function(e){var t,n,r,o;return isNaN(e)&&pj(e)&&(null!==(n=null===(t=e.match(cj))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(fj))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Nj,createTransformer:Fj,getAnimatableNone:function(e){var t=Nj(e);return Fj(e)(t.map(Ij))}},zj=new Set(["brightness","contrast","saturate","opacity"]);function Bj(e){var t=$r(e.slice(0,-1).split("("),2),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=$r(r.match(cj)||[],1)[0];if(!o)return e;var i=r.replace(o,""),a=zj.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var Uj=/([a-z-]*)\(.*?\)/g,Vj=Object.assign(Object.assign({},jj),{getAnimatableNone:function(e){var t=e.match(Uj);return t?t.map(Bj).join(" "):e}}),Hj=cI(cI({},hj),{transform:Math.round}),qj={borderWidth:xj,borderTopWidth:xj,borderRightWidth:xj,borderBottomWidth:xj,borderLeftWidth:xj,borderRadius:xj,radius:xj,borderTopLeftRadius:xj,borderTopRightRadius:xj,borderBottomRightRadius:xj,borderBottomLeftRadius:xj,width:xj,maxWidth:xj,height:xj,maxHeight:xj,size:xj,top:xj,right:xj,bottom:xj,left:xj,padding:xj,paddingTop:xj,paddingRight:xj,paddingBottom:xj,paddingLeft:xj,margin:xj,marginTop:xj,marginRight:xj,marginBottom:xj,marginLeft:xj,rotate:yj,rotateX:yj,rotateY:yj,rotateZ:yj,scale:mj,scaleX:mj,scaleY:mj,scaleZ:mj,skew:yj,skewX:yj,skewY:yj,distance:xj,translateX:xj,translateY:xj,translateZ:xj,x:xj,y:xj,z:xj,perspective:xj,transformPerspective:xj,opacity:vj,originX:Ej,originY:Ej,originZ:xj,zIndex:Hj,fillOpacity:vj,strokeOpacity:vj,numOctaves:Hj};function Yj(e,t,n,r){var o,i=e.style,a=e.vars,u=e.transform,s=e.transformKeys,l=e.transformOrigin;s.length=0;var c=!1,f=!1,d=!0;for(var p in t){var h=t[p];if(aj(p))a[p]=h;else{var v=qj[p],m=uj(h,v);if(ej(p)){if(c=!0,u[p]=m,s.push(p),!d)continue;h!==(null!==(o=v.default)&&void 0!==o?o:0)&&(d=!1)}else nj(p)?(l[p]=m,f=!0):i[p]=m}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,u=void 0===a||a,s=t.allowTransformNone,l=void 0===s||s,c="";i.sort($I);for(var f=!1,d=i.length,p=0;p<d;p++){var h=i[p];c+="".concat(ij[h]||h,"(").concat(o[h],") "),"z"===h&&(f=!0)}return!f&&u?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):l&&n&&(c="none"),c}(e,n,d,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),f&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(l))}var Gj=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Wj(e,t,n){for(var r in t)oj(t[r])||rj(r,n)||(e[r]=t[r])}function Kj(e,t,n){var r={};return Wj(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return Jr.exports.useMemo((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Yj(e,t,{enableHardwareAcceleration:!n},r);var o=e.style;return cI(cI({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}function Xj(e,t,n){var r={},o=Kj(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var Zj=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 Qj(e){return Zj.has(e)}var $j,Jj=function(e){return!Qj(e)};try{($j=require("@emotion/is-prop-valid").default)&&(Jj=function(e){return e.startsWith("on")?!Qj(e):$j(e)})}catch(WX){}function ez(e,t,n){return"string"==typeof e?e:xj.transform(t+n*e)}var tz={offset:"stroke-dashoffset",array:"stroke-dasharray"},nz={offset:"strokeDashoffset",array:"strokeDasharray"};function rz(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,u=t.originY,s=t.pathLength,l=t.pathSpacing,c=void 0===l?1:l,f=t.pathOffset,d=void 0===f?0:f;Yj(e,fI(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var p=e.attrs,h=e.style,v=e.dimensions;p.transform&&(v&&(h.transform=p.transform),delete p.transform),v&&(void 0!==a||void 0!==u||h.transform)&&(h.transformOrigin=function(e,t,n){var r=ez(t,e.x,e.width),o=ez(n,e.y,e.height);return"".concat(r," ").concat(o)}(v,void 0!==a?a:.5,void 0!==u?u:.5)),void 0!==o&&(p.x=o),void 0!==i&&(p.y=i),void 0!==s&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?tz:nz;e[i.offset]=xj.transform(-r);var a=xj.transform(t),u=xj.transform(n);e[i.array]="".concat(a," ").concat(u)}(p,s,c,d,!1)}var oz=function(){return cI(cI({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function iz(e,t){var n=Jr.exports.useMemo((function(){var n=oz();return rz(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),cI(cI({},n.attrs),{style:cI({},n.style)})}),[t]);if(e.style){var r={};Wj(r,e.style,e),n.style=cI(cI({},r),n.style)}return n}function az(e){void 0===e&&(e=!1);return function(t,n,r,o,i,a){var u=i.latestValues,s=(KI(t)?iz:Xj)(n,u,a),l=function(e,t,n){var r={};for(var o in e)(Jj(o)||!0===n&&Qj(o)||!t&&!Qj(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c=cI(cI(cI({},l),s),{ref:o});return r&&(c["data-projection-id"]=r),Jr.exports.createElement(t,c)}}var uz=/([a-z])([A-Z])/g,sz=function(e){return e.replace(uz,"$1-$2").toLowerCase()};function lz(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var cz=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function fz(e,t,n,r){for(var o in lz(e,t,void 0,r),t.attrs)e.setAttribute(cz.has(o)?o:sz(o),t.attrs[o])}function dz(e){var t=e.style,n={};for(var r in t)(oj(t[r])||rj(r,e))&&(n[r]=t[r]);return n}function pz(e){var t=dz(e);for(var n in e){if(oj(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function hz(e){return"object"===ho(e)&&"function"==typeof e.start}var vz=function(e){return Array.isArray(e)},mz=function(e){return vz(e)?e[e.length-1]||0:e};function gz(e){var t=oj(e)?e.get():e;return function(e){return Boolean(e&&"object"===ho(e)&&e.mix&&e.toValue)}(t)?t.toValue():t}function yz(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,u={latestValues:xz(t,n,r,o),renderState:i()};return a&&(u.mount=function(e){return a(t,e,u)}),u}var bz=function(e){return function(t,n){var r=Jr.exports.useContext(wI),o=Jr.exports.useContext(_I);return n?yz(e,t,r,o):zI((function(){return yz(e,t,r,o)}))}};function xz(e,t,n,r){var o={},i=!1===(null==n?void 0:n.initial),a=r(e);for(var u in a)o[u]=gz(a[u]);var s=e.initial,l=e.animate,c=NI(e),f=FI(e);t&&f&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=l||(l=t.animate));var d=i||!1===s,p=d?l:s;p&&"boolean"!=typeof p&&!hz(p)&&(Array.isArray(p)?p:[p]).forEach((function(t){var n=LI(e,t);if(n){var r=n.transitionEnd;n.transition;var i=fI(n,["transitionEnd","transition"]);for(var a in i){var u=i[a];if(Array.isArray(u))u=u[d?u.length-1:0];null!==u&&(o[a]=u)}for(var a in r)o[a]=r[a]}}));return o}var wz,_z={useVisualState:bz({scrapeMotionValuesFromProps:pz,createRenderState:oz,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(Lw){r.dimensions={x:0,y:0,width:0,height:0}}rz(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),fz(t,r)}})},Ez={useVisualState:bz({scrapeMotionValuesFromProps:dz,createRenderState:Gj})};function Sz(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function kz(e,t,n,r){Jr.exports.useEffect((function(){var o=e.current;if(n&&o)return Sz(o,t,n,r)}),[e,t,n,r])}function Cz(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Az(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(wz||(wz={}));var Tz={pageX:0,pageY:0};function Pz(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Tz;return{x:n[t+"X"],y:n[t+"Y"]}}function Oz(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Rz(e,t){return void 0===t&&(t="page"),{point:Az(e)?Pz(e,t):Oz(e,t)}}var Dz=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,Rz(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},Lz={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Mz={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Nz(e){return EI&&null===window.onpointerdown?e:EI&&null===window.ontouchstart?Mz[e]:EI&&null===window.onmousedown?Lz[e]:e}function Fz(e,t,n,r){return Sz(e,Nz(t),Dz(n,"pointerdown"===t),r)}function Iz(e,t,n,r){return kz(e,Nz(t),n&&Dz(n,"pointerdown"===t),r)}function jz(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var zz=jz("dragHorizontal"),Bz=jz("dragVertical");function Uz(e){var t=!1;if("y"===e)t=Bz();else if("x"===e)t=zz();else{var n=zz(),r=Bz();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Vz(){var e=Uz(!0);return!e||(e(),!1)}function Hz(e,t,n){return function(r,o){var i;Cz(r)&&!Vz()&&(null===(i=e.animationState)||void 0===i||i.setActive(wz.Hover,t),null==n||n(r,o))}}var qz=function e(t,n){return!!n&&(t===n||e(t,n.parentElement))};function Yz(e){return Jr.exports.useEffect((function(){return function(){return e()}}),[])}var Gz=function(e,t,n){return Math.min(Math.max(n,e),t)},Wz=.001;function Kz(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,u=e.velocity,s=void 0===u?0:u,l=e.mass,c=void 0===l?1:l,f=1-a;f=Gz(.05,1,f),o=Gz(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o,r=t-s,i=Xz(e,f),a=Math.exp(-n);return Wz-r/i*a},n=function(e){var n=e*f*o,r=n*s+s,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),u=Xz(Math.pow(e,2),f);return(-t(e)+Wz>0?-1:1)*((r-i)*a)/u}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var d=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*c;return{stiffness:p,damping:2*f*Math.sqrt(c*p),duration:o}}function Xz(e,t){return e*Math.sqrt(1-t*t)}var Zz=["duration","bounce"],Qz=["stiffness","damping","mass"];function $z(e,t){return t.some((function(t){return void 0!==e[t]}))}function Jz(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.restSpeed,a=void 0===i?2:i,u=e.restDelta,s=fI(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},c=function(e){var t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!$z(e,Qz)&&$z(e,Zz)){var n=Kz(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),f=c.stiffness,d=c.damping,p=c.mass,h=c.velocity,v=c.duration,m=c.isResolvedFromDuration,g=eB,y=eB;function b(){var e=h?-h/1e3:0,t=o-n,r=d/(2*Math.sqrt(f*p)),i=Math.sqrt(f/p)/1e3;if(void 0===u&&(u=Math.min(Math.abs(o-n)/100,.4)),r<1){var a=Xz(i,r);g=function(n){var u=Math.exp(-r*i*n);return o-u*((e+r*i*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},y=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(e+r*i*t)/a+t*Math.cos(a*n))-o*(Math.cos(a*n)*(e+r*i*t)-a*t*Math.sin(a*n))}}else if(1===r)g=function(n){return o-Math.exp(-i*n)*(t+(e+i*t)*n)};else{var s=i*Math.sqrt(r*r-1);g=function(n){var a=Math.exp(-r*i*n),u=Math.min(s*n,300);return o-a*((e+r*i*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return b(),{next:function(e){var t=g(e);if(m)l.done=e>=v;else{var n=1e3*y(e),r=Math.abs(n)<=a,i=Math.abs(o-t)<=u;l.done=r&&i}return l.value=l.done?o:t,l},flipTarget:function(){h=-h;var e=[o,n];n=e[0],o=e[1],b()}}}Jz.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var eB=function(e){return 0},tB=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},nB=function(e,t,n){return-n*e+n*t+e};function rB(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oB(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha;t/=360,r/=100;var i=0,a=0,u=0;if(n/=100){var s=r<.5?r*(1+n):r+n-r*n,l=2*r-s;i=rB(l,s,t+1/3),a=rB(l,s,t),u=rB(l,s,t-1/3)}else i=a=u=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*u),alpha:o}}var iB=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},aB=[Oj,Pj,Cj],uB=function(e){return aB.find((function(t){return t.test(e)}))},sB=function(e,t){var n=uB(e),r=uB(t),o=n.parse(e),i=r.parse(t);n===Cj&&(o=oB(o),n=Pj),r===Cj&&(i=oB(i),r=Pj);var a=Object.assign({},o);return function(e){for(var t in a)"alpha"!==t&&(a[t]=iB(o[t],i[t],e));return a.alpha=nB(o.alpha,i.alpha,e),n.transform(a)}},lB=function(e){return"number"==typeof e},cB=function(e,t){return function(n){return t(e(n))}},fB=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(cB)};function dB(e,t){return lB(e)?function(n){return nB(e,t,n)}:Rj.test(e)?sB(e,t):mB(e,t)}var pB=function(e,t){var n=Wr(e),r=n.length,o=e.map((function(e,n){return dB(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},hB=function(e,t){var n=Object.assign(Object.assign({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=dB(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function vB(e){for(var t=jj.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var mB=function(e,t){var n=jj.createTransformer(t),r=vB(e),o=vB(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?fB(pB(r.parsed,o.parsed),n):function(n){return"".concat(n>0?t:e)}},gB=function(e,t){return function(n){return nB(e,t,n)}};function yB(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?gB:"string"==typeof e?Rj.test(e)?sB:mB:Array.isArray(e)?pB:"object"===ho(e)?hB:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var u=o(e[a],e[a+1]);if(t){var s=Array.isArray(t)?t[a]:t;u=fB(s,u)}r.push(u)}return r}function bB(e,t){var n=$r(e,2),r=n[0],o=n[1],i=$r(t,1)[0];return function(e){return i(tB(r,o,e))}}function xB(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var u=1;u<n&&!(e[u]>o||u===r);u++);i=u-1}var s=tB(e[i],e[i+1],o);return t[i](s)}}function wB(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.clamp,o=void 0===r||r,i=n.ease,a=n.mixer,u=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var s=yB(t,i,a),l=2===u?bB(e,s):xB(e,s);return o?function(t){return l(Gz(e[0],e[u-1],t))}:l}var _B,EB=function(e){return function(t){return 1-e(1-t)}},SB=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},kB=function(e){return function(t){return t*t*((e+1)*t-e)}},CB=function(e){return e},AB=(_B=2,function(e){return Math.pow(e,_B)}),TB=EB(AB),PB=SB(AB),OB=function(e){return 1-Math.sin(Math.acos(e))},RB=EB(OB),DB=SB(RB),LB=kB(1.525),MB=EB(LB),NB=SB(LB),FB=function(e){var t=kB(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),IB=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},jB=EB(IB);function zB(e,t){return e.map((function(){return t||PB})).splice(0,e.length-1)}function BB(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,u=e.duration,s=void 0===u?300:u,l={done:!1,value:n},c=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===c.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(c),s);function d(){return wB(f,c,{ease:Array.isArray(i)?i:zB(c,i)})}var p=d();return{next:function(e){return l.value=p(e),l.done=e>=s,l},flipTarget:function(){c.reverse(),p=d()}}}var UB={keyframes:BB,spring:Jz,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,u=e.timeConstant,s=void 0===u?350:u,l=e.restDelta,c=void 0===l?.5:l,f=e.modifyTarget,d={done:!1,value:o},p=a*n,h=o+p,v=void 0===f?h:f(h);return v!==h&&(p=v-o),{next:function(e){var t=-p*Math.exp(-e/s);return d.done=!(t>c||t<-c),d.value=d.done?v:v+t,d},flipTarget:function(){}}}};var VB=1/60*1e3,HB="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},qB="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(HB())}),VB)};var YB=!0,GB=!1,WB=!1,KB={delta:0,timestamp:0},XB=["read","update","preRender","render","postRender"],ZB=XB.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=!1,a=new WeakSet,u={schedule:function(e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,u=i?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(e),-1===u.indexOf(e)&&(u.push(e),i&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(s){if(o)i=!0;else{o=!0;var l=[n,t];if(t=l[0],(n=l[1]).length=0,r=t.length)for(var c=0;c<r;c++){var f=t[c];f(s),a.has(f)&&(u.schedule(f),e())}o=!1,i&&(i=!1,u.process(s))}}};return u}((function(){return GB=!0})),e}),{}),QB=XB.reduce((function(e,t){var n=ZB[t];return e[t]=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return GB||nU(),n.schedule(e,t,r)},e}),{}),$B=XB.reduce((function(e,t){return e[t]=ZB[t].cancel,e}),{}),JB=XB.reduce((function(e,t){return e[t]=function(){return ZB[t].process(KB)},e}),{}),eU=function(e){return ZB[e].process(KB)},tU=function e(t){GB=!1,KB.delta=YB?VB:Math.max(Math.min(t-KB.timestamp,40),1),KB.timestamp=t,WB=!0,XB.forEach(eU),WB=!1,GB&&(YB=!1,qB(e))},nU=function(){GB=!0,YB=!0,WB||qB(tU)},rU=function(){return KB};function oU(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e-t-n}var iU=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return QB.update(t,!0)},stop:function(){return $B.update(t)}}};function aU(e){var t,n,r,o,i,a=e.from,u=e.autoplay,s=void 0===u||u,l=e.driver,c=void 0===l?iU:l,f=e.elapsed,d=void 0===f?0:f,p=e.repeat,h=void 0===p?0:p,v=e.repeatType,m=void 0===v?"loop":v,g=e.repeatDelay,y=void 0===g?0:g,b=e.onPlay,x=e.onStop,w=e.onComplete,_=e.onRepeat,E=e.onUpdate,S=fI(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),k=S.to,C=0,A=S.duration,T=!1,P=!0,O=function(e){if(Array.isArray(e.to))return BB;if(UB[e.type])return UB[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?BB:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Jz:BB}(S);(null===(n=(t=O).needsInterpolation)||void 0===n?void 0:n.call(t,a,k))&&(i=wB([0,100],[a,k],{clamp:!1}),a=0,k=100);var R=O(Object.assign(Object.assign({},S),{from:a,to:k}));function D(){C++,"reverse"===m?d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+n:oU(t+-e,t,n)}(d,A,y,P=C%2==0):(d=oU(d,A,y),"mirror"===m&&R.flipTarget()),T=!1,_&&_()}function L(e){if(P||(e=-e),d+=e,!T){var t=R.next(Math.max(0,d));o=t.value,i&&(o=i(o)),T=P?t.done:d<=0}null==E||E(o),T&&(0===C&&(null!=A||(A=d)),C<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(d,A,y,P)&&D():(r.stop(),w&&w()))}return s&&(null==b||b(),(r=c(L)).start()),{stop:function(){null==x||x(),r.stop()}}}function uU(e,t){return t?e*(1e3/t):0}var sU=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},lU=function(e){return sU(e)&&e.hasOwnProperty("z")},cU=function(e,t){return Math.abs(e-t)};function fU(e,t){if(lB(e)&&lB(t))return cU(e,t);if(sU(e)&&sU(t)){var n=cU(e.x,t.x),r=cU(e.y,t.y),o=lU(e)&&lU(t)?cU(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var dU=function(e,t){return 1-3*t+3*e},pU=function(e,t){return 3*t-6*e},hU=function(e){return 3*e},vU=function(e,t,n){return((dU(t,n)*e+pU(t,n))*e+hU(t))*e},mU=function(e,t,n){return 3*dU(t,n)*e*e+2*pU(t,n)*e+hU(t)};var gU=.1;function yU(e,t,n,r){if(e===t&&n===r)return CB;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=vU(i*gU,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=gU;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*gU,u=mU(a,e,n);return u>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=mU(t,n,r);if(0===i)return t;t-=(vU(t,n,r)-e)/i}return t}(t,a,e,n):0===u?a:function(e,t,n,r,o){var i,a,u=0;do{(i=vU(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++u<10);return a}(t,r,r+gU,e,n)}return function(e){return 0===e||1===e?e:vU(a(e),t,r)}}var bU=new Set;var xU=new WeakMap,wU=new WeakMap,_U=function(e){var t;null===(t=xU.get(e.target))||void 0===t||t(e)},EU=function(e){e.forEach(_U)};function SU(e,t,n){var r=function(e){var t=e.root,n=fI(e,["root"]),r=t||document;wU.has(r)||wU.set(r,{});var o=wU.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(EU,cI({root:t},n))),o[i]}(t);return xU.set(e,n),r.observe(e),function(){xU.delete(e),r.unobserve(e)}}var kU={some:0,all:1};function CU(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,u=void 0===a?"some":a,s=r.once;Jr.exports.useEffect((function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:i,threshold:"number"==typeof u?u:kU[u]};return SU(n.getInstance(),r,(function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!s||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(wz.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(e)}}))}}),[e,o,i,u])}function AU(e,t,n,r){var o=r.fallback,i=void 0===o||o;Jr.exports.useEffect((function(){var r,o;e&&i&&("production"!==hI&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||bU.has(r)||(console.warn(r),o&&console.warn(o),bU.add(r))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(wz.InView,!0)})))}),[e])}var TU=function(e){return function(t){return e(t),null}},PU={inView:TU((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=void 0===i?{}:i,u=Jr.exports.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(n||r||o);a.once&&u.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?AU:CU)(s,u.current,t,a)})),tap:TU((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,u=Jr.exports.useRef(!1),s=Jr.exports.useRef(null),l={passive:!(n||t||r||h)};function c(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function f(){var e;return c(),u.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(wz.Tap,!1),!Vz()}function d(e,n){f()&&(qz(i.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function p(e,t){f()&&(null==r||r(e,t))}function h(e,t){var r;c(),u.current||(u.current=!0,s.current=fB(Fz(window,"pointerup",d,l),Fz(window,"pointercancel",p,l)),null===(r=i.animationState)||void 0===r||r.setActive(wz.Tap,!0),null==n||n(e,t))}Iz(i,"pointerdown",a?h:void 0,l),Yz(c)})),focus:TU((function(e){var t=e.whileFocus,n=e.visualElement;kz(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wz.Focus,!0)}:void 0),kz(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(wz.Focus,!1)}:void 0)})),hover:TU((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Iz(o,"pointerenter",t||r?Hz(o,!0,t):void 0,{passive:!t}),Iz(o,"pointerleave",n||r?Hz(o,!1,n):void 0,{passive:!n})}))},OU=0,RU=function(){return OU++};function DU(){var e=Jr.exports.useContext(_I);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=zI(RU);Jr.exports.useEffect((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function LU(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 MU=function(e){return 1e3*e},NU={linear:CB,easeIn:AB,easeInOut:PB,easeOut:TB,circIn:OB,circInOut:DB,circOut:RB,backIn:LB,backInOut:NB,backOut:MB,anticipate:FB,bounceIn:jB,bounceInOut:function(e){return e<.5?.5*(1-IB(1-2*e)):.5*IB(2*e-1)+.5},bounceOut:IB},FU=function(e){if(Array.isArray(e)){e.length;var t=dI(e,4);return yU(t[0],t[1],t[2],t[3])}return"string"==typeof e?NU[e]:e},IU=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!jj.test(t)||t.startsWith("url(")))},jU=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},zU=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},BU=function(){return{type:"keyframes",ease:"linear",duration:.3}},UU=function(e){return{type:"keyframes",duration:.8,values:e}},VU={x:jU,y:jU,z:jU,rotate:jU,rotateX:jU,rotateY:jU,rotateZ:jU,scaleX:zU,scaleY:zU,scale:zU,opacity:BU,backgroundColor:BU,color:BU,default:zU},HU=cI(cI({},qj),{color:Rj,backgroundColor:Rj,outlineColor:Rj,fill:Rj,stroke:Rj,borderColor:Rj,borderTopColor:Rj,borderRightColor:Rj,borderBottomColor:Rj,borderLeftColor:Rj,filter:Vj,WebkitFilter:Vj}),qU=function(e){return HU[e]};function YU(e,t){var n,r=qU(e);return r!==Vj&&(r=jj),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var GU=!1;function WU(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=fI(e,["ease","times","yoyo","flip","loop"]),u=cI({},a);return n&&(u.offset=n),a.duration&&(u.duration=MU(a.duration)),a.repeatDelay&&(u.repeatDelay=MU(a.repeatDelay)),t&&(u.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(FU):FU(t)),"tween"===a.type&&(u.type="keyframes"),(r||i||o)&&(r?u.repeatType="reverse":i?u.repeatType="loop":o&&(u.repeatType="mirror"),u.repeat=i||r||o||a.repeat),"spring"!==a.type&&(u.type="keyframes"),u}function KU(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=pI([],dI(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=fI(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=cI(cI({},e),function(e,t){var n;return n=vz(t)?UU:VU[e]||VU.default,cI({to:t},n(t))}(n,t.to))),cI(cI({},t),WU(e))}function XU(e,t,n,r,o){var i,a=$U(r,e),u=null!==(i=a.from)&&void 0!==i?i:t.get(),s=IU(e,n);return"none"===u&&s&&"string"==typeof n?u=YU(e,n):ZU(u)&&"string"==typeof n?u=QU(n):!Array.isArray(n)&&ZU(n)&&"string"==typeof u&&(n=QU(u)),IU(e,u)&&s&&!1!==a.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,i=void 0===o?0:o,a=e.min,u=e.max,s=e.power,l=void 0===s?.8:s,c=e.timeConstant,f=void 0===c?750:c,d=e.bounceStiffness,p=void 0===d?500:d,h=e.bounceDamping,v=void 0===h?10:h,m=e.restDelta,g=void 0===m?1:m,y=e.modifyTarget,b=e.driver,x=e.onUpdate,w=e.onComplete,_=e.onStop;function E(e){return void 0!==a&&e<a||void 0!==u&&e>u}function S(e){return void 0===a?u:void 0===u||Math.abs(a-e)<Math.abs(u-e)?a:u}function k(e){null==t||t.stop(),t=aU(Object.assign(Object.assign({},e),{driver:b,onUpdate:function(t){var n;null==x||x(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w,onStop:_}))}function C(e){k(Object.assign({type:"spring",stiffness:p,damping:v,restDelta:g},e))}if(E(r))C({from:r,velocity:i,to:S(r)});else{var A=l*i+r;void 0!==y&&(A=y(A));var T,P,O=S(A),R=O===a?-1:1;k({type:"decay",from:r,velocity:i,timeConstant:f,power:l,restDelta:g,modifyTarget:y,onUpdate:E(A)?function(e){T=P,P=e,i=uU(e-T,rU().delta),(1===R&&e>O||-1===R&&e<O)&&C({from:e,to:O,velocity:i})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(cI(cI({},r),a)):aU(cI(cI({},KU(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=mz(n);return t.set(i),o(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}function ZU(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function QU(e){return"number"==typeof e?0:YU("",e)}function $U(e,t){return e[t]||e.default||e}function JU(e,t,n,r){return void 0===r&&(r={}),GU&&(r={type:!1}),t.start((function(o){var i,a,u=XU(e,t,n,r,o),s=function(e,t){var n,r;return null!==(r=null!==(n=($U(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),l=function(){return a=u()};return s?i=window.setTimeout(l,MU(s)):l(),function(){clearTimeout(i),null==a||a.stop()}}))}var eV=function(e){return/^\-?\d*\.?\d+$/.test(e)},tV=function(e){return/^0[^.\s]+$/.test(e)};function nV(e,t){-1===e.indexOf(t)&&e.push(t)}function rV(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var oV=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return nV(this.subscriptions,e),function(){return rV(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),iV=function(){function e(e){var t,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new oV,this.velocityUpdateSubscribers=new oV,this.renderSubscribers=new oV,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=rU(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,QB.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return QB.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?uU(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.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 aV(e){return new iV(e)}var uV=function(e){return function(t){return t.test(e)}},sV=[hj,xj,bj,yj,_j,wj,{test:function(e){return"auto"===e},parse:function(e){return e}}],lV=function(e){return sV.find(uV(e))},cV=pI(pI([],dI(sV),!1),[Rj,jj],!1),fV=function(e){return cV.find(uV(e))};function dV(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,aV(n))}function pV(e,t){if(t)return(t[e]||t.default||t).from}function hV(e,t,n){var r;void 0===n&&(n={});var o=MI(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var u=o?function(){return vV(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,u=a.staggerChildren,s=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],u=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(mV).forEach((function(e,r){a.push(hV(e,t,cI(cI({},i),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,u,s,n)}:function(){return Promise.resolve()},l=a.when;if(l){var c=dI("beforeChildren"===l?[u,s]:[s,u],2),f=c[0],d=c[1];return f().then(d)}return Promise.all([u(),s(n.delay)])}function vV(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,u=o.transitionOverride,s=o.type,l=e.makeTargetAnimatable(t),c=l.transition,f=void 0===c?e.getDefaultTransition():c,d=l.transitionEnd,p=fI(l,["transition","transitionEnd"]);u&&(f=u);var h=[],v=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var m in p){var g=e.getValue(m),y=p[m];if(!(!g||void 0===y||v&&gV(v,m))){var b=cI({delay:a},f);e.shouldReduceMotion&&ej(m)&&(b=cI(cI({},b),{type:!1,delay:0}));var x=JU(m,g,y,b);h.push(x)}}return Promise.all(h).then((function(){d&&function(e,t){var n=MI(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=fI(r,["transitionEnd","transition"]);for(var u in a=cI(cI({},a),i))dV(e,u,mz(a[u]))}(e,d)}))}function mV(e,t){return e.sortNodePosition(t)}function gV(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var yV=[wz.Animate,wz.InView,wz.Focus,wz.Hover,wz.Tap,wz.Drag,wz.Exit],bV=pI([],dI(yV),!1).reverse(),xV=yV.length;function wV(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return hV(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=hV(e,t,n);else{var i="function"==typeof t?MI(e,t,n.custom):t;r=vV(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function _V(e){var t=wV(e),n=function(){var e;return(e={})[wz.Animate]=EV(!0),e[wz.InView]=EV(),e[wz.Hover]=EV(),e[wz.Tap]=EV(),e[wz.Drag]=EV(),e[wz.Focus]=EV(),e[wz.Exit]=EV(),e}(),r={},o=!0,i=function(t,n){var r=MI(e,n);if(r){r.transition;var o=r.transitionEnd,i=fI(r,["transition","transitionEnd"]);t=cI(cI(cI({},t),i),o)}return t};function a(a,u){for(var s,l=e.getProps(),c=e.getVariantContext(!0)||{},f=[],d=new Set,p={},h=1/0,v=function(t){var r=bV[t],v=n[r],m=null!==(s=l[r])&&void 0!==s?s:c[r],g=DI(m),y=r===u?v.isActive:null;!1===y&&(h=t);var b=m===c[r]&&m!==l[r]&&g;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys=cI({},p),!v.isActive&&null===y||!m&&!v.prevProp||hz(m)||"boolean"==typeof m)return"continue";var x=function(e,t){if("string"==typeof t)return t!==e;if(RI(t))return!LU(t,e);return!1}(v.prevProp,m),w=x||r===u&&v.isActive&&!b&&g||t>h&&g,_=Array.isArray(m)?m:[m],E=_.reduce(i,{});!1===y&&(E={});var S=v.prevResolvedValues,k=void 0===S?{}:S,C=cI(cI({},k),E),A=function(e){w=!0,d.delete(e),v.needsAnimating[e]=!0};for(var T in C){var P=E[T],O=k[T];p.hasOwnProperty(T)||(P!==O?vz(P)&&vz(O)?!LU(P,O)||x?A(T):v.protectedKeys[T]=!0:void 0!==P?A(T):d.add(T):void 0!==P&&d.has(T)?A(T):v.protectedKeys[T]=!0)}v.prevProp=m,v.prevResolvedValues=E,v.isActive&&(p=cI(cI({},p),E)),o&&e.blockInitialAnimation&&(w=!1),w&&!b&&f.push.apply(f,pI([],dI(_.map((function(e){return{animation:e,options:cI({type:r},a)}}))),!1))},m=0;m<xV;m++)v(m);if(r=cI({},p),d.size){var g={};d.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),f.push({animation:g})}var y=Boolean(f.length);return o&&!1===l.initial&&!e.manuallyAnimateOnMount&&(y=!1),o=!1,y?t(f):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,o){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var u=a(o,t);for(var s in n)n[s].protectedKeys={};return u},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function EV(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var SV={animation:TU((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=_V(t)),hz(n)&&Jr.exports.useEffect((function(){return n.subscribe(t)}),[n])})),exit:TU((function(e){var t=e.custom,n=e.visualElement,r=dI(DU(),2),o=r[0],i=r[1],a=Jr.exports.useContext(_I);Jr.exports.useEffect((function(){var e,r;n.isPresent=o;var u=null===(e=n.animationState)||void 0===e?void 0:e.setActive(wz.Exit,!o,{custom:null!==(r=null==a?void 0:a.custom)&&void 0!==r?r:t});!o&&(null==u||u.then(i))}),[o])}))},kV=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=TV(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=fU(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=rU().timestamp;r.history.push(cI(cI({},o),{timestamp:i}));var a=r.handlers,u=a.onStart,s=a.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=CV(t,r.transformPagePoint),Cz(e)&&0===e.buttons?r.handlePointerUp(e,t):QB.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=TV(CV(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Az(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=CV(Rz(e),this.transformPagePoint),a=i.point,u=rU().timestamp;this.history=[cI(cI({},a),{timestamp:u})];var s=t.onSessionStart;s&&s(e,TV(i,this.history)),this.removeListeners=fB(Fz(window,"pointermove",this.handlePointerMove),Fz(window,"pointerup",this.handlePointerUp),Fz(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),$B.update(this.updatePoint)},e}();function CV(e,t){return t?{point:t(e.point)}:e}function AV(e,t){return{x:e.x-t.x,y:e.y-t.y}}function TV(e,t){var n=e.point;return{point:n,delta:AV(n,OV(t)),offset:AV(n,PV(t)),velocity:RV(t,.1)}}function PV(e){return e[0]}function OV(e){return e[e.length-1]}function RV(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=OV(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>MU(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function DV(e){return e.max-e.min}function LV(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),fU(e,t)<n}function MV(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=nB(t.min,t.max,e.origin),e.scale=DV(n)/DV(t),(LV(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=nB(n.min,n.max,e.origin)-e.originPoint,(LV(e.translate)||isNaN(e.translate))&&(e.translate=0)}function NV(e,t,n,r){MV(e.x,t.x,n.x,null==r?void 0:r.originX),MV(e.y,t.y,n.y,null==r?void 0:r.originY)}function FV(e,t,n){e.min=n.min+t.min,e.max=e.min+DV(t)}function IV(e,t,n){e.min=t.min-n.min,e.max=e.min+DV(t)}function jV(e,t,n){IV(e.x,t.x,n.x),IV(e.y,t.y,n.y)}function zV(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function BV(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=dI([o,r],2))[0],o=n[1]),{min:r,max:o}}var UV=.35;function VV(e,t,n){return{min:HV(e,t),max:HV(e,n)}}function HV(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function qV(e){return[e("x"),e("y")]}function YV(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function GV(e){return void 0===e||1===e}function WV(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!GV(t)||!GV(n)||!GV(r)}function KV(e){return WV(e)||XV(e.x)||XV(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function XV(e){return e&&"0%"!==e}function ZV(e,t,n){return n+t*(e-n)}function QV(e,t,n,r,o){return void 0!==o&&(e=ZV(e,o,r)),ZV(e,n,r)+t}function $V(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=QV(e.min,t,n,r,o),e.max=QV(e.max,t,n,r,o)}function JV(e,t){var n=t.x,r=t.y;$V(e.x,n.translate,n.scale,n.originPoint),$V(e.y,r.translate,r.scale,r.originPoint)}function eH(e,t){e.min=e.min+t,e.max=e.max+t}function tH(e,t,n){var r=dI(n,3),o=r[0],i=r[1],a=r[2],u=void 0!==t[a]?t[a]:.5,s=nB(e.min,e.max,u);$V(e,t[o],t[i],s,t.scale)}var nH=["x","scaleX","originX"],rH=["y","scaleY","originY"];function oH(e,t){tH(e.x,t,nH),tH(e.y,t,rH)}function iH(e,t){return YV(function(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}}(e.getBoundingClientRect(),t))}var aH=new WeakMap,uH=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new kV(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(Rz(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,u=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Uz(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),qV((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(bj.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(i)o=DV(i)*(parseFloat(o)/100)}n.originPoint[e]=o})),null==u||u(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(wz.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,u=r.onDrag;if(o||n.openGlobalLock){var s=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,s),n.updateAxis("y",t.point,s),n.visualElement.syncRender(),null==u||u(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(wz.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&sH(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?nB(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?nB(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&PI(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:zV(e.x,r,i),y:zV(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=UV),!1===e?e=0:!0===e&&(e=UV),{x:VV(e,"left","right"),y:VV(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&qV((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!PI(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=iH(e,n),o=t.scroll;return o&&(eH(r.x,o.x),eH(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:BV(e.x,t.x),y:BV(e.y,t.y)}}(o.layout.actual,i);if(n){var u=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!u,u&&(a=YV(u))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,u=n.dragSnapToOrigin,s=n.onDragTransitionEnd,l=this.constraints||{},c=qV((function(n){var s;if(sH(n,r,t.currentDirection)){var c=null!==(s=null==l?void 0:l[n])&&void 0!==s?s:{};u&&(c={min:0,max:0});var f=i?200:1e6,d=i?40:1e7,p=cI(cI({type:"inertia",velocity:o?e[n]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,p)}}));return Promise.all(c).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return JU(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;qV((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;qV((function(n){if(sH(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,u=i.max;o.set(e[n]-nB(a,u,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(PI(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};qV((function(e){var n,r,o,i,u,s=t.getAxisMotionValue(e);if(s){var l=s.get();a[e]=(n={min:l,max:l},r=t.constraints[e],o=.5,i=DV(n),(u=DV(r))>i?o=tB(r.min,r.max-i,n.min):i>u&&(o=tB(n.min,n.max-u,r.min)),Gz(0,1,o))}}));var u=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=u?u({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),qV((function(e){if(sH(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,u=o.max;n.set(nB(i,u,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;aH.set(this.visualElement,this);var n=Fz(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){PI(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=Sz(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(qV((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,u=e.dragConstraints,s=void 0!==u&&u,l=e.dragElastic,c=void 0===l?UV:l,f=e.dragMomentum,d=void 0===f||f;return cI(cI({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:d})},e}();function sH(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var lH={pan:TU((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,u=Jr.exports.useRef(null),s=Jr.exports.useContext(xI).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};Jr.exports.useEffect((function(){null!==u.current&&u.current.updateHandlers(l)})),Iz(i,"pointerdown",a&&function(e){u.current=new kV(e,l,{transformPagePoint:s})}),Yz((function(){return u.current&&u.current.end()}))})),drag:TU((function(e){var t=e.dragControls,n=e.visualElement,r=zI((function(){return new uH(n)}));Jr.exports.useEffect((function(){return t&&t.subscribe(r)}),[r,t]),Jr.exports.useEffect((function(){return r.addListeners()}),[r])}))},cH=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var fH=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,u=e.render,s=e.readValueFromInstance,l=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(e,t){var d=e.parent,p=e.props,h=e.presenceId,v=e.blockInitialAnimation,m=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var y,b,x=!1,w=m.latestValues,_=m.renderState,E=function(){var e=cH.map((function(){return new oV})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){cH.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+cH[t]]=function(t){return e.add(t)},n["notify"+cH[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,pI([],dI(t),!1))}})),n}(),S=new Map,k=new Map,C={},A=cI({},w);function T(){y&&x&&(P(),u(y,_,p.style,I.projection))}function P(){r(I,_,w,t,p)}function O(){E.notifyUpdate(w)}function R(e,t){var n=t.onChange((function(t){w[e]=t,p.onUpdate&&QB.update(O,!1,!0)})),r=t.onRenderRequest(I.scheduleRender);k.set(e,(function(){n(),r()}))}var D=f(p);for(var L in D){var M=D[L];void 0!==w[L]&&oj(M)&&M.set(w[L],!1)}var N=NI(p),F=FI(p),I=cI(cI({treeType:n,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:h,shouldReduceMotion:g,variantChildren:F?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:v,isMounted:function(){return Boolean(y)},mount:function(e){x=!0,y=I.current=e,I.projection&&I.projection.mount(e),F&&d&&!N&&(b=null==d?void 0:d.addVariantChild(I)),S.forEach((function(e,t){return R(t,e)})),null==d||d.children.add(I),I.setProps(p)},unmount:function(){var e;null===(e=I.projection)||void 0===e||e.unmount(),$B.update(O),$B.render(T),k.forEach((function(e){return e()})),null==b||b(),null==d||d.children.delete(I),E.clearAllListeners(),y=void 0,x=!1},addVariantChild:function(e){var t,n=I.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(I.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return F?I:null==d?void 0:d.getClosestVariantNode()},getLayoutId:function(){return p.layoutId},getInstance:function(){return y},getStaticValue:function(e){return w[e]},setStaticValue:function(e,t){return w[e]=t},getLatestValues:function(){return w},setVisibility:function(e){I.isVisible!==e&&(I.isVisible=e,I.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(I,e,p,t)},measureViewportBox:function(){return a(y,p)},addValue:function(e,t){I.hasValue(e)&&I.removeValue(e),S.set(e,t),w[e]=t.get(),R(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=k.get(e))||void 0===t||t(),k.delete(e),delete w[e],l(e,_)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var n=S.get(e);return void 0===n&&void 0!==t&&(n=aV(t),I.addValue(e,n)),n},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var n;return null!==(n=w[e])&&void 0!==n?n:s(y,e,t)},setBaseTarget:function(e,t){A[e]=t},getBaseTarget:function(e){if(o){var t=o(p,e);if(void 0!==t&&!oj(t))return t}return A[e]}},E),{build:function(){return P(),_},scheduleRender:function(){QB.render(T,!1,!0)},syncRender:T,setProps:function(e){(e.transformTemplate||p.transformTemplate)&&I.scheduleRender(),p=e,E.updatePropListeners(e),C=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(oj(i))e.addValue(o,i);else if(oj(a))e.addValue(o,aV(i));else if(a!==i)if(e.hasValue(o)){var u=e.getValue(o);!u.hasAnimated&&u.set(i)}else e.addValue(o,aV(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(I,f(p),C)},getProps:function(){return p},getVariant:function(e){var t;return null===(t=p.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return p.transition},getTransformPagePoint:function(){return p.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==d?void 0:d.getVariantContext();if(!N){var t=(null==d?void 0:d.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}for(var n={},r=0;r<pH;r++){var o=dH[r],i=p[o];(DI(i)||!1===i)&&(n[o]=i)}return n}});return I}},dH=pI(["initial"],dI(yV),!1),pH=dH.length;function hH(e){return"string"==typeof e&&e.startsWith("var(--")}var vH=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function mH(e,t,n){var r=dI(function(e){var t=vH.exec(e);if(!t)return[,];var n=dI(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():hH(i)?mH(i,t):i}}var gH,yH=new Set(["width","height","top","left","right","bottom","x","y"]),bH=function(e){return yH.has(e)},xH=function(e,t){e.set(t,!1),e.set(t)},wH=function(e){return e===hj||e===xj};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(gH||(gH={}));var _H=function(e,t){return parseFloat(e.split(", ")[t])},EH=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return _H(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_H(a[1],e):0}},SH=new Set(["x","y","z"]),kH=QI.filter((function(e){return!SH.has(e)}));var CH={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:EH(4,13),y:EH(5,14)},AH=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=cI({},t),r=cI({},r);var o=Object.keys(t).filter(bH),i=[],a=!1,u=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var l,c=n[o],f=lV(c),d=t[o];if(vz(d)){var p=d.length,h=null===d[0]?1:0;c=d[h],f=lV(c);for(var v=h;v<p;v++)l?lV(d[v]):l=lV(d[v])}else l=lV(d);if(f!==l)if(wH(f)&&wH(l)){var m=s.get();"string"==typeof m&&s.set(parseFloat(m)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===xj&&(t[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?s.set(l.transform(c)):t[o]=f.transform(d):(a||(i=function(e){var t=[];return kH.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:t[o],xH(s,d))}})),u.length){var s=u.indexOf("height")>=0?window.pageYOffset:null,l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,u={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){u[e]=CH[e](r,i)})),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);xH(r,u[n]),e[n]=CH[n](s,i)})),e}(t,e,u);return i.length&&i.forEach((function(t){var n=dI(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),null!==s&&window.scrollTo({top:s}),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}};function TH(e,t,n,r){return function(e){return Object.keys(e).some(bH)}(t)?AH(e,t,n,r):{target:t,transitionEnd:r}}var PH=function(e,t,n,r){var o=function(e,t,n){var r,o=fI(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=cI({},n)),e.forEachValue((function(e){var t=e.get();if(hH(t)){var n=mH(t,i);n&&e.set(n)}})),o){var u=o[a];if(hH(u)){var s=mH(u,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=u)))}}return{target:o,transitionEnd:n}}(e,t,r);return TH(e,t=o.target,n,r=o.transitionEnd)};var OH={treeType:"dom",readValueFromInstance:function(e,t){if(ej(t)){var n=qU(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(aj(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return iH(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,u=fI(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=pV(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(u,i||{},e);if(o&&(a&&(a=o(a)),u&&(u=o(u)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a,u=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=u.length;if(s)for(var l=0;l<s;l++){var c=u[l],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),null===d&&(d=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=d&&("string"==typeof d&&(eV(d)||tV(d))?d=parseFloat(d):!fV(d)&&jj.test(f)&&(d=YU(c,f)),e.addValue(c,aV(d)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=d),e.setBaseTarget(c,d))}}(e,u,s);var l=PH(e,u,s,a);a=l.transitionEnd,u=l.target}return cI({transition:i,transitionEnd:a},u)},scrapeMotionValuesFromProps:dz,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Yj(t,n,r,o.transformTemplate)},render:lz},RH=fH(OH),DH=fH(cI(cI({},OH),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return ej(t)?(null===(n=qU(t))||void 0===n?void 0:n.default)||0:(t=cz.has(t)?t:sz(t),e.getAttribute(t))},scrapeMotionValuesFromProps:pz,build:function(e,t,n,r,o){rz(t,n,r,o.transformTemplate)},render:fz})),LH=function(e,t){return KI(e)?DH(t,{enableHardwareAcceleration:!1}):RH(t,{enableHardwareAcceleration:!0})};function MH(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var NH={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!xj.test(e))return e;e=parseFloat(e)}var n=MH(e,t.target.x),r=MH(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},FH="_$css",IH={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(vH,(function(e){return a.push(e),FH})));var u=jj.parse(e);if(u.length>5)return o;var s=jj.createTransformer(e),l="number"!=typeof u[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;u[0+l]/=c,u[1+l]/=f;var d=nB(c,f,.5);"number"==typeof u[2+l]&&(u[2+l]/=d),"number"==typeof u[3+l]&&(u[3+l]/=d);var p=s(u);if(i){var h=0;p=p.replace(FH,(function(){var e=a[h];return h++,e}))}return p}},jH=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lI(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,u=r.projection;e=zH,Object.assign(XI,e),u&&((null==o?void 0:o.group)&&o.group.add(u),(null==i?void 0:i.register)&&a&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){t.safeToRemove()})),u.setOptions(cI(cI({},u.options),{onExitComplete:function(){return t.safeToRemove()}}))),BI.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,u=o.projection;return u?(u.isPresent=a,i||e.layoutDependency!==r||void 0===r?u.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?u.promote():u.relegate()||QB.postRender((function(){var e;(null===(e=u.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(Yo.Component);var zH={borderRadius:cI(cI({},NH),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:NH,borderTopRightRadius:NH,borderBottomLeftRadius:NH,borderBottomRightRadius:NH,boxShadow:IH},BH={measureLayout:function(e){var t=dI(DU(),2),n=t[0],r=t[1],o=Jr.exports.useContext(VI);return Fx(jH,Zr({},cI({},e,{layoutGroup:o,switchLayoutGroup:Jr.exports.useContext(HI),isPresent:n,safeToRemove:r})))}};var UH=["TopLeft","TopRight","BottomLeft","BottomRight"],VH=UH.length,HH=function(e){return"string"==typeof e?parseFloat(e):e},qH=function(e){return"number"==typeof e||xj.test(e)};function YH(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var GH=KH(0,.5,RB),WH=KH(.5,.95,CB);function KH(e,t,n){return function(r){return r<e?0:r>t?1:n(tB(e,t,r))}}function XH(e,t){e.min=t.min,e.max=t.max}function ZH(e,t){XH(e.x,t.x),XH(e.y,t.y)}function QH(e,t,n,r,o){return e=ZV(e-=t,1/n,r),void 0!==o&&(e=ZV(e,1/o,r)),e}function $H(e,t,n,r,o){var i=dI(n,3),a=i[0],u=i[1],s=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),bj.test(t)&&(t=parseFloat(t),t=nB(a.min,a.max,t/100)-a.min),"number"==typeof t){var u=nB(i.min,i.max,r);e===i&&(u-=t),e.min=QH(e.min,t,n,u,o),e.max=QH(e.max,t,n,u,o)}}(e,t[a],t[u],t[s],t.scale,r,o)}var JH=["x","scaleX","originX"],eq=["y","scaleY","originY"];function tq(e,t,n,r){$H(e.x,t,JH,null==n?void 0:n.x,null==r?void 0:r.x),$H(e.y,t,eq,null==n?void 0:n.y,null==r?void 0:r.y)}function nq(e){return 0===e.translate&&1===e.scale}function rq(e){return nq(e.x)&&nq(e.y)}function oq(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 iq=function(){function e(){this.members=[]}return e.prototype.add=function(e){nV(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(rV(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function aq(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,u=n.rotateX,s=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),u&&(i+="rotateX(".concat(u,"deg) ")),s&&(i+="rotateY(".concat(s,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(l,", ").concat(c,")"))?"none":i}var uq=function(e,t){return e.depth-t.depth},sq=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){nV(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){rV(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(uq),this.isDirty=!1,this.children.forEach(e)},e}();function lq(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?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(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(mq),o.nodes.forEach(gq)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?pI(pI([],dI(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new sq)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new oV),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,pI([],dI(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,a=i.layoutId,u=i.layout,s=i.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(u||a)&&(this.isLayoutDirty=!0),t){var l,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(c,250),BI.hasAnimatedSinceResize&&(BI.hasAnimatedSinceResize=!1,o.nodes.forEach(vq))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&s&&(a||u)&&this.addEventListener("didUpdate",(function(e){var t,n,r,i,a,u=e.delta,l=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,f=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var d=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==n?n:Eq,p=s.getProps(),h=p.onLayoutAnimationStart,v=p.onLayoutAnimationComplete,m=!o.targetLayout||!oq(o.targetLayout,f)||c,g=!l&&c;if((null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||g||l&&(m||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(u,g);var y=cI(cI({},$U(d,"layout")),{onPlay:h,onComplete:v});s.shouldReduceMotion&&(y.delay=0,y.type=!1),o.startAnimation(y)}else l||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(a=(i=o.options).onExitComplete)||void 0===a||a.call(i));o.targetLayout=f}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,$B.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(yq))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,u=a.layoutId,s=a.layout;if(void 0!==u||s){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(pq);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Sq),this.potentialNodes.clear()),this.nodes.forEach(hq),this.nodes.forEach(cq),this.nodes.forEach(fq),this.clearAllSnapshots(),JB.update(),JB.preRender(),JB.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(dq),this.sharedNodes.forEach(bq)},e.prototype.scheduleUpdateProjection=function(){QB.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;QB.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));Cq(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();Cq(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(i){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!rq(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||KV(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(eH(t.x,n.x),eH(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};ZH(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options,a=r.isScrollRoot;if(r!==this.root&&o&&i.layoutScroll){if(a){ZH(t,e);var u=this.root.scroll;u&&(eH(t.x,-u.x),eH(t.y,-u.y))}eH(t.x,o.x),eH(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};ZH(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&oH(n,{x:-o.scroll.x,y:-o.scroll.y}),KV(o.latestValues)&&oH(n,o.latestValues)}return KV(this.latestValues)&&oH(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};ZH(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&KV(o.latestValues)){WV(o.latestValues)&&o.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};ZH(i,o.measure()),tq(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return KV(this.latestValues)&&tq(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=cI(cI(cI({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.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},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},jV(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),ZH(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,FV(t.x,n.x,r.x),FV(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):ZH(this.target,this.layout.actual),JV(this.target,this.targetDelta)):ZH(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={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},jV(this.relativeTargetOrigin,this.target,this.relativeParent.target),ZH(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!KV(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();ZH(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var u,s;t.x=t.y=1;for(var l=0;l<a;l++)s=(u=n[l]).projectionDelta,"contents"!==(null===(i=null===(o=u.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&oH(e,{x:-u.scroll.x,y:-u.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,JV(e,s)),r&&KV(u.latestValues)&&oH(e,u.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,u=this.treeScale.y,s=this.projectionTransform;NV(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=aq(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===a&&this.treeScale.y===u||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=cI({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s={x:{min:0,max:0},y:{min:0,max:0}},l=null==o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,f=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(_q));this.animationProgress=0,this.mixTargetDelta=function(t){var n,o=t/1e3;xq(u.x,e.x,o),xq(u.y,e.y,o),r.setTargetDelta(u),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(jV(s,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){wq(e.x,t.x,n.x,r),wq(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,s,o)),l&&(r.animationValues=a,function(e,t,n,r,o,i){var a,u,s,l;o?(e.opacity=nB(0,null!==(a=n.opacity)&&void 0!==a?a:1,GH(r)),e.opacityExit=nB(null!==(u=t.opacity)&&void 0!==u?u:1,0,WH(r))):i&&(e.opacity=nB(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<VH;c++){var f="border".concat(UH[c],"Radius"),d=YH(t,f),p=YH(n,f);void 0===d&&void 0===p||(d||(d=0),p||(p=0),0===d||0===p||qH(d)===qH(p)?(e[f]=Math.max(nB(HH(d),HH(p),r),0),(bj.test(p)||bj.test(d))&&(e[f]+="%")):e[f]=p)}(t.rotate||n.rotate)&&(e.rotate=nB(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,o,f,c)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=o},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&($B.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=QB.update((function(){BI.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=oj(e)?e:aV(e);return JU("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,cI(cI({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(ZH(t,n),oH(t,o),NV(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new iq),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<ZI.length;r++){var o="rotate"+ZI[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;void 0===e&&(e={});var u={};if(!this.instance||this.isSVG)return u;if(!this.isVisible)return{visibility:"hidden"};u.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=gz(e.pointerEvents)||"",u.transform=s?s(this.latestValues,""):"none",u;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=gz(e.pointerEvents)||""),this.hasProjected&&!KV(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var f=l.animationValues||l.latestValues;this.applyTransformsToTarget(),u.transform=aq(this.projectionDeltaWithTransform,this.treeScale,f),s&&(u.transform=s(f,u.transform));var d=this.projectionDelta,p=d.x,h=d.y;for(var v in u.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),l.animationValues?u.opacity=l===this?null!==(o=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=l===this?null!==(i=f.opacity)&&void 0!==i?i:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,XI)if(void 0!==f[v]){var m=XI[v],g=m.correct,y=m.applyTo,b=g(f[v],l);if(y)for(var x=y.length,w=0;w<x;w++)u[y[w]]=b;else u[v]=b}return this.options.layoutId&&(u.pointerEvents=l===this?gz(e.pointerEvents)||"":"none"),u},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(pq),this.root.sharedNodes.clear()},e}()}function cq(e){e.updateLayout()}function fq(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,u=a.actual,s=a.measured;"size"===e.options.animationType?qV((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=DV(t);t.min=u[e].min,t.max=t.min+n})):"position"===e.options.animationType&&qV((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=DV(u[e]);t.max=t.min+n}));var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};NV(l,u,i.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?NV(c,e.applyTransform(s,!0),i.measured):NV(c,u,i.layout);var f=!rq(l),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 m={x:{min:0,max:0},y:{min:0,max:0}};jV(m,i.layout,h.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};jV(g,u,v.actual),oq(m,g)||(d=!0)}}e.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function dq(e){e.clearSnapshot()}function pq(e){e.clearMeasurements()}function hq(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function vq(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function mq(e){e.resolveTargetDelta()}function gq(e){e.calcProjection()}function yq(e){e.resetRotation()}function bq(e){e.removeLeadSnapshot()}function xq(e,t,n){e.translate=nB(t.translate,0,n),e.scale=nB(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function wq(e,t,n,r){e.min=nB(t.min,n.min,r),e.max=nB(t.max,n.max,r)}function _q(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var Eq={duration:.45,ease:[.4,0,.1,1]};function Sq(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function kq(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Cq(e){kq(e.x),kq(e.y)}var Aq,Tq=lq({attachResizeListener:function(e,t){return Sz(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Pq={current:void 0},Oq=lq({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Pq.current){var e=new Tq(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Pq.current=e}return Pq.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Rq=cI(cI(cI(cI({},SV),PU),lH),BH),Dq=Ur("a3",GI((function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,u=KI(e)?_z:Ez;return cI(cI({},u),{preloadedFeatures:n,useRender:az(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,Rq,LH,Oq)}))),Lq={exports:{}},Mq={};!function(e){e.exports=function(){if(Aq)return Mq;Aq=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return Mq.Fragment=n,Mq.jsx=a,Mq.jsxs=a,Mq}()}(Lq);var Nq,Fq=Lq.exports.Fragment,Iq=Lq.exports.jsx,jq=Lq.exports.jsxs,zq={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"},Bq={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"},Uq={colorBlue70:"#0056D3"},Vq=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:zq,neutralColors:Bq,blueColors:Uq},Symbol.toStringTag,{value:"Module"})),Hq={"--ll-color-primary":zq.colorPrimary50,"--ll-color-primary-variant1":zq.colorPrimary40,"--ll-color-background":Bq.colorNeutral100,"--ll-color-surface":Bq.colorNeutral95,"--ll-color-surface-variant1":Bq.colorNeutral90,"--ll-color-surface-variant2":Bq.colorNeutral80,"--ll-color-on-primary":Bq.colorNeutral100,"--ll-color-on-primary-variant1":Bq.colorNeutral90,"--ll-color-on-background":Bq.colorNeutral10,"--ll-color-on-background-variant1":Bq.colorNeutral30,"--ll-color-on-surface":Bq.colorNeutral10,"--ll-color-on-surface-variant1":Bq.colorNeutral30,"--ll-color-placeholder":Bq.colorNeutral60,"--ll-color-disabled":Bq.colorNeutral60,"--ll-color-border":Bq.colorNeutral90,"--ll-color-link":Uq.colorBlue70},qq={"--ll-border-radius-small":"".concat(4,"px"),"--ll-border-radius-medium":"".concat(8,"px")},Yq={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":"".concat(4,"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)"},Gq=Zr(Zr(Zr(Zr(Zr(Zr(Zr({},Hq),qq),{"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"}),Yq),{"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"}),{"--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)"}),{"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"}),Wq=Zr(Zr({},Gq),{},{"--ll-color-primary":zq.colorPrimary60,"--ll-color-primary-variant1":zq.colorPrimary50,"--ll-color-background":Bq.colorNeutral10,"--ll-color-surface":Bq.colorNeutral20,"--ll-color-surface-variant1":Bq.colorNeutral30,"--ll-color-surface-variant2":Bq.colorNeutral40,"--ll-color-on-primary":Bq.colorNeutral100,"--ll-color-on-primary-variant1":Bq.colorNeutral90,"--ll-color-on-background":Bq.colorNeutral99,"--ll-color-on-background-variant1":Bq.colorNeutral80,"--ll-color-on-surface":Bq.colorNeutral80,"--ll-color-on-surface-variant1":Bq.colorNeutral90,"--ll-color-placeholder":Bq.colorNeutral70,"--ll-color-disabled":Bq.colorNeutral70,"--ll-color-border":Bq.colorNeutral30,"--ll-color-link":Uq.colorBlue70}),Kq=Object.keys(Gq).reduce((function(e,t){return Zr(Zr({},e),{},Qr({},t,"var(".concat(t,")")))}),{}),Xq={day:Gq,night:Wq},Zq=mE(J||(J=Hr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Zr(Zr({},Xq[t||"day"]),n)})),Qq={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},$q=Object.freeze(Object.defineProperty({__proto__:null,transitions:Qq},Symbol.toStringTag,{value:"Module"})),Jq=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:{mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560}},Symbol.toStringTag,{value:"Module"})),eY=Zr(Zr({colors:Vq},$q),Jq),tY=yE.span(re||(re=Hr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\n justify-content: center;\n\n ",";\n"])),(function(e){return e.textColor}),(function(e){return e.backgroundColor}),Kq["--ll-border-radius-small"],Kq["--ll-font-family"],Kq["--ll-font-size-caption-1"],(function(e){var t=e.size;return"small"===t?eE(ee||(ee=Hr(["\n padding: calc("," / 2) ",";\n "])),Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-xx-small"]):"large"===t?eE(te||(te=Hr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n line-height: ",";\n "])),Kq["--ll-spacing-small"],Kq["--ll-spacing-medium"],Kq["--ll-font-size-p"],Kq["--ll-font-size-h6"]):eE(ne||(ne=Hr(["\n padding: "," ",";\n "])),Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-x-small"])})),nY={exports:{}},rY={};!function(e){e.exports=function(){if(Nq)return rY;Nq=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return rY.Fragment=n,rY.jsx=a,rY.jsxs=a,rY}()}(nY);var oY=nY.exports.Fragment,iY=nY.exports.jsx,aY=nY.exports.jsxs,uY=function(e){var t=e.text,n=e.size,r=void 0===n?"small":n,o=e.className,i=e.textColor,a=void 0===i?Bq.colorNeutral100:i,u=e.backgroundColor,s=void 0===u?Bq.colorNeutral60:u,l=e.onClick;return iY(tY,{size:r,onClick:l,className:o,textColor:a,backgroundColor:s,children:t})},sY=yE.div(oe||(oe=Hr(["\n height: ","px;\n width: ","px;\n fill: ",";\n display: flex;\n\n & > svg {\n fill: inherit;\n height: 100%;\n width: 100%;\n }\n"])),(function(e){return e.height}),(function(e){return e.width}),(function(e){return e.fill})),lY=function(e){var t=e.SVGElement,n=e.fill,r=void 0===n?"--ll-color-on-background":n,o=e.height,i=void 0===o?24:o,a=e.width;return iY(sY,{fill:r,height:i,width:void 0===a?24:a,children:iY(t,{})})},cY=function(e){var t=e.variant;return"h1"===t?Kq["--ll-font-size-h1"]:"h2"===t?Kq["--ll-font-size-h2"]:"h3"===t?Kq["--ll-font-size-h3"]:"h4"===t?Kq["--ll-font-size-h4"]:"h5"===t?Kq["--ll-font-size-h5"]:"h6"===t?Kq["--ll-font-size-h6"]:"p"===t?Kq["--ll-font-size-p"]:"caption1"===t?Kq["--ll-font-size-caption-1"]:"caption2"===t?Kq["--ll-font-size-caption-2"]:Kq["--ll-font-size-h2"]},fY=function(e){var t=e.color;return t in Kq?Kq[t]:t},dY=yE.span(ie||(ie=Hr(["\n overflow: hidden;\n display: inline-block;\n width: 100%;\n line-height: ",";\n margin: 0 0 "," 0;\n font-size: inherit;\n font-weight: inherit;\n"])),(function(e){return e.lineHeight||1.45}),(function(e){return e.noMargin?"0":"0.5em"})),pY=yE.div(ae||(ae=Hr(["\n ","\n"])),(function(e){return eE(ue||(ue=Hr(["\n text-align: ",";\n font-size: ",";\n font-family: ",";\n color: ",";\n font-weight: ",";\n overflow: hidden;\n display: flex;\n\n svg {\n height: ",";\n fill: ",";\n }\n\n "," {\n ","\n }\n "])),e.align,cY(e),"sans-serif"===e.family?Kq["--ll-font-family"]:Kq["--ll-font-family-mono"],fY(e),Kq[e.weight],cY(e),fY(e),dY,e.noWrap&&eE(se||(se=Hr(["\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))))})),hY=function(e){var t=e.children,n=e.variant,r=void 0===n?"p":n,o=e.align,i=e.color,a=void 0===i?"--ll-color-on-background":i,u=e.noWrap,s=e.noMargin,l=e.lineHeight,c=e.weight,f=void 0===c?"--ll-font-weight-normal":c,d=e.family,p=void 0===d?"sans-serif":d,h=e.className,v=["caption1","caption2","p"].includes(r)?"p":r;return iY(pY,{variant:r,align:o,color:a,noWrap:u,weight:f,family:p,children:iY(dY,{as:v,noMargin:s,className:h,lineHeight:l,children:t})})},vY=yE.a(le||(le=Hr(["\n font-family: ",";\n font-size: ",";\n color: ",";\n cursor: pointer;\n\n ","\n"])),Kq["--ll-font-family"],Kq["--ll-font-size-p"],Kq["--ll-color-link"],(function(e){var t=e.lineClamp;return t&&eE(ce||(ce=Hr(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ",";\n "])),t)})),mY=function(e){var t=e.children,n=e.href,r=e.className,o=e.lineClamp;return iY(vY,{target:"_blank",rel:"noreferrer",lineClamp:o,href:n,className:r,children:t})};function gY(){return gY=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},gY.apply(this,arguments)}function yY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,Rn),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,bY.apply(void 0,[o].concat(Wr(t)))]}function bY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}function xY(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function wY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return xY(t,e)}))}}function _Y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback(wY.apply(void 0,t),t)}var EY=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Dn),o=Jr.exports.Children.toArray(n),i=o.find(CY);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(SY,gY({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(SY,gY({},r,{ref:t}),n)}));EY.displayName="Slot";var SY=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Ln);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:wY(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));SY.displayName="SlotClone";var kY=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function CY(e){return Jr.exports.isValidElement(e)&&e.type===kY}var AY=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,Mn),i=r?EY:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,gY({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});var TY=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},PY=Go["useId".toString()]||function(){},OY=0;function RY(e){var t=$r(Jr.exports.useState(PY()),2),n=t[0],r=t[1];return TY((function(){e||r((function(e){return null!=e?e:String(OY++)}))}),[e]),e||(n?"radix-".concat(n):"")}var DY=function(e,t){var n=Jr.exports.createContext(t);function r(e){var t=e.children,r=qr(e,On),o=Jr.exports.useMemo((function(){return r}),Object.values(r));return Jr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Jr.exports.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}("Label",{id:void 0,controlRef:{current:null}}),LY=$r(DY,2),MY=LY[0],NY=LY[1],FY=Jr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=qr(e,Nn),i=Jr.exports.useRef(null),a=Jr.exports.useRef(null),u=_Y(t,a),s=RY(r);return Jr.exports.useEffect((function(){if(n){var e=document.getElementById(n);if(a.current&&e){var t=function(){return e.getAttribute("aria-labelledby")},r=[s,t()].filter(Boolean).join(" ");return e.setAttribute("aria-labelledby",r),i.current=e,function(){var n,r=null===(n=t())||void 0===n?void 0:n.replace(s,"");""===r?e.removeAttribute("aria-labelledby"):r&&e.setAttribute("aria-labelledby",r)}}}}),[s,n]),Jr.exports.createElement(MY,{id:s,controlRef:i},Jr.exports.createElement(AY.span,gY({role:"label",id:s},o,{ref:u,onMouseDown:function(t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()},onClick:function(t){var n;if(null===(n=e.onClick)||void 0===n||n.call(e,t),i.current&&!t.defaultPrevented){var r=i.current.contains(t.target),o=!0===t.isTrusted;!r&&o&&(i.current.click(),i.current.focus())}}})))})),IY=function(e){var t=NY("LabelConsumer"),n=t.controlRef;return Jr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id};yE(FY)(fe||(fe=Hr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),Kq["--ll-font-size-p"],Kq["--ll-font-family"],Kq["--ll-color-placeholder"]);var jY=gE(de||(de=Hr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),zY={small:16,medium:24,large:32},BY=yE.div(pe||(pe=Hr(["\n height: ","px;\n width: ","px;\n border: ","px solid ",";\n border-bottom-color: transparent;\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: "," 1s linear infinite;\n"])),(function(e){var t=e.size;return zY[t]}),(function(e){var t=e.size;return zY[t]}),(function(e){var t=e.size;return zY[t]/6}),Kq["--ll-color-on-surface-variant1"],jY),UY=function(e){var t=e.size;return iY(BY,{size:void 0===t?"medium":t})},VY={primary:{background:Kq["--ll-color-primary"],onBackground:Kq["--ll-color-on-primary"],hover:Kq["--ll-color-primary-variant1"]}},HY=function(e){var t=e.size;return"".concat("small"===t?32:"large"===t?48:40,"px")},qY=eE(he||(he=Hr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return eE(ve||(ve=Hr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),Kq["--ll-color-on-background"])}),HY),YY=eE(me||(me=Hr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(ge||(ge=Hr(["\n background-color: ",";\n color: ",";\n border: 1px solid transparent;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: default;\n }\n "])),VY[n].background,VY[n].onBackground,VY[n].hover,Kq["--ll-color-disabled"])}),HY),GY=eE(ye||(ye=Hr(["\n ",";\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.03);\n }\n\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(be||(be=Hr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),VY[n].background,VY[n].background)}),HY),WY=yE.div(xe||(xe=Hr(["\n display: flex;\n align-items: center;\n margin-right: ",";\n margin-left: calc(-1 * ",");\n"])),Kq["--ll-spacing-x-small"],Kq["--ll-spacing-xx-small"]),KY=yE.button(we||(we=Hr(["\n font-weight: ",";\n border-radius: ",";\n align-items: center;\n justify-content: center;\n cursor: pointer;\n display: inline-flex;\n background: none;\n border: none;\n box-sizing: border-box;\n\n svg {\n fill: currentColor;\n }\n\n ",";\n ",";\n ",";\n ",";\n"])),Kq["--ll-font-weight-normal"],Kq["--ll-border-radius-small"],(function(e){return{contained:YY,outlined:GY,text:qY}[e.variant]}),(function(e){var t=e.size;return"large"===t?"svg { height: 24px; }":"small"===t?"svg { height: 12px }":"svg { height: 20px; }"}),(function(e){var t=e.size;return"font-size: ".concat("small"===t?Kq["--ll-font-size-caption-1"]:Kq["--ll-font-size-p"])}),(function(e){var t=e.size;return"padding: 0 ".concat("small"===t?Kq["--ll-spacing-x-small"]:"large"===t?Kq["--ll-spacing-medium"]:Kq["--ll-spacing-small"])})),XY=Yo.forwardRef((function(e,t){var n=e.children,r=e.disabled,o=void 0!==r&&r,i=e.onClick,a=e.variant,u=void 0===a?"contained":a,s=e.startAdornment,l=e.size,c=void 0===l?"medium":l,f=e.type,d=void 0===f?"button":f,p=e.color,h=e.isLoading,v=e.className;return iY(KY,{variant:u,size:c,onClick:function(e){o||!i||h||i(e)},disabled:o||h,className:v,color:p,type:d,ref:t,children:h?iY(UY,{}):aY(oY,{children:[s&&iY(WY,{children:s}),n]})})}));function ZY(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function QY(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}function $Y(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=QY(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=QY(o),d=Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f]);return[c,d]}function JY(e){var t=Jr.exports.useRef({value:e,previous:e});return Jr.exports.useMemo((function(){return t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous}),[e])}function eG(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return TY((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}XY.displayName="Button",yE.div(_e||(_e=Hr(["\n display: flex;\n flex-direction: column;\n"]))),yE.div(Ee||(Ee=Hr(["\n position: relative;\n"]))),yE(XY)(Se||(Se=Hr(["\n position: absolute;\n right: 0px;\n top: 0px;\n"]))),yE.input(ke||(ke=Hr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 ",";\n height: 30px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n width: calc(100% - ",");\n\n &:focus {\n box-shadow: ",";\n }\n"])),Kq["--ll-border-radius-small"],Kq["--ll-spacing-x-small"],Kq["--ll-font-size-p"],Kq["--ll-font-family"],Kq["--ll-color-on-background"],Kq["--ll-color-background"],Kq["--ll-color-border"],Kq["--ll-spacing-medium"],Kq["--ll-shadow-small"]);var tG="Switch",nG=$r(yY(tG),2),rG=nG[0],oG=(nG[1],$r(rG(tG),2)),iG=oG[0],aG=oG[1],uG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=e["aria-labelledby"],o=e.name,i=e.checked,a=e.defaultChecked,u=e.required,s=e.disabled,l=e.value,c=void 0===l?"on":l,f=e.onCheckedChange,d=qr(e,Fn),p=$r(Jr.exports.useState(null),2),h=p[0],v=p[1],m=_Y(t,(function(e){return v(e)})),g=IY(h),y=r||g,b=Jr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=$r($Y({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Jr.exports.createElement(iG,{scope:n,checked:E,disabled:s},Jr.exports.createElement(AY.button,gY({type:"button",role:"switch","aria-checked":E,"aria-labelledby":y,"aria-required":u,"data-state":cG(E),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:ZY(e.onClick,(function(e){S((function(e){return!e})),x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())}))})),x&&Jr.exports.createElement(lG,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),sG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=qr(e,In),o=aG("SwitchThumb",n);return Jr.exports.createElement(AY.span,gY({"data-state":cG(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),lG=function(e){var t=e.control,n=e.checked,r=e.bubbles,o=void 0===r||r,i=qr(e,jn),a=Jr.exports.useRef(null),u=JY(n),s=eG(t);return Jr.exports.useEffect((function(){var e=a.current,t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(u!==n&&r){var i=new Event("click",{bubbles:o});r.call(e,n),e.dispatchEvent(i)}}),[u,n,o]),Jr.exports.createElement("input",gY({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Zr(Zr(Zr({},e.style),s),{},{position:"absolute",pointerEvents:"none",opacity:0,margin:0})}))};function cG(e){return e?"checked":"unchecked"}var fG=sG;function dG(e,t){var n=$r(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}yE(uG)(Ce||(Ce=Hr(["\n all: unset;\n width: 42px;\n height: 24px;\n background-color: ",';\n border-radius: 13px;\n position: relative;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-state="checked"] {\n background-color: ',";\n }\n"])),Kq["--ll-color-disabled"],Kq["--ll-color-on-background"]),yE(fG)(Ae||(Ae=Hr(["\n display: block;\n width: 18px;\n height: 18px;\n background-color: ",';\n border-radius: 9px;\n transition: transform 100ms;\n transform: translateX(3px);\n will-change: transform;\n\n &[data-state="checked"] {\n transform: translateX(21px);\n }\n'])),Kq["--ll-color-background"]);var pG=Jr.exports.createContext(void 0);function hG(e){var t=e+"CollectionProvider",n=$r(yY(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=_Y(t,u(s,n).collectionRef);return Yo.createElement(EY,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,zn),a=Yo.useRef(null),s=_Y(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(EY,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}var vG=["PageUp","PageDown"],mG=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],gG={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},yG="Slider",bG=$r(hG(yG),3),xG=bG[0],wG=bG[1],_G=bG[2],EG=$r(yY(yG,[_G]),2),SG=EG[0],kG=(EG[1],$r(SG(yG),2)),CG=kG[0],AG=kG[1],TG=Jr.exports.forwardRef((function(e,t){var n=e.name,r=e.min,o=void 0===r?0:r,i=e.max,a=void 0===i?100:i,u=e.step,s=void 0===u?1:u,l=e.orientation,c=void 0===l?"horizontal":l,f=e.disabled,d=void 0!==f&&f,p=e.minStepsBetweenThumbs,h=void 0===p?0:p,v=e.defaultValue,m=void 0===v?[o]:v,g=e.value,y=e.onValueChange,b=void 0===y?function(){}:y,x=qr(e,Bn),w=$r(Jr.exports.useState(null),2),_=w[0],E=w[1],S=_Y(t,(function(e){return E(e)})),k=Jr.exports.useRef(new Set),C=Jr.exports.useRef(0),A="horizontal"===c,T=!_||Boolean(_.closest("form")),P=A?DG:LG,O=$Y({prop:g,defaultProp:m,onChange:function(e){var t;null===(t=Wr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=$r(O,2),D=R[0],L=void 0===D?[]:D,M=R[1];function N(e,t){var n=function(e){return(String(e).split(".")[1]||"").length}(s),r=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-o)/s)*s+o,n),i=dG(r,[o,a]);M((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=VG(e,i,t);return qG(n,h*s)?(C.current=n.indexOf(i),String(n)===String(e)?e:n):e}))}return Jr.exports.createElement(CG,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Jr.exports.createElement(xG.Provider,{scope:e.__scopeSlider},Jr.exports.createElement(xG.Slot,{scope:e.__scopeSlider},Jr.exports.createElement(P,gY({"aria-disabled":d,"data-disabled":d?"":void 0},x,{ref:S,min:o,max:a,onSlideStart:d?void 0:function(e){var t=function(e,t){if(1===e.length)return 0;var n=e.map((function(e){return Math.abs(e-t)})),r=Math.min.apply(Math,Wr(n));return n.indexOf(r)}(L,e);N(e,t)},onSlideMove:d?void 0:function(e){N(e,C.current)},onHomeKeyDown:function(){return!d&&N(o,0)},onEndKeyDown:function(){return!d&&N(a,L.length-1)},onStepKeyDown:function(e){var t=e.event,n=e.direction;if(!d){var r=vG.includes(t.key)||t.shiftKey&&mG.includes(t.key)?10:1,o=C.current;N(L[o]+s*r*n,o)}}})))),T&&L.map((function(e,t){return Jr.exports.createElement(UG,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),PG=$r(SG(yG,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),OG=PG[0],RG=PG[1],DG=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.dir,i=e.onSlideStart,a=e.onSlideMove,u=e.onStepKeyDown,s=qr(e,Un),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=_Y(t,(function(e){return f(e)})),p=Jr.exports.useRef(),h=function(e){var t=Jr.exports.useContext(pG);return e||t||"ltr"}(o),v="ltr"===h;function m(e){var t=p.current||c.getBoundingClientRect(),o=YG([0,t.width],v?[n,r]:[r,n]);return p.current=t,o(e-t.left)}return Jr.exports.createElement(OG,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Jr.exports.createElement(MG,gY({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Zr(Zr({},s.style),{},Qr({},"--radix-slider-thumb-transform","translateX(-50%)")),onSlideStart:function(e){var t=m(e.clientX);null==i||i(t)},onSlideMove:function(e){var t=m(e.clientX);null==a||a(t)},onSlideEnd:function(){return p.current=void 0},onStepKeyDown:function(e){var t=gG[h].includes(e.key);null==u||u({event:e,direction:t?-1:1})}})))})),LG=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=qr(e,Vn),s=Jr.exports.useRef(null),l=_Y(t,s),c=Jr.exports.useRef();function f(e){var t=c.current||s.current.getBoundingClientRect(),o=YG([0,t.height],[r,n]);return c.current=t,o(e-t.top)}return Jr.exports.createElement(OG,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Jr.exports.createElement(MG,gY({"data-orientation":"vertical"},u,{ref:l,style:Zr(Zr({},u.style),{},Qr({},"--radix-slider-thumb-transform","translateY(50%)")),onSlideStart:function(e){var t=f(e.clientY);null==o||o(t)},onSlideMove:function(e){var t=f(e.clientY);null==i||i(t)},onSlideEnd:function(){return c.current=void 0},onStepKeyDown:function(e){var t=gG.ltr.includes(e.key);null==a||a({event:e,direction:t?-1:1})}})))})),MG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.onSlideStart,o=e.onSlideMove,i=e.onSlideEnd,a=e.onHomeKeyDown,u=e.onEndKeyDown,s=e.onStepKeyDown,l=qr(e,Hn),c=AG(yG,n);return Jr.exports.createElement(AY.span,gY({},l,{ref:t,onKeyDown:ZY(e.onKeyDown,(function(e){"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):vG.concat(mG).includes(e.key)&&(s(e),e.preventDefault())})),onPointerDown:ZY(e.onPointerDown,(function(e){var t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)})),onPointerMove:ZY(e.onPointerMove,(function(e){e.target.hasPointerCapture(e.pointerId)&&o(e)})),onPointerUp:ZY(e.onPointerUp,(function(e){var t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(e))}))}))})),NG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=qr(e,qn),o=AG("SliderTrack",n);return Jr.exports.createElement(AY.span,gY({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),FG="SliderRange",IG=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=qr(e,Yn),i=AG(FG,r),a=RG(FG,r),u=_Y(t,Jr.exports.useRef(null)),s=i.values.length,l=i.values.map((function(e){return HG(e,i.min,i.max)})),c=s>1?Math.min.apply(Math,Wr(l)):0,f=100-Math.max.apply(Math,Wr(l));return Jr.exports.createElement(AY.span,gY({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Zr(Zr({},e.style),{},(n={},Qr(n,a.startEdge,c+"%"),Qr(n,a.endEdge,f+"%"),n))}))})),jG="SliderThumb",zG=Jr.exports.forwardRef((function(e,t){var n=wG(e.__scopeSlider),r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1],a=_Y(t,(function(e){return i(e)})),u=Jr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Jr.exports.createElement(BG,gY({},e,{ref:a,index:u}))})),BG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=qr(e,Gn),i=AG(jG,n),a=RG(jG,n),u=$r(Jr.exports.useState(null),2),s=u[0],l=u[1],c=_Y(t,(function(e){return l(e)})),f=eG(s),d=i.values[r],p=void 0===d?0:HG(d,i.min,i.max),h=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(r,i.values.length),v=null==f?void 0:f[a.size],m=v?function(e,t,n){var r=e/2,o=YG([0,50],[0,r]);return(r-o(t)*n)*n}(v,p,a.direction):0;return Jr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Jr.exports.createElement("span",{style:Qr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Jr.exports.createElement(xG.ItemSlot,{scope:e.__scopeSlider},Jr.exports.createElement(AY.span,gY({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:c,style:void 0===d?{display:"none"}:e.style,onFocus:ZY(e.onFocus,(function(){i.valueIndexToChangeRef.current=r}))}))))})),UG=function(e){var t=e.value,n=qr(e,Wn),r=Jr.exports.useRef(null),o=JY(t);return Jr.exports.useEffect((function(){var e=r.current,n=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(n,"value").set;if(o!==t&&i){var a=new Event("input",{bubbles:!0});i.call(e,t),e.dispatchEvent(a)}}),[o,t]),Jr.exports.createElement("input",gY({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function VG(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Wr(e);return r[n]=t,r.sort((function(e,t){return e-t}))}function HG(e,t,n){return 100/(n-t)*(e-t)}function qG(e,t){if(t>0){var n=function(e){return e.slice(0,-1).map((function(t,n){return e[n+1]-t}))}(e);return Math.min.apply(Math,Wr(n))>=t}return!0}function YG(e,t){return function(n){if(e[0]===e[1]||t[0]===t[1])return t[0];var r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var GG=TG,WG=NG,KG=IG,XG=zG;yE.div(Te||(Te=Hr([""]))),yE.div(Pe||(Pe=Hr(["\n display: flex;\n align-items: center;\n"]))),yE(GG)(Oe||(Oe=Hr(["\n position: relative;\n display: flex;\n align-items: center;\n user-select: none;\n touch-action: none;\n height: 20;\n flex: 1;\n"]))),yE(XG)(Re||(Re=Hr(["\n all: unset;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n display: block;\n background-color: ",";\n box-shadow: ",";\n"])),Kq["--ll-color-primary"],Kq["--ll-shadow-medium"]),yE(WG)(De||(De=Hr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),Kq["--ll-color-surface-variant1"]),yE(KG)(Le||(Le=Hr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),Kq["--ll-color-primary"]);var ZG=yE.div(Me||(Me=Hr(["\n margin: ",";\n flex-shrink: 0;\n"])),(function(e){return function(e){var t=e.vertical,n=e.spacing,r=Kq[n];return t?"".concat(r," 0 0 0"):"0 ".concat(r," 0 0")}(e)})),QG=function(e){var t=e.vertical,n=void 0!==t&&t,r=e.spacing;return iY(ZG,{vertical:n,spacing:void 0===r?"--ll-spacing-auto":r})};var $G,JG="dismissableLayer.update",eW="dismissableLayer.pointerDownOutside",tW="dismissableLayer.focusOutside",nW=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rW=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,Kn),c=Jr.exports.useContext(nW),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=_Y(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=QY(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){iW(eW,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=QY(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&iW(tW,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=QY(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&($G=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),oW(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=$G)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),oW())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(JG,e),function(){return document.removeEventListener(JG,e)}}),[]),Jr.exports.createElement(AY.div,gY({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:ZY(e.onFocusCapture,E.onFocusCapture),onBlurCapture:ZY(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:ZY(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function oW(){var e=new CustomEvent(JG);document.dispatchEvent(e)}function iW(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var aW=0;function uW(){Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:sW()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:sW()),aW++,function(){1===aW&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),aW--}}),[])}function sW(){var 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}var lW="focusScope.autoFocusOnMount",cW="focusScope.autoFocusOnUnmount",fW={bubbles:!1,cancelable:!0},dW=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,Xn),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=QY(a),p=QY(u),h=Jr.exports.useRef(null),v=_Y(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:gW(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||gW(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){yW.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(lW,fW);c.addEventListener(lW,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if(gW(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(pW(c)),{select:!0}),document.activeElement===e&&gW(c))}return function(){c.removeEventListener(lW,d),setTimeout((function(){var t=new CustomEvent(cW,fW);c.addEventListener(cW,p),c.dispatchEvent(t),t.defaultPrevented||gW(null!=e?e:document.body,{select:!0}),c.removeEventListener(cW,p),yW.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=pW(e),n=hW(t,e),r=hW(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&gW(l,{select:!0})):(e.preventDefault(),r&&gW(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(AY.div,gY({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function pW(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function hW(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!vW(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function vW(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function mW(e){return e instanceof HTMLInputElement&&"select"in e}function gW(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&mW(e)&&r&&e.select()}}var yW=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=bW(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=bW(e,t))[0])||void 0===n||n.resume()}}}();function bW(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function xW(e){return e.split("-")[0]}function wW(e){return e.split("-")[1]}function _W(e){return["top","bottom"].includes(xW(e))?"x":"y"}function EW(e){return"y"===e?"height":"width"}function SW(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=_W(t),l=EW(s),c=o[l]/2-i[l]/2,f="x"===s;switch(xW(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(wW(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var kW=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=SW(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=SW(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function CW(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function AW(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function TW(e,t){return PW.apply(this,arguments)}function PW(){return PW=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=CW(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=AW,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=AW,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),PW.apply(this,arguments)}var OW=Math.min,RW=Math.max;function DW(e,t,n){return RW(e,OW(t,n))}var LW=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=CW(s),v={x:l,y:c},m=_W(f),g=wW(f),y=EW(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=DW(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},MW={left:"right",right:"left",bottom:"top",top:"bottom"};function NW(e){return e.replace(/left|right|bottom|top/g,(function(e){return MW[e]}))}function FW(e,t,n){void 0===n&&(n=!1);var r=wW(e),o=_W(e),i=EW(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=NW(a)),{main:a,cross:NW(a)}}var IW={start:"end",end:"start"};function jW(e){return e.replace(/start|end/g,(function(e){return IW[e]}))}var zW=["top","right","bottom","left"];function BW(e){var t=NW(e);return[jW(e),t,jW(t)]}var UW=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,Zn),w=xW(o),_=v||(w!==u&&b?BW(u):[NW(u)]),E=[u].concat(Wr(_)),n.next=22,TW(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=FW,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function VW(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function HW(e){return zW.some((function(t){return e[t]>=0}))}var qW=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,Qn);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,TW(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=VW(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:HW(a)}});case 9:return t.next=11,TW(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=VW(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:HW(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function YW(e,t){return GW.apply(this,arguments)}function GW(){return GW=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=xW(r),s=wW(r),l="x"===_W(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),GW.apply(this,arguments)}var WW=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,YW(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function KW(e){return"x"===e?"y":"x"}var XW=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,$n),v={x:o,y:i},n.next=14,TW(t,h);case 14:return m=n.sent,g=_W(xW(a)),y=KW(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=DW(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=DW(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},ZW=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=_W(i),g=KW(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(xW(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function QW(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function $W(e){if(null==e)return window;if(!QW(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function JW(e){return $W(e).getComputedStyle(e)}function eK(e){return QW(e)?"":e?(e.nodeName||"").toLowerCase():""}function tK(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function nK(e){return e instanceof $W(e).HTMLElement}function rK(e){return e instanceof $W(e).Element}function oK(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof $W(e).ShadowRoot||e instanceof ShadowRoot)}function iK(e){var t=JW(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function aK(e){return["table","td","th"].includes(eK(e))}function uK(e){var t=/firefox/i.test(tK()),n=JW(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function sK(){return!/^((?!chrome|android).)*safari/i.test(tK())}var lK=Math.min,cK=Math.max,fK=Math.round;function dK(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&nK(e)&&(s=e.offsetWidth>0&&fK(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&fK(u.height)/e.offsetHeight||1);var c=rK(e)?$W(e):window,f=!sK()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function pK(e){return((function(e){return e instanceof $W(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function hK(e){return rK(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vK(e){return dK(pK(e)).left+hK(e).scrollLeft}function mK(e,t,n){var r=nK(t),o=pK(t),i=dK(e,r&&function(e){var t=dK(e);return fK(t.width)!==e.offsetWidth||fK(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==eK(t)||iK(o))&&(a=hK(t)),nK(t)){var s=dK(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=vK(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function gK(e){return"html"===eK(e)?e:e.assignedSlot||e.parentNode||(oK(e)?e.host:null)||pK(e)}function yK(e){return nK(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function bK(e){for(var t=$W(e),n=yK(e);n&&aK(n)&&"static"===getComputedStyle(n).position;)n=yK(n);return n&&("html"===eK(n)||"body"===eK(n)&&"static"===getComputedStyle(n).position&&!uK(n))?t:n||function(e){var t=gK(e);for(oK(t)&&(t=t.host);nK(t)&&!["html","body"].includes(eK(t));){if(uK(t))return t;t=t.parentNode}return null}(e)||t}function xK(e){if(nK(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=dK(e);return{width:t.width,height:t.height}}function wK(e){var t=gK(e);return["html","body","#document"].includes(eK(t))?e.ownerDocument.body:nK(t)&&iK(t)?t:wK(t)}function _K(e,t){var n;void 0===t&&(t=[]);var r=wK(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=$W(r),a=o?[i].concat(i.visualViewport||[],iK(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(_K(a))}function EK(e,t,n){return"viewport"===t?AW(function(e,t){var n=$W(e),r=pK(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=sK();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):rK(t)?function(e,t){var n=dK(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):AW(function(e){var t,n=pK(e),r=hK(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=cK(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cK(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+vK(e),s=-r.scrollTop;return"rtl"===JW(o||n).direction&&(u+=cK(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(pK(e)))}function SK(e){var t=_K(e),n=["absolute","fixed"].includes(JW(e).position)&&nK(e)?bK(e):e;return rK(n)?t.filter((function(e){return rK(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&oK(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==eK(e)})):[]}var kK={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?SK(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=EK(t,n,o);return e.top=cK(r.top,e.top),e.right=lK(r.right,e.right),e.bottom=lK(r.bottom,e.bottom),e.left=cK(r.left,e.left),e}),EK(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=nK(n),i=pK(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==eK(n)||iK(i))&&(a=hK(n)),nK(n))){var s=dK(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:rK,getDimensions:xK,getOffsetParent:bK,getDocumentElement:pK,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:mK(t,bK(n),r),floating:Zr(Zr({},xK(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===JW(e).direction}};function CK(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(rK(e)?_K(e):[]),Wr(_K(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),rK(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?dK(e):null;return d&&function t(){var r=dK(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var AK=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function TK(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!TK(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||TK(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function PK(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return AK((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];TK(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return kW(e,t,Zr({platform:kK},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);AK((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);AK((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var OK=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?LW({element:t.current,padding:n}).fn(e):{}:t?LW({element:t,padding:n}).fn(e):{}}}},RK=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,Jn);return Jr.exports.createElement(AY.svg,gY({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),DK=RK,LK="Popper",MK=$r(yY(LK),2),NK=MK[0],FK=MK[1],IK=$r(NK(LK),2),jK=(IK[0],IK[1]),zK=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,er),i=jK("PopperAnchor",n),a=Jr.exports.useRef(null),u=_Y(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(AY.div,gY({},o,{ref:u}))})),BK="PopperContent",UK=$r(NK(BK),2),VK=UK[0],HK=UK[1],qK=$r(NK(BK,{hasParent:!1,positionUpdateFns:new Set}),2),YK=qK[0],GK=qK[1],WK=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,tr),D=jK(BK,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=_Y(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=eG(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(QK),altBoundary:G},K=PK({strategy:"fixed",placement:H,whileElementsMounted:CK,middleware:[WW({mainAxis:h+V,alignmentAxis:y}),O?XW(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?ZW():void 0},W)):void 0,j?OK({element:j,padding:x}):void 0,O?UW(Zr({},W)):void 0,$K({arrowWidth:U,arrowHeight:V}),T?qW({strategy:"referenceHidden"}):void 0].filter(ZK)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;TY((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(JK(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];TY((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=GK(BK,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(VK,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(YK,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(AY.div,ge)):Jr.exports.createElement(AY.div,ge)))})),KK={top:"bottom",right:"left",bottom:"top",left:"right"},XK=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,nr),i=HK("PopperArrow",r),a=KK[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(DK,gY({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function ZK(e){return void 0!==e}function QK(e){return null!==e}var $K=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(JK(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function JK(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var eX=zK,tX=WK,nX=XK,rX=Jr.exports.forwardRef((function(e,t){var n,r=e.container,o=void 0===r?null==globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body:r,i=qr(e,rr);return o?Jv.createPortal(Jr.exports.createElement(AY.div,gY({},i,{ref:t})),o):null}));var oX=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=iX(o.current);a.current="mounted"===s?e:"none"}),[s]),TY((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=iX(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),TY((function(){if(n){var e=function(e){var t=iX(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=iX(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=_Y(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function iX(e){return(null==e?void 0:e.animationName)||"none"}oX.displayName="Presence";var aX=new WeakMap,uX=new WeakMap,sX={},lX=0,cX=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];sX[n]||(sX[n]=new WeakMap);var i=sX[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=(aX.get(t)||0)+1,c=(i.get(t)||0)+1;aX.set(t,l),i.set(t,c),a.push(t),1===l&&s&&uX.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),lX++,function(){a.forEach((function(e){var t=aX.get(e)-1,o=i.get(e)-1;aX.set(e,t),i.set(e,o),t||(uX.has(e)||e.removeAttribute(r),uX.delete(e)),o||e.removeAttribute(n)})),--lX||(aX=new WeakMap,aX=new WeakMap,uX=new WeakMap,sX={})}}(r,o,n,"aria-hidden")):function(){return null}},fX=function(){return fX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},fX.apply(this,arguments)};function dX(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var pX="right-scroll-bar-position",hX="width-before-scroll-bar";function vX(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function mX(e){return e}var gX=function(e){var t=e.sideCar,n=dX(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 iY(r,Zr({},fX({},n)))};gX.isSideCarExport=!0;var yX=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=mX);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=fX({async:!0,ssr:!1},e),t}(),bX=function(){},xX=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:bX,onWheelCapture:bX,onTouchMoveCapture:bX}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=dX(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=vX([n,t]),w=fX(fX({},y),o);return aY(oY,{children:[c&&iY(b,{sideCar:yX,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),fX(fX({},w),{ref:x})):iY(g,Zr(Zr({},fX({},w,{className:s,ref:x})),{},{children:u}))]})}));xX.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xX.classNames={fullWidth:hX,zeroRight:pX};function wX(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var _X=function(){var e=0,t=null;return{add:function(n){0==e&&(t=wX())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},EX=function(){var e=function(){var e=_X();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},SX={left:0,top:0,right:0,gap:0},kX=function(e){return parseInt(e||"",10)||0},CX=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return SX;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[kX(n),kX(r),kX(o)]}(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])}},AX=EX(),TX=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(pX," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(hX," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(pX," .").concat(pX," {\n right: 0 ").concat(r,";\n }\n \n .").concat(hX," .").concat(hX," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},PX=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return CX(o)}),[o]);return iY(AX,{styles:TX(i,!t,o,n?"":"!important")})},OX=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var RX=Object.defineProperty({},"passive",{get:function(){return OX=!0,!0}});window.addEventListener("test",RX,RX),window.removeEventListener("test",RX,RX)}catch(c5){OX=!1}var DX=!!OX&&{passive:!1},LX=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),MX(e,n)){var r=NX(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},MX=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},NX=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},FX=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},IX=function(e){return[e.deltaX,e.deltaY]},jX=function(e){return e&&"current"in e?e.current:e},zX=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},BX=0,UX=[];var VX=function(e,t){return e.useMedium(t),gX}(yX,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(BX++)[0],i=Jr.exports.useState((function(){return EX()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(jX),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=FX(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=LX(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=LX(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=NX(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&MX(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(UX.length&&UX[UX.length-1]===i){var r="deltaY"in n?IX(n):FX(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(jX).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=FX(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,IX(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,FX(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return UX.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,DX),document.addEventListener("touchmove",s,DX),document.addEventListener("touchstart",c,DX),function(){UX=UX.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,DX),document.removeEventListener("touchmove",s,DX),document.removeEventListener("touchstart",c,DX)}}),[]);var p=e.removeScrollBar,h=e.inert;return aY(oY,{children:[h?iY(i,{styles:zX(o)}):null,p?iY(PX,{gapMode:"margin"}):null]})})),HX=Jr.exports.forwardRef((function(e,t){return iY(xX,Zr({},fX({},e,{ref:t,sideCar:VX})))}));HX.classNames=xX.classNames;var qX=HX,YX="Popover",GX=$r(yY(YX,[FK]),2),WX=GX[0],KX=(GX[1],FK()),XX=$r(WX(YX),2),ZX=(XX[0],XX[1]),QX=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,or),o=ZX("PopoverTrigger",n),i=KX(n),a=_Y(t,o.triggerRef),u=Jr.exports.createElement(AY.button,gY({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":aZ(o.open)},r,{ref:a,onClick:ZY(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(eX,gY({asChild:!0},i),u)})),$X=$r(WX("PopoverPortal",{forceMount:void 0}),2),JX=($X[0],$X[1]),eZ="PopoverContent",tZ=Jr.exports.forwardRef((function(e,t){var n=JX(eZ,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,ir),a=ZX(eZ,e.__scopePopover);return Jr.exports.createElement(oX,{present:o||a.open},a.modal?Jr.exports.createElement(nZ,gY({},i,{ref:t})):Jr.exports.createElement(rZ,gY({},i,{ref:t})))})),nZ=Jr.exports.forwardRef((function(e,t){var n=ZX(eZ,e.__scopePopover),r=Jr.exports.useRef(null),o=_Y(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return cX(e)}),[]),Jr.exports.createElement(qX,{as:EY,allowPinchZoom:!0},Jr.exports.createElement(oZ,gY({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ZY(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:ZY(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:ZY(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),rZ=Jr.exports.forwardRef((function(e,t){var n=ZX(eZ,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement(oZ,gY({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;null!==(i=n.triggerRef.current)&&void 0!==i&&i.contains(a)&&t.preventDefault()}}))})),oZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,ar),d=ZX(eZ,n),p=KX(n);return uW(),Jr.exports.createElement(dW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(rW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(tX,gY({"data-state":aZ(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),iZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,ur),o=KX(n);return Jr.exports.createElement(nX,gY({},o,r,{ref:t}))}));function aZ(e){return e?"open":"closed"}var uZ=tZ,sZ=iZ;yE(QX)(Ne||(Ne=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),yE(uZ)(Fe||(Fe=Hr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),Kq["--ll-border-radius-small"],Kq["--ll-shadow-small"],Kq["--ll-spacing-medium"]),yE(sZ)(Ie||(Ie=Hr(["\n fill: ",";\n"])),Kq["--ll-color-background"]);var lZ={primary:{background:Kq["--ll-color-primary"],onBackground:Kq["--ll-color-on-primary"],hover:Kq["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:Kq["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:Kq["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},cZ={small:24,medium:32,large:48};yE.button(je||(je=Hr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return eE(ze||(ze=Hr(["\n border: none;\n background-color: ",";\n color: ",";\n border-radius: 50%;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n cursor: default;\n background-color: rgba(0, 0, 0, 0.1);\n color: ",";\n }\n "])),lZ[n].background,lZ[n].onBackground,cZ[o],cZ[o],lZ[n].hover,Kq["--ll-color-on-background-variant1"])}));var fZ=gE(Ue||(Ue=Hr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"])));yE.div(Ve||(Ve=Hr(["\n border-radius: ",";\n animation: "," 2s linear infinite;\n background: linear-gradient(\n to right,\n /* NOTE: 99.9% of the time we should use colours from theme, since these are\n CSS vars that can be overriden. */\n "," 4%,\n "," 25%,\n "," 36%\n );\n background-size: 800px 100%;\n ","\n"])),Kq["--ll-border-radius-medium"],fZ,Kq["--ll-color-surface-variant1"],Kq["--ll-color-surface-variant2"],Kq["--ll-color-surface-variant1"],(function(e){var t=e.height,n=e.width;return eE(Be||(Be=Hr(["\n height: ",";\n width: ",";\n "])),t,n)})),yE.div(He||(He=Hr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),yE.div(qe||(qe=Hr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var dZ=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(AY.span,gY({},e,{ref:t,style:Zr({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"},e.style)}))})),pZ=[" ","Enter","ArrowUp","ArrowDown"],hZ=[" ","Enter"],vZ="Select",mZ=$r(hG(vZ),3),gZ=mZ[0],yZ=mZ[1],bZ=$r(yY(vZ,[mZ[2]]),2),xZ=bZ[0],wZ=(bZ[1],$r(xZ(vZ),2)),_Z=(wZ[0],wZ[1]);xZ(vZ);var EZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=qr(e,sr),u=_Z("SelectTrigger",n),s=_Y(t,u.onTriggerChange),l=yZ(n),c=IY(u.trigger),f=i||c,d=BZ((function(e){var t=l().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.value===u.value})),r=UZ(t,e,n);void 0!==r&&u.onValueChange(r.value)})),p=$r(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Jr.exports.createElement(AY.button,gY({type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-autocomplete":"none","aria-labelledby":f,dir:u.dir,"data-state":u.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":void 0===u.value?"":void 0},a,{ref:s,onPointerDown:ZY(a.onPointerDown,(function(e){e.target.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:ZY(a.onKeyDown,(function(e){var t=""!==h.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&v(e.key),(!t||" "!==e.key)&&pZ.includes(e.key)&&(g(),e.preventDefault())}))}))})),SZ=Jr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=qr(e,lr);return Jr.exports.createElement(AY.span,gY({"aria-hidden":!0},r,{ref:t}),n||"▼")})),kZ="SelectContent",CZ=Jr.exports.forwardRef((function(e,t){var n=_Z(kZ,e.__scopeSelect),r=$r(Jr.exports.useState(),2),o=r[0],i=r[1];return TY((function(){i(new DocumentFragment)}),[]),Jr.exports.createElement(Jr.exports.Fragment,null,n.open?Jr.exports.createElement(RZ,gY({},e,{ref:t})):o?Ko.exports.createPortal(Jr.exports.createElement(PZ,{scope:e.__scopeSelect},Jr.exports.createElement(gZ.Slot,{scope:e.__scopeSelect},Jr.exports.createElement("div",null,e.children))),o):null)})),AZ=10,TZ=$r(xZ(kZ),2),PZ=TZ[0],OZ=TZ[1],RZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=qr(e,cr),i=_Z(kZ,n),a=$r(Jr.exports.useState(null),2),u=a[0],s=a[1],l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=$r(Jr.exports.useState(null),2),p=d[0],h=d[1],v=_Y(t,(function(e){return f(e)})),m=$r(Jr.exports.useState(null),2),g=m[0],y=m[1],b=$r(Jr.exports.useState(null),2),x=b[0],w=b[1],_=yZ(n),E=$r(Jr.exports.useState(!1),2),S=E[0],k=E[1],C=Jr.exports.useRef(!0),A=Jr.exports.useRef(!1),T=Jr.exports.useRef(!1);Jr.exports.useEffect((function(){if(c)return cX(c)}),[c]),uW();var P=$r(Jr.exports.useState(),2),O=P[0],R=P[1];TY((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Jr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=zr(n),o=r[0],i=$r(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=vo(e);try{for(u.s();!(t=u.n()).done;){var s=t.value;if(s===a||(null==s||s.scrollIntoView({block:"nearest"}),s===o&&p&&(p.scrollTop=0),s===i&&p&&(p.scrollTop=p.scrollHeight),null==s||s.focus(),document.activeElement!==a))return}}catch(l){u.e(l)}finally{u.f()}}),[_,p]),L=Jr.exports.useCallback((function(){if(i.trigger&&i.valueNode&&u&&c&&p&&g&&x){var e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==i.dir){var o=r.left-t.left,a=n.left-o,s=e.left-a,l=e.width+s,f=Math.max(l,t.width),d=window.innerWidth-AZ,h=dG(a,[AZ,d-f]);u.style.minWidth=l+"px",u.style.left=h+"px"}else{var v=t.right-r.right,m=window.innerWidth-n.right-v,y=window.innerWidth-e.right-m,b=e.width+y,w=Math.max(b,t.width),E=window.innerWidth-AZ,S=dG(m,[AZ,E-w]);u.style.minWidth=b+"px",u.style.right=S+"px"}var C=_(),T=window.innerHeight-20,P=p.scrollHeight,O=window.getComputedStyle(c),R=parseInt(O.borderTopWidth,10),D=parseInt(O.paddingTop,10),L=parseInt(O.borderBottomWidth,10),M=R+D+P+parseInt(O.paddingBottom,10)+L,N=Math.min(5*g.offsetHeight,M),F=window.getComputedStyle(p),I=parseInt(F.paddingTop,10),j=parseInt(F.paddingBottom,10),z=e.top+e.height/2-AZ,B=T-z,U=g.offsetHeight/2,V=R+D+(g.offsetTop+U),H=M-V;if(V<=z){var q=g===C[C.length-1].ref.current;u.style.bottom="0px";var Y=c.clientHeight-p.offsetTop-p.offsetHeight,G=V+Math.max(B,U+(q?j:0)+Y+L);u.style.height=G+"px"}else{var W=g===C[0].ref.current;u.style.top="0px";var K=Math.max(z,R+p.offsetTop+(W?I:0)+U)+H;u.style.height=K+"px",p.scrollTop=V-z+p.offsetTop}u.style.margin="".concat(AZ,"px 0"),u.style.minHeight=N+"px",u.style.maxHeight=T+"px",k(!0),requestAnimationFrame((function(){return A.current=!0}))}}),[_,i.trigger,i.valueNode,u,c,p,g,x,i.dir]);TY((function(){return L()}),[L]);var M=Jr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Jr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Jr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Jr.exports.useEffect((function(){if(c){var e={x:0,y:0},t=function(t){var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=I.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=I.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=function(n){e.x<=10&&e.y<=10?n.preventDefault():c.contains(n.target)||F(!1),document.removeEventListener("pointermove",t),I.current=null};return null!==I.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),function(){document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[c,F,I]),Jr.exports.useEffect((function(){var e=function(){return F(!1)};return window.addEventListener("blur",e),window.addEventListener("resize",e),function(){window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[F]);var j=BZ((function(e){var t=_().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.ref.current===document.activeElement})),r=UZ(t,e,n);r&&setTimeout((function(){return r.ref.current.focus()}))})),z=$r(j,2),B=z[0],U=z[1],V=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&(y(e),r&&(T.current=!0))}),[i.value]),H=Jr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Jr.exports.createElement(PZ,{scope:n,contentWrapper:u,content:c,viewport:p,onViewportChange:h,itemRefCallback:V,selectedItem:g,onItemLeave:H,itemTextRefCallback:q,selectedItemText:x,onScrollButtonChange:N,isPositioned:S,shouldExpandOnScrollRef:A,searchRef:B},Jr.exports.createElement(qX,{as:EY,allowPinchZoom:!0},Jr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Jr.exports.createElement(dW,{asChild:!0,trapped:i.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:ZY(r,(function(e){var t;null===(t=i.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},Jr.exports.createElement(rW,gY({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:function(e){return e.preventDefault()}},o,{ref:v,style:Zr({display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none"},o.style),disableOutsidePointerEvents:!0,onFocusOutside:function(e){return e.preventDefault()},onDismiss:function(){return i.onOpenChange(!1)},onKeyDown:ZY(o.onKeyDown,(function(e){var t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){var n=_().filter((function(e){return!e.disabled})).map((function(e){return e.ref.current}));if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){var r=e.target,o=n.indexOf(r);n=n.slice(o+1)}setTimeout((function(){return D(n)})),e.preventDefault()}}))}))))))})),DZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,fr),o=OZ("SelectViewport",n),i=_Y(t,o.onViewportChange),a=Jr.exports.useRef(0);return Jr.exports.createElement(Jr.exports.Fragment,null,Jr.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),Jr.exports.createElement(gZ.Slot,{scope:n},Jr.exports.createElement(AY.div,gY({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Zr({position:"relative",flex:1,overflow:"auto"},r.style),onScroll:ZY(r.onScroll,(function(e){var t=e.currentTarget,n=o.contentWrapper,r=o.shouldExpandOnScrollRef;if(null!=r&&r.current&&n){var i=Math.abs(a.current-t.scrollTop);if(i>0){var u=window.innerHeight-20,s=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),c=Math.max(s,l);if(c<u){var f=c+i,d=Math.min(u,f),p=f-d;n.style.height=d+"px","0px"===n.style.bottom&&(t.scrollTop=p>0?p:0,n.style.justifyContent="flex-end")}}}a.current=t.scrollTop}))}))))}));xZ("SelectGroup");var LZ="SelectItem",MZ=$r(xZ(LZ),2),NZ=MZ[0],FZ=MZ[1],IZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=qr(e,dr),s=_Z(LZ,n),l=OZ(LZ,n),c=s.value===r,f=$r(Jr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=$r(Jr.exports.useState(!1),2),v=h[0],m=h[1],g=_Y(t,(function(e){var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)})),y=RY(),b=function(){i||(s.onValueChange(r),s.onOpenChange(!1))};return Jr.exports.createElement(NZ,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Jr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Jr.exports.createElement(gZ.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Jr.exports.createElement(AY.div,gY({role:"option","aria-labelledby":y,"data-highlighted":v?"":void 0,"aria-selected":c&&v,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},u,{ref:g,onFocus:ZY(u.onFocus,(function(){return m(!0)})),onBlur:ZY(u.onBlur,(function(){return m(!1)})),onPointerUp:ZY(u.onPointerUp,b),onPointerMove:ZY(u.onPointerMove,(function(e){var t;i?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:ZY(u.onPointerLeave,(function(e){var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:ZY(u.onKeyDown,(function(e){var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(hZ.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),jZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,pr);return FZ("SelectItemIndicator",n).isSelected?Jr.exports.createElement(AY.span,gY({"aria-hidden":!0},r,{ref:t})):null})),zZ=Jr.exports.forwardRef((function(e,t){var n=e.value,r=qr(e,hr),o=Jr.exports.useRef(null),i=_Y(t,o),a=JY(n);return Jr.exports.useEffect((function(){var e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){var i=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(i)}}),[a,n]),Jr.exports.createElement(dZ,{asChild:!0},Jr.exports.createElement("select",gY({},r,{ref:i,defaultValue:n})))}));function BZ(e){var t=QY(e),n=Jr.exports.useRef(""),r=Jr.exports.useRef(0),o=Jr.exports.useCallback((function(e){var o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((function(){return e("")}),1e3))}(o)}),[t]),i=Jr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Jr.exports.useEffect((function(){return function(){return window.clearTimeout(r.current)}}),[]),[n,o,i]}function UZ(e,t,n){var r=t.length>1&&Array.from(t).every((function(e){return e===t[0]}))?t[0]:t,o=n?e.indexOf(n):-1,i=function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(e,Math.max(o,0));1===r.length&&(i=i.filter((function(e){return e!==n})));var a=i.find((function(e){return e.textValue.toLowerCase().startsWith(r.toLowerCase())}));return a!==n?a:void 0}zZ.displayName="BubbleSelect";var VZ=function(e){return Jr.exports.createElement(rX,gY({asChild:!0},e))},HZ=CZ,qZ=DZ,YZ=IZ,GZ=jZ;yE(EZ)(Ye||(Ye=Hr(["\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n color: ",";\n padding: "," ","\n "," ",";\n flex: 1;\n height: ",";\n font-size: ",";\n"])),Kq["--ll-color-background"],Kq["--ll-border-radius-small"],Kq["--ll-color-border"],Kq["--ll-color-on-background-variant1"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-x-small"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-small"],(function(e){return"medium"===e.size?"32px":"40px"}),(function(e){return"medium"===e.size?Kq["--ll-font-size-p"]:Kq["--ll-font-size-h6"]})),yE(SZ)(Ge||(Ge=Hr(["\n margin-left: ",";\n"])),Kq["--ll-spacing-x-small"]),yE(HZ)(We||(We=Hr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 2;\n font-size: ",";\n"])),Kq["--ll-color-background"],Kq["--ll-border-radius-small"],Kq["--ll-shadow-medium"],(function(e){return"medium"===e.size?Kq["--ll-font-size-p"]:Kq["--ll-font-size-h6"]})),yE(YZ)(Ke||(Ke=Hr(["\n font-family: ",";\n font-size: inherit;\n padding: "," ","\n "," ",";\n outline: none;\n border-radius: ",";\n position: relative;\n color: ",";\n cursor: default;\n\n &[data-highlighted] {\n background-color: ",";\n color: ",";\n }\n"])),Kq["--ll-font-family"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-x-large"],Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-large"],Kq["--ll-border-radius-small"],Kq["--ll-color-on-surface-variant1"],Kq["--ll-color-primary"],Kq["--ll-color-on-primary"]),yE(GZ)(Xe||(Xe=Hr(["\n position: absolute;\n left: 0;\n height: 100%;\n left: 0;\n bottom: 0;\n width: ",";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])),Kq["--ll-spacing-large"]),yE(qZ)(Ze||(Ze=Hr(["\n font-size: inherit;\n padding: ",";\n"])),Kq["--ll-spacing-base-unit"]),yE(VZ)(Qe||(Qe=Hr(["\n z-index: 1;\n"])));var WZ=Yo.createContext({}),KZ=Ur("L",(function(){return Jr.exports.useContext(WZ)})),XZ=function(e){var t,n,r=e.client,o=e.options,i=e.children;return Iq(WZ.Provider,{value:{client:r,options:o},children:Iq(q_,{target:document.head,children:jq(Fq,{children:[Iq(Zq,{themeName:null==(t=null==o?void 0:o.appearance)?void 0:t.theme,overrides:null==(n=null==o?void 0:o.appearance)?void 0:n.variables}),i]})})})},ZZ=Yo.createContext({}),QZ=function(){return Jr.exports.useContext(ZZ)},$Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=2*parseFloat(e);return t?Math.round(n):Math.round(10*n)/10},JZ=function(e){var t=e.scoresData,n=e.score,r=e.round,o=void 0!==r&&r,i=Jr.exports.useMemo((function(){var e,r,i=null==(r=null==(e=null==t?void 0:t.location)?void 0:e[n])?void 0:r.value;return $Z(i,o)}),[t,n,o]),a=Jr.exports.useMemo((function(){var e,r;return null==(r=null==(e=null==t?void 0:t.location)?void 0:e[n])?void 0:r.text}),[t,n]),u=Jr.exports.useMemo((function(){var e;return null==(e=null==t?void 0:t.geographies)?void 0:e.find((function(e){return"municipality"===e.geog_level_type}))}),[t]),s=Jr.exports.useMemo((function(){var e;return null==(e=null==t?void 0:t.geographies)?void 0:e.find((function(e){return"macro neighbourhood"===e.geog_level_type}))}),[t]),l=Jr.exports.useMemo((function(){var e,t=null==(e=null==u?void 0:u.scores[n])?void 0:e.value;return $Z(t,o)}),[u,n,o]),c=Jr.exports.useMemo((function(){var e,t=null==(e=null==s?void 0:s.scores[n])?void 0:e.value;return $Z(t,o)}),[s,n,o]);return{textVal:a,scoreVal:i,cityName:Jr.exports.useMemo((function(){return null==u?void 0:u.name}),[u]),cityScoreVal:l,neighbourhoodName:Jr.exports.useMemo((function(){return null==s?void 0:s.name}),[s]),neighbourhoodScoreVal:c}},eQ=yE.div(et||(et=Hr(["\n position: relative;\n background: ",";\n color: ",";\n border-radius: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n line-height: 1;\n font-family: ",";\n overflow: hidden;\n transition: background 160ms ease;\n ",';\n\n &:after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.2) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n }\n'])),(function(e){return e.isPrimary?Kq["--ll-color-primary"]:Kq["--ll-color-disabled"]}),Kq["--ll-color-on-primary"],Kq["--ll-border-radius-small"],Kq["--ll-font-family"],(function(e){return function(e){return"small"===e?eE($e||($e=Hr(["\n height: 16px;\n padding: 0 ",";\n font-size: ",";\n "])),Kq["--ll-spacing-xx-small"],Kq["--ll-font-size-caption-2"]):eE(Je||(Je=Hr(["\n height: 32px;\n width: 32px;\n font-size: ",";\n "])),Kq["--ll-font-size-p"])}(e.variant)})),tQ=yE.div(tt||(tt=Hr(["\n z-index: 1;\n"]))),nQ=function(e){return"object"==ho(e)&&null!==e&&!Array.isArray(e)};function rQ(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();return nQ(e)&&nQ(o)&&Object.keys(o).forEach((function(t){nQ(o[t])?(e[t]||Object.assign(e,Qr({},t,{})),rQ(e[t],o[t])):Object.assign(e,Qr({},t,o[t]))})),rQ.apply(void 0,[e].concat(n))}var oQ=function(e){var t=KZ().client.options.locale,n=void 0===t?"en":t,r=Jr.exports.useMemo((function(){return rQ.apply(void 0,[{}].concat(Wr(e)))[n]}),[n,e]);return{locale:n,translations:r}},iQ={en:{cafes:"Cafes",car_friendly:"Driving",cycling_friendly:"Cycling",daycares:"Day care",greenery:"Greenery",groceries:"Grocery",high_schools:"High schools",historic:"Historic",nightlife:"Night life",parks:"Parks",pedestrian_friendly:"Walking",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Cafés",car_friendly:"Voiture",cycling_friendly:"Vélo",daycares:"Garderies",greenery:"Verdure",groceries:"Épiceries",high_schools:"Écoles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Marche",primary_schools:"Écoles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasins",transit_friendly:"Transport public",vibrant:"Dynamisme",wellness:"Bien-être"}},aQ={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é et de la diversité des cafés à proximité.","car_friendly-description":"Représente la fluidité de la circulation et la facilité de stationnement.","cycling_friendly-description":"Représente à quel point la zone est adaptée au cyclisme en termes d'infrastructure cyclable à proximité et de rues calmes, ainsi que le nombre de destinations pouvant être atteintes à vélo.","daycares-description":"Représente la distance à la garderie la plus proche.","greenery-description":"Quantité d'espaces verts à proximité et couverture de la canopée des arbres.","groceries-description":"Une mesure de la quantité d'épiceries à proximité.","high_schools-description":"Représente la distance à l'école secondaire la plus proche.","historic-description":"Une mesure de la quantité et de la taille des bâtiments patrimoniaux, et de l'âge moyen des bâtiments dans la région.","nightlife-description":"Représente la quantité et la diversité des bars à proximité.","parks-description":"Une mesure de la quantité et de la taille des parcs à proximité.","pedestrian_friendly-description":"Une mesure de la proximité des services de base et de l'agrément d'y aller à pied.","primary_schools-description":"Une mesure de la distance à l'école primaire la plus proche.","quiet-description":"Une mesure des niveaux moyens de bruit à proximité.","restaurants-description":"Représente la quantité et la diversité des restaurants à proximité.","shopping-description":"Une mesure de la quantité et de la diversité de magasins de mode et de grands magasins à proximité.","transit_friendly-description":"Une mesure de la fréquence et du niveau de service de transport en commun.","vibrant-description":"Représente le niveau d'activité de la rue à proximité.","wellness-description":"Représente à quel point un emplacement est propice au bien-être des individus."}},uQ=function(e){var t,n=QZ().options.score,r=oQ([aQ,iQ]).translations;return null!=(t=e.options)&&t.isRawText?Iq(Fq,{children:r[n]}):Iq(hY,Zr(Zr({},e.options),{},{children:r[n]}))};uQ.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};var sQ=function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"})]}))},lQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},cQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},fQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},dQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},pQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},hQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},vQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},mQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},gQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},yQ=function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"})]}))},bQ={pedestrian_friendly:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},transit_friendly:sQ,cycling_friendly:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},car_friendly:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"})]}))},groceries:pQ,restaurants:dQ,cafes:lQ,shopping:cQ,wellness:mQ,parks:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},greenery:hQ,vibrant:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"})]}))},nightlife:fQ,quiet:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},historic:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),Fx("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}))},high_schools:gQ,primary_schools:yQ,daycares:vQ},xQ=(Ur("p",{pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants","healthy_restaurants"],cafes:["cafes"],shopping:["shopping"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:["nightlife"],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]}),function(e){var t=e.options,n=QZ().options.score;return Iq(lY,{SVGElement:bQ[n],fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})});xQ.defaultProps={options:{color:"--ll-color-on-background-variant1"}};var wQ={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},_Q={en:{LOCATION:"This Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood",AVG:"Avg."},fr:{LOCATION:"Ce Lieu",CITY:"Ville",NEIGHBOURHOOD:"Quartier",AVG:"Moy."}},EQ=yE.div(nt||(nt=Hr(["\n position: relative;\n display: grid;\n grid-template-columns: ",";\n align-items: center;\n grid-column-gap: ",";\n width: 100%;\n"])),(function(e){return e.isUsingIcons?"auto auto 1fr auto":"auto 1fr auto"}),Kq["--ll-spacing-x-small"]),SQ=yE.div(rt||(rt=Hr(["\n height: ","px;\n width: 100%;\n border-radius: ","px;\n background-color: ",";\n position: relative;\n overflow: hidden;\n"])),8,4,Kq["--ll-color-surface-variant1"]),kQ=yE(Dq.div)(ot||(ot=Hr(["\n position: absolute;\n height: 100%;\n border-radius: ","px;\n background: linear-gradient(\n to right,\n ",",\n ","\n );\n"])),4,Kq["--ll-color-primary-variant1"],Kq["--ll-color-primary"]);yE.div(it||(it=Hr(["\n position: absolute;\n height: 100%;\n top: 0;\n left: ","%;\n transform: translateX(-1px);\n border-right: ",";\n"])),(function(e){return 10*e.val}),(function(e){var t=e.markerType;return"4px ".concat("city"===t?"solid":"dotted"," ").concat(Kq["--ll-color-on-background"])})),yE.div(at||(at=Hr(["\n position: absolute;\n top: ",";\n bottom: ",";\n transform: translateX(calc(-50% + 2px));\n left: 0;\n"])),(function(e){return"top"===e.position&&"-18px"}),(function(e){return"bottom"===e.position&&"-18px"}));var CQ=yE.div(ut||(ut=Hr(["\n display: flex;\n max-width: ","px;\n"])),(function(e){return e.maxWidth})),AQ=yE(hY)(st||(st=Hr(["\n margin-right: 4px;\n"]))),TQ=yE.span(lt||(lt=Hr(["\n flex-shrink: 0;\n"])));function PQ(){return PQ=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},PQ.apply(this,arguments)}function OQ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function RQ(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function DQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return RQ(t,e)}))}}function LQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback(DQ.apply(void 0,t),t)}function MQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,vr),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,NQ.apply(void 0,[o].concat(Wr(t)))]}function NQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}var FQ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,mr),o=Jr.exports.Children.toArray(n),i=o.find(zQ);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(IQ,PQ({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(IQ,PQ({},r,{ref:t}),n)}));FQ.displayName="Slot";var IQ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,gr);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:DQ(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));IQ.displayName="SlotClone";var jQ=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function zQ(e){return Jr.exports.isValidElement(e)&&e.type===jQ}var BQ=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,yr),i=r?FQ:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,PQ({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});function UQ(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}var VQ,HQ="dismissableLayer.update",qQ="dismissableLayer.pointerDownOutside",YQ="dismissableLayer.focusOutside",GQ=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),WQ=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,br),c=Jr.exports.useContext(GQ),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=LQ(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=UQ(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){XQ(qQ,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=UQ(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&XQ(YQ,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=UQ(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(VQ=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),KQ(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=VQ)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),KQ())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(HQ,e),function(){return document.removeEventListener(HQ,e)}}),[]),Jr.exports.createElement(BQ.div,PQ({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:OQ(e.onFocusCapture,E.onFocusCapture),onBlurCapture:OQ(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:OQ(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function KQ(){var e=new CustomEvent(HQ);document.dispatchEvent(e)}function XQ(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var ZQ=0;function QQ(){var 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}var $Q="focusScope.autoFocusOnMount",JQ="focusScope.autoFocusOnUnmount",e$={bubbles:!1,cancelable:!0},t$=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,xr),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=UQ(a),p=UQ(u),h=Jr.exports.useRef(null),v=LQ(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:a$(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||a$(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){u$.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent($Q,e$);c.addEventListener($Q,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if(a$(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(n$(c)),{select:!0}),document.activeElement===e&&a$(c))}return function(){c.removeEventListener($Q,d),setTimeout((function(){var t=new CustomEvent(JQ,e$);c.addEventListener(JQ,p),c.dispatchEvent(t),t.defaultPrevented||a$(null!=e?e:document.body,{select:!0}),c.removeEventListener(JQ,p),u$.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=n$(e),n=r$(t,e),r=r$(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&a$(l,{select:!0})):(e.preventDefault(),r&&a$(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(BQ.div,PQ({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function n$(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function r$(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!o$(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function o$(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function i$(e){return e instanceof HTMLInputElement&&"select"in e}function a$(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&i$(e)&&r&&e.select()}}var u$=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=s$(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=s$(e,t))[0])||void 0===n||n.resume()}}}();function s$(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var l$=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},c$=Go["useId".toString()]||function(){},f$=0;function d$(e){var t=$r(Jr.exports.useState(c$()),2),n=t[0],r=t[1];return l$((function(){e||r((function(e){return null!=e?e:String(f$++)}))}),[e]),e||(n?"radix-".concat(n):"")}function p$(e){return e.split("-")[0]}function h$(e){return e.split("-")[1]}function v$(e){return["top","bottom"].includes(p$(e))?"x":"y"}function m$(e){return"y"===e?"height":"width"}function g$(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=v$(t),l=m$(s),c=o[l]/2-i[l]/2,f="x"===s;switch(p$(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(h$(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var y$=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=g$(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=g$(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function b$(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function x$(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function w$(e,t){return _$.apply(this,arguments)}function _$(){return _$=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=b$(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=x$,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=x$,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),_$.apply(this,arguments)}var E$=Math.min,S$=Math.max;function k$(e,t,n){return S$(e,E$(t,n))}var C$=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=b$(s),v={x:l,y:c},m=v$(f),g=h$(f),y=m$(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=k$(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},A$={left:"right",right:"left",bottom:"top",top:"bottom"};function T$(e){return e.replace(/left|right|bottom|top/g,(function(e){return A$[e]}))}function P$(e,t,n){void 0===n&&(n=!1);var r=h$(e),o=v$(e),i=m$(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=T$(a)),{main:a,cross:T$(a)}}var O$={start:"end",end:"start"};function R$(e){return e.replace(/start|end/g,(function(e){return O$[e]}))}var D$=["top","right","bottom","left"];function L$(e){var t=T$(e);return[R$(e),t,R$(t)]}var M$=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,wr),w=p$(o),_=v||(w!==u&&b?L$(u):[T$(u)]),E=[u].concat(Wr(_)),n.next=22,w$(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=P$,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function N$(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function F$(e){return D$.some((function(t){return e[t]>=0}))}var I$=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,_r);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,w$(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=N$(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:F$(a)}});case 9:return t.next=11,w$(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=N$(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:F$(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function j$(e,t){return z$.apply(this,arguments)}function z$(){return z$=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=p$(r),s=h$(r),l="x"===v$(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),z$.apply(this,arguments)}var B$=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,j$(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function U$(e){return"x"===e?"y":"x"}var V$=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,Er),v={x:o,y:i},n.next=14,w$(t,h);case 14:return m=n.sent,g=v$(p$(a)),y=U$(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=k$(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=k$(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},H$=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=v$(i),g=U$(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(p$(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function q$(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Y$(e){if(null==e)return window;if(!q$(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function G$(e){return Y$(e).getComputedStyle(e)}function W$(e){return q$(e)?"":e?(e.nodeName||"").toLowerCase():""}function K$(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function X$(e){return e instanceof Y$(e).HTMLElement}function Z$(e){return e instanceof Y$(e).Element}function Q$(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof Y$(e).ShadowRoot||e instanceof ShadowRoot)}function $$(e){var t=G$(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function J$(e){return["table","td","th"].includes(W$(e))}function eJ(e){var t=/firefox/i.test(K$()),n=G$(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function tJ(){return!/^((?!chrome|android).)*safari/i.test(K$())}var nJ=Math.min,rJ=Math.max,oJ=Math.round;function iJ(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&X$(e)&&(s=e.offsetWidth>0&&oJ(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&oJ(u.height)/e.offsetHeight||1);var c=Z$(e)?Y$(e):window,f=!tJ()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function aJ(e){return((function(e){return e instanceof Y$(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function uJ(e){return Z$(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function sJ(e){return iJ(aJ(e)).left+uJ(e).scrollLeft}function lJ(e,t,n){var r=X$(t),o=aJ(t),i=iJ(e,r&&function(e){var t=iJ(e);return oJ(t.width)!==e.offsetWidth||oJ(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==W$(t)||$$(o))&&(a=uJ(t)),X$(t)){var s=iJ(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=sJ(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function cJ(e){return"html"===W$(e)?e:e.assignedSlot||e.parentNode||(Q$(e)?e.host:null)||aJ(e)}function fJ(e){return X$(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function dJ(e){for(var t=Y$(e),n=fJ(e);n&&J$(n)&&"static"===getComputedStyle(n).position;)n=fJ(n);return n&&("html"===W$(n)||"body"===W$(n)&&"static"===getComputedStyle(n).position&&!eJ(n))?t:n||function(e){var t=cJ(e);for(Q$(t)&&(t=t.host);X$(t)&&!["html","body"].includes(W$(t));){if(eJ(t))return t;t=t.parentNode}return null}(e)||t}function pJ(e){if(X$(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=iJ(e);return{width:t.width,height:t.height}}function hJ(e){var t=cJ(e);return["html","body","#document"].includes(W$(t))?e.ownerDocument.body:X$(t)&&$$(t)?t:hJ(t)}function vJ(e,t){var n;void 0===t&&(t=[]);var r=hJ(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Y$(r),a=o?[i].concat(i.visualViewport||[],$$(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(vJ(a))}function mJ(e,t,n){return"viewport"===t?x$(function(e,t){var n=Y$(e),r=aJ(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=tJ();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):Z$(t)?function(e,t){var n=iJ(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):x$(function(e){var t,n=aJ(e),r=uJ(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=rJ(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=rJ(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+sJ(e),s=-r.scrollTop;return"rtl"===G$(o||n).direction&&(u+=rJ(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(aJ(e)))}function gJ(e){var t=vJ(e),n=["absolute","fixed"].includes(G$(e).position)&&X$(e)?dJ(e):e;return Z$(n)?t.filter((function(e){return Z$(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Q$(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==W$(e)})):[]}var yJ={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?gJ(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=mJ(t,n,o);return e.top=rJ(r.top,e.top),e.right=nJ(r.right,e.right),e.bottom=nJ(r.bottom,e.bottom),e.left=rJ(r.left,e.left),e}),mJ(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=X$(n),i=aJ(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==W$(n)||$$(i))&&(a=uJ(n)),X$(n))){var s=iJ(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:Z$,getDimensions:pJ,getOffsetParent:dJ,getDocumentElement:aJ,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:lJ(t,dJ(n),r),floating:Zr(Zr({},pJ(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===G$(e).direction}};function bJ(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(Z$(e)?vJ(e):[]),Wr(vJ(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),Z$(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?iJ(e):null;return d&&function t(){var r=iJ(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var xJ=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function wJ(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!wJ(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||wJ(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function _J(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return xJ((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];wJ(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return y$(e,t,Zr({platform:yJ},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);xJ((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);xJ((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var EJ=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?C$({element:t.current,padding:n}).fn(e):{}:t?C$({element:t,padding:n}).fn(e):{}}}},SJ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,Sr);return Jr.exports.createElement(BQ.svg,PQ({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),kJ=SJ;var CJ="Popper",AJ=$r(MQ(CJ),2),TJ=AJ[0],PJ=AJ[1],OJ=$r(TJ(CJ),2),RJ=OJ[0],DJ=OJ[1],LJ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,kr),i=DJ("PopperAnchor",n),a=Jr.exports.useRef(null),u=LQ(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(BQ.div,PQ({},o,{ref:u}))})),MJ="PopperContent",NJ=$r(TJ(MJ),2),FJ=NJ[0],IJ=NJ[1],jJ=$r(TJ(MJ,{hasParent:!1,positionUpdateFns:new Set}),2),zJ=jJ[0],BJ=jJ[1],UJ=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,Cr),D=DJ(MJ,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=LQ(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=function(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return l$((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(YJ),altBoundary:G},K=_J({strategy:"fixed",placement:H,whileElementsMounted:bJ,middleware:[B$({mainAxis:h+V,alignmentAxis:y}),O?V$(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?H$():void 0},W)):void 0,j?EJ({element:j,padding:x}):void 0,O?M$(Zr({},W)):void 0,GJ({arrowWidth:U,arrowHeight:V}),T?I$({strategy:"referenceHidden"}):void 0].filter(qJ)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;l$((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(WJ(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];l$((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=BJ(MJ,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(FJ,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(zJ,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(BQ.div,ge)):Jr.exports.createElement(BQ.div,ge)))})),VJ={top:"bottom",right:"left",bottom:"top",left:"right"},HJ=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,Ar),i=IJ("PopperArrow",r),a=VJ[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(kJ,PQ({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function qJ(e){return void 0!==e}function YJ(e){return null!==e}var GJ=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(WJ(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function WJ(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var KJ=function(e){var t=e.__scopePopper,n=e.children,r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1];return Jr.exports.createElement(RJ,{scope:t,anchor:o,onAnchorChange:i},n)},XJ=LJ,ZJ=UJ,QJ=HJ;var $J=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=JJ(o.current);a.current="mounted"===s?e:"none"}),[s]),l$((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=JJ(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),l$((function(){if(n){var e=function(e){var t=JJ(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=JJ(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=LQ(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function JJ(e){return(null==e?void 0:e.animationName)||"none"}function e0(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=UQ(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=UQ(o),d=Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f]);return[c,d]}$J.displayName="Presence";var t0=new WeakMap,n0=new WeakMap,r0={},o0=0,i0=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];r0[n]||(r0[n]=new WeakMap);var i=r0[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=(t0.get(t)||0)+1,c=(i.get(t)||0)+1;t0.set(t,l),i.set(t,c),a.push(t),1===l&&s&&n0.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),o0++,function(){a.forEach((function(e){var t=t0.get(e)-1,o=i.get(e)-1;t0.set(e,t),i.set(e,o),t||(n0.has(e)||e.removeAttribute(r),n0.delete(e)),o||e.removeAttribute(n)})),--o0||(t0=new WeakMap,t0=new WeakMap,n0=new WeakMap,r0={})}}(r,o,n,"aria-hidden")):function(){return null}},a0=function(){return a0=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a0.apply(this,arguments)};function u0(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var s0="right-scroll-bar-position",l0="width-before-scroll-bar";function c0(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function f0(e){return e}var d0=function(e){var t=e.sideCar,n=u0(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 Iq(r,Zr({},a0({},n)))};d0.isSideCarExport=!0;var p0=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=f0);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=a0({async:!0,ssr:!1},e),t}(),h0=function(){},v0=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:h0,onWheelCapture:h0,onTouchMoveCapture:h0}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=u0(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=c0([n,t]),w=a0(a0({},y),o);return jq(Fq,{children:[c&&Iq(b,{sideCar:p0,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),a0(a0({},w),{ref:x})):Iq(g,Zr(Zr({},a0({},w,{className:s,ref:x})),{},{children:u}))]})}));v0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v0.classNames={fullWidth:l0,zeroRight:s0};function m0(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var g0=function(){var e=0,t=null;return{add:function(n){0==e&&(t=m0())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y0=function(){var e=function(){var e=g0();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},b0={left:0,top:0,right:0,gap:0},x0=function(e){return parseInt(e||"",10)||0},w0=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return b0;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x0(n),x0(r),x0(o)]}(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])}},_0=y0(),E0=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(s0," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(l0," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(s0," .").concat(s0," {\n right: 0 ").concat(r,";\n }\n \n .").concat(l0," .").concat(l0," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},S0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return w0(o)}),[o]);return Iq(_0,{styles:E0(i,!t,o,n?"":"!important")})},k0=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var C0=Object.defineProperty({},"passive",{get:function(){return k0=!0,!0}});window.addEventListener("test",C0,C0),window.removeEventListener("test",C0,C0)}catch(f5){k0=!1}var A0=!!k0&&{passive:!1},T0=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),P0(e,n)){var r=O0(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},P0=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},O0=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},R0=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},D0=function(e){return[e.deltaX,e.deltaY]},L0=function(e){return e&&"current"in e?e.current:e},M0=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},N0=0,F0=[];var I0=function(e,t){return e.useMedium(t),d0}(p0,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(N0++)[0],i=Jr.exports.useState((function(){return y0()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(L0),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=R0(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=T0(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=T0(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=O0(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&P0(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(F0.length&&F0[F0.length-1]===i){var r="deltaY"in n?D0(n):R0(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(L0).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=R0(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,D0(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,R0(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return F0.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,A0),document.addEventListener("touchmove",s,A0),document.addEventListener("touchstart",c,A0),function(){F0=F0.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,A0),document.removeEventListener("touchmove",s,A0),document.removeEventListener("touchstart",c,A0)}}),[]);var p=e.removeScrollBar,h=e.inert;return jq(Fq,{children:[h?Iq(i,{styles:M0(o)}):null,p?Iq(S0,{gapMode:"margin"}):null]})})),j0=Jr.exports.forwardRef((function(e,t){return Iq(v0,Zr({},a0({},e,{ref:t,sideCar:I0})))}));j0.classNames=v0.classNames;var z0=j0,B0="Popover",U0=$r(MQ(B0,[PJ]),2),V0=U0[0],H0=(U0[1],PJ()),q0=$r(V0(B0),2),Y0=q0[0],G0=q0[1],W0=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,Tr),o=G0("PopoverTrigger",n),i=H0(n),a=LQ(t,o.triggerRef),u=Jr.exports.createElement(BQ.button,PQ({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":n1(o.open)},r,{ref:a,onClick:OQ(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(XJ,PQ({asChild:!0},i),u)})),K0=$r(V0("PopoverPortal",{forceMount:void 0}),2),X0=(K0[0],K0[1]),Z0="PopoverContent",Q0=Jr.exports.forwardRef((function(e,t){var n=X0(Z0,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,Pr),a=G0(Z0,e.__scopePopover);return Jr.exports.createElement($J,{present:o||a.open},a.modal?Jr.exports.createElement($0,PQ({},i,{ref:t})):Jr.exports.createElement(J0,PQ({},i,{ref:t})))})),$0=Jr.exports.forwardRef((function(e,t){var n=G0(Z0,e.__scopePopover),r=Jr.exports.useRef(null),o=LQ(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return i0(e)}),[]),Jr.exports.createElement(z0,{as:FQ,allowPinchZoom:!0},Jr.exports.createElement(e1,PQ({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:OQ(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:OQ(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:OQ(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),J0=Jr.exports.forwardRef((function(e,t){var n=G0(Z0,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement(e1,PQ({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(a))&&t.preventDefault()}}))})),e1=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,Or),d=G0(Z0,n),p=H0(n);return Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:QQ()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:QQ()),ZQ++,function(){1===ZQ&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),ZQ--}}),[]),Jr.exports.createElement(t$,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(WQ,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(ZJ,PQ({"data-state":n1(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),t1=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,Rr),o=H0(n);return Jr.exports.createElement(QJ,PQ({},o,r,{ref:t}))}));function n1(e){return e?"open":"closed"}var r1=function(e){var t=e.__scopePopover,n=e.children,r=e.open,o=e.defaultOpen,i=e.onOpenChange,a=e.modal,u=void 0!==a&&a,s=H0(t),l=Jr.exports.useRef(null),c=$r(Jr.exports.useState(!1),2),f=c[0],d=c[1],p=$r(e0({prop:r,defaultProp:o,onChange:i}),2),h=p[0],v=void 0!==h&&h,m=p[1];return Jr.exports.createElement(KJ,s,Jr.exports.createElement(Y0,{scope:t,contentId:d$(),triggerRef:l,open:v,onOpenChange:m,onOpenToggle:Jr.exports.useCallback((function(){return m((function(e){return!e}))}),[m]),hasCustomAnchor:f,onCustomAnchorAdd:Jr.exports.useCallback((function(){return d(!0)}),[]),onCustomAnchorRemove:Jr.exports.useCallback((function(){return d(!1)}),[]),modal:u},n))},o1=W0,i1=Q0,a1=t1,u1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},s1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},l1=yE(o1)(ct||(ct=Hr(["\n background: none;\n border: none;\n padding: 2px;\n margin: 0 0 0 ",";\n flex-shrink: 0;\n box-sizing: content-box;\n"])),Kq["--ll-spacing-x-small"]),c1=yE(i1)(ft||(ft=Hr(["\n background-color: ",";\n padding: ",";\n border-radius: ",";\n box-shadow: ",";\n z-index: 1;\n width: 240px;\n max-width: 100vw;\n"])),Kq["--ll-color-background"],Kq["--ll-spacing-small"],Kq["--ll-border-radius-small"],Kq["--ll-shadow-small"]),f1=yE.div(dt||(dt=Hr(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"]))),d1=yE(a1)(pt||(pt=Hr(["\n fill: ",";\n"])),Kq["--ll-color-background"]),p1=Object.freeze(Object.defineProperty({__proto__:null,Badge:function(e){var t=e.options,n=(t=void 0===t?{}:t).variant,r=void 0===n?"large":n,o=t.isPrimary,i=void 0===o||o,a=QZ().options,u=a.scoresData,s=a.score,l=JZ({scoresData:u,score:s}).scoreVal;return null==l?null:Iq(eQ,{"data-testid":"score-badge",variant:r,isPrimary:i,children:Iq(tQ,{children:l})})},Title:uQ,Icon:xQ,BarChart:function(e){var t=e.options,n=(t=void 0===t?{}:t).locationIcon,r=t.cityIcon,o=t.neighbourhoodIcon,i=QZ().options,a=i.scoresData,u=i.score,s=JZ({score:u,scoresData:a}),l=s.scoreVal,c=s.cityName,f=s.cityScoreVal,d=(s.neighbourhoodName,s.neighbourhoodScoreVal,oQ([_Q]).translations),p=!!n||!!r||!!o,h=function(){var e=$r(Jr.exports.useState(null),2),t=e[0],n=e[1],r=$r(Jr.exports.useState(wQ),2),o=r[0],i=r[1],a=Jr.exports.useMemo((function(){return new window.ResizeObserver((function(e){if(e[0]){var t=e[0].contentRect,n=t.x,r=t.y,o=t.width,a=t.height,u=t.top,s=t.left,l=t.bottom,c=t.right;i({x:n,y:r,width:o,height:a,top:u,left:s,bottom:l,right:c})}}))}),[]);return Jr.exports.useLayoutEffect((function(){if(t)return a.observe(t),function(){a.disconnect()}}),[t]),[n,o,t]}(),v=$r(h,2),m=v[0],g=v[1],y=Iq("div",{}),b=function(e){return e?Iq(lY,{width:20,height:20,SVGElement:e,fill:Kq["--ll-color-on-background-variant1"]}):p?y:void 0};return l?Iq(Fq,{children:jq(EQ,{isUsingIcons:p,ref:m,children:[jq(Fq,{children:[b(n),Iq(hY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:d.LOCATION}),Iq(SQ,{children:Iq(kQ,{animate:{width:"".concat(l/10*100,"%")},transition:Zr({delay:.3},eY.transitions.spring)})}),Iq(hY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:l})]}),f&&jq(Fq,{children:[b(r),jq(CQ,{maxWidth:g.width/2,children:[Iq(AQ,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:c||d.CITY}),Iq(TQ,{children:Iq(hY,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:d.AVG})})]}),Iq(SQ,{children:Iq(kQ,{animate:{width:"".concat(f/10*100,"%")},transition:Zr({delay:.4},eY.transitions.spring)})}),Iq(hY,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:f})]})]})}):null},Description:function(){var e=QZ(),t=e.options,n=t.scoresData,r=t.score,o=e.onChange,i=JZ({scoresData:n,score:r}).textVal,a=$r(Jr.exports.useState(!1),2),u=a[0],s=a[1],l=oQ([aQ,iQ]).translations;return i?jq(f1,{children:[jq(hY,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[i,"."]}),jq(r1,{open:u,onOpenChange:function(e){s(e),o&&o({type:"tooltip-toggle",data:e})},children:[Iq(l1,{children:Iq(lY,{SVGElement:u?u1:s1,fill:Kq["--ll-color-primary"],height:20,width:20})}),jq(c1,{collisionPadding:8,children:[Iq(d1,{}),Iq(hY,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:l["".concat(r,"-description")]})]})]})]}):null},Root:function(e){return Iq(ZZ.Provider,{value:Zr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})),h1={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propulsé par"}},v1=yE.a(ht||(ht=Hr(["\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n margin-top: 1px;\n width: 100%;\n"]))),m1=yE.img(vt||(vt=Hr(["\n height: 20px;\n margin-left: ",";\n"])),Kq["--ll-spacing-base-unit"]),g1=yE(hY)(mt||(mt=Hr(["\n line-height: initial;\n"]))),y1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),b1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(){var e=oQ([h1]).translations;return jq(v1,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[Iq(g1,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),Iq(m1,{src:"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="})]})},Types:y1},Symbol.toStringTag,{value:"Module"})),x1={small:20,medium:32,large:40},w1=yE(Dq.div)(gt||(gt=Hr(["\n background: linear-gradient(\n to top,\n ",",\n ","\n );\n border-radius: 50%;\n border: 2px solid #fff;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n box-shadow: ",";\n"])),(function(e){return e.backgroundColorHighlight}),(function(e){return e.backgroundColor}),(function(e){var t=e.size;return x1[t]}),(function(e){var t=e.size;return x1[t]}),Kq["--ll-shadow-small"]),_1=function(e){var t=e.fill,n=void 0===t?"#fff":t,r=e.backgroundColor,o=void 0===r?Kq["--ll-color-primary"]:r,i=e.backgroundColorHighlight,a=void 0===i?o:i,u=e.SVGElement,s=e.size,l=void 0===s?"small":s,c=e.expandMarker;return Iq(w1,{"data-testid":"svgInfo",backgroundColor:o,backgroundColorHighlight:a,size:l,variants:{default:{scale:1},hovered:{scale:1.2}},animate:c?"hovered":"default",whileHover:{scale:1.2},transition:eY.transitions.default,children:Iq(lY,{SVGElement:u,fill:n,height:x1[l]/1.5,width:x1[l]/1.5})})},E1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}))},S1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},k1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),C1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options;return Iq(_1,{SVGElement:"house"===t.style?E1:S1,size:"large",backgroundColor:Kq["--ll-color-primary"],backgroundColorHighlight:Kq["--ll-color-primary-variant1"]})},Types:k1},Symbol.toStringTag,{value:"Module"})),A1=Yo.createContext({}),T1=function(){return Jr.exports.useContext(A1)},P1={groceries:function(e){return Fx("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:Fx("path",{d:"M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z"})}))},groceries_specialized:pQ,shopping:cQ,nightlife:fQ,restaurants:dQ,healthy_restaurants:mQ,cafes:lQ,daycares:vQ,bus_stops:sQ,rapid_transit_stations:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},train_stations:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},parks:hQ,fitness:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("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"})]}))},personal_care:mQ,pet_care:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("circle",{cx:4.5,cy:9.5,r:2.5}),Fx("circle",{cx:9,cy:5.5,r:2.5}),Fx("circle",{cx:15,cy:5.5,r:2.5}),Fx("circle",{cx:19.5,cy:9.5,r:2.5}),Fx("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"})]}))},car_fueling_stations:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("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"})]}))},health_care:function(e){return Ix("svg",Zr(Zr({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:[Fx("rect",{fill:"none",height:24,width:24}),Fx("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"})]}))},sport_facilities:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"})]}))},art_culture_science:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Fx("g",{children:Fx("rect",{fill:"none",height:24,width:24})}),Fx("g",{children:Fx("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"})})]}))},home_improvement:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Fx("g",{children:Fx("rect",{fill:"none",height:24,width:24})}),Fx("g",{children:Ix("g",{children:[Fx("g",{children:Fx("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"})}),Fx("g",{children:Fx("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"})})]})})]}))},primary_schools:yQ,high_schools:gQ},O1=yE(o1)(yt||(yt=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),R1=function(e,t){return"school"===t},D1=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},L1={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Rapid transit",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"Générales",groceries_specialized:"Spécialisées",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Cafés",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"Métro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de santé",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Amélioration de l'habitat",personal_care:"Soins personnels"}},M1={en:{SCHOOL_BOARD:"Board",SCHOOL_LANGUAGES:"Languages",SCHOOL_LEVELS:"Levels",SCHOOL_TYPE:"Type",ENGLISH:"English",FRENCH:"French",SPANISH:"Spanish",high_schools:"High schools",primary_schools:"Primary schools"},fr:{SCHOOL_BOARD:"Commission",SCHOOL_LANGUAGES:"Langues",SCHOOL_LEVELS:"Niveaux",SCHOOL_TYPE:"Type",ENGLISH:"Anglais",FRENCH:"Français",SPANISH:"Espagnol",high_schools:"Écoles secondaires",primary_schools:"Écoles primaires"}},N1=yE(i1)(bt||(bt=Hr(["\n padding: ",";\n background-color: ",";\n box-shadow: ",";\n border-radius: ",";\n width: 240px;\n"])),Kq["--ll-spacing-small"],Kq["--ll-color-background"],Kq["--ll-shadow-small"],Kq["--ll-border-radius-small"]),F1=yE(a1)(xt||(xt=Hr(["\n fill: ",";\n"])),Kq["--ll-color-background"]),I1=yE.div(wt||(wt=Hr(["\n display: flex;\n margin-bottom: ",";\n"])),Kq["--ll-spacing-xx-small"]),j1=yE(uY)(_t||(_t=Hr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),z1=yE.div(Et||(Et=Hr(["\n display: grid;\n grid-template-columns: auto 1fr;\n grid-column-gap: 10px;\n margin-bottom: ",";\n"])),Kq["--ll-spacing-xx-small"]),B1=yE(hY)(St||(St=Hr([""]))),U1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),V1=Object.freeze(Object.defineProperty({__proto__:null,Types:U1,Marker:function(){var e=T1().options,t=e.type,n=e.isOpen,r=e.isHovered,o=e.size;return Iq(O1,{children:Iq(_1,{size:o,SVGElement:P1[t],expandMarker:n||r,backgroundColor:Kq["--ll-color-primary"],backgroundColorHighlight:Kq["--ll-color-primary-variant1"]})})},Content:function(){var e,t,n,r,o,i,a=T1().options,u=a.poi,s=a.side,l=a.collisionPadding,c=a.type,f=oQ([L1,M1]).translations,d="high_schools"===c||"primary_schools"===c?"school":"poi",p=function(e,t){return jq(Fq,{children:[jq(B1,{children:[e,": "]}),Iq(B1,{color:Kq["--ll-color-on-background-variant1"],children:D1(t)})]})};return jq(N1,{side:s,collisionPadding:l,sideOffset:8,children:[Iq(F1,{}),Iq(hY,{variant:"h4",noMargin:!0,weight:"--ll-font-weight-bold",children:u.name}),Iq(QG,{vertical:!0,spacing:"--ll-spacing-xx-small"}),u.address&&Iq(hY,{variant:"p",noMargin:!0,children:u.address}),Iq(QG,{vertical:!0,spacing:"--ll-spacing-xx-small"}),u.url&&jq(Fq,{children:[Iq(mY,{lineClamp:2,href:u.url,children:u.url}),Iq(QG,{vertical:!0,spacing:"--ll-spacing-xx-small"})]}),R1(0,d)?jq(z1,{children:[(null==(e=u.school_attributes)?void 0:e.grades)&&p(f.SCHOOL_LEVELS,u.school_attributes.grades),(null==(t=u.school_attributes)?void 0:t.languages)&&p(f.SCHOOL_LANGUAGES,function(e){return e.map((function(e){switch(e){case"en":return f.ENGLISH;case"fr":return f.FRENCH;case"es":return f.SPANISH;default:return e}}))}(u.school_attributes.languages).join(", ")),(null==(n=u.school_attributes)?void 0:n.types)&&p(f.SCHOOL_TYPE,u.school_attributes.types.join(", ")),(null==(r=u.school_board_attributes)?void 0:r.name)&&(null==(o=u.school_board_attributes)?void 0:o.url)&&jq(Fq,{children:[jq(B1,{children:[f.SCHOOL_BOARD,": "]}),Iq(mY,{href:u.school_board_attributes.url,children:D1(u.school_board_attributes.name)})]})]}):u.routes&&jq(I1,{children:[Iq(lY,{SVGElement:P1[c],height:20,width:20,fill:Kq["--ll-color-on-background"]}),null==(i=u.routes)?void 0:i.map((function(e,t){return Iq(j1,{text:e.short_name,backgroundColor:e.route_color,textColor:e.text_color},e.short_name+t)}))]}),Iq(uY,{text:f[c],size:"medium",backgroundColor:Kq["--ll-color-primary"]})]})},Root:function(e){return Iq(r1,{open:e.options.isOpen,onOpenChange:function(t){return e.onChange&&e.onChange({type:"open-change",data:t})},children:Iq(A1.Provider,{value:Zr({},e),children:e.children})})}},Symbol.toStringTag,{value:"Module"})),H1=yE.ul(kt||(kt=Hr(["\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n"]))),q1=yE.li(Ct||(Ct=Hr(["\n padding: ",";\n margin-bottom: ",";\n border-radius: ",";\n background-color: ",";\n"])),Kq["--ll-spacing-x-small"],Kq["--ll-spacing-xx-small"],Kq["--ll-border-radius-small"],(function(e){var t=e.isActive,n=e.isHovered;return t||n?Kq["--ll-color-surface-variant1"]:Kq["--ll-color-background"]})),Y1=yE.div(At||(At=Hr(["\n display: flex;\n flex-wrap: wrap;\n"]))),G1=yE(uY)(Tt||(Tt=Hr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),W1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=t.data,r=t.type,o=t.activePOI,i=t.hoveredPOI,a=e.onChange;return Iq(H1,{children:n.map((function(e,t){var n,u,s;return jq(q1,{isActive:o===e,isHovered:i===e,onClick:function(){return a&&a({type:"poi-click",data:e})},onMouseOver:function(){return a&&a({type:"poi-hover",data:e})},onMouseLeave:function(){return a&&a({type:"poi-hover",data:void 0})},children:[Iq(hY,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:e.name}),R1(0,r)?Iq(Y1,{children:null==(u=null==(n=e.school_attributes)?void 0:n.types)?void 0:u.map((function(e,t){return Iq(G1,{text:e},e)}))}):Iq(Y1,{children:null==(s=e.routes)?void 0:s.map((function(e,t){return Iq(G1,{text:e.short_name,backgroundColor:e.route_color,textColor:e.text_color},e.short_name+t)}))})]},"".concat(e.name,"-").concat(e.lat,"-").concat(e.lng,"-").concat(t))}))})},Types:W1},Symbol.toStringTag,{value:"Module"})),X1=Yo.createContext({}),Z1=function(){return Jr.exports.useContext(X1)},Q1={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Services",character:"Caractère",nature:"Nature",education:"Familles",about:"Info"}},$1=function(e){var t=Z1().scoreCategory,n=oQ([Q1]).translations;return Iq(hY,Zr(Zr({},e.options),{},{children:n[t]}))};Ur({m:p1,w:b1,a0:C1,k:V1,A:K1}),$1.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};var J1=Ur("I",[{value:"commute",icon:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},scores:["transit_friendly","car_friendly","pedestrian_friendly","cycling_friendly"]},{value:"education",icon:gQ,scores:["primary_schools","high_schools","daycares"]},{value:"amenities",icon:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("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"})}))},scores:["groceries","restaurants","shopping","cafes"]},{value:"character",icon:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"}),Fx("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"})]}))},scores:["quiet","nightlife","vibrant","historic"]},{value:"nature",icon:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("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"}),Fx("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"})]}))},scores:["parks","greenery"]}]),e2=function(e){var t=e.options,n=Z1().scoreCategory,r=J1.find((function(e){return e.value===n}));return Iq(lY,{SVGElement:r.icon,fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})};e2.defaultProps={options:{color:"--ll-color-on-background-variant1"}};var t2=function(e){var t=e.options,n=e.children;return Iq(X1.Provider,{value:Zr({},t),children:n})},n2=Ur("B",Object.freeze(Object.defineProperty({__proto__:null,Root:t2,Title:$1,Icon:e2},Symbol.toStringTag,{value:"Module"})));var r2=Jr.exports.createContext(void 0);function o2(e){var t=Jr.exports.useContext(r2);return e||t||"ltr"}var i2="rovingFocusGroup.onEntryFocus",a2={bubbles:!1,cancelable:!0},u2="RovingFocusGroup",s2=function(e){var t=e+"CollectionProvider",n=$r(MQ(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=LQ(t,u(s,n).collectionRef);return Yo.createElement(FQ,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,Dr),a=Yo.useRef(null),s=LQ(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(FQ,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}(u2),l2=$r(s2,3),c2=l2[0],f2=l2[1],d2=$r(MQ(u2,[l2[2]]),2),p2=d2[0],h2=d2[1],v2=$r(p2(u2),2),m2=v2[0],g2=v2[1],y2=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(c2.Provider,{scope:e.__scopeRovingFocusGroup},Jr.exports.createElement(c2.Slot,{scope:e.__scopeRovingFocusGroup},Jr.exports.createElement(b2,PQ({},e,{ref:t}))))})),b2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeRovingFocusGroup,r=e.orientation,o=e.loop,i=void 0!==o&&o,a=e.dir,u=e.currentTabStopId,s=e.defaultCurrentTabStopId,l=e.onCurrentTabStopIdChange,c=e.onEntryFocus,f=qr(e,Lr),d=Jr.exports.useRef(null),p=LQ(t,d),h=o2(a),v=$r(e0({prop:u,defaultProp:s,onChange:l}),2),m=v[0],g=void 0===m?null:m,y=v[1],b=$r(Jr.exports.useState(!1),2),x=b[0],w=b[1],_=UQ(c),E=f2(n),S=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=d.current;if(e)return e.addEventListener(i2,_),function(){return e.removeEventListener(i2,_)}}),[_]),Jr.exports.createElement(m2,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:Jr.exports.useCallback((function(e){return y(e)}),[y]),onItemShiftTab:Jr.exports.useCallback((function(){return w(!0)}),[])},Jr.exports.createElement(BQ.div,PQ({tabIndex:x?-1:0,"data-orientation":r},f,{ref:p,style:Zr({outline:"none"},e.style),onMouseDown:OQ(e.onMouseDown,(function(){S.current=!0})),onFocus:OQ(e.onFocus,(function(e){var t=!S.current;if(e.target===e.currentTarget&&t&&!x){var n=new CustomEvent(i2,a2);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){var r=E().filter((function(e){return e.focusable})),o=r.find((function(e){return e.active})),i=r.find((function(e){return e.id===g})),a=[o,i].concat(Wr(r)).filter(Boolean).map((function(e){return e.ref.current}));_2(a)}}S.current=!1})),onBlur:OQ(e.onBlur,(function(){return w(!1)}))})))})),x2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeRovingFocusGroup,r=e.focusable,o=void 0===r||r,i=e.active,a=void 0!==i&&i,u=qr(e,Mr),s=d$(),l=g2("RovingFocusGroupItem",n),c=l.currentTabStopId===s,f=f2(n);return Jr.exports.createElement(c2.ItemSlot,{scope:n,id:s,focusable:o,active:a},Jr.exports.createElement(BQ.span,PQ({tabIndex:c?0:-1,"data-orientation":l.orientation},u,{ref:t,onMouseDown:OQ(e.onMouseDown,(function(e){o?l.onItemFocus(s):e.preventDefault()})),onFocus:OQ(e.onFocus,(function(){return l.onItemFocus(s)})),onKeyDown:OQ(e.onKeyDown,(function(e){if("Tab"===e.key&&e.shiftKey)l.onItemShiftTab();else if(e.target===e.currentTarget){var t=function(e,t,n){var r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return w2[r]}(e,l.orientation,l.dir);if(void 0!==t){e.preventDefault();var n=f().filter((function(e){return e.focusable})).map((function(e){return e.ref.current}));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();var r=n.indexOf(e.currentTarget);n=l.loop?function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(n,r+1):n.slice(r+1)}setTimeout((function(){return _2(n)}))}}}))})))})),w2={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function _2(e){var t,n=document.activeElement,r=vo(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===n||(o.focus(),document.activeElement!==n))return}}catch(i){r.e(i)}finally{r.f()}}var E2=y2,S2=x2,k2="Tabs",C2=$r(MQ(k2,[h2]),2),A2=C2[0],T2=(C2[1],h2()),P2=$r(A2(k2),2),O2=P2[0],R2=P2[1],D2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.onValueChange,i=e.defaultValue,a=e.orientation,u=void 0===a?"horizontal":a,s=e.dir,l=e.activationMode,c=void 0===l?"automatic":l,f=qr(e,Nr),d=o2(s),p=$r(e0({prop:r,onChange:o,defaultProp:i}),2),h=p[0],v=p[1];return Jr.exports.createElement(O2,{scope:n,baseId:d$(),value:h,onValueChange:v,orientation:u,dir:d,activationMode:c},Jr.exports.createElement(BQ.div,PQ({dir:d,"data-orientation":u},f,{ref:t})))})),L2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.loop,o=void 0===r||r,i=qr(e,Fr),a=R2("TabsList",n),u=T2(n);return Jr.exports.createElement(E2,PQ({asChild:!0},u,{orientation:a.orientation,dir:a.dir,loop:o}),Jr.exports.createElement(BQ.div,PQ({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))})),M2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.disabled,i=void 0!==o&&o,a=qr(e,Ir),u=R2("TabsTrigger",n),s=T2(n),l=F2(u.baseId,r),c=I2(u.baseId,r),f=r===u.value;return Jr.exports.createElement(S2,PQ({asChild:!0},s,{focusable:!i,active:f}),Jr.exports.createElement(BQ.button,PQ({type:"button",role:"tab","aria-selected":f,"aria-controls":c,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l},a,{ref:t,onMouseDown:OQ(e.onMouseDown,(function(e){i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(r)})),onKeyDown:OQ(e.onKeyDown,(function(e){[" ","Enter"].includes(e.key)&&u.onValueChange(r)})),onFocus:OQ(e.onFocus,(function(){var e="manual"!==u.activationMode;!f&&!i&&e&&u.onValueChange(r)}))})))})),N2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.forceMount,i=e.children,a=qr(e,jr),u=R2("TabsContent",n),s=F2(u.baseId,r),l=I2(u.baseId,r),c=r===u.value,f=Jr.exports.useRef(c);return Jr.exports.useEffect((function(){var e=requestAnimationFrame((function(){return f.current=!1}));return function(){return cancelAnimationFrame(e)}}),[]),Jr.exports.createElement($J,{present:o||c},(function(n){var r=n.present;return Jr.exports.createElement(BQ.div,PQ({"data-state":c?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":s,hidden:!r,id:l,tabIndex:0},a,{ref:t,style:Zr(Zr({},e.style),{},{animationDuration:f.current?"0s":void 0})}),r&&i)}))}));function F2(e,t){return"".concat(e,"-trigger-").concat(t)}function I2(e,t){return"".concat(e,"-content-").concat(t)}var j2=D2,z2=L2,B2=M2,U2=N2,V2=function(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null==(n=t.current)?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])},H2=function(e){var t=e.controlledValue,n=e.onChange,r=function(e){var t=e.defaultValue,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=V2(null==n?void 0:n.func);return Jr.exports.useEffect((function(){i.current!==o&&n&&(a({type:n.key,data:o}),i.current=o)}),[o,i,a]),r}({defaultValue:e.defaultValue,onChange:n}),o=$r(r,2),i=o[0],a=o[1],u=void 0!==t,s=u?t:i,l=V2(null==n?void 0:n.func),c=Jr.exports.useCallback((function(e){if(u){var r="function"==typeof e?e(t):e;r!==t&&n&&l({type:n.key,data:r})}else a(e)}),[u,s,a,l]);return[s,c]},q2=Yo.createContext({}),Y2=n2.Title,G2=n2.Icon,W2=yE(z2)(Pt||(Pt=Hr(["\n display: grid;\n grid-auto-columns: minmax(0, 1fr);\n grid-auto-flow: column;\n background-color: ",";\n"])),Kq["--ll-color-background"]),K2=yE(B2)(Ot||(Ot=Hr(["\n background: none;\n border: none;\n padding: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n\n &:hover {\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n }\n"])),Kq["--ll-spacing-xx-small"],Kq["--ll-color-surface"],Kq["--ll-border-radius-small"],Kq["--ll-shadow-small"]),X2=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=e.onChange,r=e.children,o=$r(H2({controlledValue:t.currentTab,onChange:{func:n,key:"tabs"},defaultValue:t.defaultTab||"commute"}),2),i=o[0],a=o[1];return Iq(q2.Provider,{value:Zr(Zr({},t),{},{currentTab:i}),children:Iq(j2,{value:i,orientation:"vertical",defaultValue:i,onValueChange:function(e){return a(e)},children:r})})},Tabs:function(){var e=Jr.exports.useContext(q2).currentTab,t=oQ([Q1]).translations;return Iq(W2,{"aria-label":"Score tabs",children:J1.map((function(n){var r=n.value===e?"--ll-color-primary":"--ll-color-disabled";return Iq(Yo.Fragment,{children:jq(K2,{value:n.value,children:[Iq(lY,{SVGElement:n.icon,fill:Kq[r]}),Iq(hY,{noMargin:!0,variant:"caption1",color:r,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)}))})},Content:function(e){var t=e.children,n=e.options.value;return Iq(U2,{value:n,children:Iq(t2,{options:{scoreCategory:n},children:t})},n)},Title:Y2,Icon:G2},Symbol.toStringTag,{value:"Module"})),Z2=Yo.createContext({}),Q2=yE(B2)(Rt||(Rt=Hr(["\n margin-right: ",";\n margin-bottom: ",";\n"])),Kq["--ll-spacing-xx-small"],Kq["--ll-spacing-xx-small"]),$2=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=e.children,r=$r(Jr.exports.useState(t.include[0]),2),o=r[0],i=r[1];return Iq(Z2.Provider,{value:Zr(Zr({},t),{},{activeTab:o,setActiveTab:i}),children:Iq(j2,{value:o,children:n})})},Tabs:function(){var e=Jr.exports.useContext(Z2),t=e.include,n=e.activeTab,r=e.setActiveTab,o=oQ([L1]).translations;return t.length<=1?null:Iq(z2,{"aria-label":"tabs example",children:t.map((function(e){return Iq(Q2,{value:e,asChild:!0,children:Iq(XY,{size:"small",variant:e===n?"contained":"outlined",onClick:function(){return r(e)},children:o[e]})},e)}))})},Content:function(e){var t=e.children,n=e.options.value;return Iq(U2,{value:n,children:t},n)}},Symbol.toStringTag,{value:"Module"})),J2=Yo.createContext({}),e5=function(){return Jr.exports.useContext(J2)},t5=function(e){var t,n=e5().options.poi,r=oQ([L1]).translations;return null!=(t=e.options)&&t.isRawText?Iq(Fq,{children:r[n]}):Iq(hY,Zr(Zr({},e.options),{},{children:r[n]}))};Ur({C:X2,x:$2}),t5.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};var n5=function(e){var t=e.options,n=e5().options.poi;return Iq(lY,{SVGElement:P1[n],fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})};n5.defaultProps={options:{color:"--ll-color-on-background-variant1"}};Ur("a9",Object.freeze(Object.defineProperty({__proto__:null,Title:t5,Icon:n5,Root:function(e){return Iq(J2.Provider,{value:Zr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})));var r5,o5=function(e){var t,n,r=e.children,o=iL().sdkState;if(null==o||!o.apiKey)throw Error("A valid apiKey must be provided.");var i,a,u=(i=o.apiKey,a={locale:null==o||null===(t=o.globalOptions)||void 0===t?void 0:t.locale},new uI(i,a));return Fx(XZ,{client:u,options:{appearance:null==o||null===(n=o.globalOptions)||void 0===n?void 0:n.appearance},children:r})},i5=yE.div(Dt||(Dt=Hr(["\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n"]))),a5=function(e){var t=e.error;return Ix(i5,{children:[Fx(WE,{variant:"h4",children:"An error occurred"}),Fx(WE,{variant:"p",color:"--ll-color-on-background-variant1",children:t.message})]})},u5=new wD({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),s5=function(){return Ix(Nx,{children:[Fx(OE,{}),Fx(RR,{FallbackComponent:a5,children:Fx(RD,{children:Fx(kD,{client:u5,children:Fx(aL,{children:Fx(o5,{children:Fx(fL,{children:Fx(hR,{})})})})})})})]})};(r5={dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new kw],tracesSampleRate:1,environment:"production",enabled:!0})._metadata=r5._metadata||{},r5._metadata.sdk=r5._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Ly}],version:Ly},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=Ub),void 0===e.release){var t=om();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);var n=Zr(Zr({},e),{},{stackParser:Gm(e.stackParser||pb),integrations:Ay(e),transport:e.transport||(Zm()?rb:ob)});Oy(nb,n),e.autoSessionTracking&&Hb()}(r5),Wo.createRoot(document.getElementById("root")).render(Fx(Yo.StrictMode,{children:Fx(s5,{})}))}}}))}();