@local-logic/sdks-app 1.0.0-beta.49 → 1.0.0-beta.50

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 (214) hide show
  1. package/dist/assets/{index.d3f78cf1.css → chevron_right.2aa1109f.css} +0 -0
  2. package/dist/assets/chevron_right.4d3152f8.js +587 -0
  3. package/dist/assets/index.5b4e1a6e.js +183 -0
  4. package/dist/assets/index.9276bc44.js +1 -0
  5. package/dist/assets/index.993161da.js +1 -0
  6. package/dist/assets/index.cc7e4871.js +94 -0
  7. package/dist/assets/index.e82abb8d.js +1 -0
  8. package/dist/assets/index.fb8ba143.js +1029 -0
  9. package/dist/assets/index.fe0fe532.js +1 -0
  10. package/dist/index.html +1 -1
  11. package/dist/types/App.d.ts.map +1 -1
  12. package/dist/types/App.js +3 -1
  13. package/dist/types/App.js.map +1 -1
  14. package/dist/types/RouteTemplates/index.d.ts.map +1 -1
  15. package/dist/types/RouteTemplates/index.js +9 -1
  16. package/dist/types/RouteTemplates/index.js.map +1 -1
  17. package/dist/types/{sdks/LocalContent/Map → components}/Pin/index.d.ts +0 -0
  18. package/dist/types/components/Pin/index.d.ts.map +1 -0
  19. package/dist/types/{sdks/LocalContent/Map → components}/Pin/index.js +0 -0
  20. package/dist/types/components/Pin/index.js.map +1 -0
  21. package/dist/types/constants/routes.d.ts +2 -1
  22. package/dist/types/constants/routes.d.ts.map +1 -1
  23. package/dist/types/constants/routes.js +1 -0
  24. package/dist/types/constants/routes.js.map +1 -1
  25. package/dist/types/context/languageProvider/data-explorer/index.d.ts +6 -0
  26. package/dist/types/context/languageProvider/data-explorer/index.d.ts.map +1 -0
  27. package/dist/types/context/languageProvider/data-explorer/index.js +6 -0
  28. package/dist/types/context/languageProvider/data-explorer/index.js.map +1 -0
  29. package/dist/types/context/languageProvider/data-explorer/locales/en/index.d.ts +5 -0
  30. package/dist/types/context/languageProvider/data-explorer/locales/en/index.d.ts.map +1 -0
  31. package/dist/types/context/languageProvider/data-explorer/locales/en/index.js +23 -0
  32. package/dist/types/context/languageProvider/data-explorer/locales/en/index.js.map +1 -0
  33. package/dist/types/context/languageProvider/data-explorer/locales/fr/index.d.ts +5 -0
  34. package/dist/types/context/languageProvider/data-explorer/locales/fr/index.d.ts.map +1 -0
  35. package/dist/types/context/languageProvider/data-explorer/locales/fr/index.js +23 -0
  36. package/dist/types/context/languageProvider/data-explorer/locales/fr/index.js.map +1 -0
  37. package/dist/types/context/languageProvider/data-explorer/types.d.ts +5 -0
  38. package/dist/types/context/languageProvider/data-explorer/types.d.ts.map +1 -0
  39. package/dist/types/context/languageProvider/data-explorer/types.js +2 -0
  40. package/dist/types/context/languageProvider/data-explorer/types.js.map +1 -0
  41. package/dist/types/context/languageProvider/index.d.ts +15 -0
  42. package/dist/types/context/languageProvider/index.d.ts.map +1 -0
  43. package/dist/types/context/languageProvider/index.js +48 -0
  44. package/dist/types/context/languageProvider/index.js.map +1 -0
  45. package/dist/types/context/languageProvider/local-content/index.d.ts +6 -0
  46. package/dist/types/context/languageProvider/local-content/index.d.ts.map +1 -0
  47. package/dist/types/context/languageProvider/local-content/index.js +6 -0
  48. package/dist/types/context/languageProvider/local-content/index.js.map +1 -0
  49. package/dist/types/context/languageProvider/local-content/locales/en/index.d.ts +5 -0
  50. package/dist/types/context/languageProvider/local-content/locales/en/index.d.ts.map +1 -0
  51. package/dist/types/context/languageProvider/local-content/locales/en/index.js +4 -0
  52. package/dist/types/context/languageProvider/local-content/locales/en/index.js.map +1 -0
  53. package/dist/types/context/languageProvider/local-content/locales/fr/index.d.ts +5 -0
  54. package/dist/types/context/languageProvider/local-content/locales/fr/index.d.ts.map +1 -0
  55. package/dist/types/context/languageProvider/local-content/locales/fr/index.js +4 -0
  56. package/dist/types/context/languageProvider/local-content/locales/fr/index.js.map +1 -0
  57. package/dist/types/context/languageProvider/local-content/types.d.ts +2 -0
  58. package/dist/types/context/languageProvider/local-content/types.d.ts.map +1 -0
  59. package/dist/types/context/languageProvider/local-content/types.js +2 -0
  60. package/dist/types/context/languageProvider/local-content/types.js.map +1 -0
  61. package/dist/types/context/languageProvider/sdkLocales.d.ts +9 -0
  62. package/dist/types/context/languageProvider/sdkLocales.d.ts.map +1 -0
  63. package/dist/types/context/languageProvider/sdkLocales.js +7 -0
  64. package/dist/types/context/languageProvider/sdkLocales.js.map +1 -0
  65. package/dist/types/context/languageProvider/types.d.ts +5 -0
  66. package/dist/types/context/languageProvider/types.d.ts.map +1 -0
  67. package/dist/types/context/languageProvider/types.js +2 -0
  68. package/dist/types/context/languageProvider/types.js.map +1 -0
  69. package/dist/types/context/stateManager/defaultState.d.ts.map +1 -1
  70. package/dist/types/context/stateManager/defaultState.js +5 -0
  71. package/dist/types/context/stateManager/defaultState.js.map +1 -1
  72. package/dist/types/context/stateManager/index.d.ts +3 -3
  73. package/dist/types/context/stateManager/index.d.ts.map +1 -1
  74. package/dist/types/features/demographics/index.d.ts +3 -0
  75. package/dist/types/features/demographics/index.d.ts.map +1 -0
  76. package/dist/types/features/demographics/index.js +3 -0
  77. package/dist/types/features/demographics/index.js.map +1 -0
  78. package/dist/types/features/demographics/keyFactory.d.ts +10 -0
  79. package/dist/types/features/demographics/keyFactory.d.ts.map +1 -0
  80. package/dist/types/features/demographics/keyFactory.js +5 -0
  81. package/dist/types/features/demographics/keyFactory.js.map +1 -0
  82. package/dist/types/features/demographics/types.d.ts +4 -0
  83. package/dist/types/features/demographics/types.d.ts.map +1 -0
  84. package/dist/types/features/demographics/types.js +2 -0
  85. package/dist/types/features/demographics/types.js.map +1 -0
  86. package/dist/types/features/profiles/index.d.ts +3 -0
  87. package/dist/types/features/profiles/index.d.ts.map +1 -0
  88. package/dist/types/features/profiles/index.js +3 -0
  89. package/dist/types/features/profiles/index.js.map +1 -0
  90. package/dist/types/features/profiles/keyFactory.d.ts +10 -0
  91. package/dist/types/features/profiles/keyFactory.d.ts.map +1 -0
  92. package/dist/types/features/profiles/keyFactory.js +5 -0
  93. package/dist/types/features/profiles/keyFactory.js.map +1 -0
  94. package/dist/types/features/profiles/types.d.ts +4 -0
  95. package/dist/types/features/profiles/types.d.ts.map +1 -0
  96. package/dist/types/features/profiles/types.js +2 -0
  97. package/dist/types/features/profiles/types.js.map +1 -0
  98. package/dist/types/sdks/DataExplorer/components/Demographics/index.d.ts +4 -0
  99. package/dist/types/sdks/DataExplorer/components/Demographics/index.d.ts.map +1 -0
  100. package/dist/types/sdks/DataExplorer/components/Demographics/index.js +15 -0
  101. package/dist/types/sdks/DataExplorer/components/Demographics/index.js.map +1 -0
  102. package/dist/types/sdks/DataExplorer/components/Demographics/styles.d.ts +2 -0
  103. package/dist/types/sdks/DataExplorer/components/Demographics/styles.d.ts.map +1 -0
  104. package/dist/types/sdks/DataExplorer/components/Demographics/styles.js +6 -0
  105. package/dist/types/sdks/DataExplorer/components/Demographics/styles.js.map +1 -0
  106. package/dist/types/sdks/DataExplorer/components/Export/index.d.ts +4 -0
  107. package/dist/types/sdks/DataExplorer/components/Export/index.d.ts.map +1 -0
  108. package/dist/types/sdks/DataExplorer/components/Export/index.js +239 -0
  109. package/dist/types/sdks/DataExplorer/components/Export/index.js.map +1 -0
  110. package/dist/types/sdks/DataExplorer/components/Export/styles.d.ts +3 -0
  111. package/dist/types/sdks/DataExplorer/components/Export/styles.d.ts.map +1 -0
  112. package/dist/types/sdks/DataExplorer/components/Export/styles.js +18 -0
  113. package/dist/types/sdks/DataExplorer/components/Export/styles.js.map +1 -0
  114. package/dist/types/sdks/DataExplorer/components/Map/index.d.ts +4 -0
  115. package/dist/types/sdks/DataExplorer/components/Map/index.d.ts.map +1 -0
  116. package/dist/types/sdks/DataExplorer/components/Map/index.js +49 -0
  117. package/dist/types/sdks/DataExplorer/components/Map/index.js.map +1 -0
  118. package/dist/types/sdks/DataExplorer/components/Map/styles.d.ts +2 -0
  119. package/dist/types/sdks/DataExplorer/components/Map/styles.d.ts.map +1 -0
  120. package/dist/types/sdks/DataExplorer/components/Map/styles.js +8 -0
  121. package/dist/types/sdks/DataExplorer/components/Map/styles.js.map +1 -0
  122. package/dist/types/sdks/DataExplorer/components/POIs/index.d.ts +4 -0
  123. package/dist/types/sdks/DataExplorer/components/POIs/index.d.ts.map +1 -0
  124. package/dist/types/sdks/DataExplorer/components/POIs/index.js +42 -0
  125. package/dist/types/sdks/DataExplorer/components/POIs/index.js.map +1 -0
  126. package/dist/types/sdks/DataExplorer/components/POIs/styles.d.ts +2 -0
  127. package/dist/types/sdks/DataExplorer/components/POIs/styles.d.ts.map +1 -0
  128. package/dist/types/sdks/DataExplorer/components/POIs/styles.js +6 -0
  129. package/dist/types/sdks/DataExplorer/components/POIs/styles.js.map +1 -0
  130. package/dist/types/sdks/DataExplorer/components/Schools/index.d.ts +4 -0
  131. package/dist/types/sdks/DataExplorer/components/Schools/index.d.ts.map +1 -0
  132. package/dist/types/sdks/DataExplorer/components/Schools/index.js +21 -0
  133. package/dist/types/sdks/DataExplorer/components/Schools/index.js.map +1 -0
  134. package/dist/types/sdks/DataExplorer/components/Schools/styles.d.ts +2 -0
  135. package/dist/types/sdks/DataExplorer/components/Schools/styles.d.ts.map +1 -0
  136. package/dist/types/sdks/DataExplorer/components/Schools/styles.js +6 -0
  137. package/dist/types/sdks/DataExplorer/components/Schools/styles.js.map +1 -0
  138. package/dist/types/sdks/DataExplorer/components/Scores/index.d.ts +4 -0
  139. package/dist/types/sdks/DataExplorer/components/Scores/index.d.ts.map +1 -0
  140. package/dist/types/sdks/DataExplorer/components/Scores/index.js +29 -0
  141. package/dist/types/sdks/DataExplorer/components/Scores/index.js.map +1 -0
  142. package/dist/types/sdks/DataExplorer/components/Scores/styles.d.ts +2 -0
  143. package/dist/types/sdks/DataExplorer/components/Scores/styles.d.ts.map +1 -0
  144. package/dist/types/sdks/DataExplorer/components/Scores/styles.js +6 -0
  145. package/dist/types/sdks/DataExplorer/components/Scores/styles.js.map +1 -0
  146. package/dist/types/sdks/DataExplorer/components/Section/index.d.ts +12 -0
  147. package/dist/types/sdks/DataExplorer/components/Section/index.d.ts.map +1 -0
  148. package/dist/types/sdks/DataExplorer/components/Section/index.js +34 -0
  149. package/dist/types/sdks/DataExplorer/components/Section/index.js.map +1 -0
  150. package/dist/types/sdks/DataExplorer/components/Section/styles.d.ts +11 -0
  151. package/dist/types/sdks/DataExplorer/components/Section/styles.d.ts.map +1 -0
  152. package/dist/types/sdks/DataExplorer/components/Section/styles.js +69 -0
  153. package/dist/types/sdks/DataExplorer/components/Section/styles.js.map +1 -0
  154. package/dist/types/sdks/DataExplorer/context.d.ts +41 -0
  155. package/dist/types/sdks/DataExplorer/context.d.ts.map +1 -0
  156. package/dist/types/sdks/DataExplorer/context.js +45 -0
  157. package/dist/types/sdks/DataExplorer/context.js.map +1 -0
  158. package/dist/types/sdks/DataExplorer/defaultState.d.ts +7 -0
  159. package/dist/types/sdks/DataExplorer/defaultState.d.ts.map +1 -0
  160. package/dist/types/sdks/DataExplorer/defaultState.js +3 -0
  161. package/dist/types/sdks/DataExplorer/defaultState.js.map +1 -0
  162. package/dist/types/sdks/DataExplorer/features/useDemographics.d.ts +7 -0
  163. package/dist/types/sdks/DataExplorer/features/useDemographics.d.ts.map +1 -0
  164. package/dist/types/sdks/DataExplorer/features/useDemographics.js +24 -0
  165. package/dist/types/sdks/DataExplorer/features/useDemographics.js.map +1 -0
  166. package/dist/types/sdks/DataExplorer/features/usePois.d.ts +10 -0
  167. package/dist/types/sdks/DataExplorer/features/usePois.d.ts.map +1 -0
  168. package/dist/types/sdks/DataExplorer/features/usePois.js +29 -0
  169. package/dist/types/sdks/DataExplorer/features/usePois.js.map +1 -0
  170. package/dist/types/sdks/DataExplorer/features/useProfiles.d.ts +6 -0
  171. package/dist/types/sdks/DataExplorer/features/useProfiles.d.ts.map +1 -0
  172. package/dist/types/sdks/DataExplorer/features/useProfiles.js +23 -0
  173. package/dist/types/sdks/DataExplorer/features/useProfiles.js.map +1 -0
  174. package/dist/types/sdks/DataExplorer/features/useSchools.d.ts +8 -0
  175. package/dist/types/sdks/DataExplorer/features/useSchools.d.ts.map +1 -0
  176. package/dist/types/sdks/DataExplorer/features/useSchools.js +25 -0
  177. package/dist/types/sdks/DataExplorer/features/useSchools.js.map +1 -0
  178. package/dist/types/sdks/DataExplorer/features/useScores.d.ts +8 -0
  179. package/dist/types/sdks/DataExplorer/features/useScores.d.ts.map +1 -0
  180. package/dist/types/sdks/DataExplorer/features/useScores.js +26 -0
  181. package/dist/types/sdks/DataExplorer/features/useScores.js.map +1 -0
  182. package/dist/types/sdks/DataExplorer/index.d.ts +5 -0
  183. package/dist/types/sdks/DataExplorer/index.d.ts.map +1 -0
  184. package/dist/types/sdks/DataExplorer/index.js +66 -0
  185. package/dist/types/sdks/DataExplorer/index.js.map +1 -0
  186. package/dist/types/sdks/DataExplorer/styles.d.ts +5 -0
  187. package/dist/types/sdks/DataExplorer/styles.d.ts.map +1 -0
  188. package/dist/types/sdks/DataExplorer/styles.js +14 -0
  189. package/dist/types/sdks/DataExplorer/styles.js.map +1 -0
  190. package/dist/types/sdks/DataExplorer/types.d.ts +11 -0
  191. package/dist/types/sdks/DataExplorer/types.d.ts.map +1 -0
  192. package/dist/types/sdks/DataExplorer/types.js +2 -0
  193. package/dist/types/sdks/DataExplorer/types.js.map +1 -0
  194. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts +1 -2
  195. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts.map +1 -1
  196. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js +5 -9
  197. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js.map +1 -1
  198. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts.map +1 -1
  199. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js +1 -1
  200. package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js.map +1 -1
  201. package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
  202. package/dist/types/sdks/LocalContent/Map/index.js +2 -10
  203. package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
  204. package/dist/types/services/downloadFile/index.d.ts +6 -0
  205. package/dist/types/services/downloadFile/index.d.ts.map +1 -0
  206. package/dist/types/services/downloadFile/index.js +17 -0
  207. package/dist/types/services/downloadFile/index.js.map +1 -0
  208. package/dist/types/types/sdks.d.ts +2 -0
  209. package/dist/types/types/sdks.d.ts.map +1 -1
  210. package/package.json +8 -5
  211. package/dist/assets/index.177feb04.js +0 -895
  212. package/dist/assets/index.e216285c.js +0 -769
  213. package/dist/types/sdks/LocalContent/Map/Pin/index.d.ts.map +0 -1
  214. package/dist/types/sdks/LocalContent/Map/Pin/index.js.map +0 -1
@@ -0,0 +1,1029 @@
1
+ function TR(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const PR=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}};PR();var d={exports:{}},he={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var ll=Symbol.for("react.element"),RR=Symbol.for("react.portal"),kR=Symbol.for("react.fragment"),OR=Symbol.for("react.strict_mode"),DR=Symbol.for("react.profiler"),LR=Symbol.for("react.provider"),NR=Symbol.for("react.context"),MR=Symbol.for("react.forward_ref"),FR=Symbol.for("react.suspense"),IR=Symbol.for("react.memo"),jR=Symbol.for("react.lazy"),q1=Symbol.iterator;function BR(e){return e===null||typeof e!="object"?null:(e=q1&&e[q1]||e["@@iterator"],typeof e=="function"?e:null)}var qb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Kb=Object.assign,Xb={};function pa(e,t,n){this.props=e,this.context=t,this.refs=Xb,this.updater=n||qb}pa.prototype.isReactComponent={};pa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};pa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zb(){}Zb.prototype=pa.prototype;function Zv(e,t,n){this.props=e,this.context=t,this.refs=Xb,this.updater=n||qb}var Qv=Zv.prototype=new Zb;Qv.constructor=Zv;Kb(Qv,pa.prototype);Qv.isPureReactComponent=!0;var K1=Array.isArray,Qb=Object.prototype.hasOwnProperty,Jv={current:null},Jb={key:!0,ref:!0,__self:!0,__source:!0};function e2(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Qb.call(t,r)&&!Jb.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:ll,type:e,key:i,ref:a,props:o,_owner:Jv.current}}function zR(e,t){return{$$typeof:ll,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function e0(e){return typeof e=="object"&&e!==null&&e.$$typeof===ll}function VR(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var X1=/\/+/g;function ip(e,t){return typeof e=="object"&&e!==null&&e.key!=null?VR(""+e.key):t.toString(36)}function Ru(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ll:case RR:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+ip(a,0):r,K1(o)?(n="",e!=null&&(n=e.replace(X1,"$&/")+"/"),Ru(o,t,n,"",function(u){return u})):o!=null&&(e0(o)&&(o=zR(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(X1,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",K1(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+ip(i,s);a+=Ru(i,t,n,l,o)}else if(l=BR(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+ip(i,s++),a+=Ru(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Dl(e,t,n){if(e==null)return e;var r=[],o=0;return Ru(e,r,"","",function(i){return t.call(n,i,o++)}),r}function UR(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Tt={current:null},ku={transition:null},HR={ReactCurrentDispatcher:Tt,ReactCurrentBatchConfig:ku,ReactCurrentOwner:Jv};he.Children={map:Dl,forEach:function(e,t,n){Dl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Dl(e,function(){t++}),t},toArray:function(e){return Dl(e,function(t){return t})||[]},only:function(e){if(!e0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};he.Component=pa;he.Fragment=kR;he.Profiler=DR;he.PureComponent=Zv;he.StrictMode=OR;he.Suspense=FR;he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=HR;he.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Kb({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Jv.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Qb.call(t,l)&&!Jb.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:ll,type:e.type,key:o,ref:i,props:r,_owner:a}};he.createContext=function(e){return e={$$typeof:NR,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:LR,_context:e},e.Consumer=e};he.createElement=e2;he.createFactory=function(e){var t=e2.bind(null,e);return t.type=e,t};he.createRef=function(){return{current:null}};he.forwardRef=function(e){return{$$typeof:MR,render:e}};he.isValidElement=e0;he.lazy=function(e){return{$$typeof:jR,_payload:{_status:-1,_result:e},_init:UR}};he.memo=function(e,t){return{$$typeof:IR,type:e,compare:t===void 0?null:t}};he.startTransition=function(e){var t=ku.transition;ku.transition={};try{e()}finally{ku.transition=t}};he.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};he.useCallback=function(e,t){return Tt.current.useCallback(e,t)};he.useContext=function(e){return Tt.current.useContext(e)};he.useDebugValue=function(){};he.useDeferredValue=function(e){return Tt.current.useDeferredValue(e)};he.useEffect=function(e,t){return Tt.current.useEffect(e,t)};he.useId=function(){return Tt.current.useId()};he.useImperativeHandle=function(e,t,n){return Tt.current.useImperativeHandle(e,t,n)};he.useInsertionEffect=function(e,t){return Tt.current.useInsertionEffect(e,t)};he.useLayoutEffect=function(e,t){return Tt.current.useLayoutEffect(e,t)};he.useMemo=function(e,t){return Tt.current.useMemo(e,t)};he.useReducer=function(e,t,n){return Tt.current.useReducer(e,t,n)};he.useRef=function(e){return Tt.current.useRef(e)};he.useState=function(e){return Tt.current.useState(e)};he.useSyncExternalStore=function(e,t,n){return Tt.current.useSyncExternalStore(e,t,n)};he.useTransition=function(){return Tt.current.useTransition()};he.version="18.2.0";d.exports=he;var te=d.exports,t0=TR({__proto__:null,default:te},[d.exports]),kh={},Pt={exports:{}},Xt={},t2={exports:{}},n2={};/**
10
+ * @license React
11
+ * scheduler.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */(function(e){function t(z,K){var k=z.length;z.push(K);e:for(;0<k;){var G=k-1>>>1,O=z[G];if(0<o(O,K))z[G]=K,z[k]=O,k=G;else break e}}function n(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var K=z[0],k=z.pop();if(k!==K){z[0]=k;e:for(var G=0,O=z.length,R=O>>>1;G<R;){var T=2*(G+1)-1,D=z[T],A=T+1,q=z[A];if(0>o(D,k))A<O&&0>o(q,D)?(z[G]=q,z[A]=k,G=A):(z[G]=D,z[T]=k,G=T);else if(A<O&&0>o(q,k))z[G]=q,z[A]=k,G=A;else break e}}return K}function o(z,K){var k=z.sortIndex-K.sortIndex;return k!==0?k:z.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,p=3,h=!1,v=!1,m=!1,_=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(z){for(var K=n(u);K!==null;){if(K.callback===null)r(u);else if(K.startTime<=z)r(u),K.sortIndex=K.expirationTime,t(l,K);else break;K=n(u)}}function w(z){if(m=!1,x(z),!v)if(n(l)!==null)v=!0,ue(b);else{var K=n(u);K!==null&&ie(w,K.startTime-z)}}function b(z,K){v=!1,m&&(m=!1,g(C),C=-1),h=!0;var k=p;try{for(x(K),f=n(l);f!==null&&(!(f.expirationTime>K)||z&&!M());){var G=f.callback;if(typeof G=="function"){f.callback=null,p=f.priorityLevel;var O=G(f.expirationTime<=K);K=e.unstable_now(),typeof O=="function"?f.callback=O:f===n(l)&&r(l),x(K)}else r(l);f=n(l)}if(f!==null)var R=!0;else{var T=n(u);T!==null&&ie(w,T.startTime-K),R=!1}return R}finally{f=null,p=k,h=!1}}var E=!1,S=null,C=-1,$=5,P=-1;function M(){return!(e.unstable_now()-P<$)}function I(){if(S!==null){var z=e.unstable_now();P=z;var K=!0;try{K=S(!0,z)}finally{K?B():(E=!1,S=null)}}else E=!1}var B;if(typeof y=="function")B=function(){y(I)};else if(typeof MessageChannel!="undefined"){var j=new MessageChannel,J=j.port2;j.port1.onmessage=I,B=function(){J.postMessage(null)}}else B=function(){_(I,0)};function ue(z){S=z,E||(E=!0,B())}function ie(z,K){C=_(function(){z(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,ue(b))},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(z){switch(p){case 1:case 2:case 3:var K=3;break;default:K=p}var k=p;p=K;try{return z()}finally{p=k}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(z,K){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var k=p;p=z;try{return K()}finally{p=k}},e.unstable_scheduleCallback=function(z,K,k){var G=e.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?G+k:G):k=G,z){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=k+O,z={id:c++,callback:K,priorityLevel:z,startTime:k,expirationTime:O,sortIndex:-1},k>G?(z.sortIndex=k,t(u,z),n(l)===null&&z===n(u)&&(m?(g(C),C=-1):m=!0,ie(w,k-G))):(z.sortIndex=O,t(l,z),v||h||(v=!0,ue(b))),z},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(z){var K=p;return function(){var k=p;p=K;try{return z.apply(this,arguments)}finally{p=k}}}})(n2);t2.exports=n2;/**
18
+ * @license React
19
+ * react-dom.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var r2=d.exports,Wt=t2.exports;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o2=new Set,Ss={};function qo(e,t){Gi(e,t),Gi(e+"Capture",t)}function Gi(e,t){for(Ss[e]=t,e=0;e<t.length;e++)o2.add(t[e])}var nr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Oh=Object.prototype.hasOwnProperty,GR=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Z1={},Q1={};function YR(e){return Oh.call(Q1,e)?!0:Oh.call(Z1,e)?!1:GR.test(e)?Q1[e]=!0:(Z1[e]=!0,!1)}function WR(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qR(e,t,n,r){if(t===null||typeof t=="undefined"||WR(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Rt(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ft={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ft[e]=new Rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ft[t]=new Rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ft[e]=new Rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ft[e]=new Rt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ft[e]=new Rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ft[e]=new Rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ft[e]=new Rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ft[e]=new Rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ft[e]=new Rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var n0=/[\-:]([a-z])/g;function r0(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(n0,r0);ft[t]=new Rt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(n0,r0);ft[t]=new Rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(n0,r0);ft[t]=new Rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ft[e]=new Rt(e,1,!1,e.toLowerCase(),null,!1,!1)});ft.xlinkHref=new Rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ft[e]=new Rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function o0(e,t,n,r){var o=ft.hasOwnProperty(t)?ft[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(qR(t,n,o,r)&&(n=null),r||o===null?YR(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var vr=r2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ll=Symbol.for("react.element"),pi=Symbol.for("react.portal"),hi=Symbol.for("react.fragment"),i0=Symbol.for("react.strict_mode"),Dh=Symbol.for("react.profiler"),i2=Symbol.for("react.provider"),a2=Symbol.for("react.context"),a0=Symbol.for("react.forward_ref"),Lh=Symbol.for("react.suspense"),Nh=Symbol.for("react.suspense_list"),s0=Symbol.for("react.memo"),$r=Symbol.for("react.lazy"),s2=Symbol.for("react.offscreen"),J1=Symbol.iterator;function Da(e){return e===null||typeof e!="object"?null:(e=J1&&e[J1]||e["@@iterator"],typeof e=="function"?e:null)}var Ue=Object.assign,ap;function Ya(e){if(ap===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ap=t&&t[1]||""}return`
26
+ `+ap+e}var sp=!1;function lp(e,t){if(!e||sp)return"";sp=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
27
+ `),i=r.stack.split(`
28
+ `),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
29
+ `+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{sp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ya(e):""}function KR(e){switch(e.tag){case 5:return Ya(e.type);case 16:return Ya("Lazy");case 13:return Ya("Suspense");case 19:return Ya("SuspenseList");case 0:case 2:case 15:return e=lp(e.type,!1),e;case 11:return e=lp(e.type.render,!1),e;case 1:return e=lp(e.type,!0),e;default:return""}}function Mh(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case hi:return"Fragment";case pi:return"Portal";case Dh:return"Profiler";case i0:return"StrictMode";case Lh:return"Suspense";case Nh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case a2:return(e.displayName||"Context")+".Consumer";case i2:return(e._context.displayName||"Context")+".Provider";case a0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case s0:return t=e.displayName||null,t!==null?t:Mh(e.type)||"Memo";case $r:t=e._payload,e=e._init;try{return Mh(e(t))}catch{}}return null}function XR(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Mh(t);case 8:return t===i0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function eo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function l2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ZR(e){var t=l2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nl(e){e._valueTracker||(e._valueTracker=ZR(e))}function u2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=l2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ic(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Fh(e,t){var n=t.checked;return Ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function ey(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=eo(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function c2(e,t){t=t.checked,t!=null&&o0(e,"checked",t,!1)}function Ih(e,t){c2(e,t);var n=eo(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jh(e,t.type,n):t.hasOwnProperty("defaultValue")&&jh(e,t.type,eo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ty(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jh(e,t,n){(t!=="number"||ic(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wa=Array.isArray;function Oi(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+eo(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Bh(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return Ue({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ny(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(Wa(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:eo(n)}}function f2(e,t){var n=eo(t.value),r=eo(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ry(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function d2(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function zh(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?d2(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ml,p2=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ml=Ml||document.createElement("div"),Ml.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ml.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qa={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},QR=["Webkit","ms","Moz","O"];Object.keys(Qa).forEach(function(e){QR.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qa[t]=Qa[e]})});function h2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qa.hasOwnProperty(e)&&Qa[e]?(""+t).trim():t+"px"}function m2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=h2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var JR=Ue({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Vh(e,t){if(t){if(JR[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function Uh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hh=null;function l0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gh=null,Di=null,Li=null;function oy(e){if(e=fl(e)){if(typeof Gh!="function")throw Error(V(280));var t=e.stateNode;t&&(t=Cf(t),Gh(e.stateNode,e.type,t))}}function v2(e){Di?Li?Li.push(e):Li=[e]:Di=e}function g2(){if(Di){var e=Di,t=Li;if(Li=Di=null,oy(e),t)for(e=0;e<t.length;e++)oy(t[e])}}function y2(e,t){return e(t)}function x2(){}var up=!1;function _2(e,t,n){if(up)return e(t,n);up=!0;try{return y2(e,t,n)}finally{up=!1,(Di!==null||Li!==null)&&(x2(),g2())}}function As(e,t){var n=e.stateNode;if(n===null)return null;var r=Cf(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(V(231,t,typeof n));return n}var Yh=!1;if(nr)try{var La={};Object.defineProperty(La,"passive",{get:function(){Yh=!0}}),window.addEventListener("test",La,La),window.removeEventListener("test",La,La)}catch{Yh=!1}function e3(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ja=!1,ac=null,sc=!1,Wh=null,t3={onError:function(e){Ja=!0,ac=e}};function n3(e,t,n,r,o,i,a,s,l){Ja=!1,ac=null,e3.apply(t3,arguments)}function r3(e,t,n,r,o,i,a,s,l){if(n3.apply(this,arguments),Ja){if(Ja){var u=ac;Ja=!1,ac=null}else throw Error(V(198));sc||(sc=!0,Wh=u)}}function Ko(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function w2(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function iy(e){if(Ko(e)!==e)throw Error(V(188))}function o3(e){var t=e.alternate;if(!t){if(t=Ko(e),t===null)throw Error(V(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return iy(o),e;if(i===r)return iy(o),t;i=i.sibling}throw Error(V(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function b2(e){return e=o3(e),e!==null?E2(e):null}function E2(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=E2(e);if(t!==null)return t;e=e.sibling}return null}var S2=Wt.unstable_scheduleCallback,ay=Wt.unstable_cancelCallback,i3=Wt.unstable_shouldYield,a3=Wt.unstable_requestPaint,qe=Wt.unstable_now,s3=Wt.unstable_getCurrentPriorityLevel,u0=Wt.unstable_ImmediatePriority,C2=Wt.unstable_UserBlockingPriority,lc=Wt.unstable_NormalPriority,l3=Wt.unstable_LowPriority,A2=Wt.unstable_IdlePriority,wf=null,Ln=null;function u3(e){if(Ln&&typeof Ln.onCommitFiberRoot=="function")try{Ln.onCommitFiberRoot(wf,e,void 0,(e.current.flags&128)===128)}catch{}}var xn=Math.clz32?Math.clz32:d3,c3=Math.log,f3=Math.LN2;function d3(e){return e>>>=0,e===0?32:31-(c3(e)/f3|0)|0}var Fl=64,Il=4194304;function qa(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function uc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=qa(s):(i&=a,i!==0&&(r=qa(i)))}else a=n&~o,a!==0?r=qa(a):i!==0&&(r=qa(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-xn(t),o=1<<n,r|=e[n],t&=~o;return r}function p3(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function h3(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-xn(i),s=1<<a,l=o[a];l===-1?((s&n)===0||(s&r)!==0)&&(o[a]=p3(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function qh(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $2(){var e=Fl;return Fl<<=1,(Fl&4194240)===0&&(Fl=64),e}function cp(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ul(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=n}function m3(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-xn(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function c0(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var _e=0;function T2(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var P2,f0,R2,k2,O2,Kh=!1,jl=[],zr=null,Vr=null,Ur=null,$s=new Map,Ts=new Map,Or=[],v3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function sy(e,t){switch(e){case"focusin":case"focusout":zr=null;break;case"dragenter":case"dragleave":Vr=null;break;case"mouseover":case"mouseout":Ur=null;break;case"pointerover":case"pointerout":$s.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ts.delete(t.pointerId)}}function Na(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=fl(t),t!==null&&f0(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function g3(e,t,n,r,o){switch(t){case"focusin":return zr=Na(zr,e,t,n,r,o),!0;case"dragenter":return Vr=Na(Vr,e,t,n,r,o),!0;case"mouseover":return Ur=Na(Ur,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return $s.set(i,Na($s.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ts.set(i,Na(Ts.get(i)||null,e,t,n,r,o)),!0}return!1}function D2(e){var t=Po(e.target);if(t!==null){var n=Ko(t);if(n!==null){if(t=n.tag,t===13){if(t=w2(n),t!==null){e.blockedOn=t,O2(e.priority,function(){R2(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ou(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xh(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Hh=r,n.target.dispatchEvent(r),Hh=null}else return t=fl(n),t!==null&&f0(t),e.blockedOn=n,!1;t.shift()}return!0}function ly(e,t,n){Ou(e)&&n.delete(t)}function y3(){Kh=!1,zr!==null&&Ou(zr)&&(zr=null),Vr!==null&&Ou(Vr)&&(Vr=null),Ur!==null&&Ou(Ur)&&(Ur=null),$s.forEach(ly),Ts.forEach(ly)}function Ma(e,t){e.blockedOn===t&&(e.blockedOn=null,Kh||(Kh=!0,Wt.unstable_scheduleCallback(Wt.unstable_NormalPriority,y3)))}function Ps(e){function t(o){return Ma(o,e)}if(0<jl.length){Ma(jl[0],e);for(var n=1;n<jl.length;n++){var r=jl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(zr!==null&&Ma(zr,e),Vr!==null&&Ma(Vr,e),Ur!==null&&Ma(Ur,e),$s.forEach(t),Ts.forEach(t),n=0;n<Or.length;n++)r=Or[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Or.length&&(n=Or[0],n.blockedOn===null);)D2(n),n.blockedOn===null&&Or.shift()}var Ni=vr.ReactCurrentBatchConfig,cc=!0;function x3(e,t,n,r){var o=_e,i=Ni.transition;Ni.transition=null;try{_e=1,d0(e,t,n,r)}finally{_e=o,Ni.transition=i}}function _3(e,t,n,r){var o=_e,i=Ni.transition;Ni.transition=null;try{_e=4,d0(e,t,n,r)}finally{_e=o,Ni.transition=i}}function d0(e,t,n,r){if(cc){var o=Xh(e,t,n,r);if(o===null)_p(e,t,r,fc,n),sy(e,r);else if(g3(o,e,t,n,r))r.stopPropagation();else if(sy(e,r),t&4&&-1<v3.indexOf(e)){for(;o!==null;){var i=fl(o);if(i!==null&&P2(i),i=Xh(e,t,n,r),i===null&&_p(e,t,r,fc,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else _p(e,t,r,null,n)}}var fc=null;function Xh(e,t,n,r){if(fc=null,e=l0(r),e=Po(e),e!==null)if(t=Ko(e),t===null)e=null;else if(n=t.tag,n===13){if(e=w2(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return fc=e,null}function L2(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(s3()){case u0:return 1;case C2:return 4;case lc:case l3:return 16;case A2:return 536870912;default:return 16}default:return 16}}var Mr=null,p0=null,Du=null;function N2(){if(Du)return Du;var e,t=p0,n=t.length,r,o="value"in Mr?Mr.value:Mr.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return Du=o.slice(e,1<r?1-r:void 0)}function Lu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Bl(){return!0}function uy(){return!1}function Zt(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Bl:uy,this.isPropagationStopped=uy,this}return Ue(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Bl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Bl)},persist:function(){},isPersistent:Bl}),t}var ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},h0=Zt(ha),cl=Ue({},ha,{view:0,detail:0}),w3=Zt(cl),fp,dp,Fa,bf=Ue({},cl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:m0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Fa&&(Fa&&e.type==="mousemove"?(fp=e.screenX-Fa.screenX,dp=e.screenY-Fa.screenY):dp=fp=0,Fa=e),fp)},movementY:function(e){return"movementY"in e?e.movementY:dp}}),cy=Zt(bf),b3=Ue({},bf,{dataTransfer:0}),E3=Zt(b3),S3=Ue({},cl,{relatedTarget:0}),pp=Zt(S3),C3=Ue({},ha,{animationName:0,elapsedTime:0,pseudoElement:0}),A3=Zt(C3),$3=Ue({},ha,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),T3=Zt($3),P3=Ue({},ha,{data:0}),fy=Zt(P3),R3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k3={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},O3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=O3[e])?!!t[e]:!1}function m0(){return D3}var L3=Ue({},cl,{key:function(e){if(e.key){var t=R3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Lu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?k3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:m0,charCode:function(e){return e.type==="keypress"?Lu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Lu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),N3=Zt(L3),M3=Ue({},bf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dy=Zt(M3),F3=Ue({},cl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:m0}),I3=Zt(F3),j3=Ue({},ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),B3=Zt(j3),z3=Ue({},bf,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),V3=Zt(z3),U3=[9,13,27,32],v0=nr&&"CompositionEvent"in window,es=null;nr&&"documentMode"in document&&(es=document.documentMode);var H3=nr&&"TextEvent"in window&&!es,M2=nr&&(!v0||es&&8<es&&11>=es),py=String.fromCharCode(32),hy=!1;function F2(e,t){switch(e){case"keyup":return U3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function I2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mi=!1;function G3(e,t){switch(e){case"compositionend":return I2(t);case"keypress":return t.which!==32?null:(hy=!0,py);case"textInput":return e=t.data,e===py&&hy?null:e;default:return null}}function Y3(e,t){if(mi)return e==="compositionend"||!v0&&F2(e,t)?(e=N2(),Du=p0=Mr=null,mi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return M2&&t.locale!=="ko"?null:t.data;default:return null}}var W3={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function my(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!W3[e.type]:t==="textarea"}function j2(e,t,n,r){v2(r),t=dc(t,"onChange"),0<t.length&&(n=new h0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ts=null,Rs=null;function q3(e){X2(e,0)}function Ef(e){var t=yi(e);if(u2(t))return e}function K3(e,t){if(e==="change")return t}var B2=!1;if(nr){var hp;if(nr){var mp="oninput"in document;if(!mp){var vy=document.createElement("div");vy.setAttribute("oninput","return;"),mp=typeof vy.oninput=="function"}hp=mp}else hp=!1;B2=hp&&(!document.documentMode||9<document.documentMode)}function gy(){ts&&(ts.detachEvent("onpropertychange",z2),Rs=ts=null)}function z2(e){if(e.propertyName==="value"&&Ef(Rs)){var t=[];j2(t,Rs,e,l0(e)),_2(q3,t)}}function X3(e,t,n){e==="focusin"?(gy(),ts=t,Rs=n,ts.attachEvent("onpropertychange",z2)):e==="focusout"&&gy()}function Z3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ef(Rs)}function Q3(e,t){if(e==="click")return Ef(t)}function J3(e,t){if(e==="input"||e==="change")return Ef(t)}function ek(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var En=typeof Object.is=="function"?Object.is:ek;function ks(e,t){if(En(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Oh.call(t,o)||!En(e[o],t[o]))return!1}return!0}function yy(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xy(e,t){var n=yy(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=yy(n)}}function V2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?V2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function U2(){for(var e=window,t=ic();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ic(e.document)}return t}function g0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function tk(e){var t=U2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&V2(n.ownerDocument.documentElement,n)){if(r!==null&&g0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=xy(n,i);var a=xy(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var nk=nr&&"documentMode"in document&&11>=document.documentMode,vi=null,Zh=null,ns=null,Qh=!1;function _y(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Qh||vi==null||vi!==ic(r)||(r=vi,"selectionStart"in r&&g0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ns&&ks(ns,r)||(ns=r,r=dc(Zh,"onSelect"),0<r.length&&(t=new h0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vi)))}function zl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var gi={animationend:zl("Animation","AnimationEnd"),animationiteration:zl("Animation","AnimationIteration"),animationstart:zl("Animation","AnimationStart"),transitionend:zl("Transition","TransitionEnd")},vp={},H2={};nr&&(H2=document.createElement("div").style,"AnimationEvent"in window||(delete gi.animationend.animation,delete gi.animationiteration.animation,delete gi.animationstart.animation),"TransitionEvent"in window||delete gi.transitionend.transition);function Sf(e){if(vp[e])return vp[e];if(!gi[e])return e;var t=gi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in H2)return vp[e]=t[n];return e}var G2=Sf("animationend"),Y2=Sf("animationiteration"),W2=Sf("animationstart"),q2=Sf("transitionend"),K2=new Map,wy="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function co(e,t){K2.set(e,t),qo(t,[e])}for(var gp=0;gp<wy.length;gp++){var yp=wy[gp],rk=yp.toLowerCase(),ok=yp[0].toUpperCase()+yp.slice(1);co(rk,"on"+ok)}co(G2,"onAnimationEnd");co(Y2,"onAnimationIteration");co(W2,"onAnimationStart");co("dblclick","onDoubleClick");co("focusin","onFocus");co("focusout","onBlur");co(q2,"onTransitionEnd");Gi("onMouseEnter",["mouseout","mouseover"]);Gi("onMouseLeave",["mouseout","mouseover"]);Gi("onPointerEnter",["pointerout","pointerover"]);Gi("onPointerLeave",["pointerout","pointerover"]);qo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));qo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));qo("onBeforeInput",["compositionend","keypress","textInput","paste"]);qo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));qo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));qo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ka="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ik=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ka));function by(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,r3(r,t,void 0,e),e.currentTarget=null}function X2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;by(o,s,u),i=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;by(o,s,u),i=l}}}if(sc)throw e=Wh,sc=!1,Wh=null,e}function Me(e,t){var n=t[rm];n===void 0&&(n=t[rm]=new Set);var r=e+"__bubble";n.has(r)||(Z2(t,e,2,!1),n.add(r))}function xp(e,t,n){var r=0;t&&(r|=4),Z2(n,e,r,t)}var Vl="_reactListening"+Math.random().toString(36).slice(2);function Os(e){if(!e[Vl]){e[Vl]=!0,o2.forEach(function(n){n!=="selectionchange"&&(ik.has(n)||xp(n,!1,e),xp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vl]||(t[Vl]=!0,xp("selectionchange",!1,t))}}function Z2(e,t,n,r){switch(L2(t)){case 1:var o=x3;break;case 4:o=_3;break;default:o=d0}n=o.bind(null,t,n,e),o=void 0,!Yh||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function _p(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=Po(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}_2(function(){var u=i,c=l0(n),f=[];e:{var p=K2.get(e);if(p!==void 0){var h=h0,v=e;switch(e){case"keypress":if(Lu(n)===0)break e;case"keydown":case"keyup":h=N3;break;case"focusin":v="focus",h=pp;break;case"focusout":v="blur",h=pp;break;case"beforeblur":case"afterblur":h=pp;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=cy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=E3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=I3;break;case G2:case Y2:case W2:h=A3;break;case q2:h=B3;break;case"scroll":h=w3;break;case"wheel":h=V3;break;case"copy":case"cut":case"paste":h=T3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=dy}var m=(t&4)!==0,_=!m&&e==="scroll",g=m?p!==null?p+"Capture":null:p;m=[];for(var y=u,x;y!==null;){x=y;var w=x.stateNode;if(x.tag===5&&w!==null&&(x=w,g!==null&&(w=As(y,g),w!=null&&m.push(Ds(y,w,x)))),_)break;y=y.return}0<m.length&&(p=new h(p,v,null,n,c),f.push({event:p,listeners:m}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==Hh&&(v=n.relatedTarget||n.fromElement)&&(Po(v)||v[rr]))break e;if((h||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?Po(v):null,v!==null&&(_=Ko(v),v!==_||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(m=cy,w="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(m=dy,w="onPointerLeave",g="onPointerEnter",y="pointer"),_=h==null?p:yi(h),x=v==null?p:yi(v),p=new m(w,y+"leave",h,n,c),p.target=_,p.relatedTarget=x,w=null,Po(c)===u&&(m=new m(g,y+"enter",v,n,c),m.target=x,m.relatedTarget=_,w=m),_=w,h&&v)t:{for(m=h,g=v,y=0,x=m;x;x=ei(x))y++;for(x=0,w=g;w;w=ei(w))x++;for(;0<y-x;)m=ei(m),y--;for(;0<x-y;)g=ei(g),x--;for(;y--;){if(m===g||g!==null&&m===g.alternate)break t;m=ei(m),g=ei(g)}m=null}else m=null;h!==null&&Ey(f,p,h,m,!1),v!==null&&_!==null&&Ey(f,_,v,m,!0)}}e:{if(p=u?yi(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var b=K3;else if(my(p))if(B2)b=J3;else{b=Z3;var E=X3}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(b=Q3);if(b&&(b=b(e,u))){j2(f,b,n,c);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&jh(p,"number",p.value)}switch(E=u?yi(u):window,e){case"focusin":(my(E)||E.contentEditable==="true")&&(vi=E,Zh=u,ns=null);break;case"focusout":ns=Zh=vi=null;break;case"mousedown":Qh=!0;break;case"contextmenu":case"mouseup":case"dragend":Qh=!1,_y(f,n,c);break;case"selectionchange":if(nk)break;case"keydown":case"keyup":_y(f,n,c)}var S;if(v0)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else mi?F2(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(M2&&n.locale!=="ko"&&(mi||C!=="onCompositionStart"?C==="onCompositionEnd"&&mi&&(S=N2()):(Mr=c,p0="value"in Mr?Mr.value:Mr.textContent,mi=!0)),E=dc(u,C),0<E.length&&(C=new fy(C,e,null,n,c),f.push({event:C,listeners:E}),S?C.data=S:(S=I2(n),S!==null&&(C.data=S)))),(S=H3?G3(e,n):Y3(e,n))&&(u=dc(u,"onBeforeInput"),0<u.length&&(c=new fy("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=S))}X2(f,t)})}function Ds(e,t,n){return{instance:e,listener:t,currentTarget:n}}function dc(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=As(e,n),i!=null&&r.unshift(Ds(e,i,o)),i=As(e,t),i!=null&&r.push(Ds(e,i,o))),e=e.return}return r}function ei(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ey(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,o?(l=As(n,i),l!=null&&a.unshift(Ds(n,l,s))):o||(l=As(n,i),l!=null&&a.push(Ds(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var ak=/\r\n?/g,sk=/\u0000|\uFFFD/g;function Sy(e){return(typeof e=="string"?e:""+e).replace(ak,`
30
+ `).replace(sk,"")}function Ul(e,t,n){if(t=Sy(t),Sy(e)!==t&&n)throw Error(V(425))}function pc(){}var Jh=null,em=null;function tm(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var nm=typeof setTimeout=="function"?setTimeout:void 0,lk=typeof clearTimeout=="function"?clearTimeout:void 0,Cy=typeof Promise=="function"?Promise:void 0,uk=typeof queueMicrotask=="function"?queueMicrotask:typeof Cy!="undefined"?function(e){return Cy.resolve(null).then(e).catch(ck)}:nm;function ck(e){setTimeout(function(){throw e})}function wp(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Ps(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ps(t)}function Hr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ay(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ma=Math.random().toString(36).slice(2),Tn="__reactFiber$"+ma,Ls="__reactProps$"+ma,rr="__reactContainer$"+ma,rm="__reactEvents$"+ma,fk="__reactListeners$"+ma,dk="__reactHandles$"+ma;function Po(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rr]||n[Tn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ay(e);e!==null;){if(n=e[Tn])return n;e=Ay(e)}return t}e=n,n=e.parentNode}return null}function fl(e){return e=e[Tn]||e[rr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function yi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function Cf(e){return e[Ls]||null}var om=[],xi=-1;function fo(e){return{current:e}}function Fe(e){0>xi||(e.current=om[xi],om[xi]=null,xi--)}function Le(e,t){xi++,om[xi]=e.current,e.current=t}var to={},bt=fo(to),Nt=fo(!1),zo=to;function Yi(e,t){var n=e.type.contextTypes;if(!n)return to;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Mt(e){return e=e.childContextTypes,e!=null}function hc(){Fe(Nt),Fe(bt)}function $y(e,t,n){if(bt.current!==to)throw Error(V(168));Le(bt,t),Le(Nt,n)}function Q2(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(V(108,XR(e)||"Unknown",o));return Ue({},n,r)}function mc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||to,zo=bt.current,Le(bt,e),Le(Nt,Nt.current),!0}function Ty(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=Q2(e,t,zo),r.__reactInternalMemoizedMergedChildContext=e,Fe(Nt),Fe(bt),Le(bt,e)):Fe(Nt),Le(Nt,n)}var Kn=null,Af=!1,bp=!1;function J2(e){Kn===null?Kn=[e]:Kn.push(e)}function pk(e){Af=!0,J2(e)}function po(){if(!bp&&Kn!==null){bp=!0;var e=0,t=_e;try{var n=Kn;for(_e=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Kn=null,Af=!1}catch(o){throw Kn!==null&&(Kn=Kn.slice(e+1)),S2(u0,po),o}finally{_e=t,bp=!1}}return null}var _i=[],wi=0,vc=null,gc=0,Jt=[],en=0,Vo=null,Xn=1,Zn="";function Eo(e,t){_i[wi++]=gc,_i[wi++]=vc,vc=e,gc=t}function eE(e,t,n){Jt[en++]=Xn,Jt[en++]=Zn,Jt[en++]=Vo,Vo=e;var r=Xn;e=Zn;var o=32-xn(r)-1;r&=~(1<<o),n+=1;var i=32-xn(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xn=1<<32-xn(t)+o|n<<o|r,Zn=i+e}else Xn=1<<i|n<<o|r,Zn=e}function y0(e){e.return!==null&&(Eo(e,1),eE(e,1,0))}function x0(e){for(;e===vc;)vc=_i[--wi],_i[wi]=null,gc=_i[--wi],_i[wi]=null;for(;e===Vo;)Vo=Jt[--en],Jt[en]=null,Zn=Jt[--en],Jt[en]=null,Xn=Jt[--en],Jt[en]=null}var Yt=null,Ht=null,Ie=!1,gn=null;function tE(e,t){var n=tn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Py(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Yt=e,Ht=Hr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Yt=e,Ht=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Vo!==null?{id:Xn,overflow:Zn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=tn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Yt=e,Ht=null,!0):!1;default:return!1}}function im(e){return(e.mode&1)!==0&&(e.flags&128)===0}function am(e){if(Ie){var t=Ht;if(t){var n=t;if(!Py(e,t)){if(im(e))throw Error(V(418));t=Hr(n.nextSibling);var r=Yt;t&&Py(e,t)?tE(r,n):(e.flags=e.flags&-4097|2,Ie=!1,Yt=e)}}else{if(im(e))throw Error(V(418));e.flags=e.flags&-4097|2,Ie=!1,Yt=e}}}function Ry(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Yt=e}function Hl(e){if(e!==Yt)return!1;if(!Ie)return Ry(e),Ie=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!tm(e.type,e.memoizedProps)),t&&(t=Ht)){if(im(e))throw nE(),Error(V(418));for(;t;)tE(e,t),t=Hr(t.nextSibling)}if(Ry(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ht=Hr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ht=null}}else Ht=Yt?Hr(e.stateNode.nextSibling):null;return!0}function nE(){for(var e=Ht;e;)e=Hr(e.nextSibling)}function Wi(){Ht=Yt=null,Ie=!1}function _0(e){gn===null?gn=[e]:gn.push(e)}var hk=vr.ReactCurrentBatchConfig;function pn(e,t){if(e&&e.defaultProps){t=Ue({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var yc=fo(null),xc=null,bi=null,w0=null;function b0(){w0=bi=xc=null}function E0(e){var t=yc.current;Fe(yc),e._currentValue=t}function sm(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Mi(e,t){xc=e,w0=bi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Lt=!0),e.firstContext=null)}function on(e){var t=e._currentValue;if(w0!==e)if(e={context:e,memoizedValue:t,next:null},bi===null){if(xc===null)throw Error(V(308));bi=e,xc.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var Ro=null;function S0(e){Ro===null?Ro=[e]:Ro.push(e)}function rE(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,S0(t)):(n.next=o.next,o.next=n),t.interleaved=n,or(e,r)}function or(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Tr=!1;function C0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oE(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Jn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ge&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,or(e,n)}return o=r.interleaved,o===null?(t.next=t,S0(r)):(t.next=o.next,o.next=t),r.interleaved=t,or(e,n)}function Nu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,c0(e,n)}}function ky(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function _c(e,t,n,r){var o=e.updateQueue;Tr=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;a=0,c=u=l=null,s=i;do{var p=s.lane,h=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(p=t,h=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(h,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(h,f,p):v,p==null)break e;f=Ue({},f,p);break e;case 2:Tr=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=f):c=c.next=h,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(c===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ho|=a,e.lanes=a,e.memoizedState=f}}function Oy(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(V(191,o));o.call(r)}}}var iE=new r2.Component().refs;function lm(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ue({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $f={isMounted:function(e){return(e=e._reactInternals)?Ko(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$t(),o=Wr(e),i=Jn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Gr(e,i,o),t!==null&&(_n(t,e,o,r),Nu(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$t(),o=Wr(e),i=Jn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Gr(e,i,o),t!==null&&(_n(t,e,o,r),Nu(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$t(),r=Wr(e),o=Jn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Gr(e,o,r),t!==null&&(_n(t,e,r,n),Nu(t,e,r))}};function Dy(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!ks(n,r)||!ks(o,i):!0}function aE(e,t,n){var r=!1,o=to,i=t.contextType;return typeof i=="object"&&i!==null?i=on(i):(o=Mt(t)?zo:bt.current,r=t.contextTypes,i=(r=r!=null)?Yi(e,o):to),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$f,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ly(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$f.enqueueReplaceState(t,t.state,null)}function um(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=iE,C0(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=on(i):(i=Mt(t)?zo:bt.current,o.context=Yi(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(lm(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&$f.enqueueReplaceState(o,o.state,null),_c(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ia(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var r=n.stateNode}if(!r)throw Error(V(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;s===iE&&(s=o.refs={}),a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function Gl(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ny(e){var t=e._init;return t(e._payload)}function sE(e){function t(g,y){if(e){var x=g.deletions;x===null?(g.deletions=[y],g.flags|=16):x.push(y)}}function n(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function o(g,y){return g=qr(g,y),g.index=0,g.sibling=null,g}function i(g,y,x){return g.index=x,e?(x=g.alternate,x!==null?(x=x.index,x<y?(g.flags|=2,y):x):(g.flags|=2,y)):(g.flags|=1048576,y)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function s(g,y,x,w){return y===null||y.tag!==6?(y=Pp(x,g.mode,w),y.return=g,y):(y=o(y,x),y.return=g,y)}function l(g,y,x,w){var b=x.type;return b===hi?c(g,y,x.props.children,w,x.key):y!==null&&(y.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===$r&&Ny(b)===y.type)?(w=o(y,x.props),w.ref=Ia(g,y,x),w.return=g,w):(w=zu(x.type,x.key,x.props,null,g.mode,w),w.ref=Ia(g,y,x),w.return=g,w)}function u(g,y,x,w){return y===null||y.tag!==4||y.stateNode.containerInfo!==x.containerInfo||y.stateNode.implementation!==x.implementation?(y=Rp(x,g.mode,w),y.return=g,y):(y=o(y,x.children||[]),y.return=g,y)}function c(g,y,x,w,b){return y===null||y.tag!==7?(y=Fo(x,g.mode,w,b),y.return=g,y):(y=o(y,x),y.return=g,y)}function f(g,y,x){if(typeof y=="string"&&y!==""||typeof y=="number")return y=Pp(""+y,g.mode,x),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ll:return x=zu(y.type,y.key,y.props,null,g.mode,x),x.ref=Ia(g,null,y),x.return=g,x;case pi:return y=Rp(y,g.mode,x),y.return=g,y;case $r:var w=y._init;return f(g,w(y._payload),x)}if(Wa(y)||Da(y))return y=Fo(y,g.mode,x,null),y.return=g,y;Gl(g,y)}return null}function p(g,y,x,w){var b=y!==null?y.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return b!==null?null:s(g,y,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ll:return x.key===b?l(g,y,x,w):null;case pi:return x.key===b?u(g,y,x,w):null;case $r:return b=x._init,p(g,y,b(x._payload),w)}if(Wa(x)||Da(x))return b!==null?null:c(g,y,x,w,null);Gl(g,x)}return null}function h(g,y,x,w,b){if(typeof w=="string"&&w!==""||typeof w=="number")return g=g.get(x)||null,s(y,g,""+w,b);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ll:return g=g.get(w.key===null?x:w.key)||null,l(y,g,w,b);case pi:return g=g.get(w.key===null?x:w.key)||null,u(y,g,w,b);case $r:var E=w._init;return h(g,y,x,E(w._payload),b)}if(Wa(w)||Da(w))return g=g.get(x)||null,c(y,g,w,b,null);Gl(y,w)}return null}function v(g,y,x,w){for(var b=null,E=null,S=y,C=y=0,$=null;S!==null&&C<x.length;C++){S.index>C?($=S,S=null):$=S.sibling;var P=p(g,S,x[C],w);if(P===null){S===null&&(S=$);break}e&&S&&P.alternate===null&&t(g,S),y=i(P,y,C),E===null?b=P:E.sibling=P,E=P,S=$}if(C===x.length)return n(g,S),Ie&&Eo(g,C),b;if(S===null){for(;C<x.length;C++)S=f(g,x[C],w),S!==null&&(y=i(S,y,C),E===null?b=S:E.sibling=S,E=S);return Ie&&Eo(g,C),b}for(S=r(g,S);C<x.length;C++)$=h(S,g,C,x[C],w),$!==null&&(e&&$.alternate!==null&&S.delete($.key===null?C:$.key),y=i($,y,C),E===null?b=$:E.sibling=$,E=$);return e&&S.forEach(function(M){return t(g,M)}),Ie&&Eo(g,C),b}function m(g,y,x,w){var b=Da(x);if(typeof b!="function")throw Error(V(150));if(x=b.call(x),x==null)throw Error(V(151));for(var E=b=null,S=y,C=y=0,$=null,P=x.next();S!==null&&!P.done;C++,P=x.next()){S.index>C?($=S,S=null):$=S.sibling;var M=p(g,S,P.value,w);if(M===null){S===null&&(S=$);break}e&&S&&M.alternate===null&&t(g,S),y=i(M,y,C),E===null?b=M:E.sibling=M,E=M,S=$}if(P.done)return n(g,S),Ie&&Eo(g,C),b;if(S===null){for(;!P.done;C++,P=x.next())P=f(g,P.value,w),P!==null&&(y=i(P,y,C),E===null?b=P:E.sibling=P,E=P);return Ie&&Eo(g,C),b}for(S=r(g,S);!P.done;C++,P=x.next())P=h(S,g,C,P.value,w),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?C:P.key),y=i(P,y,C),E===null?b=P:E.sibling=P,E=P);return e&&S.forEach(function(I){return t(g,I)}),Ie&&Eo(g,C),b}function _(g,y,x,w){if(typeof x=="object"&&x!==null&&x.type===hi&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ll:e:{for(var b=x.key,E=y;E!==null;){if(E.key===b){if(b=x.type,b===hi){if(E.tag===7){n(g,E.sibling),y=o(E,x.props.children),y.return=g,g=y;break e}}else if(E.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===$r&&Ny(b)===E.type){n(g,E.sibling),y=o(E,x.props),y.ref=Ia(g,E,x),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}x.type===hi?(y=Fo(x.props.children,g.mode,w,x.key),y.return=g,g=y):(w=zu(x.type,x.key,x.props,null,g.mode,w),w.ref=Ia(g,y,x),w.return=g,g=w)}return a(g);case pi:e:{for(E=x.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(g,y.sibling),y=o(y,x.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=Rp(x,g.mode,w),y.return=g,g=y}return a(g);case $r:return E=x._init,_(g,y,E(x._payload),w)}if(Wa(x))return v(g,y,x,w);if(Da(x))return m(g,y,x,w);Gl(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(g,y.sibling),y=o(y,x),y.return=g,g=y):(n(g,y),y=Pp(x,g.mode,w),y.return=g,g=y),a(g)):n(g,y)}return _}var qi=sE(!0),lE=sE(!1),dl={},Nn=fo(dl),Ns=fo(dl),Ms=fo(dl);function ko(e){if(e===dl)throw Error(V(174));return e}function A0(e,t){switch(Le(Ms,t),Le(Ns,e),Le(Nn,dl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:zh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=zh(t,e)}Fe(Nn),Le(Nn,t)}function Ki(){Fe(Nn),Fe(Ns),Fe(Ms)}function uE(e){ko(Ms.current);var t=ko(Nn.current),n=zh(t,e.type);t!==n&&(Le(Ns,e),Le(Nn,n))}function $0(e){Ns.current===e&&(Fe(Nn),Fe(Ns))}var ze=fo(0);function wc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ep=[];function T0(){for(var e=0;e<Ep.length;e++)Ep[e]._workInProgressVersionPrimary=null;Ep.length=0}var Mu=vr.ReactCurrentDispatcher,Sp=vr.ReactCurrentBatchConfig,Uo=0,Ve=null,Je=null,ot=null,bc=!1,rs=!1,Fs=0,mk=0;function pt(){throw Error(V(321))}function P0(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!En(e[n],t[n]))return!1;return!0}function R0(e,t,n,r,o,i){if(Uo=i,Ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Mu.current=e===null||e.memoizedState===null?xk:_k,e=n(r,o),rs){i=0;do{if(rs=!1,Fs=0,25<=i)throw Error(V(301));i+=1,ot=Je=null,t.updateQueue=null,Mu.current=wk,e=n(r,o)}while(rs)}if(Mu.current=Ec,t=Je!==null&&Je.next!==null,Uo=0,ot=Je=Ve=null,bc=!1,t)throw Error(V(300));return e}function k0(){var e=Fs!==0;return Fs=0,e}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Ve.memoizedState=ot=e:ot=ot.next=e,ot}function an(){if(Je===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=Je.next;var t=ot===null?Ve.memoizedState:ot.next;if(t!==null)ot=t,Je=e;else{if(e===null)throw Error(V(310));Je=e,e={memoizedState:Je.memoizedState,baseState:Je.baseState,baseQueue:Je.baseQueue,queue:Je.queue,next:null},ot===null?Ve.memoizedState=ot=e:ot=ot.next=e}return ot}function Is(e,t){return typeof t=="function"?t(e):t}function Cp(e){var t=an(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=Je,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=a=null,l=null,u=i;do{var c=u.lane;if((Uo&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=f,a=r):l=l.next=f,Ve.lanes|=c,Ho|=c}u=u.next}while(u!==null&&u!==i);l===null?a=r:l.next=s,En(r,t.memoizedState)||(Lt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Ve.lanes|=i,Ho|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ap(e){var t=an(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);En(i,t.memoizedState)||(Lt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function cE(){}function fE(e,t){var n=Ve,r=an(),o=t(),i=!En(r.memoizedState,o);if(i&&(r.memoizedState=o,Lt=!0),r=r.queue,O0(hE.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ot!==null&&ot.memoizedState.tag&1){if(n.flags|=2048,js(9,pE.bind(null,n,r,o,t),void 0,null),at===null)throw Error(V(349));(Uo&30)!==0||dE(n,t,o)}return o}function dE(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function pE(e,t,n,r){t.value=n,t.getSnapshot=r,mE(t)&&vE(e)}function hE(e,t,n){return n(function(){mE(t)&&vE(e)})}function mE(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!En(e,n)}catch{return!0}}function vE(e){var t=or(e,1);t!==null&&_n(t,e,1,-1)}function My(e){var t=Cn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:e},t.queue=e,e=e.dispatch=yk.bind(null,Ve,e),[t.memoizedState,e]}function js(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function gE(){return an().memoizedState}function Fu(e,t,n,r){var o=Cn();Ve.flags|=e,o.memoizedState=js(1|t,n,void 0,r===void 0?null:r)}function Tf(e,t,n,r){var o=an();r=r===void 0?null:r;var i=void 0;if(Je!==null){var a=Je.memoizedState;if(i=a.destroy,r!==null&&P0(r,a.deps)){o.memoizedState=js(t,n,i,r);return}}Ve.flags|=e,o.memoizedState=js(1|t,n,i,r)}function Fy(e,t){return Fu(8390656,8,e,t)}function O0(e,t){return Tf(2048,8,e,t)}function yE(e,t){return Tf(4,2,e,t)}function xE(e,t){return Tf(4,4,e,t)}function _E(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function wE(e,t,n){return n=n!=null?n.concat([e]):null,Tf(4,4,_E.bind(null,t,e),n)}function D0(){}function bE(e,t){var n=an();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&P0(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function EE(e,t){var n=an();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&P0(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function SE(e,t,n){return(Uo&21)===0?(e.baseState&&(e.baseState=!1,Lt=!0),e.memoizedState=n):(En(n,t)||(n=$2(),Ve.lanes|=n,Ho|=n,e.baseState=!0),t)}function vk(e,t){var n=_e;_e=n!==0&&4>n?n:4,e(!0);var r=Sp.transition;Sp.transition={};try{e(!1),t()}finally{_e=n,Sp.transition=r}}function CE(){return an().memoizedState}function gk(e,t,n){var r=Wr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},AE(e))$E(t,n);else if(n=rE(e,t,n,r),n!==null){var o=$t();_n(n,e,r,o),TE(n,t,r)}}function yk(e,t,n){var r=Wr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(AE(e))$E(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,En(s,a)){var l=t.interleaved;l===null?(o.next=o,S0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=rE(e,t,o,r),n!==null&&(o=$t(),_n(n,e,r,o),TE(n,t,r))}}function AE(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function $E(e,t){rs=bc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function TE(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,c0(e,n)}}var Ec={readContext:on,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},xk={readContext:on,useCallback:function(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e},useContext:on,useEffect:Fy,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fu(4194308,4,_E.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fu(4,2,e,t)},useMemo:function(e,t){var n=Cn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Cn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gk.bind(null,Ve,e),[r.memoizedState,e]},useRef:function(e){var t=Cn();return e={current:e},t.memoizedState=e},useState:My,useDebugValue:D0,useDeferredValue:function(e){return Cn().memoizedState=e},useTransition:function(){var e=My(!1),t=e[0];return e=vk.bind(null,e[1]),Cn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ve,o=Cn();if(Ie){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),at===null)throw Error(V(349));(Uo&30)!==0||dE(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Fy(hE.bind(null,r,i,e),[e]),r.flags|=2048,js(9,pE.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Cn(),t=at.identifierPrefix;if(Ie){var n=Zn,r=Xn;n=(r&~(1<<32-xn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Fs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=mk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_k={readContext:on,useCallback:bE,useContext:on,useEffect:O0,useImperativeHandle:wE,useInsertionEffect:yE,useLayoutEffect:xE,useMemo:EE,useReducer:Cp,useRef:gE,useState:function(){return Cp(Is)},useDebugValue:D0,useDeferredValue:function(e){var t=an();return SE(t,Je.memoizedState,e)},useTransition:function(){var e=Cp(Is)[0],t=an().memoizedState;return[e,t]},useMutableSource:cE,useSyncExternalStore:fE,useId:CE,unstable_isNewReconciler:!1},wk={readContext:on,useCallback:bE,useContext:on,useEffect:O0,useImperativeHandle:wE,useInsertionEffect:yE,useLayoutEffect:xE,useMemo:EE,useReducer:Ap,useRef:gE,useState:function(){return Ap(Is)},useDebugValue:D0,useDeferredValue:function(e){var t=an();return Je===null?t.memoizedState=e:SE(t,Je.memoizedState,e)},useTransition:function(){var e=Ap(Is)[0],t=an().memoizedState;return[e,t]},useMutableSource:cE,useSyncExternalStore:fE,useId:CE,unstable_isNewReconciler:!1};function Xi(e,t){try{var n="",r=t;do n+=KR(r),r=r.return;while(r);var o=n}catch(i){o=`
31
+ Error generating stack: `+i.message+`
32
+ `+i.stack}return{value:e,source:t,stack:o,digest:null}}function $p(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function cm(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var bk=typeof WeakMap=="function"?WeakMap:Map;function PE(e,t,n){n=Jn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Cc||(Cc=!0,_m=r),cm(e,t)},n}function RE(e,t,n){n=Jn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){cm(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){cm(e,t),typeof r!="function"&&(Yr===null?Yr=new Set([this]):Yr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Iy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new bk;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Mk.bind(null,e,t,n),t.then(e,e))}function jy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function By(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Jn(-1,1),t.tag=2,Gr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Ek=vr.ReactCurrentOwner,Lt=!1;function St(e,t,n,r){t.child=e===null?lE(t,null,n,r):qi(t,e.child,n,r)}function zy(e,t,n,r,o){n=n.render;var i=t.ref;return Mi(t,o),r=R0(e,t,n,r,i,o),n=k0(),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ir(e,t,o)):(Ie&&n&&y0(t),t.flags|=1,St(e,t,r,o),t.child)}function Vy(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!z0(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,kE(e,t,i,r,o)):(e=zu(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:ks,n(a,r)&&e.ref===t.ref)return ir(e,t,o)}return t.flags|=1,e=qr(i,r),e.ref=t.ref,e.return=t,t.child=e}function kE(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ks(i,r)&&e.ref===t.ref)if(Lt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Lt=!0);else return t.lanes=e.lanes,ir(e,t,o)}return fm(e,t,n,r,o)}function OE(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Le(Si,Vt),Vt|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Le(Si,Vt),Vt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Le(Si,Vt),Vt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Le(Si,Vt),Vt|=r;return St(e,t,o,n),t.child}function DE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fm(e,t,n,r,o){var i=Mt(n)?zo:bt.current;return i=Yi(t,i),Mi(t,o),n=R0(e,t,n,r,i,o),r=k0(),e!==null&&!Lt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ir(e,t,o)):(Ie&&r&&y0(t),t.flags|=1,St(e,t,n,o),t.child)}function Uy(e,t,n,r,o){if(Mt(n)){var i=!0;mc(t)}else i=!1;if(Mi(t,o),t.stateNode===null)Iu(e,t),aE(t,n,r),um(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=on(u):(u=Mt(n)?zo:bt.current,u=Yi(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Ly(t,a,r,u),Tr=!1;var p=t.memoizedState;a.state=p,_c(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Nt.current||Tr?(typeof c=="function"&&(lm(t,n,c,r),l=t.memoizedState),(s=Tr||Dy(t,n,s,r,p,l,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,oE(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:pn(t.type,s),a.props=u,f=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=on(l):(l=Mt(n)?zo:bt.current,l=Yi(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==f||p!==l)&&Ly(t,a,r,l),Tr=!1,p=t.memoizedState,a.state=p,_c(t,r,a,o);var v=t.memoizedState;s!==f||p!==v||Nt.current||Tr?(typeof h=="function"&&(lm(t,n,h,r),v=t.memoizedState),(u=Tr||Dy(t,n,u,r,p,v,l)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return dm(e,t,n,r,i,o)}function dm(e,t,n,r,o,i){DE(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&Ty(t,n,!1),ir(e,t,i);r=t.stateNode,Ek.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=qi(t,e.child,null,i),t.child=qi(t,null,s,i)):St(e,t,s,i),t.memoizedState=r.state,o&&Ty(t,n,!0),t.child}function LE(e){var t=e.stateNode;t.pendingContext?$y(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$y(e,t.context,!1),A0(e,t.containerInfo)}function Hy(e,t,n,r,o){return Wi(),_0(o),t.flags|=256,St(e,t,n,r),t.child}var pm={dehydrated:null,treeContext:null,retryLane:0};function hm(e){return{baseLanes:e,cachePool:null,transitions:null}}function NE(e,t,n){var r=t.pendingProps,o=ze.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Le(ze,o&1),e===null)return am(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=a):i=kf(a,r,0,null),e=Fo(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=hm(n),t.memoizedState=pm,e):L0(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return Sk(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return(a&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=qr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=qr(s,i):(i=Fo(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?hm(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=pm,r}return i=e.child,e=i.sibling,r=qr(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function L0(e,t){return t=kf({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Yl(e,t,n,r){return r!==null&&_0(r),qi(t,e.child,null,n),e=L0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sk(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=$p(Error(V(422))),Yl(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=kf({mode:"visible",children:r.children},o,0,null),i=Fo(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&qi(t,e.child,null,a),t.child.memoizedState=hm(a),t.memoizedState=pm,i);if((t.mode&1)===0)return Yl(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(V(419)),r=$p(i,r,void 0),Yl(e,t,a,r)}if(s=(a&e.childLanes)!==0,Lt||s){if(r=at,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,or(e,o),_n(r,e,o,-1))}return B0(),r=$p(Error(V(421))),Yl(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Fk.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ht=Hr(o.nextSibling),Yt=t,Ie=!0,gn=null,e!==null&&(Jt[en++]=Xn,Jt[en++]=Zn,Jt[en++]=Vo,Xn=e.id,Zn=e.overflow,Vo=t),t=L0(t,r.children),t.flags|=4096,t)}function Gy(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),sm(e.return,t,n)}function Tp(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ME(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(St(e,t,r.children,n),r=ze.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gy(e,n,t);else if(e.tag===19)Gy(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Le(ze,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&wc(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Tp(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&wc(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Tp(t,!0,n,null,i);break;case"together":Tp(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Iu(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ir(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ho|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=qr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ck(e,t,n){switch(t.tag){case 3:LE(t),Wi();break;case 5:uE(t);break;case 1:Mt(t.type)&&mc(t);break;case 4:A0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Le(yc,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Le(ze,ze.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?NE(e,t,n):(Le(ze,ze.current&1),e=ir(e,t,n),e!==null?e.sibling:null);Le(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return ME(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Le(ze,ze.current),r)break;return null;case 22:case 23:return t.lanes=0,OE(e,t,n)}return ir(e,t,n)}var FE,mm,IE,jE;FE=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};mm=function(){};IE=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ko(Nn.current);var i=null;switch(n){case"input":o=Fh(e,o),r=Fh(e,r),i=[];break;case"select":o=Ue({},o,{value:void 0}),r=Ue({},r,{value:void 0}),i=[];break;case"textarea":o=Bh(e,o),r=Bh(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=pc)}Vh(n,r);var a;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ss.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(s=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ss.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Me("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};jE=function(e,t,n,r){n!==r&&(t.flags|=4)};function ja(e,t){if(!Ie)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ht(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ak(e,t,n){var r=t.pendingProps;switch(x0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(t),null;case 1:return Mt(t.type)&&hc(),ht(t),null;case 3:return r=t.stateNode,Ki(),Fe(Nt),Fe(bt),T0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Hl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,gn!==null&&(Em(gn),gn=null))),mm(e,t),ht(t),null;case 5:$0(t);var o=ko(Ms.current);if(n=t.type,e!==null&&t.stateNode!=null)IE(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(V(166));return ht(t),null}if(e=ko(Nn.current),Hl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Tn]=t,r[Ls]=i,e=(t.mode&1)!==0,n){case"dialog":Me("cancel",r),Me("close",r);break;case"iframe":case"object":case"embed":Me("load",r);break;case"video":case"audio":for(o=0;o<Ka.length;o++)Me(Ka[o],r);break;case"source":Me("error",r);break;case"img":case"image":case"link":Me("error",r),Me("load",r);break;case"details":Me("toggle",r);break;case"input":ey(r,i),Me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Me("invalid",r);break;case"textarea":ny(r,i),Me("invalid",r)}Vh(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&Ul(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Ul(r.textContent,s,e),o=["children",""+s]):Ss.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Me("scroll",r)}switch(n){case"input":Nl(r),ty(r,i,!0);break;case"textarea":Nl(r),ry(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=pc)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=d2(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Tn]=t,e[Ls]=r,FE(e,t,!1,!1),t.stateNode=e;e:{switch(a=Uh(n,r),n){case"dialog":Me("cancel",e),Me("close",e),o=r;break;case"iframe":case"object":case"embed":Me("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ka.length;o++)Me(Ka[o],e);o=r;break;case"source":Me("error",e),o=r;break;case"img":case"image":case"link":Me("error",e),Me("load",e),o=r;break;case"details":Me("toggle",e),o=r;break;case"input":ey(e,r),o=Fh(e,r),Me("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ue({},r,{value:void 0}),Me("invalid",e);break;case"textarea":ny(e,r),o=Bh(e,r),Me("invalid",e);break;default:o=r}Vh(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?m2(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&p2(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Cs(e,l):typeof l=="number"&&Cs(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ss.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Me("scroll",e):l!=null&&o0(e,i,l,a))}switch(n){case"input":Nl(e),ty(e,r,!1);break;case"textarea":Nl(e),ry(e);break;case"option":r.value!=null&&e.setAttribute("value",""+eo(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Oi(e,!!r.multiple,i,!1):r.defaultValue!=null&&Oi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=pc)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ht(t),null;case 6:if(e&&t.stateNode!=null)jE(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(V(166));if(n=ko(Ms.current),ko(Nn.current),Hl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Tn]=t,(i=r.nodeValue!==n)&&(e=Yt,e!==null))switch(e.tag){case 3:Ul(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ul(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Tn]=t,t.stateNode=r}return ht(t),null;case 13:if(Fe(ze),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ie&&Ht!==null&&(t.mode&1)!==0&&(t.flags&128)===0)nE(),Wi(),t.flags|=98560,i=!1;else if(i=Hl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(V(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(V(317));i[Tn]=t}else Wi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ht(t),i=!1}else gn!==null&&(Em(gn),gn=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(ze.current&1)!==0?tt===0&&(tt=3):B0())),t.updateQueue!==null&&(t.flags|=4),ht(t),null);case 4:return Ki(),mm(e,t),e===null&&Os(t.stateNode.containerInfo),ht(t),null;case 10:return E0(t.type._context),ht(t),null;case 17:return Mt(t.type)&&hc(),ht(t),null;case 19:if(Fe(ze),i=t.memoizedState,i===null)return ht(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)ja(i,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=wc(e),a!==null){for(t.flags|=128,ja(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Le(ze,ze.current&1|2),t.child}e=e.sibling}i.tail!==null&&qe()>Zi&&(t.flags|=128,r=!0,ja(i,!1),t.lanes=4194304)}else{if(!r)if(e=wc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ja(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ie)return ht(t),null}else 2*qe()-i.renderingStartTime>Zi&&n!==1073741824&&(t.flags|=128,r=!0,ja(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=qe(),t.sibling=null,n=ze.current,Le(ze,r?n&1|2:n&1),t):(ht(t),null);case 22:case 23:return j0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Vt&1073741824)!==0&&(ht(t),t.subtreeFlags&6&&(t.flags|=8192)):ht(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function $k(e,t){switch(x0(t),t.tag){case 1:return Mt(t.type)&&hc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ki(),Fe(Nt),Fe(bt),T0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return $0(t),null;case 13:if(Fe(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fe(ze),null;case 4:return Ki(),null;case 10:return E0(t.type._context),null;case 22:case 23:return j0(),null;case 24:return null;default:return null}}var Wl=!1,vt=!1,Tk=typeof WeakSet=="function"?WeakSet:Set,X=null;function Ei(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ge(e,t,r)}else n.current=null}function vm(e,t,n){try{n()}catch(r){Ge(e,t,r)}}var Yy=!1;function Pk(e,t){if(Jh=cc,e=U2(),g0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(s=a+o),f!==i||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(em={focusedElem:e,selectionRange:n},cc=!1,X=t;X!==null;)if(t=X,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,X=e;else for(;X!==null;){t=X;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,_=v.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:pn(t.type,m),_);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(w){Ge(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,X=e;break}X=t.return}return v=Yy,Yy=!1,v}function os(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&vm(t,n,i)}o=o.next}while(o!==r)}}function Pf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function gm(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function BE(e){var t=e.alternate;t!==null&&(e.alternate=null,BE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tn],delete t[Ls],delete t[rm],delete t[fk],delete t[dk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function zE(e){return e.tag===5||e.tag===3||e.tag===4}function Wy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zE(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ym(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=pc));else if(r!==4&&(e=e.child,e!==null))for(ym(e,t,n),e=e.sibling;e!==null;)ym(e,t,n),e=e.sibling}function xm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(xm(e,t,n),e=e.sibling;e!==null;)xm(e,t,n),e=e.sibling}var lt=null,mn=!1;function wr(e,t,n){for(n=n.child;n!==null;)VE(e,t,n),n=n.sibling}function VE(e,t,n){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(wf,n)}catch{}switch(n.tag){case 5:vt||Ei(n,t);case 6:var r=lt,o=mn;lt=null,wr(e,t,n),lt=r,mn=o,lt!==null&&(mn?(e=lt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):lt.removeChild(n.stateNode));break;case 18:lt!==null&&(mn?(e=lt,n=n.stateNode,e.nodeType===8?wp(e.parentNode,n):e.nodeType===1&&wp(e,n),Ps(e)):wp(lt,n.stateNode));break;case 4:r=lt,o=mn,lt=n.stateNode.containerInfo,mn=!0,wr(e,t,n),lt=r,mn=o;break;case 0:case 11:case 14:case 15:if(!vt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&vm(n,t,a),o=o.next}while(o!==r)}wr(e,t,n);break;case 1:if(!vt&&(Ei(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ge(n,t,s)}wr(e,t,n);break;case 21:wr(e,t,n);break;case 22:n.mode&1?(vt=(r=vt)||n.memoizedState!==null,wr(e,t,n),vt=r):wr(e,t,n);break;default:wr(e,t,n)}}function qy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tk),t.forEach(function(r){var o=Ik.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function cn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:lt=s.stateNode,mn=!1;break e;case 3:lt=s.stateNode.containerInfo,mn=!0;break e;case 4:lt=s.stateNode.containerInfo,mn=!0;break e}s=s.return}if(lt===null)throw Error(V(160));VE(i,a,o),lt=null,mn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Ge(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)UE(t,e),t=t.sibling}function UE(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(cn(t,e),Sn(e),r&4){try{os(3,e,e.return),Pf(3,e)}catch(m){Ge(e,e.return,m)}try{os(5,e,e.return)}catch(m){Ge(e,e.return,m)}}break;case 1:cn(t,e),Sn(e),r&512&&n!==null&&Ei(n,n.return);break;case 5:if(cn(t,e),Sn(e),r&512&&n!==null&&Ei(n,n.return),e.flags&32){var o=e.stateNode;try{Cs(o,"")}catch(m){Ge(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&c2(o,i),Uh(s,a);var u=Uh(s,i);for(a=0;a<l.length;a+=2){var c=l[a],f=l[a+1];c==="style"?m2(o,f):c==="dangerouslySetInnerHTML"?p2(o,f):c==="children"?Cs(o,f):o0(o,c,f,u)}switch(s){case"input":Ih(o,i);break;case"textarea":f2(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?Oi(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?Oi(o,!!i.multiple,i.defaultValue,!0):Oi(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ls]=i}catch(m){Ge(e,e.return,m)}}break;case 6:if(cn(t,e),Sn(e),r&4){if(e.stateNode===null)throw Error(V(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Ge(e,e.return,m)}}break;case 3:if(cn(t,e),Sn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ps(t.containerInfo)}catch(m){Ge(e,e.return,m)}break;case 4:cn(t,e),Sn(e);break;case 13:cn(t,e),Sn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(F0=qe())),r&4&&qy(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(vt=(u=vt)||c,cn(t,e),vt=u):cn(t,e),Sn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(X=e,c=e.child;c!==null;){for(f=X=c;X!==null;){switch(p=X,h=p.child,p.tag){case 0:case 11:case 14:case 15:os(4,p,p.return);break;case 1:Ei(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Ge(r,n,m)}}break;case 5:Ei(p,p.return);break;case 22:if(p.memoizedState!==null){Xy(f);continue}}h!==null?(h.return=p,X=h):Xy(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=f.stateNode,l=f.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=h2("display",a))}catch(m){Ge(e,e.return,m)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Ge(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:cn(t,e),Sn(e),r&4&&qy(e);break;case 21:break;default:cn(t,e),Sn(e)}}function Sn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(zE(n)){var r=n;break e}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Cs(o,""),r.flags&=-33);var i=Wy(e);xm(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Wy(e);ym(e,s,a);break;default:throw Error(V(161))}}catch(l){Ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rk(e,t,n){X=e,HE(e)}function HE(e,t,n){for(var r=(e.mode&1)!==0;X!==null;){var o=X,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Wl;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||vt;s=Wl;var u=vt;if(Wl=a,(vt=l)&&!u)for(X=o;X!==null;)a=X,l=a.child,a.tag===22&&a.memoizedState!==null?Zy(o):l!==null?(l.return=a,X=l):Zy(o);for(;i!==null;)X=i,HE(i),i=i.sibling;X=o,Wl=s,vt=u}Ky(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,X=i):Ky(e)}}function Ky(e){for(;X!==null;){var t=X;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:vt||Pf(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!vt)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:pn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Oy(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Oy(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Ps(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}vt||t.flags&512&&gm(t)}catch(p){Ge(t,t.return,p)}}if(t===e){X=null;break}if(n=t.sibling,n!==null){n.return=t.return,X=n;break}X=t.return}}function Xy(e){for(;X!==null;){var t=X;if(t===e){X=null;break}var n=t.sibling;if(n!==null){n.return=t.return,X=n;break}X=t.return}}function Zy(e){for(;X!==null;){var t=X;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Pf(4,t)}catch(l){Ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Ge(t,o,l)}}var i=t.return;try{gm(t)}catch(l){Ge(t,i,l)}break;case 5:var a=t.return;try{gm(t)}catch(l){Ge(t,a,l)}}}catch(l){Ge(t,t.return,l)}if(t===e){X=null;break}var s=t.sibling;if(s!==null){s.return=t.return,X=s;break}X=t.return}}var kk=Math.ceil,Sc=vr.ReactCurrentDispatcher,N0=vr.ReactCurrentOwner,rn=vr.ReactCurrentBatchConfig,ge=0,at=null,Ze=null,ct=0,Vt=0,Si=fo(0),tt=0,Bs=null,Ho=0,Rf=0,M0=0,is=null,Ot=null,F0=0,Zi=1/0,Yn=null,Cc=!1,_m=null,Yr=null,ql=!1,Fr=null,Ac=0,as=0,wm=null,ju=-1,Bu=0;function $t(){return(ge&6)!==0?qe():ju!==-1?ju:ju=qe()}function Wr(e){return(e.mode&1)===0?1:(ge&2)!==0&&ct!==0?ct&-ct:hk.transition!==null?(Bu===0&&(Bu=$2()),Bu):(e=_e,e!==0||(e=window.event,e=e===void 0?16:L2(e.type)),e)}function _n(e,t,n,r){if(50<as)throw as=0,wm=null,Error(V(185));ul(e,n,r),((ge&2)===0||e!==at)&&(e===at&&((ge&2)===0&&(Rf|=n),tt===4&&Dr(e,ct)),Ft(e,r),n===1&&ge===0&&(t.mode&1)===0&&(Zi=qe()+500,Af&&po()))}function Ft(e,t){var n=e.callbackNode;h3(e,t);var r=uc(e,e===at?ct:0);if(r===0)n!==null&&ay(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ay(n),t===1)e.tag===0?pk(Qy.bind(null,e)):J2(Qy.bind(null,e)),uk(function(){(ge&6)===0&&po()}),n=null;else{switch(T2(r)){case 1:n=u0;break;case 4:n=C2;break;case 16:n=lc;break;case 536870912:n=A2;break;default:n=lc}n=QE(n,GE.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function GE(e,t){if(ju=-1,Bu=0,(ge&6)!==0)throw Error(V(327));var n=e.callbackNode;if(Fi()&&e.callbackNode!==n)return null;var r=uc(e,e===at?ct:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=$c(e,r);else{t=r;var o=ge;ge|=2;var i=WE();(at!==e||ct!==t)&&(Yn=null,Zi=qe()+500,Mo(e,t));do try{Lk();break}catch(s){YE(e,s)}while(1);b0(),Sc.current=i,ge=o,Ze!==null?t=0:(at=null,ct=0,t=tt)}if(t!==0){if(t===2&&(o=qh(e),o!==0&&(r=o,t=bm(e,o))),t===1)throw n=Bs,Mo(e,0),Dr(e,r),Ft(e,qe()),n;if(t===6)Dr(e,r);else{if(o=e.current.alternate,(r&30)===0&&!Ok(o)&&(t=$c(e,r),t===2&&(i=qh(e),i!==0&&(r=i,t=bm(e,i))),t===1))throw n=Bs,Mo(e,0),Dr(e,r),Ft(e,qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(V(345));case 2:So(e,Ot,Yn);break;case 3:if(Dr(e,r),(r&130023424)===r&&(t=F0+500-qe(),10<t)){if(uc(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){$t(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=nm(So.bind(null,e,Ot,Yn),t);break}So(e,Ot,Yn);break;case 4:if(Dr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-xn(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kk(r/1960))-r,10<r){e.timeoutHandle=nm(So.bind(null,e,Ot,Yn),r);break}So(e,Ot,Yn);break;case 5:So(e,Ot,Yn);break;default:throw Error(V(329))}}}return Ft(e,qe()),e.callbackNode===n?GE.bind(null,e):null}function bm(e,t){var n=is;return e.current.memoizedState.isDehydrated&&(Mo(e,t).flags|=256),e=$c(e,t),e!==2&&(t=Ot,Ot=n,t!==null&&Em(t)),e}function Em(e){Ot===null?Ot=e:Ot.push.apply(Ot,e)}function Ok(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!En(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dr(e,t){for(t&=~M0,t&=~Rf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xn(t),r=1<<n;e[n]=-1,t&=~r}}function Qy(e){if((ge&6)!==0)throw Error(V(327));Fi();var t=uc(e,0);if((t&1)===0)return Ft(e,qe()),null;var n=$c(e,t);if(e.tag!==0&&n===2){var r=qh(e);r!==0&&(t=r,n=bm(e,r))}if(n===1)throw n=Bs,Mo(e,0),Dr(e,t),Ft(e,qe()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,So(e,Ot,Yn),Ft(e,qe()),null}function I0(e,t){var n=ge;ge|=1;try{return e(t)}finally{ge=n,ge===0&&(Zi=qe()+500,Af&&po())}}function Go(e){Fr!==null&&Fr.tag===0&&(ge&6)===0&&Fi();var t=ge;ge|=1;var n=rn.transition,r=_e;try{if(rn.transition=null,_e=1,e)return e()}finally{_e=r,rn.transition=n,ge=t,(ge&6)===0&&po()}}function j0(){Vt=Si.current,Fe(Si)}function Mo(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,lk(n)),Ze!==null)for(n=Ze.return;n!==null;){var r=n;switch(x0(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&hc();break;case 3:Ki(),Fe(Nt),Fe(bt),T0();break;case 5:$0(r);break;case 4:Ki();break;case 13:Fe(ze);break;case 19:Fe(ze);break;case 10:E0(r.type._context);break;case 22:case 23:j0()}n=n.return}if(at=e,Ze=e=qr(e.current,null),ct=Vt=t,tt=0,Bs=null,M0=Rf=Ho=0,Ot=is=null,Ro!==null){for(t=0;t<Ro.length;t++)if(n=Ro[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}Ro=null}return e}function YE(e,t){do{var n=Ze;try{if(b0(),Mu.current=Ec,bc){for(var r=Ve.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}bc=!1}if(Uo=0,ot=Je=Ve=null,rs=!1,Fs=0,N0.current=null,n===null||n.return===null){tt=1,Bs=t,Ze=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=ct,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=jy(a);if(h!==null){h.flags&=-257,By(h,a,s,i,t),h.mode&1&&Iy(i,u,t),t=h,l=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if((t&1)===0){Iy(i,u,t),B0();break e}l=Error(V(426))}}else if(Ie&&s.mode&1){var _=jy(a);if(_!==null){(_.flags&65536)===0&&(_.flags|=256),By(_,a,s,i,t),_0(Xi(l,s));break e}}i=l=Xi(l,s),tt!==4&&(tt=2),is===null?is=[i]:is.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=PE(i,l,t);ky(i,g);break e;case 1:s=l;var y=i.type,x=i.stateNode;if((i.flags&128)===0&&(typeof y.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Yr===null||!Yr.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=RE(i,s,t);ky(i,w);break e}}i=i.return}while(i!==null)}KE(n)}catch(b){t=b,Ze===n&&n!==null&&(Ze=n=n.return);continue}break}while(1)}function WE(){var e=Sc.current;return Sc.current=Ec,e===null?Ec:e}function B0(){(tt===0||tt===3||tt===2)&&(tt=4),at===null||(Ho&268435455)===0&&(Rf&268435455)===0||Dr(at,ct)}function $c(e,t){var n=ge;ge|=2;var r=WE();(at!==e||ct!==t)&&(Yn=null,Mo(e,t));do try{Dk();break}catch(o){YE(e,o)}while(1);if(b0(),ge=n,Sc.current=r,Ze!==null)throw Error(V(261));return at=null,ct=0,tt}function Dk(){for(;Ze!==null;)qE(Ze)}function Lk(){for(;Ze!==null&&!i3();)qE(Ze)}function qE(e){var t=ZE(e.alternate,e,Vt);e.memoizedProps=e.pendingProps,t===null?KE(e):Ze=t,N0.current=null}function KE(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=Ak(n,t,Vt),n!==null){Ze=n;return}}else{if(n=$k(n,t),n!==null){n.flags&=32767,Ze=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ze=null;return}}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);tt===0&&(tt=5)}function So(e,t,n){var r=_e,o=rn.transition;try{rn.transition=null,_e=1,Nk(e,t,n,r)}finally{rn.transition=o,_e=r}return null}function Nk(e,t,n,r){do Fi();while(Fr!==null);if((ge&6)!==0)throw Error(V(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(V(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(m3(e,i),e===at&&(Ze=at=null,ct=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||ql||(ql=!0,QE(lc,function(){return Fi(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=rn.transition,rn.transition=null;var a=_e;_e=1;var s=ge;ge|=4,N0.current=null,Pk(e,n),UE(n,e),tk(em),cc=!!Jh,em=Jh=null,e.current=n,Rk(n),a3(),ge=s,_e=a,rn.transition=i}else e.current=n;if(ql&&(ql=!1,Fr=e,Ac=o),i=e.pendingLanes,i===0&&(Yr=null),u3(n.stateNode),Ft(e,qe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Cc)throw Cc=!1,e=_m,_m=null,e;return(Ac&1)!==0&&e.tag!==0&&Fi(),i=e.pendingLanes,(i&1)!==0?e===wm?as++:(as=0,wm=e):as=0,po(),null}function Fi(){if(Fr!==null){var e=T2(Ac),t=rn.transition,n=_e;try{if(rn.transition=null,_e=16>e?16:e,Fr===null)var r=!1;else{if(e=Fr,Fr=null,Ac=0,(ge&6)!==0)throw Error(V(331));var o=ge;for(ge|=4,X=e.current;X!==null;){var i=X,a=i.child;if((X.flags&16)!==0){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(X=u;X!==null;){var c=X;switch(c.tag){case 0:case 11:case 15:os(8,c,i)}var f=c.child;if(f!==null)f.return=c,X=f;else for(;X!==null;){c=X;var p=c.sibling,h=c.return;if(BE(c),c===u){X=null;break}if(p!==null){p.return=h,X=p;break}X=h}}}var v=i.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var _=m.sibling;m.sibling=null,m=_}while(m!==null)}}X=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,X=a;else e:for(;X!==null;){if(i=X,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:os(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,X=g;break e}X=i.return}}var y=e.current;for(X=y;X!==null;){a=X;var x=a.child;if((a.subtreeFlags&2064)!==0&&x!==null)x.return=a,X=x;else e:for(a=y;X!==null;){if(s=X,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Pf(9,s)}}catch(b){Ge(s,s.return,b)}if(s===a){X=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,X=w;break e}X=s.return}}if(ge=o,po(),Ln&&typeof Ln.onPostCommitFiberRoot=="function")try{Ln.onPostCommitFiberRoot(wf,e)}catch{}r=!0}return r}finally{_e=n,rn.transition=t}}return!1}function Jy(e,t,n){t=Xi(n,t),t=PE(e,t,1),e=Gr(e,t,1),t=$t(),e!==null&&(ul(e,1,t),Ft(e,t))}function Ge(e,t,n){if(e.tag===3)Jy(e,e,n);else for(;t!==null;){if(t.tag===3){Jy(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Yr===null||!Yr.has(r))){e=Xi(n,e),e=RE(t,e,1),t=Gr(t,e,1),e=$t(),t!==null&&(ul(t,1,e),Ft(t,e));break}}t=t.return}}function Mk(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$t(),e.pingedLanes|=e.suspendedLanes&n,at===e&&(ct&n)===n&&(tt===4||tt===3&&(ct&130023424)===ct&&500>qe()-F0?Mo(e,0):M0|=n),Ft(e,t)}function XE(e,t){t===0&&((e.mode&1)===0?t=1:(t=Il,Il<<=1,(Il&130023424)===0&&(Il=4194304)));var n=$t();e=or(e,t),e!==null&&(ul(e,t,n),Ft(e,n))}function Fk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),XE(e,n)}function Ik(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(V(314))}r!==null&&r.delete(t),XE(e,n)}var ZE;ZE=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)Lt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Lt=!1,Ck(e,t,n);Lt=(e.flags&131072)!==0}else Lt=!1,Ie&&(t.flags&1048576)!==0&&eE(t,gc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Iu(e,t),e=t.pendingProps;var o=Yi(t,bt.current);Mi(t,n),o=R0(null,t,r,e,o,n);var i=k0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mt(r)?(i=!0,mc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,C0(t),o.updater=$f,t.stateNode=o,o._reactInternals=t,um(t,r,e,n),t=dm(null,t,r,!0,i,n)):(t.tag=0,Ie&&i&&y0(t),St(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Iu(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Bk(r),e=pn(r,e),o){case 0:t=fm(null,t,r,e,n);break e;case 1:t=Uy(null,t,r,e,n);break e;case 11:t=zy(null,t,r,e,n);break e;case 14:t=Vy(null,t,r,pn(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),fm(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Uy(e,t,r,o,n);case 3:e:{if(LE(t),e===null)throw Error(V(387));r=t.pendingProps,i=t.memoizedState,o=i.element,oE(e,t),_c(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Xi(Error(V(423)),t),t=Hy(e,t,r,n,o);break e}else if(r!==o){o=Xi(Error(V(424)),t),t=Hy(e,t,r,n,o);break e}else for(Ht=Hr(t.stateNode.containerInfo.firstChild),Yt=t,Ie=!0,gn=null,n=lE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Wi(),r===o){t=ir(e,t,n);break e}St(e,t,r,n)}t=t.child}return t;case 5:return uE(t),e===null&&am(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,tm(r,o)?a=null:i!==null&&tm(r,i)&&(t.flags|=32),DE(e,t),St(e,t,a,n),t.child;case 6:return e===null&&am(t),null;case 13:return NE(e,t,n);case 4:return A0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=qi(t,null,r,n):St(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),zy(e,t,r,o,n);case 7:return St(e,t,t.pendingProps,n),t.child;case 8:return St(e,t,t.pendingProps.children,n),t.child;case 12:return St(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Le(yc,r._currentValue),r._currentValue=a,i!==null)if(En(i.value,a)){if(i.children===o.children&&!Nt.current){t=ir(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Jn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),sm(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(V(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),sm(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}St(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Mi(t,n),o=on(o),r=r(o),t.flags|=1,St(e,t,r,n),t.child;case 14:return r=t.type,o=pn(r,t.pendingProps),o=pn(r.type,o),Vy(e,t,r,o,n);case 15:return kE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Iu(e,t),t.tag=1,Mt(r)?(e=!0,mc(t)):e=!1,Mi(t,n),aE(t,r,o),um(t,r,o,n),dm(null,t,r,!0,e,n);case 19:return ME(e,t,n);case 22:return OE(e,t,n)}throw Error(V(156,t.tag))};function QE(e,t){return S2(e,t)}function jk(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tn(e,t,n,r){return new jk(e,t,n,r)}function z0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bk(e){if(typeof e=="function")return z0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===a0)return 11;if(e===s0)return 14}return 2}function qr(e,t){var n=e.alternate;return n===null?(n=tn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zu(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")z0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case hi:return Fo(n.children,o,i,t);case i0:a=8,o|=8;break;case Dh:return e=tn(12,n,t,o|2),e.elementType=Dh,e.lanes=i,e;case Lh:return e=tn(13,n,t,o),e.elementType=Lh,e.lanes=i,e;case Nh:return e=tn(19,n,t,o),e.elementType=Nh,e.lanes=i,e;case s2:return kf(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case i2:a=10;break e;case a2:a=9;break e;case a0:a=11;break e;case s0:a=14;break e;case $r:a=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=tn(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Fo(e,t,n,r){return e=tn(7,e,r,t),e.lanes=n,e}function kf(e,t,n,r){return e=tn(22,e,r,t),e.elementType=s2,e.lanes=n,e.stateNode={isHidden:!1},e}function Pp(e,t,n){return e=tn(6,e,null,t),e.lanes=n,e}function Rp(e,t,n){return t=tn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zk(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=cp(0),this.expirationTimes=cp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cp(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function V0(e,t,n,r,o,i,a,s,l){return e=new zk(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=tn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},C0(i),e}function Vk(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:pi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function JE(e){if(!e)return to;e=e._reactInternals;e:{if(Ko(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(Mt(n))return Q2(e,n,t)}return t}function eS(e,t,n,r,o,i,a,s,l){return e=V0(n,r,!0,e,o,i,a,s,l),e.context=JE(null),n=e.current,r=$t(),o=Wr(n),i=Jn(r,o),i.callback=t!=null?t:null,Gr(n,i,o),e.current.lanes=o,ul(e,o,r),Ft(e,r),e}function Of(e,t,n,r){var o=t.current,i=$t(),a=Wr(o);return n=JE(n),t.context===null?t.context=n:t.pendingContext=n,t=Jn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Gr(o,t,a),e!==null&&(_n(e,o,a,i),Nu(e,o,a)),a}function Tc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ex(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function U0(e,t){ex(e,t),(e=e.alternate)&&ex(e,t)}function Uk(){return null}var tS=typeof reportError=="function"?reportError:function(e){console.error(e)};function H0(e){this._internalRoot=e}Df.prototype.render=H0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));Of(e,t,null,null)};Df.prototype.unmount=H0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Go(function(){Of(null,e,null,null)}),t[rr]=null}};function Df(e){this._internalRoot=e}Df.prototype.unstable_scheduleHydration=function(e){if(e){var t=k2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Or.length&&t!==0&&t<Or[n].priority;n++);Or.splice(n,0,e),n===0&&D2(e)}};function G0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Lf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tx(){}function Hk(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Tc(a);i.call(u)}}var a=eS(t,r,e,0,null,!1,!1,"",tx);return e._reactRootContainer=a,e[rr]=a.current,Os(e.nodeType===8?e.parentNode:e),Go(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=Tc(l);s.call(u)}}var l=V0(e,0,!1,null,null,!1,!1,"",tx);return e._reactRootContainer=l,e[rr]=l.current,Os(e.nodeType===8?e.parentNode:e),Go(function(){Of(t,l,n,r)}),l}function Nf(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=Tc(a);s.call(l)}}Of(t,a,e,o)}else a=Hk(n,t,e,o,r);return Tc(a)}P2=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qa(t.pendingLanes);n!==0&&(c0(t,n|1),Ft(t,qe()),(ge&6)===0&&(Zi=qe()+500,po()))}break;case 13:Go(function(){var r=or(e,1);if(r!==null){var o=$t();_n(r,e,1,o)}}),U0(e,1)}};f0=function(e){if(e.tag===13){var t=or(e,134217728);if(t!==null){var n=$t();_n(t,e,134217728,n)}U0(e,134217728)}};R2=function(e){if(e.tag===13){var t=Wr(e),n=or(e,t);if(n!==null){var r=$t();_n(n,e,t,r)}U0(e,t)}};k2=function(){return _e};O2=function(e,t){var n=_e;try{return _e=e,t()}finally{_e=n}};Gh=function(e,t,n){switch(t){case"input":if(Ih(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Cf(r);if(!o)throw Error(V(90));u2(r),Ih(r,o)}}}break;case"textarea":f2(e,n);break;case"select":t=n.value,t!=null&&Oi(e,!!n.multiple,t,!1)}};y2=I0;x2=Go;var Gk={usingClientEntryPoint:!1,Events:[fl,yi,Cf,v2,g2,I0]},Ba={findFiberByHostInstance:Po,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Yk={bundleType:Ba.bundleType,version:Ba.version,rendererPackageName:Ba.rendererPackageName,rendererConfig:Ba.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=b2(e),e===null?null:e.stateNode},findFiberByHostInstance:Ba.findFiberByHostInstance||Uk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Kl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kl.isDisabled&&Kl.supportsFiber)try{wf=Kl.inject(Yk),Ln=Kl}catch{}}Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gk;Xt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!G0(t))throw Error(V(200));return Vk(e,t,null,n)};Xt.createRoot=function(e,t){if(!G0(e))throw Error(V(299));var n=!1,r="",o=tS;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=V0(e,1,!1,null,null,n,!1,r,o),e[rr]=t.current,Os(e.nodeType===8?e.parentNode:e),new H0(t)};Xt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=b2(t),e=e===null?null:e.stateNode,e};Xt.flushSync=function(e){return Go(e)};Xt.hydrate=function(e,t,n){if(!Lf(t))throw Error(V(200));return Nf(null,e,t,!0,n)};Xt.hydrateRoot=function(e,t,n){if(!G0(e))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=tS;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=eS(t,null,e,1,n!=null?n:null,o,!1,i,a),e[rr]=t.current,Os(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Df(t)};Xt.render=function(e,t,n){if(!Lf(t))throw Error(V(200));return Nf(null,e,t,!1,n)};Xt.unmountComponentAtNode=function(e){if(!Lf(e))throw Error(V(40));return e._reactRootContainer?(Go(function(){Nf(null,null,e,!1,function(){e._reactRootContainer=null,e[rr]=null})}),!0):!1};Xt.unstable_batchedUpdates=I0;Xt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Lf(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return Nf(e,t,n,!1,r)};Xt.version="18.2.0-next-9e3b772b8-20220608";function nS(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nS)}catch(e){console.error(e)}}nS(),Pt.exports=Xt;var rS=Pt.exports,nx=Pt.exports;kh.createRoot=nx.createRoot,kh.hydrateRoot=nx.hydrateRoot;function Wk(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function Mf(){return!Wk()&&Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]"}function Ir(e,t){return e.require(t)}function qk(e){let t;try{t=Ir(module,e)}catch{}try{const{cwd:n}=Ir(module,"process");t=Ir(module,`${n()}/node_modules/${e}`)}catch{}return t}var Kk={};function Ee(){return Mf()?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Kk}function Y0(e,t,n){var r=n||Ee(),o=r.__SENTRY__=r.__SENTRY__||{},i=o[e]||(o[e]=t());return i}var oS=Object.prototype.toString;function iS(e){switch(oS.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return gr(e,Error)}}function va(e,t){return oS.call(e)===`[object ${t}]`}function aS(e){return va(e,"ErrorEvent")}function rx(e){return va(e,"DOMError")}function Xk(e){return va(e,"DOMException")}function no(e){return va(e,"String")}function sS(e){return e===null||typeof e!="object"&&typeof e!="function"}function Qi(e){return va(e,"Object")}function W0(e){return typeof Event!="undefined"&&gr(e,Event)}function Zk(e){return typeof Element!="undefined"&&gr(e,Element)}function Qk(e){return va(e,"RegExp")}function q0(e){return Boolean(e&&e.then&&typeof e.then=="function")}function Jk(e){return Qi(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function lS(e){return typeof e=="number"&&e!==e}function gr(e,t){try{return e instanceof t}catch{return!1}}function zs(e,t){try{let s=e;var n=5,r=80,o=[];let l=0,u=0;var i=" > ",a=i.length;let c;for(;s&&l++<n&&(c=eO(s,t),!(c==="html"||l>1&&u+o.length*a+c.length>=r));)o.push(c),u+=c.length,s=s.parentNode;return o.reverse().join(i)}catch{return"<unknown>"}}function eO(e,t){var n=e,r=[];let o,i,a,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),o=n.className,o&&no(o))for(i=o.split(/\s+/),l=0;l<i.length;l++)r.push(`.${i[l]}`);var c=["type","name","title","alt"];for(l=0;l<c.length;l++)a=c[l],s=n.getAttribute(a),s&&r.push(`[${a}="${s}"]`);return r.join("")}function tO(){var e=Ee();try{return e.document.location.href}catch{return""}}class gt extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}var nO=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function rO(e){return e==="http"||e==="https"}function K0(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${a}`}function oO(e){var t=nO.exec(e);if(!t)throw new gt(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",i,a="",s]=t.slice(1);let l="",u=s;var c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){var f=u.match(/^\d+/);f&&(u=f[0])}return uS({host:i,pass:o,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function uS(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function iO(e){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var o=["protocol","publicKey","host","projectId"];if(o.forEach(i=>{if(!e[i])throw new gt(`Invalid Sentry Dsn: ${i} missing`)}),!n.match(/^\d+$/))throw new gt(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!rO(r))throw new gt(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new gt(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function aO(e){var t=typeof e=="string"?oO(e):uS(e);return iO(t),t}var sO=Ee(),lO="Sentry Logger ",Pc=["debug","info","warn","error","log","assert","trace"];function cS(e){var t=Ee();if(!("console"in t))return e();var n=t.console,r={};Pc.forEach(o=>{var i=n[o]&&n[o].__sentry_original__;o in t.console&&i&&(r[o]=n[o],n[o]=i)});try{return e()}finally{Object.keys(r).forEach(o=>{n[o]=r[o]})}}function ox(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Pc.forEach(n=>{t[n]=(...r)=>{e&&cS(()=>{sO.console[n](`${lO}[${n}]:`,...r)})}}):Pc.forEach(n=>{t[n]=()=>{}}),t}let W;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?W=Y0("logger",ox):W=ox();function ss(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function ix(e,t){if(!Array.isArray(e))return"";var n=[];for(let o=0;o<e.length;o++){var r=e[o];try{n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Vs(e,t){return no(e)?Qk(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function xt(e,t,n){if(t in e){var r=e[t],o=n(r);if(typeof o=="function")try{fS(o,r)}catch{}e[t]=o}}function X0(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function fS(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,X0(e,"__sentry_original__",t)}function Z0(e){return e.__sentry_original__}function uO(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function dS(e){if(iS(e))return{message:e.message,name:e.name,stack:e.stack,...sx(e)};if(W0(e)){var t={type:e.type,target:ax(e.target),currentTarget:ax(e.currentTarget),...sx(e)};return typeof CustomEvent!="undefined"&&gr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function ax(e){try{return Zk(e)?zs(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function sx(e){if(typeof e=="object"&&e!==null){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function cO(e,t=40){var n=Object.keys(dS(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ss(n[0],t);for(let o=n.length;o>0;o--){var r=n.slice(0,o).join(", ");if(!(r.length>t))return o===n.length?r:ss(r,t)}return""}function Kr(e){var t=new Map;return Sm(e,t)}function Sm(e,t){if(Qi(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var o of Object.keys(e))typeof e[o]!="undefined"&&(r[o]=Sm(e[o],t));return r}if(Array.isArray(e)){var n=t.get(e);if(n!==void 0)return n;var r=[];return t.set(e,r),e.forEach(s=>{r.push(Sm(s,t))}),r}return e}function Lr(e,t){return e!=null?e:t()}function fO(e){let t,n=e[0],r=1;for(;r<e.length;){var o=e[r],i=e[r+1];if(r+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=i(n)):(o==="call"||o==="optionalCall")&&(n=i((...a)=>n.call(t,...a)),t=void 0)}return n}var dO=50;function pS(...e){var t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{var o=[];for(var i of n.split(`
33
+ `).slice(r)){var a=i.replace(/\(error: (.*)\)/,"$1");for(var s of t){var l=s(a);if(l){o.push(l);break}}}return hO(o)}}function pO(e){return Array.isArray(e)?pS(...e):e}function hO(e){if(!e.length)return[];let t=e;var n=t[0].function||"",r=t[t.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(t=t.slice(1)),r.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,dO).map(o=>({...o,filename:o.filename||t[0].filename,function:o.function||"?"})).reverse()}var kp="<anonymous>";function ro(e){try{return!e||typeof e!="function"?kp:e.name||kp}catch{return kp}}function Q0(){if(!("fetch"in Ee()))return!1;try{return new Headers,new Request(""),new Response,!0}catch{return!1}}function Cm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function mO(){if(!Q0())return!1;var e=Ee();if(Cm(e.fetch))return!0;let t=!1;var n=e.document;if(n&&typeof n.createElement=="function")try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=Cm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}function vO(){var e=Ee(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var Be=Ee(),ls={},lx={};function gO(e){if(!lx[e])switch(lx[e]=!0,e){case"console":yO();break;case"dom":$O();break;case"xhr":bO();break;case"fetch":xO();break;case"history":EO();break;case"error":TO();break;case"unhandledrejection":PO();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("unknown instrumentation type:",e);return}}function Ut(e,t){ls[e]=ls[e]||[],ls[e].push(t),gO(e)}function wn(e,t){if(!(!e||!ls[e]))for(var n of ls[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error(`Error while triggering instrumentation handler.
34
+ Type: ${e}
35
+ Name: ${ro(n)}
36
+ Error:`,r)}}function yO(){"console"in Be&&Pc.forEach(function(e){e in Be.console&&xt(Be.console,e,function(t){return function(...n){wn("console",{args:n,level:e}),t&&t.apply(Be.console,n)}})})}function xO(){!mO()||xt(Be,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:_O(t),url:wO(t)},startTimestamp:Date.now()};return wn("fetch",{...n}),e.apply(Be,t).then(r=>(wn("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw wn("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function _O(e=[]){return"Request"in Be&&gr(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function wO(e=[]){return typeof e[0]=="string"?e[0]:"Request"in Be&&gr(e[0],Request)?e[0].url:String(e[0])}function bO(){if("XMLHttpRequest"in Be){var e=XMLHttpRequest.prototype;xt(e,"open",function(t){return function(...n){var r=this,o=n[1],i=r.__sentry_xhr__={method:no(n[0])?n[0].toUpperCase():n[0],url:n[1]};no(o)&&i.method==="POST"&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(r.readyState===4){try{i.status_code=r.status}catch{}wn("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?xt(r,"onreadystatechange",function(s){return function(...l){return a(),s.apply(r,l)}}):r.addEventListener("readystatechange",a),t.apply(r,n)}}),xt(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),wn("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let Xl;function EO(){if(!vO())return;var e=Be.onpopstate;Be.onpopstate=function(...n){var r=Be.location.href,o=Xl;if(Xl=r,wn("history",{from:o,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){var o=r.length>2?r[2]:void 0;if(o){var i=Xl,a=String(o);Xl=a,wn("history",{from:i,to:a})}return n.apply(this,r)}}xt(Be.history,"pushState",t),xt(Be.history,"replaceState",t)}var SO=1e3;let Zl,Ql;function CO(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function AO(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function ux(e,t=!1){return n=>{if(!(!n||Ql===n)&&!AO(n)){var r=n.type==="keypress"?"input":n.type;Zl===void 0?(e({event:n,name:r,global:t}),Ql=n):CO(Ql,n)&&(e({event:n,name:r,global:t}),Ql=n),clearTimeout(Zl),Zl=Be.setTimeout(()=>{Zl=void 0},SO)}}}function $O(){if("document"in Be){var e=wn.bind(null,"dom"),t=ux(e,!0);Be.document.addEventListener("click",t,!1),Be.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=Be[n]&&Be[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(xt(r,"addEventListener",function(o){return function(i,a,s){if(i==="click"||i=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[i]=u[i]||{refCount:0};if(!c.handler){var f=ux(e);c.handler=f,o.call(this,i,f,s)}c.refCount+=1}catch{}return o.call(this,i,a,s)}}),xt(r,"removeEventListener",function(o){return function(i,a,s){if(i==="click"||i=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[i];c&&(c.refCount-=1,c.refCount<=0&&(o.call(this,i,c.handler,s),c.handler=void 0,delete u[i]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return o.call(this,i,a,s)}}))})}}let Op=null;function TO(){Op=Be.onerror,Be.onerror=function(e,t,n,r,o){return wn("error",{column:r,error:o,line:n,msg:e,url:t}),Op?Op.apply(this,arguments):!1}}let Dp=null;function PO(){Dp=Be.onunhandledrejection,Be.onunhandledrejection=function(e){return wn("unhandledrejection",e),Dp?Dp.apply(this,arguments):!0}}function RO(){var e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(o){if(e)return t.has(o)?!0:(t.add(o),!1);for(let a=0;a<t.length;a++){var i=t[a];if(i===o)return!0}return t.push(o),!1}function r(o){if(e)t.delete(o);else for(let i=0;i<t.length;i++)if(t[i]===o){t.splice(i,1);break}}return[n,r]}function Xr(){var e=Ee(),t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");var n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function hS(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Oo(e){const{message:t,event_id:n}=e;if(t)return t;var r=hS(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Am(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function Us(e,t){var n=hS(e);if(!!n){var r={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...r,...o,...t},t&&"data"in t){var i={...o&&o.data,...t.data};n.mechanism.data=i}}}function cx(e){if(e&&e.__sentry_captured__)return!0;try{X0(e,"__sentry_captured__",!0)}catch{}return!1}function Co(e,t=1/0,n=1/0){try{return $m("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function mS(e,t=3,n=100*1024){var r=Co(e,t);return DO(r)>n?mS(e,t-1,n):r}function $m(e,t,n=1/0,r=1/0,o=RO()){const[i,a]=o;if(t===null||["number","boolean","string"].includes(typeof t)&&!lS(t))return t;var s=kO(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;if(n===0)return s.replace("object ","");if(i(t))return"[Circular ~]";var l=t;if(l&&typeof l.toJSON=="function")try{var u=l.toJSON();return $m("",u,n-1,r,o)}catch{}var c=Array.isArray(t)?[]:{};let f=0;var p=dS(t);for(var h in p)if(!!Object.prototype.hasOwnProperty.call(p,h)){if(f>=r){c[h]="[MaxProperties ~]";break}var v=p[h];c[h]=$m(h,v,n-1,r,o),f+=1}return a(t),c}function kO(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global!="undefined"&&t===global?"[Global]":typeof window!="undefined"&&t===window?"[Window]":typeof document!="undefined"&&t===document?"[Document]":Jk(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${ro(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(n){return`**non-serializable** (${n})`}}function OO(e){return~-encodeURI(e).split(/%..|./).length}function DO(e){return OO(JSON.stringify(e))}var Wn;(function(e){var t=0;e[e.PENDING=t]="PENDING";var n=1;e[e.RESOLVED=n]="RESOLVED";var r=2;e[e.REJECTED=r]="REJECTED"})(Wn||(Wn={}));function Yo(e){return new Ct(t=>{t(e)})}function Tm(e){return new Ct((t,n)=>{n(e)})}class Ct{__init(){this._state=Wn.PENDING}__init2(){this._handlers=[]}constructor(t){Ct.prototype.__init.call(this),Ct.prototype.__init2.call(this),Ct.prototype.__init3.call(this),Ct.prototype.__init4.call(this),Ct.prototype.__init5.call(this),Ct.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new Ct((r,o)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(a){o(a)}},i=>{if(!n)o(i);else try{r(n(i))}catch(a){o(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Ct((n,r)=>{let o,i;return this.then(a=>{i=!1,o=a,t&&t()},a=>{i=!0,o=a,t&&t()}).then(()=>{if(i){r(o);return}n(o)})})}__init3(){this._resolve=t=>{this._setResult(Wn.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Wn.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Wn.PENDING){if(q0(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Wn.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Wn.RESOLVED&&n[1](this._value),this._state===Wn.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function LO(e){var t=[];function n(){return e===void 0||t.length<e}function r(a){return t.splice(t.indexOf(a),1)[0]}function o(a){if(!n())return Tm(new gt("Not adding Promise due to buffer limit reached."));var s=a();return t.indexOf(s)===-1&&t.push(s),s.then(()=>r(s)).then(null,()=>r(s).then(null,()=>{})),s}function i(a){return new Ct((s,l)=>{let u=t.length;if(!u)return s(!0);var c=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(f=>{Yo(f).then(()=>{--u||(clearTimeout(c),s(!0))},l)})})}return{$:t,add:o,drain:i}}function Lp(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}var NO=["fatal","error","warning","log","info","debug"];function MO(e){return e==="warn"?"warning":NO.includes(e)?e:"log"}var Pm={nowSeconds:()=>Date.now()/1e3};function FO(){const{performance:e}=Ee();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function IO(){try{var e=Ir(module,"perf_hooks");return e.performance}catch{return}}var Np=Mf()?IO():FO(),fx=Np===void 0?Pm:{nowSeconds:()=>(Np.timeOrigin+Np.now())/1e3},Ff=Pm.nowSeconds.bind(Pm),J0=fx.nowSeconds.bind(fx),Hs=J0,Ji=(()=>{const{performance:e}=Ee();if(!(!e||!e.now)){var t=3600*1e3,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=e.timing&&e.timing.navigationStart,s=typeof a=="number",l=s?Math.abs(a+n-r):t,u=l<t;return i||u?o<=l?e.timeOrigin:a:r}})(),jO=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function BO(e){var t=e.match(jO);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function If(e,t=[]){return[e,t]}function zO(e,t){const[n,r]=e;return[n,[...r,t]]}function dx(e,t){var n=e[1];n.forEach(r=>{var o=r[0].type;t(r,o)})}function Rm(e,t){var n=t||new TextEncoder;return n.encode(e)}function vS(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(s){typeof o=="string"?o=typeof s=="string"?o+s:[Rm(o,t),s]:o.push(typeof s=="string"?Rm(s,t):s)}for(var a of r){const[s,l]=a;i(`
37
+ ${JSON.stringify(s)}
38
+ `),i(typeof l=="string"||l instanceof Uint8Array?l:JSON.stringify(l))}return typeof o=="string"?o:VO(o)}function VO(e){var t=e.reduce((i,a)=>i+a.length,0),n=new Uint8Array(t);let r=0;for(var o of e)n.set(o,r),r+=o.length;return n}function UO(e,t){var n=typeof e.data=="string"?Rm(e.data,t):e.data;return[Kr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var HO={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function px(e){return HO[e]}function GO(e,t,n){var r=[{type:"client_report"},{timestamp:n||Ff(),discarded_events:e}];return If(t?{dsn:t}:{},[r])}var YO=60*1e3;function WO(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?YO:r-t}function qO(e,t){return e[t]||e.all||0}function KO(e,t,n=Date.now()){return qO(e,t)>n}function XO(e,{statusCode:t,headers:n},r=Date.now()){var o={...e},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(var s of i.trim().split(",")){const[f,p]=s.split(":",2);var l=parseInt(f,10),u=(isNaN(l)?60:l)*1e3;if(!p)o.all=r+u;else for(var c of p.split(";"))o[c]=r+u}else a?o.all=r+WO(a,r):t===429&&(o.all=r+60*1e3);return o}var Ci="baggage",ZO="sentry-",hx=/^sentry-/,QO=8192;function Rc(e,t="",n=!0){return[{...e},t,n]}function JO(e){return Object.keys(e[0]).length===0}function gS(e){return e[0]}function e4(e){return e[1]}function t4(e){return e[2]}function n4(e){e[2]=!1}function r4(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],o=`${ZO}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=t===""?o:`${t},${o}`;return i.length>QO?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):i},e[1])}function yS(e,t=!1){if(!Array.isArray(e)&&!no(e)||typeof e=="number")return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof e,e),Rc({},"");var n=(no(e)?e:e.join(",")).split(",").map(r=>r.trim()).filter(r=>r!==""&&(t||hx.test(r)));return n.reduce(([r,o],i)=>{const[a,s]=i.split("=");if(hx.test(a)){var l=decodeURIComponent(a.split("-")[1]);return[{...r,[l]:decodeURIComponent(s)},o,!0]}else return[r,o===""?i:`${o},${i}`,!0]},[{},"",!0])}function Xa(e,t){if(!e&&!t)return"";var n=t&&yS(t,!0)||void 0,r=n&&e4(n),o=Rc(e&&e[0]||{},r||"");return r4(o)}function o4(e,t){var n=yS(e||"");return(t||!JO(n))&&n4(n),n}function i4(e){var t=J0(),n={sid:Xr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>s4(n)};return e&&ea(n,e),n}function ea(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||J0(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Xr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function a4(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),ea(e,n)}function s4(e){return Kr({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}var mx=100;class Zr{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){var n=new Zr;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments]),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&ea(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts={...this._contexts,[t]:n},this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){var n=t(this);return n instanceof Zr?n:this}return t instanceof Zr?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):Qi(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){var r=typeof n=="number"?Math.min(n,mx):mx;if(r<=0)return this;var o={timestamp:Ff(),...t};return this._breadcrumbs=[...this._breadcrumbs,o].slice(-r),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags={transaction:r,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...xS(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,o=0){return new Ct((i,a)=>{var s=t[o];if(n===null||typeof s!="function")i(n);else{var l=s({...n},r);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.id&&l===null&&W.log(`Event processor "${s.id}" dropped event`),q0(l)?l.then(u=>this._notifyEventProcessors(t,u,r,o+1).then(i)).then(null,a):this._notifyEventProcessors(t,l,r,o+1).then(i).then(null,a)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function xS(){return Y0("globalEventProcessors",()=>[])}function eg(e){xS().push(e)}var tg=4,l4=100;class pl{__init(){this._stack=[{}]}constructor(t,n=new Zr,r=tg){this._version=r,pl.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){var n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=Zr.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:Xr(),o=new Error("Sentry syntheticException");return this._withClient((i,a)=>{i.captureException(t,{originalException:t,syntheticException:o,...n,event_id:r},a)}),r}captureMessage(t,n,r){var o=this._lastEventId=r&&r.event_id?r.event_id:Xr(),i=new Error(t);return this._withClient((a,s)=>{a.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:o},s)}),o}captureEvent(t,n){var r=n&&n.event_id?n.event_id:Xr();return t.type!=="transaction"&&(this._lastEventId=r),this._withClient((o,i)=>{o.captureEvent(t,{...n,event_id:r},i)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:o}=this.getStackTop();if(!r||!o)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=l4}=o.getOptions&&o.getOptions()||{};if(!(a<=0)){var s=Ff(),l={timestamp:s,...t},u=i?cS(()=>i(l,n)):l;u!==null&&r.addBreadcrumb(u,a)}}setUser(t){var n=this.getScope();n&&n.setUser(t)}setTags(t){var n=this.getScope();n&&n.setTags(t)}setExtras(t){var n=this.getScope();n&&n.setExtras(t)}setTag(t,n){var r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){var r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){var r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){var n=vx(this);try{t(this)}finally{vx(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&a4(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:o,environment:i}=r&&r.getOptions()||{};var a=Ee();const{userAgent:s}=a.navigator||{};var l=i4({release:o,environment:i,...n&&{user:n.getUser()},...s&&{userAgent:s},...t});if(n){var u=n.getSession&&n.getSession();u&&u.status==="ok"&&ea(u,{status:"exited"}),this.endSession(),n.setSession(l)}return l}shouldSendDefaultPii(){var t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!!t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){var r=ga(),o=r.__SENTRY__;if(o&&o.extensions&&typeof o.extensions[t]=="function")return o.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ga(){var e=Ee();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function vx(e){var t=ga(),n=Nr(t);return ng(t,e),n}function Ke(){var e=ga();return(!_S(e)||Nr(e).isOlderThan(tg))&&ng(e,new pl),Mf()?u4(e):Nr(e)}function u4(e){try{var t=ga().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Nr(e);if(!_S(n)||Nr(n).isOlderThan(tg)){var r=Nr(e).getStackTop();ng(n,new pl(r.client,Zr.clone(r.scope)))}return Nr(n)}catch{return Nr(e)}}function _S(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Nr(e){return Y0("hub",()=>new pl,e)}function ng(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function c4(e,t){return Ke().captureException(e,{captureContext:t})}function f4(e){Ke().withScope(e)}var d4="7";function p4(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function h4(e){return`${p4(e)}${e.projectId}/envelope/`}function m4(e,t){return uO({sentry_key:e.publicKey,sentry_version:d4,...t&&{sentry_client:`${t.name}/${t.version}`}})}function wS(e,t={}){var n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${h4(e)}?${m4(e,r)}`}function bS(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function v4(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function g4(e,t,n,r){var o=bS(n),i={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&{dsn:K0(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return If(i,[a])}function y4(e,t,n,r){var o=bS(n),i=e.type||"event";const{transactionSampling:a}=e.sdkProcessingMetadata||{},{method:s,rate:l}=a||{};v4(e,n&&n.sdk);var u=x4(e,o,r,t);delete e.sdkProcessingMetadata;var c=[{type:i,sample_rates:[{id:s,rate:l}]},e];return If(u,[c])}function x4(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&gS(o);return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:K0(r)},...e.type==="transaction"&&i&&{trace:Kr({...i})}}}var gx=[];function yx(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function _4(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...yx(t)];Array.isArray(n)?r=[...r.filter(a=>n.every(s=>s.name!==a.name)),...yx(n)]:typeof n=="function"&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map(a=>a.name),i="Debug";return o.indexOf(i)!==-1&&r.push(...r.splice(o.indexOf(i),1)),r}function w4(e){var t={};return e.forEach(n=>{t[n.name]=n,gx.indexOf(n.name)===-1&&(n.setupOnce(eg,Ke),gx.push(n.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`Integration installed: ${n.name}`))}),t}var xx="Not capturing exception because it's already been captured.";class Ai{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Ai.prototype.__init.call(this),Ai.prototype.__init2.call(this),Ai.prototype.__init3.call(this),Ai.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=aO(t.dsn);var n=wS(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(cx(t)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(xx);return}let o=n&&n.event_id;return this._process(this.eventFromException(t,n).then(i=>this._captureEvent(i,n,r)).then(i=>{o=i})),o}captureMessage(t,n,r,o){let i=r&&r.event_id;var a=sS(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(a.then(s=>this._captureEvent(s,r,o)).then(s=>{i=s})),i}captureEvent(t,n,r){if(n&&n.originalException&&cx(n.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(xx);return}let o=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(i=>{o=i})),o}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),ea(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(o=>r&&o)):Yo(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=w4(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let o=y4(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])o=zO(o,UO(r,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(o)}}sendSession(t){if(this._dsn){var n=g4(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}_updateSessionFromEvent(t,n){let r=!1,o=!1;var i=n.exception&&n.exception.values;if(i){o=!0;for(var a of i){var s=a.mechanism;if(s&&s.handled===!1){r=!0;break}}}var l=t.status==="ok",u=l&&t.errors===0||l&&r;u&&(ea(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Ct(n=>{let r=0;var o=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=o,t&&r>=t&&(clearInterval(i),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const{normalizeDepth:o=3,normalizeMaxBreadth:i=1e3}=this.getOptions();var a={...t,event_id:t.event_id||n.event_id||Xr(),timestamp:t.timestamp||Ff()};this._applyClientOptions(a),this._applyIntegrationsMetadata(a);let s=r;n.captureContext&&(s=Zr.clone(s).update(n.captureContext));let l=Yo(a);if(s){var u=[...n.attachments||[],...s.getAttachments()];u.length&&(n.attachments=u),l=s.applyToEvent(a,n)}return l.then(c=>typeof o=="number"&&o>0?this._normalizeEvent(c,o,i):c)}_normalizeEvent(t,n,r){if(!t)return null;var o={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:Co(i.data,n,r)}}))},...t.user&&{user:Co(t.user,n,r)},...t.contexts&&{contexts:Co(t.contexts,n,r)},...t.extra&&{extra:Co(t.extra,n,r)}};return t.contexts&&t.contexts.trace&&o.contexts&&(o.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(o.contexts.trace.data=Co(t.contexts.trace.data,n,r))),t.spans&&(o.spans=t.spans.map(i=>(i.data&&(i.data=Co(i.data,n,r)),i))),o}_applyClientOptions(t){var n=this.getOptions();const{environment:r,release:o,dist:i,maxValueLength:a=250}=n;"environment"in t||(t.environment="environment"in n?r:"production"),t.release===void 0&&o!==void 0&&(t.release=o),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=ss(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=ss(s.value,a));var l=t.request;l&&l.url&&(l.url=ss(l.url,a))}_applyIntegrationsMetadata(t){var n=Object.keys(this._integrations);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...n])}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(o=>o.event_id,o=>{if(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__){var i=o;i.logLevel==="log"?W.log(i.message):W.warn(i)}})}_processEvent(t,n,r){const{beforeSend:o,sampleRate:i}=this.getOptions();if(!this._isEnabled())return Tm(new gt("SDK not enabled, will not capture event.","log"));var a=t.type==="transaction";return!a&&typeof i=="number"&&Math.random()>i?(this.recordDroppedEvent("sample_rate","error"),Tm(new gt(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"))):this._prepareEvent(t,n,r).then(s=>{if(s===null)throw this.recordDroppedEvent("event_processor",t.type||"error"),new gt("An event processor returned null, will not send event.","log");var l=n.data&&n.data.__sentry__===!0;if(l||a||!o)return s;var u=o(s,n);return b4(u)}).then(s=>{if(s===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new gt("`beforeSend` returned `null`, will not send event.","log");var l=r&&r.getSession();return!a&&l&&this._updateSessionFromEvent(l,s),this.sendEvent(s,n),s}).then(null,s=>{throw s instanceof gt?s:(this.captureException(s,{data:{__sentry__:!0},originalException:s}),new gt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
39
+ Reason: ${s}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,o]=n.split(":");return{reason:r,category:o,quantity:t[n]}})}}function b4(e){var t="`beforeSend` method has to return `null` or a valid event.";if(q0(e))return e.then(n=>{if(!(Qi(n)||n===null))throw new gt(t);return n},n=>{throw new gt(`beforeSend rejected with ${n}`)});if(!(Qi(e)||e===null))throw new gt(t);return e}function E4(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?W.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Ke(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}var S4=30;function ES(e,t,n=LO(e.bufferSize||S4)){let r={};var o=a=>n.drain(a);function i(a){var s=[];if(dx(a,(f,p)=>{var h=px(p);KO(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):s.push(f)}),s.length===0)return Yo();var l=If(a[0],s),u=f=>{dx(l,(p,h)=>{e.recordDroppedEvent(f,px(h))})},c=()=>t({body:vS(l,e.textEncoder)}).then(f=>{f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=XO(r,f)},f=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error("Failed while sending event:",f),u("network_error")});return n.add(c).then(f=>f,f=>{if(f instanceof gt)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error("Skipped sending event due to full buffer"),u("queue_overflow"),Yo();throw f})}return{send:i,flush:o}}var kc="7.11.1";let _x;class Gs{constructor(){Gs.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=Gs.id}setupOnce(){_x=Function.prototype.toString,Function.prototype.toString=function(...t){var n=Z0(this)||this;return _x.apply(n,t)}}}Gs.__initStatic();var C4=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Ii{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Ii.id}constructor(t={}){this._options=t,Ii.prototype.__init.call(this)}setupOnce(t,n){var r=o=>{var i=n();if(i){var a=i.getIntegration(Ii);if(a){var s=i.getClient(),l=s?s.getOptions():{},u=A4(a._options,l);return $4(o,u)?null:o}}return o};r.id=this.name,t(r)}}Ii.__initStatic();function A4(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...C4],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function $4(e,t){return t.ignoreInternal&&O4(e)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to being internal Sentry Error.
40
+ Event: ${Oo(e)}`),!0):T4(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
41
+ Event: ${Oo(e)}`),!0):P4(e,t.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to being matched by \`denyUrls\` option.
42
+ Event: ${Oo(e)}.
43
+ Url: ${Oc(e)}`),!0):R4(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to not being matched by \`allowUrls\` option.
44
+ Event: ${Oo(e)}.
45
+ Url: ${Oc(e)}`),!0)}function T4(e,t){return!t||!t.length?!1:k4(e).some(n=>t.some(r=>Vs(n,r)))}function P4(e,t){if(!t||!t.length)return!1;var n=Oc(e);return n?t.some(r=>Vs(n,r)):!1}function R4(e,t){if(!t||!t.length)return!0;var n=Oc(e);return n?t.some(r=>Vs(n,r)):!0}function k4(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error(`Cannot extract message for event ${Oo(e)}`),[]}return[]}function O4(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function D4(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&t.filename!=="<anonymous>"&&t.filename!=="[native code]")return t.filename||null}return null}function Oc(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?D4(t):null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error(`Cannot extract url for event ${Oo(e)}`),null}}function SS(e,t){var n=rg(e,t),r={type:t&&t.name,value:F4(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function L4(e,t,n,r){var o={exception:{values:[{type:W0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${cO(t)}`}]},extra:{__serialized__:mS(t)}};if(n){var i=rg(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}function Mp(e,t){return{exception:{values:[SS(e,t)]}}}function rg(e,t){var n=t.stacktrace||t.stack||"",r=M4(t);try{return e(n,r)}catch{}return[]}var N4=/Minified React error #\d+;/i;function M4(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(N4.test(e.message))return 1}return 0}function F4(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function I4(e,t,n,r){var o=n&&n.syntheticException||void 0,i=og(e,t,o,r);return Us(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Yo(i)}function j4(e,t,n="info",r,o){var i=r&&r.syntheticException||void 0,a=km(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Yo(a)}function og(e,t,n,r,o){let i;if(aS(t)&&t.error){var a=t;return Mp(e,a.error)}if(rx(t)||Xk(t)){var s=t;if("stack"in t)i=Mp(e,t);else{var l=s.name||(rx(s)?"DOMError":"DOMException"),u=s.message?`${l}: ${s.message}`:l;i=km(e,u,n,r),Am(i,u)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}if(iS(t))return Mp(e,t);if(Qi(t)||W0(t)){var c=t;return i=L4(e,c,n,o),Us(i,{synthetic:!0}),i}return i=km(e,t,n,r),Am(i,`${t}`,void 0),Us(i,{synthetic:!0}),i}function km(e,t,n,r){var o={message:t};if(r&&n){var i=rg(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var CS="Breadcrumbs";class Ys{static __initStatic(){this.id=CS}__init(){this.name=Ys.id}constructor(t){Ys.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Ut("console",z4),this.options.dom&&Ut("dom",B4(this.options.dom)),this.options.xhr&&Ut("xhr",V4),this.options.fetch&&Ut("fetch",U4),this.options.history&&Ut("history",H4)}}Ys.__initStatic();function B4(e){function t(n){let r,o=typeof e=="object"?e.serializeAttribute:void 0;typeof o=="string"&&(o=[o]);try{r=n.event.target?zs(n.event.target,o):zs(n.event,o)}catch{r="<unknown>"}r.length!==0&&Ke().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function z4(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:MO(e.level),message:ix(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${ix(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Ke().addBreadcrumb(t,{input:e.args,level:e.level})}function V4(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:o}=e.xhr.__sentry_xhr__||{};Ke().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:o});return}}function U4(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Ke().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Ke().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response}))}function H4(e){var t=Ee();let n=e.from,r=e.to;var o=Lp(t.location.href);let i=Lp(n);var a=Lp(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Ke().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var yn=Ee();let Jl;function AS(){if(Jl)return Jl;if(Cm(yn.fetch))return Jl=yn.fetch.bind(yn);var e=yn.document;let t=yn.fetch;if(e&&typeof e.createElement=="function")try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return Jl=t.bind(yn)}function G4(e,t){var n=Object.prototype.toString.call(yn&&yn.navigator)==="[object Navigator]",r=n&&typeof yn.navigator.sendBeacon=="function";if(r){var o=yn.navigator.sendBeacon.bind(yn.navigator);o(e,t)}else if(Q0()){var i=AS();i(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,a=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error(a)})}}var Fp=Ee();class Y4 extends Ai{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:kc}],version:kc},super(t),t.sendClientReports&&Fp.document&&Fp.document.addEventListener("visibilitychange",()=>{Fp.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return I4(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return j4(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(CS);r&&r.options&&r.options.sentry&&Ke().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Oo(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("Sending outcomes:",t);var n=wS(this._dsn,this._options),r=GO(t,this._options.tunnel&&K0(this._dsn));try{G4(n,vS(r))}catch(o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.error(o)}}}function W4(e,t=AS()){function n(r){var o={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,...e.fetchOptions};return t(e.url,o).then(i=>({statusCode:i.status,headers:{"x-sentry-rate-limits":i.headers.get("X-Sentry-Rate-Limits"),"retry-after":i.headers.get("Retry-After")}}))}return ES(e,n)}var q4=4;function K4(e){function t(n){return new Ct((r,o)=>{var i=new XMLHttpRequest;i.onerror=o,i.onreadystatechange=()=>{i.readyState===q4&&r({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(var a in e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&i.setRequestHeader(a,e.headers[a]);i.send(n.body)})}return ES(e,t)}var jf="?",X4=30,Z4=40,Q4=50;function ig(e,t,n,r){var o={filename:e,function:t,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}var J4=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,e9=/\((\S*)(?::(\d+))(?::(\d+))\)/,t9=e=>{var t=J4.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=e9.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[o,i]=$S(t[1]||jf,t[2]);return ig(i,o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},n9=[X4,t9],r9=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,o9=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,i9=e=>{var t=r9.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=o9.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}let o=t[3],i=t[1]||jf;return[i,o]=$S(i,o),ig(o,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},a9=[Q4,i9],s9=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l9=e=>{var t=s9.exec(e);return t?ig(t[2],t[1]||jf,+t[3],t[4]?+t[4]:void 0):void 0},u9=[Z4,l9],c9=[n9,a9,u9],f9=pS(...c9),$S=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:jf,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let Om=0;function TS(){return Om>0}function d9(){Om+=1,setTimeout(()=>{Om-=1})}function ta(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(Z0(e))return e}catch{return e}var o=function(){var s=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=s.map(u=>ta(u,t));return e.apply(this,l)}catch(u){throw d9(),f4(c=>{c.addEventProcessor(f=>(t.mechanism&&(Am(f,void 0,void 0),Us(f,t.mechanism)),f.extra={...f.extra,arguments:s},f)),c4(u)}),u}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch{}fS(o,e),X0(e,"__sentry_wrapped__",o);try{var a=Object.getOwnPropertyDescriptor(o,"name");a.configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch{}return o}class Qr{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Qr.id}__init2(){this._installFunc={onerror:p9,onunhandledrejection:h9}}constructor(t){Qr.prototype.__init.call(this),Qr.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;var t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(g9(n),r(),this._installFunc[n]=void 0)}}}Qr.__initStatic();function p9(){Ut("error",e=>{const[t,n,r]=kS();if(!t.getIntegration(Qr))return;const{msg:o,url:i,line:a,column:s,error:l}=e;if(!(TS()||l&&l.__sentry_own_request__)){var u=l===void 0&&no(o)?v9(o,i,a,s):PS(og(n,l||o,void 0,r,!1),i,a,s);u.level="error",RS(t,l,u,"onerror")}})}function h9(){Ut("unhandledrejection",e=>{const[t,n,r]=kS();if(!t.getIntegration(Qr))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch{}if(TS()||o&&o.__sentry_own_request__)return!0;var i=sS(o)?m9(o):og(n,o,void 0,r,!0);i.level="error",RS(t,o,i,"onunhandledrejection")})}function m9(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function v9(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=aS(e)?e.message:e,a="Error";var s=i.match(o);s&&(a=s[1],i=s[2]);var l={exception:{values:[{type:a,value:i}]}};return PS(l,t,n,r)}function PS(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=no(t)&&t.length>0?t:tO();return l.length===0&&l.push({colno:u,filename:f,function:"?",in_app:!0,lineno:c}),e}function g9(e){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`Global Handler attached: ${e}`)}function RS(e,t,n,r){Us(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function kS(){var e=Ke(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var y9=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ws{static __initStatic(){this.id="TryCatch"}__init(){this.name=Ws.id}constructor(t){Ws.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=Ee();this._options.setTimeout&&xt(t,"setTimeout",wx),this._options.setInterval&&xt(t,"setInterval",wx),this._options.requestAnimationFrame&&xt(t,"requestAnimationFrame",x9),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&xt(XMLHttpRequest.prototype,"send",_9);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:y9;r.forEach(w9)}}}Ws.__initStatic();function wx(e){return function(...t){var n=t[0];return t[0]=ta(n,{mechanism:{data:{function:ro(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function x9(e){return function(t){return e.apply(this,[ta(t,{mechanism:{data:{function:"requestAnimationFrame",handler:ro(e)},handled:!0,type:"instrument"}})])}}function _9(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(o=>{o in n&&typeof n[o]=="function"&&xt(n,o,function(i){var a={mechanism:{data:{function:o,handler:ro(i)},handled:!0,type:"instrument"}},s=Z0(i);return s&&(a.mechanism.data.handler=ro(s)),ta(i,a)})}),e.apply(this,t)}}function w9(e){var t=Ee(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(xt(n,"addEventListener",function(r){return function(o,i,a){try{typeof i.handleEvent=="function"&&(i.handleEvent=ta(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ro(i),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[o,ta(i,{mechanism:{data:{function:"addEventListener",handler:ro(i),target:e},handled:!0,type:"instrument"}}),a])}}),xt(n,"removeEventListener",function(r){return function(o,i,a){var s=i;try{var l=s&&s.__sentry_wrapped__;l&&r.call(this,o,l,a)}catch{}return r.call(this,o,s,a)}}))}var b9="cause",E9=5;class ji{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=ji.id}constructor(t={}){ji.prototype.__init.call(this),this._key=t.key||b9,this._limit=t.limit||E9}setupOnce(){var t=Ke().getClient();!t||eg((n,r)=>{var o=Ke().getIntegration(ji);return o?S9(t.getOptions().stackParser,o._key,o._limit,n,r):n})}}ji.__initStatic();function S9(e,t,n,r,o){if(!r.exception||!r.exception.values||!o||!gr(o.originalException,Error))return r;var i=OS(e,n,o.originalException,t);return r.exception.values=[...i,...r.exception.values],r}function OS(e,t,n,r,o=[]){if(!gr(n[r],Error)||o.length+1>=t)return o;var i=SS(e,n[r]);return OS(e,t,n[r],r,[i,...o])}var _o=Ee();class Bi{constructor(){Bi.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Bi.id}setupOnce(){eg(t=>{if(Ke().getIntegration(Bi)){if(!_o.navigator&&!_o.location&&!_o.document)return t;var n=t.request&&t.request.url||_o.location&&_o.location.href;const{referrer:i}=_o.document||{},{userAgent:a}=_o.navigator||{};var r={...t.request&&t.request.headers,...i&&{Referer:i},...a&&{"User-Agent":a}},o={...n&&{url:n},headers:r};return{...t,request:o}}return t})}}Bi.__initStatic();class zi{constructor(){zi.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=zi.id}setupOnce(t,n){var r=o=>{var i=n().getIntegration(zi);if(i){try{if(C9(o,i._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return i._previousEvent=o}return i._previousEvent=o}return o};r.id=this.name,t(r)}}zi.__initStatic();function C9(e,t){return t?!!(A9(e,t)||$9(e,t)):!1}function A9(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!LS(e,t)||!DS(e,t))}function $9(e,t){var n=bx(t),r=bx(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!LS(e,t)||!DS(e,t))}function DS(e,t){let n=Ex(e),r=Ex(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let a=0;a<r.length;a++){var o=r[a],i=n[a];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function LS(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function bx(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Ex(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var T9=[new Ii,new Gs,new Ws,new Ys,new Qr,new ji,new zi,new Bi];function P9(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=T9),e.release===void 0){var t=Ee();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);var n={...e,stackParser:pO(e.stackParser||f9),integrations:_4(e),transport:e.transport||(Q0()?W4:K4)};E4(Y4,n),e.autoSessionTracking&&R9()}function Sx(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function R9(){var e=Ee(),t=e.document;if(typeof t=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Ke();!n.captureSession||(Sx(n),Ut("history",({from:r,to:o})=>{r===void 0||r===o||Sx(Ke())}))}function k9(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:kc}],version:kc},P9(e)}var NS={exports:{}},we={};/** @license React v16.13.1
46
+ * react-is.production.min.js
47
+ *
48
+ * Copyright (c) Facebook, Inc. and its affiliates.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ */var st=typeof Symbol=="function"&&Symbol.for,ag=st?Symbol.for("react.element"):60103,sg=st?Symbol.for("react.portal"):60106,Bf=st?Symbol.for("react.fragment"):60107,zf=st?Symbol.for("react.strict_mode"):60108,Vf=st?Symbol.for("react.profiler"):60114,Uf=st?Symbol.for("react.provider"):60109,Hf=st?Symbol.for("react.context"):60110,lg=st?Symbol.for("react.async_mode"):60111,Gf=st?Symbol.for("react.concurrent_mode"):60111,Yf=st?Symbol.for("react.forward_ref"):60112,Wf=st?Symbol.for("react.suspense"):60113,O9=st?Symbol.for("react.suspense_list"):60120,qf=st?Symbol.for("react.memo"):60115,Kf=st?Symbol.for("react.lazy"):60116,D9=st?Symbol.for("react.block"):60121,L9=st?Symbol.for("react.fundamental"):60117,N9=st?Symbol.for("react.responder"):60118,M9=st?Symbol.for("react.scope"):60119;function Qt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ag:switch(e=e.type,e){case lg:case Gf:case Bf:case Vf:case zf:case Wf:return e;default:switch(e=e&&e.$$typeof,e){case Hf:case Yf:case Kf:case qf:case Uf:return e;default:return t}}case sg:return t}}}function MS(e){return Qt(e)===Gf}we.AsyncMode=lg;we.ConcurrentMode=Gf;we.ContextConsumer=Hf;we.ContextProvider=Uf;we.Element=ag;we.ForwardRef=Yf;we.Fragment=Bf;we.Lazy=Kf;we.Memo=qf;we.Portal=sg;we.Profiler=Vf;we.StrictMode=zf;we.Suspense=Wf;we.isAsyncMode=function(e){return MS(e)||Qt(e)===lg};we.isConcurrentMode=MS;we.isContextConsumer=function(e){return Qt(e)===Hf};we.isContextProvider=function(e){return Qt(e)===Uf};we.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ag};we.isForwardRef=function(e){return Qt(e)===Yf};we.isFragment=function(e){return Qt(e)===Bf};we.isLazy=function(e){return Qt(e)===Kf};we.isMemo=function(e){return Qt(e)===qf};we.isPortal=function(e){return Qt(e)===sg};we.isProfiler=function(e){return Qt(e)===Vf};we.isStrictMode=function(e){return Qt(e)===zf};we.isSuspense=function(e){return Qt(e)===Wf};we.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Bf||e===Gf||e===Vf||e===zf||e===Wf||e===O9||typeof e=="object"&&e!==null&&(e.$$typeof===Kf||e.$$typeof===qf||e.$$typeof===Uf||e.$$typeof===Hf||e.$$typeof===Yf||e.$$typeof===L9||e.$$typeof===N9||e.$$typeof===M9||e.$$typeof===D9)};we.typeOf=Qt;NS.exports=we;var ug=NS.exports,F9={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},I9={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},j9={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},FS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},cg={};cg[ug.ForwardRef]=j9;cg[ug.Memo]=FS;function Cx(e){return ug.isMemo(e)?FS:cg[e.$$typeof]||F9}var B9=Object.defineProperty,z9=Object.getOwnPropertyNames,Ax=Object.getOwnPropertySymbols,V9=Object.getOwnPropertyDescriptor,U9=Object.getPrototypeOf,$x=Object.prototype;function IS(e,t,n){if(typeof t!="string"){if($x){var r=U9(t);r&&r!==$x&&IS(e,r,n)}var o=z9(t);Ax&&(o=o.concat(Ax(t)));for(var i=Cx(e),a=Cx(t),s=0;s<o.length;++s){var l=o[s];if(!I9[l]&&!(n&&n[l])&&!(a&&a[l])&&!(i&&i[l])){var u=V9(t,l);try{B9(e,l,u)}catch{}}}}return e}var H9=IS;function fg(e){var t=Ke().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function hl(e){var t=e||Ke(),n=t.getScope();return n&&n.getTransaction()}function et(e){return e/1e3}function G9(){Ut("error",Tx),Ut("unhandledrejection",Tx)}function Tx(){var e=hl();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class Xf{__init(){this.spans=[]}constructor(t=1e3){Xf.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class Pr{__init2(){this.traceId=Xr()}__init3(){this.spanId=Xr().substring(16)}__init4(){this.startTimestamp=Hs()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(Pr.prototype.__init2.call(this),Pr.prototype.__init3.call(this),Pr.prototype.__init4.call(this),Pr.prototype.__init5.call(this),Pr.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}startChild(t){var n=new Pr({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",o=n.transaction.name||"< unknown name >",i=n.transaction.spanId,a=`[Tracing] Starting '${r}' span on transaction '${o}' (${i}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:a},W.log(a)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var n=Y9(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&W.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:Hs()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Kr({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=Lr(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=Lr(t.spanId,()=>this.spanId),this.startTimestamp=Lr(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=Lr(t.tags,()=>({})),this.traceId=Lr(t.traceId,()=>this.traceId),this}getTraceContext(){return Kr({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Kr({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function Y9(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class Zf extends Pr{__init(){this._measurements={}}constructor(t,n){super(t),Zf.prototype.__init.call(this),this._hub=n||Ke(),this._name=t.name||"",this.metadata={...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this}get name(){return this._name}set name(t){this._name=t,this.metadata.source="custom"}setName(t,n="custom"){this.name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new Xf(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var n=this._hub.getClient();n&&n.recordDroppedEvent("sample_rate","transaction");return}var r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,l)=>s.endTimestamp&&l.endTimestamp?s.endTimestamp>l.endTimestamp?s:l:s).endTimestamp);var o=this.metadata,i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...o,baggage:this.getBaggage()},...o.source&&{transaction_info:{source:o.source}}},a=Object.keys(this._measurements).length>0;return a&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}}toContext(){var t=super.toContext();return Kr({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=Lr(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,n=!t||t4(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=n,n}_populateBaggageWithSentryValues(t=Rc({})){var n=this._hub||Ke(),r=n&&n.getClient();if(!r)return t;const{environment:o,release:i}=r.getOptions()||{},{publicKey:a}=r.getDsn()||{};var s=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),l=n.getScope();const{segment:u}=l&&l.getUser()||{};var c=this.metadata.source,f=c&&c!=="url"?this.name:void 0;return Rc(Kr({environment:o,release:i,transaction:f,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:s,...gS(t)}),"",!1)}}var jS=1e3,BS=3e4,W9=5e3;class q9 extends Xf{constructor(t,n,r,o){super(o),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:Hs(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class $i extends Zf{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=jS,o=BS,i=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=o,this._onScope=i,$i.prototype.__init.call(this),$i.prototype.__init2.call(this),$i.prototype.__init3.call(this),$i.prototype.__init4.call(this),i&&(Px(n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(a=>a.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=Hs()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var o=r.startTimestamp<t;return o||(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),o}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] No active IdleTransaction");return this._onScope&&Px(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var n=o=>{this._finished||this._pushActivity(o)},r=o=>{this._finished||this._popActivity(o)};this.spanRecorder=new q9(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=Hs()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},W9)}}function Px(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function K9(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function zS(e,t,n){if(!fg(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):n.parentSampled!==void 0?(r=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(r=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),X9(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function X9(e){return lS(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function Z9(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let o=new Zf(e,this);return o=zS(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function Q9(e,t,n,r,o,i){var a=e.getClient(),s=a&&a.getOptions()||{};let l=new $i(t,e,n,r,o);return l=zS(l,s,{parentSampled:t.parentSampled,transactionContext:t,...i}),l.sampled&&l.initSpanRecorder(s._experiments&&s._experiments.maxSpans),l}function J9(){var e=ga();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=Z9),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=K9))}function e6(){var e=ga();if(!!e.__SENTRY__){var t={mongodb(){var r=Ir(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=Ir(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=Ir(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=Ir(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!qk(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function t6(){J9(),Mf()&&e6(),G9()}var eu=Ee();function n6(){eu&&eu.document?eu.document.addEventListener("visibilitychange",()=>{var e=hl();if(eu.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var dg=(e,t,n)=>{let r;return o=>{t.value>=0&&(o||n)&&(t.delta=t.value-(r||0),(t.delta||r===void 0)&&(r=t.value,e(t)))}},r6=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,pg=(e,t)=>({name:e,value:Lr(t,()=>-1),delta:0,entries:[],id:r6()}),Qf=(e,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(e==="first-input"&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(r=>r.getEntries().map(t));return n.observe({type:e,buffered:!0}),n}}catch{}},Jf=(e,t)=>{var n=r=>{(r.type==="pagehide"||Ee().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},o6=(e,t)=>{var n=pg("CLS",0);let r,o=0,i=[];var a=l=>{if(l&&!l.hadRecentInput){var u=i[0],c=i[i.length-1];o&&i.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(o+=l.value,i.push(l)):(o=l.value,i=[l]),o>n.value&&(n.value=o,n.entries=i,r&&r())}},s=Qf("layout-shift",a);s&&(r=dg(e,n,t),Jf(()=>{s.takeRecords().map(a),r(!0)}))};let Vu=-1;var i6=()=>Ee().document.visibilityState==="hidden"?0:1/0,a6=()=>{Jf(({timeStamp:e})=>{Vu=e},!0)},hg=()=>(Vu<0&&(Vu=i6(),a6()),{get firstHiddenTime(){return Vu}}),s6=(e,t)=>{var n=hg(),r=pg("FID");let o;var i=s=>{o&&s.startTime<n.firstHiddenTime&&(r.value=s.processingStart-s.startTime,r.entries.push(s),o(!0))},a=Qf("first-input",i);a&&(o=dg(e,r,t),Jf(()=>{a.takeRecords().map(i),a.disconnect()},!0))},Rx={},l6=(e,t)=>{var n=hg(),r=pg("LCP");let o;var i=l=>{var u=l.startTime;u<n.firstHiddenTime&&(r.value=u,r.entries.push(l)),o&&o()},a=Qf("largest-contentful-paint",i);if(a){o=dg(e,r,t);var s=()=>{Rx[r.id]||(a.takeRecords().map(i),a.disconnect(),Rx[r.id]=!0,o(!0))};["keydown","click"].forEach(l=>{addEventListener(l,s,{once:!0,capture:!0})}),Jf(s,!0)}};function tu(e){return typeof e=="number"&&isFinite(e)}function na(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var Io=Ee();function VS(){return Io&&Io.addEventListener&&Io.performance}let kx=0,Ae={},An,us;function u6(e=!1){var t=VS();t&&Ji&&(t.mark&&Io.performance.mark("sentry-tracing-init"),f6(),d6(e),p6())}function c6(){var e=t=>{var n=hl();if(!!n){var r=et(Ji+t.startTime),o=et(t.duration);n.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:r,endTimestamp:r+o})}};Qf("longtask",e)}function f6(){o6(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding CLS"),Ae.cls={value:e.value,unit:""},us=t)})}function d6(e){l6(t=>{var n=t.entries.pop();if(!!n){var r=et(Ji),o=et(n.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding LCP"),Ae.lcp={value:t.value,unit:"millisecond"},Ae["mark.lcp"]={value:r+o,unit:"second"},An=n}},e)}function p6(){s6(e=>{var t=e.entries.pop();if(!!t){var n=et(Ji),r=et(t.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding FID"),Ae.fid={value:e.value,unit:"millisecond"},Ae["mark.fid"]={value:n+r,unit:"second"}}})}function h6(e){var t=VS();if(!t||!Io.performance.getEntries||!Ji)return;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Tracing] Adding & adjusting spans using Performance API");var n=et(Ji),r=t.getEntries();let o,i;r.slice(kx).forEach(a=>{var s=et(a.startTime),l=et(a.duration);if(!(e.op==="navigation"&&n+s<e.startTimestamp))switch(a.entryType){case"navigation":{v6(e,a,n),o=n+et(a.responseStart),i=n+et(a.requestStart);break}case"mark":case"paint":case"measure":{var u=m6(e,a,s,l,n),c=hg(),f=a.startTime<c.firstHiddenTime;a.name==="first-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding FP"),Ae.fp={value:a.startTime,unit:"millisecond"},Ae["mark.fp"]={value:u,unit:"second"}),a.name==="first-contentful-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding FCP"),Ae.fcp={value:a.startTime,unit:"millisecond"},Ae["mark.fcp"]={value:u,unit:"second"});break}case"resource":{var p=a.name.replace(Io.location.origin,"");y6(e,a,p,s,l,n);break}}}),kx=Math.max(r.length-1,0),x6(e),e.op==="pageload"&&(typeof o=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding TTFB"),Ae.ttfb={value:(o-e.startTimestamp)*1e3,unit:"millisecond"},typeof i=="number"&&i<=o&&(Ae["ttfb.requestTime"]={value:(o-i)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(a=>{if(!(!Ae[a]||n>=e.startTimestamp)){var s=Ae[a].value,l=n+et(s),u=Math.abs((l-e.startTimestamp)*1e3),c=u-s;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Measurements] Normalized ${a} from ${s} to ${u} (${c})`),Ae[a].value=u}}),Ae["mark.fid"]&&Ae.fid&&na(e,{description:"first input delay",endTimestamp:Ae["mark.fid"].value+et(Ae.fid.value),op:"web.vitals",startTimestamp:Ae["mark.fid"].value}),"fcp"in Ae||delete Ae.cls,Object.keys(Ae).forEach(a=>{e.setMeasurement(a,Ae[a].value,Ae[a].unit)}),_6(e)),An=void 0,us=void 0,Ae={}}function m6(e,t,n,r,o){var i=o+n,a=i+r;return na(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}function v6(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{nu(e,t,r,n)}),nu(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),nu(e,t,"fetch",n,"cache","domainLookupStart"),nu(e,t,"domainLookup",n,"DNS"),g6(e,t,n)}function nu(e,t,n,r,o,i){var a=i?t[i]:t[`${n}End`],s=t[`${n}Start`];!s||!a||na(e,{op:"browser",description:Lr(o,()=>n),startTimestamp:r+et(s),endTimestamp:r+et(a)})}function g6(e,t,n){na(e,{op:"browser",description:"request",startTimestamp:n+et(t.requestStart),endTimestamp:n+et(t.responseEnd)}),na(e,{op:"browser",description:"response",startTimestamp:n+et(t.responseStart),endTimestamp:n+et(t.responseEnd)})}function y6(e,t,n,r,o,i){if(!(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")){var a={};"transferSize"in t&&(a["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(a["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(a["Decoded Body Size"]=t.decodedBodySize);var s=i+r,l=s+o;na(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:s,data:a})}}function x6(e){var t=Io.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),tu(n.rtt)&&(Ae["connection.rtt"]={value:n.rtt,unit:"millisecond"}),tu(n.downlink)&&(Ae["connection.downlink"]={value:n.downlink,unit:""})),tu(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),tu(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function _6(e){An&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding LCP Data"),An.element&&e.setTag("lcp.element",zs(An.element)),An.id&&e.setTag("lcp.id",An.id),An.url&&e.setTag("lcp.url",An.url.trim().slice(0,200)),e.setTag("lcp.size",An.size)),us&&us.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding CLS Data"),us.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,zs(t.node))))}var w6=["localhost",/^\//],Dc={traceFetch:!0,traceXHR:!0,tracingOrigins:w6};function b6(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:o}={...Dc,...e};var i={},a=u=>{if(i[u])return i[u];var c=r;return i[u]=c.some(f=>Vs(u,f))&&!Vs(u,"sentry_key"),i[u]};let s=a;typeof o=="function"&&(s=u=>a(u)&&o(u));var l={};t&&Ut("fetch",u=>{E6(u,s,l)}),n&&Ut("xhr",u=>{C6(u,s,l)})}function E6(e,t,n){if(!(!fg()||!(e.fetchData&&t(e.fetchData.url)))){if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;var o=n[r];o&&(e.response?o.setHttpStatus(e.response.status):e.error&&o.setStatus("internal_error"),o.finish(),delete n[r]);return}var i=hl();if(i){var o=i.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=o.spanId,n[o.spanId]=o;var a=e.args[0]=e.args[0],s=e.args[1]=e.args[1]||{};s.headers=S6(a,i.getBaggage(),o,s)}}}function S6(e,t,n,r){let o=r.headers;if(gr(e,Request)&&(o=e.headers),o)if(typeof o.append=="function")o.append("sentry-trace",n.toTraceparent()),o.append(Ci,Xa(t,o.get(Ci)));else if(Array.isArray(o)){const[,i]=o.find(([a,s])=>a===Ci);o=[...o,["sentry-trace",n.toTraceparent()],[Ci,Xa(t,i)]]}else o={...o,"sentry-trace":n.toTraceparent(),baggage:Xa(t,o.baggage)};else o={"sentry-trace":n.toTraceparent(),baggage:Xa(t)};return o}function C6(e,t,n){if(!(!fg()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))){var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var o=e.xhr.__sentry_xhr_span_id__;if(!o)return;var i=n[o];i&&(i.setHttpStatus(r.status_code),i.finish(),delete n[o]);return}var a=hl();if(a){var i=a.startChild({data:{...r.data,type:"xhr",method:r.method,url:r.url},description:`${r.method} ${r.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=i.spanId,n[e.xhr.__sentry_xhr_span_id__]=i,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",i.toTraceparent());var s=e.xhr.getRequestHeader&&e.xhr.getRequestHeader(Ci);e.xhr.setRequestHeader(Ci,Xa(a.getBaggage(),s))}catch{}}}}var za=Ee();function A6(e,t=!0,n=!0){if(!za||!za.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("Could not initialize routing instrumentation due to invalid location");return}let r=za.location.href,o;t&&(o=e({name:za.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Ut("history",({to:i,from:a})=>{if(a===void 0&&r&&r.indexOf(i)!==-1){r=void 0;return}a!==i&&(r=void 0,o&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Finishing current transaction with op: ${o.op}`),o.finish()),o=e({name:za.location.pathname,op:"navigation",metadata:{source:"url"}}))})}var $6="BrowserTracing",T6={idleTimeout:jS,finalTimeout:BS,markBackgroundTransactions:!0,routingInstrumentation:A6,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...Dc};class mg{__init(){this.name=$6}constructor(t){mg.prototype.__init.call(this);let n=Dc.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...T6,...t,tracingOrigins:n};const{_metricOptions:r}=this.options;u6(r&&r._reportAllChanges),fO([this,"access",o=>o.options,"access",o=>o._experiments,"optionalAccess",o=>o.enableLongTask])&&c6()}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] We added a reasonable default for you: ${Dc.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:o,startTransactionOnPageLoad:i,markBackgroundTransactions:a,traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c}=this.options;r(f=>this._createRouteTransaction(f),i,o),a&&n6(),b6({traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:o}=this.options;var i=t.op==="pageload"?P6():void 0,a={...t,...i,...i&&{metadata:{...t.metadata,...i.metadata}},trimEnd:!0},s=typeof n=="function"?n(a):a,l=s===void 0?{...a,sampled:!1}:s;l.metadata=l.name!==a.name?{...l.metadata,source:"custom"}:l.metadata,l.sampled===!1&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Starting ${l.op} transaction on scope`);var u=this._getCurrentHub();const{location:c}=Ee();var f=Q9(u,l,r,o,!0,{location:c});return f.registerBeforeFinishCallback(p=>{h6(p),p.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),f}}function P6(){var e=Ox("sentry-trace"),t=Ox("baggage"),n=e?BO(e):void 0,r=o4(t,e);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function Ox(e){var t=Ee();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__=="undefined"||__SENTRY_TRACING__)&&t6();var vg={exports:{}},be={};/**
53
+ * @license React
54
+ * react-is.production.min.js
55
+ *
56
+ * Copyright (c) Facebook, Inc. and its affiliates.
57
+ *
58
+ * This source code is licensed under the MIT license found in the
59
+ * LICENSE file in the root directory of this source tree.
60
+ */var gg=Symbol.for("react.element"),yg=Symbol.for("react.portal"),ed=Symbol.for("react.fragment"),td=Symbol.for("react.strict_mode"),nd=Symbol.for("react.profiler"),rd=Symbol.for("react.provider"),od=Symbol.for("react.context"),R6=Symbol.for("react.server_context"),id=Symbol.for("react.forward_ref"),ad=Symbol.for("react.suspense"),sd=Symbol.for("react.suspense_list"),ld=Symbol.for("react.memo"),ud=Symbol.for("react.lazy"),k6=Symbol.for("react.offscreen"),US;US=Symbol.for("react.module.reference");function sn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case gg:switch(e=e.type,e){case ed:case nd:case td:case ad:case sd:return e;default:switch(e=e&&e.$$typeof,e){case R6:case od:case id:case ud:case ld:case rd:return e;default:return t}}case yg:return t}}}be.ContextConsumer=od;be.ContextProvider=rd;be.Element=gg;be.ForwardRef=id;be.Fragment=ed;be.Lazy=ud;be.Memo=ld;be.Portal=yg;be.Profiler=nd;be.StrictMode=td;be.Suspense=ad;be.SuspenseList=sd;be.isAsyncMode=function(){return!1};be.isConcurrentMode=function(){return!1};be.isContextConsumer=function(e){return sn(e)===od};be.isContextProvider=function(e){return sn(e)===rd};be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===gg};be.isForwardRef=function(e){return sn(e)===id};be.isFragment=function(e){return sn(e)===ed};be.isLazy=function(e){return sn(e)===ud};be.isMemo=function(e){return sn(e)===ld};be.isPortal=function(e){return sn(e)===yg};be.isProfiler=function(e){return sn(e)===nd};be.isStrictMode=function(e){return sn(e)===td};be.isSuspense=function(e){return sn(e)===ad};be.isSuspenseList=function(e){return sn(e)===sd};be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ed||e===nd||e===td||e===ad||e===sd||e===k6||typeof e=="object"&&e!==null&&(e.$$typeof===ud||e.$$typeof===ld||e.$$typeof===rd||e.$$typeof===od||e.$$typeof===id||e.$$typeof===US||e.getModuleId!==void 0)};be.typeOf=sn;vg.exports=be;var O6=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var c=a[u];if(!l(c))return!1;var f=t[c],p=n[c];if(i=r?r.call(o,f,p,c):void 0,i===!1||i===void 0&&f!==p)return!1}return!0};function D6(e){function t(O,R,T,D,A){for(var q=0,F=0,ce=0,ae=0,fe,ne,Se=0,Re=0,se,ke=se=fe=0,ee=0,de=0,He=0,me=0,kt=T.length,Hn=kt-1,Ce,Z="",ve="",Qe="",un="",dt;ee<kt;){if(ne=T.charCodeAt(ee),ee===Hn&&F+ae+ce+q!==0&&(F!==0&&(ne=F===47?10:47),ae=ce=q=0,kt++,Hn++),F+ae+ce+q===0){if(ee===Hn&&(0<de&&(Z=Z.replace(p,"")),0<Z.trim().length)){switch(ne){case 32:case 9:case 59:case 13:case 10:break;default:Z+=T.charAt(ee)}ne=59}switch(ne){case 123:for(Z=Z.trim(),fe=Z.charCodeAt(0),se=1,me=++ee;ee<kt;){switch(ne=T.charCodeAt(ee)){case 123:se++;break;case 125:se--;break;case 47:switch(ne=T.charCodeAt(ee+1)){case 42:case 47:e:{for(ke=ee+1;ke<Hn;++ke)switch(T.charCodeAt(ke)){case 47:if(ne===42&&T.charCodeAt(ke-1)===42&&ee+2!==ke){ee=ke+1;break e}break;case 10:if(ne===47){ee=ke+1;break e}}ee=ke}}break;case 91:ne++;case 40:ne++;case 34:case 39:for(;ee++<Hn&&T.charCodeAt(ee)!==ne;);}if(se===0)break;ee++}switch(se=T.substring(me,ee),fe===0&&(fe=(Z=Z.replace(f,"").trim()).charCodeAt(0)),fe){case 64:switch(0<de&&(Z=Z.replace(p,"")),ne=Z.charCodeAt(1),ne){case 100:case 109:case 115:case 45:de=R;break;default:de=ue}if(se=t(R,de,se,ne,A+1),me=se.length,0<z&&(de=n(ue,Z,He),dt=s(3,se,de,R,B,I,me,ne,A,D),Z=de.join(""),dt!==void 0&&(me=(se=dt.trim()).length)===0&&(ne=0,se="")),0<me)switch(ne){case 115:Z=Z.replace(E,a);case 100:case 109:case 45:se=Z+"{"+se+"}";break;case 107:Z=Z.replace(y,"$1 $2"),se=Z+"{"+se+"}",se=J===1||J===2&&i("@"+se,3)?"@-webkit-"+se+"@"+se:"@"+se;break;default:se=Z+se,D===112&&(se=(ve+=se,""))}else se="";break;default:se=t(R,n(R,Z,He),se,D,A+1)}Qe+=se,se=He=de=ke=fe=0,Z="",ne=T.charCodeAt(++ee);break;case 125:case 59:if(Z=(0<de?Z.replace(p,""):Z).trim(),1<(me=Z.length))switch(ke===0&&(fe=Z.charCodeAt(0),fe===45||96<fe&&123>fe)&&(me=(Z=Z.replace(" ",":")).length),0<z&&(dt=s(1,Z,R,O,B,I,ve.length,D,A,D))!==void 0&&(me=(Z=dt.trim()).length)===0&&(Z="\0\0"),fe=Z.charCodeAt(0),ne=Z.charCodeAt(1),fe){case 0:break;case 64:if(ne===105||ne===99){un+=Z+T.charAt(ee);break}default:Z.charCodeAt(me-1)!==58&&(ve+=o(Z,fe,ne,Z.charCodeAt(2)))}He=de=ke=fe=0,Z="",ne=T.charCodeAt(++ee)}}switch(ne){case 13:case 10:F===47?F=0:1+fe===0&&D!==107&&0<Z.length&&(de=1,Z+="\0"),0<z*k&&s(0,Z,R,O,B,I,ve.length,D,A,D),I=1,B++;break;case 59:case 125:if(F+ae+ce+q===0){I++;break}default:switch(I++,Ce=T.charAt(ee),ne){case 9:case 32:if(ae+q+F===0)switch(Se){case 44:case 58:case 9:case 32:Ce="";break;default:ne!==32&&(Ce=" ")}break;case 0:Ce="\\0";break;case 12:Ce="\\f";break;case 11:Ce="\\v";break;case 38:ae+F+q===0&&(de=He=1,Ce="\f"+Ce);break;case 108:if(ae+F+q+j===0&&0<ke)switch(ee-ke){case 2:Se===112&&T.charCodeAt(ee-3)===58&&(j=Se);case 8:Re===111&&(j=Re)}break;case 58:ae+F+q===0&&(ke=ee);break;case 44:F+ce+ae+q===0&&(de=1,Ce+="\r");break;case 34:case 39:F===0&&(ae=ae===ne?0:ae===0?ne:ae);break;case 91:ae+F+ce===0&&q++;break;case 93:ae+F+ce===0&&q--;break;case 41:ae+F+q===0&&ce--;break;case 40:if(ae+F+q===0){if(fe===0)switch(2*Se+3*Re){case 533:break;default:fe=1}ce++}break;case 64:F+ce+ae+q+ke+se===0&&(se=1);break;case 42:case 47:if(!(0<ae+q+ce))switch(F){case 0:switch(2*ne+3*T.charCodeAt(ee+1)){case 235:F=47;break;case 220:me=ee,F=42}break;case 42:ne===47&&Se===42&&me+2!==ee&&(T.charCodeAt(me+2)===33&&(ve+=T.substring(me,ee+1)),Ce="",F=0)}}F===0&&(Z+=Ce)}Re=Se,Se=ne,ee++}if(me=ve.length,0<me){if(de=R,0<z&&(dt=s(2,ve,de,O,B,I,me,D,A,D),dt!==void 0&&(ve=dt).length===0))return un+ve+Qe;if(ve=de.join(",")+"{"+ve+"}",J*j!==0){switch(J!==2||i(ve,2)||(j=0),j){case 111:ve=ve.replace(w,":-moz-$1")+ve;break;case 112:ve=ve.replace(x,"::-webkit-input-$1")+ve.replace(x,"::-moz-$1")+ve.replace(x,":-ms-input-$1")+ve}j=0}}return un+ve+Qe}function n(O,R,T){var D=R.trim().split(_);R=D;var A=D.length,q=O.length;switch(q){case 0:case 1:var F=0;for(O=q===0?"":O[0]+" ";F<A;++F)R[F]=r(O,R[F],T).trim();break;default:var ce=F=0;for(R=[];F<A;++F)for(var ae=0;ae<q;++ae)R[ce++]=r(O[ae]+" ",D[F],T).trim()}return R}function r(O,R,T){var D=R.charCodeAt(0);switch(33>D&&(D=(R=R.trim()).charCodeAt(0)),D){case 38:return R.replace(g,"$1"+O.trim());case 58:return O.trim()+R.replace(g,"$1"+O.trim());default:if(0<1*T&&0<R.indexOf("\f"))return R.replace(g,(O.charCodeAt(0)===58?"":"$1")+O.trim())}return O+R}function o(O,R,T,D){var A=O+";",q=2*R+3*T+4*D;if(q===944){O=A.indexOf(":",9)+1;var F=A.substring(O,A.length-1).trim();return F=A.substring(0,O).trim()+F+";",J===1||J===2&&i(F,1)?"-webkit-"+F+F:F}if(J===0||J===2&&!i(A,1))return A;switch(q){case 1015:return A.charCodeAt(10)===97?"-webkit-"+A+A:A;case 951:return A.charCodeAt(3)===116?"-webkit-"+A+A:A;case 963:return A.charCodeAt(5)===110?"-webkit-"+A+A:A;case 1009:if(A.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+A+A;case 978:return"-webkit-"+A+"-moz-"+A+A;case 1019:case 983:return"-webkit-"+A+"-moz-"+A+"-ms-"+A+A;case 883:if(A.charCodeAt(8)===45)return"-webkit-"+A+A;if(0<A.indexOf("image-set(",11))return A.replace(M,"$1-webkit-$2")+A;break;case 932:if(A.charCodeAt(4)===45)switch(A.charCodeAt(5)){case 103:return"-webkit-box-"+A.replace("-grow","")+"-webkit-"+A+"-ms-"+A.replace("grow","positive")+A;case 115:return"-webkit-"+A+"-ms-"+A.replace("shrink","negative")+A;case 98:return"-webkit-"+A+"-ms-"+A.replace("basis","preferred-size")+A}return"-webkit-"+A+"-ms-"+A+A;case 964:return"-webkit-"+A+"-ms-flex-"+A+A;case 1023:if(A.charCodeAt(8)!==99)break;return F=A.substring(A.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+F+"-webkit-"+A+"-ms-flex-pack"+F+A;case 1005:return v.test(A)?A.replace(h,":-webkit-")+A.replace(h,":-moz-")+A:A;case 1e3:switch(F=A.substring(13).trim(),R=F.indexOf("-")+1,F.charCodeAt(0)+F.charCodeAt(R)){case 226:F=A.replace(b,"tb");break;case 232:F=A.replace(b,"tb-rl");break;case 220:F=A.replace(b,"lr");break;default:return A}return"-webkit-"+A+"-ms-"+F+A;case 1017:if(A.indexOf("sticky",9)===-1)break;case 975:switch(R=(A=O).length-10,F=(A.charCodeAt(R)===33?A.substring(0,R):A).substring(O.indexOf(":",7)+1).trim(),q=F.charCodeAt(0)+(F.charCodeAt(7)|0)){case 203:if(111>F.charCodeAt(8))break;case 115:A=A.replace(F,"-webkit-"+F)+";"+A;break;case 207:case 102:A=A.replace(F,"-webkit-"+(102<q?"inline-":"")+"box")+";"+A.replace(F,"-webkit-"+F)+";"+A.replace(F,"-ms-"+F+"box")+";"+A}return A+";";case 938:if(A.charCodeAt(5)===45)switch(A.charCodeAt(6)){case 105:return F=A.replace("-items",""),"-webkit-"+A+"-webkit-box-"+F+"-ms-flex-"+F+A;case 115:return"-webkit-"+A+"-ms-flex-item-"+A.replace(C,"")+A;default:return"-webkit-"+A+"-ms-flex-line-pack"+A.replace("align-content","").replace(C,"")+A}break;case 973:case 989:if(A.charCodeAt(3)!==45||A.charCodeAt(4)===122)break;case 931:case 953:if(P.test(O)===!0)return(F=O.substring(O.indexOf(":")+1)).charCodeAt(0)===115?o(O.replace("stretch","fill-available"),R,T,D).replace(":fill-available",":stretch"):A.replace(F,"-webkit-"+F)+A.replace(F,"-moz-"+F.replace("fill-",""))+A;break;case 962:if(A="-webkit-"+A+(A.charCodeAt(5)===102?"-ms-"+A:"")+A,T+D===211&&A.charCodeAt(13)===105&&0<A.indexOf("transform",10))return A.substring(0,A.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+A}return A}function i(O,R){var T=O.indexOf(R===1?":":"{"),D=O.substring(0,R!==3?T:10);return T=O.substring(T+1,O.length-1),K(R!==2?D:D.replace($,"$1"),T,R)}function a(O,R){var T=o(R,R.charCodeAt(0),R.charCodeAt(1),R.charCodeAt(2));return T!==R+";"?T.replace(S," or ($1)").substring(4):"("+R+")"}function s(O,R,T,D,A,q,F,ce,ae,fe){for(var ne=0,Se=R,Re;ne<z;++ne)switch(Re=ie[ne].call(c,O,Se,T,D,A,q,F,ce,ae,fe)){case void 0:case!1:case!0:case null:break;default:Se=Re}if(Se!==R)return Se}function l(O){switch(O){case void 0:case null:z=ie.length=0;break;default:if(typeof O=="function")ie[z++]=O;else if(typeof O=="object")for(var R=0,T=O.length;R<T;++R)l(O[R]);else k=!!O|0}return l}function u(O){return O=O.prefix,O!==void 0&&(K=null,O?typeof O!="function"?J=1:(J=2,K=O):J=0),u}function c(O,R){var T=O;if(33>T.charCodeAt(0)&&(T=T.trim()),G=T,T=[G],0<z){var D=s(-1,R,T,T,B,I,0,0,0,0);D!==void 0&&typeof D=="string"&&(R=D)}var A=t(ue,T,R,0,0);return 0<z&&(D=s(-2,A,T,T,B,I,A.length,0,0,0),D!==void 0&&(A=D)),G="",j=0,I=B=1,A}var f=/^\0+/g,p=/[\0\r\f]/g,h=/: */g,v=/zoo|gra/,m=/([,: ])(transform)/g,_=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,x=/::(place)/g,w=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,C=/-self|flex-/g,$=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,M=/([^-])(image-set\()/,I=1,B=1,j=0,J=1,ue=[],ie=[],z=0,K=null,k=0,G="";return c.use=l,c.set=u,e!==void 0&&u(e),c}var L6={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function N6(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var M6=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Dx=N6(function(e){return M6.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Lx=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},Dm=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!vg.exports.typeOf(e)},Lc=Object.freeze([]),Jr=Object.freeze({});function qs(e){return typeof e=="function"}function Nx(e){return e.displayName||e.name||"Component"}function xg(e){return e&&typeof e.styledComponentId=="string"}var ra=typeof process!="undefined"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",_g=typeof window!="undefined"&&"HTMLElement"in window,F6=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1),I6={};function ml(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var j6=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,o=0;o<n;o++)r+=this.groupSizes[o];return r},t.insertRules=function(n,r){if(n>=this.groupSizes.length){for(var o=this.groupSizes,i=o.length,a=i;n>=a;)(a<<=1)<0&&ml(16,""+n);this.groupSizes=new Uint32Array(a),this.groupSizes.set(o),this.length=a;for(var s=i;s<a;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(n+1),u=0,c=r.length;u<c;u++)this.tag.insertRule(l,r[u])&&(this.groupSizes[n]++,l++)},t.clearGroup=function(n){if(n<this.length){var r=this.groupSizes[n],o=this.indexOfGroup(n),i=o+r;this.groupSizes[n]=0;for(var a=o;a<i;a++)this.tag.deleteRule(o)}},t.getGroup=function(n){var r="";if(n>=this.length||this.groupSizes[n]===0)return r;for(var o=this.groupSizes[n],i=this.indexOfGroup(n),a=i+o,s=i;s<a;s++)r+=this.tag.getRule(s)+`/*!sc*/
61
+ `;return r},e}(),Uu=new Map,Nc=new Map,cs=1,ru=function(e){if(Uu.has(e))return Uu.get(e);for(;Nc.has(cs);)cs++;var t=cs++;return Uu.set(e,t),Nc.set(t,e),t},B6=function(e){return Nc.get(e)},z6=function(e,t){t>=cs&&(cs=t+1),Uu.set(e,t),Nc.set(t,e)},V6="style["+ra+'][data-styled-version="5.3.5"]',U6=new RegExp("^"+ra+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),H6=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},G6=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
62
+ `),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(U6);if(s){var l=0|parseInt(s[1],10),u=s[2];l!==0&&(z6(u,l),H6(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},Y6=function(){return typeof window!="undefined"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},HS=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(s){for(var l=s.childNodes,u=l.length;u>=0;u--){var c=l[u];if(c&&c.nodeType===1&&c.hasAttribute(ra))return c}}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(ra,"active"),r.setAttribute("data-styled-version","5.3.5");var a=Y6();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},W6=function(){function e(n){var r=this.element=HS(n);r.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var i=document.styleSheets,a=0,s=i.length;a<s;a++){var l=i[a];if(l.ownerNode===o)return l}ml(17)}(r),this.length=0}var t=e.prototype;return t.insertRule=function(n,r){try{return this.sheet.insertRule(r,n),this.length++,!0}catch{return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var r=this.sheet.cssRules[n];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),q6=function(){function e(n){var r=this.element=HS(n);this.nodes=r.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(n,r){if(n<=this.length&&n>=0){var o=document.createTextNode(r),i=this.nodes[n];return this.element.insertBefore(o,i||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},e}(),K6=function(){function e(n){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(n,r){return n<=this.length&&(this.rules.splice(n,0,r),this.length++,!0)},t.deleteRule=function(n){this.rules.splice(n,1),this.length--},t.getRule=function(n){return n<this.length?this.rules[n]:""},e}(),Mx=_g,X6={isServer:!_g,useCSSOMInjection:!F6},Mc=function(){function e(n,r,o){n===void 0&&(n=Jr),r===void 0&&(r={}),this.options=On({},X6,{},n),this.gs=r,this.names=new Map(o),this.server=!!n.isServer,!this.server&&_g&&Mx&&(Mx=!1,function(i){for(var a=document.querySelectorAll(V6),s=0,l=a.length;s<l;s++){var u=a[s];u&&u.getAttribute(ra)!=="active"&&(G6(i,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return ru(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(On({},this.options,{},n),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},t.getTag=function(){return this.tag||(this.tag=(o=(r=this.options).isServer,i=r.useCSSOMInjection,a=r.target,n=o?new K6(a):i?new W6(a):new q6(a),new j6(n)));var n,r,o,i,a},t.hasNameForId=function(n,r){return this.names.has(n)&&this.names.get(n).has(r)},t.registerName=function(n,r){if(ru(n),this.names.has(n))this.names.get(n).add(r);else{var o=new Set;o.add(r),this.names.set(n,o)}},t.insertRules=function(n,r,o){this.registerName(n,r),this.getTag().insertRules(ru(n),o)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(ru(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var r=n.getTag(),o=r.length,i="",a=0;a<o;a++){var s=B6(a);if(s!==void 0){var l=n.names.get(s),u=r.getGroup(a);if(l&&u&&l.size){var c=ra+".g"+a+'[id="'+s+'"]',f="";l!==void 0&&l.forEach(function(p){p.length>0&&(f+=p+",")}),i+=""+u+c+'{content:"'+f+`"}/*!sc*/
63
+ `}}}return i}(this)},e}(),Z6=/(a)(d)/gi,Fx=function(e){return String.fromCharCode(e+(e>25?39:97))};function Lm(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Fx(t%52)+n;return(Fx(t%52)+n).replace(Z6,"$1-$2")}var Ti=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},GS=function(e){return Ti(5381,e)};function YS(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(qs(n)&&!xg(n))return!1}return!0}var Q6=GS("5.3.5"),J6=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&YS(t),this.componentId=n,this.baseHash=Ti(Q6,n),this.baseStyle=r,Mc.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,n,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(o,this.staticRulesId))i.push(this.staticRulesId);else{var a=Wo(this.rules,t,n,r).join(""),s=Lm(Ti(this.baseHash,a)>>>0);if(!n.hasNameForId(o,s)){var l=r(a,"."+s,void 0,o);n.insertRules(o,s,l)}i.push(s),this.staticRulesId=s}else{for(var u=this.rules.length,c=Ti(this.baseHash,r.hash),f="",p=0;p<u;p++){var h=this.rules[p];if(typeof h=="string")f+=h;else if(h){var v=Wo(h,t,n,r),m=Array.isArray(v)?v.join(""):v;c=Ti(c,m+p),f+=m}}if(f){var _=Lm(c>>>0);if(!n.hasNameForId(o,_)){var g=r(f,"."+_,void 0,o);n.insertRules(o,_,g)}i.push(_)}}return i.join(" ")},e}(),e8=/^\s*\/\/.*$/gm,t8=[":","[",".","#"];function WS(e){var t,n,r,o,i=e===void 0?Jr:e,a=i.options,s=a===void 0?Jr:a,l=i.plugins,u=l===void 0?Lc:l,c=new D6(s),f=[],p=function(m){function _(g){if(g)try{m(g+"}")}catch{}}return function(g,y,x,w,b,E,S,C,$,P){switch(g){case 1:if($===0&&y.charCodeAt(0)===64)return m(y+";"),"";break;case 2:if(C===0)return y+"/*|*/";break;case 3:switch(C){case 102:case 112:return m(x[0]+y),"";default:return y+(P===0?"/*|*/":"")}case-2:y.split("/*|*/}").forEach(_)}}}(function(m){f.push(m)}),h=function(m,_,g){return _===0&&t8.indexOf(g[n.length])!==-1||g.match(o)?m:"."+t};function v(m,_,g,y){y===void 0&&(y="&");var x=m.replace(e8,""),w=_&&g?g+" "+_+" { "+x+" }":x;return t=y,n=_,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(g||!_?"":_,w)}return c.use([].concat(u,[function(m,_,g){m===2&&g.length&&g[0].lastIndexOf(n)>0&&(g[0]=g[0].replace(r,h))},p,function(m){if(m===-2){var _=f;return f=[],_}}])),v.hash=u.length?u.reduce(function(m,_){return _.name||ml(15),Ti(m,_.name)},5381).toString():"",v}var wg=te.createContext();wg.Consumer;var bg=te.createContext(),n8=(bg.Consumer,new Mc),Nm=WS();function Eg(){return d.exports.useContext(wg)||n8}function qS(){return d.exports.useContext(bg)||Nm}function r8(e){var t=d.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=Eg(),i=d.exports.useMemo(function(){var s=o;return e.sheet?s=e.sheet:e.target&&(s=s.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(s=s.reconstructWithOptions({useCSSOMInjection:!1})),s},[e.disableCSSOMInjection,e.sheet,e.target]),a=d.exports.useMemo(function(){return WS({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return d.exports.useEffect(function(){O6(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),te.createElement(wg.Provider,{value:i},te.createElement(bg.Provider,{value:a},e.children))}var KS=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Nm);var a=r.name+i.hash;o.hasNameForId(r.id,a)||o.insertRules(r.id,a,i(r.rules,a,"@keyframes"))},this.toString=function(){return ml(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=Nm),this.name+t.hash},e}(),o8=/([A-Z])/,i8=/([A-Z])/g,a8=/^ms-/,s8=function(e){return"-"+e.toLowerCase()};function Ix(e){return o8.test(e)?e.replace(i8,s8).replace(a8,"-ms-"):e}var jx=function(e){return e==null||e===!1||e===""};function Wo(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)(o=Wo(e[a],t,n,r))!==""&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}if(jx(e))return"";if(xg(e))return"."+e.styledComponentId;if(qs(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var l=e(t);return Wo(l,t,n,r)}var u;return e instanceof KS?n?(e.inject(n,r),e.getName(r)):e:Dm(e)?function c(f,p){var h,v,m=[];for(var _ in f)f.hasOwnProperty(_)&&!jx(f[_])&&(Array.isArray(f[_])&&f[_].isCss||qs(f[_])?m.push(Ix(_)+":",f[_],";"):Dm(f[_])?m.push.apply(m,c(f[_],_)):m.push(Ix(_)+": "+(h=_,(v=f[_])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||h in L6?String(v).trim():v+"px")+";"));return p?[p+" {"].concat(m,["}"]):m}(e):e.toString()}var Bx=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ye(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return qs(e)||Dm(e)?Bx(Wo(Lx(Lc,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:Bx(Wo(Lx(e,n)))}var XS=function(e,t,n){return n===void 0&&(n=Jr),e.theme!==n.theme&&e.theme||t||n.theme},l8=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,u8=/(^-|-$)/g;function Ip(e){return e.replace(l8,"-").replace(u8,"")}var Sg=function(e){return Lm(GS(e)>>>0)};function ou(e){return typeof e=="string"&&!0}var Mm=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},c8=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function f8(e,t,n){var r=e[n];Mm(t)&&Mm(r)?ZS(r,t):e[n]=t}function ZS(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Mm(a))for(var s in a)c8(s)&&f8(e,a[s],s)}return e}var Cg=te.createContext();Cg.Consumer;var jp={};function QS(e,t,n){var r=xg(e),o=!ou(e),i=t.attrs,a=i===void 0?Lc:i,s=t.componentId,l=s===void 0?function(y,x){var w=typeof y!="string"?"sc":Ip(y);jp[w]=(jp[w]||0)+1;var b=w+"-"+Sg("5.3.5"+w+jp[w]);return x?x+"-"+b:b}(t.displayName,t.parentComponentId):s,u=t.displayName,c=u===void 0?function(y){return ou(y)?"styled."+y:"Styled("+Nx(y)+")"}(e):u,f=t.displayName&&t.componentId?Ip(t.displayName)+"-"+t.componentId:t.componentId||l,p=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,h=t.shouldForwardProp;r&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(y,x,w){return e.shouldForwardProp(y,x,w)&&t.shouldForwardProp(y,x,w)}:e.shouldForwardProp);var v,m=new J6(n,f,r?e.componentStyle:void 0),_=m.isStatic&&a.length===0,g=function(y,x){return function(w,b,E,S){var C=w.attrs,$=w.componentStyle,P=w.defaultProps,M=w.foldedComponentIds,I=w.shouldForwardProp,B=w.styledComponentId,j=w.target,J=function(D,A,q){D===void 0&&(D=Jr);var F=On({},A,{theme:D}),ce={};return q.forEach(function(ae){var fe,ne,Se,Re=ae;for(fe in qs(Re)&&(Re=Re(F)),Re)F[fe]=ce[fe]=fe==="className"?(ne=ce[fe],Se=Re[fe],ne&&Se?ne+" "+Se:ne||Se):Re[fe]}),[F,ce]}(XS(b,d.exports.useContext(Cg),P)||Jr,b,C),ue=J[0],ie=J[1],z=function(D,A,q,F){var ce=Eg(),ae=qS(),fe=A?D.generateAndInjectStyles(Jr,ce,ae):D.generateAndInjectStyles(q,ce,ae);return fe}($,S,ue),K=E,k=ie.$as||b.$as||ie.as||b.as||j,G=ou(k),O=ie!==b?On({},b,{},ie):b,R={};for(var T in O)T[0]!=="$"&&T!=="as"&&(T==="forwardedAs"?R.as=O[T]:(I?I(T,Dx,k):!G||Dx(T))&&(R[T]=O[T]));return b.style&&ie.style!==b.style&&(R.style=On({},b.style,{},ie.style)),R.className=Array.prototype.concat(M,B,z!==B?z:null,b.className,ie.className).filter(Boolean).join(" "),R.ref=K,d.exports.createElement(k,R)}(v,y,x,_)};return g.displayName=c,(v=te.forwardRef(g)).attrs=p,v.componentStyle=m,v.displayName=c,v.shouldForwardProp=h,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Lc,v.styledComponentId=f,v.target=r?e.target:e,v.withComponent=function(y){var x=t.componentId,w=function(E,S){if(E==null)return{};var C,$,P={},M=Object.keys(E);for($=0;$<M.length;$++)C=M[$],S.indexOf(C)>=0||(P[C]=E[C]);return P}(t,["componentId"]),b=x&&x+"-"+(ou(y)?y:Ip(Nx(y)));return QS(y,On({},w,{attrs:p,componentId:b}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(y){this._foldedDefaultProps=r?ZS({},e.defaultProps,y):y}}),v.toString=function(){return"."+v.styledComponentId},o&&H9(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Fm=function(e){return function t(n,r,o){if(o===void 0&&(o=Jr),!vg.exports.isValidElementType(r))return ml(1,String(r));var i=function(){return n(r,o,ye.apply(void 0,arguments))};return i.withConfig=function(a){return t(n,r,On({},o,{},a))},i.attrs=function(a){return t(n,r,On({},o,{attrs:Array.prototype.concat(o.attrs,a).filter(Boolean)}))},i}(QS,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Fm[e]=Fm(e)});var d8=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=YS(n),Mc.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,o,i){var a=i(Wo(this.rules,r,o,i).join(""),""),s=this.componentId+n;o.insertRules(s,s,a)},t.removeStyles=function(n,r){r.clearRules(this.componentId+n)},t.renderStyles=function(n,r,o,i){n>2&&Mc.registerId(this.componentId+n),this.removeStyles(n,o),this.createStyles(n,r,o,i)},e}();function JS(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ye.apply(void 0,[e].concat(n)),i="sc-global-"+Sg(JSON.stringify(o)),a=new d8(o,i);function s(u){var c=Eg(),f=qS(),p=d.exports.useContext(Cg),h=d.exports.useRef(c.allocateGSInstance(i)).current;return c.server&&l(h,u,c,p,f),d.exports.useLayoutEffect(function(){if(!c.server)return l(h,u,c,p,f),function(){return a.removeStyles(h,c)}},[h,u,c,p,f]),null}function l(u,c,f,p,h){if(a.isStatic)a.renderStyles(u,I6,f,h);else{var v=On({},c,{theme:XS(c,p,s.defaultProps)});a.renderStyles(u,v,f,h)}}return te.memo(s)}function cd(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ye.apply(void 0,[e].concat(n)).join(""),i=Sg(o);return new KS(i,o)}var Y=Fm;const Ks={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},$e={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},p8=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Ks,neutralColors:$e},Symbol.toStringTag,{value:"Module"})),er=4,h8={"--ll-color-primary":Ks.colorPrimary50,"--ll-color-primary-variant1":Ks.colorPrimary40,"--ll-color-background":$e.colorNeutral100,"--ll-color-surface":$e.colorNeutral95,"--ll-color-surface-variant1":$e.colorNeutral90,"--ll-color-surface-variant2":$e.colorNeutral80,"--ll-color-on-primary":$e.colorNeutral100,"--ll-color-on-primary-variant1":$e.colorNeutral90,"--ll-color-on-background":$e.colorNeutral10,"--ll-color-on-background-variant1":$e.colorNeutral30,"--ll-color-on-surface":$e.colorNeutral10,"--ll-color-on-surface-variant1":$e.colorNeutral30,"--ll-color-placeholder":$e.colorNeutral60,"--ll-color-disabled":$e.colorNeutral60,"--ll-color-border":$e.colorNeutral90},m8={"--ll-border-radius-small":`${er}px`,"--ll-border-radius-medium":`${2*er}px`},v8={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},g8={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${er}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)"},y8={"--ll-font-family":"Inter, sans-serif"},x8={"--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)"},_8={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},Ag={...h8,...m8,...v8,...g8,...y8,...x8,..._8},w8={...Ag,"--ll-color-primary":Ks.colorPrimary60,"--ll-color-primary-variant1":Ks.colorPrimary50,"--ll-color-background":$e.colorNeutral10,"--ll-color-surface":$e.colorNeutral20,"--ll-color-surface-variant1":$e.colorNeutral30,"--ll-color-surface-variant2":$e.colorNeutral40,"--ll-color-on-primary":$e.colorNeutral100,"--ll-color-on-primary-variant1":$e.colorNeutral90,"--ll-color-on-background":$e.colorNeutral99,"--ll-color-on-background-variant1":$e.colorNeutral60,"--ll-color-on-surface":$e.colorNeutral60,"--ll-color-on-surface-variant1":$e.colorNeutral70,"--ll-color-placeholder":$e.colorNeutral70,"--ll-color-disabled":$e.colorNeutral70,"--ll-color-border":$e.colorNeutral30},b8=Object.keys(Ag),U=b8.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),E8={day:Ag,night:w8},S8=JS`
64
+ :root {
65
+ ${({themeName:e,overrides:t})=>({...E8[e||"day"],...t})};
66
+ }
67
+ `,C8=e=>e,A8=C8({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),$8=Object.freeze(Object.defineProperty({__proto__:null,transitions:A8},Symbol.toStringTag,{value:"Module"})),T8={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},P8=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:T8},Symbol.toStringTag,{value:"Module"})),AJ={colors:p8,...$8,...P8},R8=({size:e})=>e==="small"?ye`
68
+ padding: calc(${U["--ll-spacing-xx-small"]} / 2) ${U["--ll-spacing-xx-small"]};
69
+ `:e==="large"?ye`
70
+ padding: calc(${U["--ll-spacing-small"]} / 2) ${U["--ll-spacing-medium"]};
71
+ font-size: ${U["--ll-font-size-p"]};
72
+ `:ye`
73
+ padding: ${U["--ll-spacing-xx-small"]} ${U["--ll-spacing-x-small"]};
74
+ `;Y.span`
75
+ display: inline-flex;
76
+ color: ${({textColor:e})=>e};
77
+ background-color: ${({backgroundColor:e})=>e};
78
+ border-radius: ${U["--ll-border-radius-small"]};
79
+ line-height: 1;
80
+ font-family: ${U["--ll-font-family"]};
81
+ font-size: ${U["--ll-font-size-caption-1"]};
82
+
83
+ ${R8};
84
+ `;var fd={exports:{}},Va={};/**
85
+ * @license React
86
+ * react-jsx-runtime.production.min.js
87
+ *
88
+ * Copyright (c) Facebook, Inc. and its affiliates.
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ */var zx;function k8(){if(zx)return Va;zx=1;var e=te,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,f={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:f,_owner:o.current}}return Va.Fragment=n,Va.jsx=a,Va.jsxs=a,Va}(function(e){e.exports=k8()})(fd);const dd=fd.exports.Fragment,pe=fd.exports.jsx,Qn=fd.exports.jsxs,O8=Y.div`
93
+ height: ${({height:e})=>e}px;
94
+ width: ${({width:e})=>e}px;
95
+ fill: ${({fill:e})=>e};
96
+ display: flex;
97
+
98
+ & > svg {
99
+ fill: inherit;
100
+ height: 100%;
101
+ width: 100%;
102
+ }
103
+ `,$g=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>pe(O8,{fill:t,height:n,width:r,children:pe(e,{})}),Vx=({variant:e})=>e==="h1"?U["--ll-font-size-h1"]:e==="h2"?U["--ll-font-size-h2"]:e==="h3"?U["--ll-font-size-h3"]:e==="h4"?U["--ll-font-size-h4"]:e==="h5"?U["--ll-font-size-h5"]:e==="h6"?U["--ll-font-size-h6"]:e==="p"?U["--ll-font-size-p"]:e==="caption1"?U["--ll-font-size-caption-1"]:e==="caption2"?U["--ll-font-size-caption-2"]:U["--ll-font-size-h2"],Ux=({color:e})=>e in U?U[e]:e,eC=Y.span`
104
+ overflow: hidden;
105
+ display: inline-block;
106
+ width: 100%;
107
+ line-height: ${({lineHeight:e})=>e||1.45};
108
+ margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
109
+ font-size: inherit;
110
+ font-weight: inherit;
111
+ `,D8=Y.div`
112
+ ${e=>ye`
113
+ text-align: ${e.align};
114
+ font-size: ${Vx(e)};
115
+ font-family: ${U["--ll-font-family"]};
116
+ color: ${Ux(e)};
117
+ font-weight: ${U[e.weight]};
118
+ overflow: hidden;
119
+ display: flex;
120
+
121
+ svg {
122
+ height: ${Vx(e)};
123
+ fill: ${Ux(e)};
124
+ }
125
+
126
+ ${eC} {
127
+ ${e.noWrap&&ye`
128
+ text-overflow: ellipsis;
129
+ white-space: nowrap;
130
+ `}
131
+ }
132
+ `}
133
+ `,Im=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,lineHeight:a,weight:s="--ll-font-weight-normal",className:l})=>{const u=["caption1","caption2","p"].includes(t)?"p":t;return pe(D8,{variant:t,align:n,color:r,noWrap:o,weight:s,children:pe(eC,{as:u,noMargin:i,className:l,lineHeight:a,children:e})})};function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},re.apply(this,arguments)}function L8(e,t){const n=d.exports.createContext(t);function r(i){const{children:a,...s}=i,l=d.exports.useMemo(()=>s,Object.values(s));return d.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=d.exports.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function ya(e,t=[]){let n=[];function r(i,a){const s=d.exports.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:h,...v}=f,m=(p==null?void 0:p[e][l])||s,_=d.exports.useMemo(()=>v,Object.values(v));return d.exports.createElement(m.Provider,{value:_},h)}function c(f,p){const h=(p==null?void 0:p[e][l])||s,v=d.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>d.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return d.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,N8(o,...t)]}function N8(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return d.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function M8(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function tC(...e){return t=>e.forEach(n=>M8(n,t))}function Ne(...e){return d.exports.useCallback(tC(...e),e)}const oa=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=d.exports.Children.toArray(n),i=o.find(I8);if(i){const a=i.props.children,s=o.map(l=>l===i?d.exports.Children.count(a)>1?d.exports.Children.only(null):d.exports.isValidElement(a)?a.props.children:null:l);return d.exports.createElement(jm,re({},r,{ref:t}),d.exports.isValidElement(a)?d.exports.cloneElement(a,void 0,s):null)}return d.exports.createElement(jm,re({},r,{ref:t}),n)});oa.displayName="Slot";const jm=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return d.exports.isValidElement(n)?d.exports.cloneElement(n,{...j8(r,n.props),ref:tC(t,n.ref)}):d.exports.Children.count(n)>1?d.exports.Children.only(null):null});jm.displayName="SlotClone";const F8=({children:e})=>d.exports.createElement(d.exports.Fragment,null,e);function I8(e){return d.exports.isValidElement(e)&&e.type===F8}function j8(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{i==null||i(...a),o==null||o(...a)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const B8=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Te=B8.reduce((e,t)=>{const n=d.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?oa:t;return d.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.exports.createElement(s,re({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function z8(e,t){e&&Pt.exports.flushSync(()=>e.dispatchEvent(t))}const jt=Boolean(globalThis==null?void 0:globalThis.document)?d.exports.useLayoutEffect:()=>{},V8=t0["useId".toString()]||(()=>{});let U8=0;function pd(e){const[t,n]=d.exports.useState(V8());return jt(()=>{e||n(r=>r!=null?r:String(U8++))},[e]),e||(t?`radix-${t}`:"")}const H8="Label",[G8,Y8]=L8(H8,{id:void 0,controlRef:{current:null}}),W8=d.exports.forwardRef((e,t)=>{const{htmlFor:n,id:r,...o}=e,i=d.exports.useRef(null),a=d.exports.useRef(null),s=Ne(t,a),l=pd(r);return d.exports.useEffect(()=>{if(n){const u=document.getElementById(n);if(a.current&&u){const c=()=>u.getAttribute("aria-labelledby"),f=[l,c()].filter(Boolean).join(" ");return u.setAttribute("aria-labelledby",f),i.current=u,()=>{var p;const h=(p=c())===null||p===void 0?void 0:p.replace(l,"");h===""?u.removeAttribute("aria-labelledby"):h&&u.setAttribute("aria-labelledby",h)}}}},[l,n]),d.exports.createElement(G8,{id:l,controlRef:i},d.exports.createElement(Te.span,re({role:"label",id:l},o,{ref:s,onMouseDown:u=>{var c;(c=e.onMouseDown)===null||c===void 0||c.call(e,u),!u.defaultPrevented&&u.detail>1&&u.preventDefault()},onClick:u=>{var c;if((c=e.onClick)===null||c===void 0||c.call(e,u),!i.current||u.defaultPrevented)return;const f=i.current.contains(u.target),p=u.isTrusted===!0;!f&&p&&(i.current.click(),i.current.focus())}})))}),nC=e=>{const t=Y8("LabelConsumer"),{controlRef:n}=t;return d.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id},q8=W8,K8=Y(q8)`
134
+ font-size: ${U["--ll-font-size-p"]};
135
+ font-family: ${U["--ll-font-family"]};
136
+ color: ${U["--ll-color-placeholder"]};
137
+ `,X8=e=>pe(K8,{...e}),Z8=cd`
138
+ 0% {
139
+ transform: rotate(0deg);
140
+ }
141
+ 100% {
142
+ transform: rotate(360deg);
143
+ }
144
+ `,Bp={small:er*4,medium:er*6,large:er*8},Q8=Y.div`
145
+ height: ${({size:e})=>Bp[e]}px;
146
+ width: ${({size:e})=>Bp[e]}px;
147
+ border: ${({size:e})=>Bp[e]/6}px solid ${U["--ll-color-on-surface-variant1"]};
148
+ border-bottom-color: transparent;
149
+ border-radius: 50%;
150
+ display: inline-block;
151
+ box-sizing: border-box;
152
+ animation: ${Z8} 1s linear infinite;
153
+ `,rC=({size:e="medium"})=>pe(Q8,{size:e}),fs={primary:{background:U["--ll-color-primary"],onBackground:U["--ll-color-on-primary"],hover:U["--ll-color-primary-variant1"]}},J8=({size:e})=>e==="small"?`font-size: ${U["--ll-font-size-caption-1"]}`:`font-size: ${U["--ll-font-size-p"]}`,Tg=({size:e})=>e==="small"?`${er*8}px`:e==="large"?`${er*12}px`:`${er*10}px`,eD=({size:e})=>e==="small"?`padding: 0 ${U["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${U["--ll-spacing-medium"]}`:`padding: 0 ${U["--ll-spacing-small"]}`,tD=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",nD=ye`
154
+ ${({color:e="primary"})=>ye`
155
+ color: ${U["--ll-color-on-background"]};
156
+
157
+ &:disabled {
158
+ cursor: default;
159
+ }
160
+ `};
161
+
162
+ height: ${Tg};
163
+ `,rD=ye`
164
+ ${({color:e="primary"})=>ye`
165
+ background-color: ${fs[e].background};
166
+ color: ${fs[e].onBackground};
167
+ border: 1px solid transparent;
168
+
169
+ &:hover {
170
+ background-color: ${fs[e].hover};
171
+ }
172
+
173
+ &:disabled {
174
+ background-color: ${U["--ll-color-disabled"]};
175
+ cursor: default;
176
+ }
177
+ `};
178
+ height: ${Tg};
179
+ `,oD=ye`
180
+ ${({color:e="primary"})=>ye`
181
+ border-color: ${fs[e].background};
182
+ border-width: 1px;
183
+ border-style: solid;
184
+ color: ${fs[e].background};
185
+ `};
186
+
187
+ &:hover {
188
+ background-color: rgba(0, 0, 0, 0.03);
189
+ }
190
+
191
+ height: ${Tg};
192
+ `,iD=e=>({contained:rD,outlined:oD,text:nD})[e.variant],aD=Y.div`
193
+ display: flex;
194
+ align-items: center;
195
+ margin-right: ${U["--ll-spacing-x-small"]};
196
+ margin-left: calc(-1 * ${U["--ll-spacing-xx-small"]});
197
+ `,sD=Y.button`
198
+ font-weight: ${U["--ll-font-weight-normal"]};
199
+ border-radius: ${U["--ll-border-radius-small"]};
200
+ align-items: center;
201
+ cursor: pointer;
202
+ display: inline-flex;
203
+ background: none;
204
+ border: none;
205
+ box-sizing: border-box;
206
+
207
+ svg {
208
+ fill: currentColor;
209
+ }
210
+
211
+ ${iD};
212
+ ${tD};
213
+ ${J8};
214
+ ${eD};
215
+ `,lD=te.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",color:s,isLoading:l,className:u},c)=>pe(sD,{variant:r,size:i,onClick:f=>{t||!n||l||n(f)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?pe(rC,{}):Qn(dd,{children:[o&&pe(aD,{children:o}),e]})}));lD.displayName="Button";function De(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function oo(e){const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Fc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=uD({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=oo(n),l=d.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function uD({defaultProp:e,onChange:t}){const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=oo(t);return d.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function Pg(e){const t=d.exports.useRef({value:e,previous:e});return d.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Rg(e){const[t,n]=d.exports.useState(void 0);return jt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const oC="Switch",[cD,$J]=ya(oC),[fD,dD]=cD(oC),pD=d.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,"aria-labelledby":r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...f}=e,[p,h]=d.exports.useState(null),v=Ne(t,b=>h(b)),m=nC(p),_=r||m,g=d.exports.useRef(!1),y=p?Boolean(p.closest("form")):!0,[x=!1,w]=Fc({prop:i,defaultProp:a,onChange:c});return d.exports.createElement(fD,{scope:n,checked:x,disabled:l},d.exports.createElement(Te.button,re({type:"button",role:"switch","aria-checked":x,"aria-labelledby":_,"aria-required":s,"data-state":iC(x),"data-disabled":l?"":void 0,disabled:l,value:u},f,{ref:v,onClick:De(e.onClick,b=>{w(E=>!E),y&&(g.current=b.isPropagationStopped(),g.current||b.stopPropagation())})})),y&&d.exports.createElement(vD,{control:p,bubbles:!g.current,name:o,value:u,checked:x,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),hD="SwitchThumb",mD=d.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=dD(hD,n);return d.exports.createElement(Te.span,re({"data-state":iC(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),vD=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=d.exports.useRef(null),a=Pg(n),s=Rg(t);return d.exports.useEffect(()=>{const l=i.current,u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&c){const f=new Event("click",{bubbles:r});c.call(l,n),l.dispatchEvent(f)}},[a,n,r]),d.exports.createElement("input",re({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function iC(e){return e?"checked":"unchecked"}const gD=pD,yD=mD,xD=Y(gD)`
216
+ all: unset;
217
+ width: 42px;
218
+ height: 24px;
219
+ background-color: ${U["--ll-color-disabled"]};
220
+ border-radius: 13px;
221
+ position: relative;
222
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
223
+
224
+ &[data-state="checked"] {
225
+ background-color: ${U["--ll-color-on-background"]};
226
+ }
227
+ `,_D=Y(yD)`
228
+ display: block;
229
+ width: 18px;
230
+ height: 18px;
231
+ background-color: ${U["--ll-color-background"]};
232
+ border-radius: 9px;
233
+ transition: transform 100ms;
234
+ transform: translateX(3px);
235
+ will-change: transform;
236
+
237
+ &[data-state="checked"] {
238
+ transform: translateX(21px);
239
+ }
240
+ `,TJ=e=>pe(xD,{...e,children:pe(_D,{})});function Bm(e,[t,n]){return Math.min(n,Math.max(t,e))}const wD=d.exports.createContext(void 0);function aC(e){const t=d.exports.useContext(wD);return e||t||"ltr"}function sC(e){const t=e+"CollectionProvider",[n,r]=ya(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=te.useRef(null),g=te.useRef(new Map).current;return te.createElement(o,{scope:v,itemMap:g,collectionRef:_},m)},s=e+"CollectionSlot",l=te.forwardRef((h,v)=>{const{scope:m,children:_}=h,g=i(s,m),y=Ne(v,g.collectionRef);return te.createElement(oa,{ref:y},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=te.forwardRef((h,v)=>{const{scope:m,children:_,...g}=h,y=te.useRef(null),x=Ne(v,y),w=i(u,m);return te.useEffect(()=>(w.itemMap.set(y,{ref:y,...g}),()=>void w.itemMap.delete(y))),te.createElement(oa,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return te.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((g,y)=>_.indexOf(g.ref.current)-_.indexOf(y.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}const lC=["PageUp","PageDown"],uC=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cC={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},vl="Slider",[zm,bD,ED]=sC(vl),[fC,PJ]=ya(vl,[ED]),[SD,hd]=fC(vl),CD=d.exports.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:f=()=>{},...p}=e,[h,v]=d.exports.useState(null),m=Ne(t,P=>v(P)),_=d.exports.useRef(new Set),g=d.exports.useRef(0),y=a==="horizontal",x=h?Boolean(h.closest("form")):!0,w=y?AD:$D,[b=[],E]=Fc({prop:c,defaultProp:u,onChange:P=>{var M;(M=[..._.current][g.current])===null||M===void 0||M.focus(),f(P)}});function S(P){const M=MD(b,P);$(P,M)}function C(P){$(P,g.current)}function $(P,M){const I=BD(i),B=zD(Math.round((P-r)/i)*i+r,I),j=Bm(B,[r,o]);E((J=[])=>{const ue=LD(J,j,M);return jD(ue,l*i)?(g.current=ue.indexOf(j),String(ue)===String(J)?J:ue):J})}return d.exports.createElement(SD,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:g,thumbs:_.current,values:b,orientation:a},d.exports.createElement(zm.Provider,{scope:e.__scopeSlider},d.exports.createElement(zm.Slot,{scope:e.__scopeSlider},d.exports.createElement(w,re({"aria-disabled":s,"data-disabled":s?"":void 0},p,{ref:m,min:r,max:o,onSlideStart:s?void 0:S,onSlideMove:s?void 0:C,onHomeKeyDown:()=>!s&&$(r,0),onEndKeyDown:()=>!s&&$(o,b.length-1),onStepKeyDown:({event:P,direction:M})=>{if(!s){const I=lC.includes(P.key)||P.shiftKey&&uC.includes(P.key)?10:1,B=g.current,j=b[B],J=i*I*M;$(j+J,B)}}})))),x&&b.map((P,M)=>d.exports.createElement(DD,{key:M,name:n?n+(b.length>1?"[]":""):void 0,value:P})))}),[dC,pC]=fC(vl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),AD=d.exports.forwardRef((e,t)=>{const{min:n,max:r,dir:o,onSlideStart:i,onSlideMove:a,onStepKeyDown:s,...l}=e,[u,c]=d.exports.useState(null),f=Ne(t,_=>c(_)),p=d.exports.useRef(),h=aC(o),v=h==="ltr";function m(_){const g=p.current||u.getBoundingClientRect(),y=[0,g.width],x=kg(y,v?[n,r]:[r,n]);return p.current=g,x(_-g.left)}return d.exports.createElement(dC,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},d.exports.createElement(hC,re({dir:h,"data-orientation":"horizontal"},l,{ref:f,style:{...l.style,["--radix-slider-thumb-transform"]:"translateX(-50%)"},onSlideStart:_=>{const g=m(_.clientX);i==null||i(g)},onSlideMove:_=>{const g=m(_.clientX);a==null||a(g)},onSlideEnd:()=>p.current=void 0,onStepKeyDown:_=>{const g=cC[h].includes(_.key);s==null||s({event:_,direction:g?-1:1})}})))}),$D=d.exports.forwardRef((e,t)=>{const{min:n,max:r,onSlideStart:o,onSlideMove:i,onStepKeyDown:a,...s}=e,l=d.exports.useRef(null),u=Ne(t,l),c=d.exports.useRef();function f(p){const h=c.current||l.current.getBoundingClientRect(),v=[0,h.height],m=kg(v,[r,n]);return c.current=h,m(p-h.top)}return d.exports.createElement(dC,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},d.exports.createElement(hC,re({"data-orientation":"vertical"},s,{ref:u,style:{...s.style,["--radix-slider-thumb-transform"]:"translateY(50%)"},onSlideStart:p=>{const h=f(p.clientY);o==null||o(h)},onSlideMove:p=>{const h=f(p.clientY);i==null||i(h)},onSlideEnd:()=>c.current=void 0,onStepKeyDown:p=>{const h=cC.ltr.includes(p.key);a==null||a({event:p,direction:h?-1:1})}})))}),hC=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,c=hd(vl,n);return d.exports.createElement(Te.span,re({},u,{ref:t,onKeyDown:De(e.onKeyDown,f=>{f.key==="Home"?(a(f),f.preventDefault()):f.key==="End"?(s(f),f.preventDefault()):lC.concat(uC).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:De(e.onPointerDown,f=>{const p=f.target;p.setPointerCapture(f.pointerId),f.preventDefault(),c.thumbs.has(p)?p.focus():r(f)}),onPointerMove:De(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&o(f)}),onPointerUp:De(e.onPointerUp,f=>{const p=f.target;p.hasPointerCapture(f.pointerId)&&(p.releasePointerCapture(f.pointerId),i(f))})}))}),TD="SliderTrack",PD=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=hd(TD,n);return d.exports.createElement(Te.span,re({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),Hx="SliderRange",RD=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=hd(Hx,n),i=pC(Hx,n),a=d.exports.useRef(null),s=Ne(t,a),l=o.values.length,u=o.values.map(p=>mC(p,o.min,o.max)),c=l>1?Math.min(...u):0,f=100-Math.max(...u);return d.exports.createElement(Te.span,re({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:f+"%"}}))}),Gx="SliderThumb",kD=d.exports.forwardRef((e,t)=>{const n=bD(e.__scopeSlider),[r,o]=d.exports.useState(null),i=Ne(t,s=>o(s)),a=d.exports.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return d.exports.createElement(OD,re({},e,{ref:i,index:a}))}),OD=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=hd(Gx,n),a=pC(Gx,n),[s,l]=d.exports.useState(null),u=Ne(t,_=>l(_)),c=Rg(s),f=i.values[r],p=f===void 0?0:mC(f,i.min,i.max),h=ND(r,i.values.length),v=c==null?void 0:c[a.size],m=v?FD(v,p,a.direction):0;return d.exports.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),d.exports.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${p}% + ${m}px)`}},d.exports.createElement(zm.ItemSlot,{scope:e.__scopeSlider},d.exports.createElement(Te.span,re({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":f,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:f===void 0?{display:"none"}:e.style,onFocus:De(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),DD=e=>{const{value:t,...n}=e,r=d.exports.useRef(null),o=Pg(t);return d.exports.useEffect(()=>{const i=r.current,a=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(a,"value").set;if(o!==t&&s){const l=new Event("input",{bubbles:!0});s.call(i,t),i.dispatchEvent(l)}},[o,t]),d.exports.createElement("input",re({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function LD(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function mC(e,t,n){const r=n-t;return 100/r*(e-t)}function ND(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function MD(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function FD(e,t,n){const r=e/2,o=kg([0,50],[0,r]);return(r-o(t)*n)*n}function ID(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function jD(e,t){if(t>0){const n=ID(e);return Math.min(...n)>=t}return!0}function kg(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function BD(e){return(String(e).split(".")[1]||"").length}function zD(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const VD=CD,UD=PD,HD=RD,GD=kD,YD=Y.div``,WD=Y.div`
241
+ display: flex;
242
+ align-items: center;
243
+ `,qD=Y(VD)`
244
+ position: relative;
245
+ display: flex;
246
+ align-items: center;
247
+ user-select: none;
248
+ touch-action: none;
249
+ height: 20;
250
+ flex: 1;
251
+ `,KD=Y(GD)`
252
+ all: unset;
253
+ height: 20px;
254
+ width: 20px;
255
+ border-radius: 50%;
256
+ display: block;
257
+ background-color: ${U["--ll-color-primary"]};
258
+ box-shadow: ${U["--ll-shadow-medium"]};
259
+ `,XD=Y(UD)`
260
+ height: 4px;
261
+ border-radius: 2px;
262
+ background-color: ${U["--ll-color-surface-variant1"]};
263
+ position: relative;
264
+ flex: 1;
265
+ `,ZD=Y(HD)`
266
+ height: 100%;
267
+ position: absolute;
268
+ background-color: ${U["--ll-color-primary"]};
269
+ border-radius: 2px;
270
+ `,QD=({vertical:e,spacing:t})=>{const n=U[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},JD=Y.div`
271
+ margin: ${e=>QD(e)};
272
+ flex-shrink: 0;
273
+ `,eL=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>pe(JD,{vertical:e,spacing:t}),RJ=({label:e,showValue:t,...n})=>Qn(YD,{children:[e&&pe(X8,{style:{lineHeight:"50px"},children:e}),Qn(WD,{children:[Qn(qD,{...n,children:[pe(XD,{children:pe(ZD,{})}),pe(KD,{})]}),t&&Qn(dd,{children:[pe(eL,{spacing:"--ll-spacing-small"}),pe(Im,{noMargin:!0,children:n.value})]})]})]});function tL(e){const t=oo(e);d.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const Vm="dismissableLayer.update",nL="dismissableLayer.pointerDownOutside",rL="dismissableLayer.focusOutside";let Yx;const oL=d.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vC=d.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=d.exports.useContext(oL),[c,f]=d.exports.useState(null),[,p]=d.exports.useState({}),h=Ne(t,E=>f(E)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,x=g>=_,w=iL(E=>{const S=E.target,C=[...u.branches].some($=>$.contains(S));!x||C||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),b=aL(E=>{const S=E.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return tL(E=>{g===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),d.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Yx=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Wx(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=Yx)}},[c,n,u]),d.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Wx())},[c,u]),d.exports.useEffect(()=>{const E=()=>p({});return document.addEventListener(Vm,E),()=>document.removeEventListener(Vm,E)},[]),d.exports.createElement(Te.div,re({},l,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:De(e.onFocusCapture,b.onFocusCapture),onBlurCapture:De(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:De(e.onPointerDownCapture,w.onPointerDownCapture)}))});function iL(e){const t=oo(e),n=d.exports.useRef(!1),r=d.exports.useRef(()=>{});return d.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){gC(nL,t,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=s,document.addEventListener("click",r.current,{once:!0})):s()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function aL(e){const t=oo(e),n=d.exports.useRef(!1);return d.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&gC(rL,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Wx(){const e=new CustomEvent(Vm);document.dispatchEvent(e)}function gC(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?z8(o,i):o.dispatchEvent(i)}let zp=0;function yC(){d.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:qx()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:qx()),zp++,()=>{zp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zp--}},[])}function qx(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Vp="focusScope.autoFocusOnMount",Up="focusScope.autoFocusOnUnmount",Kx={bubbles:!1,cancelable:!0},xC=d.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.exports.useState(null),u=oo(o),c=oo(i),f=d.exports.useRef(null),p=Ne(t,m=>l(m)),h=d.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.exports.useEffect(()=>{if(r){let m=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?f.current=y:Ao(f.current,{select:!0})},_=function(g){h.paused||!s||s.contains(g.relatedTarget)||Ao(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),d.exports.useEffect(()=>{if(s){Zx.add(h);const m=document.activeElement;if(!s.contains(m)){const _=new CustomEvent(Vp,Kx);s.addEventListener(Vp,u),s.dispatchEvent(_),_.defaultPrevented||(sL(dL(_C(s)),{select:!0}),document.activeElement===m&&Ao(s))}return()=>{s.removeEventListener(Vp,u),setTimeout(()=>{const _=new CustomEvent(Up,Kx);s.addEventListener(Up,c),s.dispatchEvent(_),_.defaultPrevented||Ao(m!=null?m:document.body,{select:!0}),s.removeEventListener(Up,c),Zx.remove(h)},0)}}},[s,u,c,h]);const v=d.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(_&&g){const y=m.currentTarget,[x,w]=lL(y);x&&w?!m.shiftKey&&g===w?(m.preventDefault(),n&&Ao(x,{select:!0})):m.shiftKey&&g===x&&(m.preventDefault(),n&&Ao(w,{select:!0})):g===y&&m.preventDefault()}},[n,r,h.paused]);return d.exports.createElement(Te.div,re({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function sL(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ao(r,{select:t}),document.activeElement!==n)return}function lL(e){const t=_C(e),n=Xx(t,e),r=Xx(t.reverse(),e);return[n,r]}function _C(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Xx(e,t){for(const n of e)if(!uL(n,{upTo:t}))return n}function uL(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function cL(e){return e instanceof HTMLInputElement&&"select"in e}function Ao(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&cL(e)&&t&&e.select()}}const Zx=fL();function fL(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Qx(e,t),e.unshift(t)},remove(t){var n;e=Qx(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Qx(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function dL(e){return e.filter(t=>t.tagName!=="A")}function xa(e){return e.split("-")[0]}function md(e){return e.split("-")[1]}function _a(e){return["top","bottom"].includes(xa(e))?"x":"y"}function Og(e){return e==="y"?"height":"width"}function Jx(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=_a(t),l=Og(s),u=r[l]/2-o[l]/2,c=xa(t),f=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(md(t)){case"start":p[s]-=u*(n&&f?-1:1);break;case"end":p[s]+=u*(n&&f?-1:1);break}return p}const pL=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=Jx(l,r,s),f=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:g,y,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=g!=null?g:u,c=y!=null?y:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=Jx(l,f,s)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:o,middlewareData:p}};function hL(e){return{top:0,right:0,bottom:0,left:0,...e}}function wC(e){return typeof e!="number"?hL(e):{top:e,right:e,bottom:e,left:e}}function Ic(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function jc(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=t,v=wC(h),m=s[p?f==="floating"?"reference":"floating":f],_=Ic(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),g=Ic(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:_.top-g.top+v.top,bottom:g.bottom-_.bottom+v.bottom,left:_.left-g.left+v.left,right:g.right-_.right+v.right}}const mL=Math.min,vL=Math.max;function Um(e,t,n){return vL(e,mL(t,n))}const e_=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=wC(r),c={x:o,y:i},f=_a(a),p=md(a),h=Og(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const b=g/2-y/2,E=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+b,$=Um(E,C,S),P=(p==="start"?u[m]:u[_])>0&&C!==$&&s.reference[h]<=s.floating[h]?C<E?E-C:S-C:0;return{[f]:c[f]-P,data:{[f]:$,centerOffset:C-$}}}}),gL={left:"right",right:"left",bottom:"top",top:"bottom"};function Bc(e){return e.replace(/left|right|bottom|top/g,t=>gL[t])}function yL(e,t,n){n===void 0&&(n=!1);const r=md(e),o=_a(e),i=Og(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Bc(a)),{main:a,cross:Bc(a)}}const xL={start:"end",end:"start"};function t_(e){return e.replace(/start|end/g,t=>xL[t])}const _L=["top","right","bottom","left"];function wL(e){const t=Bc(e);return[t_(e),t,t_(t)]}const bL=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=xa(r),_=f||(m===a||!h?[Bc(a)]:wL(a)),g=[a,..._],y=await jc(t,v),x=[];let w=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(y[m]),c){const{main:C,cross:$}=yL(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(y[C],y[$])}if(w=[...w,{placement:r,overflows:x}],!x.every(C=>C<=0)){var b,E;const C=((b=(E=o.flip)==null?void 0:E.index)!=null?b:0)+1,$=g[C];if($)return{data:{index:C,overflows:w},reset:{placement:$}};let P="bottom";switch(p){case"bestFit":{var S;const M=(S=w.map(I=>[I,I.overflows.filter(B=>B>0).reduce((B,j)=>B+j,0)]).sort((I,B)=>I[1]-B[1])[0])==null?void 0:S[0].placement;M&&(P=M);break}case"initialPlacement":P=a;break}if(r!==P)return{reset:{placement:P}}}return{}}}};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 r_(e){return _L.some(t=>e[t]>=0)}const EL=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await jc(r,{...n,elementContext:"reference"}),a=n_(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:r_(a)}}}case"escaped":{const i=await jc(r,{...n,altBoundary:!0}),a=n_(i,o.floating);return{data:{escapedOffsets:a,escaped:r_(a)}}}default:return{}}}}};async function SL(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=xa(n),s=md(n),l=_a(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const CL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await SL(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function bC(e){return e==="x"?"y":"x"}const AL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:g,y}=_;return{x:g,y}}},...l}=e,u={x:n,y:r},c=await jc(t,l),f=_a(xa(o)),p=bC(f);let h=u[f],v=u[p];if(i){const _=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=h+c[_],x=h-c[g];h=Um(y,h,x)}if(a){const _=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+c[_],x=v-c[g];v=Um(y,v,x)}const m=s.fn({...t,[f]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},$L=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=_a(o),p=bC(f);let h=c[f],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",E=i.reference[f]-i.floating[b]+_.mainAxis,S=i.reference[f]+i.reference[b]-_.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var g,y,x,w;const b=f==="y"?"width":"height",E=["top","left"].includes(xa(o)),S=i.reference[p]-i.floating[b]+(E&&(g=(y=a.offset)==null?void 0:y[p])!=null?g:0)+(E?0:_.crossAxis),C=i.reference[p]+i.reference[b]+(E?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(E?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[f]:h,[p]:v}}}};function EC(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function yr(e){if(e==null)return window;if(!EC(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function gl(e){return yr(e).getComputedStyle(e)}function ar(e){return EC(e)?"":e?(e.nodeName||"").toLowerCase():""}function SC(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function jn(e){return e instanceof yr(e).HTMLElement}function io(e){return e instanceof yr(e).Element}function TL(e){return e instanceof yr(e).Node}function Dg(e){if(typeof ShadowRoot>"u")return!1;const t=yr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function vd(e){const{overflow:t,overflowX:n,overflowY:r}=gl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function PL(e){return["table","td","th"].includes(ar(e))}function CC(e){const t=/firefox/i.test(SC()),n=gl(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function AC(){return!/^((?!chrome|android).)*safari/i.test(SC())}const o_=Math.min,ds=Math.max,zc=Math.round;function sr(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&jn(e)&&(l=e.offsetWidth>0&&zc(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&zc(s.height)/e.offsetHeight||1);const c=io(e)?yr(e):window,f=!AC()&&n,p=(s.left+(f&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function ho(e){return((TL(e)?e.ownerDocument:e.document)||window.document).documentElement}function gd(e){return io(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $C(e){return sr(ho(e)).left+gd(e).scrollLeft}function RL(e){const t=sr(e);return zc(t.width)!==e.offsetWidth||zc(t.height)!==e.offsetHeight}function kL(e,t,n){const r=jn(t),o=ho(t),i=sr(e,r&&RL(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((ar(t)!=="body"||vd(o))&&(a=gd(t)),jn(t)){const l=sr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=$C(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function TC(e){return ar(e)==="html"?e:e.assignedSlot||e.parentNode||(Dg(e)?e.host:null)||ho(e)}function i_(e){return!jn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function OL(e){let t=TC(e);for(Dg(t)&&(t=t.host);jn(t)&&!["html","body"].includes(ar(t));){if(CC(t))return t;t=t.parentNode}return null}function Hm(e){const t=yr(e);let n=i_(e);for(;n&&PL(n)&&getComputedStyle(n).position==="static";)n=i_(n);return n&&(ar(n)==="html"||ar(n)==="body"&&getComputedStyle(n).position==="static"&&!CC(n))?t:n||OL(e)||t}function a_(e){if(jn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=sr(e);return{width:t.width,height:t.height}}function DL(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=jn(n),i=ho(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((ar(n)!=="body"||vd(i))&&(a=gd(n)),jn(n))){const l=sr(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function LL(e,t){const n=yr(e),r=ho(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=AC();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function NL(e){var t;const n=ho(e),r=gd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ds(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ds(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+$C(e);const l=-r.scrollTop;return gl(o||n).direction==="rtl"&&(s+=ds(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function PC(e){const t=TC(e);return["html","body","#document"].includes(ar(t))?e.ownerDocument.body:jn(t)&&vd(t)?t:PC(t)}function Vc(e,t){var n;t===void 0&&(t=[]);const r=PC(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=yr(r),a=o?[i].concat(i.visualViewport||[],vd(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Vc(a))}function ML(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Dg(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function FL(e,t){const n=sr(e,!1,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function s_(e,t,n){return t==="viewport"?Ic(LL(e,n)):io(t)?FL(t,n):Ic(NL(ho(e)))}function IL(e){const t=Vc(e),n=["absolute","fixed"].includes(gl(e).position)&&jn(e)?Hm(e):e;return io(n)?t.filter(r=>io(r)&&ML(r,n)&&ar(r)!=="body"):[]}function jL(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?IL(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=s_(t,u,o);return l.top=ds(c.top,l.top),l.right=o_(c.right,l.right),l.bottom=o_(c.bottom,l.bottom),l.left=ds(c.left,l.left),l},s_(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const BL={getClippingRect:jL,convertOffsetParentRelativeRectToViewportRelativeRect:DL,isElement:io,getDimensions:a_,getOffsetParent:Hm,getDocumentElement:ho,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:kL(t,Hm(n),r),floating:{...a_(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>gl(e).direction==="rtl"};function zL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...io(e)?Vc(e):[],...Vc(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),io(e)&&!s&&f.observe(e),f.observe(t)}let p,h=s?sr(e):null;s&&v();function v(){const m=sr(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,p=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(_=>{l&&_.removeEventListener("scroll",n),u&&_.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const VL=(e,t,n)=>pL(e,t,{platform:BL,...n});var Gm=typeof document<"u"?d.exports.useLayoutEffect:d.exports.useEffect;function Ym(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ym(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ym(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function UL(e){const t=d.exports.useRef(e);return Gm(()=>{t.current=e}),t}function HL(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=d.exports.useRef(null),a=d.exports.useRef(null),s=UL(o),l=d.exports.useRef(null),[u,c]=d.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,p]=d.exports.useState(t);Ym(f==null?void 0:f.map(x=>{let{options:w}=x;return w}),t==null?void 0:t.map(x=>{let{options:w}=x;return w}))||p(t);const h=d.exports.useCallback(()=>{!i.current||!a.current||VL(i.current,a.current,{middleware:f,placement:n,strategy:r}).then(x=>{v.current&&Pt.exports.flushSync(()=>{c(x)})})},[f,n,r]);Gm(()=>{v.current&&h()},[h]);const v=d.exports.useRef(!1);Gm(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=d.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),_=d.exports.useCallback(x=>{i.current=x,m()},[m]),g=d.exports.useCallback(x=>{a.current=x,m()},[m]),y=d.exports.useMemo(()=>({reference:i,floating:a}),[]);return d.exports.useMemo(()=>({...u,update:h,refs:y,reference:_,floating:g}),[u,h,y,_,g])}const GL=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?e_({element:t.current,padding:n}).fn(o):{}:t?e_({element:t,padding:n}).fn(o):{}}}},YL=d.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.exports.createElement(Te.svg,re({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:d.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),WL=YL,RC="Popper",[Lg,kC]=ya(RC),[kJ,OC]=Lg(RC),qL="PopperAnchor",KL=d.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=OC(qL,n),a=d.exports.useRef(null),s=Ne(t,a);return d.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.exports.createElement(Te.div,re({},o,{ref:s}))}),Uc="PopperContent",[XL,ZL]=Lg(Uc),[QL,JL]=Lg(Uc,{hasParent:!1,positionUpdateFns:new Set}),eN=d.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...b}=e,E=OC(Uc,c),[S,C]=d.exports.useState(null),$=Ne(t,me=>C(me)),[P,M]=d.exports.useState(null),I=Rg(P),B=(n=I==null?void 0:I.width)!==null&&n!==void 0?n:0,j=(r=I==null?void 0:I.height)!==null&&r!==void 0?r:0,J=f+(h!=="center"?"-"+h:""),ue=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},ie=Array.isArray(_)?_:[_],z=ie.length>0,K={padding:ue,boundary:ie.filter(iN),altBoundary:z},{reference:k,floating:G,strategy:O,x:R,y:T,placement:D,middlewareData:A,update:q}=HL({strategy:"fixed",placement:J,whileElementsMounted:zL,middleware:[CL({mainAxis:p+j,alignmentAxis:v}),w?AL({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?$L():void 0,...K}):void 0,P?GL({element:P,padding:m}):void 0,w?bL({...K}):void 0,aN({arrowWidth:B,arrowHeight:j}),x?EL({strategy:"referenceHidden"}):void 0].filter(oN)});jt(()=>{k(E.anchor)},[k,E.anchor]);const F=R!==null&&T!==null,[ce,ae]=DC(D),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,ne=(i=A.arrow)===null||i===void 0?void 0:i.y,Se=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Re,se]=d.exports.useState();jt(()=>{S&&se(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:ke,positionUpdateFns:ee}=JL(Uc,c),de=!ke;d.exports.useLayoutEffect(()=>{if(!de)return ee.add(q),()=>{ee.delete(q)}},[de,ee,q]),d.exports.useLayoutEffect(()=>{de&&F&&Array.from(ee).reverse().forEach(me=>requestAnimationFrame(me))},[de,F,ee]);const He={"data-side":ce,"data-align":ae,...b,ref:$,style:{...b.style,animation:F?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return d.exports.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:O,left:0,top:0,transform:F?`translate3d(${Math.round(R)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Re,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},d.exports.createElement(XL,{scope:c,placedSide:ce,onArrowChange:M,arrowX:fe,arrowY:ne,shouldHideArrow:Se},de?d.exports.createElement(QL,{scope:c,hasParent:!0,positionUpdateFns:ee},d.exports.createElement(Te.div,He)):d.exports.createElement(Te.div,He)))}),tN="PopperArrow",nN={top:"bottom",right:"left",bottom:"top",left:"right"},rN=d.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=ZL(tN,n),i=nN[o.placedSide];return d.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},d.exports.createElement(WL,re({},r,{ref:t,style:{...r.style,display:"block"}})))});function oN(e){return e!==void 0}function iN(e){return e!==null}const aN=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=DC(s),m={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,g=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let y="",x="";return h==="bottom"?(y=c?m:`${_}px`,x=`${-p}px`):h==="top"?(y=c?m:`${_}px`,x=`${l.floating.height+p}px`):h==="right"?(y=`${-p}px`,x=c?m:`${g}px`):h==="left"&&(y=`${l.floating.width+p}px`,x=c?m:`${g}px`),{data:{x:y,y:x}}}});function DC(e){const[t,n="center"]=e.split("-");return[t,n]}const sN=KL,lN=eN,uN=rN,cN=d.exports.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?rS.createPortal(d.exports.createElement(Te.div,re({},o,{ref:t})),r):null});function fN(e,t){return d.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const LC=e=>{const{present:t,children:n}=e,r=dN(t),o=typeof n=="function"?n({present:r.isPresent}):d.exports.Children.only(n),i=Ne(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.exports.cloneElement(o,{ref:i}):null};LC.displayName="Presence";function dN(e){const[t,n]=d.exports.useState(),r=d.exports.useRef({}),o=d.exports.useRef(e),i=d.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=fN(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.exports.useEffect(()=>{const u=iu(r.current);i.current=s==="mounted"?u:"none"},[s]),jt(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,p=iu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),jt(()=>{if(t){const u=f=>{const p=iu(r.current).includes(f.animationName);f.target===t&&p&&Pt.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=iu(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function iu(e){return(e==null?void 0:e.animationName)||"none"}var pN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ti=new WeakMap,au=new WeakMap,su={},Hp=0,hN=function(e,t,n,r){var o=Array.isArray(e)?e:[e];su[n]||(su[n]=new WeakMap);var i=su[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(ti.get(p)||0)+1,_=(i.get(p)||0)+1;ti.set(p,m),i.set(p,_),a.push(p),m===1&&v&&au.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),Hp++,function(){a.forEach(function(f){var p=ti.get(f)-1,h=i.get(f)-1;ti.set(f,p),i.set(f,h),p||(au.has(f)||f.removeAttribute(r),au.delete(f)),h||f.removeAttribute(n)}),Hp--,Hp||(ti=new WeakMap,ti=new WeakMap,au=new WeakMap,su={})}},NC=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||pN(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),hN(r,o,n,"aria-hidden")):function(){return null}},Pn=function(){return Pn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Pn.apply(this,arguments)};function MC(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function mN(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Hu="right-scroll-bar-position",Gu="width-before-scroll-bar",vN="with-scroll-bars-hidden",gN="--removed-body-scroll-bar-size";function yN(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function xN(e,t){var n=d.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function _N(e,t){return xN(t||null,function(n){return e.forEach(function(r){return yN(r,n)})})}function wN(e){return e}function bN(e,t){t===void 0&&(t=wN);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function EN(e){e===void 0&&(e={});var t=bN(null);return t.options=Pn({async:!0,ssr:!1},e),t}var FC=function(e){var t=e.sideCar,n=MC(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 pe(r,{...Pn({},n)})};FC.isSideCarExport=!0;function SN(e,t){return e.useMedium(t),FC}var IC=EN(),Gp=function(){},yd=d.exports.forwardRef(function(e,t){var n=d.exports.useRef(null),r=d.exports.useState({onScrollCapture:Gp,onWheelCapture:Gp,onTouchMoveCapture:Gp}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,g=_===void 0?"div":_,y=MC(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=_N([n,t]),b=Pn(Pn({},y),o);return Qn(dd,{children:[c&&pe(x,{sideCar:IC,removeScrollBar:u,shards:f,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?d.exports.cloneElement(d.exports.Children.only(s),Pn(Pn({},b),{ref:w})):pe(g,{...Pn({},b,{className:l,ref:w}),children:s})]})});yd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};yd.classNames={fullWidth:Gu,zeroRight:Hu};var CN=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function AN(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=CN();return t&&e.setAttribute("nonce",t),e}function $N(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function TN(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var PN=function(){var e=0,t=null;return{add:function(n){e==0&&(t=AN())&&($N(t,n),TN(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},RN=function(){var e=PN();return function(t,n){d.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},jC=function(){var e=RN(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},kN={left:0,top:0,right:0,gap:0},Yp=function(e){return parseInt(e||"",10)||0},ON=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Yp(n),Yp(r),Yp(o)]},DN=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return kN;var t=ON(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])}},LN=jC(),NN=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
274
+ .`.concat(vN,` {
275
+ overflow: hidden `).concat(r,`;
276
+ padding-right: `).concat(s,"px ").concat(r,`;
277
+ }
278
+ body {
279
+ overflow: hidden `).concat(r,`;
280
+ overscroll-behavior: contain;
281
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
282
+ padding-left: `.concat(o,`px;
283
+ padding-top: `).concat(i,`px;
284
+ padding-right: `).concat(a,`px;
285
+ margin-left:0;
286
+ margin-top:0;
287
+ margin-right: `).concat(s,"px ").concat(r,`;
288
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
289
+ }
290
+
291
+ .`).concat(Hu,` {
292
+ right: `).concat(s,"px ").concat(r,`;
293
+ }
294
+
295
+ .`).concat(Gu,` {
296
+ margin-right: `).concat(s,"px ").concat(r,`;
297
+ }
298
+
299
+ .`).concat(Hu," .").concat(Hu,` {
300
+ right: 0 `).concat(r,`;
301
+ }
302
+
303
+ .`).concat(Gu," .").concat(Gu,` {
304
+ margin-right: 0 `).concat(r,`;
305
+ }
306
+
307
+ body {
308
+ `).concat(gN,": ").concat(s,`px;
309
+ }
310
+ `)},MN=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=d.exports.useMemo(function(){return DN(o)},[o]);return pe(LN,{styles:NN(i,!t,o,n?"":"!important")})},Wm=!1;if(typeof window<"u")try{var lu=Object.defineProperty({},"passive",{get:function(){return Wm=!0,!0}});window.addEventListener("test",lu,lu),window.removeEventListener("test",lu,lu)}catch{Wm=!1}var ni=Wm?{passive:!1}:!1,FN=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},IN=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},l_=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=BC(e,n);if(r){var o=zC(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},jN=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},BN=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},BC=function(e,t){return e==="v"?FN(t):IN(t)},zC=function(e,t){return e==="v"?jN(t):BN(t)},zN=function(e,t){return e==="h"&&t==="rtl"?-1:1},VN=function(e,t,n,r,o){var i=zN(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{var h=zC(e,s),v=h[0],m=h[1],_=h[2],g=m-_-i*v;(v||g)&&BC(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&f===0||!o&&a>f)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},uu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},u_=function(e){return[e.deltaX,e.deltaY]},c_=function(e){return e&&"current"in e?e.current:e},UN=function(e,t){return e[0]===t[0]&&e[1]===t[1]},HN=function(e){return`
311
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
312
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
313
+ `)},GN=0,ri=[];function YN(e){var t=d.exports.useRef([]),n=d.exports.useRef([0,0]),r=d.exports.useRef(),o=d.exports.useState(GN++)[0],i=d.exports.useState(function(){return jC()})[0],a=d.exports.useRef(e);d.exports.useEffect(function(){a.current=e},[e]),d.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=mN([e.lockRef.current],(e.shards||[]).map(c_),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var g=uu(m),y=n.current,x="deltaX"in m?m.deltaX:y[0]-g[0],w="deltaY"in m?m.deltaY:y[1]-g[1],b,E=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&E.type==="range")return!1;var C=l_(S,E);if(!C)return!0;if(C?b=S:(b=S==="v"?"h":"v",C=l_(S,E)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=b),!b)return!0;var $=r.current||b;return VN($,_,m,$==="h"?x:w,!0)},[]),l=d.exports.useCallback(function(m){var _=m;if(!(!ri.length||ri[ri.length-1]!==i)){var g="deltaY"in _?u_(_):uu(_),y=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&UN(b.delta,g)})[0];if(y&&y.should){_.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(c_).filter(Boolean).filter(function(b){return b.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=d.exports.useCallback(function(m,_,g,y){var x={name:m,delta:_,target:g,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=d.exports.useCallback(function(m){n.current=uu(m),r.current=void 0},[]),f=d.exports.useCallback(function(m){u(m.type,u_(m),m.target,s(m,e.lockRef.current))},[]),p=d.exports.useCallback(function(m){u(m.type,uu(m),m.target,s(m,e.lockRef.current))},[]);d.exports.useEffect(function(){return ri.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ni),document.addEventListener("touchmove",l,ni),document.addEventListener("touchstart",c,ni),function(){ri=ri.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,ni),document.removeEventListener("touchmove",l,ni),document.removeEventListener("touchstart",c,ni)}},[]);var h=e.removeScrollBar,v=e.inert;return Qn(dd,{children:[v?pe(i,{styles:HN(o)}):null,h?pe(MN,{gapMode:"margin"}):null]})}const WN=SN(IC,YN);var VC=d.exports.forwardRef(function(e,t){return pe(yd,{...Pn({},e,{ref:t,sideCar:WN})})});VC.classNames=yd.classNames;const UC=VC,HC="Popover",[GC,OJ]=ya(HC,[kC]),Ng=kC(),[DJ,yl]=GC(HC),qN="PopoverTrigger",KN=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=yl(qN,n),i=Ng(n),a=Ne(t,o.triggerRef),s=d.exports.createElement(Te.button,re({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":WC(o.open)},r,{ref:a,onClick:De(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:d.exports.createElement(sN,re({asChild:!0},i),s)}),XN="PopoverPortal",[LJ,ZN]=GC(XN,{forceMount:void 0}),Xs="PopoverContent",QN=d.exports.forwardRef((e,t)=>{const n=ZN(Xs,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=yl(Xs,e.__scopePopover);return d.exports.createElement(LC,{present:r||i.open},i.modal?d.exports.createElement(JN,re({},o,{ref:t})):d.exports.createElement(eM,re({},o,{ref:t})))}),JN=d.exports.forwardRef((e,t)=>{const n=yl(Xs,e.__scopePopover),r=d.exports.useRef(null),o=Ne(t,r),i=d.exports.useRef(!1);return d.exports.useEffect(()=>{const a=r.current;if(a)return NC(a)},[]),d.exports.createElement(UC,{as:oa,allowPinchZoom:!0},d.exports.createElement(YC,re({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:De(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),eM=d.exports.forwardRef((e,t)=>{const n=yl(Xs,e.__scopePopover),r=d.exports.useRef(!1);return d.exports.createElement(YC,re({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;!((a=n.triggerRef.current)===null||a===void 0)&&a.contains(s)&&o.preventDefault()}}))}),YC=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=yl(Xs,n),h=Ng(n);return yC(),d.exports.createElement(xC,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},d.exports.createElement(vC,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},d.exports.createElement(lN,re({"data-state":WC(p.open),role:"dialog",id:p.contentId},h,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),tM=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ng(n);return d.exports.createElement(uN,re({},o,r,{ref:t}))});function WC(e){return e?"open":"closed"}const nM=KN,rM=QN,oM=tM;Y(nM)`
314
+ background: none;
315
+ border: none;
316
+ padding: 0;
317
+ `;Y(rM)`
318
+ border-radius: ${U["--ll-border-radius-small"]};
319
+ box-shadow: ${U["--ll-shadow-small"]};
320
+ padding: ${U["--ll-spacing-medium"]};
321
+ `;Y(oM)`
322
+ fill: ${U["--ll-color-background"]};
323
+ `;const Yu={primary:{background:"transparent",onBackground:U["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:U["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},Hc={small:24,medium:32,large:48},iM=Y.button`
324
+ ${({color:e="primary",size:t="medium"})=>ye`
325
+ border: none;
326
+ background-color: ${Yu[e].background};
327
+ color: ${Yu[e].onBackground};
328
+ border-radius: 50%;
329
+ height: ${Hc[t]}px;
330
+ width: ${Hc[t]}px;
331
+ display: flex;
332
+ justify-content: center;
333
+ align-items: center;
334
+
335
+ &:hover {
336
+ background-color: ${Yu[e].hover};
337
+ }
338
+
339
+ &:disabled {
340
+ cursor: default;
341
+ background-color: rgba(0, 0, 0, 0.1);
342
+ color: ${U["--ll-color-on-background-variant1"]};
343
+ }
344
+ `};
345
+ `,NJ=({SVGElement:e,disabled:t=!1,onClick:n,size:r="medium",type:o="button",color:i="primary",isLoading:a,className:s})=>{const l=c=>{t||!n||a||n(c)},u=d.exports.useMemo(()=>t?U["--ll-color-placeholder"]:Yu[i].onBackground,[i,t]);return pe(iM,{size:r,onClick:l,disabled:t||a,className:s,color:i,type:o,children:a?pe(rC,{}):pe($g,{SVGElement:e,width:Hc[r]/1.33333,height:Hc[r]/1.33333,fill:u})})};function aM({height:e,width:t}){return ye`
346
+ height: ${e};
347
+ width: ${t};
348
+ `}const sM=cd`
349
+ from {
350
+ background-position: -800px 0;
351
+ }
352
+
353
+ to {
354
+ background-position: 800px 0;
355
+ }
356
+ `,lM=Y.div`
357
+ border-radius: ${U["--ll-border-radius-medium"]};
358
+ animation: ${sM} 2s linear infinite;
359
+ background: linear-gradient(
360
+ to right,
361
+ /* NOTE: 99.9% of the time we should use colours from theme, since these are
362
+ CSS vars that can be overriden. */
363
+ ${U["--ll-color-surface-variant1"]} 4%,
364
+ ${U["--ll-color-surface-variant2"]} 25%,
365
+ ${U["--ll-color-surface-variant1"]} 36%
366
+ );
367
+ background-size: 800px 100%;
368
+ ${aM}
369
+ `,MJ=({height:e,width:t,className:n})=>pe(lM,{height:e,width:t,className:n});Y.div`
370
+ flex: 1;
371
+ height: 100%;
372
+ width: 100%;
373
+ display: flex;
374
+ align-items: center;
375
+ justify-content: center;
376
+ `;Y.div`
377
+ display: flex;
378
+ flex-direction: column;
379
+ align-items: center;
380
+ `;const uM=d.exports.forwardRef((e,t)=>d.exports.createElement(Te.span,re({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),cM=[" ","Enter","ArrowUp","ArrowDown"],fM=[" ","Enter"],xd="Select",[_d,Mg,dM]=sC(xd),[xl,pM]=ya(xd,[dM]),[hM,wa]=xl(xd),[mM,vM]=xl(xd),qC=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:u,name:c,autoComplete:f}=e,[p,h]=d.exports.useState(null),[v,m]=d.exports.useState(null),[_,g]=d.exports.useState(!1),y=aC(u),[x=!1,w]=Fc({prop:r,defaultProp:o,onChange:i}),[b,E]=Fc({prop:a,defaultProp:s,onChange:l}),S=d.exports.useRef(null),C=p?Boolean(p.closest("form")):!0,[$,P]=d.exports.useState(new Set),M=Array.from($).map(I=>I.props.value).join(";");return d.exports.createElement(hM,{scope:t,trigger:p,onTriggerChange:h,valueNode:v,onValueNodeChange:m,valueNodeHasChildren:_,onValueNodeHasChildrenChange:g,contentId:pd(),value:b,onValueChange:E,open:x,onOpenChange:w,dir:y,triggerPointerDownPosRef:S},d.exports.createElement(_d.Provider,{scope:t},d.exports.createElement(mM,{scope:e.__scopeSelect,onNativeOptionAdd:d.exports.useCallback(I=>{P(B=>new Set(B).add(I))},[]),onNativeOptionRemove:d.exports.useCallback(I=>{P(B=>{const j=new Set(B);return j.delete(I),j})},[])},n)),C?d.exports.createElement(fA,{key:M,"aria-hidden":!0,tabIndex:-1,name:c,autoComplete:f,value:b,onChange:I=>E(I.target.value)},Array.from($)):null)},gM="SelectTrigger",KC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=wa(gM,n),s=Ne(t,a.onTriggerChange),l=Mg(n),u=nC(a.trigger),c=o||u,[f,p,h]=dA(m=>{const _=l().filter(x=>!x.disabled),g=_.find(x=>x.value===a.value),y=pA(_,m,g);y!==void 0&&a.onValueChange(y.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return d.exports.createElement(Te.button,re({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-autocomplete":"none","aria-labelledby":c,dir:a.dir,"data-state":a.open?"open":"closed",disabled:r,"data-disabled":r?"":void 0,"data-placeholder":a.value===void 0?"":void 0},i,{ref:s,onPointerDown:De(i.onPointerDown,m=>{m.target.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(v(),a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)},m.preventDefault())}),onKeyDown:De(i.onKeyDown,m=>{const _=f.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(_&&m.key===" ")&&cM.includes(m.key)&&(v(),m.preventDefault())})}))}),yM="SelectValue",XC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a,...s}=e,l=wa(yM,n),{onValueNodeHasChildrenChange:u}=l,c=i!==void 0,f=Ne(t,l.onValueNodeChange);return jt(()=>{u(c)},[u,c]),d.exports.createElement(Te.span,re({},s,{ref:f,style:{pointerEvents:"none"}}),l.value===void 0&&a!==void 0?a:i)}),wd=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return d.exports.createElement(Te.span,re({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),ZC=e=>d.exports.createElement(cN,re({asChild:!0},e)),Fg="SelectContent",QC=d.exports.forwardRef((e,t)=>{const n=wa(Fg,e.__scopeSelect),[r,o]=d.exports.useState();return jt(()=>{o(new DocumentFragment)},[]),d.exports.createElement(d.exports.Fragment,null,n.open?d.exports.createElement(xM,re({},e,{ref:t})):r?Pt.exports.createPortal(d.exports.createElement(JC,{scope:e.__scopeSelect},d.exports.createElement(_d.Slot,{scope:e.__scopeSelect},d.exports.createElement("div",null,e.children))),r):null)}),br=10,[JC,ba]=xl(Fg),xM=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=wa(Fg,n),[a,s]=d.exports.useState(null),[l,u]=d.exports.useState(null),[c,f]=d.exports.useState(null),p=Ne(t,k=>u(k)),[h,v]=d.exports.useState(null),[m,_]=d.exports.useState(null),g=Mg(n),[y,x]=d.exports.useState(!1),w=d.exports.useRef(!0),b=d.exports.useRef(!1),E=d.exports.useRef(!1);d.exports.useEffect(()=>{if(l)return NC(l)},[l]),yC();const[S,C]=d.exports.useState();jt(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const $=d.exports.useCallback(k=>{const[G,...O]=g().map(D=>D.ref.current),[R]=O.slice(-1),T=document.activeElement;for(const D of k)if(D===T||(D==null||D.scrollIntoView({block:"nearest"}),D===G&&c&&(c.scrollTop=0),D===R&&c&&(c.scrollTop=c.scrollHeight),D==null||D.focus(),document.activeElement!==T))return},[g,c]),P=d.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const k=i.trigger.getBoundingClientRect(),G=l.getBoundingClientRect(),O=i.valueNode.getBoundingClientRect(),R=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ce=R.left-G.left,Z=O.left-Ce,ve=k.left-Z,Qe=k.width+ve,un=Math.max(Qe,G.width),dt=window.innerWidth-br,xo=Bm(Z,[br,dt-un]);a.style.minWidth=Qe+"px",a.style.left=xo+"px"}else{const Ce=G.right-R.right,Z=window.innerWidth-O.right-Ce,ve=window.innerWidth-k.right-Z,Qe=k.width+ve,un=Math.max(Qe,G.width),dt=window.innerWidth-br,xo=Bm(Z,[br,dt-un]);a.style.minWidth=Qe+"px",a.style.right=xo+"px"}const T=g(),D=window.innerHeight-br*2,A=c.scrollHeight,q=window.getComputedStyle(l),F=parseInt(q.borderTopWidth,10),ce=parseInt(q.paddingTop,10),ae=parseInt(q.borderBottomWidth,10),fe=parseInt(q.paddingBottom,10),ne=F+ce+A+fe+ae,Se=Math.min(h.offsetHeight*5,ne),Re=window.getComputedStyle(c),se=parseInt(Re.paddingTop,10),ke=parseInt(Re.paddingBottom,10),ee=k.top+k.height/2-br,de=D-ee,He=h.offsetHeight/2,me=h.offsetTop+He,kt=F+ce+me,Hn=ne-kt;if(kt<=ee){const Ce=h===T[T.length-1].ref.current;a.style.bottom="0px";const Z=l.clientHeight-c.offsetTop-c.offsetHeight,ve=Math.max(de,He+(Ce?ke:0)+Z+ae),Qe=kt+ve;a.style.height=Qe+"px"}else{const Ce=h===T[0].ref.current;a.style.top="0px";const Z=Math.max(ee,F+c.offsetTop+(Ce?se:0)+He)+Hn;a.style.height=Z+"px",c.scrollTop=kt-ee+c.offsetTop}a.style.margin=`${br}px 0`,a.style.minHeight=Se+"px",a.style.maxHeight=D+"px",x(!0),requestAnimationFrame(()=>b.current=!0)}},[g,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);jt(()=>P(),[P]);const M=d.exports.useCallback(()=>$([h,l]),[$,h,l]);d.exports.useEffect(()=>{y&&M()},[y,M]);const I=d.exports.useCallback(k=>{k&&w.current===!0&&(P(),M(),w.current=!1)},[P,M]),{onOpenChange:B,triggerPointerDownPosRef:j}=i;d.exports.useEffect(()=>{if(l){let k={x:0,y:0};const G=R=>{var T,D,A,q;k={x:Math.abs(Math.round(R.pageX)-((T=(D=j.current)===null||D===void 0?void 0:D.x)!==null&&T!==void 0?T:0)),y:Math.abs(Math.round(R.pageY)-((A=(q=j.current)===null||q===void 0?void 0:q.y)!==null&&A!==void 0?A:0))}},O=R=>{k.x<=10&&k.y<=10?R.preventDefault():l.contains(R.target)||B(!1),document.removeEventListener("pointermove",G),j.current=null};return j.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",O,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",O,{capture:!0})}}},[l,B,j]),d.exports.useEffect(()=>{const k=()=>B(!1);return window.addEventListener("blur",k),window.addEventListener("resize",k),()=>{window.removeEventListener("blur",k),window.removeEventListener("resize",k)}},[B]);const[J,ue]=dA(k=>{const G=g().filter(T=>!T.disabled),O=G.find(T=>T.ref.current===document.activeElement),R=pA(G,k,O);R&&setTimeout(()=>R.ref.current.focus())}),ie=d.exports.useCallback((k,G,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===G||R)&&(v(k),R&&(E.current=!0))},[i.value]),z=d.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),K=d.exports.useCallback((k,G,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===G||R)&&_(k)},[i.value]);return d.exports.createElement(JC,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:f,itemRefCallback:ie,selectedItem:h,onItemLeave:z,itemTextRefCallback:K,selectedItemText:m,onScrollButtonChange:I,isPositioned:y,shouldExpandOnScrollRef:b,searchRef:J},d.exports.createElement(UC,{as:oa,allowPinchZoom:!0},d.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},d.exports.createElement(xC,{asChild:!0,trapped:i.open,onMountAutoFocus:k=>{k.preventDefault()},onUnmountAutoFocus:De(r,k=>{var G;(G=i.trigger)===null||G===void 0||G.focus({preventScroll:!0}),k.preventDefault()})},d.exports.createElement(vC,re({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:k=>k.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:k=>k.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:De(o.onKeyDown,k=>{const G=k.ctrlKey||k.altKey||k.metaKey;if(k.key==="Tab"&&k.preventDefault(),!G&&k.key.length===1&&ue(k.key),["ArrowUp","ArrowDown","Home","End"].includes(k.key)){let O=g().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(k.key)&&(O=O.slice().reverse()),["ArrowUp","ArrowDown"].includes(k.key)){const R=k.target,T=O.indexOf(R);O=O.slice(T+1)}setTimeout(()=>$(O)),k.preventDefault()}})}))))))}),_M="SelectViewport",eA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ba(_M,n),i=Ne(t,o.onViewportChange),a=d.exports.useRef(0);return d.exports.createElement(d.exports.Fragment,null,d.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),d.exports.createElement(_d.Slot,{scope:n},d.exports.createElement(Te.div,re({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:De(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const f=Math.abs(a.current-l.scrollTop);if(f>0){const p=window.innerHeight-br*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const _=m+f,g=Math.min(p,_),y=_-g;u.style.height=g+"px",u.style.bottom==="0px"&&(l.scrollTop=y>0?y:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),wM="SelectGroup",[bM,EM]=xl(wM),tA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=pd();return d.exports.createElement(bM,{scope:n,id:o},d.exports.createElement(Te.div,re({role:"group","aria-labelledby":o},r,{ref:t})))}),SM="SelectLabel",nA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=EM(SM,n);return d.exports.createElement(Te.div,re({id:o.id},r,{ref:t}))}),qm="SelectItem",[CM,rA]=xl(qm),oA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=wa(qm,n),l=ba(qm,n),u=s.value===r,[c,f]=d.exports.useState(i!=null?i:""),[p,h]=d.exports.useState(!1),v=Ne(t,g=>{var y;return(y=l.itemRefCallback)===null||y===void 0?void 0:y.call(l,g,r,o)}),m=pd(),_=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return d.exports.createElement(CM,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:d.exports.useCallback(g=>{f(y=>{var x;return y||((x=g==null?void 0:g.textContent)!==null&&x!==void 0?x:"").trim()})},[])},d.exports.createElement(_d.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},d.exports.createElement(Te.div,re({role:"option","aria-labelledby":m,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:v,onFocus:De(a.onFocus,()=>h(!0)),onBlur:De(a.onBlur,()=>h(!1)),onPointerUp:De(a.onPointerUp,_),onPointerMove:De(a.onPointerMove,g=>{if(o){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}else g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:De(a.onPointerLeave,g=>{if(g.currentTarget===document.activeElement){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}}),onKeyDown:De(a.onKeyDown,g=>{var y;((y=l.searchRef)===null||y===void 0?void 0:y.current)!==""&&g.key===" "||(fM.includes(g.key)&&_(),g.key===" "&&g.preventDefault())})}))))}),cu="SelectItemText",iA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=wa(cu,n),s=ba(cu,n),l=rA(cu,n),u=vM(cu,n),[c,f]=d.exports.useState(null),p=Ne(t,g=>f(g),l.onItemTextChange,g=>{var y;return(y=s.itemTextRefCallback)===null||y===void 0?void 0:y.call(s,g,l.value,l.disabled)}),h=c==null?void 0:c.textContent,v=d.exports.useMemo(()=>d.exports.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},h),[l.disabled,l.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:_}=u;return jt(()=>(m(v),()=>_(v)),[m,_,v]),d.exports.createElement(d.exports.Fragment,null,d.exports.createElement(Te.span,re({id:l.textId},i,{ref:p})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Pt.exports.createPortal(i.children,a.valueNode):null)}),AM="SelectItemIndicator",aA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return rA(AM,n).isSelected?d.exports.createElement(Te.span,re({"aria-hidden":!0},r,{ref:t})):null}),$M="SelectScrollUpButton",sA=d.exports.forwardRef((e,t)=>{const n=ba($M,e.__scopeSelect),[r,o]=d.exports.useState(!1),i=Ne(t,n.onScrollButtonChange);return jt(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=s.scrollTop>0;o(l)};const s=n.viewport;return a(),s.addEventListener("scroll",a),()=>s.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?d.exports.createElement(uA,re({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),TM="SelectScrollDownButton",lA=d.exports.forwardRef((e,t)=>{const n=ba(TM,e.__scopeSelect),[r,o]=d.exports.useState(!1),i=Ne(t,n.onScrollButtonChange);return jt(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=s.scrollHeight-s.clientHeight,u=Math.ceil(s.scrollTop)<l;o(u)};const s=n.viewport;return a(),s.addEventListener("scroll",a),()=>s.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?d.exports.createElement(uA,re({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),uA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=ba("SelectScrollButton",n),a=d.exports.useRef(null),s=Mg(n),l=d.exports.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return d.exports.useEffect(()=>()=>l(),[l]),jt(()=>{var u;const c=s().find(f=>f.ref.current===document.activeElement);c==null||(u=c.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),d.exports.createElement(Te.div,re({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:De(o.onPointerMove,()=>{var u;(u=i.onItemLeave)===null||u===void 0||u.call(i),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:De(o.onPointerLeave,()=>{l()})}))}),cA=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return d.exports.createElement(Te.div,re({"aria-hidden":!0},r,{ref:t}))}),fA=d.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=d.exports.useRef(null),i=Ne(t,o),a=Pg(n);return d.exports.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const c=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(c)}},[a,n]),d.exports.createElement(uM,{asChild:!0},d.exports.createElement("select",re({},r,{ref:i,defaultValue:n})))});fA.displayName="BubbleSelect";function dA(e){const t=oo(e),n=d.exports.useRef(""),r=d.exports.useRef(0),o=d.exports.useCallback(a=>{const s=n.current+a;t(s),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=d.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return d.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function pA(e,t,n){const r=t.length>1&&Array.from(t).every(s=>s===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=PM(e,Math.max(o,0));r.length===1&&(i=i.filter(s=>s!==n));const a=i.find(s=>s.textValue.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function PM(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const RM=qC,hA=KC,kM=XC,OM=wd,mA=ZC,vA=QC,gA=eA,DM=tA,LM=nA,yA=oA,xA=iA,_A=aA,NM=sA,MM=lA,FM=cA,IM=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:pM,Select:qC,SelectTrigger:KC,SelectValue:XC,SelectIcon:wd,SelectPortal:ZC,SelectContent:QC,SelectViewport:eA,SelectGroup:tA,SelectLabel:nA,SelectItem:oA,SelectItemText:iA,SelectItemIndicator:aA,SelectScrollUpButton:sA,SelectScrollDownButton:lA,SelectSeparator:cA,Root:RM,Trigger:hA,Value:kM,Icon:OM,Portal:mA,Content:vA,Viewport:gA,Group:DM,Label:LM,Item:yA,ItemText:xA,ItemIndicator:_A,ScrollUpButton:NM,ScrollDownButton:MM,Separator:FM},Symbol.toStringTag,{value:"Module"})),jM=e=>d.exports.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.exports.createElement("g",{clipPath:"url(#clip0_17_2062)"},d.exports.createElement("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"}))),BM=e=>d.exports.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},d.exports.createElement("g",{clipPath:"url(#clip0_17_4631)"},d.exports.createElement("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"}))),wA=Y(hA)`
381
+ display: inline-flex;
382
+ align-items: center;
383
+ justify-content: space-between;
384
+ background-color: ${U["--ll-color-background"]};
385
+ border-radius: ${U["--ll-border-radius-small"]};
386
+ border: 1px solid ${U["--ll-color-border"]};
387
+ color: ${U["--ll-color-on-background-variant1"]};
388
+ padding: ${U["--ll-spacing-xx-small"]} ${U["--ll-spacing-x-small"]}
389
+ ${U["--ll-spacing-xx-small"]} ${U["--ll-spacing-small"]};
390
+ flex: 1;
391
+ height: ${({size:e})=>e==="medium"?"32px":"40px"};
392
+ font-size: ${({size:e})=>e==="medium"?U["--ll-font-size-p"]:U["--ll-font-size-h6"]};
393
+ `,zM=Y(wd)`
394
+ margin-left: ${U["--ll-spacing-x-small"]};
395
+ `,bA=Y(vA)`
396
+ overflow: hidden;
397
+ background-color: ${U["--ll-color-background"]};
398
+ border-radius: ${U["--ll-border-radius-small"]};
399
+ box-shadow: ${U["--ll-shadow-medium"]};
400
+ min-width: 120px;
401
+ z-index: 1;
402
+ font-size: ${({size:e})=>e==="medium"?U["--ll-font-size-p"]:U["--ll-font-size-h6"]};
403
+ `,EA=Y(yA)`
404
+ font-family: ${U["--ll-font-family"]};
405
+ font-size: inherit;
406
+ padding: ${U["--ll-spacing-xx-small"]} ${U["--ll-spacing-x-large"]}
407
+ ${U["--ll-spacing-xx-small"]} ${U["--ll-spacing-large"]};
408
+ outline: none;
409
+ border-radius: ${U["--ll-border-radius-small"]};
410
+ position: relative;
411
+ color: ${U["--ll-color-on-surface-variant1"]};
412
+ cursor: default;
413
+
414
+ &[data-highlighted] {
415
+ background-color: ${U["--ll-color-primary"]};
416
+ color: ${U["--ll-color-on-primary"]};
417
+ }
418
+ `,SA=Y(_A)`
419
+ position: absolute;
420
+ left: 0;
421
+ height: 100%;
422
+ left: 0;
423
+ bottom: 0;
424
+ width: ${U["--ll-spacing-large"]};
425
+ display: inline-flex;
426
+ align-items: center;
427
+ justify-content: center;
428
+ `,CA=Y(gA)`
429
+ font-size: inherit;
430
+ padding: ${U["--ll-spacing-base-unit"]};
431
+ `,VM=Y(mA)`
432
+ z-index: 1;
433
+ `,UM=Object.freeze(Object.defineProperty({__proto__:null,Trigger:wA,SelectIcon:zM,Content:bA,Item:EA,ItemIndicator:SA,Viewport:CA,Portal:VM},Symbol.toStringTag,{value:"Module"})),HM=({size:e="medium",children:t,...n})=>Qn(wA,{size:e,...n,children:[t,pe(wd,{children:pe($g,{SVGElement:jM,fill:U["--ll-color-on-background-variant1"],height:20})})]}),GM=({size:e="medium",children:t,...n})=>pe(bA,{size:e,...n,children:pe(CA,{children:t})}),YM=({children:e,...t})=>Qn(EA,{...t,children:[pe(xA,{children:e}),pe(SA,{children:pe($g,{SVGElement:BM,fill:"currentColor",height:12})})]}),{Root:WM}=IM,{Portal:qM}=UM,FJ=Object.freeze(Object.defineProperty({__proto__:null,Root:WM,Trigger:HM,Content:GM,Item:YM,Portal:qM},Symbol.toStringTag,{value:"Module"}));function ia(){return ia=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},ia.apply(this,arguments)}var Dn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Dn||(Dn={}));var Gc=function(e){return e},f_="beforeunload",KM="popstate";function XM(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function i(){var S=r.location,C=S.pathname,$=S.search,P=S.hash,M=o.state||{};return[M.idx,Gc({pathname:C,search:$,hash:P,state:M.usr||null,key:M.key||"default"})]}var a=null;function s(){if(a)h.call(a),a=null;else{var S=Dn.Pop,C=i(),$=C[0],P=C[1];if(h.length){if($!=null){var M=c-$;M&&(a={action:S,location:P,retry:function(){b(M*-1)}},b(M))}}else y(S)}}r.addEventListener(KM,s);var l=Dn.Pop,u=i(),c=u[0],f=u[1],p=Yc(),h=Yc();c==null&&(c=0,o.replaceState(ia({},o.state,{idx:c}),""));function v(S){return typeof S=="string"?S:AA(S)}function m(S,C){return C===void 0&&(C=null),Gc(ia({pathname:f.pathname,hash:"",search:""},typeof S=="string"?Xm(S):S,{state:C,key:Km()}))}function _(S,C){return[{usr:S.state,key:S.key,idx:C},v(S)]}function g(S,C,$){return!h.length||(h.call({action:S,location:C,retry:$}),!1)}function y(S){l=S;var C=i();c=C[0],f=C[1],p.call({action:l,location:f})}function x(S,C){var $=Dn.Push,P=m(S,C);function M(){x(S,C)}if(g($,P,M)){var I=_(P,c+1),B=I[0],j=I[1];try{o.pushState(B,"",j)}catch{r.location.assign(j)}y($)}}function w(S,C){var $=Dn.Replace,P=m(S,C);function M(){w(S,C)}if(g($,P,M)){var I=_(P,c),B=I[0],j=I[1];o.replaceState(B,"",j),y($)}}function b(S){o.go(S)}var E={get action(){return l},get location(){return f},createHref:v,push:x,replace:w,go:b,back:function(){b(-1)},forward:function(){b(1)},listen:function(C){return p.push(C)},block:function(C){var $=h.push(C);return h.length===1&&r.addEventListener(f_,p_),function(){$(),h.length||r.removeEventListener(f_,p_)}}};return E}function ZM(e){e===void 0&&(e={});var t=e,n=t.initialEntries,r=n===void 0?["/"]:n,o=t.initialIndex,i=r.map(function(x){var w=Gc(ia({pathname:"/",search:"",hash:"",state:null,key:Km()},typeof x=="string"?Xm(x):x));return w}),a=d_(o==null?i.length-1:o,0,i.length-1),s=Dn.Pop,l=i[a],u=Yc(),c=Yc();function f(x){return typeof x=="string"?x:AA(x)}function p(x,w){return w===void 0&&(w=null),Gc(ia({pathname:l.pathname,search:"",hash:""},typeof x=="string"?Xm(x):x,{state:w,key:Km()}))}function h(x,w,b){return!c.length||(c.call({action:x,location:w,retry:b}),!1)}function v(x,w){s=x,l=w,u.call({action:s,location:l})}function m(x,w){var b=Dn.Push,E=p(x,w);function S(){m(x,w)}h(b,E,S)&&(a+=1,i.splice(a,i.length,E),v(b,E))}function _(x,w){var b=Dn.Replace,E=p(x,w);function S(){_(x,w)}h(b,E,S)&&(i[a]=E,v(b,E))}function g(x){var w=d_(a+x,0,i.length-1),b=Dn.Pop,E=i[w];function S(){g(x)}h(b,E,S)&&(a=w,v(b,E))}var y={get index(){return a},get action(){return s},get location(){return l},createHref:f,push:m,replace:_,go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(w){return u.push(w)},block:function(w){return c.push(w)}};return y}function d_(e,t,n){return Math.min(Math.max(e,t),n)}function p_(e){e.preventDefault(),e.returnValue=""}function Yc(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function Km(){return Math.random().toString(36).substr(2,8)}function AA(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,o=r===void 0?"":r,i=e.hash,a=i===void 0?"":i;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),a&&a!=="#"&&(n+=a.charAt(0)==="#"?a:"#"+a),n}function Xm(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}/**
434
+ * react-location
435
+ *
436
+ * Copyright (c) TanStack
437
+ *
438
+ * This source code is licensed under the MIT license found in the
439
+ * LICENSE.md file in the root directory of this source tree.
440
+ *
441
+ * @license MIT
442
+ */function bn(){return bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn.apply(this,arguments)}function Zm(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function QM(e,t){var n,r,o,i="";for(n in e)if((o=e[n])!==void 0)if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(t||"")+i}function h_(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function JM(e){for(var t,n,r={},o=e.split("&");t=o.shift();)t=t.split("="),n=t.shift(),r[n]!==void 0?r[n]=[].concat(r[n],h_(t.shift())):r[n]=h_(t.shift());return r}const e7=["children","location","__experimental__snapshot"],t7=["location","__experimental__snapshot"],n7=["basepath","routes"],$A=d.exports.createContext(null),TA=d.exports.createContext(null),PA=d.exports.createContext(null),RA=Boolean(typeof window!="undefined"&&window.document&&window.document.createElement),Qm=RA?d.exports.useLayoutEffect:d.exports.useEffect,r7=()=>RA?XM():ZM();class Ig{constructor(){this.listeners=[]}subscribe(t){return this.listeners.push(t),()=>{this.listeners=this.listeners.filter(n=>n!==t)}}notify(){this.listeners.forEach(t=>t())}}class o7 extends Ig{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||r7(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:g7,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:v7,this.current=this.parseLocation(this.history.location),this.destroy=this.history.listen(o=>{this.current=this.parseLocation(o.location,this.current),this.notify()})}buildNext(t,n){var r,o,i,a;t===void 0&&(t="/"),n===void 0&&(n={});const s=bn({},this.current,n.from),l=m7(t,s.pathname,""+((r=n.to)!=null?r:".")),u=(o=n.__searchFilters)!=null&&o.length?n.__searchFilters.reduce((v,m)=>m(v),s.search):s.search,c=n.search===!0?u:n.search?(i=g_(n.search,u))!=null?i:{}:(a=n.__searchFilters)!=null&&a.length?u:{},f=Jm(s.search,c),p=this.stringifySearch(f);let h=n.hash===!0?s.hash:g_(n.hash,s.hash);return h=h?"#"+h:"",{pathname:l,search:f,searchStr:p,hash:h,href:""+l+p+h,key:n.key}}navigate(t,n){this.current=t,this.navigateTimeout&&clearTimeout(this.navigateTimeout);let r="replace";return n||(r="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(r="replace"),r==="replace"?this.history.replace({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr}):this.history.push({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr})}parseLocation(t,n){var r;const o=this.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:Jm(n==null?void 0:n.search,o),hash:(r=t.hash.split("#").reverse()[0])!=null?r:"",href:""+t.pathname+t.search+t.hash,key:t.key}}}function kA(e){return d.exports.createElement(TA.Provider,e)}function i7(e){let{children:t,location:n,__experimental__snapshot:r}=e,o=Zm(e,e7);const i=d.exports.useRef(null);i.current||(i.current=new s7({location:n,__experimental__snapshot:r,routes:o.routes}));const a=i.current,[s,l]=d.exports.useReducer(()=>({}),{});return a.update(o),Qm(()=>a.subscribe(()=>{l()}),[]),Qm(()=>a.updateLocation(n.current).unsubscribe,[n.current.key]),d.exports.createElement($A.Provider,{value:{location:n}},d.exports.createElement(PA.Provider,{value:{router:a}},d.exports.createElement(a7,null),d.exports.createElement(kA,{value:[a.rootMatch,...a.state.matches]},t!=null?t:d.exports.createElement(jg,null))))}function a7(){const e=Ea(),t=FA(),n=MA();return Qm(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class s7 extends Ig{constructor(t){var n;let{location:r,__experimental__snapshot:o}=t,i=Zm(t,t7);super(),this.routesById={},this.update=s=>{let{basepath:l,routes:u}=s,c=Zm(s,n7);Object.assign(this,c),this.basepath=bd("/"+(l!=null?l:"")),this.routesById={};const f=(p,h)=>p.map(v=>{var m,_,g,y;const x=(m=v.path)!=null?m:"*",w=aa([(h==null?void 0:h.id)==="root"?"":h==null?void 0:h.id,""+(x==null?void 0:x.replace(/(.)\/$/,"$1"))+(v.id?"-"+v.id:"")]);if(v=bn({},v,{pendingMs:(_=v.pendingMs)!=null?_:c==null?void 0:c.defaultPendingMs,pendingMinMs:(g=v.pendingMinMs)!=null?g:c==null?void 0:c.defaultPendingMinMs,id:w}),this.routesById[w])throw new Error;return this.routesById[w]=v,v.children=(y=v.children)!=null&&y.length?f(v.children,v):void 0,v});this.routes=f(u),this.rootMatch={id:"root",params:{},search:{},pathname:this.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},this.setState=s=>{const l=s({state:this.state,pending:this.pending});this.state=l.state,this.pending=l.pending,this.cleanMatchCache(),this.notify()},this.matchCache={},this.cleanMatchCache=()=>{var s,l,u;const c=[...(s=this==null?void 0:this.state.matches)!=null?s:[],...(l=this==null||(u=this.pending)==null?void 0:u.matches)!=null?l:[]].map(f=>f.id);Object.values(this.matchCache).forEach(f=>{var p;if(!f.updatedAt||c.includes(f.id))return;const h=Date.now()-((p=f.updatedAt)!=null?p:0);(!f.maxAge||h>f.maxAge)&&(f.route.unloader&&f.route.unloader(f),delete this.matchCache[f.id])})},this.updateLocation=s=>{let l;return{promise:new Promise(c=>{const f=new m_(this,s);this.setState(p=>bn({},p,{pending:{location:f.location,matches:f.matches}})),l=f.subscribe(()=>{const p=this.state.matches;p.filter(h=>!f.matches.find(v=>v.id===h.id)).forEach(h=>{h.onExit==null||h.onExit(h)}),p.filter(h=>f.matches.find(v=>v.id===h.id)).forEach(h=>{h.route.onTransition==null||h.route.onTransition(h)}),f.matches.filter(h=>!p.find(v=>v.id===h.id)).forEach(h=>{h.onExit=h.route.onMatch==null?void 0:h.route.onMatch(h)}),this.setState(h=>bn({},h,{state:{location:f.location,matches:f.matches},pending:void 0})),c()}),f.loadData(),f.startPending()}),unsubscribe:l}},this.__experimental__createSnapshot=()=>({location:this.state.location,matches:this.state.matches.map(s=>{let{ownData:l,id:u}=s;return{id:u,ownData:l}})}),this.update(i);let a=[];if(o){const s=new m_(this,r.current);s.matches.forEach((l,u)=>{var c,f,p;if(l.id!==((c=o.matches[u])==null?void 0:c.id)){var h;throw new Error("Router hydration mismatch: "+l.id+" !== "+((h=o.matches[u])==null?void 0:h.id))}l.ownData=(f=(p=o.matches[u])==null?void 0:p.ownData)!=null?f:{}}),OA(s.matches),a=s.matches}this.state={location:(n=o==null?void 0:o.location)!=null?n:r.current,matches:a},r.subscribe(()=>this.notify())}}function Ea(){const e=d.exports.useContext($A);return IA(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class l7{constructor(t){this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=n=>{var r;(r=this.matchLoader)==null||r.preNotify(n?this:void 0)},this.assignMatchLoader=n=>{this.matchLoader=n},this.startPending=()=>{this.pendingTimeout&&clearTimeout(this.pendingTimeout),this.route.pendingMs!==void 0&&(this.pendingTimeout=setTimeout(()=>{var n;this.status==="loading"&&(this.status="pending"),(n=this.notify)==null||n.call(this),typeof this.route.pendingMinMs!="undefined"&&(this.pendingMinPromise=new Promise(r=>setTimeout(r,this.route.pendingMinMs)))},this.route.pendingMs))},this.load=n=>{var r,o;if(this.maxAge=(r=(o=n.maxAge)!=null?o:this.route.loaderMaxAge)!=null?r:n.router.defaultLoaderMaxAge,this.loaderPromise)return;const i=this.route.import;this.loaderPromise=(i?(()=>(this.isLoading=!0,i({params:this.params,search:this.search}).then(a=>{this.route=bn({},this.route,a)})))():Promise.resolve()).then(()=>{const a=[];["element","errorElement","pendingElement"].forEach(c=>{const f=this.route[c];this[c]||(typeof f=="function"?(this.isLoading=!0,a.push(f(this).then(p=>{this[c]=p}))):this[c]=this.route[c])});const l=this.route.loader,u=l?new Promise(async c=>{this.isLoading=!0;const f=v=>{this.updatedAt=Date.now(),c(this.ownData),this.status=v},p=v=>{this.ownData=v,this.error=void 0,f("resolved")},h=v=>{console.error(v),this.error=v,f("rejected")};try{p(await l(this,{parentMatch:n.parentMatch,dispatch:async v=>{var m;v.type==="resolve"?p(v.data):v.type==="reject"?h(v.error):v.type==="loading"?this.isLoading=!0:v.type==="maxAge"&&(this.maxAge=v.maxAge),this.updatedAt=Date.now(),(m=this.notify)==null||m.call(this,!0)}}))}catch(v){h(v)}}):Promise.resolve();return Promise.all([...a,u]).then(()=>{this.status="resolved",this.isLoading=!1,this.startPending=void 0}).then(()=>this.pendingMinPromise).then(()=>{var c;this.pendingTimeout&&clearTimeout(this.pendingTimeout),(c=this.notify)==null||c.call(this,!0)})}).then(()=>this.ownData)},Object.assign(this,t)}}class m_ extends Ig{constructor(t,n){var r;super(),r=this,this.preNotifiedMatches=[],this.status="pending",this.preNotify=i=>{i&&(this.preNotifiedMatches.includes(i)||this.preNotifiedMatches.push(i)),(!i||this.preNotifiedMatches.length===this.matches.length)&&(this.status="resolved",OA(this.matches),this.notify())},this.loadData=async function(i){var a;let{maxAge:s}=i===void 0?{}:i;if(r.router.cleanMatchCache(),!((a=r.matches)!=null&&a.length)){r.preNotify();return}return r.firstRenderPromises=[],r.matches.forEach((l,u)=>{var c,f;const p=(c=r.matches)==null?void 0:c[u-1];l.assignMatchLoader==null||l.assignMatchLoader(r),l.load==null||l.load({maxAge:s,parentMatch:p,router:r.router}),(f=r.firstRenderPromises)==null||f.push(l.loaderPromise)}),await Promise.all(r.firstRenderPromises).then(()=>(r.preNotify(),r.matches))},this.load=async function(i){let{maxAge:a}=i===void 0?{}:i;return await r.loadData({maxAge:a})},this.startPending=async()=>{this.matches.forEach(i=>i.startPending==null?void 0:i.startPending())},this.router=t,this.location=n,this.matches=[];const o=LA(this.router,this.location);this.matches=o==null?void 0:o.map(i=>(this.router.matchCache[i.id]||(this.router.matchCache[i.id]=new l7(i)),this.router.matchCache[i.id]))}}function OA(e){e==null||e.forEach((t,n)=>{var r;const o=e==null?void 0:e[n-1];t.data=bn({},(r=o==null?void 0:o.data)!=null?r:{},t.ownData)})}function DA(){const e=d.exports.useContext(PA);if(!e)throw IA(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function LA(e,t){if(!e.routes.length)return[];const n=[],r=async(o,i)=>{var a;let{pathname:s,params:l}=i;const c=(e!=null&&e.filterRoutes?e==null?void 0:e.filterRoutes(o):o).find(v=>{var m,_;const g=aa([s,v.path]),y=!!(v.path!=="/"||(m=v.children)!=null&&m.length),x=f7(t,{to:g,search:v.search,fuzzy:y,caseSensitive:(_=v.caseSensitive)!=null?_:e.caseSensitive});return x&&(l=bn({},l,x)),!!x});if(!c)return;const f=v_(c.path,l);s=aa([s,f]);const h={id:v_(c.id,l,!0),route:c,params:l,pathname:s,search:t.search};n.push(h),(a=c.children)!=null&&a.length&&r(c.children,h)};return r(e.routes,e.rootMatch),n}function v_(e,t,n){const r=Zs(e);return aa(r.map(o=>{if(o.value==="*"&&!n)return"";if(o.type==="param"){var i;return(i=t[o.value.substring(1)])!=null?i:""}return o.value}))}function NA(){return d.exports.useContext(TA)}function u7(){var e;return(e=NA())==null?void 0:e[0]}function MA(){const e=Ea(),t=u7(),n=FA();function r(o){var i;let{search:a,hash:s,replace:l,from:u,to:c,fromCurrent:f}=o;f=(i=f)!=null?i:typeof c=="undefined";const p=n({to:c,search:a,hash:s,from:f?e.current:u!=null?u:{pathname:t.pathname}});e.navigate(p,l)}return jA(r)}function FA(){const e=Ea(),t=DA();return jA(r=>{const o=e.buildNext(t.basepath,r),a=LA(t,o).map(s=>{var l;return(l=s.route.searchFilters)!=null?l:[]}).flat().filter(Boolean);return e.buildNext(t.basepath,bn({},r,{__searchFilters:a}))})}function jg(){var e;const t=DA(),[n,...r]=NA(),o=r[0];if(!o)return null;const i=(e=o.errorElement)!=null?e:t.defaultErrorElement,a=(()=>{var s,l;if(o.status==="rejected"){if(i)return i;if(!t.useErrorBoundary)return"An unknown error occured!";throw o.error}const u=(s=o.pendingElement)!=null?s:t.defaultPendingElement;if(o.status==="loading")return null;if(o.status==="pending"&&(o.route.pendingMs||u))return u!=null?u:null;const c=(l=o.element)!=null?l:t.defaultElement;return c!=null?c:d.exports.createElement(jg,null)})();return d.exports.createElement(kA,{value:r},a)}function c7(){return Ea().current.search}function f7(e,t){const n=p7(e,t),r=h7(e,t);if(!(t.to&&!n)&&!(t.search&&!r))return n!=null?n:{}}function IA(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch{}}}function d7(e){return typeof e=="function"}function g_(e,t){return d7(e)?e(t):e}function aa(e){return bd(e.filter(Boolean).join("/"))}function bd(e){return(""+e).replace(/\/{2,}/g,"/")}function p7(e,t){var n;const r=Zs(e.pathname),o=Zs(""+((n=t.to)!=null?n:"*")),i={};return(()=>{for(let s=0;s<Math.max(r.length,o.length);s++){const l=r[s],u=o[s],c=s===o.length-1,f=s===r.length-1;if(u){if(u.type==="wildcard")return l!=null&&l.value?(i["*"]=aa(r.slice(s).map(p=>p.value)),!0):!1;if(u.type==="pathname"){if(u.value==="/"&&!(l!=null&&l.value))return!0;if(l){if(t.caseSensitive){if(u.value!==l.value)return!1}else if(u.value.toLowerCase()!==l.value.toLowerCase())return!1}}if(!l)return!1;u.type==="param"&&(i[u.value.substring(1)]=l.value)}if(c&&!f)return!!t.fuzzy}return!0})()?i:void 0}function h7(e,t){return!!(t.search&&t.search(e.search))}function Zs(e){if(!e)return[];e=bd(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r.startsWith("*")?{type:"wildcard",value:r}:r.charAt(0)===":"?{type:"param",value:r}:{type:"pathname",value:r})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function m7(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=Zs(t);const o=Zs(n);o.forEach((a,s)=>{if(a.value==="/")s?s===o.length-1&&r.push(a):r=[a];else if(a.value==="..")r.pop();else{if(a.value===".")return;r.push(a)}});const i=aa([e,...r.map(a=>a.value)]);return bd(i)}function jA(e){const t=d.exports.useRef(),n=d.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function Jm(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||y_(e)&&y_(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const u=n?l:o[l];a[u]=Jm(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function y_(e){if(!x_(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!x_(n)||!n.hasOwnProperty("isPrototypeOf"))}function x_(e){return Object.prototype.toString.call(e)==="[object Object]"}const v7=y7(JSON.parse),g7=x7(JSON.stringify);function y7(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));let n=JM(t);for(let r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function x7(e){return t=>{t=bn({},t),t&&Object.keys(t).forEach(r=>{const o=t[r];if(typeof o=="undefined"||o===void 0)delete t[r];else if(o&&typeof o=="object"&&o!==null)try{t[r]=e(o)}catch{}});const n=QM(t).toString();return n?"?"+n:""}}function ev(e,t){return ev=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},ev(e,t)}function _7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ev(e,t)}var w7=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,o){return!Object.is(r,n[o])})},__={error:null},b7=function(e){_7(t,e);function t(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=e.call.apply(e,[this].concat(i))||this,r.state=__,r.resetErrorBoundary=function(){for(var s,l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];r.props.onReset==null||(s=r.props).onReset.apply(s,u),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(__)},n.componentDidCatch=function(o,i){var a,s;(a=(s=this.props).onError)==null||a.call(s,o,i)},n.componentDidUpdate=function(o,i){var a=this.state.error,s=this.props.resetKeys;if(a!==null&&i.error!==null&&w7(o.resetKeys,s)){var l,u;(l=(u=this.props).onResetKeysChange)==null||l.call(u,o.resetKeys,s),this.reset()}},n.render=function(){var o=this.state.error,i=this.props,a=i.fallbackRender,s=i.FallbackComponent,l=i.fallback;if(o!==null){var u={error:o,resetErrorBoundary:this.resetErrorBoundary};if(d.exports.isValidElement(l))return l;if(typeof a=="function")return a(u);if(s)return d.exports.createElement(s,u);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(d.exports.Component);class Ed{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Bg=typeof window=="undefined";function hn(){}function E7(e,t){return typeof e=="function"?e(t):e}function S7(e){return typeof e=="number"&&e>=0&&e!==1/0}function C7(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Wp(e,t,n){return Sd(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Rr(e,t,n){return Sd(e)?[{...t,queryKey:e},n]:[e||{},t]}function w_(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(Sd(a)){if(r){if(t.queryHash!==zg(a,t.options))return!1}else if(!Wc(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function b_(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:i}=e;if(Sd(i)){if(!t.options.mutationKey)return!1;if(n){if(Do(t.options.mutationKey)!==Do(i))return!1}else if(!Wc(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function zg(e,t){return((t==null?void 0:t.queryKeyHashFn)||Do)(e)}function Do(e){return JSON.stringify(e,(t,n)=>tv(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Wc(e,t){return BA(e,t)}function BA(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!BA(e[n],t[n])):!1}function zA(e,t){if(e===t)return e;const n=E_(e)&&E_(t);if(n||tv(e)&&tv(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const u=n?l:o[l];a[u]=zA(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function IJ(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function E_(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function tv(e){if(!S_(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!S_(n)||!n.hasOwnProperty("isPrototypeOf"))}function S_(e){return Object.prototype.toString.call(e)==="[object Object]"}function Sd(e){return Array.isArray(e)}function VA(e){return new Promise(t=>{setTimeout(t,e)})}function C_(e){VA(0).then(e)}function A7(){if(typeof AbortController=="function")return new AbortController}function $7(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?zA(e,t):t}class T7 extends Ed{constructor(){super(),this.setup=t=>{if(!Bg&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const nv=new T7;class P7 extends Ed{constructor(){super(),this.setup=t=>{if(!Bg&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const qc=new P7;function R7(e){return Math.min(1e3*2**e,3e4)}function Vg(e){return(e!=null?e:"online")==="online"?qc.isOnline():!0}class UA{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function qp(e){return e instanceof UA}function HA(e){let t=!1,n=0,r=!1,o,i,a;const s=new Promise((_,g)=>{i=_,a=g}),l=_=>{r||(h(new UA(_)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},f=()=>!nv.isFocused()||e.networkMode!=="always"&&!qc.isOnline(),p=_=>{r||(r=!0,e.onSuccess==null||e.onSuccess(_),o==null||o(),i(_))},h=_=>{r||(r=!0,e.onError==null||e.onError(_),o==null||o(),a(_))},v=()=>new Promise(_=>{o=g=>{if(r||!f())return _(g)},e.onPause==null||e.onPause()}).then(()=>{o=void 0,r||e.onContinue==null||e.onContinue()}),m=()=>{if(r)return;let _;try{_=e.fn()}catch(g){_=Promise.reject(g)}Promise.resolve(_).then(p).catch(g=>{var y,x;if(r)return;const w=(y=e.retry)!=null?y:3,b=(x=e.retryDelay)!=null?x:R7,E=typeof b=="function"?b(n,g):b,S=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,g);if(t||!S){h(g);return}n++,e.onFail==null||e.onFail(n,g),VA(E).then(()=>{if(f())return v()}).then(()=>{t?h(g):m()})})};return Vg(e.networkMode)?m():v().then(m),{promise:s,cancel:l,continue:()=>{o==null||o()},cancelRetry:u,continueRetry:c}}const Ug=console;function k7(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const o=c=>{let f;t++;try{f=c()}finally{t--,t||s()}return f},i=c=>{t?e.push(c):C_(()=>{n(c)})},a=c=>(...f)=>{i(()=>{c(...f)})},s=()=>{const c=e;e=[],c.length&&C_(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const At=k7();class GA{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),S7(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Bg?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class O7 extends GA{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Ug,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||D7(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=$7(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(hn).catch(hn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!C7(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(v=>v.options.queryFn);h&&this.setOptions(h.options)}Array.isArray(this.options.queryKey);const a=A7(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u,meta:this.meta};if(l(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=c.fetchOptions)==null?void 0:o.meta)){var f;this.dispatch({type:"fetch",meta:(f=c.fetchOptions)==null?void 0:f.meta})}const p=h=>{if(qp(h)&&h.silent||this.dispatch({type:"error",error:h}),!qp(h)){var v,m;(v=(m=this.cache.config).onError)==null||v.call(m,h,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=HA({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:h=>{var v,m;if(typeof h=="undefined"){p(new Error("Query data cannot be undefined"));return}this.setData(h),(v=(m=this.cache.config).onSuccess)==null||v.call(m,h,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var o,i;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Vg(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const a=t.error;return qp(a)&&a.revert&&this.revertState?{...this.revertState}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),At.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function D7(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData!="undefined"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,o=typeof t!="undefined";return{data:t,dataUpdateCount:0,dataUpdatedAt:o?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:o?"success":"loading",fetchStatus:"idle"}}class L7 extends Ed{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var o;const i=n.queryKey,a=(o=n.queryHash)!=null?o:zg(i,n);let s=this.get(a);return s||(s=new O7({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i),meta:n.meta}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){At.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=Rr(t,n);return typeof r.exact=="undefined"&&(r.exact=!0),this.queries.find(o=>w_(r,o))}findAll(t,n){const[r]=Rr(t,n);return Object.keys(r).length>0?this.queries.filter(o=>w_(r,o)):this.queries}notify(t){At.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){At.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){At.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class N7 extends GA{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Ug,this.observers=[],this.state=t.state||M7(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var x;return this.retryer=HA({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(x=this.options.retry)!=null?x:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,o,i,a,s,l;if(!n){var u,c,f,p;this.dispatch({type:"loading",variables:this.options.variables}),(u=(c=this.mutationCache.config).onMutate)==null||u.call(c,this.state.variables,this);const w=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));w!==this.state.context&&this.dispatch({type:"loading",context:w,variables:this.state.variables})}const x=await t();return(r=(o=this.mutationCache.config).onSuccess)==null||r.call(o,x,this.state.variables,this.state.context,this),await((i=(a=this.options).onSuccess)==null?void 0:i.call(a,x,this.state.variables,this.state.context)),await((s=(l=this.options).onSettled)==null?void 0:s.call(l,x,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:x}),x}catch(x){try{var h,v,m,_,g,y;throw(h=(v=this.mutationCache.config).onError)==null||h.call(v,x,this.state.variables,this.state.context,this),await((m=(_=this.options).onError)==null?void 0:m.call(_,x,this.state.variables,this.state.context)),await((g=(y=this.options).onSettled)==null?void 0:g.call(y,void 0,x,this.state.variables,this.state.context)),x}finally{this.dispatch({type:"error",error:x})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!Vg(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),At.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function M7(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class F7 extends Ed{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const o=new N7({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){At.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(n=>b_(t,n))}findAll(t){return this.mutations.filter(n=>b_(t,n))}notify(t){At.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return At.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(hn)),Promise.resolve()))}}function I7(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,o,i,a;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,l=(r=e.fetchOptions)==null||(o=r.meta)==null?void 0:o.fetchMore,u=l==null?void 0:l.pageParam,c=(l==null?void 0:l.direction)==="forward",f=(l==null?void 0:l.direction)==="backward",p=((i=e.state.data)==null?void 0:i.pages)||[],h=((a=e.state.data)==null?void 0:a.pageParams)||[];let v=h,m=!1;const _=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)m=!0;else{var C;(C=e.signal)==null||C.addEventListener("abort",()=>{m=!0})}return e.signal}})},g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(E,S,C,$)=>(v=$?[S,...v]:[...v,S],$?[C,...E]:[...E,C]),x=(E,S,C,$)=>{if(m)return Promise.reject("Cancelled");if(typeof C=="undefined"&&!S&&E.length)return Promise.resolve(E);const P={queryKey:e.queryKey,pageParam:C,meta:e.meta};_(P);const M=g(P);return Promise.resolve(M).then(B=>y(E,C,B,$))};let w;if(!p.length)w=x([]);else if(c){const E=typeof u!="undefined",S=E?u:A_(e.options,p);w=x(p,E,S)}else if(f){const E=typeof u!="undefined",S=E?u:j7(e.options,p);w=x(p,E,S,!0)}else{v=[];const E=typeof e.options.getNextPageParam=="undefined";w=(s&&p[0]?s(p[0],0,p):!0)?x([],E,h[0]):Promise.resolve(y([],h[0],p[0]));for(let C=1;C<p.length;C++)w=w.then($=>{if(s&&p[C]?s(p[C],C,p):!0){const M=E?h[C]:A_(e.options,$);return x($,E,M)}return Promise.resolve(y($,h[C],p[C]))})}return w.then(E=>({pages:E,pageParams:v}))}}}}function A_(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function j7(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class B7{constructor(t={}){this.queryCache=t.queryCache||new L7,this.mutationCache=t.mutationCache||new F7,this.logger=t.logger||Ug,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=nv.subscribe(()=>{nv.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=qc.subscribe(()=>{qc.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=Rr(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const o=r.data;return[n,o]})}setQueryData(t,n,r){const o=this.queryCache.find(t),i=o==null?void 0:o.state.data,a=E7(n,i);if(typeof a=="undefined")return;const s=Wp(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return At.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=Rr(t,n),o=this.queryCache;At.batch(()=>{o.findAll(r).forEach(i=>{o.remove(i)})})}resetQueries(t,n,r){const[o,i]=Rr(t,n,r),a=this.queryCache,s={type:"active",...o};return At.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,n,r){const[o,i={}]=Rr(t,n,r);typeof i.revert=="undefined"&&(i.revert=!0);const a=At.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(hn).catch(hn)}invalidateQueries(t,n,r){const[o,i]=Rr(t,n,r);return At.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(u=>{u.invalidate()}),o.refetchType==="none")return Promise.resolve();const l={...o,type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"};return this.refetchQueries(l,i)})}refetchQueries(t,n,r){const[o,i]=Rr(t,n,r),a=At.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var u;return l.fetch(void 0,{...i,cancelRefetch:(u=i==null?void 0:i.cancelRefetch)!=null?u:!0,meta:{refetchPage:o.refetchPage}})}));let s=Promise.all(a).then(hn);return i!=null&&i.throwOnError||(s=s.catch(hn)),s}fetchQuery(t,n,r){const o=Wp(t,n,r),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(hn).catch(hn)}fetchInfiniteQuery(t,n,r){const o=Wp(t,n,r);return o.behavior=I7(),this.fetchQuery(o)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(hn).catch(hn)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(o=>Do(t)===Do(o.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Wc(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(o=>Do(t)===Do(o.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Wc(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=zg(n.queryKey,n)),typeof n.refetchOnReconnect=="undefined"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary=="undefined"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}const $_=d.exports.createContext(void 0),YA=d.exports.createContext(!1);function WA(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=$_),window.ReactQueryClientContext):$_)}const jJ=({context:e}={})=>{const t=d.exports.useContext(WA(e,d.exports.useContext(YA)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},z7=({client:e,children:t,context:n,contextSharing:r=!1})=>{d.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const o=WA(n,r);return d.exports.createElement(YA.Provider,{value:!n&&r},d.exports.createElement(o.Provider,{value:e},t))},V7="modulepreload",T_={},U7="/sdks-app/v1/",sa=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${U7}${r}`,r in T_)return;T_[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${i}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":V7,o||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),o)return new Promise((s,l)=>{a.addEventListener("load",s),a.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var rv=(e=>(e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e))(rv||{}),Cd={exports:{}},Ad={};/**
443
+ * @license React
444
+ * react-jsx-runtime.production.min.js
445
+ *
446
+ * Copyright (c) Facebook, Inc. and its affiliates.
447
+ *
448
+ * This source code is licensed under the MIT license found in the
449
+ * LICENSE file in the root directory of this source tree.
450
+ */var H7=d.exports,G7=Symbol.for("react.element"),Y7=Symbol.for("react.fragment"),W7=Object.prototype.hasOwnProperty,q7=H7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,K7={key:!0,ref:!0,__self:!0,__source:!0};function qA(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)W7.call(t,r)&&!K7.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:G7,type:e,key:i,ref:a,props:o,_owner:q7.current}}Ad.Fragment=Y7;Ad.jsx=qA;Ad.jsxs=qA;Cd.exports=Ad;const N=Cd.exports.jsx,nt=Cd.exports.jsxs,Hg=Cd.exports.Fragment,X7=new o7,Z7=te.lazy(()=>sa(()=>import("./index.5b4e1a6e.js"),["assets/index.5b4e1a6e.js","assets/chevron_right.4d3152f8.js","assets/chevron_right.2aa1109f.css"])),Q7=te.lazy(()=>sa(()=>import("./index.cc7e4871.js"),["assets/index.cc7e4871.js","assets/chevron_right.4d3152f8.js","assets/chevron_right.2aa1109f.css"])),J7=({children:e})=>{const t=[{path:`/sdks-app/v1/${rv.LOCAL_CONTENT}`,element:N(Z7,{})},{path:`/sdks-app/v1/${rv.DATA_EXPLORER}`,element:N(Q7,{})}];return N(i7,{location:X7,routes:t,children:e})},eF="CONNECT",tF="DEFAULT";function nF(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var KA={exports:{}};(function(e){var t=(()=>{var n=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,a=(_,g,y)=>g in _?n(_,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):_[g]=y,s=(_,g)=>{for(var y in g||(g={}))o.call(g,y)&&a(_,y,g[y]);if(r)for(var y of r(g))i.call(g,y)&&a(_,y,g[y]);return _},l=_=>n(_,"__esModule",{value:!0}),u=(_,g)=>{l(_);for(var y in g)n(_,y,{get:g[y],enumerable:!0})},c={};u(c,{DEFAULT_UUID_LENGTH:()=>p,default:()=>m});var f="4.4.4",p=6,h={dictionary:"alphanum",shuffle:!0,debug:!1,length:p},v=class extends Function{constructor(_={}){super(),this.dictIndex=0,this.dictRange=[],this.lowerBound=0,this.upperBound=0,this.dictLength=0,this._digit_first_ascii=48,this._digit_last_ascii=58,this._alpha_lower_first_ascii=97,this._alpha_lower_last_ascii=123,this._hex_last_ascii=103,this._alpha_upper_first_ascii=65,this._alpha_upper_last_ascii=91,this._number_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii]},this._alpha_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alpha_lower_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alpha_upper_dict_ranges={upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_lower_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alphanum_upper_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._hex_dict_ranges={decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]},this.log=(...b)=>{const E=[...b];if(E[0]=`[short-unique-id] ${b[0]}`,this.debug===!0&&typeof console!="undefined"&&console!==null)return console.log(...E)},this.setDictionary=(b,E)=>{let S;if(b&&Array.isArray(b)&&b.length>1)S=b;else{S=[];let C;this.dictIndex=C=0;const $=`_${b}_dict_ranges`,P=this[$];Object.keys(P).forEach(M=>{const I=M;for(this.dictRange=P[I],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=C=this.lowerBound;this.lowerBound<=this.upperBound?C<this.upperBound:C>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?C+=1:C-=1)S.push(String.fromCharCode(this.dictIndex))})}E&&(S=S.sort(()=>Math.random()-.5)),this.dict=S,this.dictLength=this.dict.length,this.counter=0},this.seq=()=>this.sequentialUUID(),this.sequentialUUID=()=>{let b,E,S="";b=this.counter;do E=b%this.dictLength,b=Math.trunc(b/this.dictLength),S+=this.dict[E];while(b!==0);return this.counter+=1,S},this.randomUUID=(b=this.uuidLength||p)=>{let E,S,C;if(b===null||typeof b=="undefined"||b<1)throw new Error("Invalid UUID Length Provided");for(E="",C=0;C<b;C+=1)S=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,E+=this.dict[S];return E},this.availableUUIDs=(b=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,b).toFixed(0)),this.approxMaxBeforeCollision=(b=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*b).toFixed(20)),this.collisionProbability=(b=this.availableUUIDs(this.uuidLength),E=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(b)/this.availableUUIDs(E)).toFixed(20)),this.uniqueness=(b=this.availableUUIDs(this.uuidLength))=>{const E=parseFloat((1-this.approxMaxBeforeCollision(b)/b).toFixed(20));return E>1?1:E<0?0:E},this.getVersion=()=>this.version,this.stamp=b=>{if(typeof b!="number"||b<10)throw new Error("Param finalLength must be number greater than 10");const E=Math.floor(+new Date/1e3).toString(16),S=b-9,C=Math.round(Math.random()*(S>15?15:S)),$=this.randomUUID(S);return`${$.substr(0,C)}${E}${$.substr(C)}${C.toString(16)}`},this.parseStamp=b=>{if(b.length<10)throw new Error("Stamp length invalid");const E=parseInt(b.substr(b.length-1,1),16);return new Date(parseInt(b.substr(E,8),16)*1e3)};const g=s(s({},h),_);this.counter=0,this.debug=!1,this.dict=[],this.version=f;const{dictionary:y,shuffle:x,length:w}=g;return this.uuidLength=w,this.setDictionary(y,x),this.debug=g.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength}`),new Proxy(this,{apply:(b,E,S)=>this.randomUUID(...S)})}},m=v;return m.default=v,c})();e.exports=t.default,typeof window!="undefined"&&(t=t.default)})(KA);var rF=nF(KA.exports);const P_=new rF({length:10});class Gg{constructor(t,n){this.onMessageHandlers=[],this.message=(r,o,i)=>this.crossOrigin?this.postMessage(r,o,i):this.customEventMessage(r,o,i),this.channelId=t!=null?t:tF,this.channelNodeId=`channel-node-${P_()}`,this.crossOrigin=n,this.connection=new Promise(r=>{this.resolveConnection=r}),this.boundMessageHandler=this.handleMessage.bind(this)}disconnect(){this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise(t=>{this.resolveConnection=t})}onMessage(t){this.onMessageHandlers.push(t)}removeMessageHandler(t){const n=this.onMessageHandlers.findIndex(r=>r===t);this.onMessageHandlers.splice(n,1)}customEventMessage(t,n,r){const o=new CustomEvent(this.channelId,{detail:{eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n}});window.dispatchEvent(o)}postMessage(t,n,r){var o,i,a;(a=(o=this.crossOrigin)==null?void 0:o.window)==null||a.postMessage({eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n},(i=this.crossOrigin)==null?void 0:i.targetOrigin)}async eventRequest(t,n){const r=P_();return new Promise(o=>{const i=a=>{const{eventId:s}=a;r===s&&(this.removeMessageHandler(i),o(a))};this.onMessage(i),this.message(t,n,r)})}async waitForEvent(t){return new Promise(n=>{const r=o=>{const{name:i}=o;t===i&&(this.removeMessageHandler(r),n(o))};this.onMessage(r)})}handleMessage(t){var n;let r;if(Gg.isCustomEvent(t))r=t.detail;else{if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&((n=this.crossOrigin)==null?void 0:n.targetOrigin)!=="*")return;r=t.data}const{channelId:o,channelNodeId:i}=r;this.channelId===o&&this.channelNodeId!==i&&this.onMessageHandlers.forEach(a=>{a(r)})}static isCustomEvent(t){return t.detail!==void 0}}class oF extends Gg{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(eF).then(t=>{this.resolveConnection(t)}),this.connection}}var iF="Expected a function",R_=1/0,aF=17976931348623157e292,k_=0/0,sF="[object Symbol]",lF=/^\s+|\s+$/g,uF=/^[-+]0x[0-9a-f]+$/i,cF=/^0b[01]+$/i,fF=/^0o[0-7]+$/i,dF=parseInt,pF=Object.prototype,hF=pF.toString;function mF(e,t){var n;if(typeof t!="function")throw new TypeError(iF);return e=_F(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function vF(e){return mF(2,e)}function O_(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function gF(e){return!!e&&typeof e=="object"}function yF(e){return typeof e=="symbol"||gF(e)&&hF.call(e)==sF}function xF(e){if(!e)return e===0?e:0;if(e=wF(e),e===R_||e===-R_){var t=e<0?-1:1;return t*aF}return e===e?e:0}function _F(e){var t=xF(e),n=t%1;return t===t?n?t-n:t:0}function wF(e){if(typeof e=="number")return e;if(yF(e))return k_;if(O_(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=O_(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(lF,"");var n=cF.test(e);return n||fF.test(e)?dF(e.slice(2),n?2:8):uF.test(e)?k_:+e}var XA=vF;const Kp=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function ov(e,...t){if(!t.length)return e;const n=t.shift();return Kp(e)&&Kp(n)&&Object.keys(n).forEach(r=>{Kp(n[r])?(e[r]||Object.assign(e,{[r]:{}}),ov(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),ov(e,...t)}const bF=e=>{const t=d.exports.useRef(e),n=d.exports.useRef(),r=d.exports.useRef(!1),o=d.exports.useRef(!1),[,i]=d.exports.useState(0);r.current&&(o.current=!0),d.exports.useEffect(()=>(r.current||(n.current=t.current(),r.current=!0),i(a=>a+1),()=>{!o.current||n.current&&n.current()}),[])},EF=(e,t)=>{const[n,r]=d.exports.useState(e);return d.exports.useEffect(()=>{const o=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(o)}},[e,t]),n};var Za=(e=>(e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e))(Za||{});const SF={zoom:16,pitch:0,bearing:0,cooperativeGestures:!0},CF={},D_={locale:"en"},AF={"local-content":{globalOptions:D_,options:SF},"data-explorer":{globalOptions:D_,options:CF}},ZA=XA(()=>te.createContext({})),QA=()=>{const e=te.useContext(ZA());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e},JA=te.memo(({children:e})=>{const t=ZA(),n=c7(),r=te.useRef(n),i=Ea().current.pathname.split("/"),a=i[i.length-1],s=AF[a],l=te.useRef(),[u,c]=d.exports.useState(!1),[f,p]=d.exports.useState(s),h=EF(f,500),v=MA(),m=x=>{r.current=x,p(x)},_=x=>{var w;x.name===Za.GET_STATE&&((w=l.current)==null||w.message(Za.GET_STATE_RESPONSE,r.current,x.eventId)),x.name===Za.SET_STATE&&m(x.data)};bF(()=>{const x=new oF(n.channelId,{targetOrigin:document.referrer,window:window.parent});l.current=x,x==null||x.onMessage(_),x==null||x.connect().then(w=>{const b=ov(f,w.data);m(b),c(!0)})});const g=x=>{var w;(w=l.current)==null||w.message(Za.ON_CHANGE,x)};d.exports.useEffect(()=>{v({search:()=>h})},[h]),d.exports.useEffect(()=>{f.options&&g({type:"options",data:f.options})},[f.options]);const y=d.exports.useMemo(()=>({sdkState:f,setSdkState:m,onChange:g}),[f,m,g]);return u?N(t.Provider,{value:y,children:e}):null});JA.displayName="StateManagerProvider";const $F={en:()=>sa(()=>import("./index.9276bc44.js"),[]),fr:()=>sa(()=>import("./index.993161da.js"),[])},TF={en:()=>sa(()=>import("./index.fe0fe532.js"),[]),fr:()=>sa(()=>import("./index.e82abb8d.js"),[])},PF={"local-content":e=>TF[e](),"data-explorer":e=>$F[e]()},e$=XA(()=>te.createContext({})),BJ=()=>{const e=d.exports.useContext(e$());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e},RF=({children:e})=>{var p;const[t,n]=d.exports.useState(!0),[r,o]=d.exports.useState(),{sdkState:i}=QA(),a=((p=i.globalOptions)==null?void 0:p.locale)||"en",s=e$(),u=Ea().current.pathname.split("/"),c=u[u.length-1],f=PF[c];if(d.exports.useEffect(()=>{n(!0),f(a).then(h=>{o(h.translations)}).finally(()=>{n(!1)})},[a,f]),t)return null;if(!r)throw new Error("No translations were found.");return N(s.Provider,{value:{translations:r},children:e})};var Yg={exports:{}},t$=function(t,n){return function(){for(var o=new Array(arguments.length),i=0;i<o.length;i++)o[i]=arguments[i];return t.apply(n,o)}},kF=t$,mo=Object.prototype.toString;function Wg(e){return Array.isArray(e)}function iv(e){return typeof e=="undefined"}function OF(e){return e!==null&&!iv(e)&&e.constructor!==null&&!iv(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function n$(e){return mo.call(e)==="[object ArrayBuffer]"}function DF(e){return mo.call(e)==="[object FormData]"}function LF(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&n$(e.buffer),t}function NF(e){return typeof e=="string"}function MF(e){return typeof e=="number"}function r$(e){return e!==null&&typeof e=="object"}function Wu(e){if(mo.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function FF(e){return mo.call(e)==="[object Date]"}function IF(e){return mo.call(e)==="[object File]"}function jF(e){return mo.call(e)==="[object Blob]"}function o$(e){return mo.call(e)==="[object Function]"}function BF(e){return r$(e)&&o$(e.pipe)}function zF(e){return mo.call(e)==="[object URLSearchParams]"}function VF(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function UF(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function qg(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),Wg(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function av(){var e={};function t(o,i){Wu(e[i])&&Wu(o)?e[i]=av(e[i],o):Wu(o)?e[i]=av({},o):Wg(o)?e[i]=o.slice():e[i]=o}for(var n=0,r=arguments.length;n<r;n++)qg(arguments[n],t);return e}function HF(e,t,n){return qg(t,function(o,i){n&&typeof o=="function"?e[i]=kF(o,n):e[i]=o}),e}function GF(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var Bt={isArray:Wg,isArrayBuffer:n$,isBuffer:OF,isFormData:DF,isArrayBufferView:LF,isString:NF,isNumber:MF,isObject:r$,isPlainObject:Wu,isUndefined:iv,isDate:FF,isFile:IF,isBlob:jF,isFunction:o$,isStream:BF,isURLSearchParams:zF,isStandardBrowserEnv:UF,forEach:qg,merge:av,extend:HF,trim:VF,stripBOM:GF},oi=Bt;function L_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i$=function(t,n,r){if(!n)return t;var o;if(r)o=r(n);else if(oi.isURLSearchParams(n))o=n.toString();else{var i=[];oi.forEach(n,function(l,u){l===null||typeof l=="undefined"||(oi.isArray(l)?u=u+"[]":l=[l],oi.forEach(l,function(f){oi.isDate(f)?f=f.toISOString():oi.isObject(f)&&(f=JSON.stringify(f)),i.push(L_(u)+"="+L_(f))}))}),o=i.join("&")}if(o){var a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},YF=Bt;function $d(){this.handlers=[]}$d.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};$d.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};$d.prototype.forEach=function(t){YF.forEach(this.handlers,function(r){r!==null&&t(r)})};var WF=$d,qF=Bt,KF=function(t,n){qF.forEach(t,function(o,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[i])})},a$=function(t,n,r,o,i){return t.config=n,r&&(t.code=r),t.request=o,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},s$={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},XF=a$,l$=function(t,n,r,o,i){var a=new Error(t);return XF(a,n,r,o,i)},ZF=l$,QF=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(ZF("Request failed with status code "+r.status,r.config,null,r.request,r))},fu=Bt,JF=fu.isStandardBrowserEnv()?function(){return{write:function(n,r,o,i,a,s){var l=[];l.push(n+"="+encodeURIComponent(r)),fu.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),fu.isString(i)&&l.push("path="+i),fu.isString(a)&&l.push("domain="+a),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),eI=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},tI=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},nI=eI,rI=tI,oI=function(t,n){return t&&!nI(n)?rI(t,n):n},Xp=Bt,iI=["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"],aI=function(t){var n={},r,o,i;return t&&Xp.forEach(t.split(`
451
+ `),function(s){if(i=s.indexOf(":"),r=Xp.trim(s.substr(0,i)).toLowerCase(),o=Xp.trim(s.substr(i+1)),r){if(n[r]&&iI.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([o]):n[r]=n[r]?n[r]+", "+o:o}}),n},N_=Bt,sI=N_.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(i){var a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){var s=N_.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function Kg(e){this.message=e}Kg.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Kg.prototype.__CANCEL__=!0;var Td=Kg,du=Bt,lI=QF,uI=JF,cI=i$,fI=oI,dI=aI,pI=sI,Zp=l$,hI=s$,mI=Td,M_=function(t){return new Promise(function(r,o){var i=t.data,a=t.headers,s=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}du.isFormData(i)&&delete a["Content-Type"];var c=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.Authorization="Basic "+btoa(f+":"+p)}var h=fI(t.baseURL,t.url);c.open(t.method.toUpperCase(),cI(h,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function v(){if(!!c){var _="getAllResponseHeaders"in c?dI(c.getAllResponseHeaders()):null,g=!s||s==="text"||s==="json"?c.responseText:c.response,y={data:g,status:c.status,statusText:c.statusText,headers:_,config:t,request:c};lI(function(w){r(w),u()},function(w){o(w),u()},y),c=null}}if("onloadend"in c?c.onloadend=v:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(v)},c.onabort=function(){!c||(o(Zp("Request aborted",t,"ECONNABORTED",c)),c=null)},c.onerror=function(){o(Zp("Network Error",t,null,c)),c=null},c.ontimeout=function(){var g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",y=t.transitional||hI;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),o(Zp(g,t,y.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},du.isStandardBrowserEnv()){var m=(t.withCredentials||pI(h))&&t.xsrfCookieName?uI.read(t.xsrfCookieName):void 0;m&&(a[t.xsrfHeaderName]=m)}"setRequestHeader"in c&&du.forEach(a,function(g,y){typeof i=="undefined"&&y.toLowerCase()==="content-type"?delete a[y]:c.setRequestHeader(y,g)}),du.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),s&&s!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(_){!c||(o(!_||_&&_.type?new mI("canceled"):_),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),i||(i=null),c.send(i)})},ut=Bt,F_=KF,vI=a$,gI=s$,yI={"Content-Type":"application/x-www-form-urlencoded"};function I_(e,t){!ut.isUndefined(e)&&ut.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function xI(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=M_),e}function _I(e,t,n){if(ut.isString(e))try{return(t||JSON.parse)(e),ut.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Pd={transitional:gI,adapter:xI(),transformRequest:[function(t,n){return F_(n,"Accept"),F_(n,"Content-Type"),ut.isFormData(t)||ut.isArrayBuffer(t)||ut.isBuffer(t)||ut.isStream(t)||ut.isFile(t)||ut.isBlob(t)?t:ut.isArrayBufferView(t)?t.buffer:ut.isURLSearchParams(t)?(I_(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ut.isObject(t)||n&&n["Content-Type"]==="application/json"?(I_(n,"application/json"),_I(t)):t}],transformResponse:[function(t){var n=this.transitional||Pd.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||o&&ut.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?vI(a,this,"E_JSON_PARSE"):a}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ut.forEach(["delete","get","head"],function(t){Pd.headers[t]={}});ut.forEach(["post","put","patch"],function(t){Pd.headers[t]=ut.merge(yI)});var Xg=Pd,wI=Bt,bI=Xg,EI=function(t,n,r){var o=this||bI;return wI.forEach(r,function(a){t=a.call(o,t,n)}),t},u$=function(t){return!!(t&&t.__CANCEL__)},j_=Bt,Qp=EI,SI=u$,CI=Xg,AI=Td;function Jp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new AI("canceled")}var $I=function(t){Jp(t),t.headers=t.headers||{},t.data=Qp.call(t,t.data,t.headers,t.transformRequest),t.headers=j_.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),j_.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||CI.adapter;return n(t).then(function(o){return Jp(t),o.data=Qp.call(t,o.data,o.headers,t.transformResponse),o},function(o){return SI(o)||(Jp(t),o&&o.response&&(o.response.data=Qp.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},zt=Bt,c$=function(t,n){n=n||{};var r={};function o(c,f){return zt.isPlainObject(c)&&zt.isPlainObject(f)?zt.merge(c,f):zt.isPlainObject(f)?zt.merge({},f):zt.isArray(f)?f.slice():f}function i(c){if(zt.isUndefined(n[c])){if(!zt.isUndefined(t[c]))return o(void 0,t[c])}else return o(t[c],n[c])}function a(c){if(!zt.isUndefined(n[c]))return o(void 0,n[c])}function s(c){if(zt.isUndefined(n[c])){if(!zt.isUndefined(t[c]))return o(void 0,t[c])}else return o(void 0,n[c])}function l(c){if(c in n)return o(t[c],n[c]);if(c in t)return o(void 0,t[c])}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return zt.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var p=u[f]||i,h=p(f);zt.isUndefined(h)&&p!==l||(r[f]=h)}),r},f$={version:"0.26.1"},TI=f$.version,Zg={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Zg[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var B_={};Zg.transitional=function(t,n,r){function o(i,a){return"[Axios v"+TI+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return function(i,a,s){if(t===!1)throw new Error(o(a," has been removed"+(n?" in "+n:"")));return n&&!B_[a]&&(B_[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function PI(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new TypeError("option "+i+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+i)}}var RI={assertOptions:PI,validators:Zg},d$=Bt,kI=i$,z_=WF,V_=$I,Rd=c$,p$=RI,ii=p$.validators;function _l(e){this.defaults=e,this.interceptors={request:new z_,response:new z_}}_l.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rd(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&p$.assertOptions(r,{silentJSONParsing:ii.transitional(ii.boolean),forcedJSONParsing:ii.transitional(ii.boolean),clarifyTimeoutError:ii.transitional(ii.boolean)},!1);var o=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(i=i&&h.synchronous,o.unshift(h.fulfilled,h.rejected))});var a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});var s;if(!i){var l=[V_,void 0];for(Array.prototype.unshift.apply(l,o),l=l.concat(a),s=Promise.resolve(n);l.length;)s=s.then(l.shift(),l.shift());return s}for(var u=n;o.length;){var c=o.shift(),f=o.shift();try{u=c(u)}catch(p){f(p);break}}try{s=V_(u)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};_l.prototype.getUri=function(t){return t=Rd(this.defaults,t),kI(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};d$.forEach(["delete","get","head","options"],function(t){_l.prototype[t]=function(n,r){return this.request(Rd(r||{},{method:t,url:n,data:(r||{}).data}))}});d$.forEach(["post","put","patch"],function(t){_l.prototype[t]=function(n,r,o){return this.request(Rd(o||{},{method:t,url:n,data:r}))}});var OI=_l,DI=Td;function la(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var n=this;this.promise.then(function(r){if(!!n._listeners){var o,i=n._listeners.length;for(o=0;o<i;o++)n._listeners[o](r);n._listeners=null}}),this.promise.then=function(r){var o,i=new Promise(function(a){n.subscribe(a),o=a}).then(r);return i.cancel=function(){n.unsubscribe(o)},i},e(function(o){n.reason||(n.reason=new DI(o),t(n.reason))})}la.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};la.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};la.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};la.source=function(){var t,n=new la(function(o){t=o});return{token:n,cancel:t}};var LI=la,NI=function(t){return function(r){return t.apply(null,r)}},MI=Bt,FI=function(t){return MI.isObject(t)&&t.isAxiosError===!0},U_=Bt,II=t$,qu=OI,jI=c$,BI=Xg;function h$(e){var t=new qu(e),n=II(qu.prototype.request,t);return U_.extend(n,qu.prototype,t),U_.extend(n,t),n.create=function(o){return h$(jI(e,o))},n}var Un=h$(BI);Un.Axios=qu;Un.Cancel=Td;Un.CancelToken=LI;Un.isCancel=u$;Un.VERSION=f$.version;Un.all=function(t){return Promise.all(t)};Un.spread=NI;Un.isAxiosError=FI;Yg.exports=Un;Yg.exports.default=Un;var m$=Yg.exports;const zI=(e,t)=>m$.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t});var sv;(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"})(sv||(sv={}));const VI="/pois";function Xo(e){this._maxSize=e,this.clear()}Xo.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Xo.prototype.get=function(e){return this._values[e]};Xo.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var UI=/[^.^\]^[]+|(?=\[\]|\.\.)/g,v$=/^\d+$/,HI=/^\d/,GI=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,YI=/^\s*(['"]?)(.*?)(\1)\s*$/,Qg=512,H_=new Xo(Qg),G_=new Xo(Qg),Y_=new Xo(Qg),jo={Cache:Xo,split:lv,normalizePath:eh,setter:function(e){var t=eh(e);return G_.get(e)||G_.set(e,function(r,o){for(var i=0,a=t.length,s=r;i<a-1;){var l=t[i];if(l==="__proto__"||l==="constructor"||l==="prototype")return r;s=s[t[i++]]}s[t[i]]=o})},getter:function(e,t){var n=eh(e);return Y_.get(e)||Y_.set(e,function(o){for(var i=0,a=n.length;i<a;)if(o!=null||!t)o=o[n[i++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(Jg(n)||v$.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){WI(Array.isArray(e)?e:lv(e),t,n)}};function eh(e){return H_.get(e)||H_.set(e,lv(e).map(function(t){return t.replace(YI,"$2")}))}function lv(e){return e.match(UI)||[""]}function WI(e,t,n){var r=e.length,o,i,a,s;for(i=0;i<r;i++)o=e[i],o&&(XI(o)&&(o='"'+o+'"'),s=Jg(o),a=!s&&/^\d+$/.test(o),t.call(n,o,s,a,i,e))}function Jg(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function qI(e){return e.match(HI)&&!e.match(v$)}function KI(e){return GI.test(e)}function XI(e){return!Jg(e)&&(qI(e)||KI(e))}const ZI=/[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,kd=e=>e.match(ZI)||[],Od=e=>e[0].toUpperCase()+e.slice(1),e1=(e,t)=>kd(e).join(t).toLowerCase(),g$=e=>kd(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),QI=e=>Od(g$(e)),JI=e=>e1(e,"_"),ej=e=>e1(e,"-"),tj=e=>Od(e1(e," ")),nj=e=>kd(e).map(Od).join(" ");var th={words:kd,upperFirst:Od,camelCase:g$,pascalCase:QI,snakeCase:JI,kebabCase:ej,sentenceCase:tj,titleCase:nj},t1={exports:{}};t1.exports=function(e){return y$(rj(e),e)};t1.exports.array=y$;function y$(e,t){var n=e.length,r=new Array(n),o={},i=n,a=oj(t),s=ij(e);for(t.forEach(function(u){if(!s.has(u[0])||!s.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)o[i]||l(e[i],i,new Set);return r;function l(u,c,f){if(f.has(u)){var p;try{p=", node was:"+JSON.stringify(u)}catch{p=""}throw new Error("Cyclic dependency"+p)}if(!s.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!o[c]){o[c]=!0;var h=a.get(u)||new Set;if(h=Array.from(h),c=h.length){f.add(u);do{var v=h[--c];l(v,s.get(v),f)}while(c);f.delete(u)}r[--n]=u}}}function rj(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function oj(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function ij(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var aj=t1.exports;const sj=Object.prototype.toString,lj=Error.prototype.toString,uj=RegExp.prototype.toString,cj=typeof Symbol!="undefined"?Symbol.prototype.toString:()=>"",fj=/^Symbol\((.*)\)(.*)$/;function dj(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function W_(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return dj(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return cj.call(e).replace(fj,"Symbol($1)");const r=sj.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+lj.call(e)+"]":r==="RegExp"?uj.call(e):null}function Bo(e,t){let n=W_(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=W_(this[r],t);return i!==null?i:o},2)}function x$(e){return e==null?[]:[].concat(e)}let pj=/\$\{\s*(\w+)\s*\}/g;class Dt extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(pj,(o,i)=>Bo(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],x$(t).forEach(i=>{Dt.isError(i)?(this.errors.push(...i.errors),this.inner=this.inner.concat(i.inner.length?i.inner:i)):this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Dt)}}let qn={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${Bo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Bo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Bo(n,!0)}\``+o}},dn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Er={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"},uv={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},cv={isValue:"${path} field must be ${value}"},fv={noUnknown:"${path} field has unspecified keys: ${unknown}"},Ku={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:qn,string:dn,number:Er,date:uv,object:fv,array:Ku,boolean:cv});const Dd=e=>e&&e.__isYupSchema__;class Kc{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:i}=n,a=typeof r=="function"?r:(...s)=>s.every(l=>l===r);return new Kc(t,(s,l)=>{var u;let c=a(...s)?o:i;return(u=c==null?void 0:c(l))!=null?u:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Dd(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}function hj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const pu={context:"$",value:"."};class tr{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===pu.context,this.isValue=this.key[0]===pu.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?pu.context:this.isValue?pu.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&jo.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}tr.prototype.__isYupRef=!0;const nn=e=>e==null,mj=["value","path","label","options","originalValue","spec","sync"];function ai(e){function t(n,r,o){let{value:i,path:a="",label:s,options:l,originalValue:u,spec:c,sync:f}=n,p=hj(n,mj);const{name:h,test:v,params:m,message:_,skipAbsent:g}=e;let{parent:y,context:x,abortEarly:w=p.schema.spec.abortEarly}=l;function b(j){return tr.isRef(j)?j.getValue(i,y,x):j}function E(j={}){const J=Object.assign({value:i,originalValue:u,label:s,path:j.path||a,spec:c},m,j.params);for(const ie of Object.keys(J))J[ie]=b(J[ie]);const ue=new Dt(Dt.formatError(j.message||_,J),i,J.path,j.type||h);return ue.params=J,ue}const S=w?r:o;let C=Object.assign({path:a,parent:y,type:h,createError:E,resolve:b,options:l,originalValue:u},p);const $=j=>{Dt.isError(j)?S(j):j?o(null):S(E())},P=j=>{Dt.isError(j)?S(j):r(j)},M=g&&nn(i);if(!f){try{Promise.resolve(M?!0:v.call(C,i,C)).then($,P)}catch(j){P(j)}return}let I;try{var B;if(I=M?!0:v.call(C,i,C),typeof((B=I)==null?void 0:B.then)=="function")throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(j){P(j);return}$(I)}return t.OPTIONS=e,t}let vj=e=>e.substr(0,e.length-1).substr(1);function gj(e,t,n,r=n){let o,i,a;return t?(jo.forEach(t,(s,l,u)=>{let c=l?vj(s):s;e=e.resolve({context:r,parent:o,value:n});let f=e.type==="tuple",p=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[p],e=f?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,a=l?"["+s+"]":"."+s}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class Xc{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const t=[];for(const n of this.list)t.push(n);for(const[,n]of this.refs)t.push(n.describe());return t}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(t){return this.toArray().reduce((n,r)=>n.concat(tr.isRef(r)?t(r):r),[])}add(t){tr.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){tr.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new Xc;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}merge(t,n){const r=this.clone();return t.list.forEach(o=>r.add(o)),t.refs.forEach(o=>r.add(o)),n.list.forEach(o=>r.delete(o)),n.refs.forEach(o=>r.delete(o)),r}}function Pi(e,t=new Map){if(Dd(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=Pi(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,Pi(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Pi(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Pi(o,t)}else throw Error(`Unable to clone ${e}`);return n}class qt{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Xc,this._blacklist=new Xc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(qn.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Pi(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(a=>{i.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,i)=>i.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(o&&nn(i))return i;let a=Bo(t),s=Bo(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
452
+
453
+ attempted value: ${a}
454
+ `+(s!==a?`result of cast: ${s}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault()),r}_validate(t,n={},r,o){let{sync:i,path:a,from:s=[],originalValue:l=t,strict:u=this.spec.strict}=n,c=t;u||(c=this._cast(c,Object.assign({assert:!1},n)));let f={value:c,path:a,options:n,originalValue:l,schema:this,label:this.spec.label,spec:this.spec,sync:i,from:s},p=[];for(let h of Object.values(this.internalTests))h&&p.push(h);this.runTests({args:f,value:c,tests:p},r,h=>{if(h.length)return o(h,c);this.runTests({args:f,value:c,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:i,args:a,value:s}=t,l=p=>{o||(o=!0,n(p,s))},u=p=>{o||(o=!0,r(p,s))},c=i.length,f=[];if(!c)return u([]);for(let p=0;p<i.length;p++){const h=i[p];h(a,l,function(m){m&&(f=f.concat(m)),--c<=0&&u(f)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:i,options:a}){const s=t!=null?t:n;if(s==null)throw TypeError("Must include `key` or `index` for nested validations");const l=typeof s=="number";let u=r[s];const c=Object.assign({},a,{strict:!0,parent:r,value:u,originalValue:i[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?`${o||""}[${u?s:`"${s}"`}]`:(o?`${o}.`:"")+t});return(f,p,h)=>this.resolve(c)._validate(u,c,p,h)}validate(t,n){let r=this.resolve(Object.assign({},n,{value:t}));return new Promise((o,i)=>r._validate(t,n,(a,s)=>{Dt.isError(a)&&(a.value=s),i(a)},(a,s)=>{a.length?i(new Dt(a,s)):o(s)}))}validateSync(t,n){let r=this.resolve(Object.assign({},n,{value:t})),o;return r._validate(t,Object.assign({},n,{sync:!0}),(i,a)=>{throw Dt.isError(i)&&(i.value=a),i},(i,a)=>{if(i.length)throw new Dt(i,t);o=a}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Dt.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Dt.isError(r))return!1;throw r}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):Pi(t)}getDefault(t){return this.resolve(t||{})._getDefault()}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=ai({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=ai({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=qn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=qn.notNull){return this.nullability(!1,t)}required(t=qn.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=qn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=ai(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(i||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=x$(t).map(i=>new tr(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new Kc(o,n):Kc.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=ai({message:t,name:"typeError",test(r){return!nn(r)&&!this.schema._typeCheck(r)?this.createError({params:{type:this.schema.type}}):!0}}),n}oneOf(t,n=qn.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=ai({message:n,name:"oneOf",test(o){if(o===void 0)return!0;let i=this.schema._whitelist,a=i.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:i.toArray().join(", "),resolved:a}})}}),r}notOneOf(t,n=qn.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=ai({message:n,name:"notOneOf",test(o){let i=this.schema._blacklist,a=i.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:i.toArray().join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:i,nullable:a}=n.spec;return{meta:o,label:r,optional:i,nullable:a,type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(f=>f.name===l.name)===u)}}}qt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])qt.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:a}=gj(this,t,n,r.context);return a[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])qt.prototype[e]=qt.prototype.oneOf;for(const e of["not","nope"])qt.prototype[e]=qt.prototype.notOneOf;function _$(){return new w$}class w$ extends qt{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(r.spec.coerce&&!r.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=cv.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return nn(n)||n===!0}})}isFalse(t=cv.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return nn(n)||n===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}_$.prototype=w$.prototype;let yj=/^((([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,xj=/^((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,_j=/^(?:[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,wj=e=>nn(e)||e===e.trim(),bj={}.toString();function Vi(){return new b$}class b$ extends qt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===bj?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||qn.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=dn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=dn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=dn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:i}=n:o=n),this.test({name:i||"matches",message:o||dn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=dn.email){return this.matches(yj,{name:"email",message:t,excludeEmptyString:!0})}url(t=dn.url){return this.matches(xj,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=dn.uuid){return this.matches(_j,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=dn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:wj})}lowercase(t=dn.lowercase){return this.transform(n=>nn(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>nn(n)||n===n.toLowerCase()})}uppercase(t=dn.uppercase){return this.transform(n=>nn(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>nn(n)||n===n.toUpperCase()})}}Vi.prototype=b$.prototype;let Ej=e=>e!=+e;function it(){return new E$}class E$ extends qt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!Ej(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)?o:parseFloat(o)})})}min(t,n=Er.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Er.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Er.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Er.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Er.positive){return this.moreThan(0,t)}negative(t=Er.negative){return this.lessThan(0,t)}integer(t=Er.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>nn(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>nn(o)?o:Math[t](o))}}it.prototype=E$.prototype;var Sj=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function Cj(e){var t=[1,4,5,6,7,10,11],n=0,r,o;if(o=Sj.exec(e)){for(var i=0,a;a=t[i];++i)o[a]=+o[a]||0;o[2]=(+o[2]||1)-1,o[3]=+o[3]||1,o[7]=o[7]?String(o[7]).substr(0,3):0,(o[8]===void 0||o[8]==="")&&(o[9]===void 0||o[9]==="")?r=+new Date(o[1],o[2],o[3],o[4],o[5],o[6],o[7]):(o[8]!=="Z"&&o[9]!==void 0&&(n=o[10]*60+o[11],o[9]==="+"&&(n=0-n)),r=Date.UTC(o[1],o[2],o[3],o[4],o[5]+n,o[6],o[7]))}else r=Date.parse?Date.parse(e):NaN;return r}let Aj=new Date(""),$j=e=>Object.prototype.toString.call(e)==="[object Date]";class Ld extends qt{constructor(){super({type:"date",check(t){return $j(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)?t:(t=Cj(t),isNaN(t)?Ld.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(tr.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=uv.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=uv.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Ld.INVALID_DATE=Aj;Ld.prototype;function Tj(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,s])=>`${a}-${s}`));function i(a,s){let l=jo.split(a)[0];r.add(l),o.has(`${s}-${l}`)||n.push([s,l])}for(const a of Object.keys(e)){let s=e[a];r.add(a),tr.isRef(s)&&s.isSibling?i(s.path,a):Dd(s)&&"deps"in s&&s.deps.forEach(l=>i(l,a))}return aj.array(Array.from(r),n).reverse()}function q_(e,t){let n=1/0;return e.some((r,o)=>{var i;if((i=t.path)!=null&&i.includes(r))return n=o,!0}),n}function S$(e){return(t,n)=>q_(e,t)-q_(e,n)}const C$=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function Xu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Xu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Xu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Xu)}):"optional"in e?e.optional():e}const Pj=(e,t)=>{const n=[...jo.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=jo.getter(jo.join(n),!0)(e);return!!(o&&r in o)};let K_=e=>Object.prototype.toString.call(e)==="[object Object]";function Rj(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const kj=S$([]);function Zo(e){return new A$(e)}class A$ extends qt{constructor(t){super({type:"object",check(n){return K_(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=kj,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault();if(!this._typeCheck(o))return o;let i=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(o).filter(f=>!this._nodes.includes(f))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const f of s){let p=i[f],h=f in o;if(p){let v,m=o[f];u.path=(n.path?`${n.path}.`:"")+f,p=p.resolve({value:m,context:n.context,parent:l});let _=p instanceof qt?p.spec:void 0,g=_==null?void 0:_.strict;if(_!=null&&_.strip){c=c||f in o;continue}v=!n.__validating||!g?p.cast(o[f],u):o[f],v!==void 0&&(l[f]=v)}else h&&!a&&(l[f]=o[f]);(h!==f in l||l[f]!==o[f])&&(c=!0)}return c?l:o}_validate(t,n={},r,o){let{from:i=[],originalValue:a=t,recursive:s=this.spec.recursive}=n;n.from=[{schema:this,value:a},...i],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(l,u)=>{if(!s||!K_(u)){o(l,u);return}a=a||u;let c=[];for(let f of this._nodes){let p=this.fields[f];!p||tr.isRef(p)||c.push(p.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:a}))}this.runTests({tests:c,value:u},r,f=>{o(f.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,i]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?i:a}return n.withMutation(o=>o.setFields(r,this._excludedEdges))}_getDefault(){if("default"in this.spec)return super._getDefault();if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{const r=this.fields[n];t[n]="getDefault"in r?r.getDefault():void 0}),t}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=Tj(t,n),r._sortErrors=S$(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return Xu(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n)}omit(t){const n=Object.assign({},this.fields);for(const r of t)delete n[r];return this.setFields(n)}from(t,n,r){let o=jo.getter(t,!0);return this.transform(i=>{if(!i)return i;let a=i;return Pj(i,t)&&(a=Object.assign({},i),r||delete a[t],a[n]=o(i)),a})}json(){return this.transform(C$)}noUnknown(t=!0,n=fv.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const i=Rj(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=fv.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(th.camelCase)}snakeCase(){return this.transformKeys(th.snakeCase)}constantCase(){return this.transformKeys(t=>th.snakeCase(t).toUpperCase())}describe(t){let n=super.describe(t);n.fields={};for(const[o,i]of Object.entries(this.fields)){var r;let a=t;(r=a)!=null&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[o]})),n.fields[o]=i.describe(a)}return n}}Zo.prototype=A$.prototype;function ps(e){return new $$(e)}class $$ extends qt{constructor(t){super({type:"array",check(n){return Array.isArray(n)}}),this.innerType=void 0,this.innerType=t}_cast(t,n){const r=super._cast(t,n);if(!this._typeCheck(r)||!this.innerType)return r;let o=!1;const i=r.map((a,s)=>{const l=this.innerType.cast(a,Object.assign({},n,{path:`${n.path||""}[${s}]`}));return l!==a&&(o=!0),l});return o?i:r}_validate(t,n={},r,o){var i;let a=this.innerType,s=(i=n.recursive)!=null?i:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{if(!s||!a||!this._typeCheck(u)){o(l,u);return}let c=new Array(u.length);for(let p=0;p<u.length;p++){var f;c[p]=a.asNestedTest({options:n,index:p,parent:u,parentPath:n.path,originalParent:(f=n.originalValue)!=null?f:t})}this.runTests({value:u,tests:c},r,p=>o(p.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(C$)}concat(t){let n=super.concat(t);return n.innerType=this.innerType,t.innerType&&(n.innerType=n.innerType?n.innerType.concat(t.innerType):t.innerType),n}of(t){let n=this.clone();if(!Dd(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Bo(t));return n.innerType=t,n}length(t,n=Ku.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n){return n=n||Ku.min,this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n){return n=n||Ku.max,this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,n)=>this._typeCheck(t)?t:n==null?[]:[].concat(n))}compact(t){let n=t?(r,o,i)=>!t(r,o,i):r=>!!r;return this.transform(r=>r!=null?r.filter(n):r)}describe(t){let n=super.describe();if(this.innerType){var r;let o=t;(r=o)!=null&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),n.innerType=this.innerType.describe(t)}return n}}ps.prototype=$$.prototype;const Oj=new RegExp(`(${Object.keys(sv).filter(e=>Number.isNaN(Number(e))).join("|")})`),Dj=Zo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:it().max(30),radius:it().max(25e3),include:ps().of(Vi().matches(Oj,"Must be a valid Score category.").required()).required()});var Lj=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},Nj=e=>t=>Lj(void 0,void 0,void 0,function*(){const n=yield Dj.validate(t),{lat:r,lng:o,limit:i,radius:a,include:s}=n;return(yield e.get(VI,{params:{lat:r,lng:o,limit:i,radius:a,include:s==null?void 0:s.join(",")}})).data.data}),dv;(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"})(dv||(dv={}));const Mj="/scores",Fj=new RegExp(`(${Object.keys(dv).filter(e=>Number.isNaN(Number(e))).join("|")})`),Ij=Zo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:ps().of(Vi().required()),geographyLevels:ps().of(Vi().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:_$(),include:ps().of(Vi().matches(Fj,"Must be a valid Score category.").required())});var jj=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},Bj=e=>t=>jj(void 0,void 0,void 0,function*(){const n=yield Ij.validate(t),{lat:r,lng:o,include:i,geographyIds:a,geographyLevels:s,locationScoresRounding:l=!0}=n;return(yield e.get(Mj,{params:{lat:r,lng:o,include:i==null?void 0:i.join(","),geography_levels:s==null?void 0:s.join(","),geography_ids:a==null?void 0:a.join(","),location_scores_rounding:l?".5":"none"}})).data.data});const zj="/schools",Vj=Zo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:it().max(30,"Must use a limit between 1 and 30."),radius:it().max(25e3,"Must use a radius between 1 and 25000.")});var Uj=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},Hj=e=>t=>Uj(void 0,void 0,void 0,function*(){const n=yield Vj.validate(t),{lat:r,lng:o,limit:i,radius:a}=n;return(yield e.get(zj,{params:{lat:r,lng:o,limit:i,radius:a}})).data.data});const Gj="/profiles",Yj=Zo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:Vi()});var Wj=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},qj=e=>t=>Wj(void 0,void 0,void 0,function*(){const n=yield Yj.validate(t),{lat:r,lng:o,geogId:i}=n;return(yield e.get(Gj,{params:{lat:r,lng:o,geog_id:i}})).data.data});const Kj="/geographies",Xj=Zo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var Zj=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},Qj=e=>t=>Zj(void 0,void 0,void 0,function*(){const n=yield Xj.validate(t),{lat:r,lng:o}=n;return(yield e.get(Kj,{params:{lat:r,lng:o}})).data.data});const Jj="/demographics",eB=Zo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:it().max(5e3)});var tB=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},nB=e=>t=>tB(void 0,void 0,void 0,function*(){const n=yield eB.validate(t),{lat:r,lng:o,radius:i}=n;return(yield e.get(Jj,{params:{lat:r,lng:o,radius:i}})).data.data.attributes});const n1="LocalLogicClient/";class rB extends Error{constructor({message:t}){super(t),this.name=n1+this.constructor.name}}class oB extends Error{constructor({message:t,response:n}){super(t),this.name=n1+this.constructor.name,this.statusCode=n==null?void 0:n.status,this.statusText=n==null?void 0:n.statusText,this.data=n==null?void 0:n.data}}class iB extends Error{constructor({message:t}){super(t),this.name=n1+this.constructor.name}}const X_=e=>{throw e instanceof Dt?new rB(e):m$.isAxiosError(e)?new oB(e):new iB(e)},Sa=(e,t,n)=>{const r=n.value;return n.value=function(...o){try{const i=r.apply(this,o);return i&&i instanceof Promise?i.catch(a=>{X_(a)}):i}catch(i){X_(i)}},n};var Ca=globalThis&&globalThis.__decorate||function(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i};class Qo{constructor(t,n={locale:"en"}){this.requests=zI(t,n),this.options=n}getPois(t){return Nj(this.requests)(t)}getScores(t){return Bj(this.requests)(t)}getSchools(t){return Hj(this.requests)(t)}getProfiles(t){return qj(this.requests)(t)}getGeographies(t){return Qj(this.requests)(t)}getDemographics(t){return nB(this.requests)(t)}}Ca([Sa],Qo.prototype,"getPois",null);Ca([Sa],Qo.prototype,"getScores",null);Ca([Sa],Qo.prototype,"getSchools",null);Ca([Sa],Qo.prototype,"getProfiles",null);Ca([Sa],Qo.prototype,"getGeographies",null);Ca([Sa],Qo.prototype,"getDemographics",null);const aB=(e,t)=>new Qo(e,t);var pv=function(e,t){return pv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},pv(e,t)};function T$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pv(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var H=function(){return H=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},H.apply(this,arguments)};function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function rt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}function Mn(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var sB="production",P$=typeof process=="undefined"||process.env===void 0?sB:"production",Gn=function(e){return{isEnabled:function(t){return e.some(function(n){return!!t[n]})}}},Qs={measureLayout:Gn(["layout","layoutId","drag"]),animation:Gn(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Gn(["exit"]),drag:Gn(["drag","dragControls"]),focus:Gn(["whileFocus"]),hover:Gn(["whileHover","onHoverStart","onHoverEnd"]),tap:Gn(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Gn(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Gn(["whileInView","onViewportEnter","onViewportLeave"])};function lB(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Qs.projectionNodeConstructor=e[t]:Qs[t].Component=e[t])}var uB=function(){},Zc=function(){},R$=d.exports.createContext({strict:!1}),k$=Object.keys(Qs),cB=k$.length;function fB(e,t,n){var r=[],o=d.exports.useContext(R$);if(!t)return null;P$!=="production"&&n&&o.strict;for(var i=0;i<cB;i++){var a=k$[i],s=Qs[a],l=s.isEnabled,u=s.Component;l(e)&&u&&r.push(d.exports.createElement(u,H({key:a},e,{visualElement:t})))}return r}var r1=d.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Nd=d.exports.createContext({});function dB(){return d.exports.useContext(Nd).visualElement}var Md=d.exports.createContext(null),Aa=typeof document!="undefined",Z_=Aa?d.exports.useLayoutEffect:d.exports.useEffect,hv={current:null},O$=!1;function pB(){if(O$=!0,!!Aa)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return hv.current=e.matches};e.addListener(t),t()}else hv.current=!1}function hB(){!O$&&pB();var e=rt(d.exports.useState(hv.current),1),t=e[0];return t}function mB(){var e=hB(),t=d.exports.useContext(r1).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function vB(e,t,n,r){var o=d.exports.useContext(R$),i=dB(),a=d.exports.useContext(Md),s=mB(),l=d.exports.useRef(void 0);r||(r=o.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:s}));var u=l.current;return Z_(function(){u==null||u.syncRender()}),d.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Z_(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Ri(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gB(e,t,n){return d.exports.useCallback(function(r){var o;r&&((o=e.mount)===null||o===void 0||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Ri(n)&&(n.current=r))},[t])}function D$(e){return Array.isArray(e)}function vn(e){return typeof e=="string"||D$(e)}function yB(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.get()}),t}function xB(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.getVelocity()}),t}function L$(e,t,n,r,o){var i;return r===void 0&&(r={}),o===void 0&&(o={}),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,o)),typeof t=="string"&&(t=(i=e.variants)===null||i===void 0?void 0:i[t]),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,o)),t}function Fd(e,t,n){var r=e.getProps();return L$(r,t,n!=null?n:r.custom,yB(e),xB(e))}function Id(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||vn(e.initial)||vn(e.animate)||vn(e.whileHover)||vn(e.whileDrag)||vn(e.whileTap)||vn(e.whileFocus)||vn(e.exit)}function N$(e){return Boolean(Id(e)||e.variants)}function _B(e,t){if(Id(e)){var n=e.initial,r=e.animate;return{initial:n===!1||vn(n)?n:void 0,animate:vn(r)?r:void 0}}return e.inherit!==!1?t:{}}function wB(e){var t=_B(e,d.exports.useContext(Nd)),n=t.initial,r=t.animate;return d.exports.useMemo(function(){return{initial:n,animate:r}},[Q_(n),Q_(r)])}function Q_(e){return Array.isArray(e)?e.join(" "):e}function jd(e){var t=d.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}var hs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},bB=1;function EB(){return jd(function(){if(hs.hasEverUpdated)return bB++})}var M$=d.exports.createContext({}),F$=d.exports.createContext({});function SB(e,t,n,r){var o,i=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=d.exports.useContext(F$);!r||!n||(n==null?void 0:n.projection)||(n.projection=new r(e,n.getLatestValues(),(o=n.parent)===null||o===void 0?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(s)||l&&Ri(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var CB=function(e){T$(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var n=this.props,r=n.visualElement,o=n.props;r&&r.setProps(o)},t.prototype.render=function(){return this.props.children},t}(te.Component);function AB(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;t&&lB(t);function s(l,u){var c=$B(l);l=H(H({},l),{layoutId:c});var f=d.exports.useContext(r1),p=null,h=wB(l),v=f.isStatic?void 0:EB(),m=i(l,f.isStatic);return!f.isStatic&&Aa&&(h.visualElement=vB(a,m,H(H({},f),l),n),SB(v,l,h.visualElement,r||Qs.projectionNodeConstructor),p=fB(l,h.visualElement,t)),d.exports.createElement(CB,{visualElement:h.visualElement,props:H(H({},f),l)},p,d.exports.createElement(Nd.Provider,{value:h},o(a,l,v,gB(m,h.visualElement,u),m,f.isStatic,h.visualElement)))}return d.exports.forwardRef(s)}function $B(e){var t,n=e.layoutId,r=(t=d.exports.useContext(M$))===null||t===void 0?void 0:t.id;return r&&n!==void 0?r+"-"+n:n}function TB(e){function t(r,o){return o===void 0&&(o={}),AB(e(r,o))}if(typeof Proxy=="undefined")return t;var n=new Map;return new Proxy(t,{get:function(r,o){return n.has(o)||n.set(o,t(o)),n.get(o)}})}var PB=["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 o1(e){return typeof e!="string"||e.includes("-")?!1:!!(PB.indexOf(e)>-1||/[A-Z]/.test(e))}var Qc={};function RB(e){Object.assign(Qc,e)}var mv=["","X","Y","Z"],kB=["translate","scale","rotate","skew"],Js=["transformPerspective","x","y","z"];kB.forEach(function(e){return mv.forEach(function(t){return Js.push(e+t)})});function OB(e,t){return Js.indexOf(e)-Js.indexOf(t)}var DB=new Set(Js);function wl(e){return DB.has(e)}var LB=new Set(["originX","originY","originZ"]);function I$(e){return LB.has(e)}function j$(e,t){var n=t.layout,r=t.layoutId;return wl(e)||I$(e)||(n||r!==void 0)&&(!!Qc[e]||e==="opacity")}var lr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},NB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function MB(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=a===void 0?!0:a,l=t.allowTransformNone,u=l===void 0?!0:l,c="";i.sort(OB);for(var f=!1,p=i.length,h=0;h<p;h++){var v=i[h];c+="".concat(NB[v]||v,"(").concat(o[v],") "),v==="z"&&(f=!0)}return!f&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}function FB(e){var t=e.originX,n=t===void 0?"50%":t,r=e.originY,o=r===void 0?"50%":r,i=e.originZ,a=i===void 0?0:i;return"".concat(n," ").concat(o," ").concat(a)}function B$(e){return e.startsWith("--")}var IB=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const z$=(e,t)=>n=>Math.max(Math.min(n,t),e),ms=e=>e%1?Number(e.toFixed(5)):e,el=/(-)?([\d]*\.?[\d])+/g,vv=/(#[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,jB=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function bl(e){return typeof e=="string"}const Jo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vs=Object.assign(Object.assign({},Jo),{transform:z$(0,1)}),hu=Object.assign(Object.assign({},Jo),{default:1}),El=e=>({test:t=>bl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Sr=El("deg"),Fn=El("%"),oe=El("px"),BB=El("vh"),zB=El("vw"),J_=Object.assign(Object.assign({},Fn),{parse:e=>Fn.parse(e)/100,transform:e=>Fn.transform(e*100)}),i1=(e,t)=>n=>Boolean(bl(n)&&jB.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),V$=(e,t,n)=>r=>{if(!bl(r))return r;const[o,i,a,s]=r.match(el);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Lo={test:i1("hsl","hue"),parse:V$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Fn.transform(ms(t))+", "+Fn.transform(ms(n))+", "+ms(vs.transform(r))+")"},VB=z$(0,255),nh=Object.assign(Object.assign({},Jo),{transform:e=>Math.round(VB(e))}),jr={test:i1("rgb","red"),parse:V$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+nh.transform(e)+", "+nh.transform(t)+", "+nh.transform(n)+", "+ms(vs.transform(r))+")"};function UB(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const gv={test:i1("#"),parse:UB,transform:jr.transform},Et={test:e=>jr.test(e)||gv.test(e)||Lo.test(e),parse:e=>jr.test(e)?jr.parse(e):Lo.test(e)?Lo.parse(e):gv.parse(e),transform:e=>bl(e)?e:e.hasOwnProperty("red")?jr.transform(e):Lo.transform(e)},U$="${c}",H$="${n}";function HB(e){var t,n,r,o;return isNaN(e)&&bl(e)&&((n=(t=e.match(el))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((o=(r=e.match(vv))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0}function G$(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(vv);r&&(n=r.length,e=e.replace(vv,U$),t.push(...r.map(Et.parse)));const o=e.match(el);return o&&(e=e.replace(el,H$),t.push(...o.map(Jo.parse))),{values:t,numColors:n,tokenised:e}}function Y$(e){return G$(e).values}function W$(e){const{values:t,numColors:n,tokenised:r}=G$(e),o=t.length;return i=>{let a=r;for(let s=0;s<o;s++)a=a.replace(s<n?U$:H$,s<n?Et.transform(i[s]):ms(i[s]));return a}}const GB=e=>typeof e=="number"?0:e;function YB(e){const t=Y$(e);return W$(e)(t.map(GB))}const ur={test:HB,parse:Y$,createTransformer:W$,getAnimatableNone:YB},WB=new Set(["brightness","contrast","saturate","opacity"]);function qB(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(el)||[];if(!r)return e;const o=n.replace(r,"");let i=WB.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const KB=/([a-z-]*)\(.*?\)/g,yv=Object.assign(Object.assign({},ur),{getAnimatableNone:e=>{const t=e.match(KB);return t?t.map(qB).join(" "):e}});var ew=H(H({},Jo),{transform:Math.round}),q$={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:Sr,rotateX:Sr,rotateY:Sr,rotateZ:Sr,scale:hu,scaleX:hu,scaleY:hu,scaleZ:hu,skew:Sr,skewX:Sr,skewY:Sr,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:vs,originX:J_,originY:J_,originZ:oe,zIndex:ew,fillOpacity:vs,strokeOpacity:vs,numOctaves:ew};function a1(e,t,n,r){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,f=!1,p=!0;for(var h in t){var v=t[h];if(B$(h)){a[h]=v;continue}var m=q$[h],_=IB(v,m);if(wl(h)){if(c=!0,s[h]=_,l.push(h),!p)continue;v!==((o=m.default)!==null&&o!==void 0?o:0)&&(p=!1)}else I$(h)?(u[h]=_,f=!0):i[h]=_}c?i.transform=MB(e,n,p,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),f&&(i.transformOrigin=FB(u))}var s1=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function K$(e,t,n){for(var r in t)!lr(t[r])&&!j$(r,n)&&(e[r]=t[r])}function XB(e,t,n){var r=e.transformTemplate;return d.exports.useMemo(function(){var o=s1();a1(o,t,{enableHardwareAcceleration:!n},r);var i=o.vars,a=o.style;return H(H({},i),a)},[t])}function ZB(e,t,n){var r=e.style||{},o={};return K$(o,r,e),Object.assign(o,XB(e,t,n)),e.transformValues&&(o=e.transformValues(o)),o}function QB(e,t,n){var r={},o=ZB(e,t,n);return Boolean(e.drag)&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),r.style=o,r}var JB=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 Jc(e){return JB.has(e)}var X$=function(e){return!Jc(e)};function ez(e){!e||(X$=function(t){return t.startsWith("on")?!Jc(t):e(t)})}try{ez(require("@emotion/is-prop-valid").default)}catch{}function tz(e,t,n){var r={};for(var o in e)(X$(o)||n===!0&&Jc(o)||!t&&!Jc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function tw(e,t,n){return typeof e=="string"?e:oe.transform(t+n*e)}function nz(e,t,n){var r=tw(t,e.x,e.width),o=tw(n,e.y,e.height);return"".concat(r," ").concat(o)}var rz={offset:"stroke-dashoffset",array:"stroke-dasharray"},oz={offset:"strokeDashoffset",array:"strokeDasharray"};function iz(e,t,n,r,o){n===void 0&&(n=1),r===void 0&&(r=0),o===void 0&&(o=!0),e.pathLength=1;var i=o?rz:oz;e[i.offset]=oe.transform(-r);var a=oe.transform(t),s=oe.transform(n);e[i.array]="".concat(a," ").concat(s)}function l1(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,f=t.pathOffset,p=f===void 0?0:f,h=ln(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);a1(e,h,n,r),e.attrs=e.style,e.style={};var v=e.attrs,m=e.style,_=e.dimensions;v.transform&&(_&&(m.transform=v.transform),delete v.transform),_&&(a!==void 0||s!==void 0||m.transform)&&(m.transformOrigin=nz(_,a!==void 0?a:.5,s!==void 0?s:.5)),o!==void 0&&(v.x=o),i!==void 0&&(v.y=i),l!==void 0&&iz(v,l,c,p,!1)}var Z$=function(){return H(H({},s1()),{attrs:{}})};function az(e,t){var n=d.exports.useMemo(function(){var o=Z$();return l1(o,t,{enableHardwareAcceleration:!1},e.transformTemplate),H(H({},o.attrs),{style:H({},o.style)})},[t]);if(e.style){var r={};K$(r,e.style,e),n.style=H(H({},r),n.style)}return n}function sz(e){e===void 0&&(e=!1);var t=function(n,r,o,i,a,s){var l=a.latestValues,u=o1(n)?az:QB,c=u(r,l,s),f=tz(r,typeof n=="string",e),p=H(H(H({},f),c),{ref:i});return o&&(p["data-projection-id"]=o),d.exports.createElement(n,p)};return t}var lz=/([a-z])([A-Z])/g,uz="$1-$2",Q$=function(e){return e.replace(lz,uz).toLowerCase()};function J$(e,t,n,r){var o=t.style,i=t.vars;Object.assign(e.style,o,r&&r.getProjectionStyles(n));for(var a in i)e.style.setProperty(a,i[a])}var e5=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function t5(e,t,n,r){J$(e,t,void 0,r);for(var o in t.attrs)e.setAttribute(e5.has(o)?o:Q$(o),t.attrs[o])}function u1(e){var t=e.style,n={};for(var r in t)(lr(t[r])||j$(r,e))&&(n[r]=t[r]);return n}function n5(e){var t=u1(e);for(var n in e)if(lr(e[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function c1(e){return typeof e=="object"&&typeof e.start=="function"}var tl=function(e){return Array.isArray(e)},cz=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},r5=function(e){return tl(e)?e[e.length-1]||0:e};function Zu(e){var t=lr(e)?e.get():e;return cz(t)?t.toValue():t}function nw(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:fz(t,n,r,o),renderState:i()};return a&&(s.mount=function(l){return a(t,l,s)}),s}var o5=function(e){return function(t,n){var r=d.exports.useContext(Nd),o=d.exports.useContext(Md);return n?nw(e,t,r,o):jd(function(){return nw(e,t,r,o)})}};function fz(e,t,n,r){var o={},i=(n==null?void 0:n.initial)===!1,a=r(e);for(var s in a)o[s]=Zu(a[s]);var l=e.initial,u=e.animate,c=Id(e),f=N$(e);t&&f&&!c&&e.inherit!==!1&&(l!=null||(l=t.initial),u!=null||(u=t.animate));var p=i||l===!1,h=p?u:l;if(h&&typeof h!="boolean"&&!c1(h)){var v=Array.isArray(h)?h:[h];v.forEach(function(m){var _=L$(e,m);if(!!_){var g=_.transitionEnd;_.transition;var y=ln(_,["transitionEnd","transition"]);for(var x in y){var w=y[x];if(Array.isArray(w)){var b=p?w.length-1:0;w=w[b]}w!==null&&(o[x]=w)}for(var x in g)o[x]=g[x]}})}return o}var dz={useVisualState:o5({scrapeMotionValuesFromProps:n5,createRenderState:Z$,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}l1(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),t5(t,r)}})},pz={useVisualState:o5({scrapeMotionValuesFromProps:u1,createRenderState:s1})};function hz(e,t,n,r,o){var i=t.forwardMotionProps,a=i===void 0?!1:i,s=o1(e)?dz:pz;return H(H({},s),{preloadedFeatures:n,useRender:sz(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}var Oe;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Oe||(Oe={}));function Bd(e,t,n,r){return r===void 0&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function xv(e,t,n,r){d.exports.useEffect(function(){var o=e.current;if(n&&o)return Bd(o,t,n,r)},[e,t,n,r])}function mz(e){var t=e.whileFocus,n=e.visualElement,r=function(){var i;(i=n.animationState)===null||i===void 0||i.setActive(Oe.Focus,!0)},o=function(){var i;(i=n.animationState)===null||i===void 0||i.setActive(Oe.Focus,!1)};xv(n,"focus",t?r:void 0),xv(n,"blur",t?o:void 0)}function i5(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function a5(e){var t=!!e.touches;return t}function vz(e){return function(t){var n=t instanceof MouseEvent,r=!n||n&&t.button===0;r&&e(t)}}var gz={pageX:0,pageY:0};function yz(e,t){t===void 0&&(t="page");var n=e.touches[0]||e.changedTouches[0],r=n||gz;return{x:r[t+"X"],y:r[t+"Y"]}}function xz(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function f1(e,t){return t===void 0&&(t="page"),{point:a5(e)?yz(e,t):xz(e,t)}}var s5=function(e,t){t===void 0&&(t=!1);var n=function(r){return e(r,f1(r))};return t?vz(n):n},_z=function(){return Aa&&window.onpointerdown===null},wz=function(){return Aa&&window.ontouchstart===null},bz=function(){return Aa&&window.onmousedown===null},Ez={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Sz={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function l5(e){return _z()?e:wz()?Sz[e]:bz()?Ez[e]:e}function Ui(e,t,n,r){return Bd(e,l5(t),s5(n,t==="pointerdown"),r)}function ef(e,t,n,r){return xv(e,l5(t),n&&s5(n,t==="pointerdown"),r)}function u5(e){var t=null;return function(){var n=function(){t=null};return t===null?(t=e,n):!1}}var rw=u5("dragHorizontal"),ow=u5("dragVertical");function c5(e){var t=!1;if(e==="y")t=ow();else if(e==="x")t=rw();else{var n=rw(),r=ow();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function f5(){var e=c5(!0);return e?(e(),!1):!0}function iw(e,t,n){return function(r,o){var i;!i5(r)||f5()||((i=e.animationState)===null||i===void 0||i.setActive(Oe.Hover,t),n==null||n(r,o))}}function Cz(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;ef(o,"pointerenter",t||r?iw(o,!0,t):void 0,{passive:!t}),ef(o,"pointerleave",n||r?iw(o,!1,n):void 0,{passive:!n})}var d5=function(e,t){return t?e===t?!0:d5(e,t.parentElement):!1};function p5(e){return d.exports.useEffect(function(){return function(){return e()}},[])}const tf=(e,t,n)=>Math.min(Math.max(n,e),t),rh=.001,Az=.01,aw=10,$z=.05,Tz=1;function Pz({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;uB(e<=aw*1e3);let a=1-t;a=tf($z,Tz,a),e=tf(Az,aw,e/1e3),a<1?(o=u=>{const c=u*a,f=c*e,p=c-n,h=_v(u,a),v=Math.exp(-f);return rh-p/h*v},i=u=>{const f=u*a*e,p=f*n+n,h=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-f),m=_v(Math.pow(u,2),a);return(-o(u)+rh>0?-1:1)*((p-h)*v)/m}):(o=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-rh+c*f},i=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const s=5/e,l=kz(o,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const Rz=12;function kz(e,t,n){let r=n;for(let o=1;o<Rz;o++)r=r-e(r)/t(r);return r}function _v(e,t){return e*Math.sqrt(1-t*t)}const Oz=["duration","bounce"],Dz=["stiffness","damping","mass"];function sw(e,t){return t.some(n=>e[n]!==void 0)}function Lz(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!sw(e,Dz)&&sw(e,Oz)){const n=Pz(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function d1(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=ln(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:p}=Lz(i),h=lw,v=lw;function m(){const _=c?-(c/1e3):0,g=n-t,y=l/(2*Math.sqrt(s*u)),x=Math.sqrt(s/u)/1e3;if(o===void 0&&(o=Math.min(Math.abs(n-t)/100,.4)),y<1){const w=_v(x,y);h=b=>{const E=Math.exp(-y*x*b);return n-E*((_+y*x*g)/w*Math.sin(w*b)+g*Math.cos(w*b))},v=b=>{const E=Math.exp(-y*x*b);return y*x*E*(Math.sin(w*b)*(_+y*x*g)/w+g*Math.cos(w*b))-E*(Math.cos(w*b)*(_+y*x*g)-w*g*Math.sin(w*b))}}else if(y===1)h=w=>n-Math.exp(-x*w)*(g+(_+x*g)*w);else{const w=x*Math.sqrt(y*y-1);h=b=>{const E=Math.exp(-y*x*b),S=Math.min(w*b,300);return n-E*((_+y*x*g)*Math.sinh(S)+w*g*Math.cosh(S))/w}}}return m(),{next:_=>{const g=h(_);if(p)a.done=_>=f;else{const y=v(_)*1e3,x=Math.abs(y)<=r,w=Math.abs(n-g)<=o;a.done=x&&w}return a.value=a.done?n:g,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}d1.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const lw=e=>0,nl=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ye=(e,t,n)=>-n*e+n*t+e;function oh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function uw({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,a=0;if(!t)o=i=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=oh(l,s,e+1/3),i=oh(l,s,e),a=oh(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}const Nz=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Mz=[gv,jr,Lo],cw=e=>Mz.find(t=>t.test(e)),h5=(e,t)=>{let n=cw(e),r=cw(t),o=n.parse(e),i=r.parse(t);n===Lo&&(o=uw(o),n=jr),r===Lo&&(i=uw(i),r=jr);const a=Object.assign({},o);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Nz(o[l],i[l],s));return a.alpha=Ye(o.alpha,i.alpha,s),n.transform(a)}},wv=e=>typeof e=="number",Fz=(e,t)=>n=>t(e(n)),zd=(...e)=>e.reduce(Fz);function m5(e,t){return wv(e)?n=>Ye(e,t,n):Et.test(e)?h5(e,t):g5(e,t)}const v5=(e,t)=>{const n=[...e],r=n.length,o=e.map((i,a)=>m5(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}},Iz=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=m5(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}};function fw(e){const t=ur.parse(e),n=t.length;let r=0,o=0,i=0;for(let a=0;a<n;a++)r||typeof t[a]=="number"?r++:t[a].hue!==void 0?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}const g5=(e,t)=>{const n=ur.createTransformer(t),r=fw(e),o=fw(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?zd(v5(r.parsed,o.parsed),n):a=>`${a>0?t:e}`},jz=(e,t)=>n=>Ye(e,t,n);function Bz(e){if(typeof e=="number")return jz;if(typeof e=="string")return Et.test(e)?h5:g5;if(Array.isArray(e))return v5;if(typeof e=="object")return Iz}function zz(e,t,n){const r=[],o=n||Bz(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=o(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]:t;s=zd(l,s)}r.push(s)}return r}function Vz([e,t],[n]){return r=>n(nl(e,t,r))}function Uz(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let l=1;for(;l<n&&!(e[l]>o||l===r);l++);i=l-1}const s=nl(e[i],e[i+1],o);return t[i](s)}}function y5(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;Zc(i===t.length),Zc(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=zz(t,r,o),s=i===2?Vz(e,a):Uz(e,a);return n?l=>s(tf(e[0],e[i-1],l)):s}const Vd=e=>t=>1-e(1-t),p1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hz=e=>t=>Math.pow(t,e),x5=e=>t=>t*t*((e+1)*t-e),Gz=e=>{const t=x5(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},_5=1.525,Yz=4/11,Wz=8/11,qz=9/10,h1=e=>e,m1=Hz(2),Kz=Vd(m1),w5=p1(m1),b5=e=>1-Math.sin(Math.acos(e)),v1=Vd(b5),Xz=p1(v1),g1=x5(_5),Zz=Vd(g1),Qz=p1(g1),Jz=Gz(_5),eV=4356/361,tV=35442/1805,nV=16061/1805,nf=e=>{if(e===1||e===0)return e;const t=e*e;return e<Yz?7.5625*t:e<Wz?9.075*t-9.9*e+3.4:e<qz?eV*t-tV*e+nV:10.8*e*e-20.52*e+10.72},rV=Vd(nf),oV=e=>e<.5?.5*(1-nf(1-e*2)):.5*nf(e*2-1)+.5;function iV(e,t){return e.map(()=>t||w5).splice(0,e.length-1)}function aV(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function sV(e,t){return e.map(n=>n*t)}function Qu({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=sV(r&&r.length===a.length?r:aV(a),o);function l(){return y5(s,a,{ease:Array.isArray(n)?n:iV(a,n)})}let u=l();return{next:c=>(i.value=u(c),i.done=c>=o,i),flipTarget:()=>{a.reverse(),u=l()}}}function lV({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=i===void 0?l:i(l);return u!==l&&(s=u-t),{next:c=>{const f=-s*Math.exp(-c/r);return a.done=!(f>o||f<-o),a.value=a.done?u:u+f,a},flipTarget:()=>{}}}const dw={keyframes:Qu,spring:d1,decay:lV};function uV(e){if(Array.isArray(e.to))return Qu;if(dw[e.type])return dw[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Qu:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?d1:Qu}const E5=1/60*1e3,cV=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),S5=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cV()),E5);function fV(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const f=c&&o,p=f?t:n;return u&&a.add(l),p.indexOf(l)===-1&&(p.push(l),f&&o&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u<r;u++){const c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}o=!1,i&&(i=!1,s.process(l))}};return s}const dV=40;let bv=!0,rl=!1,Ev=!1;const Hi={delta:0,timestamp:0},Sl=["read","update","preRender","render","postRender"],Ud=Sl.reduce((e,t)=>(e[t]=fV(()=>rl=!0),e),{}),In=Sl.reduce((e,t)=>{const n=Ud[t];return e[t]=(r,o=!1,i=!1)=>(rl||hV(),n.schedule(r,o,i)),e},{}),ua=Sl.reduce((e,t)=>(e[t]=Ud[t].cancel,e),{}),ih=Sl.reduce((e,t)=>(e[t]=()=>Ud[t].process(Hi),e),{}),pV=e=>Ud[e].process(Hi),C5=e=>{rl=!1,Hi.delta=bv?E5:Math.max(Math.min(e-Hi.timestamp,dV),1),Hi.timestamp=e,Ev=!0,Sl.forEach(pV),Ev=!1,rl&&(bv=!1,S5(C5))},hV=()=>{rl=!0,bv=!0,Ev||S5(C5)},rf=()=>Hi;function A5(e,t,n=0){return e-t-n}function mV(e,t,n=0,r=!0){return r?A5(t+-e,t,n):t-(e-t)+n}function vV(e,t,n,r){return r?e>=t+n:e<=-n}const gV=e=>{const t=({delta:n})=>e(n);return{start:()=>In.update(t,!0),stop:()=>ua.update(t)}};function $5(e){var t,n,{from:r,autoplay:o=!0,driver:i=gV,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:p,onRepeat:h,onUpdate:v}=e,m=ln(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:_}=m,g,y=0,x=m.duration,w,b=!1,E=!0,S;const C=uV(m);!((n=(t=C).needsInterpolation)===null||n===void 0)&&n.call(t,r,_)&&(S=y5([0,100],[r,_],{clamp:!1}),r=0,_=100);const $=C(Object.assign(Object.assign({},m),{from:r,to:_}));function P(){y++,l==="reverse"?(E=y%2===0,a=mV(a,x,u,E)):(a=A5(a,x,u),l==="mirror"&&$.flipTarget()),b=!1,h&&h()}function M(){g.stop(),p&&p()}function I(j){if(E||(j=-j),a+=j,!b){const J=$.next(Math.max(0,a));w=J.value,S&&(w=S(w)),b=E?J.done:a<=0}v==null||v(w),b&&(y===0&&(x!=null||(x=a)),y<s?vV(a,x,u,E)&&P():M())}function B(){c==null||c(),g=i(I),g.start()}return o&&B(),{stop:()=>{f==null||f(),g.stop()}}}function T5(e,t){return t?e*(1e3/t):0}function yV({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:p,onStop:h}){let v;function m(x){return n!==void 0&&x<n||r!==void 0&&x>r}function _(x){return n===void 0?r:r===void 0||Math.abs(n-x)<Math.abs(r-x)?n:r}function g(x){v==null||v.stop(),v=$5(Object.assign(Object.assign({},x),{driver:c,onUpdate:w=>{var b;f==null||f(w),(b=x.onUpdate)===null||b===void 0||b.call(x,w)},onComplete:p,onStop:h}))}function y(x){g(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},x))}if(m(e))y({from:e,velocity:t,to:_(e)});else{let x=o*t+e;typeof u!="undefined"&&(x=u(x));const w=_(x),b=w===n?-1:1;let E,S;const C=$=>{E=S,S=$,t=T5($-E,rf().delta),(b===1&&$>w||b===-1&&$<w)&&y({from:$,to:w,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:l,modifyTarget:u,onUpdate:m(x)?C:void 0})}return{stop:()=>v==null?void 0:v.stop()}}const Sv=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),pw=e=>Sv(e)&&e.hasOwnProperty("z"),mu=(e,t)=>Math.abs(e-t);function P5(e,t){if(wv(e)&&wv(t))return mu(e,t);if(Sv(e)&&Sv(t)){const n=mu(e.x,t.x),r=mu(e.y,t.y),o=pw(e)&&pw(t)?mu(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}const R5=(e,t)=>1-3*t+3*e,k5=(e,t)=>3*t-6*e,O5=e=>3*e,of=(e,t,n)=>((R5(t,n)*e+k5(t,n))*e+O5(t))*e,D5=(e,t,n)=>3*R5(t,n)*e*e+2*k5(t,n)*e+O5(t),xV=1e-7,_V=10;function wV(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=of(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>xV&&++s<_V);return a}const bV=8,EV=.001;function SV(e,t,n,r){for(let o=0;o<bV;++o){const i=D5(t,n,r);if(i===0)return t;t-=(of(t,n,r)-e)/i}return t}const Ju=11,vu=1/(Ju-1);function CV(e,t,n,r){if(e===t&&n===r)return h1;const o=new Float32Array(Ju);for(let a=0;a<Ju;++a)o[a]=of(a*vu,e,n);function i(a){let s=0,l=1;const u=Ju-1;for(;l!==u&&o[l]<=a;++l)s+=vu;--l;const c=(a-o[l])/(o[l+1]-o[l]),f=s+c*vu,p=D5(f,e,n);return p>=EV?SV(a,f,e,n):p===0?f:wV(a,s,s+vu,e,n)}return a=>a===0||a===1?a:of(i(a),t,r)}function AV(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,s=d.exports.useRef(!1),l=d.exports.useRef(null),u={passive:!(n||t||r||v)};function c(){var m;(m=l.current)===null||m===void 0||m.call(l),l.current=null}function f(){var m;return c(),s.current=!1,(m=i.animationState)===null||m===void 0||m.setActive(Oe.Tap,!1),!f5()}function p(m,_){!f()||(d5(i.getInstance(),m.target)?t==null||t(m,_):r==null||r(m,_))}function h(m,_){!f()||r==null||r(m,_)}function v(m,_){var g;c(),!s.current&&(s.current=!0,l.current=zd(Ui(window,"pointerup",p,u),Ui(window,"pointercancel",h,u)),(g=i.animationState)===null||g===void 0||g.setActive(Oe.Tap,!0),n==null||n(m,_))}ef(i,"pointerdown",a?v:void 0,u),p5(c)}var hw=new Set;function $V(e,t,n){e||hw.has(t)||(console.warn(t),n&&console.warn(n),hw.add(t))}var Cv=new WeakMap,ah=new WeakMap,TV=function(e){var t;(t=Cv.get(e.target))===null||t===void 0||t(e)},PV=function(e){e.forEach(TV)};function RV(e){var t=e.root,n=ln(e,["root"]),r=t||document;ah.has(r)||ah.set(r,{});var o=ah.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(PV,H({root:t},n))),o[i]}function kV(e,t,n){var r=RV(t);return Cv.set(e,n),r.observe(e),function(){Cv.delete(e),r.unobserve(e)}}function OV(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=i===void 0?{}:i,s=d.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||o);a.once&&s.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver=="undefined"?NV:LV;u(l,s.current,t,a)}var DV={some:0,all:1};function LV(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,s=a===void 0?"some":a,l=r.once;d.exports.useEffect(function(){if(!!e){var u={root:o==null?void 0:o.current,rootMargin:i,threshold:typeof s=="number"?s:DV[s]},c=function(f){var p,h=f.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(l&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(p=n.animationState)===null||p===void 0||p.setActive(Oe.InView,h);var v=n.getProps(),m=h?v.onViewportEnter:v.onViewportLeave;m==null||m(f)}};return kV(n.getInstance(),u,c)}},[e,o,i,s])}function NV(e,t,n,r){var o=r.fallback,i=o===void 0?!0:o;d.exports.useEffect(function(){!e||!i||(P$!=="production"&&$V(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var s=n.getProps().onViewportEnter;s==null||s(null),(a=n.animationState)===null||a===void 0||a.setActive(Oe.InView,!0)}))},[e])}var Br=function(e){return function(t){return e(t),null}},MV={inView:Br(OV),tap:Br(AV),focus:Br(mz),hover:Br(Cz)},FV=0,IV=function(){return FV++},jV=function(){return jd(IV)};function L5(){var e=d.exports.useContext(Md);if(e===null)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=jV();d.exports.useEffect(function(){return r(o)},[]);var i=function(){return n==null?void 0:n(o)};return!t&&n?[!1,i]:[!0]}function N5(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 af=function(e){return e*1e3},BV={linear:h1,easeIn:m1,easeInOut:w5,easeOut:Kz,circIn:b5,circInOut:Xz,circOut:v1,backIn:g1,backInOut:Qz,backOut:Zz,anticipate:Jz,bounceIn:rV,bounceInOut:oV,bounceOut:nf},mw=function(e){if(Array.isArray(e)){Zc(e.length===4);var t=rt(e,4),n=t[0],r=t[1],o=t[2],i=t[3];return CV(n,r,o,i)}else if(typeof e=="string")return BV[e];return e},zV=function(e){return Array.isArray(e)&&typeof e[0]!="number"},vw=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&ur.test(t)&&!t.startsWith("url("))},wo=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},gu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},sh=function(){return{type:"keyframes",ease:"linear",duration:.3}},VV=function(e){return{type:"keyframes",duration:.8,values:e}},gw={x:wo,y:wo,z:wo,rotate:wo,rotateX:wo,rotateY:wo,rotateZ:wo,scaleX:gu,scaleY:gu,scale:gu,opacity:sh,backgroundColor:sh,color:sh,default:gu},UV=function(e,t){var n;return tl(t)?n=VV:n=gw[e]||gw.default,H({to:t},n(t))},HV=H(H({},q$),{color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:yv,WebkitFilter:yv}),y1=function(e){return HV[e]};function x1(e,t){var n,r=y1(e);return r!==yv&&(r=ur),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}var GV={current:!1};function YV(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=ln(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function WV(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=ln(e,["ease","times","yoyo","flip","loop"]),s=H({},a);return n&&(s.offset=n),a.duration&&(s.duration=af(a.duration)),a.repeatDelay&&(s.repeatDelay=af(a.repeatDelay)),t&&(s.ease=zV(t)?t.map(mw):mw(t)),a.type==="tween"&&(s.type="keyframes"),(r||i||o)&&(r?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||r||o||a.repeat),a.type!=="spring"&&(s.type="keyframes"),s}function qV(e,t){var n,r,o=_1(e,t)||{};return(r=(n=o.delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function KV(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Mn([],rt(e.to),!1),e.to[0]=e.from),e}function XV(e,t,n){var r;return Array.isArray(t.to)&&((r=e.duration)!==null&&r!==void 0||(e.duration=.8)),KV(t),YV(e)||(e=H(H({},e),UV(n,t.to))),H(H({},t),WV(e))}function ZV(e,t,n,r,o){var i,a=_1(r,e),s=(i=a.from)!==null&&i!==void 0?i:t.get(),l=vw(e,n);s==="none"&&l&&typeof n=="string"?s=x1(e,n):yw(s)&&typeof n=="string"?s=xw(n):!Array.isArray(n)&&yw(n)&&typeof s=="string"&&(n=xw(s));var u=vw(e,s);function c(){var p={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?yV(H(H({},p),a)):$5(H(H({},XV(a,p,e)),{onUpdate:function(h){var v;p.onUpdate(h),(v=a.onUpdate)===null||v===void 0||v.call(a,h)},onComplete:function(){var h;p.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function f(){var p,h,v=r5(n);return t.set(v),o(),(p=a==null?void 0:a.onUpdate)===null||p===void 0||p.call(a,v),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!l||a.type===!1?f:c}function yw(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function xw(e){return typeof e=="number"?0:x1("",e)}function _1(e,t){return e[t]||e.default||e}function w1(e,t,n,r){return r===void 0&&(r={}),GV.current&&(r={type:!1}),t.start(function(o){var i,a,s=ZV(e,t,n,r,o),l=qV(r,e),u=function(){return a=s()};return l?i=window.setTimeout(u,af(l)):u(),function(){clearTimeout(i),a==null||a.stop()}})}var QV=function(e){return/^\-?\d*\.?\d+$/.test(e)},JV=function(e){return/^0[^.\s]+$/.test(e)};function b1(e,t){e.indexOf(t)===-1&&e.push(t)}function E1(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var gs=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var n=this;return b1(this.subscriptions,t),function(){return E1(n.subscriptions,t)}},e.prototype.notify=function(t,n,r){var o=this.subscriptions.length;if(!!o)if(o===1)this.subscriptions[0](t,n,r);else for(var i=0;i<o;i++){var a=this.subscriptions[i];a&&a(t,n,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),eU=function(e){return!isNaN(parseFloat(e))},tU=function(){function e(t){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new gs,this.velocityUpdateSubscribers=new gs,this.renderSubscribers=new gs,this.canTrackVelocity=!1,this.updateAndNotify=function(r,o){o===void 0&&(o=!0),n.prev=n.current,n.current=r;var i=rf(),a=i.delta,s=i.timestamp;n.lastUpdated!==s&&(n.timeDelta=a,n.lastUpdated=s,In.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),o&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return In.postRender(n.velocityCheck)},this.velocityCheck=function(r){var o=r.timestamp;o!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=eU(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,n){n===void 0&&(n=!0),!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?T5(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var n=this;return this.stop(),new Promise(function(r){n.hasAnimated=!0,n.stopAnimation=t(r)}).then(function(){return n.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function ca(e){return new tU(e)}var M5=function(e){return function(t){return t.test(e)}},nU={test:function(e){return e==="auto"},parse:function(e){return e}},F5=[Jo,oe,Fn,Sr,zB,BB,nU],Ua=function(e){return F5.find(M5(e))},rU=Mn(Mn([],rt(F5),!1),[Et,ur],!1),oU=function(e){return rU.find(M5(e))};function iU(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ca(n))}function aU(e,t){var n=Fd(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=o===void 0?{}:o;r.transition;var a=ln(r,["transitionEnd","transition"]);a=H(H({},a),i);for(var s in a){var l=r5(a[s]);iU(e,s,l)}}function sU(e,t,n){var r,o,i,a,s=Object.keys(t).filter(function(h){return!e.hasValue(h)}),l=s.length;if(!!l)for(var u=0;u<l;u++){var c=s[u],f=t[c],p=null;Array.isArray(f)&&(p=f[0]),p===null&&(p=(o=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&o!==void 0?o:t[c]),p!=null&&(typeof p=="string"&&(QV(p)||JV(p))?p=parseFloat(p):!oU(p)&&ur.test(f)&&(p=x1(c,f)),e.addValue(c,ca(p)),(i=(a=n)[c])!==null&&i!==void 0||(a[c]=p),e.setBaseTarget(c,p))}}function lU(e,t){if(!!t){var n=t[e]||t.default||t;return n.from}}function uU(e,t,n){var r,o,i={};for(var a in e)i[a]=(r=lU(a,t))!==null&&r!==void 0?r:(o=n.getValue(a))===null||o===void 0?void 0:o.get();return i}function cU(e,t,n){n===void 0&&(n={}),e.notifyAnimationStart(t);var r;if(Array.isArray(t)){var o=t.map(function(a){return Av(e,a,n)});r=Promise.all(o)}else if(typeof t=="string")r=Av(e,t,n);else{var i=typeof t=="function"?Fd(e,t,n.custom):t;r=I5(e,i,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}function Av(e,t,n){var r;n===void 0&&(n={});var o=Fd(e,t,n.custom),i=(o||{}).transition,a=i===void 0?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var s=o?function(){return I5(e,o,n)}:function(){return Promise.resolve()},l=!((r=e.variantChildren)===null||r===void 0)&&r.size?function(h){h===void 0&&(h=0);var v=a.delayChildren,m=v===void 0?0:v,_=a.staggerChildren,g=a.staggerDirection;return fU(e,t,m+h,_,g,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=rt(u==="beforeChildren"?[s,l]:[l,s],2),f=c[0],p=c[1];return f().then(p)}else return Promise.all([s(),l(n.delay)])}function I5(e,t,n){var r,o=n===void 0?{}:n,i=o.delay,a=i===void 0?0:i,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(t),c=u.transition,f=c===void 0?e.getDefaultTransition():c,p=u.transitionEnd,h=ln(u,["transition","transitionEnd"]);s&&(f=s);var v=[],m=l&&((r=e.animationState)===null||r===void 0?void 0:r.getState()[l]);for(var _ in h){var g=e.getValue(_),y=h[_];if(!(!g||y===void 0||m&&pU(m,_))){var x=H({delay:a},f);e.shouldReduceMotion&&wl(_)&&(x=H(H({},x),{type:!1,delay:0}));var w=w1(_,g,y,x);v.push(w)}}return Promise.all(v).then(function(){p&&aU(e,p)})}function fU(e,t,n,r,o,i){n===void 0&&(n=0),r===void 0&&(r=0),o===void 0&&(o=1);var a=[],s=(e.variantChildren.size-1)*r,l=o===1?function(u){return u===void 0&&(u=0),u*r}:function(u){return u===void 0&&(u=0),s-u*r};return Array.from(e.variantChildren).sort(dU).forEach(function(u,c){a.push(Av(u,t,H(H({},i),{delay:n+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function dU(e,t){return e.sortNodePosition(t)}function pU(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&r[t]!==!0;return r[t]=!1,o}var S1=[Oe.Animate,Oe.InView,Oe.Focus,Oe.Hover,Oe.Tap,Oe.Drag,Oe.Exit],hU=Mn([],rt(S1),!1).reverse(),mU=S1.length;function vU(e){return function(t){return Promise.all(t.map(function(n){var r=n.animation,o=n.options;return cU(e,r,o)}))}}function gU(e){var t=vU(e),n=xU(),r={},o=!0,i=function(c,f){var p=Fd(e,f);if(p){p.transition;var h=p.transitionEnd,v=ln(p,["transition","transitionEnd"]);c=H(H(H({},c),v),h)}return c};function a(c){return r[c]!==void 0}function s(c){t=c(e)}function l(c,f){for(var p,h=e.getProps(),v=e.getVariantContext(!0)||{},m=[],_=new Set,g={},y=1/0,x=function(S){var C=hU[S],$=n[C],P=(p=h[C])!==null&&p!==void 0?p:v[C],M=vn(P),I=C===f?$.isActive:null;I===!1&&(y=S);var B=P===v[C]&&P!==h[C]&&M;if(B&&o&&e.manuallyAnimateOnMount&&(B=!1),$.protectedKeys=H({},g),!$.isActive&&I===null||!P&&!$.prevProp||c1(P)||typeof P=="boolean")return"continue";var j=yU($.prevProp,P),J=j||C===f&&$.isActive&&!B&&M||S>y&&M,ue=Array.isArray(P)?P:[P],ie=ue.reduce(i,{});I===!1&&(ie={});var z=$.prevResolvedValues,K=z===void 0?{}:z,k=H(H({},K),ie),G=function(D){J=!0,_.delete(D),$.needsAnimating[D]=!0};for(var O in k){var R=ie[O],T=K[O];g.hasOwnProperty(O)||(R!==T?tl(R)&&tl(T)?!N5(R,T)||j?G(O):$.protectedKeys[O]=!0:R!==void 0?G(O):_.add(O):R!==void 0&&_.has(O)?G(O):$.protectedKeys[O]=!0)}$.prevProp=P,$.prevResolvedValues=ie,$.isActive&&(g=H(H({},g),ie)),o&&e.blockInitialAnimation&&(J=!1),J&&!B&&m.push.apply(m,Mn([],rt(ue.map(function(D){return{animation:D,options:H({type:C},c)}})),!1))},w=0;w<mU;w++)x(w);if(r=H({},g),_.size){var b={};_.forEach(function(S){var C=e.getBaseTarget(S);C!==void 0&&(b[S]=C)}),m.push({animation:b})}var E=Boolean(m.length);return o&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),o=!1,E?t(m):Promise.resolve()}function u(c,f,p){var h;if(n[c].isActive===f)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(_){var g;return(g=_.animationState)===null||g===void 0?void 0:g.setActive(c,f)}),n[c].isActive=f;var v=l(p,c);for(var m in n)n[m].protectedKeys={};return v}return{isAnimated:a,animateChanges:l,setActive:u,setAnimateFunction:s,getState:function(){return n}}}function yU(e,t){return typeof t=="string"?t!==e:D$(t)?!N5(t,e):!1}function bo(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xU(){var e;return e={},e[Oe.Animate]=bo(!0),e[Oe.InView]=bo(),e[Oe.Hover]=bo(),e[Oe.Tap]=bo(),e[Oe.Drag]=bo(),e[Oe.Focus]=bo(),e[Oe.Exit]=bo(),e}var _U={animation:Br(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=gU(t)),c1(n)&&d.exports.useEffect(function(){return n.subscribe(t)},[n])}),exit:Br(function(e){var t=e.custom,n=e.visualElement,r=rt(L5(),2),o=r[0],i=r[1],a=d.exports.useContext(Md);d.exports.useEffect(function(){var s,l;n.isPresent=o;var u=(s=n.animationState)===null||s===void 0?void 0:s.setActive(Oe.Exit,!o,{custom:(l=a==null?void 0:a.custom)!==null&&l!==void 0?l:t});!o&&(u==null||u.then(i))},[o])})},j5=function(){function e(t,n,r){var o=this,i=r===void 0?{}:r,a=i.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(o.lastMoveEvent&&o.lastMoveEventInfo)){var p=uh(o.lastMoveEventInfo,o.history),h=o.startEvent!==null,v=P5(p.offset,{x:0,y:0})>=3;if(!(!h&&!v)){var m=p.point,_=rf().timestamp;o.history.push(H(H({},m),{timestamp:_}));var g=o.handlers,y=g.onStart,x=g.onMove;h||(y&&y(o.lastMoveEvent,p),o.startEvent=o.lastMoveEvent),x&&x(o.lastMoveEvent,p)}}},this.handlePointerMove=function(p,h){if(o.lastMoveEvent=p,o.lastMoveEventInfo=lh(h,o.transformPagePoint),i5(p)&&p.buttons===0){o.handlePointerUp(p,h);return}In.update(o.updatePoint,!0)},this.handlePointerUp=function(p,h){o.end();var v=o.handlers,m=v.onEnd,_=v.onSessionEnd,g=uh(lh(h,o.transformPagePoint),o.history);o.startEvent&&m&&m(p,g),_&&_(p,g)},!(a5(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=a;var s=f1(t),l=lh(s,this.transformPagePoint),u=l.point,c=rf().timestamp;this.history=[H(H({},u),{timestamp:c})];var f=n.onSessionStart;f&&f(t,uh(l,this.history)),this.removeListeners=zd(Ui(window,"pointermove",this.handlePointerMove),Ui(window,"pointerup",this.handlePointerUp),Ui(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ua.update(this.updatePoint)},e}();function lh(e,t){return t?{point:t(e.point)}:e}function _w(e,t){return{x:e.x-t.x,y:e.y-t.y}}function uh(e,t){var n=e.point;return{point:n,delta:_w(n,B5(t)),offset:_w(n,wU(t)),velocity:bU(t,.1)}}function wU(e){return e[0]}function B5(e){return e[e.length-1]}function bU(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=B5(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>af(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(i===0)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function cr(e){return e.max-e.min}function ww(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=.01),P5(e,t)<n}function bw(e,t,n,r){r===void 0&&(r=.5),e.origin=r,e.originPoint=Ye(t.min,t.max,e.origin),e.scale=cr(n)/cr(t),(ww(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ye(n.min,n.max,e.origin)-e.originPoint,(ww(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ys(e,t,n,r){bw(e.x,t.x,n.x,r==null?void 0:r.originX),bw(e.y,t.y,n.y,r==null?void 0:r.originY)}function Ew(e,t,n){e.min=n.min+t.min,e.max=e.min+cr(t)}function EU(e,t,n){Ew(e.x,t.x,n.x),Ew(e.y,t.y,n.y)}function Sw(e,t,n){e.min=t.min-n.min,e.max=e.min+cr(t)}function xs(e,t,n){Sw(e.x,t.x,n.x),Sw(e.y,t.y,n.y)}function SU(e,t,n){var r=t.min,o=t.max;return r!==void 0&&e<r?e=n?Ye(r,e,n.min):Math.max(e,r):o!==void 0&&e>o&&(e=n?Ye(o,e,n.max):Math.min(e,o)),e}function Cw(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function CU(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:Cw(e.x,r,i),y:Cw(e.y,n,o)}}function Aw(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=rt([o,r],2),r=n[0],o=n[1]),{min:r,max:o}}function AU(e,t){return{x:Aw(e.x,t.x),y:Aw(e.y,t.y)}}function $U(e,t){var n=.5,r=cr(e),o=cr(t);return o>r?n=nl(t.min,t.max-r,e.min):r>o&&(n=nl(e.min,e.max-o,t.min)),tf(0,1,n)}function TU(e,t){var n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var $v=.35;function PU(e){return e===void 0&&(e=$v),e===!1?e=0:e===!0&&(e=$v),{x:$w(e,"left","right"),y:$w(e,"top","bottom")}}function $w(e,t,n){return{min:Tw(e,t),max:Tw(e,n)}}function Tw(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}var Pw=function(){return{translate:0,scale:1,origin:0,originPoint:0}},_s=function(){return{x:Pw(),y:Pw()}},Rw=function(){return{min:0,max:0}},mt=function(){return{x:Rw(),y:Rw()}};function $n(e){return[e("x"),e("y")]}function z5(e){var t=e.top,n=e.left,r=e.right,o=e.bottom;return{x:{min:n,max:r},y:{min:t,max:o}}}function RU(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function kU(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ch(e){return e===void 0||e===1}function V5(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!ch(t)||!ch(n)||!ch(r)}function Cr(e){return V5(e)||kw(e.x)||kw(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function kw(e){return e&&e!=="0%"}function sf(e,t,n){var r=e-n,o=t*r;return n+o}function Ow(e,t,n,r,o){return o!==void 0&&(e=sf(e,o,r)),sf(e,n,r)+t}function Tv(e,t,n,r,o){t===void 0&&(t=0),n===void 0&&(n=1),e.min=Ow(e.min,t,n,r,o),e.max=Ow(e.max,t,n,r,o)}function U5(e,t){var n=t.x,r=t.y;Tv(e.x,n.translate,n.scale,n.originPoint),Tv(e.y,r.translate,r.scale,r.originPoint)}function OU(e,t,n,r){var o,i;r===void 0&&(r=!1);var a=n.length;if(!!a){t.x=t.y=1;for(var s,l,u=0;u<a;u++)s=n[u],l=s.projectionDelta,((i=(o=s.instance)===null||o===void 0?void 0:o.style)===null||i===void 0?void 0:i.display)!=="contents"&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&ki(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,U5(e,l)),r&&Cr(s.latestValues)&&ki(e,s.latestValues))}}function kr(e,t){e.min=e.min+t,e.max=e.max+t}function Dw(e,t,n){var r=rt(n,3),o=r[0],i=r[1],a=r[2],s=t[a]!==void 0?t[a]:.5,l=Ye(e.min,e.max,s);Tv(e,t[o],t[i],l,t.scale)}var DU=["x","scaleX","originX"],LU=["y","scaleY","originY"];function ki(e,t){Dw(e.x,t,DU),Dw(e.y,t,LU)}function H5(e,t){return z5(kU(e.getBoundingClientRect(),t))}function NU(e,t,n){var r=H5(e,n),o=t.scroll;return o&&(kr(r.x,o.x),kr(r.y,o.y)),r}var MU=new WeakMap,FU=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=mt(),this.visualElement=t}return e.prototype.start=function(t,n){var r=this,o=n===void 0?{}:n,i=o.snapToCursor,a=i===void 0?!1:i;if(this.visualElement.isPresent!==!1){var s=function(f){r.stopAnimation(),a&&r.snapToCursor(f1(f,"page").point)},l=function(f,p){var h,v=r.getProps(),m=v.drag,_=v.dragPropagation,g=v.onDragStart;m&&!_&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=c5(m),!r.openGlobalLock)||(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),$n(function(y){var x,w,b=r.getAxisMotionValue(y).get()||0;if(Fn.test(b)){var E=(w=(x=r.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||w===void 0?void 0:w.actual[y];if(E){var S=cr(E);b=S*(parseFloat(b)/100)}}r.originPoint[y]=b}),g==null||g(f,p),(h=r.visualElement.animationState)===null||h===void 0||h.setActive(Oe.Drag,!0))},u=function(f,p){var h=r.getProps(),v=h.dragPropagation,m=h.dragDirectionLock,_=h.onDirectionLock,g=h.onDrag;if(!(!v&&!r.openGlobalLock)){var y=p.offset;if(m&&r.currentDirection===null){r.currentDirection=IU(y),r.currentDirection!==null&&(_==null||_(r.currentDirection));return}r.updateAxis("x",p.point,y),r.updateAxis("y",p.point,y),r.visualElement.syncRender(),g==null||g(f,p)}},c=function(f,p){return r.stop(f,p)};this.panSession=new j5(t,{onSessionStart:s,onStart:l,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,n){var r=this.isDragging;if(this.cancel(),!!r){var o=n.velocity;this.startAnimation(o);var i=this.getProps().onDragEnd;i==null||i(t,n)}},e.prototype.cancel=function(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var r=this.getProps().dragPropagation;!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(Oe.Drag,!1)},e.prototype.updateAxis=function(t,n,r){var o=this.getProps().drag;if(!(!r||!yu(t,o,this.currentDirection))){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=SU(a,this.constraints[t],this.elastic[t])),i.set(a)}},e.prototype.resolveConstraints=function(){var t=this,n=this.getProps(),r=n.dragConstraints,o=n.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;r&&Ri(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&i?this.constraints=CU(i.actual,r):this.constraints=!1,this.elastic=PU(o),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&$n(function(s){t.getAxisMotionValue(s)&&(t.constraints[s]=TU(i.actual[s],t.constraints[s]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),n=t.dragConstraints,r=t.onMeasureDragConstraints;if(!n||!Ri(n))return!1;var o=n.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=NU(o,i.root,this.visualElement.getTransformPagePoint()),s=AU(i.layout.actual,a);if(r){var l=r(RU(s));this.hasMutatedConstraints=!!l,l&&(s=z5(l))}return s},e.prototype.startAnimation=function(t){var n=this,r=this.getProps(),o=r.drag,i=r.dragMomentum,a=r.dragElastic,s=r.dragTransition,l=r.dragSnapToOrigin,u=r.onDragTransitionEnd,c=this.constraints||{},f=$n(function(p){var h;if(!!yu(p,o,n.currentDirection)){var v=(h=c==null?void 0:c[p])!==null&&h!==void 0?h:{};l&&(v={min:0,max:0});var m=a?200:1e6,_=a?40:1e7,g=H(H({type:"inertia",velocity:i?t[p]:0,bounceStiffness:m,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10},s),v);return n.startAxisValueAnimation(p,g)}});return Promise.all(f).then(u)},e.prototype.startAxisValueAnimation=function(t,n){var r=this.getAxisMotionValue(t);return w1(t,r,0,n)},e.prototype.stopAnimation=function(){var t=this;$n(function(n){return t.getAxisMotionValue(n).stop()})},e.prototype.getAxisMotionValue=function(t){var n,r,o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)},e.prototype.snapToCursor=function(t){var n=this;$n(function(r){var o=n.getProps().drag;if(!!yu(r,o,n.currentDirection)){var i=n.visualElement.projection,a=n.getAxisMotionValue(r);if(i&&i.layout){var s=i.layout.actual[r],l=s.min,u=s.max;a.set(t[r]-Ye(l,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,n,r=this.getProps(),o=r.drag,i=r.dragConstraints,a=this.visualElement.projection;if(!(!Ri(i)||!a||!this.constraints)){this.stopAnimation();var s={x:0,y:0};$n(function(u){var c=t.getAxisMotionValue(u);if(c){var f=c.get();s[u]=$U({min:f,max:f},t.constraints[u])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(n=a.root)===null||n===void 0||n.updateScroll(),a.updateLayout(),this.resolveConstraints(),$n(function(u){if(!!yu(u,o,null)){var c=t.getAxisMotionValue(u),f=t.constraints[u],p=f.min,h=f.max;c.set(Ye(p,h,s[u]))}})}},e.prototype.addListeners=function(){var t=this,n;MU.set(this.visualElement,this);var r=this.visualElement.getInstance(),o=Ui(r,"pointerdown",function(u){var c=t.getProps(),f=c.drag,p=c.dragListener,h=p===void 0?!0:p;f&&h&&t.start(u)}),i=function(){var u=t.getProps().dragConstraints;Ri(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,s=a.addEventListener("measure",i);a&&!a.layout&&((n=a.root)===null||n===void 0||n.updateScroll(),a.updateLayout()),i();var l=Bd(window,"resize",function(){return t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,f=u.hasLayoutChanged;t.isDragging&&f&&($n(function(p){var h=t.getAxisMotionValue(p);!h||(t.originPoint[p]+=c[p].translate,h.set(h.get()+c[p].translate))}),t.visualElement.syncRender())}),function(){l(),o(),s()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),n=t.drag,r=n===void 0?!1:n,o=t.dragDirectionLock,i=o===void 0?!1:o,a=t.dragPropagation,s=a===void 0?!1:a,l=t.dragConstraints,u=l===void 0?!1:l,c=t.dragElastic,f=c===void 0?$v:c,p=t.dragMomentum,h=p===void 0?!0:p;return H(H({},t),{drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:u,dragElastic:f,dragMomentum:h})},e}();function yu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function IU(e,t){t===void 0&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function jU(e){var t=e.dragControls,n=e.visualElement,r=jd(function(){return new FU(n)});d.exports.useEffect(function(){return t&&t.subscribe(r)},[r,t]),d.exports.useEffect(function(){return r.addListeners()},[r])}function BU(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,s=d.exports.useRef(null),l=d.exports.useContext(r1).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(f,p){s.current=null,r&&r(f,p)}};d.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(u)});function c(f){s.current=new j5(f,u,{transformPagePoint:l})}ef(i,"pointerdown",a&&c),p5(function(){return s.current&&s.current.end()})}var zU={pan:Br(BU),drag:Br(jU)},xu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function VU(){var e=xu.map(function(){return new gs}),t={},n={clearAllListeners:function(){return e.forEach(function(r){return r.clear()})},updatePropListeners:function(r){xu.forEach(function(o){var i,a="on"+o,s=r[a];(i=t[o])===null||i===void 0||i.call(t),s&&(t[o]=n[a](s))})}};return e.forEach(function(r,o){n["on"+xu[o]]=function(i){return r.add(i)},n["notify"+xu[o]]=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.notify.apply(r,Mn([],rt(i),!1))}}),n}function UU(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(lr(i))e.addValue(o,i);else if(lr(a))e.addValue(o,ca(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,ca((r=e.getStaticValue(o))!==null&&r!==void 0?r:i))}for(var o in n)t[o]===void 0&&e.removeValue(o);return t}var G5=function(e){var t=e.treeType,n=t===void 0?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(p,h){var v=p.parent,m=p.props,_=p.presenceId,g=p.blockInitialAnimation,y=p.visualState,x=p.shouldReduceMotion;h===void 0&&(h={});var w=!1,b=y.latestValues,E=y.renderState,S,C=VU(),$=new Map,P=new Map,M={},I=H({},b),B;function j(){!S||!w||(J(),s(S,E,m.style,R.projection))}function J(){r(R,E,b,h,m)}function ue(){C.notifyUpdate(b)}function ie(T,D){var A=D.onChange(function(F){b[T]=F,m.onUpdate&&In.update(ue,!1,!0)}),q=D.onRenderRequest(R.scheduleRender);P.set(T,function(){A(),q()})}var z=f(m);for(var K in z){var k=z[K];b[K]!==void 0&&lr(k)&&k.set(b[K],!1)}var G=Id(m),O=N$(m),R=H(H({treeType:n,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,presenceId:_,shouldReduceMotion:x,variantChildren:O?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(v==null?void 0:v.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(S)},mount:function(T){w=!0,S=R.current=T,R.projection&&R.projection.mount(T),O&&v&&!G&&(B=v==null?void 0:v.addVariantChild(R)),$.forEach(function(D,A){return ie(A,D)}),v==null||v.children.add(R),R.setProps(m)},unmount:function(){var T;(T=R.projection)===null||T===void 0||T.unmount(),ua.update(ue),ua.render(j),P.forEach(function(D){return D()}),B==null||B(),v==null||v.children.delete(R),C.clearAllListeners(),S=void 0,w=!1},addVariantChild:function(T){var D,A=R.getClosestVariantNode();if(A)return(D=A.variantChildren)===null||D===void 0||D.add(T),function(){return A.variantChildren.delete(T)}},sortNodePosition:function(T){return!c||n!==T.treeType?0:c(R.getInstance(),T.getInstance())},getClosestVariantNode:function(){return O?R:v==null?void 0:v.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return S},getStaticValue:function(T){return b[T]},setStaticValue:function(T,D){return b[T]=D},getLatestValues:function(){return b},setVisibility:function(T){R.isVisible!==T&&(R.isVisible=T,R.scheduleRender())},makeTargetAnimatable:function(T,D){return D===void 0&&(D=!0),i(R,T,m,D)},measureViewportBox:function(){return a(S,m)},addValue:function(T,D){R.hasValue(T)&&R.removeValue(T),$.set(T,D),b[T]=D.get(),ie(T,D)},removeValue:function(T){var D;$.delete(T),(D=P.get(T))===null||D===void 0||D(),P.delete(T),delete b[T],u(T,E)},hasValue:function(T){return $.has(T)},getValue:function(T,D){var A=$.get(T);return A===void 0&&D!==void 0&&(A=ca(D),R.addValue(T,A)),A},forEachValue:function(T){return $.forEach(T)},readValue:function(T){var D;return(D=b[T])!==null&&D!==void 0?D:l(S,T,h)},setBaseTarget:function(T,D){I[T]=D},getBaseTarget:function(T){if(o){var D=o(m,T);if(D!==void 0&&!lr(D))return D}return I[T]}},C),{build:function(){return J(),E},scheduleRender:function(){In.render(j,!1,!0)},syncRender:j,setProps:function(T){(T.transformTemplate||m.transformTemplate)&&R.scheduleRender(),m=T,C.updatePropListeners(T),M=UU(R,f(m),M)},getProps:function(){return m},getVariant:function(T){var D;return(D=m.variants)===null||D===void 0?void 0:D[T]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(T){if(T===void 0&&(T=!1),T)return v==null?void 0:v.getVariantContext();if(!G){var D=(v==null?void 0:v.getVariantContext())||{};return m.initial!==void 0&&(D.initial=m.initial),D}for(var A={},q=0;q<HU;q++){var F=Y5[q],ce=m[F];(vn(ce)||ce===!1)&&(A[F]=ce)}return A}});return R}},Y5=Mn(["initial"],rt(S1),!1),HU=Y5.length;function Pv(e){return typeof e=="string"&&e.startsWith("var(--")}var W5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function GU(e){var t=W5.exec(e);if(!t)return[,];var n=rt(t,3),r=n[1],o=n[2];return[r,o]}function Rv(e,t,n){var r=rt(GU(e),2),o=r[0],i=r[1];if(!!o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Pv(i)?Rv(i,t):i}}function YU(e,t,n){var r,o=ln(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};n&&(n=H({},n)),e.forEachValue(function(u){var c=u.get();if(!!Pv(c)){var f=Rv(c,i);f&&u.set(f)}});for(var a in o){var s=o[a];if(!!Pv(s)){var l=Rv(s,i);!l||(o[a]=l,n&&((r=n[a])!==null&&r!==void 0||(n[a]=s)))}}return{target:o,transitionEnd:n}}var WU=new Set(["width","height","top","left","right","bottom","x","y"]),q5=function(e){return WU.has(e)},qU=function(e){return Object.keys(e).some(q5)},K5=function(e,t){e.set(t,!1),e.set(t)},Lw=function(e){return e===Jo||e===oe},Nw;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Nw||(Nw={}));var Mw=function(e,t){return parseFloat(e.split(", ")[t])},Fw=function(e,t){return function(n,r){var o=r.transform;if(o==="none"||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Mw(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Mw(a[1],e):0}},KU=new Set(["x","y","z"]),XU=Js.filter(function(e){return!KU.has(e)});function ZU(e){var t=[];return XU.forEach(function(n){var r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var Iw={width:function(e,t){var n=e.x,r=t.paddingLeft,o=r===void 0?"0":r,i=t.paddingRight,a=i===void 0?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=r===void 0?"0":r,i=t.paddingBottom,a=i===void 0?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Fw(4,13),y:Fw(5,14)},QU=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(function(u){s[u]=Iw[u](r,i)}),t.syncRender();var l=t.measureViewportBox();return n.forEach(function(u){var c=t.getValue(u);K5(c,s[u]),e[u]=Iw[u](l,i)}),e},JU=function(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r={}),t=H({},t),r=H({},r);var o=Object.keys(t).filter(q5),i=[],a=!1,s=[];if(o.forEach(function(c){var f=e.getValue(c);if(!!e.hasValue(c)){var p=n[c],h=Ua(p),v=t[c],m;if(tl(v)){var _=v.length,g=v[0]===null?1:0;p=v[g],h=Ua(p);for(var y=g;y<_;y++)m?Zc(Ua(v[y])===m):m=Ua(v[y])}else m=Ua(v);if(h!==m)if(Lw(h)&&Lw(m)){var x=f.get();typeof x=="string"&&f.set(parseFloat(x)),typeof v=="string"?t[c]=parseFloat(v):Array.isArray(v)&&m===oe&&(t[c]=v.map(parseFloat))}else(h==null?void 0:h.transform)&&(m==null?void 0:m.transform)&&(p===0||v===0)?p===0?f.set(m.transform(p)):t[c]=h.transform(v):(a||(i=ZU(e),a=!0),s.push(c),r[c]=r[c]!==void 0?r[c]:t[c],K5(f,v))}}),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,u=QU(t,e,s);return i.length&&i.forEach(function(c){var f=rt(c,2),p=f[0],h=f[1];e.getValue(p).set(h)}),e.syncRender(),l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function eH(e,t,n,r){return qU(t)?JU(e,t,n,r):{target:t,transitionEnd:r}}var tH=function(e,t,n,r){var o=YU(e,t,r);return t=o.target,r=o.transitionEnd,eH(e,t,n,r)};function nH(e){return window.getComputedStyle(e)}var X5={treeType:"dom",readValueFromInstance:function(e,t){if(wl(t)){var n=y1(t);return n&&n.default||0}else{var r=nH(e);return(B$(t)?r.getPropertyValue(t):r[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var n;return(n=e.style)===null||n===void 0?void 0:n[t]},measureViewportBox:function(e,t){var n=t.transformPagePoint;return H5(e,n)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;r===void 0&&(r=!0);var i=t.transition,a=t.transitionEnd,s=ln(t,["transition","transitionEnd"]),l=uU(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),r){sU(e,s,l);var u=tH(e,s,l,a);a=u.transitionEnd,s=u.target}return H({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:u1,build:function(e,t,n,r,o){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),a1(t,n,r,o.transformTemplate)},render:J$},rH=G5(X5),oH=G5(H(H({},X5),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return wl(t)?((n=y1(t))===null||n===void 0?void 0:n.default)||0:(t=e5.has(t)?t:Q$(t),e.getAttribute(t))},scrapeMotionValuesFromProps:n5,build:function(e,t,n,r,o){l1(t,n,r,o.transformTemplate)},render:t5})),iH=function(e,t){return o1(e)?oH(t,{enableHardwareAcceleration:!1}):rH(t,{enableHardwareAcceleration:!0})};function jw(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Ha={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;var n=jw(e,t.target.x),r=jw(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Bw="_$css",aH={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(W5,function(m){return a.push(m),Bw}));var s=ur.parse(e);if(s.length>5)return o;var l=ur.createTransformer(e),u=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=f;var p=Ye(c,f,.5);typeof s[2+u]=="number"&&(s[2+u]/=p),typeof s[3+u]=="number"&&(s[3+u]/=p);var h=l(s);if(i){var v=0;h=h.replace(Bw,function(){var m=a[v];return v++,m})}return h}},sH=function(e){T$(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var n=this,r=this.props,o=r.visualElement,i=r.layoutGroup,a=r.switchLayoutGroup,s=r.layoutId,l=o.projection;RB(uH),l&&(i!=null&&i.group&&i.group.add(l),(a==null?void 0:a.register)&&s&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){n.safeToRemove()}),l.setOptions(H(H({},l.options),{onExitComplete:function(){return n.safeToRemove()}}))),hs.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(n){var r=this,o=this.props,i=o.layoutDependency,a=o.visualElement,s=o.drag,l=o.isPresent,u=a.projection;return u&&(u.isPresent=l,s||n.layoutDependency!==i||i===void 0?u.willUpdate():this.safeToRemove(),n.isPresent!==l&&(l?u.promote():u.relegate()||In.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||r.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var n=this.props.visualElement.projection;n&&(n.root.didUpdate(),!n.currentAnimation&&n.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=r.projection;a&&(a.scheduleCheckAfterUnmount(),o!=null&&o.group&&o.group.remove(a),i!=null&&i.deregister&&i.deregister(a))},t.prototype.safeToRemove=function(){var n=this.props.safeToRemove;n==null||n()},t.prototype.render=function(){return null},t}(te.Component);function lH(e){var t=rt(L5(),2),n=t[0],r=t[1],o=d.exports.useContext(M$);return N(sH,{...H({},e,{layoutGroup:o,switchLayoutGroup:d.exports.useContext(F$),isPresent:n,safeToRemove:r})})}var uH={borderRadius:H(H({},Ha),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Ha,borderTopRightRadius:Ha,borderBottomLeftRadius:Ha,borderBottomRightRadius:Ha,boxShadow:aH},cH={measureLayout:lH};function fH(e,t,n){n===void 0&&(n={});var r=lr(e)?e:ca(e);return w1("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var Z5=["TopLeft","TopRight","BottomLeft","BottomRight"],dH=Z5.length,zw=function(e){return typeof e=="string"?parseFloat(e):e},Vw=function(e){return typeof e=="number"||oe.test(e)};function pH(e,t,n,r,o,i){var a,s,l,u;o?(e.opacity=Ye(0,(a=n.opacity)!==null&&a!==void 0?a:1,hH(r)),e.opacityExit=Ye((s=t.opacity)!==null&&s!==void 0?s:1,0,mH(r))):i&&(e.opacity=Ye((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(var c=0;c<dH;c++){var f="border".concat(Z5[c],"Radius"),p=Uw(t,f),h=Uw(n,f);if(!(p===void 0&&h===void 0)){p||(p=0),h||(h=0);var v=p===0||h===0||Vw(p)===Vw(h);v?(e[f]=Math.max(Ye(zw(p),zw(h),r),0),(Fn.test(h)||Fn.test(p))&&(e[f]+="%")):e[f]=h}}(t.rotate||n.rotate)&&(e.rotate=Ye(t.rotate||0,n.rotate||0,r))}function Uw(e,t){var n;return(n=e[t])!==null&&n!==void 0?n:e.borderRadius}var hH=Q5(0,.5,v1),mH=Q5(.5,.95,h1);function Q5(e,t,n){return function(r){return r<e?0:r>t?1:n(nl(e,t,r))}}function Hw(e,t){e.min=t.min,e.max=t.max}function fn(e,t){Hw(e.x,t.x),Hw(e.y,t.y)}function Gw(e,t,n,r,o){return e-=t,e=sf(e,1/n,r),o!==void 0&&(e=sf(e,1/o,r)),e}function vH(e,t,n,r,o,i,a){if(t===void 0&&(t=0),n===void 0&&(n=1),r===void 0&&(r=.5),i===void 0&&(i=e),a===void 0&&(a=e),Fn.test(t)){t=parseFloat(t);var s=Ye(a.min,a.max,t/100);t=s-a.min}if(typeof t=="number"){var l=Ye(i.min,i.max,r);e===i&&(l-=t),e.min=Gw(e.min,t,n,l,o),e.max=Gw(e.max,t,n,l,o)}}function Yw(e,t,n,r,o){var i=rt(n,3),a=i[0],s=i[1],l=i[2];vH(e,t[a],t[s],t[l],t.scale,r,o)}var gH=["x","scaleX","originX"],yH=["y","scaleY","originY"];function Ww(e,t,n,r){Yw(e.x,t,gH,n==null?void 0:n.x,r==null?void 0:r.x),Yw(e.y,t,yH,n==null?void 0:n.y,r==null?void 0:r.y)}function qw(e){return e.translate===0&&e.scale===1}function J5(e){return qw(e.x)&&qw(e.y)}function eT(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 xH=function(){function e(){this.members=[]}return e.prototype.add=function(t){b1(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(E1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var n=this.members[this.members.length-1];n&&this.promote(n)}},e.prototype.relegate=function(t){var n=this.members.findIndex(function(a){return t===a});if(n===0)return!1;for(var r,o=n;o>=0;o--){var i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1},e.prototype.promote=function(t,n){var r,o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues,t.snapshot.isShared=!0),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);var i=t.options.crossfade;i===!1&&o.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var n,r,o,i,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(o=t.resumingFrom)===null||o===void 0?void 0:(i=o.options).onExitComplete)===null||a===void 0||a.call(i)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),_H="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function Kw(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return i+="scale(".concat(u,", ").concat(c,")"),i===_H?"none":i}var wH=function(e,t){return e.depth-t.depth},bH=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){b1(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){E1(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(wH),this.isDirty=!1,this.children.forEach(t)},e}(),Xw=1e3;function tT(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function a(s,l,u){var c=this;l===void 0&&(l={}),u===void 0&&(u=n==null?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){c.isUpdating&&(c.isUpdating=!1,c.clearAllSnapshots())},this.updateProjection=function(){c.nodes.forEach(TH),c.nodes.forEach(PH)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=s,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?Mn(Mn([],rt(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(var f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new bH)}return a.prototype.addEventListener=function(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new gs),this.eventHandlers.get(s).add(l)},a.prototype.notifyListeners=function(s){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];var c=this.eventHandlers.get(s);c==null||c.notify.apply(c,Mn([],rt(l),!1))},a.prototype.hasListeners=function(s){return this.eventHandlers.has(s)},a.prototype.registerPotentialNode=function(s,l){this.potentialNodes.set(s,l)},a.prototype.mount=function(s,l){var u=this,c;if(l===void 0&&(l=!1),!this.instance){this.isSVG=s instanceof SVGElement&&s.tagName!=="svg",this.instance=s;var f=this.options,p=f.layoutId,h=f.layout,v=f.visualElement;if(v&&!v.getInstance()&&v.mount(s),this.root.nodes.add(this),(c=this.parent)===null||c===void 0||c.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(h||p)&&(this.isLayoutDirty=!0),t){var m,_=function(){return u.root.updateBlockedByResize=!1};t(s,function(){u.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(_,250),hs.hasAnimatedSinceResize&&(hs.hasAnimatedSinceResize=!1,u.nodes.forEach($H))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&v&&(p||h)&&this.addEventListener("didUpdate",function(g){var y,x,w,b,E,S=g.delta,C=g.hasLayoutChanged,$=g.hasRelativeTargetChanged,P=g.layout;if(u.isTreeAnimationBlocked()){u.target=void 0,u.relativeTarget=void 0;return}var M=(x=(y=u.options.transition)!==null&&y!==void 0?y:v.getDefaultTransition())!==null&&x!==void 0?x:LH,I=v.getProps(),B=I.onLayoutAnimationStart,j=I.onLayoutAnimationComplete,J=!u.targetLayout||!eT(u.targetLayout,P)||$,ue=!C&&$;if(((w=u.resumeFrom)===null||w===void 0?void 0:w.instance)||ue||C&&(J||!u.currentAnimation)){u.resumeFrom&&(u.resumingFrom=u.resumeFrom,u.resumingFrom.resumingFrom=void 0),u.setAnimationOrigin(S,ue);var ie=H(H({},_1(M,"layout")),{onPlay:B,onComplete:j});v.shouldReduceMotion&&(ie.delay=0,ie.type=!1),u.startAnimation(ie)}else!C&&u.animationProgress===0&&u.finishAnimation(),u.isLead()&&((E=(b=u.options).onExitComplete)===null||E===void 0||E.call(b));u.targetLayout=P})}},a.prototype.unmount=function(){var s,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(s=this.getStack())===null||s===void 0||s.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,ua.preRender(this.updateProjection)},a.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},a.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},a.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},a.prototype.isTreeAnimationBlocked=function(){var s;return this.isAnimationBlocked||((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimationBlocked())||!1},a.prototype.startUpdate=function(){var s;this.isUpdateBlocked()||(this.isUpdating=!0,(s=this.nodes)===null||s===void 0||s.forEach(RH))},a.prototype.willUpdate=function(s){var l,u,c;if(s===void 0&&(s=!0),this.root.isUpdateBlocked()){(u=(l=this.options).onExitComplete)===null||u===void 0||u.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var f=0;f<this.path.length;f++){var p=this.path[f];p.shouldResetTransform=!0,p.updateScroll()}var h=this.options,v=h.layoutId,m=h.layout;if(!(v===void 0&&!m)){var _=(c=this.options.visualElement)===null||c===void 0?void 0:c.getProps().transformTemplate;this.prevTransformTemplateValue=_==null?void 0:_(this.latestValues,""),this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}}},a.prototype.didUpdate=function(){var s=this.isUpdateBlocked();if(s){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zw);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(NH),this.potentialNodes.clear()),this.nodes.forEach(AH),this.nodes.forEach(EH),this.nodes.forEach(SH),this.clearAllSnapshots(),ih.update(),ih.preRender(),ih.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(CH),this.sharedNodes.forEach(kH)},a.prototype.scheduleUpdateProjection=function(){In.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var s=this;In.postRender(function(){s.isLayoutDirty?s.root.didUpdate():s.root.checkUpdateFailed()})},a.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var s=this.measure(),l=this.removeTransform(this.removeElementScroll(s));tb(l),this.snapshot={measured:s,layout:l,latestValues:{}}}},a.prototype.updateLayout=function(){var s;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var u=this.path[l];u.updateScroll()}var c=this.measure();tb(c);var f=this.layout;this.layout={measured:c,actual:this.removeElementScroll(c)},this.layoutCorrected=mt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(s=this.options.visualElement)===null||s===void 0||s.notifyLayoutMeasure(this.layout.actual,f==null?void 0:f.actual)}},a.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},a.prototype.resetTransform=function(){var s;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!J5(this.projectionDelta),c=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,f=c==null?void 0:c(this.latestValues,""),p=f!==this.prevTransformTemplateValue;l&&(u||Cr(this.latestValues)||p)&&(i(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var s=this.options.visualElement;if(!s)return mt();var l=s.measureViewportBox(),u=this.root.scroll;return u&&(kr(l.x,u.x),kr(l.y,u.y)),l},a.prototype.removeElementScroll=function(s){var l=mt();fn(l,s);for(var u=0;u<this.path.length;u++){var c=this.path[u],f=c.scroll,p=c.options,h=c.isScrollRoot;if(c!==this.root&&f&&p.layoutScroll){if(h){fn(l,s);var v=this.root.scroll;v&&(kr(l.x,-v.x),kr(l.y,-v.y))}kr(l.x,f.x),kr(l.y,f.y)}}return l},a.prototype.applyTransform=function(s,l){l===void 0&&(l=!1);var u=mt();fn(u,s);for(var c=0;c<this.path.length;c++){var f=this.path[c];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&ki(u,{x:-f.scroll.x,y:-f.scroll.y}),Cr(f.latestValues)&&ki(u,f.latestValues)}return Cr(this.latestValues)&&ki(u,this.latestValues),u},a.prototype.removeTransform=function(s){var l,u=mt();fn(u,s);for(var c=0;c<this.path.length;c++){var f=this.path[c];if(!!f.instance&&!!Cr(f.latestValues)){V5(f.latestValues)&&f.updateSnapshot();var p=mt(),h=f.measure();fn(p,h),Ww(u,f.latestValues,(l=f.snapshot)===null||l===void 0?void 0:l.layout,p)}}return Cr(this.latestValues)&&Ww(u,this.latestValues),u},a.prototype.setTargetDelta=function(s){this.targetDelta=s,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(s){var l;this.options=H(H(H({},this.options),s),{crossfade:(l=s.crossfade)!==null&&l!==void 0?l:!0})},a.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},a.prototype.resolveTargetDelta=function(){var s,l=this.options,u=l.layout,c=l.layoutId;!this.layout||!(u||c)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=mt(),this.relativeTargetOrigin=mt(),xs(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),fn(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=mt(),this.targetWithTransforms=mt()),this.relativeTarget&&this.relativeTargetOrigin&&((s=this.relativeParent)===null||s===void 0?void 0:s.target)?EU(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):fn(this.target,this.layout.actual),U5(this.target,this.targetDelta)):fn(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=mt(),this.relativeTargetOrigin=mt(),xs(this.relativeTargetOrigin,this.target,this.relativeParent.target),fn(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Cr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},a.prototype.calcProjection=function(){var s,l=this.options,u=l.layout,c=l.layoutId;if(this.isTreeAnimating=Boolean(((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(u||c))){var f=this.getLead();fn(this.layoutCorrected,this.layout.actual),OU(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==f);var p=f.target;if(!!p){this.projectionDelta||(this.projectionDelta=_s(),this.projectionDeltaWithTransform=_s());var h=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;ys(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=Kw(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==h||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},a.prototype.hide=function(){this.isVisible=!1},a.prototype.show=function(){this.isVisible=!0},a.prototype.scheduleRender=function(s){var l,u,c;s===void 0&&(s=!0),(u=(l=this.options).scheduleRender)===null||u===void 0||u.call(l),s&&((c=this.getStack())===null||c===void 0||c.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},a.prototype.setAnimationOrigin=function(s,l){var u=this,c;l===void 0&&(l=!1);var f=this.snapshot,p=(f==null?void 0:f.latestValues)||{},h=H({},this.latestValues),v=_s();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=mt(),_=f==null?void 0:f.isShared,g=(((c=this.getStack())===null||c===void 0?void 0:c.members.length)||0)<=1,y=Boolean(_&&!g&&this.options.crossfade===!0&&!this.path.some(DH));this.animationProgress=0,this.mixTargetDelta=function(x){var w,b=x/1e3;Qw(v.x,s.x,b),Qw(v.y,s.y,b),u.setTargetDelta(v),u.relativeTarget&&u.relativeTargetOrigin&&u.layout&&((w=u.relativeParent)===null||w===void 0?void 0:w.layout)&&(xs(m,u.layout.actual,u.relativeParent.layout.actual),OH(u.relativeTarget,u.relativeTargetOrigin,m,b)),_&&(u.animationValues=h,pH(h,p,u.latestValues,b,y,g)),u.root.scheduleUpdateProjection(),u.scheduleRender(),u.animationProgress=b},this.mixTargetDelta(0)},a.prototype.startAnimation=function(s){var l=this,u,c;this.notifyListeners("animationStart"),(u=this.currentAnimation)===null||u===void 0||u.stop(),this.resumingFrom&&((c=this.resumingFrom.currentAnimation)===null||c===void 0||c.stop()),this.pendingAnimation&&(ua.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=In.update(function(){hs.hasAnimatedSinceResize=!0,l.currentAnimation=fH(0,Xw,H(H({},s),{onUpdate:function(f){var p;l.mixTargetDelta(f),(p=s.onUpdate)===null||p===void 0||p.call(s,f)},onComplete:function(){var f;(f=s.onComplete)===null||f===void 0||f.call(s),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},a.prototype.completeAnimation=function(){var s;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(s=this.getStack())===null||s===void 0||s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},a.prototype.finishAnimation=function(){var s;this.currentAnimation&&((s=this.mixTargetDelta)===null||s===void 0||s.call(this,Xw),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var s=this.getLead(),l=s.targetWithTransforms,u=s.target,c=s.layout,f=s.latestValues;!l||!u||!c||(fn(l,u),ki(l,f),ys(this.projectionDeltaWithTransform,this.layoutCorrected,l,f))},a.prototype.registerSharedNode=function(s,l){var u,c,f;this.sharedNodes.has(s)||this.sharedNodes.set(s,new xH);var p=this.sharedNodes.get(s);p.add(l),l.promote({transition:(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(f=(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.shouldPreserveFollowOpacity)===null||f===void 0?void 0:f.call(c,l)})},a.prototype.isLead=function(){var s=this.getStack();return s?s.lead===this:!0},a.prototype.getLead=function(){var s,l=this.options.layoutId;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this},a.prototype.getPrevLead=function(){var s,l=this.options.layoutId;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0},a.prototype.getStack=function(){var s=this.options.layoutId;if(s)return this.root.sharedNodes.get(s)},a.prototype.promote=function(s){var l=s===void 0?{}:s,u=l.needsReset,c=l.transition,f=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})},a.prototype.relegate=function(){var s=this.getStack();return s?s.relegate(this):!1},a.prototype.resetRotation=function(){var s=this.options.visualElement;if(!!s){for(var l=!1,u={},c=0;c<mv.length;c++){var f=mv[c],p="rotate"+f;!s.getStaticValue(p)||(l=!0,u[p]=s.getStaticValue(p),s.setStaticValue(p,0))}if(!!l){s==null||s.syncRender();for(var p in u)s.setStaticValue(p,u[p]);s.scheduleRender()}}},a.prototype.getProjectionStyles=function(s){var l,u,c,f,p,h;s===void 0&&(s={});var v={};if(!this.instance||this.isSVG)return v;if(this.isVisible)v.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,v.opacity="",v.pointerEvents=Zu(s.pointerEvents)||"",v.transform=m?m(this.latestValues,""):"none",v;var _=this.getLead();if(!this.projectionDelta||!this.layout||!_.target){var g={};return this.options.layoutId&&(g.opacity=(u=this.latestValues.opacity)!==null&&u!==void 0?u:1,g.pointerEvents=Zu(s.pointerEvents)||""),this.hasProjected&&!Cr(this.latestValues)&&(g.transform=m?m({},""):"none",this.hasProjected=!1),g}var y=_.animationValues||_.latestValues;this.applyTransformsToTarget(),v.transform=Kw(this.projectionDeltaWithTransform,this.treeScale,y),m&&(v.transform=m(y,v.transform));var x=this.projectionDelta,w=x.x,b=x.y;v.transformOrigin="".concat(w.origin*100,"% ").concat(b.origin*100,"% 0"),_.animationValues?v.opacity=_===this?(f=(c=y.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:v.opacity=_===this?(p=y.opacity)!==null&&p!==void 0?p:"":(h=y.opacityExit)!==null&&h!==void 0?h:0;for(var E in Qc)if(y[E]!==void 0){var S=Qc[E],C=S.correct,$=S.applyTo,P=C(y[E],_);if($)for(var M=$.length,I=0;I<M;I++)v[$[I]]=P;else v[E]=P}return this.options.layoutId&&(v.pointerEvents=_===this?Zu(s.pointerEvents)||"":"none"),v},a.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},a.prototype.resetTree=function(){this.root.nodes.forEach(function(s){var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Zw),this.root.sharedNodes.clear()},a}()}function EH(e){e.updateLayout()}function SH(e){var t,n,r,o,i=(n=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&n!==void 0?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;e.options.animationType==="size"?$n(function(y){var x=i.isShared?i.measured[y]:i.layout[y],w=cr(x);x.min=s[y].min,x.max=x.min+w}):e.options.animationType==="position"&&$n(function(y){var x=i.isShared?i.measured[y]:i.layout[y],w=cr(s[y]);x.max=x.min+w});var u=_s();ys(u,s,i.layout);var c=_s();i.isShared?ys(c,e.applyTransform(l,!0),i.measured):ys(c,s,i.layout);var f=!J5(u),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,v=h.snapshot,m=h.layout;if(v&&m){var _=mt();xs(_,i.layout,v.layout);var g=mt();xs(g,s,m.actual),eT(_,g)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:p})}else e.isLead()&&((o=(r=e.options).onExitComplete)===null||o===void 0||o.call(r));e.options.transition=void 0}function CH(e){e.clearSnapshot()}function Zw(e){e.clearMeasurements()}function AH(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function $H(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function TH(e){e.resolveTargetDelta()}function PH(e){e.calcProjection()}function RH(e){e.resetRotation()}function kH(e){e.removeLeadSnapshot()}function Qw(e,t,n){e.translate=Ye(t.translate,0,n),e.scale=Ye(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Jw(e,t,n,r){e.min=Ye(t.min,n.min,r),e.max=Ye(t.max,n.max,r)}function OH(e,t,n,r){Jw(e.x,t.x,n.x,r),Jw(e.y,t.y,n.y,r)}function DH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var LH={duration:.45,ease:[.4,0,.1,1]};function NH(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=n&&n!==e.root?n.instance:document,i=o.querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function eb(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function tb(e){eb(e.x),eb(e.y)}var MH=tT({attachResizeListener:function(e,t){return Bd(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),fh={current:void 0},FH=tT({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!fh.current){var e=new MH(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),fh.current=e}return fh.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"},checkIsScrollRoot:function(e){return Boolean(window.getComputedStyle(e).position==="fixed")}}),IH=H(H(H(H({},_U),MV),zU),cH),nT=TB(function(e,t){return hz(e,t,IH,iH,FH)});const ol={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},xe={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},jH=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:ol,neutralColors:xe},Symbol.toStringTag,{value:"Module"})),It=4,BH={"--ll-color-primary":ol.colorPrimary50,"--ll-color-primary-variant1":ol.colorPrimary40,"--ll-color-background":xe.colorNeutral100,"--ll-color-surface":xe.colorNeutral95,"--ll-color-surface-variant1":xe.colorNeutral90,"--ll-color-surface-variant2":xe.colorNeutral80,"--ll-color-on-primary":xe.colorNeutral100,"--ll-color-on-primary-variant1":xe.colorNeutral90,"--ll-color-on-background":xe.colorNeutral10,"--ll-color-on-background-variant1":xe.colorNeutral30,"--ll-color-on-surface":xe.colorNeutral10,"--ll-color-on-surface-variant1":xe.colorNeutral30,"--ll-color-placeholder":xe.colorNeutral60,"--ll-color-disabled":xe.colorNeutral60,"--ll-color-border":xe.colorNeutral90},zH={"--ll-border-radius-small":`${It}px`,"--ll-border-radius-medium":`${2*It}px`},VH={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},UH={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${It}px`,"--ll-spacing-xx-small":"var(--ll-spacing-base-unit)","--ll-spacing-x-small":"calc(var(--ll-spacing-base-unit) * 2)","--ll-spacing-small":"calc(var(--ll-spacing-base-unit) * 3)","--ll-spacing-medium":"calc(var(--ll-spacing-base-unit) * 4)","--ll-spacing-large":"calc(var(--ll-spacing-base-unit) * 6)","--ll-spacing-x-large":"calc(var(--ll-spacing-base-unit) * 8)","--ll-spacing-xx-large":"calc(var(--ll-spacing-base-unit) * 12)","--ll-spacing-xxx-large":"calc(var(--ll-spacing-base-unit) * 16)"},HH={"--ll-font-family":"Inter, sans-serif"},GH={"--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)"},YH={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},C1={...BH,...zH,...VH,...UH,...HH,...GH,...YH},WH={...C1,"--ll-color-primary":ol.colorPrimary60,"--ll-color-primary-variant1":ol.colorPrimary50,"--ll-color-background":xe.colorNeutral10,"--ll-color-surface":xe.colorNeutral20,"--ll-color-surface-variant1":xe.colorNeutral30,"--ll-color-surface-variant2":xe.colorNeutral40,"--ll-color-on-primary":xe.colorNeutral100,"--ll-color-on-primary-variant1":xe.colorNeutral90,"--ll-color-on-background":xe.colorNeutral99,"--ll-color-on-background-variant1":xe.colorNeutral60,"--ll-color-on-surface":xe.colorNeutral60,"--ll-color-on-surface-variant1":xe.colorNeutral70,"--ll-color-placeholder":xe.colorNeutral70,"--ll-color-disabled":xe.colorNeutral70,"--ll-color-border":xe.colorNeutral30},qH=Object.keys(C1),L=qH.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),KH={day:C1,night:WH},XH=JS`
455
+ :root {
456
+ ${({themeName:e,overrides:t})=>({...KH[e||"day"],...t})};
457
+ }
458
+ `,ZH=e=>e,QH=ZH({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),JH=Object.freeze(Object.defineProperty({__proto__:null,transitions:QH},Symbol.toStringTag,{value:"Module"})),eG={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},tG=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:eG},Symbol.toStringTag,{value:"Module"})),ec={colors:jH,...JH,...tG},nG=({size:e})=>e==="small"?ye`
459
+ padding: calc(${L["--ll-spacing-xx-small"]} / 2) ${L["--ll-spacing-xx-small"]};
460
+ `:e==="large"?ye`
461
+ padding: calc(${L["--ll-spacing-small"]} / 2) ${L["--ll-spacing-medium"]};
462
+ font-size: ${L["--ll-font-size-p"]};
463
+ `:ye`
464
+ padding: ${L["--ll-spacing-xx-small"]} ${L["--ll-spacing-x-small"]};
465
+ `,rG=Y.span`
466
+ display: inline-flex;
467
+ color: ${({textColor:e})=>e};
468
+ background-color: ${({backgroundColor:e})=>e};
469
+ border-radius: ${L["--ll-border-radius-small"]};
470
+ line-height: 1;
471
+ font-family: ${L["--ll-font-family"]};
472
+ font-size: ${L["--ll-font-size-caption-1"]};
473
+
474
+ ${nG};
475
+ `;var Hd={exports:{}},Ga={};/**
476
+ * @license React
477
+ * react-jsx-runtime.production.min.js
478
+ *
479
+ * Copyright (c) Facebook, Inc. and its affiliates.
480
+ *
481
+ * This source code is licensed under the MIT license found in the
482
+ * LICENSE file in the root directory of this source tree.
483
+ */var nb;function oG(){if(nb)return Ga;nb=1;var e=te,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,f={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:f,_owner:o.current}}return Ga.Fragment=n,Ga.jsx=a,Ga.jsxs=a,Ga}(function(e){e.exports=oG()})(Hd);const A1=Hd.exports.Fragment,_t=Hd.exports.jsx,$1=Hd.exports.jsxs,iG=({text:e,size:t="small",className:n,textColor:r=xe.colorNeutral100,backgroundColor:o=xe.colorNeutral60,onClick:i})=>_t(rG,{size:t,onClick:i,className:n,textColor:r,backgroundColor:o,children:e}),aG=Y.div`
484
+ height: ${({height:e})=>e}px;
485
+ width: ${({width:e})=>e}px;
486
+ fill: ${({fill:e})=>e};
487
+ display: flex;
488
+
489
+ & > svg {
490
+ fill: inherit;
491
+ height: 100%;
492
+ width: 100%;
493
+ }
494
+ `,$a=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>_t(aG,{fill:t,height:n,width:r,children:_t(e,{})}),rb=({variant:e})=>e==="h1"?L["--ll-font-size-h1"]:e==="h2"?L["--ll-font-size-h2"]:e==="h3"?L["--ll-font-size-h3"]:e==="h4"?L["--ll-font-size-h4"]:e==="h5"?L["--ll-font-size-h5"]:e==="h6"?L["--ll-font-size-h6"]:e==="p"?L["--ll-font-size-p"]:e==="caption1"?L["--ll-font-size-caption-1"]:e==="caption2"?L["--ll-font-size-caption-2"]:L["--ll-font-size-h2"],ob=({color:e})=>e in L?L[e]:e,rT=Y.span`
495
+ overflow: hidden;
496
+ display: inline-block;
497
+ width: 100%;
498
+ line-height: ${({lineHeight:e})=>e||1.45};
499
+ margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
500
+ font-size: inherit;
501
+ font-weight: inherit;
502
+ `,sG=Y.div`
503
+ ${e=>ye`
504
+ text-align: ${e.align};
505
+ font-size: ${rb(e)};
506
+ font-family: ${L["--ll-font-family"]};
507
+ color: ${ob(e)};
508
+ font-weight: ${L[e.weight]};
509
+ overflow: hidden;
510
+ display: flex;
511
+
512
+ svg {
513
+ height: ${rb(e)};
514
+ fill: ${ob(e)};
515
+ }
516
+
517
+ ${rT} {
518
+ ${e.noWrap&&ye`
519
+ text-overflow: ellipsis;
520
+ white-space: nowrap;
521
+ `}
522
+ }
523
+ `}
524
+ `,yt=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,lineHeight:a,weight:s="--ll-font-weight-normal",className:l})=>{const u=["caption1","caption2","p"].includes(t)?"p":t;return _t(sG,{variant:t,align:n,color:r,noWrap:o,weight:s,children:_t(rT,{as:u,noMargin:i,className:l,lineHeight:a,children:e})})};function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},le.apply(this,arguments)}function lG(e,t){const n=d.exports.createContext(t);function r(i){const{children:a,...s}=i,l=d.exports.useMemo(()=>s,Object.values(s));return d.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=d.exports.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function Ta(e,t=[]){let n=[];function r(i,a){const s=d.exports.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:h,...v}=f,m=(p==null?void 0:p[e][l])||s,_=d.exports.useMemo(()=>v,Object.values(v));return d.exports.createElement(m.Provider,{value:_},h)}function c(f,p){const h=(p==null?void 0:p[e][l])||s,v=d.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>d.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return d.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,uG(o,...t)]}function uG(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return d.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function cG(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function oT(...e){return t=>e.forEach(n=>cG(n,t))}function We(...e){return d.exports.useCallback(oT(...e),e)}const fa=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=d.exports.Children.toArray(n),i=o.find(dG);if(i){const a=i.props.children,s=o.map(l=>l===i?d.exports.Children.count(a)>1?d.exports.Children.only(null):d.exports.isValidElement(a)?a.props.children:null:l);return d.exports.createElement(kv,le({},r,{ref:t}),d.exports.isValidElement(a)?d.exports.cloneElement(a,void 0,s):null)}return d.exports.createElement(kv,le({},r,{ref:t}),n)});fa.displayName="Slot";const kv=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return d.exports.isValidElement(n)?d.exports.cloneElement(n,{...pG(r,n.props),ref:oT(t,n.ref)}):d.exports.Children.count(n)>1?d.exports.Children.only(null):null});kv.displayName="SlotClone";const fG=({children:e})=>d.exports.createElement(d.exports.Fragment,null,e);function dG(e){return d.exports.isValidElement(e)&&e.type===fG}function pG(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{i==null||i(...a),o==null||o(...a)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const hG=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Xe=hG.reduce((e,t)=>{const n=d.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?fa:t;return d.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.exports.createElement(s,le({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function mG(e,t){e&&Pt.exports.flushSync(()=>e.dispatchEvent(t))}const fr=Boolean(globalThis==null?void 0:globalThis.document)?d.exports.useLayoutEffect:()=>{},vG=t0["useId".toString()]||(()=>{});let gG=0;function iT(e){const[t,n]=d.exports.useState(vG());return fr(()=>{e||n(r=>r!=null?r:String(gG++))},[e]),e||(t?`radix-${t}`:"")}const yG="Label",[xG,_G]=lG(yG,{id:void 0,controlRef:{current:null}}),wG=d.exports.forwardRef((e,t)=>{const{htmlFor:n,id:r,...o}=e,i=d.exports.useRef(null),a=d.exports.useRef(null),s=We(t,a),l=iT(r);return d.exports.useEffect(()=>{if(n){const u=document.getElementById(n);if(a.current&&u){const c=()=>u.getAttribute("aria-labelledby"),f=[l,c()].filter(Boolean).join(" ");return u.setAttribute("aria-labelledby",f),i.current=u,()=>{var p;const h=(p=c())===null||p===void 0?void 0:p.replace(l,"");h===""?u.removeAttribute("aria-labelledby"):h&&u.setAttribute("aria-labelledby",h)}}}},[l,n]),d.exports.createElement(xG,{id:l,controlRef:i},d.exports.createElement(Xe.span,le({role:"label",id:l},o,{ref:s,onMouseDown:u=>{var c;(c=e.onMouseDown)===null||c===void 0||c.call(e,u),!u.defaultPrevented&&u.detail>1&&u.preventDefault()},onClick:u=>{var c;if((c=e.onClick)===null||c===void 0||c.call(e,u),!i.current||u.defaultPrevented)return;const f=i.current.contains(u.target),p=u.isTrusted===!0;!f&&p&&(i.current.click(),i.current.focus())}})))}),aT=e=>{const t=_G("LabelConsumer"),{controlRef:n}=t;return d.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id},bG=wG;Y(bG)`
525
+ font-size: ${L["--ll-font-size-p"]};
526
+ font-family: ${L["--ll-font-family"]};
527
+ color: ${L["--ll-color-placeholder"]};
528
+ `;const EG=cd`
529
+ 0% {
530
+ transform: rotate(0deg);
531
+ }
532
+ 100% {
533
+ transform: rotate(360deg);
534
+ }
535
+ `,dh={small:It*4,medium:It*6,large:It*8},SG=Y.div`
536
+ height: ${({size:e})=>dh[e]}px;
537
+ width: ${({size:e})=>dh[e]}px;
538
+ border: ${({size:e})=>dh[e]/6}px solid ${L["--ll-color-on-surface-variant1"]};
539
+ border-bottom-color: transparent;
540
+ border-radius: 50%;
541
+ display: inline-block;
542
+ box-sizing: border-box;
543
+ animation: ${EG} 1s linear infinite;
544
+ `,CG=({size:e="medium"})=>_t(SG,{size:e}),ws={primary:{background:L["--ll-color-primary"],onBackground:L["--ll-color-on-primary"],hover:L["--ll-color-primary-variant1"]}},AG=({size:e})=>e==="small"?`font-size: ${L["--ll-font-size-caption-1"]}`:`font-size: ${L["--ll-font-size-p"]}`,T1=({size:e})=>e==="small"?`${It*8}px`:e==="large"?`${It*12}px`:`${It*10}px`,$G=({size:e})=>e==="small"?`padding: 0 ${L["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${L["--ll-spacing-medium"]}`:`padding: 0 ${L["--ll-spacing-small"]}`,TG=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",PG=ye`
545
+ ${({color:e="primary"})=>ye`
546
+ color: ${L["--ll-color-on-background"]};
547
+
548
+ &:disabled {
549
+ cursor: default;
550
+ }
551
+ `};
552
+
553
+ height: ${T1};
554
+ `,RG=ye`
555
+ ${({color:e="primary"})=>ye`
556
+ background-color: ${ws[e].background};
557
+ color: ${ws[e].onBackground};
558
+ border: 1px solid transparent;
559
+
560
+ &:hover {
561
+ background-color: ${ws[e].hover};
562
+ }
563
+
564
+ &:disabled {
565
+ background-color: ${L["--ll-color-disabled"]};
566
+ cursor: default;
567
+ }
568
+ `};
569
+ height: ${T1};
570
+ `,kG=ye`
571
+ ${({color:e="primary"})=>ye`
572
+ border-color: ${ws[e].background};
573
+ border-width: 1px;
574
+ border-style: solid;
575
+ color: ${ws[e].background};
576
+ `};
577
+
578
+ &:hover {
579
+ background-color: rgba(0, 0, 0, 0.03);
580
+ }
581
+
582
+ height: ${T1};
583
+ `,OG=e=>({contained:RG,outlined:kG,text:PG})[e.variant],DG=Y.div`
584
+ display: flex;
585
+ align-items: center;
586
+ margin-right: ${L["--ll-spacing-x-small"]};
587
+ margin-left: calc(-1 * ${L["--ll-spacing-xx-small"]});
588
+ `,LG=Y.button`
589
+ font-weight: ${L["--ll-font-weight-normal"]};
590
+ border-radius: ${L["--ll-border-radius-small"]};
591
+ align-items: center;
592
+ cursor: pointer;
593
+ display: inline-flex;
594
+ background: none;
595
+ border: none;
596
+ box-sizing: border-box;
597
+
598
+ svg {
599
+ fill: currentColor;
600
+ }
601
+
602
+ ${OG};
603
+ ${TG};
604
+ ${AG};
605
+ ${$G};
606
+ `,sT=te.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",color:s,isLoading:l,className:u},c)=>_t(LG,{variant:r,size:i,onClick:f=>{t||!n||l||n(f)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?_t(CG,{}):$1(A1,{children:[o&&_t(DG,{children:o}),e]})}));sT.displayName="Button";function je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function ao(e){const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function lT({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=NG({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=ao(n),l=d.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function NG({defaultProp:e,onChange:t}){const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=ao(t);return d.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function P1(e){const t=d.exports.useRef({value:e,previous:e});return d.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function R1(e){const[t,n]=d.exports.useState(void 0);return fr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const uT="Switch",[MG,zJ]=Ta(uT),[FG,IG]=MG(uT),jG=d.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,"aria-labelledby":r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...f}=e,[p,h]=d.exports.useState(null),v=We(t,b=>h(b)),m=aT(p),_=r||m,g=d.exports.useRef(!1),y=p?Boolean(p.closest("form")):!0,[x=!1,w]=lT({prop:i,defaultProp:a,onChange:c});return d.exports.createElement(FG,{scope:n,checked:x,disabled:l},d.exports.createElement(Xe.button,le({type:"button",role:"switch","aria-checked":x,"aria-labelledby":_,"aria-required":s,"data-state":cT(x),"data-disabled":l?"":void 0,disabled:l,value:u},f,{ref:v,onClick:je(e.onClick,b=>{w(E=>!E),y&&(g.current=b.isPropagationStopped(),g.current||b.stopPropagation())})})),y&&d.exports.createElement(VG,{control:p,bubbles:!g.current,name:o,value:u,checked:x,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),BG="SwitchThumb",zG=d.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=IG(BG,n);return d.exports.createElement(Xe.span,le({"data-state":cT(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),VG=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=d.exports.useRef(null),a=P1(n),s=R1(t);return d.exports.useEffect(()=>{const l=i.current,u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&c){const f=new Event("click",{bubbles:r});c.call(l,n),l.dispatchEvent(f)}},[a,n,r]),d.exports.createElement("input",le({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function cT(e){return e?"checked":"unchecked"}const UG=jG,HG=zG;Y(UG)`
607
+ all: unset;
608
+ width: 42px;
609
+ height: 24px;
610
+ background-color: ${L["--ll-color-disabled"]};
611
+ border-radius: 13px;
612
+ position: relative;
613
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
614
+
615
+ &[data-state="checked"] {
616
+ background-color: ${L["--ll-color-on-background"]};
617
+ }
618
+ `;Y(HG)`
619
+ display: block;
620
+ width: 18px;
621
+ height: 18px;
622
+ background-color: ${L["--ll-color-background"]};
623
+ border-radius: 9px;
624
+ transition: transform 100ms;
625
+ transform: translateX(3px);
626
+ will-change: transform;
627
+
628
+ &[data-state="checked"] {
629
+ transform: translateX(21px);
630
+ }
631
+ `;function Ov(e,[t,n]){return Math.min(n,Math.max(t,e))}const GG=d.exports.createContext(void 0);function YG(e){const t=d.exports.useContext(GG);return e||t||"ltr"}function fT(e){const t=e+"CollectionProvider",[n,r]=Ta(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=te.useRef(null),g=te.useRef(new Map).current;return te.createElement(o,{scope:v,itemMap:g,collectionRef:_},m)},s=e+"CollectionSlot",l=te.forwardRef((h,v)=>{const{scope:m,children:_}=h,g=i(s,m),y=We(v,g.collectionRef);return te.createElement(fa,{ref:y},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=te.forwardRef((h,v)=>{const{scope:m,children:_,...g}=h,y=te.useRef(null),x=We(v,y),w=i(u,m);return te.useEffect(()=>(w.itemMap.set(y,{ref:y,...g}),()=>void w.itemMap.delete(y))),te.createElement(fa,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return te.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((g,y)=>_.indexOf(g.ref.current)-_.indexOf(y.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}const dT=["PageUp","PageDown"],pT=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],hT={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},Cl="Slider",[Dv,WG,qG]=fT(Cl),[mT,VJ]=Ta(Cl,[qG]),[KG,Gd]=mT(Cl),XG=d.exports.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:f=()=>{},...p}=e,[h,v]=d.exports.useState(null),m=We(t,P=>v(P)),_=d.exports.useRef(new Set),g=d.exports.useRef(0),y=a==="horizontal",x=h?Boolean(h.closest("form")):!0,w=y?ZG:QG,[b=[],E]=lT({prop:c,defaultProp:u,onChange:P=>{var M;(M=[..._.current][g.current])===null||M===void 0||M.focus(),f(P)}});function S(P){const M=sY(b,P);$(P,M)}function C(P){$(P,g.current)}function $(P,M){const I=fY(i),B=dY(Math.round((P-r)/i)*i+r,I),j=Ov(B,[r,o]);E((J=[])=>{const ue=iY(J,j,M);return cY(ue,l*i)?(g.current=ue.indexOf(j),String(ue)===String(J)?J:ue):J})}return d.exports.createElement(KG,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:g,thumbs:_.current,values:b,orientation:a},d.exports.createElement(Dv.Provider,{scope:e.__scopeSlider},d.exports.createElement(Dv.Slot,{scope:e.__scopeSlider},d.exports.createElement(w,le({"aria-disabled":s,"data-disabled":s?"":void 0},p,{ref:m,min:r,max:o,onSlideStart:s?void 0:S,onSlideMove:s?void 0:C,onHomeKeyDown:()=>!s&&$(r,0),onEndKeyDown:()=>!s&&$(o,b.length-1),onStepKeyDown:({event:P,direction:M})=>{if(!s){const I=dT.includes(P.key)||P.shiftKey&&pT.includes(P.key)?10:1,B=g.current,j=b[B],J=i*I*M;$(j+J,B)}}})))),x&&b.map((P,M)=>d.exports.createElement(oY,{key:M,name:n?n+(b.length>1?"[]":""):void 0,value:P})))}),[vT,gT]=mT(Cl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),ZG=d.exports.forwardRef((e,t)=>{const{min:n,max:r,dir:o,onSlideStart:i,onSlideMove:a,onStepKeyDown:s,...l}=e,[u,c]=d.exports.useState(null),f=We(t,_=>c(_)),p=d.exports.useRef(),h=YG(o),v=h==="ltr";function m(_){const g=p.current||u.getBoundingClientRect(),y=[0,g.width],x=k1(y,v?[n,r]:[r,n]);return p.current=g,x(_-g.left)}return d.exports.createElement(vT,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},d.exports.createElement(yT,le({dir:h,"data-orientation":"horizontal"},l,{ref:f,style:{...l.style,["--radix-slider-thumb-transform"]:"translateX(-50%)"},onSlideStart:_=>{const g=m(_.clientX);i==null||i(g)},onSlideMove:_=>{const g=m(_.clientX);a==null||a(g)},onSlideEnd:()=>p.current=void 0,onStepKeyDown:_=>{const g=hT[h].includes(_.key);s==null||s({event:_,direction:g?-1:1})}})))}),QG=d.exports.forwardRef((e,t)=>{const{min:n,max:r,onSlideStart:o,onSlideMove:i,onStepKeyDown:a,...s}=e,l=d.exports.useRef(null),u=We(t,l),c=d.exports.useRef();function f(p){const h=c.current||l.current.getBoundingClientRect(),v=[0,h.height],m=k1(v,[r,n]);return c.current=h,m(p-h.top)}return d.exports.createElement(vT,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},d.exports.createElement(yT,le({"data-orientation":"vertical"},s,{ref:u,style:{...s.style,["--radix-slider-thumb-transform"]:"translateY(50%)"},onSlideStart:p=>{const h=f(p.clientY);o==null||o(h)},onSlideMove:p=>{const h=f(p.clientY);i==null||i(h)},onSlideEnd:()=>c.current=void 0,onStepKeyDown:p=>{const h=hT.ltr.includes(p.key);a==null||a({event:p,direction:h?-1:1})}})))}),yT=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,c=Gd(Cl,n);return d.exports.createElement(Xe.span,le({},u,{ref:t,onKeyDown:je(e.onKeyDown,f=>{f.key==="Home"?(a(f),f.preventDefault()):f.key==="End"?(s(f),f.preventDefault()):dT.concat(pT).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:je(e.onPointerDown,f=>{const p=f.target;p.setPointerCapture(f.pointerId),f.preventDefault(),c.thumbs.has(p)?p.focus():r(f)}),onPointerMove:je(e.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&o(f)}),onPointerUp:je(e.onPointerUp,f=>{const p=f.target;p.hasPointerCapture(f.pointerId)&&(p.releasePointerCapture(f.pointerId),i(f))})}))}),JG="SliderTrack",eY=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Gd(JG,n);return d.exports.createElement(Xe.span,le({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),ib="SliderRange",tY=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Gd(ib,n),i=gT(ib,n),a=d.exports.useRef(null),s=We(t,a),l=o.values.length,u=o.values.map(p=>xT(p,o.min,o.max)),c=l>1?Math.min(...u):0,f=100-Math.max(...u);return d.exports.createElement(Xe.span,le({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:f+"%"}}))}),ab="SliderThumb",nY=d.exports.forwardRef((e,t)=>{const n=WG(e.__scopeSlider),[r,o]=d.exports.useState(null),i=We(t,s=>o(s)),a=d.exports.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return d.exports.createElement(rY,le({},e,{ref:i,index:a}))}),rY=d.exports.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=Gd(ab,n),a=gT(ab,n),[s,l]=d.exports.useState(null),u=We(t,_=>l(_)),c=R1(s),f=i.values[r],p=f===void 0?0:xT(f,i.min,i.max),h=aY(r,i.values.length),v=c==null?void 0:c[a.size],m=v?lY(v,p,a.direction):0;return d.exports.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),d.exports.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${p}% + ${m}px)`}},d.exports.createElement(Dv.ItemSlot,{scope:e.__scopeSlider},d.exports.createElement(Xe.span,le({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":f,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:f===void 0?{display:"none"}:e.style,onFocus:je(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),oY=e=>{const{value:t,...n}=e,r=d.exports.useRef(null),o=P1(t);return d.exports.useEffect(()=>{const i=r.current,a=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(a,"value").set;if(o!==t&&s){const l=new Event("input",{bubbles:!0});s.call(i,t),i.dispatchEvent(l)}},[o,t]),d.exports.createElement("input",le({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function iY(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function xT(e,t,n){const r=n-t;return 100/r*(e-t)}function aY(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function sY(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function lY(e,t,n){const r=e/2,o=k1([0,50],[0,r]);return(r-o(t)*n)*n}function uY(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function cY(e,t){if(t>0){const n=uY(e);return Math.min(...n)>=t}return!0}function k1(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function fY(e){return(String(e).split(".")[1]||"").length}function dY(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const pY=XG,hY=eY,mY=tY,vY=nY;Y.div``;Y.div`
632
+ display: flex;
633
+ align-items: center;
634
+ `;Y(pY)`
635
+ position: relative;
636
+ display: flex;
637
+ align-items: center;
638
+ user-select: none;
639
+ touch-action: none;
640
+ height: 20;
641
+ flex: 1;
642
+ `;Y(vY)`
643
+ all: unset;
644
+ height: 20px;
645
+ width: 20px;
646
+ border-radius: 50%;
647
+ display: block;
648
+ background-color: ${L["--ll-color-primary"]};
649
+ box-shadow: ${L["--ll-shadow-medium"]};
650
+ `;Y(hY)`
651
+ height: 4px;
652
+ border-radius: 2px;
653
+ background-color: ${L["--ll-color-surface-variant1"]};
654
+ position: relative;
655
+ flex: 1;
656
+ `;Y(mY)`
657
+ height: 100%;
658
+ position: absolute;
659
+ background-color: ${L["--ll-color-primary"]};
660
+ border-radius: 2px;
661
+ `;const gY=({vertical:e,spacing:t})=>{const n=L[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`};Y.div`
662
+ margin: ${e=>gY(e)};
663
+ flex-shrink: 0;
664
+ `;function yY(e){const t=ao(e);d.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const Lv="dismissableLayer.update",xY="dismissableLayer.pointerDownOutside",_Y="dismissableLayer.focusOutside";let sb;const wY=d.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_T=d.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=d.exports.useContext(wY),[c,f]=d.exports.useState(null),[,p]=d.exports.useState({}),h=We(t,E=>f(E)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,x=g>=_,w=bY(E=>{const S=E.target,C=[...u.branches].some($=>$.contains(S));!x||C||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),b=EY(E=>{const S=E.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return yY(E=>{g===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),d.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(sb=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),lb(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=sb)}},[c,n,u]),d.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),lb())},[c,u]),d.exports.useEffect(()=>{const E=()=>p({});return document.addEventListener(Lv,E),()=>document.removeEventListener(Lv,E)},[]),d.exports.createElement(Xe.div,le({},l,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:je(e.onFocusCapture,b.onFocusCapture),onBlurCapture:je(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:je(e.onPointerDownCapture,w.onPointerDownCapture)}))});function bY(e){const t=ao(e),n=d.exports.useRef(!1),r=d.exports.useRef(()=>{});return d.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){wT(xY,t,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=s,document.addEventListener("click",r.current,{once:!0})):s()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function EY(e){const t=ao(e),n=d.exports.useRef(!1);return d.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&wT(_Y,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function lb(){const e=new CustomEvent(Lv);document.dispatchEvent(e)}function wT(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mG(o,i):o.dispatchEvent(i)}let ph=0;function bT(){d.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ub()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ub()),ph++,()=>{ph===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ph--}},[])}function ub(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const hh="focusScope.autoFocusOnMount",mh="focusScope.autoFocusOnUnmount",cb={bubbles:!1,cancelable:!0},ET=d.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.exports.useState(null),u=ao(o),c=ao(i),f=d.exports.useRef(null),p=We(t,m=>l(m)),h=d.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.exports.useEffect(()=>{if(r){let m=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?f.current=y:$o(f.current,{select:!0})},_=function(g){h.paused||!s||s.contains(g.relatedTarget)||$o(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),d.exports.useEffect(()=>{if(s){db.add(h);const m=document.activeElement;if(!s.contains(m)){const _=new CustomEvent(hh,cb);s.addEventListener(hh,u),s.dispatchEvent(_),_.defaultPrevented||(SY(PY(ST(s)),{select:!0}),document.activeElement===m&&$o(s))}return()=>{s.removeEventListener(hh,u),setTimeout(()=>{const _=new CustomEvent(mh,cb);s.addEventListener(mh,c),s.dispatchEvent(_),_.defaultPrevented||$o(m!=null?m:document.body,{select:!0}),s.removeEventListener(mh,c),db.remove(h)},0)}}},[s,u,c,h]);const v=d.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(_&&g){const y=m.currentTarget,[x,w]=CY(y);x&&w?!m.shiftKey&&g===w?(m.preventDefault(),n&&$o(x,{select:!0})):m.shiftKey&&g===x&&(m.preventDefault(),n&&$o(w,{select:!0})):g===y&&m.preventDefault()}},[n,r,h.paused]);return d.exports.createElement(Xe.div,le({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function SY(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if($o(r,{select:t}),document.activeElement!==n)return}function CY(e){const t=ST(e),n=fb(t,e),r=fb(t.reverse(),e);return[n,r]}function ST(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function fb(e,t){for(const n of e)if(!AY(n,{upTo:t}))return n}function AY(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function $Y(e){return e instanceof HTMLInputElement&&"select"in e}function $o(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&$Y(e)&&t&&e.select()}}const db=TY();function TY(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=pb(e,t),e.unshift(t)},remove(t){var n;e=pb(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function pb(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function PY(e){return e.filter(t=>t.tagName!=="A")}function Pa(e){return e.split("-")[0]}function Yd(e){return e.split("-")[1]}function Ra(e){return["top","bottom"].includes(Pa(e))?"x":"y"}function O1(e){return e==="y"?"height":"width"}function hb(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=Ra(t),l=O1(s),u=r[l]/2-o[l]/2,c=Pa(t),f=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(Yd(t)){case"start":p[s]-=u*(n&&f?-1:1);break;case"end":p[s]+=u*(n&&f?-1:1);break}return p}const RY=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=hb(l,r,s),f=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:g,y,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=g!=null?g:u,c=y!=null?y:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=hb(l,f,s)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:o,middlewareData:p}};function kY(e){return{top:0,right:0,bottom:0,left:0,...e}}function CT(e){return typeof e!="number"?kY(e):{top:e,right:e,bottom:e,left:e}}function lf(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function uf(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=t,v=CT(h),m=s[p?f==="floating"?"reference":"floating":f],_=lf(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),g=lf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:_.top-g.top+v.top,bottom:g.bottom-_.bottom+v.bottom,left:_.left-g.left+v.left,right:g.right-_.right+v.right}}const OY=Math.min,DY=Math.max;function Nv(e,t,n){return DY(e,OY(t,n))}const mb=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=CT(r),c={x:o,y:i},f=Ra(a),p=Yd(a),h=O1(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const b=g/2-y/2,E=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+b,$=Nv(E,C,S),P=(p==="start"?u[m]:u[_])>0&&C!==$&&s.reference[h]<=s.floating[h]?C<E?E-C:S-C:0;return{[f]:c[f]-P,data:{[f]:$,centerOffset:C-$}}}}),LY={left:"right",right:"left",bottom:"top",top:"bottom"};function cf(e){return e.replace(/left|right|bottom|top/g,t=>LY[t])}function NY(e,t,n){n===void 0&&(n=!1);const r=Yd(e),o=Ra(e),i=O1(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=cf(a)),{main:a,cross:cf(a)}}const MY={start:"end",end:"start"};function vb(e){return e.replace(/start|end/g,t=>MY[t])}const FY=["top","right","bottom","left"];function IY(e){const t=cf(e);return[vb(e),t,vb(t)]}const jY=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=Pa(r),_=f||(m===a||!h?[cf(a)]:IY(a)),g=[a,..._],y=await uf(t,v),x=[];let w=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(y[m]),c){const{main:C,cross:$}=NY(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(y[C],y[$])}if(w=[...w,{placement:r,overflows:x}],!x.every(C=>C<=0)){var b,E;const C=((b=(E=o.flip)==null?void 0:E.index)!=null?b:0)+1,$=g[C];if($)return{data:{index:C,overflows:w},reset:{placement:$}};let P="bottom";switch(p){case"bestFit":{var S;const M=(S=w.map(I=>[I,I.overflows.filter(B=>B>0).reduce((B,j)=>B+j,0)]).sort((I,B)=>I[1]-B[1])[0])==null?void 0:S[0].placement;M&&(P=M);break}case"initialPlacement":P=a;break}if(r!==P)return{reset:{placement:P}}}return{}}}};function gb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yb(e){return FY.some(t=>e[t]>=0)}const BY=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await uf(r,{...n,elementContext:"reference"}),a=gb(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:yb(a)}}}case"escaped":{const i=await uf(r,{...n,altBoundary:!0}),a=gb(i,o.floating);return{data:{escapedOffsets:a,escaped:yb(a)}}}default:return{}}}}};async function zY(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Pa(n),s=Yd(n),l=Ra(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const VY=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await zY(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function AT(e){return e==="x"?"y":"x"}const UY=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:g,y}=_;return{x:g,y}}},...l}=e,u={x:n,y:r},c=await uf(t,l),f=Ra(Pa(o)),p=AT(f);let h=u[f],v=u[p];if(i){const _=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=h+c[_],x=h-c[g];h=Nv(y,h,x)}if(a){const _=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+c[_],x=v-c[g];v=Nv(y,v,x)}const m=s.fn({...t,[f]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},HY=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=Ra(o),p=AT(f);let h=c[f],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",E=i.reference[f]-i.floating[b]+_.mainAxis,S=i.reference[f]+i.reference[b]-_.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var g,y,x,w;const b=f==="y"?"width":"height",E=["top","left"].includes(Pa(o)),S=i.reference[p]-i.floating[b]+(E&&(g=(y=a.offset)==null?void 0:y[p])!=null?g:0)+(E?0:_.crossAxis),C=i.reference[p]+i.reference[b]+(E?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(E?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[f]:h,[p]:v}}}};function $T(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function xr(e){if(e==null)return window;if(!$T(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Al(e){return xr(e).getComputedStyle(e)}function dr(e){return $T(e)?"":e?(e.nodeName||"").toLowerCase():""}function TT(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Bn(e){return e instanceof xr(e).HTMLElement}function so(e){return e instanceof xr(e).Element}function GY(e){return e instanceof xr(e).Node}function D1(e){if(typeof ShadowRoot>"u")return!1;const t=xr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Wd(e){const{overflow:t,overflowX:n,overflowY:r}=Al(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function YY(e){return["table","td","th"].includes(dr(e))}function PT(e){const t=/firefox/i.test(TT()),n=Al(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function RT(){return!/^((?!chrome|android).)*safari/i.test(TT())}const xb=Math.min,bs=Math.max,ff=Math.round;function pr(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Bn(e)&&(l=e.offsetWidth>0&&ff(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&ff(s.height)/e.offsetHeight||1);const c=so(e)?xr(e):window,f=!RT()&&n,p=(s.left+(f&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function vo(e){return((GY(e)?e.ownerDocument:e.document)||window.document).documentElement}function qd(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function kT(e){return pr(vo(e)).left+qd(e).scrollLeft}function WY(e){const t=pr(e);return ff(t.width)!==e.offsetWidth||ff(t.height)!==e.offsetHeight}function qY(e,t,n){const r=Bn(t),o=vo(t),i=pr(e,r&&WY(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((dr(t)!=="body"||Wd(o))&&(a=qd(t)),Bn(t)){const l=pr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=kT(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function OT(e){return dr(e)==="html"?e:e.assignedSlot||e.parentNode||(D1(e)?e.host:null)||vo(e)}function _b(e){return!Bn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function KY(e){let t=OT(e);for(D1(t)&&(t=t.host);Bn(t)&&!["html","body"].includes(dr(t));){if(PT(t))return t;t=t.parentNode}return null}function Mv(e){const t=xr(e);let n=_b(e);for(;n&&YY(n)&&getComputedStyle(n).position==="static";)n=_b(n);return n&&(dr(n)==="html"||dr(n)==="body"&&getComputedStyle(n).position==="static"&&!PT(n))?t:n||KY(e)||t}function wb(e){if(Bn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=pr(e);return{width:t.width,height:t.height}}function XY(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Bn(n),i=vo(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((dr(n)!=="body"||Wd(i))&&(a=qd(n)),Bn(n))){const l=pr(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function ZY(e,t){const n=xr(e),r=vo(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=RT();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function QY(e){var t;const n=vo(e),r=qd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=bs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=bs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+kT(e);const l=-r.scrollTop;return Al(o||n).direction==="rtl"&&(s+=bs(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function DT(e){const t=OT(e);return["html","body","#document"].includes(dr(t))?e.ownerDocument.body:Bn(t)&&Wd(t)?t:DT(t)}function df(e,t){var n;t===void 0&&(t=[]);const r=DT(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=xr(r),a=o?[i].concat(i.visualViewport||[],Wd(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(df(a))}function JY(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&D1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function eW(e,t){const n=pr(e,!1,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function bb(e,t,n){return t==="viewport"?lf(ZY(e,n)):so(t)?eW(t,n):lf(QY(vo(e)))}function tW(e){const t=df(e),n=["absolute","fixed"].includes(Al(e).position)&&Bn(e)?Mv(e):e;return so(n)?t.filter(r=>so(r)&&JY(r,n)&&dr(r)!=="body"):[]}function nW(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?tW(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=bb(t,u,o);return l.top=bs(c.top,l.top),l.right=xb(c.right,l.right),l.bottom=xb(c.bottom,l.bottom),l.left=bs(c.left,l.left),l},bb(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const rW={getClippingRect:nW,convertOffsetParentRelativeRectToViewportRelativeRect:XY,isElement:so,getDimensions:wb,getOffsetParent:Mv,getDocumentElement:vo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:qY(t,Mv(n),r),floating:{...wb(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Al(e).direction==="rtl"};function oW(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...so(e)?df(e):[],...df(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),so(e)&&!s&&f.observe(e),f.observe(t)}let p,h=s?pr(e):null;s&&v();function v(){const m=pr(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,p=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(_=>{l&&_.removeEventListener("scroll",n),u&&_.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const iW=(e,t,n)=>RY(e,t,{platform:rW,...n});var Fv=typeof document<"u"?d.exports.useLayoutEffect:d.exports.useEffect;function Iv(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Iv(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Iv(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function aW(e){const t=d.exports.useRef(e);return Fv(()=>{t.current=e}),t}function sW(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=d.exports.useRef(null),a=d.exports.useRef(null),s=aW(o),l=d.exports.useRef(null),[u,c]=d.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,p]=d.exports.useState(t);Iv(f==null?void 0:f.map(x=>{let{options:w}=x;return w}),t==null?void 0:t.map(x=>{let{options:w}=x;return w}))||p(t);const h=d.exports.useCallback(()=>{!i.current||!a.current||iW(i.current,a.current,{middleware:f,placement:n,strategy:r}).then(x=>{v.current&&Pt.exports.flushSync(()=>{c(x)})})},[f,n,r]);Fv(()=>{v.current&&h()},[h]);const v=d.exports.useRef(!1);Fv(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=d.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),_=d.exports.useCallback(x=>{i.current=x,m()},[m]),g=d.exports.useCallback(x=>{a.current=x,m()},[m]),y=d.exports.useMemo(()=>({reference:i,floating:a}),[]);return d.exports.useMemo(()=>({...u,update:h,refs:y,reference:_,floating:g}),[u,h,y,_,g])}const lW=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?mb({element:t.current,padding:n}).fn(o):{}:t?mb({element:t,padding:n}).fn(o):{}}}},uW=d.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.exports.createElement(Xe.svg,le({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:d.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),cW=uW,LT="Popper",[L1,NT]=Ta(LT),[UJ,MT]=L1(LT),fW="PopperAnchor",dW=d.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=MT(fW,n),a=d.exports.useRef(null),s=We(t,a);return d.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.exports.createElement(Xe.div,le({},o,{ref:s}))}),pf="PopperContent",[pW,hW]=L1(pf),[mW,vW]=L1(pf,{hasParent:!1,positionUpdateFns:new Set}),gW=d.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...b}=e,E=MT(pf,c),[S,C]=d.exports.useState(null),$=We(t,me=>C(me)),[P,M]=d.exports.useState(null),I=R1(P),B=(n=I==null?void 0:I.width)!==null&&n!==void 0?n:0,j=(r=I==null?void 0:I.height)!==null&&r!==void 0?r:0,J=f+(h!=="center"?"-"+h:""),ue=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},ie=Array.isArray(_)?_:[_],z=ie.length>0,K={padding:ue,boundary:ie.filter(bW),altBoundary:z},{reference:k,floating:G,strategy:O,x:R,y:T,placement:D,middlewareData:A,update:q}=sW({strategy:"fixed",placement:J,whileElementsMounted:oW,middleware:[VY({mainAxis:p+j,alignmentAxis:v}),w?UY({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?HY():void 0,...K}):void 0,P?lW({element:P,padding:m}):void 0,w?jY({...K}):void 0,EW({arrowWidth:B,arrowHeight:j}),x?BY({strategy:"referenceHidden"}):void 0].filter(wW)});fr(()=>{k(E.anchor)},[k,E.anchor]);const F=R!==null&&T!==null,[ce,ae]=FT(D),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,ne=(i=A.arrow)===null||i===void 0?void 0:i.y,Se=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Re,se]=d.exports.useState();fr(()=>{S&&se(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:ke,positionUpdateFns:ee}=vW(pf,c),de=!ke;d.exports.useLayoutEffect(()=>{if(!de)return ee.add(q),()=>{ee.delete(q)}},[de,ee,q]),d.exports.useLayoutEffect(()=>{de&&F&&Array.from(ee).reverse().forEach(me=>requestAnimationFrame(me))},[de,F,ee]);const He={"data-side":ce,"data-align":ae,...b,ref:$,style:{...b.style,animation:F?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return d.exports.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:O,left:0,top:0,transform:F?`translate3d(${Math.round(R)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Re,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},d.exports.createElement(pW,{scope:c,placedSide:ce,onArrowChange:M,arrowX:fe,arrowY:ne,shouldHideArrow:Se},de?d.exports.createElement(mW,{scope:c,hasParent:!0,positionUpdateFns:ee},d.exports.createElement(Xe.div,He)):d.exports.createElement(Xe.div,He)))}),yW="PopperArrow",xW={top:"bottom",right:"left",bottom:"top",left:"right"},_W=d.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=hW(yW,n),i=xW[o.placedSide];return d.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},d.exports.createElement(cW,le({},r,{ref:t,style:{...r.style,display:"block"}})))});function wW(e){return e!==void 0}function bW(e){return e!==null}const EW=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=FT(s),m={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,g=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let y="",x="";return h==="bottom"?(y=c?m:`${_}px`,x=`${-p}px`):h==="top"?(y=c?m:`${_}px`,x=`${l.floating.height+p}px`):h==="right"?(y=`${-p}px`,x=c?m:`${g}px`):h==="left"&&(y=`${l.floating.width+p}px`,x=c?m:`${g}px`),{data:{x:y,y:x}}}});function FT(e){const[t,n="center"]=e.split("-");return[t,n]}const SW=dW,CW=gW,AW=_W,$W=d.exports.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?rS.createPortal(d.exports.createElement(Xe.div,le({},o,{ref:t})),r):null});function TW(e,t){return d.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const IT=e=>{const{present:t,children:n}=e,r=PW(t),o=typeof n=="function"?n({present:r.isPresent}):d.exports.Children.only(n),i=We(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.exports.cloneElement(o,{ref:i}):null};IT.displayName="Presence";function PW(e){const[t,n]=d.exports.useState(),r=d.exports.useRef({}),o=d.exports.useRef(e),i=d.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=TW(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.exports.useEffect(()=>{const u=_u(r.current);i.current=s==="mounted"?u:"none"},[s]),fr(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,p=_u(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),fr(()=>{if(t){const u=f=>{const p=_u(r.current).includes(f.animationName);f.target===t&&p&&Pt.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=_u(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function _u(e){return(e==null?void 0:e.animationName)||"none"}var RW=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},si=new WeakMap,wu=new WeakMap,bu={},vh=0,kW=function(e,t,n,r){var o=Array.isArray(e)?e:[e];bu[n]||(bu[n]=new WeakMap);var i=bu[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(si.get(p)||0)+1,_=(i.get(p)||0)+1;si.set(p,m),i.set(p,_),a.push(p),m===1&&v&&wu.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),vh++,function(){a.forEach(function(f){var p=si.get(f)-1,h=i.get(f)-1;si.set(f,p),i.set(f,h),p||(wu.has(f)||f.removeAttribute(r),wu.delete(f)),h||f.removeAttribute(n)}),vh--,vh||(si=new WeakMap,si=new WeakMap,wu=new WeakMap,bu={})}},jT=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||RW(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),kW(r,o,n,"aria-hidden")):function(){return null}},Rn=function(){return Rn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Rn.apply(this,arguments)};function BT(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function OW(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var tc="right-scroll-bar-position",nc="width-before-scroll-bar",DW="with-scroll-bars-hidden",LW="--removed-body-scroll-bar-size";function NW(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function MW(e,t){var n=d.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function FW(e,t){return MW(t||null,function(n){return e.forEach(function(r){return NW(r,n)})})}function IW(e){return e}function jW(e,t){t===void 0&&(t=IW);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function BW(e){e===void 0&&(e={});var t=jW(null);return t.options=Rn({async:!0,ssr:!1},e),t}var zT=function(e){var t=e.sideCar,n=BT(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 _t(r,{...Rn({},n)})};zT.isSideCarExport=!0;function zW(e,t){return e.useMedium(t),zT}var VT=BW(),gh=function(){},Kd=d.exports.forwardRef(function(e,t){var n=d.exports.useRef(null),r=d.exports.useState({onScrollCapture:gh,onWheelCapture:gh,onTouchMoveCapture:gh}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,g=_===void 0?"div":_,y=BT(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=FW([n,t]),b=Rn(Rn({},y),o);return $1(A1,{children:[c&&_t(x,{sideCar:VT,removeScrollBar:u,shards:f,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?d.exports.cloneElement(d.exports.Children.only(s),Rn(Rn({},b),{ref:w})):_t(g,{...Rn({},b,{className:l,ref:w}),children:s})]})});Kd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Kd.classNames={fullWidth:nc,zeroRight:tc};var VW=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function UW(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=VW();return t&&e.setAttribute("nonce",t),e}function HW(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function GW(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var YW=function(){var e=0,t=null;return{add:function(n){e==0&&(t=UW())&&(HW(t,n),GW(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},WW=function(){var e=YW();return function(t,n){d.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},UT=function(){var e=WW(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},qW={left:0,top:0,right:0,gap:0},yh=function(e){return parseInt(e||"",10)||0},KW=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[yh(n),yh(r),yh(o)]},XW=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return qW;var t=KW(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])}},ZW=UT(),QW=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
665
+ .`.concat(DW,` {
666
+ overflow: hidden `).concat(r,`;
667
+ padding-right: `).concat(s,"px ").concat(r,`;
668
+ }
669
+ body {
670
+ overflow: hidden `).concat(r,`;
671
+ overscroll-behavior: contain;
672
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
673
+ padding-left: `.concat(o,`px;
674
+ padding-top: `).concat(i,`px;
675
+ padding-right: `).concat(a,`px;
676
+ margin-left:0;
677
+ margin-top:0;
678
+ margin-right: `).concat(s,"px ").concat(r,`;
679
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
680
+ }
681
+
682
+ .`).concat(tc,` {
683
+ right: `).concat(s,"px ").concat(r,`;
684
+ }
685
+
686
+ .`).concat(nc,` {
687
+ margin-right: `).concat(s,"px ").concat(r,`;
688
+ }
689
+
690
+ .`).concat(tc," .").concat(tc,` {
691
+ right: 0 `).concat(r,`;
692
+ }
693
+
694
+ .`).concat(nc," .").concat(nc,` {
695
+ margin-right: 0 `).concat(r,`;
696
+ }
697
+
698
+ body {
699
+ `).concat(LW,": ").concat(s,`px;
700
+ }
701
+ `)},JW=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=d.exports.useMemo(function(){return XW(o)},[o]);return _t(ZW,{styles:QW(i,!t,o,n?"":"!important")})},jv=!1;if(typeof window<"u")try{var Eu=Object.defineProperty({},"passive",{get:function(){return jv=!0,!0}});window.addEventListener("test",Eu,Eu),window.removeEventListener("test",Eu,Eu)}catch{jv=!1}var li=jv?{passive:!1}:!1,eq=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},tq=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Eb=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=HT(e,n);if(r){var o=GT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},nq=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},rq=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},HT=function(e,t){return e==="v"?eq(t):tq(t)},GT=function(e,t){return e==="v"?nq(t):rq(t)},oq=function(e,t){return e==="h"&&t==="rtl"?-1:1},iq=function(e,t,n,r,o){var i=oq(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{var h=GT(e,s),v=h[0],m=h[1],_=h[2],g=m-_-i*v;(v||g)&&HT(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&f===0||!o&&a>f)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Su=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Sb=function(e){return[e.deltaX,e.deltaY]},Cb=function(e){return e&&"current"in e?e.current:e},aq=function(e,t){return e[0]===t[0]&&e[1]===t[1]},sq=function(e){return`
702
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
703
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
704
+ `)},lq=0,ui=[];function uq(e){var t=d.exports.useRef([]),n=d.exports.useRef([0,0]),r=d.exports.useRef(),o=d.exports.useState(lq++)[0],i=d.exports.useState(function(){return UT()})[0],a=d.exports.useRef(e);d.exports.useEffect(function(){a.current=e},[e]),d.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=OW([e.lockRef.current],(e.shards||[]).map(Cb),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var g=Su(m),y=n.current,x="deltaX"in m?m.deltaX:y[0]-g[0],w="deltaY"in m?m.deltaY:y[1]-g[1],b,E=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&E.type==="range")return!1;var C=Eb(S,E);if(!C)return!0;if(C?b=S:(b=S==="v"?"h":"v",C=Eb(S,E)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=b),!b)return!0;var $=r.current||b;return iq($,_,m,$==="h"?x:w,!0)},[]),l=d.exports.useCallback(function(m){var _=m;if(!(!ui.length||ui[ui.length-1]!==i)){var g="deltaY"in _?Sb(_):Su(_),y=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&aq(b.delta,g)})[0];if(y&&y.should){_.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(Cb).filter(Boolean).filter(function(b){return b.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=d.exports.useCallback(function(m,_,g,y){var x={name:m,delta:_,target:g,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=d.exports.useCallback(function(m){n.current=Su(m),r.current=void 0},[]),f=d.exports.useCallback(function(m){u(m.type,Sb(m),m.target,s(m,e.lockRef.current))},[]),p=d.exports.useCallback(function(m){u(m.type,Su(m),m.target,s(m,e.lockRef.current))},[]);d.exports.useEffect(function(){return ui.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,li),document.addEventListener("touchmove",l,li),document.addEventListener("touchstart",c,li),function(){ui=ui.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,li),document.removeEventListener("touchmove",l,li),document.removeEventListener("touchstart",c,li)}},[]);var h=e.removeScrollBar,v=e.inert;return $1(A1,{children:[v?_t(i,{styles:sq(o)}):null,h?_t(JW,{gapMode:"margin"}):null]})}const cq=zW(VT,uq);var YT=d.exports.forwardRef(function(e,t){return _t(Kd,{...Rn({},e,{ref:t,sideCar:cq})})});YT.classNames=Kd.classNames;const WT=YT,qT="Popover",[KT,HJ]=Ta(qT,[NT]),N1=NT(),[GJ,$l]=KT(qT),fq="PopoverTrigger",dq=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=$l(fq,n),i=N1(n),a=We(t,o.triggerRef),s=d.exports.createElement(Xe.button,le({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ZT(o.open)},r,{ref:a,onClick:je(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:d.exports.createElement(SW,le({asChild:!0},i),s)}),pq="PopoverPortal",[YJ,hq]=KT(pq,{forceMount:void 0}),il="PopoverContent",mq=d.exports.forwardRef((e,t)=>{const n=hq(il,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=$l(il,e.__scopePopover);return d.exports.createElement(IT,{present:r||i.open},i.modal?d.exports.createElement(vq,le({},o,{ref:t})):d.exports.createElement(gq,le({},o,{ref:t})))}),vq=d.exports.forwardRef((e,t)=>{const n=$l(il,e.__scopePopover),r=d.exports.useRef(null),o=We(t,r),i=d.exports.useRef(!1);return d.exports.useEffect(()=>{const a=r.current;if(a)return jT(a)},[]),d.exports.createElement(WT,{as:fa,allowPinchZoom:!0},d.exports.createElement(XT,le({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:je(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:je(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:je(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),gq=d.exports.forwardRef((e,t)=>{const n=$l(il,e.__scopePopover),r=d.exports.useRef(!1);return d.exports.createElement(XT,le({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;!((a=n.triggerRef.current)===null||a===void 0)&&a.contains(s)&&o.preventDefault()}}))}),XT=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=$l(il,n),h=N1(n);return bT(),d.exports.createElement(ET,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},d.exports.createElement(_T,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},d.exports.createElement(CW,le({"data-state":ZT(p.open),role:"dialog",id:p.contentId},h,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),yq=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=N1(n);return d.exports.createElement(AW,le({},o,r,{ref:t}))});function ZT(e){return e?"open":"closed"}const xq=dq,_q=mq,wq=yq;Y(xq)`
705
+ background: none;
706
+ border: none;
707
+ padding: 0;
708
+ `;Y(_q)`
709
+ border-radius: ${L["--ll-border-radius-small"]};
710
+ box-shadow: ${L["--ll-shadow-small"]};
711
+ padding: ${L["--ll-spacing-medium"]};
712
+ `;Y(wq)`
713
+ fill: ${L["--ll-color-background"]};
714
+ `;const xh={primary:{background:"transparent",onBackground:L["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:L["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},Ab={small:24,medium:32,large:48};Y.button`
715
+ ${({color:e="primary",size:t="medium"})=>ye`
716
+ border: none;
717
+ background-color: ${xh[e].background};
718
+ color: ${xh[e].onBackground};
719
+ border-radius: 50%;
720
+ height: ${Ab[t]}px;
721
+ width: ${Ab[t]}px;
722
+ display: flex;
723
+ justify-content: center;
724
+ align-items: center;
725
+
726
+ &:hover {
727
+ background-color: ${xh[e].hover};
728
+ }
729
+
730
+ &:disabled {
731
+ cursor: default;
732
+ background-color: rgba(0, 0, 0, 0.1);
733
+ color: ${L["--ll-color-on-background-variant1"]};
734
+ }
735
+ `};
736
+ `;function bq({height:e,width:t}){return ye`
737
+ height: ${e};
738
+ width: ${t};
739
+ `}const Eq=cd`
740
+ from {
741
+ background-position: -800px 0;
742
+ }
743
+
744
+ to {
745
+ background-position: 800px 0;
746
+ }
747
+ `;Y.div`
748
+ border-radius: ${L["--ll-border-radius-medium"]};
749
+ animation: ${Eq} 2s linear infinite;
750
+ background: linear-gradient(
751
+ to right,
752
+ /* NOTE: 99.9% of the time we should use colours from theme, since these are
753
+ CSS vars that can be overriden. */
754
+ ${L["--ll-color-surface-variant1"]} 4%,
755
+ ${L["--ll-color-surface-variant2"]} 25%,
756
+ ${L["--ll-color-surface-variant1"]} 36%
757
+ );
758
+ background-size: 800px 100%;
759
+ ${bq}
760
+ `;Y.div`
761
+ flex: 1;
762
+ height: 100%;
763
+ width: 100%;
764
+ display: flex;
765
+ align-items: center;
766
+ justify-content: center;
767
+ `;Y.div`
768
+ display: flex;
769
+ flex-direction: column;
770
+ align-items: center;
771
+ `;const Sq=d.exports.forwardRef((e,t)=>d.exports.createElement(Xe.span,le({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Cq=[" ","Enter","ArrowUp","ArrowDown"],Aq=[" ","Enter"],Xd="Select",[M1,QT,$q]=fT(Xd),[Tl,WJ]=Ta(Xd,[$q]),[qJ,Zd]=Tl(Xd);Tl(Xd);const Tq="SelectTrigger",Pq=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=Zd(Tq,n),s=We(t,a.onTriggerChange),l=QT(n),u=aT(a.trigger),c=o||u,[f,p,h]=tP(m=>{const _=l().filter(x=>!x.disabled),g=_.find(x=>x.value===a.value),y=nP(_,m,g);y!==void 0&&a.onValueChange(y.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return d.exports.createElement(Xe.button,le({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-autocomplete":"none","aria-labelledby":c,dir:a.dir,"data-state":a.open?"open":"closed",disabled:r,"data-disabled":r?"":void 0,"data-placeholder":a.value===void 0?"":void 0},i,{ref:s,onPointerDown:je(i.onPointerDown,m=>{m.target.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(v(),a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)},m.preventDefault())}),onKeyDown:je(i.onKeyDown,m=>{const _=f.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(_&&m.key===" ")&&Cq.includes(m.key)&&(v(),m.preventDefault())})}))}),Rq=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return d.exports.createElement(Xe.span,le({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),kq=e=>d.exports.createElement($W,le({asChild:!0},e)),F1="SelectContent",Oq=d.exports.forwardRef((e,t)=>{const n=Zd(F1,e.__scopeSelect),[r,o]=d.exports.useState();return fr(()=>{o(new DocumentFragment)},[]),d.exports.createElement(d.exports.Fragment,null,n.open?d.exports.createElement(Dq,le({},e,{ref:t})):r?Pt.exports.createPortal(d.exports.createElement(JT,{scope:e.__scopeSelect},d.exports.createElement(M1.Slot,{scope:e.__scopeSelect},d.exports.createElement("div",null,e.children))),r):null)}),Ar=10,[JT,eP]=Tl(F1),Dq=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=Zd(F1,n),[a,s]=d.exports.useState(null),[l,u]=d.exports.useState(null),[c,f]=d.exports.useState(null),p=We(t,k=>u(k)),[h,v]=d.exports.useState(null),[m,_]=d.exports.useState(null),g=QT(n),[y,x]=d.exports.useState(!1),w=d.exports.useRef(!0),b=d.exports.useRef(!1),E=d.exports.useRef(!1);d.exports.useEffect(()=>{if(l)return jT(l)},[l]),bT();const[S,C]=d.exports.useState();fr(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const $=d.exports.useCallback(k=>{const[G,...O]=g().map(D=>D.ref.current),[R]=O.slice(-1),T=document.activeElement;for(const D of k)if(D===T||(D==null||D.scrollIntoView({block:"nearest"}),D===G&&c&&(c.scrollTop=0),D===R&&c&&(c.scrollTop=c.scrollHeight),D==null||D.focus(),document.activeElement!==T))return},[g,c]),P=d.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const k=i.trigger.getBoundingClientRect(),G=l.getBoundingClientRect(),O=i.valueNode.getBoundingClientRect(),R=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ce=R.left-G.left,Z=O.left-Ce,ve=k.left-Z,Qe=k.width+ve,un=Math.max(Qe,G.width),dt=window.innerWidth-Ar,xo=Ov(Z,[Ar,dt-un]);a.style.minWidth=Qe+"px",a.style.left=xo+"px"}else{const Ce=G.right-R.right,Z=window.innerWidth-O.right-Ce,ve=window.innerWidth-k.right-Z,Qe=k.width+ve,un=Math.max(Qe,G.width),dt=window.innerWidth-Ar,xo=Ov(Z,[Ar,dt-un]);a.style.minWidth=Qe+"px",a.style.right=xo+"px"}const T=g(),D=window.innerHeight-Ar*2,A=c.scrollHeight,q=window.getComputedStyle(l),F=parseInt(q.borderTopWidth,10),ce=parseInt(q.paddingTop,10),ae=parseInt(q.borderBottomWidth,10),fe=parseInt(q.paddingBottom,10),ne=F+ce+A+fe+ae,Se=Math.min(h.offsetHeight*5,ne),Re=window.getComputedStyle(c),se=parseInt(Re.paddingTop,10),ke=parseInt(Re.paddingBottom,10),ee=k.top+k.height/2-Ar,de=D-ee,He=h.offsetHeight/2,me=h.offsetTop+He,kt=F+ce+me,Hn=ne-kt;if(kt<=ee){const Ce=h===T[T.length-1].ref.current;a.style.bottom="0px";const Z=l.clientHeight-c.offsetTop-c.offsetHeight,ve=Math.max(de,He+(Ce?ke:0)+Z+ae),Qe=kt+ve;a.style.height=Qe+"px"}else{const Ce=h===T[0].ref.current;a.style.top="0px";const Z=Math.max(ee,F+c.offsetTop+(Ce?se:0)+He)+Hn;a.style.height=Z+"px",c.scrollTop=kt-ee+c.offsetTop}a.style.margin=`${Ar}px 0`,a.style.minHeight=Se+"px",a.style.maxHeight=D+"px",x(!0),requestAnimationFrame(()=>b.current=!0)}},[g,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);fr(()=>P(),[P]);const M=d.exports.useCallback(()=>$([h,l]),[$,h,l]);d.exports.useEffect(()=>{y&&M()},[y,M]);const I=d.exports.useCallback(k=>{k&&w.current===!0&&(P(),M(),w.current=!1)},[P,M]),{onOpenChange:B,triggerPointerDownPosRef:j}=i;d.exports.useEffect(()=>{if(l){let k={x:0,y:0};const G=R=>{var T,D,A,q;k={x:Math.abs(Math.round(R.pageX)-((T=(D=j.current)===null||D===void 0?void 0:D.x)!==null&&T!==void 0?T:0)),y:Math.abs(Math.round(R.pageY)-((A=(q=j.current)===null||q===void 0?void 0:q.y)!==null&&A!==void 0?A:0))}},O=R=>{k.x<=10&&k.y<=10?R.preventDefault():l.contains(R.target)||B(!1),document.removeEventListener("pointermove",G),j.current=null};return j.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",O,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",O,{capture:!0})}}},[l,B,j]),d.exports.useEffect(()=>{const k=()=>B(!1);return window.addEventListener("blur",k),window.addEventListener("resize",k),()=>{window.removeEventListener("blur",k),window.removeEventListener("resize",k)}},[B]);const[J,ue]=tP(k=>{const G=g().filter(T=>!T.disabled),O=G.find(T=>T.ref.current===document.activeElement),R=nP(G,k,O);R&&setTimeout(()=>R.ref.current.focus())}),ie=d.exports.useCallback((k,G,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===G||R)&&(v(k),R&&(E.current=!0))},[i.value]),z=d.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),K=d.exports.useCallback((k,G,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===G||R)&&_(k)},[i.value]);return d.exports.createElement(JT,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:f,itemRefCallback:ie,selectedItem:h,onItemLeave:z,itemTextRefCallback:K,selectedItemText:m,onScrollButtonChange:I,isPositioned:y,shouldExpandOnScrollRef:b,searchRef:J},d.exports.createElement(WT,{as:fa,allowPinchZoom:!0},d.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},d.exports.createElement(ET,{asChild:!0,trapped:i.open,onMountAutoFocus:k=>{k.preventDefault()},onUnmountAutoFocus:je(r,k=>{var G;(G=i.trigger)===null||G===void 0||G.focus({preventScroll:!0}),k.preventDefault()})},d.exports.createElement(_T,le({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:k=>k.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:k=>k.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:je(o.onKeyDown,k=>{const G=k.ctrlKey||k.altKey||k.metaKey;if(k.key==="Tab"&&k.preventDefault(),!G&&k.key.length===1&&ue(k.key),["ArrowUp","ArrowDown","Home","End"].includes(k.key)){let O=g().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(k.key)&&(O=O.slice().reverse()),["ArrowUp","ArrowDown"].includes(k.key)){const R=k.target,T=O.indexOf(R);O=O.slice(T+1)}setTimeout(()=>$(O)),k.preventDefault()}})}))))))}),Lq="SelectViewport",Nq=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=eP(Lq,n),i=We(t,o.onViewportChange),a=d.exports.useRef(0);return d.exports.createElement(d.exports.Fragment,null,d.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),d.exports.createElement(M1.Slot,{scope:n},d.exports.createElement(Xe.div,le({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:je(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const f=Math.abs(a.current-l.scrollTop);if(f>0){const p=window.innerHeight-Ar*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const _=m+f,g=Math.min(p,_),y=_-g;u.style.height=g+"px",u.style.bottom==="0px"&&(l.scrollTop=y>0?y:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),Mq="SelectGroup";Tl(Mq);const Bv="SelectItem",[Fq,Iq]=Tl(Bv),jq=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=Zd(Bv,n),l=eP(Bv,n),u=s.value===r,[c,f]=d.exports.useState(i!=null?i:""),[p,h]=d.exports.useState(!1),v=We(t,g=>{var y;return(y=l.itemRefCallback)===null||y===void 0?void 0:y.call(l,g,r,o)}),m=iT(),_=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return d.exports.createElement(Fq,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:d.exports.useCallback(g=>{f(y=>{var x;return y||((x=g==null?void 0:g.textContent)!==null&&x!==void 0?x:"").trim()})},[])},d.exports.createElement(M1.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},d.exports.createElement(Xe.div,le({role:"option","aria-labelledby":m,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:v,onFocus:je(a.onFocus,()=>h(!0)),onBlur:je(a.onBlur,()=>h(!1)),onPointerUp:je(a.onPointerUp,_),onPointerMove:je(a.onPointerMove,g=>{if(o){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}else g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:je(a.onPointerLeave,g=>{if(g.currentTarget===document.activeElement){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}}),onKeyDown:je(a.onKeyDown,g=>{var y;((y=l.searchRef)===null||y===void 0?void 0:y.current)!==""&&g.key===" "||(Aq.includes(g.key)&&_(),g.key===" "&&g.preventDefault())})}))))}),Bq="SelectItemIndicator",zq=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Iq(Bq,n).isSelected?d.exports.createElement(Xe.span,le({"aria-hidden":!0},r,{ref:t})):null}),Vq=d.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=d.exports.useRef(null),i=We(t,o),a=P1(n);return d.exports.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const c=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(c)}},[a,n]),d.exports.createElement(Sq,{asChild:!0},d.exports.createElement("select",le({},r,{ref:i,defaultValue:n})))});Vq.displayName="BubbleSelect";function tP(e){const t=ao(e),n=d.exports.useRef(""),r=d.exports.useRef(0),o=d.exports.useCallback(a=>{const s=n.current+a;t(s),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=d.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return d.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function nP(e,t,n){const r=t.length>1&&Array.from(t).every(s=>s===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=Uq(e,Math.max(o,0));r.length===1&&(i=i.filter(s=>s!==n));const a=i.find(s=>s.textValue.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function Uq(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Hq=Pq,Gq=kq,Yq=Oq,Wq=Nq,qq=jq,Kq=zq;Y(Hq)`
772
+ display: inline-flex;
773
+ align-items: center;
774
+ justify-content: space-between;
775
+ background-color: ${L["--ll-color-background"]};
776
+ border-radius: ${L["--ll-border-radius-small"]};
777
+ border: 1px solid ${L["--ll-color-border"]};
778
+ color: ${L["--ll-color-on-background-variant1"]};
779
+ padding: ${L["--ll-spacing-xx-small"]} ${L["--ll-spacing-x-small"]}
780
+ ${L["--ll-spacing-xx-small"]} ${L["--ll-spacing-small"]};
781
+ flex: 1;
782
+ height: ${({size:e})=>e==="medium"?"32px":"40px"};
783
+ font-size: ${({size:e})=>e==="medium"?L["--ll-font-size-p"]:L["--ll-font-size-h6"]};
784
+ `;Y(Rq)`
785
+ margin-left: ${L["--ll-spacing-x-small"]};
786
+ `;Y(Yq)`
787
+ overflow: hidden;
788
+ background-color: ${L["--ll-color-background"]};
789
+ border-radius: ${L["--ll-border-radius-small"]};
790
+ box-shadow: ${L["--ll-shadow-medium"]};
791
+ min-width: 120px;
792
+ z-index: 1;
793
+ font-size: ${({size:e})=>e==="medium"?L["--ll-font-size-p"]:L["--ll-font-size-h6"]};
794
+ `;Y(qq)`
795
+ font-family: ${L["--ll-font-family"]};
796
+ font-size: inherit;
797
+ padding: ${L["--ll-spacing-xx-small"]} ${L["--ll-spacing-x-large"]}
798
+ ${L["--ll-spacing-xx-small"]} ${L["--ll-spacing-large"]};
799
+ outline: none;
800
+ border-radius: ${L["--ll-border-radius-small"]};
801
+ position: relative;
802
+ color: ${L["--ll-color-on-surface-variant1"]};
803
+ cursor: default;
804
+
805
+ &[data-highlighted] {
806
+ background-color: ${L["--ll-color-primary"]};
807
+ color: ${L["--ll-color-on-primary"]};
808
+ }
809
+ `;Y(Kq)`
810
+ position: absolute;
811
+ left: 0;
812
+ height: 100%;
813
+ left: 0;
814
+ bottom: 0;
815
+ width: ${L["--ll-spacing-large"]};
816
+ display: inline-flex;
817
+ align-items: center;
818
+ justify-content: center;
819
+ `;Y(Wq)`
820
+ font-size: inherit;
821
+ padding: ${L["--ll-spacing-base-unit"]};
822
+ `;Y(Gq)`
823
+ z-index: 1;
824
+ `;var Qd={exports:{}},Jd={};/**
825
+ * @license React
826
+ * react-jsx-runtime.production.min.js
827
+ *
828
+ * Copyright (c) Facebook, Inc. and its affiliates.
829
+ *
830
+ * This source code is licensed under the MIT license found in the
831
+ * LICENSE file in the root directory of this source tree.
832
+ */var Xq=te,Zq=Symbol.for("react.element"),Qq=Symbol.for("react.fragment"),Jq=Object.prototype.hasOwnProperty,eK=Xq.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,tK={key:!0,ref:!0,__self:!0,__source:!0};function rP(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Jq.call(t,r)&&!tK.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Zq,type:e,key:i,ref:a,props:o,_owner:eK.current}}Jd.Fragment=Qq;Jd.jsx=rP;Jd.jsxs=rP;Qd.exports=Jd;const Q=Qd.exports.jsx,Gt=Qd.exports.jsxs,No=Qd.exports.Fragment,oP=te.createContext({}),nK=()=>d.exports.useContext(oP),rK=({client:e,options:t,children:n})=>{var r,o;return Q(oP.Provider,{value:{client:e,options:t},children:Q(r8,{target:document.head,children:Gt(No,{children:[Q(XH,{themeName:(r=t==null?void 0:t.appearance)==null?void 0:r.theme,overrides:(o=t==null?void 0:t.appearance)==null?void 0:o.variables}),n]})})})},iP=te.createContext({}),Pl=()=>d.exports.useContext(iP),_h=(e,t=!1)=>{if(!e)return null;const r=parseFloat(e)*2;return t?Math.round(r):Math.round(r*10)/10},I1=({data:e,score:t,round:n=!1})=>{const r=d.exports.useMemo(()=>{var s,l;const u=(l=(s=e==null?void 0:e.location)==null?void 0:s[t])==null?void 0:l.value;return _h(u,n)},[e,t,n]),o=d.exports.useMemo(()=>{var s,l;return(l=(s=e==null?void 0:e.location)==null?void 0:s[t])==null?void 0:l.text},[e,t]),i=d.exports.useMemo(()=>{var s,l;const u=(l=(s=e==null?void 0:e.geographies)==null?void 0:s.find(c=>c.geog_level_type==="municipality"))==null?void 0:l.scores[t].value;return _h(u,n)},[e,t,n]),a=d.exports.useMemo(()=>{var s,l;const u=(l=(s=e==null?void 0:e.geographies)==null?void 0:s.find(c=>c.geog_level_type==="neighbourhood"))==null?void 0:l.scores[t].value;return _h(u,n)},[e,t,n]);return{textVal:o,scoreVal:r,cityScoreVal:i,neighbourhoodScoreVal:a}},oK=e=>e==="small"?ye`
833
+ height: 16px;
834
+ padding: 0 ${L["--ll-spacing-xx-small"]};
835
+ font-size: ${L["--ll-font-size-caption-2"]};
836
+ `:ye`
837
+ height: 32px;
838
+ width: 32px;
839
+ font-size: ${L["--ll-font-size-p"]};
840
+ `,iK=Y.div`
841
+ background: ${({isPrimary:e})=>e?ye`
842
+ linear-gradient(
843
+ to top,
844
+ ${L["--ll-color-primary-variant1"]},
845
+ ${L["--ll-color-primary"]}
846
+ );
847
+ `:L["--ll-color-disabled"]};
848
+ color: ${L["--ll-color-on-primary"]};
849
+ border-radius: ${L["--ll-border-radius-small"]};
850
+ display: flex;
851
+ justify-content: center;
852
+ align-items: center;
853
+ line-height: 1;
854
+ font-family: ${L["--ll-font-family"]};
855
+ ${({variant:e})=>oK(e)};
856
+ `,aK=({options:{variant:e="large",isPrimary:t=!0}={}})=>{const{options:{data:n,score:r}}=Pl(),{scoreVal:o}=I1({data:n,score:r});return o?Q(iK,{"data-testid":"score-badge",variant:e,isPrimary:t,children:o}):null},wh=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function zv(e,...t){if(!t.length)return e;const n=t.shift();return wh(e)&&wh(n)&&Object.keys(n).forEach(r=>{wh(n[r])?(e[r]||Object.assign(e,{[r]:{}}),zv(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),zv(e,...t)}const go=e=>{const{client:t}=nK(),{locale:n="en"}=t.options;return d.exports.useMemo(()=>zv({},...e)[n],[n,e])},aP={en:{cafes:"Cafes",car_friendly:"Driving",cycling_friendly:"Cycling",daycares:"Day care",greenery:"Greenery",groceries:"Grocery",high_schools:"High schools",historic:"Historic",nightlife:"Night life",parks:"Parks",pedestrian_friendly:"Walking",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Caf\xE9s",car_friendly:"Voiture",cycling_friendly:"V\xE9lo",daycares:"Garderies",greenery:"Verdure",groceries:"\xC9piceries",high_schools:"\xC9coles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Marche",primary_schools:"\xC9coles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasins",transit_friendly:"Transport public",vibrant:"Dynamisme",wellness:"Bien-\xEAtre"}},sP={en:{"cafes-description":"A measure of the quantity of nearby coffee shops.","car_friendly-description":"Represents how well traffic flows, and how easy it is to park.","cycling_friendly-description":"Represents how suitable the area is for cycling in terms of nearby bicycle infrastructure and calm streets, as well as the number of destinations that can be reached by bicycle.","daycares-description":"Represents the distance to the nearest daycare.","greenery-description":"Quantity of nearby green spaces and tree canopy coverage.","groceries-description":"A measure of the quantity of nearby grocery stores.","high_schools-description":"Represents the distance to nearest high school.","historic-description":"A measure of the quantity and size of heritage buildings, and the average building age in the area.","nightlife-description":"Represents the quantity of bars nearby.","parks-description":"A measure of the quantity and size of nearby parks.","pedestrian_friendly-description":"A measure of how many basic services can be reached on foot and how pleasant it is to walk to them.","primary_schools-description":"A measure of the distance to the nearest elementary school.","quiet-description":"A measure of the average levels of noise nearby.","restaurants-description":"Represents the quantity of restaurants nearby.","shopping-description":"A measure of the quantity of fashion and department stores nearby.","transit_friendly-description":"A measure of the frequency and level of public transit service.","vibrant-description":"Represents the level of street activity nearby.","wellness-description":"Represents how conducive a location is to individuals' well-being."},fr:{"cafes-description":"Une mesure de la quantit\xE9 et de la diversit\xE9 des caf\xE9s \xE0 proximit\xE9.","car_friendly-description":"Repr\xE9sente la fluidit\xE9 de la circulation et la facilit\xE9 de stationnement.","cycling_friendly-description":"Repr\xE9sente \xE0 quel point la zone est adapt\xE9e au cyclisme en termes d'infrastructure cyclable \xE0 proximit\xE9 et de rues calmes, ainsi que le nombre de destinations pouvant \xEAtre atteintes \xE0 v\xE9lo.","daycares-description":"Repr\xE9sente la distance \xE0 la garderie la plus proche.","greenery-description":"Quantit\xE9 d'espaces verts \xE0 proximit\xE9 et couverture de la canop\xE9e des arbres.","groceries-description":"Une mesure de la quantit\xE9 d'\xE9piceries \xE0 proximit\xE9.","high_schools-description":"Repr\xE9sente la distance \xE0 l'\xE9cole secondaire la plus proche.","historic-description":"Une mesure de la quantit\xE9 et de la taille des b\xE2timents patrimoniaux, et de l'\xE2ge moyen des b\xE2timents dans la r\xE9gion.","nightlife-description":"Repr\xE9sente la quantit\xE9 et la diversit\xE9 des bars \xE0 proximit\xE9.","parks-description":"Une mesure de la quantit\xE9 et de la taille des parcs \xE0 proximit\xE9.","pedestrian_friendly-description":"Une mesure de la proximit\xE9 des services de base et de l'agr\xE9ment d'y aller \xE0 pied.","primary_schools-description":"Une mesure de la distance \xE0 l'\xE9cole primaire la plus proche.","quiet-description":"Une mesure des niveaux moyens de bruit \xE0 proximit\xE9.","restaurants-description":"Repr\xE9sente la quantit\xE9 et la diversit\xE9 des restaurants \xE0 proximit\xE9.","shopping-description":"Une mesure de la quantit\xE9 et de la diversit\xE9 de magasins de mode et de grands magasins \xE0 proximit\xE9.","transit_friendly-description":"Une mesure de la fr\xE9quence et du niveau de service de transport en commun.","vibrant-description":"Repr\xE9sente le niveau d'activit\xE9 de la rue \xE0 proximit\xE9.","wellness-description":"Repr\xE9sente \xE0 quel point un emplacement est propice au bien-\xEAtre des individus."}},lP=e=>{var t;const{options:{score:n}}=Pl(),r=go([sP,aP]);return(t=e.options)!=null&&t.isRawText?Q(No,{children:r[n]}):Q(yt,{...e.options,children:r[n]})};lP.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};const uP=e=>nt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M12 2C7.58 2 4 2.5 4 6V16C4 16.88 4.39 17.67 5 18.22V20C5 20.55 5.45 21 6 21H7C7.55 21 8 20.55 8 20V19H16V20C16 20.55 16.45 21 17 21H18C18.55 21 19 20.55 19 20V18.22C19.61 17.67 20 16.88 20 16V6C20 2.5 16.42 2 12 2ZM17.66 4.99H6.34C6.89 4.46 8.31 4 12 4C15.69 4 17.11 4.46 17.66 4.99ZM18 6.99V10H6V6.99H18ZM17.66 16.73L17.37 17H6.63L6.34 16.73C6.21 16.62 6 16.37 6 16V12H18V16C18 16.37 17.79 16.62 17.66 16.73Z"}),N("path",{d:"M8.5 16C9.32843 16 10 15.3284 10 14.5C10 13.6716 9.32843 13 8.5 13C7.67157 13 7 13.6716 7 14.5C7 15.3284 7.67157 16 8.5 16Z"}),N("path",{d:"M15.5 16C16.3284 16 17 15.3284 17 14.5C17 13.6716 16.3284 13 15.5 13C14.6716 13 14 13.6716 14 14.5C14 15.3284 14.6716 16 15.5 16Z"})]}),sK=e=>nt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M18.92 6.01C18.72 5.42 18.16 5 17.5 5H6.5C5.84 5 5.29 5.42 5.08 6.01L3 12V20C3 20.55 3.45 21 4 21H5C5.55 21 6 20.55 6 20V19H18V20C18 20.55 18.45 21 19 21H20C20.55 21 21 20.55 21 20V12L18.92 6.01ZM6.85 7H17.14L18.22 10.11H5.77L6.85 7ZM19 17H5V12H19V17Z"}),N("path",{d:"M7.5 16C8.32843 16 9 15.3284 9 14.5C9 13.6716 8.32843 13 7.5 13C6.67157 13 6 13.6716 6 14.5C6 15.3284 6.67157 16 7.5 16Z"}),N("path",{d:"M16.5 16C17.3284 16 18 15.3284 18 14.5C18 13.6716 17.3284 13 16.5 13C15.6716 13 15 13.6716 15 14.5C15 15.3284 15.6716 16 16.5 16Z"})]}),lK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M13.5 5.5C14.6 5.5 15.5 4.6 15.5 3.5C15.5 2.4 14.6 1.5 13.5 1.5C12.4 1.5 11.5 2.4 11.5 3.5C11.5 4.6 12.4 5.5 13.5 5.5ZM9.8 8.9L7 23H9.1L10.9 15L13 17V23H15V15.5L12.9 13.5L13.5 10.5C14.8 12 16.8 13 19 13V11C17.1 11 15.5 10 14.7 8.6L13.7 7C13.14 6.11 12.02 5.75 11.05 6.16L6 8.3V13H8V9.6L9.8 8.9Z"})}),uK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M15.5 5.5C16.6 5.5 17.5 4.6 17.5 3.5C17.5 2.4 16.6 1.5 15.5 1.5C14.4 1.5 13.5 2.4 13.5 3.5C13.5 4.6 14.4 5.5 15.5 5.5ZM5 12C2.2 12 0 14.2 0 17C0 19.8 2.2 22 5 22C7.8 22 10 19.8 10 17C10 14.2 7.8 12 5 12ZM5 20.5C3.1 20.5 1.5 18.9 1.5 17C1.5 15.1 3.1 13.5 5 13.5C6.9 13.5 8.5 15.1 8.5 17C8.5 18.9 6.9 20.5 5 20.5ZM10.8 10.5L13.2 8.1L14 8.9C15.3 10.2 17 11 19.1 11V9C17.6 9 16.4 8.4 15.5 7.5L13.6 5.6C13.1 5.2 12.6 5 12 5C11.4 5 10.9 5.2 10.6 5.6L7.8 8.4C7.4 8.8 7.2 9.3 7.2 9.8C7.2 10.4 7.4 10.9 7.8 11.2L11 14V19H13V12.8L10.8 10.5ZM19 12C16.2 12 14 14.2 14 17C14 19.8 16.2 22 19 22C21.8 22 24 19.8 24 17C24 14.2 21.8 12 19 12ZM19 20.5C17.1 20.5 15.5 18.9 15.5 17C15.5 15.1 17.1 13.5 19 13.5C20.9 13.5 22.5 15.1 22.5 17C22.5 18.9 20.9 20.5 19 20.5Z"})}),cK=e=>nt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M1.23 22.27L15.23 17.27L6.23 8.26998L1.23 22.27ZM11.58 16.45L4.53 18.97L7.05 11.92L11.58 16.45Z"}),N("path",{d:"M13.76 12.8L19.35 7.20998C19.84 6.71998 20.63 6.71998 21.12 7.20998L21.71 7.79998L22.77 6.73998L22.18 6.14998C21.11 5.07998 19.36 5.07998 18.29 6.14998L12.7 11.74L13.76 12.8Z"}),N("path",{d:"M9.29 7.14998L8.7 7.73998L9.76 8.79998L10.35 8.20998C11.42 7.13998 11.42 5.38998 10.35 4.31998L9.76 3.72998L8.7 4.79998L9.29 5.38998C9.77 5.86998 9.77 6.66998 9.29 7.14998Z"}),N("path",{d:"M16.29 12.15L14.7 13.74L15.76 14.8L17.35 13.21C17.84 12.72 18.63 12.72 19.12 13.21L20.73 14.82L21.79 13.76L20.18 12.15C19.1 11.08 17.36 11.08 16.29 12.15Z"}),N("path",{d:"M14.29 6.14998L10.7 9.73998L11.76 10.8L15.35 7.20998C16.42 6.13998 16.42 4.38998 15.35 3.31998L13.76 1.72998L12.7 2.78998L14.29 4.37998C14.77 4.86998 14.77 5.66998 14.29 6.14998Z"})]}),fK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M17 20.3899C16.71 20.3899 16.44 20.3299 16.24 20.2399C15.53 19.8699 15.03 19.3599 14.53 17.8599C14.02 16.2999 13.06 15.5699 12.14 14.8599C11.35 14.2499 10.53 13.6199 9.82 12.3299C9.29 11.3699 9 10.3199 9 9.38986C9 6.58986 11.2 4.38986 14 4.38986C16.8 4.38986 19 6.58986 19 9.38986H21C21 5.45986 17.93 2.38986 14 2.38986C10.07 2.38986 7 5.45986 7 9.38986C7 10.6499 7.38 12.0399 8.07 13.2899C8.98 14.9399 10.05 15.7699 10.92 16.4399C11.73 17.0599 12.31 17.5099 12.63 18.4899C13.23 20.3099 14 21.3299 15.36 22.0399C15.87 22.2699 16.43 22.3899 17 22.3899C19.21 22.3899 21 20.5999 21 18.3899H19C19 19.4899 18.1 20.3899 17 20.3899ZM7.64 3.02986L6.22 1.60986C4.23 3.59986 3 6.34986 3 9.38986C3 12.4299 4.23 15.1799 6.22 17.1699L7.63 15.7599C6.01 14.1299 5 11.8799 5 9.38986C5 6.89986 6.01 4.64986 7.64 3.02986ZM11.5 9.38986C11.5 10.7699 12.62 11.8899 14 11.8899C15.38 11.8899 16.5 10.7699 16.5 9.38986C16.5 8.00986 15.38 6.88986 14 6.88986C12.62 6.88986 11.5 8.00986 11.5 9.38986Z"})}),cP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M16 5V13C16 14.1 15.1 15 14 15H8C6.9 15 6 14.1 6 13V5H16ZM20 3H4V13C4 15.21 5.79 17 8 17H14C16.21 17 18 15.21 18 13V10H20C21.11 10 22 9.11 22 8V5C22 3.89 21.11 3 20 3ZM18 8V5H20V8H18ZM20 19H2V21H20V19Z"})}),fP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M19 6.5H17C17 3.74 14.76 1.5 12 1.5C9.24 1.5 7 3.74 7 6.5H5C3.9 6.5 3 7.4 3 8.5V20.5C3 21.6 3.9 22.5 5 22.5H19C20.1 22.5 21 21.6 21 20.5V8.5C21 7.4 20.1 6.5 19 6.5ZM12 3.5C13.66 3.5 15 4.84 15 6.5H9C9 4.84 10.34 3.5 12 3.5ZM19 20.5H5V8.5H19V20.5ZM12 12.5C10.34 12.5 9 11.16 9 9.5H7C7 12.26 9.24 14.5 12 14.5C14.76 14.5 17 12.26 17 9.5H15C15 11.16 13.66 12.5 12 12.5Z"})}),dP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M1.5 4.5H15.5L9.5 13.5V17.5H11.5V19.5H5.5V17.5H7.5V13.5L1.5 4.5ZM10.6 8.5L12 6.5H4.99L6.39 8.5H10.6ZM17.5 4.5H22.5V7.5H19.5V16.5C19.5 18.16 18.16 19.5 16.5 19.5C14.84 19.5 13.5 18.16 13.5 16.5C13.5 14.84 14.84 13.5 16.5 13.5C16.85 13.5 17.19 13.56 17.5 13.67V4.5Z"})}),Vv=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M16 6V14H19V22H21V2C18.24 2 16 4.24 16 6ZM11 9H9V2H7V9H5V2H3V9C3 11.21 4.79 13 7 13V22H9V13C11.21 13 13 11.21 13 9V2H11V9Z"})}),pP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M22 9.49001H17.21L12.83 2.93001C12.64 2.65001 12.32 2.51001 12 2.51001C11.68 2.51001 11.36 2.65001 11.17 2.94001L6.79 9.49001H2C1.45 9.49001 1 9.94001 1 10.49C1 10.58 1.01 10.67 1.04 10.76L3.58 20.03C3.81 20.87 4.58 21.49 5.5 21.49H18.5C19.42 21.49 20.19 20.87 20.43 20.03L22.97 10.76L23 10.49C23 9.94001 22.55 9.49001 22 9.49001ZM12 5.29001L14.8 9.49001H9.2L12 5.29001ZM18.5 19.49L5.51 19.5L3.31 11.49H20.7L18.5 19.49ZM12 13.49C10.9 13.49 10 14.39 10 15.49C10 16.59 10.9 17.49 12 17.49C13.1 17.49 14 16.59 14 15.49C14 14.39 13.1 13.49 12 13.49Z"})}),dK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12.915 16.035H12.885C16.375 15.635 19.085 12.675 19.085 9.08502C19.085 5.21502 15.955 2.08502 12.085 2.08502C8.21504 2.08502 5.08504 5.21502 5.08504 9.08502C5.08504 12.555 7.60504 15.425 10.915 15.975V19.915H4.91504V21.915H18.915V19.915H12.915V16.035ZM7.08504 9.08502C7.08504 6.32502 9.32504 4.08502 12.085 4.08502C14.845 4.08502 17.085 6.32502 17.085 9.08502C17.085 11.845 14.845 14.085 12.085 14.085C9.32504 14.085 7.08504 11.845 7.08504 9.08502Z"})}),hP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M24 18L20.14 12H22L15 2L12 6.29L9 2L2 12H3.86L0 18H7V22H11V18H13V22H17V18H24ZM15 5.49L18.16 10H16.48L20.34 16H16.72L14.15 12H16L13.22 8.03L15 5.49ZM3.66 16L7.52 10H5.84L9 5.49L12.16 10H10.48L14.34 16H3.66Z"})}),mP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M18 20C18 21.1 17.1 22 16 22C14.9 22 14 21.1 14 20C14 18.9 14.9 18 16 18C17.1 18 18 18.9 18 20ZM6 18C4.9 18 4 18.9 4 20C4 21.1 4.9 22 6 22C7.1 22 8 21.1 8 20C8 18.9 7.1 18 6 18ZM15 8.66L9.6 15H15V8.66ZM18.65 3C20.52 3 22 4.56 22 6.48V7H20V6.48C20 5.66 19.42 5 18.65 5C17.97 5 17.58 5.59 17 6.27V15C17 16.1 16.1 17 15 17H7.43C6.58 17 6.12 16 6.67 15.35L15.47 5.03C16.11 4.27 16.99 3 18.65 3ZM10 5C9.35 5 8.71 5.09 8.09 5.27L9.49 6.67L10.86 5.06C10.58 5.02 10.29 5 10 5ZM10 3C11.56 3 13.03 3.4 14.3 4.1L9.6 9.61L4.72 4.72C6.21 3.64 8.03 3 10 3Z"})}),vP=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M15.49 9.63C15.31 6.84 14.18 4.12 12.06 2C9.92 4.14 8.74 6.86 8.51 9.63C9.79 10.31 10.97 11.19 12 12.26C13.03 11.2 14.21 10.32 15.49 9.63ZM12.05 5.19C12.68 6.22 13.12 7.37 13.35 8.57C12.88 8.87 12.44 9.2 12.01 9.55C11.59 9.21 11.14 8.88 10.68 8.58C10.93 7.38 11.39 6.23 12.05 5.19ZM12 15.45C11.18 14.2 10.14 13.11 8.94 12.25C8.81 12.16 8.67 12.09 8.54 11.99C8.67 12.08 8.81 12.16 8.93 12.24C6.98 10.83 4.59 10 2 10C2 15.32 5.36 19.82 10.03 21.49C10.66 21.72 11.32 21.89 12 22C12.68 21.88 13.33 21.71 13.97 21.49C18.64 19.82 22 15.32 22 10C17.82 10 14.15 12.17 12 15.45ZM13.32 19.6C12.88 19.75 12.44 19.87 11.99 19.97C11.55 19.88 11.12 19.76 10.71 19.61C7.42 18.43 5.01 15.62 4.26 12.26C5.36 12.52 6.41 12.97 7.38 13.59L7.36 13.6C7.49 13.69 7.62 13.78 7.75 13.85L7.82 13.89C8.81 14.61 9.66 15.5 10.33 16.54L12 19.1L13.67 16.55C14.36 15.5 15.22 14.6 16.2 13.89L16.27 13.84C16.36 13.79 16.45 13.73 16.54 13.67L16.53 13.65C17.51 13 18.6 12.52 19.74 12.25C18.99 15.62 16.59 18.43 13.32 19.6ZM8.99 12.28C8.97 12.27 8.95 12.25 8.94 12.24C8.94 12.24 8.95 12.24 8.95 12.25C8.96 12.26 8.97 12.27 8.99 12.28Z"})}),j1=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 3L1 9L5 11.18V17.18L12 21L19 17.18V11.18L21 10.09V17H23V9L12 3ZM18.82 9L12 12.72L5.18 9L12 5.28L18.82 9ZM17 15.99L12 18.72L7 15.99V12.27L12 15L17 12.27V15.99Z"})}),gP=e=>nt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M14.5 11.75C15.1904 11.75 15.75 11.1904 15.75 10.5C15.75 9.80964 15.1904 9.25 14.5 9.25C13.8096 9.25 13.25 9.80964 13.25 10.5C13.25 11.1904 13.8096 11.75 14.5 11.75Z"}),N("path",{d:"M9.5 11.75C10.1904 11.75 10.75 11.1904 10.75 10.5C10.75 9.80964 10.1904 9.25 9.5 9.25C8.80964 9.25 8.25 9.80964 8.25 10.5C8.25 11.1904 8.80964 11.75 9.5 11.75Z"}),N("path",{d:"M22.94 11.34C22.69 9.83 21.58 8.6 20.13 8.17C19.6 7.05 18.85 6.07 17.94 5.26C16.36 3.85 14.28 3 12 3C9.72 3 7.64 3.85 6.06 5.26C5.14 6.07 4.39 7.06 3.87 8.17C2.42 8.6 1.31 9.82 1.06 11.34C1.02 11.55 1 11.77 1 12C1 12.23 1.02 12.45 1.06 12.66C1.31 14.17 2.42 15.4 3.87 15.83C4.39 16.94 5.14 17.92 6.04 18.72C7.62 20.14 9.71 21 12 21C14.29 21 16.38 20.14 17.97 18.72C18.87 17.92 19.62 16.93 20.14 15.83C21.58 15.4 22.69 14.18 22.94 12.66C22.98 12.45 23 12.23 23 12C23 11.77 22.98 11.55 22.94 11.34ZM19 14C18.9 14 18.81 13.98 18.71 13.97C18.51 14.64 18.22 15.26 17.85 15.83C16.6 17.74 14.45 19 12 19C9.55 19 7.4 17.74 6.15 15.83C5.78 15.26 5.49 14.64 5.29 13.97C5.19 13.98 5.1 14 5 14C3.9 14 3 13.1 3 12C3 10.9 3.9 10 5 10C5.1 10 5.19 10.02 5.29 10.03C5.49 9.36 5.78 8.74 6.15 8.17C7.4 6.26 9.55 5 12 5C14.45 5 16.6 6.26 17.85 8.17C18.22 8.74 18.51 9.36 18.71 10.03C18.81 10.02 18.9 10 19 10C20.1 10 21 10.9 21 12C21 13.1 20.1 14 19 14ZM12 17C14.01 17 15.74 15.77 16.5 14H7.5C8.26 15.77 9.99 17 12 17Z"})]}),pK=e=>nt("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M17.5 7.5V9.16667H15.8334V2.5H14.1667V4.16667H12.5V2.5H10.8334V4.16667H9.16671V2.5H7.50004V4.16667H5.83337V2.5H4.16671V9.16667H2.50004V7.5H0.833374V17.5H8.33337V15C8.33337 14.0833 9.08337 13.3333 10 13.3333C10.9167 13.3333 11.6667 14.0833 11.6667 15V17.5H19.1667V7.5H17.5ZM17.5 15.8333H13.3334V15C13.3334 13.1583 11.8417 11.6667 10 11.6667C8.15837 11.6667 6.66671 13.1583 6.66671 15V15.8333H2.50004V10.8333H5.83337V5.83333H14.1667V10.8333H17.5V15.8333Z"}),N("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),N("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}),hK={pedestrian_friendly:lK,transit_friendly:uP,cycling_friendly:uK,car_friendly:sK,groceries:pP,restaurants:Vv,cafes:cP,shopping:fP,wellness:vP,parks:dK,greenery:hP,vibrant:cK,nightlife:dP,quiet:fK,historic:pK,high_schools:j1,primary_schools:gP,daycares:mP},yP=({options:e})=>{const{options:{score:t}}=Pl();return Q($a,{SVGElement:hK[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};yP.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const mK={en:{LOCATION:"Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood"},fr:{LOCATION:"Location",CITY:"Ville",NEIGHBOURHOOD:"Quartier"}},vK=Y.div`
857
+ position: relative;
858
+ display: grid;
859
+ grid-template-columns: auto 1fr auto;
860
+ align-items: center;
861
+ grid-column-gap: ${L["--ll-spacing-x-small"]};
862
+ width: 100%;
863
+ `,bh=Y.div`
864
+ height: ${It*2}px;
865
+ width: 100%;
866
+ border-radius: ${It}px;
867
+ background-color: ${L["--ll-color-surface-variant1"]};
868
+ position: relative;
869
+ overflow: hidden;
870
+ `,Eh=Y(nT.div)`
871
+ position: absolute;
872
+ height: 100%;
873
+ border-radius: ${It}px;
874
+ background: linear-gradient(
875
+ to right,
876
+ ${L["--ll-color-primary-variant1"]},
877
+ ${L["--ll-color-primary"]}
878
+ );
879
+ `;Y.div`
880
+ position: absolute;
881
+ height: 100%;
882
+ top: 0;
883
+ left: ${({val:e})=>e*10}%;
884
+ transform: translateX(-1px);
885
+ border-right: ${({markerType:e})=>`4px ${e==="city"?"solid":"dotted"} ${L["--ll-color-on-background"]}`};
886
+ `;Y.div`
887
+ position: absolute;
888
+ top: ${({position:e})=>e==="top"&&"-18px"};
889
+ bottom: ${({position:e})=>e==="bottom"&&"-18px"};
890
+ transform: translateX(calc(-50% + 2px));
891
+ left: 0;
892
+ `;const gK=()=>{const{options:{data:e,score:t}}=Pl(),{scoreVal:n,cityScoreVal:r,neighbourhoodScoreVal:o}=I1({data:e,score:t}),i=go([mK]);return n?Q(No,{children:Gt(vK,{children:[Gt(No,{children:[Q(yt,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:i.LOCATION}),Q(bh,{children:Q(Eh,{animate:{width:`${n/10*100}%`},transition:{delay:.3,...ec.transitions.spring}})}),Q(yt,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:n})]}),r&&Gt(No,{children:[Q(yt,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:i.CITY}),Q(bh,{children:Q(Eh,{animate:{width:`${r/10*100}%`},transition:{delay:.4,...ec.transitions.spring}})}),Q(yt,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:r})]}),o&&Gt(No,{children:[Q(yt,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:i.NEIGHBOURHOOD}),Q(bh,{children:Q(Eh,{animate:{width:`${o/10*100}%`},transition:{delay:.5,...ec.transitions.spring}})}),Q(yt,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:o})]})]})}):null};function Pe(){return Pe=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},Pe.apply(this,arguments)}function wt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function yK(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function xP(...e){return t=>e.forEach(n=>yK(n,t))}function zn(...e){return d.exports.useCallback(xP(...e),e)}function Rl(e,t=[]){let n=[];function r(i,a){const s=d.exports.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:h,...v}=f,m=(p==null?void 0:p[e][l])||s,_=d.exports.useMemo(()=>v,Object.values(v));return d.exports.createElement(m.Provider,{value:_},h)}function c(f,p){const h=(p==null?void 0:p[e][l])||s,v=d.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>d.exports.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return d.exports.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,xK(o,...t)]}function xK(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(i)[`__scope${u}`];return{...s,...f}},{});return d.exports.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const al=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=d.exports.Children.toArray(n),i=o.find(wK);if(i){const a=i.props.children,s=o.map(l=>l===i?d.exports.Children.count(a)>1?d.exports.Children.only(null):d.exports.isValidElement(a)?a.props.children:null:l);return d.exports.createElement(Uv,Pe({},r,{ref:t}),d.exports.isValidElement(a)?d.exports.cloneElement(a,void 0,s):null)}return d.exports.createElement(Uv,Pe({},r,{ref:t}),n)});al.displayName="Slot";const Uv=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return d.exports.isValidElement(n)?d.exports.cloneElement(n,{...bK(r,n.props),ref:xP(t,n.ref)}):d.exports.Children.count(n)>1?d.exports.Children.only(null):null});Uv.displayName="SlotClone";const _K=({children:e})=>d.exports.createElement(d.exports.Fragment,null,e);function wK(e){return d.exports.isValidElement(e)&&e.type===_K}function bK(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{i==null||i(...s),o==null||o(...s)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const EK=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Kt=EK.reduce((e,t)=>{const n=d.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?al:t;return d.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.exports.createElement(s,Pe({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function SK(e,t){e&&Pt.exports.flushSync(()=>e.dispatchEvent(t))}function lo(e){const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function CK(e){const t=lo(e);d.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const Hv="dismissableLayer.update",AK="dismissableLayer.pointerDownOutside",$K="dismissableLayer.focusOutside";let $b;const TK=d.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),PK=d.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=d.exports.useContext(TK),[c,f]=d.exports.useState(null),[,p]=d.exports.useState({}),h=zn(t,E=>f(E)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,x=g>=_,w=RK(E=>{const S=E.target,C=[...u.branches].some($=>$.contains(S));!x||C||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),b=kK(E=>{const S=E.target;[...u.branches].some($=>$.contains(S))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return CK(E=>{g===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),d.exports.useEffect(()=>{if(!!c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&($b=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Tb(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=$b)}},[c,n,u]),d.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Tb())},[c,u]),d.exports.useEffect(()=>{const E=()=>p({});return document.addEventListener(Hv,E),()=>document.removeEventListener(Hv,E)},[]),d.exports.createElement(Kt.div,Pe({},l,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:wt(e.onFocusCapture,b.onFocusCapture),onBlurCapture:wt(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:wt(e.onPointerDownCapture,w.onPointerDownCapture)}))});function RK(e){const t=lo(e),n=d.exports.useRef(!1),r=d.exports.useRef(()=>{});return d.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){_P(AK,t,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=s,document.addEventListener("click",r.current,{once:!0})):s()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function kK(e){const t=lo(e),n=d.exports.useRef(!1);return d.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&_P($K,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Tb(){const e=new CustomEvent(Hv);document.dispatchEvent(e)}function _P(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?SK(o,i):o.dispatchEvent(i)}let Sh=0;function OK(){d.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Pb()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Pb()),Sh++,()=>{Sh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Sh--}},[])}function Pb(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Ch="focusScope.autoFocusOnMount",Ah="focusScope.autoFocusOnUnmount",Rb={bubbles:!1,cancelable:!0},DK=d.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.exports.useState(null),u=lo(o),c=lo(i),f=d.exports.useRef(null),p=zn(t,m=>l(m)),h=d.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.exports.useEffect(()=>{if(r){let m=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?f.current=y:To(f.current,{select:!0})},_=function(g){h.paused||!s||s.contains(g.relatedTarget)||To(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),d.exports.useEffect(()=>{if(s){Ob.add(h);const m=document.activeElement;if(!s.contains(m)){const g=new CustomEvent(Ch,Rb);s.addEventListener(Ch,u),s.dispatchEvent(g),g.defaultPrevented||(LK(jK(wP(s)),{select:!0}),document.activeElement===m&&To(s))}return()=>{s.removeEventListener(Ch,u),setTimeout(()=>{const g=new CustomEvent(Ah,Rb);s.addEventListener(Ah,c),s.dispatchEvent(g),g.defaultPrevented||To(m!=null?m:document.body,{select:!0}),s.removeEventListener(Ah,c),Ob.remove(h)},0)}}},[s,u,c,h]);const v=d.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(_&&g){const y=m.currentTarget,[x,w]=NK(y);x&&w?!m.shiftKey&&g===w?(m.preventDefault(),n&&To(x,{select:!0})):m.shiftKey&&g===x&&(m.preventDefault(),n&&To(w,{select:!0})):g===y&&m.preventDefault()}},[n,r,h.paused]);return d.exports.createElement(Kt.div,Pe({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function LK(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(To(r,{select:t}),document.activeElement!==n)return}function NK(e){const t=wP(e),n=kb(t,e),r=kb(t.reverse(),e);return[n,r]}function wP(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function kb(e,t){for(const n of e)if(!MK(n,{upTo:t}))return n}function MK(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function FK(e){return e instanceof HTMLInputElement&&"select"in e}function To(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&FK(e)&&t&&e.select()}}const Ob=IK();function IK(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Db(e,t),e.unshift(t)},remove(t){var n;e=Db(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Db(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function jK(e){return e.filter(t=>t.tagName!=="A")}const da=Boolean(globalThis==null?void 0:globalThis.document)?d.exports.useLayoutEffect:()=>{},BK=t0["useId".toString()]||(()=>{});let zK=0;function B1(e){const[t,n]=d.exports.useState(BK());return da(()=>{e||n(r=>r!=null?r:String(zK++))},[e]),e||(t?`radix-${t}`:"")}function ka(e){return e.split("-")[0]}function ep(e){return e.split("-")[1]}function Oa(e){return["top","bottom"].includes(ka(e))?"x":"y"}function z1(e){return e==="y"?"height":"width"}function Lb(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=Oa(t),l=z1(s),u=r[l]/2-o[l]/2,c=ka(t),f=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(ep(t)){case"start":p[s]-=u*(n&&f?-1:1);break;case"end":p[s]+=u*(n&&f?-1:1);break}return p}const VK=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=Lb(l,r,s),f=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:g,y,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=g!=null?g:u,c=y!=null?y:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=Lb(l,f,s)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:o,middlewareData:p}};function UK(e){return{top:0,right:0,bottom:0,left:0,...e}}function bP(e){return typeof e!="number"?UK(e):{top:e,right:e,bottom:e,left:e}}function hf(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function mf(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=t,v=bP(h),_=s[p?f==="floating"?"reference":"floating":f],g=hf(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(_)))==null||n?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=hf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:g.top-y.top+v.top,bottom:y.bottom-g.bottom+v.bottom,left:g.left-y.left+v.left,right:y.right-g.right+v.right}}const HK=Math.min,GK=Math.max;function Gv(e,t,n){return GK(e,HK(t,n))}const Nb=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=bP(r),c={x:o,y:i},f=Oa(a),p=ep(a),h=z1(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const b=g/2-y/2,E=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+b,$=Gv(E,C,S),I=(p==="start"?u[m]:u[_])>0&&C!==$&&s.reference[h]<=s.floating[h]?C<E?E-C:S-C:0;return{[f]:c[f]-I,data:{[f]:$,centerOffset:C-$}}}}),YK={left:"right",right:"left",bottom:"top",top:"bottom"};function vf(e){return e.replace(/left|right|bottom|top/g,t=>YK[t])}function WK(e,t,n){n===void 0&&(n=!1);const r=ep(e),o=Oa(e),i=z1(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=vf(a)),{main:a,cross:vf(a)}}const qK={start:"end",end:"start"};function Mb(e){return e.replace(/start|end/g,t=>qK[t])}const KK=["top","right","bottom","left"];function XK(e){const t=vf(e);return[Mb(e),t,Mb(t)]}const ZK=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=ka(r),g=f||(m===a||!h?[vf(a)]:XK(a)),y=[a,...g],x=await mf(t,v),w=[];let b=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&w.push(x[m]),c){const{main:$,cross:P}=WK(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));w.push(x[$],x[P])}if(b=[...b,{placement:r,overflows:w}],!w.every($=>$<=0)){var E,S;const $=((E=(S=o.flip)==null?void 0:S.index)!=null?E:0)+1,P=y[$];if(P)return{data:{index:$,overflows:b},reset:{placement:P}};let M="bottom";switch(p){case"bestFit":{var C;const I=(C=b.map(B=>[B,B.overflows.filter(j=>j>0).reduce((j,J)=>j+J,0)]).sort((B,j)=>B[1]-j[1])[0])==null?void 0:C[0].placement;I&&(M=I);break}case"initialPlacement":M=a;break}if(r!==M)return{reset:{placement:M}}}return{}}}};function Fb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ib(e){return KK.some(t=>e[t]>=0)}const QK=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await mf(r,{...n,elementContext:"reference"}),a=Fb(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ib(a)}}}case"escaped":{const i=await mf(r,{...n,altBoundary:!0}),a=Fb(i,o.floating);return{data:{escapedOffsets:a,escaped:Ib(a)}}}default:return{}}}}};async function JK(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ka(n),s=ep(n),l=Oa(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const eX=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await JK(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function EP(e){return e==="x"?"y":"x"}const tX=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:g,y}=_;return{x:g,y}}},...l}=e,u={x:n,y:r},c=await mf(t,l),f=Oa(ka(o)),p=EP(f);let h=u[f],v=u[p];if(i){const _=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=h+c[_],x=h-c[g];h=Gv(y,h,x)}if(a){const _=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+c[_],x=v-c[g];v=Gv(y,v,x)}const m=s.fn({...t,[f]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},nX=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=Oa(o),p=EP(f);let h=c[f],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",E=i.reference[f]-i.floating[b]+_.mainAxis,S=i.reference[f]+i.reference[b]-_.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var g,y,x,w;const b=f==="y"?"width":"height",E=["top","left"].includes(ka(o)),S=i.reference[p]-i.floating[b]+(E&&(g=(y=a.offset)==null?void 0:y[p])!=null?g:0)+(E?0:_.crossAxis),C=i.reference[p]+i.reference[b]+(E?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(E?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[f]:h,[p]:v}}}};function SP(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function _r(e){if(e==null)return window;if(!SP(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function kl(e){return _r(e).getComputedStyle(e)}function hr(e){return SP(e)?"":e?(e.nodeName||"").toLowerCase():""}function CP(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Vn(e){return e instanceof _r(e).HTMLElement}function uo(e){return e instanceof _r(e).Element}function rX(e){return e instanceof _r(e).Node}function V1(e){if(typeof ShadowRoot=="undefined")return!1;const t=_r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tp(e){const{overflow:t,overflowX:n,overflowY:r}=kl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function oX(e){return["table","td","th"].includes(hr(e))}function AP(e){const t=/firefox/i.test(CP()),n=kl(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function $P(){return!/^((?!chrome|android).)*safari/i.test(CP())}const jb=Math.min,Es=Math.max,gf=Math.round;function mr(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Vn(e)&&(l=e.offsetWidth>0&&gf(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&gf(s.height)/e.offsetHeight||1);const c=uo(e)?_r(e):window,f=!$P()&&n,p=(s.left+(f&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function yo(e){return((rX(e)?e.ownerDocument:e.document)||window.document).documentElement}function np(e){return uo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function TP(e){return mr(yo(e)).left+np(e).scrollLeft}function iX(e){const t=mr(e);return gf(t.width)!==e.offsetWidth||gf(t.height)!==e.offsetHeight}function aX(e,t,n){const r=Vn(t),o=yo(t),i=mr(e,r&&iX(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((hr(t)!=="body"||tp(o))&&(a=np(t)),Vn(t)){const l=mr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=TP(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function PP(e){return hr(e)==="html"?e:e.assignedSlot||e.parentNode||(V1(e)?e.host:null)||yo(e)}function Bb(e){return!Vn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function sX(e){let t=PP(e);for(V1(t)&&(t=t.host);Vn(t)&&!["html","body"].includes(hr(t));){if(AP(t))return t;t=t.parentNode}return null}function Yv(e){const t=_r(e);let n=Bb(e);for(;n&&oX(n)&&getComputedStyle(n).position==="static";)n=Bb(n);return n&&(hr(n)==="html"||hr(n)==="body"&&getComputedStyle(n).position==="static"&&!AP(n))?t:n||sX(e)||t}function zb(e){if(Vn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=mr(e);return{width:t.width,height:t.height}}function lX(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Vn(n),i=yo(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((hr(n)!=="body"||tp(i))&&(a=np(n)),Vn(n))){const l=mr(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function uX(e,t){const n=_r(e),r=yo(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=$P();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function cX(e){var t;const n=yo(e),r=np(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Es(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Es(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+TP(e);const l=-r.scrollTop;return kl(o||n).direction==="rtl"&&(s+=Es(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function RP(e){const t=PP(e);return["html","body","#document"].includes(hr(t))?e.ownerDocument.body:Vn(t)&&tp(t)?t:RP(t)}function yf(e,t){var n;t===void 0&&(t=[]);const r=RP(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=_r(r),a=o?[i].concat(i.visualViewport||[],tp(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(yf(a))}function fX(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&V1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function dX(e,t){const n=mr(e,!1,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Vb(e,t,n){return t==="viewport"?hf(uX(e,n)):uo(t)?dX(t,n):hf(cX(yo(e)))}function pX(e){const t=yf(e),r=["absolute","fixed"].includes(kl(e).position)&&Vn(e)?Yv(e):e;return uo(r)?t.filter(o=>uo(o)&&fX(o,r)&&hr(o)!=="body"):[]}function hX(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?pX(t):[].concat(n),r],s=a[0],l=a.reduce((u,c)=>{const f=Vb(t,c,o);return u.top=Es(f.top,u.top),u.right=jb(f.right,u.right),u.bottom=jb(f.bottom,u.bottom),u.left=Es(f.left,u.left),u},Vb(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const mX={getClippingRect:hX,convertOffsetParentRelativeRectToViewportRelativeRect:lX,isElement:uo,getDimensions:zb,getOffsetParent:Yv,getDocumentElement:yo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:aX(t,Yv(n),r),floating:{...zb(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>kl(e).direction==="rtl"};function vX(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...uo(e)?yf(e):[],...yf(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),uo(e)&&!s&&f.observe(e),f.observe(t)}let p,h=s?mr(e):null;s&&v();function v(){const m=mr(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,p=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(_=>{l&&_.removeEventListener("scroll",n),u&&_.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const gX=(e,t,n)=>VK(e,t,{platform:mX,...n});var Wv=typeof document!="undefined"?d.exports.useLayoutEffect:d.exports.useEffect;function qv(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!qv(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!qv(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function yX(e){const t=d.exports.useRef(e);return Wv(()=>{t.current=e}),t}function xX(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=d.exports.useRef(null),a=d.exports.useRef(null),s=yX(o),l=d.exports.useRef(null),[u,c]=d.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,p]=d.exports.useState(t);qv(f==null?void 0:f.map(x=>{let{options:w}=x;return w}),t==null?void 0:t.map(x=>{let{options:w}=x;return w}))||p(t);const h=d.exports.useCallback(()=>{!i.current||!a.current||gX(i.current,a.current,{middleware:f,placement:n,strategy:r}).then(x=>{v.current&&Pt.exports.flushSync(()=>{c(x)})})},[f,n,r]);Wv(()=>{v.current&&h()},[h]);const v=d.exports.useRef(!1);Wv(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=d.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),_=d.exports.useCallback(x=>{i.current=x,m()},[m]),g=d.exports.useCallback(x=>{a.current=x,m()},[m]),y=d.exports.useMemo(()=>({reference:i,floating:a}),[]);return d.exports.useMemo(()=>({...u,update:h,refs:y,reference:_,floating:g}),[u,h,y,_,g])}const _X=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?Nb({element:t.current,padding:n}).fn(o):{}:t?Nb({element:t,padding:n}).fn(o):{}}}},wX=d.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.exports.createElement(Kt.svg,Pe({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:d.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),bX=wX;function EX(e){const[t,n]=d.exports.useState(void 0);return da(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const kP="Popper",[U1,OP]=Rl(kP),[SX,DP]=U1(kP),CX=e=>{const{__scopePopper:t,children:n}=e,[r,o]=d.exports.useState(null);return d.exports.createElement(SX,{scope:t,anchor:r,onAnchorChange:o},n)},AX="PopperAnchor",$X=d.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=DP(AX,n),a=d.exports.useRef(null),s=zn(t,a);return d.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.exports.createElement(Kt.div,Pe({},o,{ref:s}))}),xf="PopperContent",[TX,PX]=U1(xf),[RX,kX]=U1(xf,{hasParent:!1,positionUpdateFns:new Set}),OX=d.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...b}=e,E=DP(xf,c),[S,C]=d.exports.useState(null),$=zn(t,me=>C(me)),[P,M]=d.exports.useState(null),I=EX(P),B=(n=I==null?void 0:I.width)!==null&&n!==void 0?n:0,j=(r=I==null?void 0:I.height)!==null&&r!==void 0?r:0,J=f+(h!=="center"?"-"+h:""),ue=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},ie=Array.isArray(_)?_:[_],z=ie.length>0,K={padding:ue,boundary:ie.filter(FX),altBoundary:z},{reference:k,floating:G,strategy:O,x:R,y:T,placement:D,middlewareData:A,update:q}=xX({strategy:"fixed",placement:J,whileElementsMounted:vX,middleware:[eX({mainAxis:p+j,alignmentAxis:v}),w?tX({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?nX():void 0,...K}):void 0,P?_X({element:P,padding:m}):void 0,w?ZK({...K}):void 0,IX({arrowWidth:B,arrowHeight:j}),x?QK({strategy:"referenceHidden"}):void 0].filter(MX)});da(()=>{k(E.anchor)},[k,E.anchor]);const F=R!==null&&T!==null,[ce,ae]=LP(D),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,ne=(i=A.arrow)===null||i===void 0?void 0:i.y,Se=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Re,se]=d.exports.useState();da(()=>{S&&se(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:ke,positionUpdateFns:ee}=kX(xf,c),de=!ke;d.exports.useLayoutEffect(()=>{if(!de)return ee.add(q),()=>{ee.delete(q)}},[de,ee,q]),d.exports.useLayoutEffect(()=>{de&&F&&Array.from(ee).reverse().forEach(me=>requestAnimationFrame(me))},[de,F,ee]);const He={"data-side":ce,"data-align":ae,...b,ref:$,style:{...b.style,animation:F?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return d.exports.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:O,left:0,top:0,transform:F?`translate3d(${Math.round(R)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Re,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},d.exports.createElement(TX,{scope:c,placedSide:ce,onArrowChange:M,arrowX:fe,arrowY:ne,shouldHideArrow:Se},de?d.exports.createElement(RX,{scope:c,hasParent:!0,positionUpdateFns:ee},d.exports.createElement(Kt.div,He)):d.exports.createElement(Kt.div,He)))}),DX="PopperArrow",LX={top:"bottom",right:"left",bottom:"top",left:"right"},NX=d.exports.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=PX(DX,r),a=LX[i.placedSide];return d.exports.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},d.exports.createElement(bX,Pe({},o,{ref:n,style:{...o.style,display:"block"}})))});function MX(e){return e!==void 0}function FX(e){return e!==null}const IX=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[v,m]=LP(s),_={start:"0%",center:"50%",end:"100%"}[m],g=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+h/2;let x="",w="";return v==="bottom"?(x=f?_:`${g}px`,w=`${-h}px`):v==="top"?(x=f?_:`${g}px`,w=`${l.floating.height+h}px`):v==="right"?(x=`${-h}px`,w=f?_:`${y}px`):v==="left"&&(x=`${l.floating.width+h}px`,w=f?_:`${y}px`),{data:{x,y:w}}}});function LP(e){const[t,n="center"]=e.split("-");return[t,n]}const jX=CX,BX=$X,zX=OX,VX=NX;function UX(e,t){return d.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const H1=e=>{const{present:t,children:n}=e,r=HX(t),o=typeof n=="function"?n({present:r.isPresent}):d.exports.Children.only(n),i=zn(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.exports.cloneElement(o,{ref:i}):null};H1.displayName="Presence";function HX(e){const[t,n]=d.exports.useState(),r=d.exports.useRef({}),o=d.exports.useRef(e),i=d.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=UX(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.exports.useEffect(()=>{const u=Cu(r.current);i.current=s==="mounted"?u:"none"},[s]),da(()=>{const u=r.current,c=o.current;if(c!==e){const p=i.current,h=Cu(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),da(()=>{if(t){const u=f=>{const h=Cu(r.current).includes(f.animationName);f.target===t&&h&&Pt.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=Cu(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Cu(e){return(e==null?void 0:e.animationName)||"none"}function G1({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=GX({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=lo(n),l=d.exports.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&s(f)}else o(u)},[i,e,o,s]);return[a,l]}function GX({defaultProp:e,onChange:t}){const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=lo(t);return d.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var YX=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ci=new WeakMap,Au=new WeakMap,$u={},$h=0,WX=function(e,t,n,r){var o=Array.isArray(e)?e:[e];$u[n]||($u[n]=new WeakMap);var i=$u[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(ci.get(p)||0)+1,_=(i.get(p)||0)+1;ci.set(p,m),i.set(p,_),a.push(p),m===1&&v&&Au.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),$h++,function(){a.forEach(function(f){var p=ci.get(f)-1,h=i.get(f)-1;ci.set(f,p),i.set(f,h),p||(Au.has(f)||f.removeAttribute(r),Au.delete(f)),h||f.removeAttribute(n)}),$h--,$h||(ci=new WeakMap,ci=new WeakMap,Au=new WeakMap,$u={})}},qX=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||YX(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),WX(r,o,n,"aria-hidden")):function(){return null}},kn=function(){return kn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},kn.apply(this,arguments)};function NP(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function KX(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var rc="right-scroll-bar-position",oc="width-before-scroll-bar",XX="with-scroll-bars-hidden",ZX="--removed-body-scroll-bar-size";function QX(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function JX(e,t){var n=d.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function eZ(e,t){return JX(t||null,function(n){return e.forEach(function(r){return QX(r,n)})})}function tZ(e){return e}function nZ(e,t){t===void 0&&(t=tZ);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function rZ(e){e===void 0&&(e={});var t=nZ(null);return t.options=kn({async:!0,ssr:!1},e),t}var MP=function(e){var t=e.sideCar,n=NP(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 N(r,{...kn({},n)})};MP.isSideCarExport=!0;function oZ(e,t){return e.useMedium(t),MP}var FP=rZ(),Th=function(){},rp=d.exports.forwardRef(function(e,t){var n=d.exports.useRef(null),r=d.exports.useState({onScrollCapture:Th,onWheelCapture:Th,onTouchMoveCapture:Th}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,g=_===void 0?"div":_,y=NP(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=eZ([n,t]),b=kn(kn({},y),o);return nt(Hg,{children:[c&&N(x,{sideCar:FP,removeScrollBar:u,shards:f,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?d.exports.cloneElement(d.exports.Children.only(s),kn(kn({},b),{ref:w})):N(g,{...kn({},b,{className:l,ref:w}),children:s})]})});rp.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};rp.classNames={fullWidth:oc,zeroRight:rc};var iZ=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function aZ(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=iZ();return t&&e.setAttribute("nonce",t),e}function sZ(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function lZ(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var uZ=function(){var e=0,t=null;return{add:function(n){e==0&&(t=aZ())&&(sZ(t,n),lZ(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},cZ=function(){var e=uZ();return function(t,n){d.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},IP=function(){var e=cZ(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},fZ={left:0,top:0,right:0,gap:0},Ph=function(e){return parseInt(e||"",10)||0},dZ=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ph(n),Ph(r),Ph(o)]},pZ=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return fZ;var t=dZ(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])}},hZ=IP(),mZ=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
893
+ .`.concat(XX,` {
894
+ overflow: hidden `).concat(r,`;
895
+ padding-right: `).concat(s,"px ").concat(r,`;
896
+ }
897
+ body {
898
+ overflow: hidden `).concat(r,`;
899
+ overscroll-behavior: contain;
900
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
901
+ padding-left: `.concat(o,`px;
902
+ padding-top: `).concat(i,`px;
903
+ padding-right: `).concat(a,`px;
904
+ margin-left:0;
905
+ margin-top:0;
906
+ margin-right: `).concat(s,"px ").concat(r,`;
907
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
908
+ }
909
+
910
+ .`).concat(rc,` {
911
+ right: `).concat(s,"px ").concat(r,`;
912
+ }
913
+
914
+ .`).concat(oc,` {
915
+ margin-right: `).concat(s,"px ").concat(r,`;
916
+ }
917
+
918
+ .`).concat(rc," .").concat(rc,` {
919
+ right: 0 `).concat(r,`;
920
+ }
921
+
922
+ .`).concat(oc," .").concat(oc,` {
923
+ margin-right: 0 `).concat(r,`;
924
+ }
925
+
926
+ body {
927
+ `).concat(ZX,": ").concat(s,`px;
928
+ }
929
+ `)},vZ=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=d.exports.useMemo(function(){return pZ(o)},[o]);return N(hZ,{styles:mZ(i,!t,o,n?"":"!important")})},Kv=!1;if(typeof window!="undefined")try{var Tu=Object.defineProperty({},"passive",{get:function(){return Kv=!0,!0}});window.addEventListener("test",Tu,Tu),window.removeEventListener("test",Tu,Tu)}catch{Kv=!1}var fi=Kv?{passive:!1}:!1,gZ=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},yZ=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Ub=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=jP(e,n);if(r){var o=BP(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},xZ=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},_Z=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},jP=function(e,t){return e==="v"?gZ(t):yZ(t)},BP=function(e,t){return e==="v"?xZ(t):_Z(t)},wZ=function(e,t){return e==="h"&&t==="rtl"?-1:1},bZ=function(e,t,n,r,o){var i=wZ(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{var h=BP(e,s),v=h[0],m=h[1],_=h[2],g=m-_-i*v;(v||g)&&jP(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&f===0||!o&&a>f)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Pu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Hb=function(e){return[e.deltaX,e.deltaY]},Gb=function(e){return e&&"current"in e?e.current:e},EZ=function(e,t){return e[0]===t[0]&&e[1]===t[1]},SZ=function(e){return`
930
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
931
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
932
+ `)},CZ=0,di=[];function AZ(e){var t=d.exports.useRef([]),n=d.exports.useRef([0,0]),r=d.exports.useRef(),o=d.exports.useState(CZ++)[0],i=d.exports.useState(function(){return IP()})[0],a=d.exports.useRef(e);d.exports.useEffect(function(){a.current=e},[e]),d.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=KX([e.lockRef.current],(e.shards||[]).map(Gb),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var g=Pu(m),y=n.current,x="deltaX"in m?m.deltaX:y[0]-g[0],w="deltaY"in m?m.deltaY:y[1]-g[1],b,E=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&E.type==="range")return!1;var C=Ub(S,E);if(!C)return!0;if(C?b=S:(b=S==="v"?"h":"v",C=Ub(S,E)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=b),!b)return!0;var $=r.current||b;return bZ($,_,m,$==="h"?x:w,!0)},[]),l=d.exports.useCallback(function(m){var _=m;if(!(!di.length||di[di.length-1]!==i)){var g="deltaY"in _?Hb(_):Pu(_),y=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&EZ(b.delta,g)})[0];if(y&&y.should){_.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(Gb).filter(Boolean).filter(function(b){return b.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=d.exports.useCallback(function(m,_,g,y){var x={name:m,delta:_,target:g,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=d.exports.useCallback(function(m){n.current=Pu(m),r.current=void 0},[]),f=d.exports.useCallback(function(m){u(m.type,Hb(m),m.target,s(m,e.lockRef.current))},[]),p=d.exports.useCallback(function(m){u(m.type,Pu(m),m.target,s(m,e.lockRef.current))},[]);d.exports.useEffect(function(){return di.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,fi),document.addEventListener("touchmove",l,fi),document.addEventListener("touchstart",c,fi),function(){di=di.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,fi),document.removeEventListener("touchmove",l,fi),document.removeEventListener("touchstart",c,fi)}},[]);var h=e.removeScrollBar,v=e.inert;return nt(Hg,{children:[v?N(i,{styles:SZ(o)}):null,h?N(vZ,{gapMode:"margin"}):null]})}var $Z=oZ(FP,AZ),zP=d.exports.forwardRef(function(e,t){return N(rp,{...kn({},e,{ref:t,sideCar:$Z})})});zP.classNames=rp.classNames;var TZ=zP;const VP="Popover",[UP,KJ]=Rl(VP,[OP]),op=OP(),[PZ,Ol]=UP(VP),RZ=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=op(t),l=d.exports.useRef(null),[u,c]=d.exports.useState(!1),[f=!1,p]=G1({prop:r,defaultProp:o,onChange:i});return d.exports.createElement(jX,s,d.exports.createElement(PZ,{scope:t,contentId:B1(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:d.exports.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:d.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:d.exports.useCallback(()=>c(!1),[]),modal:a},n))},kZ="PopoverTrigger",OZ=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ol(kZ,n),i=op(n),a=zn(t,o.triggerRef),s=d.exports.createElement(Kt.button,Pe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":GP(o.open)},r,{ref:a,onClick:wt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:d.exports.createElement(BX,Pe({asChild:!0},i),s)}),DZ="PopoverPortal",[XJ,LZ]=UP(DZ,{forceMount:void 0}),sl="PopoverContent",NZ=d.exports.forwardRef((e,t)=>{const n=LZ(sl,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Ol(sl,e.__scopePopover);return d.exports.createElement(H1,{present:r||i.open},i.modal?d.exports.createElement(MZ,Pe({},o,{ref:t})):d.exports.createElement(FZ,Pe({},o,{ref:t})))}),MZ=d.exports.forwardRef((e,t)=>{const n=Ol(sl,e.__scopePopover),r=d.exports.useRef(null),o=zn(t,r),i=d.exports.useRef(!1);return d.exports.useEffect(()=>{const a=r.current;if(a)return qX(a)},[]),d.exports.createElement(TZ,{as:al,allowPinchZoom:!0},d.exports.createElement(HP,Pe({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:wt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:wt(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:wt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),FZ=d.exports.forwardRef((e,t)=>{const n=Ol(sl,e.__scopePopover),r=d.exports.useRef(!1);return d.exports.createElement(HP,Pe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;((a=n.triggerRef.current)===null||a===void 0?void 0:a.contains(s))&&o.preventDefault()}}))}),HP=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=Ol(sl,n),h=op(n);return OK(),d.exports.createElement(DK,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},d.exports.createElement(PK,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},d.exports.createElement(zX,Pe({"data-state":GP(p.open),role:"dialog",id:p.contentId},h,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),IZ=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=op(n);return d.exports.createElement(VX,Pe({},o,r,{ref:t}))});function GP(e){return e?"open":"closed"}const YP=RZ,WP=OZ,qP=NZ,KP=IZ,jZ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 19H11V17H13V19ZM15.07 11.25L14.17 12.17C13.45 12.9 13 13.5 13 15H11V14.5C11 13.4 11.45 12.4 12.17 11.67L13.41 10.41C13.78 10.05 14 9.55 14 9C14 7.9 13.1 7 12 7C10.9 7 10 7.9 10 9H8C8 6.79 9.79 5 12 5C14.21 5 16 6.79 16 9C16 9.88 15.64 10.68 15.07 11.25Z"})}),BZ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z"})}),zZ=Y(WP)`
933
+ background: none;
934
+ border: none;
935
+ padding: 2px;
936
+ margin: 0 0 0 ${L["--ll-spacing-x-small"]};
937
+ flex-shrink: 0;
938
+ box-sizing: content-box;
939
+ `,VZ=Y(qP)`
940
+ background-color: ${L["--ll-color-background"]};
941
+ padding: ${L["--ll-spacing-small"]};
942
+ border-radius: ${L["--ll-border-radius-small"]};
943
+ box-shadow: ${L["--ll-shadow-small"]};
944
+ z-index: 1;
945
+ width: 240px;
946
+ max-width: 100vw;
947
+ `,UZ=Y.div`
948
+ display: flex;
949
+ align-items: flex-start;
950
+ justify-content: space-between;
951
+ `,HZ=Y(KP)`
952
+ fill: ${L["--ll-color-background"]};
953
+ `,GZ=()=>{const{options:{data:e,score:t}}=Pl(),{textVal:n}=I1({data:e,score:t}),[r,o]=d.exports.useState(!1),i=go([sP,aP]);return n?Gt(UZ,{children:[Gt(yt,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[n,"."]}),Gt(YP,{open:r,onOpenChange:o,children:[Q(zZ,{children:Q($a,{SVGElement:r?jZ:BZ,fill:L["--ll-color-primary"],height:20,width:20})}),Gt(VZ,{collisionPadding:It*2,children:[Q(HZ,{}),Q(yt,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:i[`${t}-description`]})]})]})]}):null},YZ=e=>Q(iP.Provider,{value:{...e},children:e.children});var ZJ=Object.freeze(Object.defineProperty({__proto__:null,Badge:aK,Title:lP,Icon:yP,BarChart:gK,Description:GZ,Root:YZ},Symbol.toStringTag,{value:"Module"}));const WZ={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propuls\xE9 par"}};var qZ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNwAAADqCAYAAAB5oFizAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAJstJREFUeNrs3c9uHEmeGOCsGQG6zGL4BlNj+DA+NfUEKp0ae1iI5Auo9AKWdFrYMEDy0oBPEucFVDrMwoddisJe9qYS4INvYt/sw6JrfPLB8HLgg01DaDqDjGomKZJikRH59/sa1UXxT1ZmRmTGL34ZGVkUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAx4xyLvwPP/xxvTgp1pYf9PPJyVcfelJ+L/w3OrnwzeLk8sLi355UfjCq/OPnk+UGnVR+Xn7/7K+K4uTiBv9c+dt//uFv56oCAAAAACk8yLz81+Vr0vqd8PDhvHzb/HJ8fKRKAAAAAHAfv7ILTk3K108PHj7csCsAAAAAuA8Jt3Ph1tf3Dx4+fFu+1uwOAAAAAO5Cwu1r0/L1+cHDh+t2BQAAAACrknC72rg4S7rt2BUAAAAArOKBXXCj7d+M/9Xjf/Mffvg0Gp0/W7XyZcxYxm+MKk9gLX+p+jTWX8V/nCz/ZjSqfL38/ujC7y+fozqqfOgovk5Gy6+vXq8LXxcX/lEue1T9Z7ms0S/bcjKqbtfZOvz6dF3O1vfX8Xeu3I7KMs8/YnRpvW6xvpd+MLq07Oq+KC6sy+nXiz99//1M1QUAAACaIuH2rR30m7+aFB140iq/mJevmd0AAAAANMUtpQAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQg/sAgAAAABS29zamtzm997v788rfzMu38bV733jM9bKt/XydVj+zVFbtl3CDQAAAIActi/9exzfF5e+P698PQ1/t7m19eSWSbfX8W+eXFpOoyTcAAAAAEju/f7+k+q/N7e2duL3d77xp4vy9aL4RgItjm7bKL5O4DXOHG4AAAAAtMlB+ZrE20tvMo2/u2jbBki4AQAAANAmfynOEmkvvvF74efv2rgBEm4AAAAAtM1ucTaC7UqbW1vhVtKj2z5coW4SbgAAAAC0yvv9/UX5dri5tTW95lfC6La9tq6/hBsAAAAAbRQSal/dVhrndlt/v78/a+uKS7idObILAAAAANrj/f5+mMdtbXNra3LpR9tFi0e3BRJuZ8Jjahd2AwAAAECrhMTas+U/Nre21sq3MH/brM0rLeFW+nJ8fFi+PSrOnoABAAAAQDvMytdGvI00mJavgzjHW2tJuEVfjo+PytdmcfYUDAAAAAAa9n5/P0wDFgZITeO3wpxu79q+3hJul3w5Pt4pzm4xNa8bAAAAQPPC4KgXm1tb4VbSo/f7+/O2r7CE2xW+HB+Hggu3mB7aGwAAAADNibePhhzN26LlD0tYeqDYrvbl+DgU5qMHv/mr1+X7uj1yamIXAAAAAA0It5GO3+/vz7qwshJu3/A//8t/flW+7IjS3/zDP57YCwAAAMAdze76OyHRtrm1dd2diK/K16JNGyrhBgAAAEB2t3my6E2/U/7scJXvN8kcbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJPbALANprY2trvXxbi/+sfl21iK/g6GB//9Ce62Q5zpdflGU4t9cAetkejMu3cfxn9euqo/J1qE1QjnCHePIw1r3Tr8t6d2TPNUfCDaA9DWh4fRffr2tEb7Os8LaIr9Do/li+5mWDu7CnW12O25fKcBmoK0OA7rUH40o78Li4Pilz23Y9mMe2fdkmuMDW/XI8lIijhnrn3NGQUc6F/+GHP34sTorJ8oN+Pjn56kNPyu+F/0YnF75ZnFxeWPzbk8oPRpV//Hyy3KCTys/L75/9VVGcXNzgnyt/+88//O1IVfi2v/mHfzz5ddibo7PdeXo/8mh0/nWlUo1G5/8aVfbuqPKPi9+/+nfCD0aXK2z8+Sj+73xdTr+e/+n7758orRtPumvx5J3KQhLgzuWwUb6elq9wnlyr4WMXscH9VL4OXPFKWo6P4/taTWX4IQZMRwPe95OEi+v9FeBLV8XvTQex18eDkdJ3L4dquz6u6WMPKu26eCxdOS7b9brKsdq2H3Z8/02SVvCBtDc1nz+OKnVOnyAjI9xgeEKn62PC5e2Wrx279VYNaTXJttHAKoTGexpfb8v1CUH6h7KRnSmdOwVFzxoox2oZFrEM35VleDDA/f/eeWwlr2MQn4qLle2Ssl0PnTAXL1fvJNdx0eXKVYiv1+W6hETNu/I104FeuRxDfPyiwXKcLM/R5bosirNE6l5Hk6gfEy9v1ON6N6nEk3XWu7XKueOXPkEh+ZachBtA/sZ0HIO4aUNB3I1Berl+oSO+FwP0hRK7thxD2b2MZbnWsjJcxE7Wm4EESi8SLy8EuztqObBCezCN56Jxi1ZteQtaSL7NirOEjdGKN5flshzXW7Ra4xhvvCzXb16cXVibKa1enT9C/LbdovNHNXEfkm+7+gRpSLgB5GtQx7ExnbZ8Vdfiem7HAF0j+3Vg9Lpo7qr3bYPzUIYvyvUNydPeJt7icTVJvf/CKJWhjRQE7tQetO3Cy3VC7DGNCZtdt4F/VZbTol0Jj+uE9m5Sru92LMeZ0nP+yNwnWJ479AkS+JVdAJC+QS1fb8svfyran2y7KkD/qVz/nRgYDL0cdyrl2IX9sUyehjJ82dOiedGx5QL9aBNexvZguyPtwdKkfH0s1/9jvGAx9HIMo8JDOYY4rUv7I6xruPXvp5gspFv1btrB84c+QQISbgB5AvKuB0PLpM3GQMsxdFA+d7BjtXQ6Kq/cjs9xXpq+lMtaxmNrojMKXNUehHNpcTbSucudzsmy8zzQcgwjmcPcYmH+zy6f68O6v5VA7Uy9W4/17m2Hzx8hFv6c+mEYQyHhBpAoERAb1K4H5FVhO96X2/V+KFe2YjmGMvzY8YB86fQhKT26Gp77tl6j3IBqm7BsD9Z7tFnbfbsYc4tyDBdDQ9K0TwmDsC2fezyavQ/1bqdH9W4c48nXSnY1Em4A929QQ0P6U88CuQubWJxdFV/veTkun+Dbt+A1JKjextucO99RzLz8qdsmgDga6nMP24Ol0N71PlkTL6KFEW19uhh6uX1/PaQLox2qdx9riFma8DKOrlTfbknCDeB+jWoIVj/2NJC7HNR97uu8IfHW2b6NYrhs2uWkW0xsj2uo54O8jRr45VxzmozqeXuw9LonF2OuK8ePAzmnn8YwkiCtqXd9vghfFOfzQqpvtyDhBnD3RjUEqUMbWv22b8PJYxIxXAEfQuDQ5aTbs5o+x22lMNx2PbQHnwfSHlTbhc996jxXkm3rAyrHsK3bjuJG693y4u3aQOqbpNstSLgB3K1RDUmL6UA3/2VfrojHztXbgZXftGsjFePE0HWt87qJgWGQ7foQ24PedZ4rybahJQIOy9euI7nR88f7gdW7cKyZ0+0bJNwAVm9Uh5xsW5p2Pek24M7V7GB/f9a1+lbz5z0rgKF1lt8OfDd0Puk24GTbonw9Kdv2I0ez80eNQpL3lRpwMwk3gNUaVcm2c9P4BCbBUXeEZNvzDq73swbqttskQGd5aJYJqy6W41CTbSHJtinZ1mi9G2qyTZL3FiTcAFYLyqf2xAXbHbw9cVJItnXtuBs38NEvHd4wiM6yW6IuWu/aCPZ4gWSIybYgJD0OVdvGzh8fB7jpkm0rkHADuF2jOilcAb/O6xh0dKEcx8XZHBtD09WRbcGzgX0uUE97sFYMb86l25rGp7B3xVCTbc8l2xo9f7wthjlXoGTbCiTcAG4flHO10/3TkVvwhti56myyLSZyJw19/Dg+cQzop9BZHtsN1+rExbT45PT1AZbPqw7Ox9qr42OA9U6y7Q4e2AUAtwrKm0zSHMbXn+O/5/F9rdLYfxe/bqrzED43PI6+tZOnxvnmmg6OQjmGQOXTFT/7bVy/9YT1rcsj24IXLfj8A6dA6Jc4eqvJhPoivj5dahuKShvwu0qb0GT886jF5Tgpmrv9/yjGY5+W5XfVaLPKU68nMVabJGjjQ9v+xpHcWL0L545pw6uxPIeEOveXK37+OMbmqfoFkm13JOEG8O1GtYmgPHTyP4T3bzRuB5fWdxyDuacNrPfL8vM/lOs7b2E5hg7LdkMB+bIs57cNVGI5bsSA6a7l2OlkWxwx2fQIs0koi3I/LpwNoTft+lpD7UHosL6L7fpN55T5FetbbdfrvAAY5nPbKdd3p6XlWPdUH8s2fe+2t3JWYqL5pdjyruV50PELaX04fzQ1xcxt+wap+wWSbfcg4QZwszonUw4N2V5xlii5Uwc//t0svGIjGzoV05r316OBl2MQymH3rrd7xHIMV6/fxHIMZfhihcB81oOAfFq04/bfsN899h761a7XeW4J7cDeXefaip3c0NE+KNuDcC56uWJ7cF/h4UizFl54CPthXHN89iZF0qFcxl3LM9QhybZhnT/uVfcu9QvWKvHkbY8dybZ7knADuEa8BbGuYC40hq9SNmixkX1ebsduDBDqGC0UroZP2zSvSHzK5aTGwGg35a0esRx3yu0Iy9wuvn37zKwnV79ftGQ9Qv2RcIN+tOvrRX0XoeaxPZgnbA+OKu3By6K+kXrhc563qBzHNbYRBzE+WyRf8MXy/Fb7LvExrPNHEOL3N6nKPC5neTF3p/h2oledS8BDEwCublTXagrmjmJj9jxXgxaCxPK1WX65WZzPEZM7MG+TutYnBOW/zzWvSqgf5Sskfp7cUI69SLbFOW/GLVmdtZi0BbqvrtHOIUHzJNcUC7E9CB3mR7FTnNu0MhdZW9r13KOMQjsbYrPN3KP7LrXvixvWReJjGOePcEw/Csd4xr7BTqxvhzesg2RbAhJuAFd7WUMwFxqz39c151m8haGO4HzclgRFXI9xTZ2rzToCk1hfrirHWY/mdXlhfYDE7cGkyD/a+Sh2lGuZ0D7epho6zbOhnAcr0yzkLscndY/Wv6Z9X67LoaO49+ePZSz3qI7yrpw/Dq/on0i2JSLhBtBMYDlrojGLV2lvuqKVSltGudWxHs/rflpYpRyPKgFaL5JtlQdGtMl6vJUE6K5nmZffSGIkjo56XuRPum3E83Pf2/XlxdBGElwxLqzGaa8k2wZx/gh2647lrqhvkm2JSbgBfN3hnxZ5R7fNc95CeofGNYdxfApXk+UYPj935+B5U/PVVcrxTc+eWJYq2b2cq6Rt6wXU3x6EtmCa8SMaH4VUU9Jtu+FyzP306qM2JBsq7ftmm+bEdf7IareppwFX6ttBIdmWnIQbwNdyXsUKwfhm0xsYG9Pcc7o963E5Bq+aDoRD5y7O+9InqYLaEDjupVyv2NkDhnteuUprbvmLSbd5xo9oevRx+Py1zOXYimRDHLl44NDt/fkjmDWVbLtU3zYl29KTcAOoRnJnV7EmGYO55y0K5hZF3uTfRlMJihqugh/UfRvpQI6/acLO1LtYx1N2gqdKCTop5wWY3Zbd8pfzYlrTD5HJOdLYrZs0cf447NldClwi4QZwqc8/oKB8OUHvm47uz6Y+9zRx6lBpdWdqUXkYyV4L1w+oqzE4m39xnGnx87ZdfIkX9XK2UU8bKsdQhusZy3HmaKHm80chnuw/CTeAi3JdxVq0eETUbpHvavjThrYp5+e+MuQ+W1CbqjN1cM3X99X43ITA6qeXoXWW462I80yLnyhH9AvSxN9GVfafhBvAeYd/rch39XS3rdsdk0d7uXZrzwJzV8HzSTl6bO9S/U6ZdHumqKBTHmda7izett5Wueb3DLeVThrYnlwX0t60vBxpVq66nvrBTrSUhBtA/kZ10YEkzZsi0yi3ugPzzJ+35zDJUmYh2T1NtLjDKzpP71Kubry1CRh2277b5o2OI2fmHdunTXymdp3rYpPQ1ue6EL/nbolhkHADOJetUW37hsdGf9aTwDzX5y08MSyblzmPt1huKQNbc7lBNzrMudqDg46MisoVfzzuSTnOjG6jgX5BYHTbQEi4AeQPIGcd2f53mZb7XU/K0VXwfFLepnmw4vfvYqrIoBMmmZb7oQsbHy82LDIser3mTcn1ee8cIjRQ72ZGtw2HhBtA3oZ13pVGNd5+kiMwH/ckQDK6LYP4EIJUdeSmIDZlxyrMYTRVetB6v9MeZFnXtZpvrc9x4e6o8jRruEquC7gf7NrheGAXAJwHkBrV08D8ZeJlrvegHA/ddpLNizqOt9CxKjuIoQzHCdd7pvig1cYZljnv2OiUTxna9eW+XXS4HJMmIjM/eGvVeMXoqfbWu8L0JMMi4QZQZJ0fpGuP+84SmIcr4XUkrDKW49xRkqW8QjCbqsyObhHEpkwor5frvx5HhgLtlCMB8qlLOyCcF8tzVa59W1fbOOlAOYb98bEFRf5EzJLMWDzJfbmlFCBvoNu1hjXX+o47XpQ/qs1ZpBzdNrvF7+y1eP2B9HKMeO5ih/mwI/u26/uEnsh4y/Qne3dYJNwAzuS4Ct65YC7ehtDlWxEmAvPOBLOhszZNuMh3t6jfi8RluRG3A2jnOSaHRQd3x6LD5ZjlNk2jk/mGsWORFCTcAM7kCMy7mrjKEYSud7lyCMzz9KMSHneHK5RR0ocnFJ5YCm2VK1HTxQ5zjlHaj2ta9yzzsjo8aMjCLhgWCTcAjWpXA2a6bTvhslZJos0Sb4fbSgG6xUMF0DegFhJuAPn8WSAqOOJr8eEW44SLnN32F+Nt0ymfEDbO+LAOoF3mHV1vI7pgNVnadU+8Hx4JNwAu84CAiwRH6T1LGb/GJNoqPiTeHqPcgDZzIQ2gARJuAEBt4pO/pgkXuXLy7GB/f5a4A7qR8YlmAAB0kIQbAJc9tgsuGNsFSU0TLusoJs/u4qDF2wW0U1fnI11XdAD1k3ADyEfiqh/GdkFSSW8nvcffvku8XW4rhf7rauLKg4tgNfMcC93Y2nIsDoyEGwB1MGEzIdCcFmkTmHt3/cOD/f0QTC9Sdmjj9gEMwcIugJUZbTowEm4AZ3IkhMYd3ReTDMvs9ITNG1tbAqQ0Uo5uWxzs79/3uD1o8fYB9zm4z5Lq2oMzOUbc1/Uk9hzxw8QRQkOMcBsYCTeAfAHduGtDx3sw8fs803LHDpEkndSUnZy9lizjQidOchZ6b2yd65Pgwsp1bZLEBzdZZFquGGFgJNwANKxVk0wB87zj9UOAdH+p5zg7SFAvw3F/2PLtBO4uR7KmU/OzxsTSuCP7VrtOK8T4IAfzOw+MhBtA3ob1acd2RY5A4KjGcpwLkFrb4dtIuMh5wmM29cMTNoycgNZwO2K+9a1zqoi5cqQBOfoGEr0DI+EGcC7H1VqBef1XwXMESBNJlHuZFmnnLUmZJEs9j1vq5CJwd59ydJg7Nv1Clgt/NY9cz9Gup76QFhKQ83u8jhyurZOj3oUHLE3s2uF4YBcA/CIkhlJfeToNzDOOoEsmzj01zrRf6w6QcmxHSKLMHCZ3kvo2y7dlfX3b4u3dVlegtx3mZXvwpiP7IMcFgLrb9R8zLPP0QloZnyVJdMW55p7cIwb7WBh11zafMpVJSILP7d5hMMINIG9AF3RlTqcXHduvNwVIOXgC5d06EaGzNx7YZo9dwYZWyNWp7UR7UJ6HpkWepyLWnXDL9XlGI9NEvZvatcMh4QaQPzCftv12xAxzbNWxX+v+PE+g7HHH1HZD/8TR5Tlu1VvvSFI913noU83lOO/Y/kG/4CZrMRnOAEi4AZwHdIeZAvOQzHrZ8s1/WeS5Cr6o+3bazPPKeALlCuI8R0MdQTDt2DxP0NvmPdNyt1t+/p0U+W5RnDewSTk+04U0boonQ58g1yi3bXt4GCTcAOoJzF+0dZRbTAq86Nj+bOpzp24VXK3eD3z7p6oANC7XaKxJy9uDXB36RUPz0n7o2H6iH+aZljs2ym0YJNwA6gno1loc1L0u8oxuy9nRaaocBeerGXow6XYlaF7OCz+v27jBZUc+jFqfdHB/NvG5Gy6kcYN3GZf9uu1TznB/Em4A1Whufz8EdLkezf6ybUFdnNA+1y1/i7g/+9bBmsTODDfXrWmRL5HbFa5gQ/Pt+lHGNiHM5bbTsnPvuMh7YehdQ+W4KPLd3vfakcI19S7UuUWmxYcY6a293G8SbgBXtK8Zl/2+LVez4rwlbzu6H5vsYJ0G522Z9yUkTVt6hdR8d2eMcoPmZR313JaLabEteF/ku9hxGBMQTdnLtNyQOJV04zo5k8wbbbkwF+NJcxomJuEGUF9AV8Qg+GPTCZL4+W+LvCOQ9npcjkUsx/WGy3EaO1cf25R0i51PQduZiYcnQLMO9vdnRb5RKsH7lnRUX2c+9zbdrue+C2HqaOEKs8zLf9t00r5yEf6jpFtaEm4AXwfm4ertPONHrBcNJkji537MHJQfNDSpcrUc55k7WGtNBibxc19X6tTnFgVJRnVdZN4/aF7OUSqNtgexTQid5WnGj8g9cvw27XrudXgr6cYV9S7EkrPMH/O+4XjyYzyPNX4u6xsJN4Cr7WZefiNJt9iAfi7yjz7aG0g5NhKYxLn3lsHR0rhox6i7tcLDEr7aLSZGhsa9KfKNjmqyPVgrX+9rOO/uxYRX39t1STeaiGvD+eNz3XXvUrLt8rnMcZCAhBvAFeLoqHnmjwmN3E91DSOPDWdoVMeZP2oe918bynFW5B3lVg2SXtZUjjvF9XP0tOHKpAdKXF0uG3YDNNoeHNXYaa6rPVh2lnOfX8K+e9OScgxt+izzx7w1pxuX6l3uu18u1L06LtJV+gXXxZOSzwlIuAFcb7eGz1gmSLI1rmH+qHj1O/ecbXXutzauTyjDj7kSqKFjVb7C6MTtW9apppJubie9mttKoXm5R7ldbg+ynIfjqLadop4R60FbRrdV2/Xc6xPmdPvs1joqntf0OSFh/zljPLlKv0DS7Z4k3ACuUdMot2rjGka77aRKvMUGNTSmPxX1ja6ZtWV0W6UcZzWWYwiOQicr2QS4lXJcpWPVyO0A8VbXsbPHlcZteZIhDLhdD0maui7CTGKn+W2qB6dUEm2hXa8rib8oWjK6rVKOYZ3qmLpiPXUZ0unzR6h3s7pihhjHfYyxVcrzx+cV+wWSbvfwwC4A7ulZeRJ+3NBnh8fTv8r8Gc9jw1THyLC1GEBvl/s0NOgfyu1baXLgmKwLjejTov5b2EJH5lVL6+mrWI51CYHJtCyPcAtCmKh7Hm9HuG05jmNn7Vl8v2t9CkHSMulYhxdOiTefL4v6kr9ZhU5Ak8fzKscTqycZmizfsmyfZF7+m3L7wrFY18ilZXswr7QHixWPt2q7vtbA8XbUwnr6Jp5TxzWWYYjJ3q0am32jbNdj22kkXTe8qvk4DDFgeNp5OGccxL7BfIX6lapfEOLJ72rod/WOhBtwX+OixyNaQlBcNjDhKmrdt4Mtg7sidtBD5/Iv8f3oiv3/uxisNRmw7bY0KD+de6Pcl7sNlOMvZVJ+/lEsv2VZXuVxhmOqlqRbJUmY0qLIPwdfnee2cEy3tfN6l05AUzyAIv/+nfR8G5cX0+o+ZibxfLlsC/58xXluLbYbv43vTZbFQcrkUuJ2/ajcj6Ec60wOh4TFRmzPQ2z2qTi7+DtfIfmxjAu+K5pJoJKm3r1vICYJd8O8rPQNFvEccpXv4t+k7BeEz14r98FzNeH2JNwAvt247sRRfE0FvZMOdH5CUP6mA+X4tGguKbnWYFnWkXTLkcx81VRnr/JE39RCwLzjzAqNtgdNXYRZavoC2W2EpNLzlpfjvCzHN0X9D+tZjhraiO3Fcn8d3vD7RrD15/xxEEc7NvkwpKb6BdMYT0q63ZI53ABu53lRz0TLXbRoe1CuHE9le+pa5ZaFpPWqyZEV8ZbFHLcteqgEtKPTvFP05BbvTDa7MBo33uLWhlvMqxfVLr8k2/rZL1gMdNuncW5hbkHCDeB2AV1oVDftia8cdSUoj+UYgvIhzz/xMlOQlOO2mDbcxpRjUu5xqgmQgXvbHHCn+Sav2vYApG94UrgoSr3x5FE8fwy13k3jAx3cEv0NEm4At29cQ/BpCPXXQflhx8pxVtT3lLq2Bkmpk245bsvaa0N1yRRMe7gE6DS31aztU0RcU46SbtRd74Z+EXdSnD1JVdLtBhJuAKs1rrNi2Mmaquc1Pv0ydTnuFPU92r2NpnGOsnsrlxMCrnHi9Ttc9Sl+GTtxOUbaTeJDJoB2dJola87Mujo3k3KkwX7BkC/GN/1gl9aTcANYvXHdKYadrAk6m2yrlOPzAZfj84QjE3PMSbbXon2Va12McoP2tAeHhblaZ12fCF3SjYbq3awYbtJt1tYnGbeFhBvA3RrX0LAOdRh555Ntl8pxpvzuJo7SmuYompZ14BYZFj11Gwa0qj0I552hJmtmfXnqoKQbDdW7EFcNLek287TSb5NwA7h74/pmYI1rCF57k2yrlOOQkqepy2+aKYBrW0cpxyi3HE92Be7XHgwxWfOmb53mSjku1GpqrHezYjgjZXcl225Hwg3g/o3rowE0riFofdK3ZFulHEPytM8TZ4ftepSh/HLcFvmhhfsvV713Wym0rz0IyZrfl6/Dnm/q8iLaqx6XY4jP5mo1NfcL+p7sfR6n1+EWJNwA0gXnfQ3qwm02j7r2NNI7lOPydqK+bedhjvLb2NqaFmejtFJatHEukDjibpZh0evxoRNAy4758hWSNX19SNLpCLC+XkS7VI6hXX+lVlNzv+BR0aLpMVLFaEWei7e9JuEGkD6o68soqbAdm+V2bbbwFr9sQVLPOllhyP+jTE/8zPGwhDYHp+8yLfdZAbS1Tdgp+jdaZdkuHA6oHMMo9qGMdjN3XXv6BZs96hcM4uJ7DhJunHrw8KGJmyFdUBdGu806vilh/X8/1CcPxU5Wl4Pz5ai2nRwL39jayvUY+L0W14l54eEJMMT2YF6+Qru+2/GO8zxnu9CBcjyMF0b7OMdW2J43MW6TENEvSCnEPYO6+J7aA7ugKP71v/uPJ+E9/O/k5PTLYhR/Nir/+XNxcv7LJ8vvn5TfL3753fBno/jDn+PfVX//5PyLi07OfjK68LOT4uTkihWNn7lc9qiy3Au/X/nHyUlxeUXO3y5t67/MP8yPF//t+Zfj44VaAfdqXE/nRSk70WFEzHamxES21S9frzKNiOpccF6+PSnLMUxs/7p8jTsSdO/GAC+nHHOPHXag3u3FupDay/K1UwBtbhN2yvZgFtv1acc6zK+GegHtinKcleV4EM+7oS3r8gWPRWyXZpIh+gUZ4slQt96oW/cj4cYvTv7v/wkH/08PHj7c/XJ8LPCH+zew8/JtHudoCkFdm59IGDoRuxJtV5ZjCMwP4pxloRzXhxwYxdFYOeryXgeqQzhOciTcwm2l2l1of3uwiB3n3dhxDufCtiZsQgyyJ9F2ZTmGdjIkUMPFqWXbPu7I6od1P4hlazRbd/sFbU28LeuXPkEiEm5cZfvBw4dPQ0Dx5fjYiRzSNbDj4jzx1obALjSkIclxoFG9VTnOyrdZDJSetaSjFcptN5ZhXVcgp5m2+6ADdeAojnCZJl70OIyk1DGGzrQH4dwbEm+vYlvQlosxkjErntOLs1sx38TR7E+Ldo5eXMRy/aSd6GW/IFdctWodCyPwjGhLTMKN64Sg4bPRbr207KD3ZVu6FqCH4PxVDOweF/Un30IAHhr6d4LxewdKy45WCNAnNQZLy8C7qTI8ynAOWXQowAtJ6j93sOqGQPqTc39v7doFjbQHyycYz2LnObQJz4p6k2/LJNsHyZh7leVyNPuybV/GaE0kQo5irBbO2V28KOp8dLd+wdOa65xzRw1GORf+hx/++LE4ORsqGT7o50tzhgUnp3OYnZzPeXb2za+mOlvON1adq2xU+cfPv8xrdlL5eRHnWTs5n3vtl9+/+HvxtwY9h9v/+qf/VPy///Hfrwtsn//13/39x1+HPxud/f3pEzdGo/OvK/tjNDr/16hS4KPKPy5+/+rfCT8YXa6w8eej+L/zdTn9ev6n779/4tCmS2KQPonB3XriQD0EbCEp82P42ki2rOU4ieX4XSzDccLkwmEMvOcSpQCtbw/WLrXrk4SLP7zUrmsT8pbl+qW2PXUy9TC28z8uy1asps5dOn+kjidDXTtw7qiHhFsh4XaLhNupv/67vy8k3KDWxnbtUpD++JpfP4qN5/Lr0+BNwNaKDteyHJcB+u9uCJxCuf2l8vVRHE0HQPfbhHE8/y/bhSImca4bzVIdkTqPbYIOcrvKstq+3zbhsYzNDt26xwp1bnKpvv32hroX6tifq/Gk+tYcCbdCwk3CDQAAACCdX9kFAAAAAJCOhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQ0IPMy39Vvtbs5m748r//5Wn59tKeAAAAALi7rAm3//rv/+2hXdwp8wcPH34q398WEqUAAAAAd+KWUi74cnx8UL79vnwd2BsAAAAAq5Nw4ytfjo+PytdmcXZL8JE9AgAAAHB7Em5c68vx8Zvy7Un5cmswAAAAwC09sAu4yZfj45Bse/Tg4cOd8v1xB1ZZchAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgKv9fgAEAulggap4jxLwAAAAASUVORK5CYII=";const KZ=Y.a`
954
+ display: flex;
955
+ align-items: center;
956
+ justify-content: center;
957
+ text-decoration: none;
958
+ margin-top: 1px;
959
+ width: 100%;
960
+ `,XZ=Y.img`
961
+ height: 20px;
962
+ margin-left: ${L["--ll-spacing-base-unit"]};
963
+ `,ZZ=Y(yt)`
964
+ line-height: initial;
965
+ `,QZ=()=>{const e=go([WZ]);return Gt(KZ,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[Q(ZZ,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),Q(XZ,{src:qZ})]})};var JZ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),QJ=Object.freeze(Object.defineProperty({__proto__:null,Root:QZ,Types:JZ},Symbol.toStringTag,{value:"Module"}));const _f={small:20,medium:32,large:40},eQ=Y(nT.div)`
966
+ background: linear-gradient(
967
+ to top,
968
+ ${({backgroundColorHighlight:e})=>e},
969
+ ${({backgroundColor:e})=>e}
970
+ );
971
+ border-radius: 50%;
972
+ border: 2px solid #fff;
973
+ height: ${({size:e})=>_f[e]}px;
974
+ width: ${({size:e})=>_f[e]}px;
975
+ display: flex;
976
+ justify-content: center;
977
+ align-items: center;
978
+ box-shadow: ${L["--ll-shadow-small"]};
979
+ `,XP=({fill:e="#fff",backgroundColor:t=L["--ll-color-primary"],backgroundColorHighlight:n=t,SVGElement:r,size:o="small",expandMarker:i})=>Q(eQ,{"data-testid":"svgInfo",backgroundColor:t,backgroundColorHighlight:n,size:o,variants:{default:{scale:1},hovered:{scale:1.2}},animate:i?"hovered":"default",whileHover:{scale:1.2},transition:ec.transitions.default,children:Q($a,{SVGElement:r,fill:e,height:_f[o]/1.5,width:_f[o]/1.5})}),tQ=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}),nQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM12 11.5C10.62 11.5 9.5 10.38 9.5 9C9.5 7.62 10.62 6.5 12 6.5C13.38 6.5 14.5 7.62 14.5 9C14.5 10.38 13.38 11.5 12 11.5Z"})}),rQ=({options:e})=>Q(XP,{SVGElement:e.style==="house"?tQ:nQ,size:"large",backgroundColor:L["--ll-color-primary"],backgroundColorHighlight:L["--ll-color-primary-variant1"]});var oQ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),JJ=Object.freeze(Object.defineProperty({__proto__:null,Root:rQ,Types:oQ},Symbol.toStringTag,{value:"Module"}));const ZP=te.createContext({}),QP=()=>d.exports.useContext(ZP),iQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 2C7.58 2 4 2.5 4 6V15.5C4 17.43 5.57 19 7.5 19L6 20.5V21H18V20.5L16.5 19C18.43 19 20 17.43 20 15.5V6C20 2.5 16.42 2 12 2ZM7.5 17C6.67 17 6 16.33 6 15.5C6 14.67 6.67 14 7.5 14C8.33 14 9 14.67 9 15.5C9 16.33 8.33 17 7.5 17ZM11 11H6V6H11V11ZM16.5 17C15.67 17 15 16.33 15 15.5C15 14.67 15.67 14 16.5 14C17.33 14 18 14.67 18 15.5C18 16.33 17.33 17 16.5 17ZM18 11H13V6H18V11Z"})}),aQ=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5V21H18V20.5L16.5 19C18.43 19 20 17.43 20 15.5V5C20 1.5 16.42 1 12 1C7.58 1 4 1.5 4 5V15.5ZM12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15C14 16.1 13.1 17 12 17ZM18 10H6V5H18V10Z"})}),sQ=e=>N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:N("path",{d:"M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z"})}),lQ=e=>nt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M19.5198 2.49002C17.1798 0.150019 12.8998 0.620018 9.96984 3.55002C8.36984 5.15002 7.44984 7.42002 7.42984 9.01002C7.40984 10.59 7.68984 12.9 6.07984 14.51L1.83984 18.75L3.25984 20.17L7.49984 15.93C9.10984 14.32 11.4198 14.6 12.9998 14.58C14.5798 14.56 16.8598 13.64 18.4598 12.04C21.3798 9.11002 21.8598 4.83002 19.5198 2.49002ZM10.3198 11.68C8.78984 10.15 9.26984 7.07002 11.3798 4.96002C13.4898 2.85002 16.5598 2.37002 18.0998 3.90002C19.6298 5.43002 19.1498 8.51002 17.0398 10.62C14.9298 12.73 11.8598 13.21 10.3198 11.68Z"}),N("path",{d:"M18 17C18.53 17 19.04 17.21 19.41 17.59C20.19 18.37 20.19 19.64 19.41 20.42C19.04 20.79 18.53 21 18 21C17.47 21 16.96 20.79 16.59 20.41C15.81 19.63 15.81 18.36 16.59 17.58C16.96 17.21 17.47 17 18 17ZM18 15C16.98 15 15.95 15.39 15.17 16.17C13.61 17.73 13.61 20.26 15.17 21.83C15.95 22.61 16.98 23 18 23C19.02 23 20.05 22.61 20.83 21.83C22.39 20.27 22.39 17.74 20.83 16.17C20.05 15.39 19.02 15 18 15Z"})]}),uQ=e=>nt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[N("path",{d:"M0 0h24v24H0z",fill:"none"}),N("circle",{cx:4.5,cy:9.5,r:2.5}),N("circle",{cx:9,cy:5.5,r:2.5}),N("circle",{cx:15,cy:5.5,r:2.5}),N("circle",{cx:19.5,cy:9.5,r:2.5}),N("path",{d:"M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"})]}),cQ=e=>nt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[N("path",{d:"M0 0h24v24H0z",fill:"none"}),N("path",{d:"M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"})]}),fQ=e=>nt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[N("path",{d:"M0 0h24v24H0z",fill:"none"}),N("path",{d:"M20.57 14.86L22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57 3.43 12 7 8.43 15.57 17 12 20.57 13.43 22l1.43-1.43L16.29 22l2.14-2.14 1.43 1.43 1.43-1.43-1.43-1.43L22 16.29z"})]}),dQ=e=>nt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[N("g",{children:N("rect",{fill:"none",height:24,width:24})}),N("g",{children:nt("g",{children:[N("g",{children:N("path",{d:"M21.67,18.17l-5.3-5.3h-0.99l-2.54,2.54v0.99l5.3,5.3c0.39,0.39,1.02,0.39,1.41,0l2.12-2.12 C22.06,19.2,22.06,18.56,21.67,18.17z"})}),N("g",{children:N("path",{d:"M17.34,10.19l1.41-1.41l2.12,2.12c1.17-1.17,1.17-3.07,0-4.24l-3.54-3.54l-1.41,1.41V1.71L15.22,1l-3.54,3.54l0.71,0.71 h2.83l-1.41,1.41l1.06,1.06l-2.89,2.89L7.85,6.48V5.06L4.83,2.04L2,4.87l3.03,3.03h1.41l4.13,4.13l-0.85,0.85H7.6l-5.3,5.3 c-0.39,0.39-0.39,1.02,0,1.41l2.12,2.12c0.39,0.39,1.02,0.39,1.41,0l5.3-5.3v-2.12l5.15-5.15L17.34,10.19z"})})]})})]}),pQ=e=>nt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[N("g",{children:N("rect",{fill:"none",height:24,width:24})}),N("g",{children:N("path",{d:"M12,2C6.49,2,2,6.49,2,12s4.49,10,10,10c1.38,0,2.5-1.12,2.5-2.5c0-0.61-0.23-1.2-0.64-1.67c-0.08-0.1-0.13-0.21-0.13-0.33 c0-0.28,0.22-0.5,0.5-0.5H16c3.31,0,6-2.69,6-6C22,6.04,17.51,2,12,2z M17.5,13c-0.83,0-1.5-0.67-1.5-1.5c0-0.83,0.67-1.5,1.5-1.5 s1.5,0.67,1.5,1.5C19,12.33,18.33,13,17.5,13z M14.5,9C13.67,9,13,8.33,13,7.5C13,6.67,13.67,6,14.5,6S16,6.67,16,7.5 C16,8.33,15.33,9,14.5,9z M5,11.5C5,10.67,5.67,10,6.5,10S8,10.67,8,11.5C8,12.33,7.33,13,6.5,13S5,12.33,5,11.5z M11,7.5 C11,8.33,10.33,9,9.5,9S8,8.33,8,7.5C8,6.67,8.67,6,9.5,6S11,6.67,11,7.5z"})})]}),hQ=e=>nt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#000000",...e,children:[N("rect",{fill:"none",height:24,width:24}),N("path",{d:"M10.5,13H8v-3h2.5V7.5h3V10H16v3h-2.5v2.5h-3V13z M12,2L4,5v6.09c0,5.05,3.41,9.76,8,10.91c4.59-1.15,8-5.86,8-10.91V5L12,2 z"})]}),JP={groceries:sQ,groceries_specialized:pP,shopping:fP,nightlife:dP,restaurants:Vv,healthy_restaurants:Vv,cafes:cP,daycares:mP,bus_stops:uP,rapid_transit_stations:iQ,train_stations:aQ,parks:hP,fitness:fQ,personal_care:vP,pet_care:uQ,car_fueling_stations:cQ,health_care:hQ,sport_facilities:lQ,art_culture_science:pQ,home_improvement:dQ,primary_schools:gP,high_schools:j1},mQ=Y(WP)`
980
+ background: none;
981
+ border: none;
982
+ padding: 0;
983
+ `,vQ=()=>{const{options:{type:e,isOpen:t,isHovered:n}}=QP();return Q(mQ,{children:Q(XP,{SVGElement:JP[e],expandMarker:t||n,backgroundColor:L["--ll-color-primary"],backgroundColorHighlight:L["--ll-color-primary-variant1"]})})},gQ=Y(qP)`
984
+ padding: ${L["--ll-spacing-small"]};
985
+ background-color: ${L["--ll-color-background"]};
986
+ box-shadow: ${L["--ll-shadow-small"]};
987
+ border-radius: ${L["--ll-border-radius-small"]};
988
+ width: 240px;
989
+ `,yQ=Y(KP)`
990
+ fill: ${L["--ll-color-background"]};
991
+ `,xQ=()=>{const{options:{poi:e,side:t,collisionPadding:n}}=QP();return Gt(gQ,{side:t,collisionPadding:n,sideOffset:It*2,children:[Q(yQ,{}),Q(yt,{variant:"h4",children:e.name}),e.address&&Q(yt,{variant:"p",children:e.address})]})},_Q=e=>Q(YP,{open:e.options.isOpen,onOpenChange:t=>e.onChange&&e.onChange({type:"open-change",data:t}),children:Q(ZP.Provider,{value:{...e},children:e.children})});var wQ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),eee=Object.freeze(Object.defineProperty({__proto__:null,Types:wQ,Marker:vQ,Content:xQ,Root:_Q},Symbol.toStringTag,{value:"Module"}));const bQ=(e,t)=>t==="school",EQ=Y.ul`
992
+ list-style: none;
993
+ padding: 0;
994
+ margin-bottom: 0;
995
+ `,SQ=Y.li`
996
+ padding: ${L["--ll-spacing-x-small"]};
997
+ margin-bottom: ${L["--ll-spacing-xx-small"]};
998
+ border-radius: ${L["--ll-border-radius-small"]};
999
+ background-color: ${({isActive:e})=>e&&L["--ll-color-surface-variant1"]};
1000
+ background-color: ${({isHovered:e})=>e&&L["--ll-color-surface-variant1"]};
1001
+ `,Yb=Y.div`
1002
+ display: flex;
1003
+ flex-wrap: wrap;
1004
+ `,Wb=Y(iG)`
1005
+ margin-right: 2px;
1006
+ margin-bottom: 2px;
1007
+ `,CQ=({options:{data:e,type:t,activePOI:n,hoveredPOI:r},onChange:o})=>Q(EQ,{children:e.map((i,a)=>{var s,l,u;return Gt(SQ,{isActive:n===i,isHovered:r===i,onClick:()=>o&&o({type:"poi-click",data:i}),onMouseOver:()=>o&&o({type:"poi-hover",data:i}),onMouseLeave:()=>o&&o({type:"poi-hover",data:void 0}),children:[Q(yt,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:i.name}),bQ(i,t)?Q(Yb,{children:(l=(s=i.school_attributes)==null?void 0:s.types)==null?void 0:l.map((c,f)=>Q(Wb,{text:c},c))}):Q(Yb,{children:(u=i.routes)==null?void 0:u.map((c,f)=>Q(Wb,{text:c.short_name,backgroundColor:c.route_color,textColor:c.text_color},c.short_name+f))})]},`${i.name}-${i.lat}-${i.lng}-${a}`)})});var AQ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),tee=Object.freeze(Object.defineProperty({__proto__:null,Root:CQ,Types:AQ},Symbol.toStringTag,{value:"Module"}));const eR=te.createContext({}),tR=()=>d.exports.useContext(eR),nR={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Services",character:"Caract\xE8re",nature:"Nature",education:"Familles",about:"Info"}},rR=e=>{const{scoreCategory:t}=tR(),n=go([nR]);return Q(yt,{...e.options,children:n[t]})};rR.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const $Q=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 4H5C3.34 4 2 5.34 2 7V15C2 16.66 3.34 18 5 18L4 19V20H5L7 18H9V13H4V6H13V8H15V7C15 5.34 13.66 4 12 4ZM5 14C5.55 14 6 14.45 6 15C6 15.55 5.55 16 5 16C4.45 16 4 15.55 4 15C4 14.45 4.45 14 5 14ZM20.57 9.66C20.43 9.26 20.05 9 19.6 9H12.41C11.95 9 11.58 9.26 11.43 9.66L10.01 13.77V19.28C10.01 19.66 10.32 20 10.7 20H11.32C11.7 20 12 19.62 12 19.24V18H20V19.24C20 19.62 20.31 20 20.69 20H21.3C21.68 20 21.99 19.66 21.99 19.28L22 17.91V13.77L20.57 9.66ZM12.41 10H19.6L20.63 13H11.38L12.41 10ZM12 16C11.45 16 11 15.55 11 15C11 14.45 11.45 14 12 14C12.55 14 13 14.45 13 15C13 15.55 12.55 16 12 16ZM20 16C19.45 16 19 15.55 19 15C19 14.45 19.45 14 20 14C20.55 14 21 14.45 21 15C21 15.55 20.55 16 20 16Z"})}),TQ=e=>nt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M12 22C6.49 22 2 17.51 2 12C2 6.49 6.49 2 12 2C17.51 2 22 6.04 22 11C22 14.31 19.31 17 16 17H14.23C13.95 17 13.73 17.22 13.73 17.5C13.73 17.62 13.78 17.73 13.86 17.83C14.27 18.3 14.5 18.89 14.5 19.5C14.5 20.88 13.38 22 12 22ZM12 4C7.59 4 4 7.59 4 12C4 16.41 7.59 20 12 20C12.28 20 12.5 19.78 12.5 19.5C12.5 19.34 12.42 19.22 12.36 19.15C11.95 18.69 11.73 18.1 11.73 17.5C11.73 16.12 12.85 15 14.23 15H16C18.21 15 20 13.21 20 11C20 7.14 16.41 4 12 4Z"}),N("path",{d:"M6.5 13C7.32843 13 8 12.3284 8 11.5C8 10.6716 7.32843 10 6.5 10C5.67157 10 5 10.6716 5 11.5C5 12.3284 5.67157 13 6.5 13Z"}),N("path",{d:"M9.5 9C10.3284 9 11 8.32843 11 7.5C11 6.67157 10.3284 6 9.5 6C8.67157 6 8 6.67157 8 7.5C8 8.32843 8.67157 9 9.5 9Z"}),N("path",{d:"M14.5 9C15.3284 9 16 8.32843 16 7.5C16 6.67157 15.3284 6 14.5 6C13.6716 6 13 6.67157 13 7.5C13 8.32843 13.6716 9 14.5 9Z"}),N("path",{d:"M17.5 13C18.3284 13 19 12.3284 19 11.5C19 10.6716 18.3284 10 17.5 10C16.6716 10 16 10.6716 16 11.5C16 12.3284 16.6716 13 17.5 13Z"})]}),PQ=e=>nt("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M4.41504 10.915C5.24347 10.915 5.91504 10.2434 5.91504 9.41496C5.91504 8.58653 5.24347 7.91496 4.41504 7.91496C3.58661 7.91496 2.91504 8.58653 2.91504 9.41496C2.91504 10.2434 3.58661 10.915 4.41504 10.915Z"}),N("path",{d:"M22.085 9.08496C22.085 5.21496 18.955 2.08496 15.085 2.08496C11.215 2.08496 8.08504 5.21496 8.08504 9.08496C8.08504 12.555 10.605 15.425 13.915 15.975V19.915H5.91504V16.915H6.91504V12.915C6.91504 12.365 6.46504 11.915 5.91504 11.915H2.91504C2.36504 11.915 1.91504 12.365 1.91504 12.915V16.915H2.91504V21.915H18.915V19.915H15.915V16.035C19.385 15.625 22.085 12.675 22.085 9.08496ZM15.085 14.085C12.325 14.085 10.085 11.845 10.085 9.08496C10.085 6.32496 12.325 4.08496 15.085 4.08496C17.845 4.08496 20.085 6.32496 20.085 9.08496C20.085 11.845 17.845 14.085 15.085 14.085Z"})]}),RQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M18 6H16C16 3.79 14.21 2 12 2C9.79 2 8 3.79 8 6H6C4.9 6 4 6.9 4 8V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8C20 6.9 19.1 6 18 6ZM12 4C13.1 4 14 4.9 14 6H10C10 4.9 10.9 4 12 4ZM18 20H6V8H8V10C8 10.55 8.45 11 9 11C9.55 11 10 10.55 10 10V8H14V10C14 10.55 14.45 11 15 11C15.55 11 16 10.55 16 10V8H18V20Z"})}),oR=[{value:"commute",icon:$Q,scores:["pedestrian_friendly","cycling_friendly","transit_friendly","car_friendly"]},{value:"amenities",icon:RQ,scores:["groceries","cafes","restaurants","shopping","wellness"]},{value:"character",icon:TQ,scores:["vibrant","quiet","nightlife","historic"]},{value:"nature",icon:PQ,scores:["parks","greenery"]},{value:"education",icon:j1,scores:["high_schools","primary_schools","daycares"]}],iR=({options:e})=>{const{scoreCategory:t}=tR(),n=oR.find(r=>r.value===t);return Q($a,{SVGElement:n.icon,fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};iR.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const aR=({options:e,children:t})=>Q(eR.Provider,{value:{...e},children:t});var sR=Object.freeze(Object.defineProperty({__proto__:null,Root:aR,Title:rR,Icon:iR},Symbol.toStringTag,{value:"Module"}));function kQ(e){const t=e+"CollectionProvider",[n,r]=Rl(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=te.useRef(null),g=te.useRef(new Map).current;return N(o,{scope:v,itemMap:g,collectionRef:_,children:m})},s=e+"CollectionSlot",l=te.forwardRef((h,v)=>{const{scope:m,children:_}=h,g=i(s,m),y=zn(v,g.collectionRef);return te.createElement(al,{ref:y},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=te.forwardRef((h,v)=>{const{scope:m,children:_,...g}=h,y=te.useRef(null),x=zn(v,y),w=i(u,m);return te.useEffect(()=>(w.itemMap.set(y,{ref:y,...g}),()=>void w.itemMap.delete(y))),te.createElement(al,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return te.useCallback(()=>{const _=v.collectionRef.current;if(!_)return[];const g=Array.from(_.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((w,b)=>g.indexOf(w.ref.current)-g.indexOf(b.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}const OQ=d.exports.createContext(void 0);function lR(e){const t=d.exports.useContext(OQ);return e||t||"ltr"}const Rh="rovingFocusGroup.onEntryFocus",DQ={bubbles:!1,cancelable:!0},Y1="RovingFocusGroup",[Xv,uR,LQ]=kQ(Y1),[NQ,cR]=Rl(Y1,[LQ]),[MQ,FQ]=NQ(Y1),IQ=d.exports.forwardRef((e,t)=>d.exports.createElement(Xv.Provider,{scope:e.__scopeRovingFocusGroup},d.exports.createElement(Xv.Slot,{scope:e.__scopeRovingFocusGroup},d.exports.createElement(jQ,Pe({},e,{ref:t}))))),jQ=d.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=d.exports.useRef(null),p=zn(t,f),h=lR(i),[v=null,m]=G1({prop:a,defaultProp:s,onChange:l}),[_,g]=d.exports.useState(!1),y=lo(u),x=uR(n),w=d.exports.useRef(!1);return d.exports.useEffect(()=>{const b=f.current;if(b)return b.addEventListener(Rh,y),()=>b.removeEventListener(Rh,y)},[y]),d.exports.createElement(MQ,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:v,onItemFocus:d.exports.useCallback(b=>m(b),[m]),onItemShiftTab:d.exports.useCallback(()=>g(!0),[])},d.exports.createElement(Kt.div,Pe({tabIndex:_?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:wt(e.onMouseDown,()=>{w.current=!0}),onFocus:wt(e.onFocus,b=>{const E=!w.current;if(b.target===b.currentTarget&&E&&!_){const S=new CustomEvent(Rh,DQ);if(b.currentTarget.dispatchEvent(S),!S.defaultPrevented){const C=x().filter(B=>B.focusable),$=C.find(B=>B.active),P=C.find(B=>B.id===v),I=[$,P,...C].filter(Boolean).map(B=>B.ref.current);fR(I)}}w.current=!1}),onBlur:wt(e.onBlur,()=>g(!1))})))}),BQ="RovingFocusGroupItem",zQ=d.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,...i}=e,a=B1(),s=FQ(BQ,n),l=s.currentTabStopId===a,u=uR(n);return d.exports.createElement(Xv.ItemSlot,{scope:n,id:a,focusable:r,active:o},d.exports.createElement(Kt.span,Pe({tabIndex:l?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:wt(e.onMouseDown,c=>{r?s.onItemFocus(a):c.preventDefault()}),onFocus:wt(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:wt(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){s.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const f=HQ(c,s.orientation,s.dir);if(f!==void 0){c.preventDefault();let h=u().filter(v=>v.focusable).map(v=>v.ref.current);if(f==="last")h.reverse();else if(f==="prev"||f==="next"){f==="prev"&&h.reverse();const v=h.indexOf(c.currentTarget);h=s.loop?GQ(h,v+1):h.slice(v+1)}setTimeout(()=>fR(h))}})})))}),VQ={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function UQ(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function HQ(e,t,n){const r=UQ(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return VQ[r]}function fR(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function GQ(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const YQ=IQ,WQ=zQ,dR="Tabs",[qQ,nee]=Rl(dR,[cR]),pR=cR(),[KQ,W1]=qQ(dR),XQ=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=lR(s),[f,p]=G1({prop:r,onChange:o,defaultProp:i});return d.exports.createElement(KQ,{scope:n,baseId:B1(),value:f,onValueChange:p,orientation:a,dir:c,activationMode:l},d.exports.createElement(Kt.div,Pe({dir:c,"data-orientation":a},u,{ref:t})))}),ZQ="TabsList",QQ=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=W1(ZQ,n),a=pR(n);return d.exports.createElement(YQ,Pe({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),d.exports.createElement(Kt.div,Pe({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),JQ="TabsTrigger",eJ=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=W1(JQ,n),s=pR(n),l=hR(a.baseId,r),u=mR(a.baseId,r),c=r===a.value;return d.exports.createElement(WQ,Pe({asChild:!0},s,{focusable:!o,active:c}),d.exports.createElement(Kt.button,Pe({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},i,{ref:t,onMouseDown:wt(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:wt(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:wt(e.onFocus,()=>{const f=a.activationMode!=="manual";!c&&!o&&f&&a.onValueChange(r)})})))}),tJ="TabsContent",nJ=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=W1(tJ,n),l=hR(s.baseId,r),u=mR(s.baseId,r),c=r===s.value,f=d.exports.useRef(c);return d.exports.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),d.exports.createElement(H1,{present:o||c},({present:p})=>d.exports.createElement(Kt.div,Pe({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),p&&i))});function hR(e,t){return`${e}-trigger-${t}`}function mR(e,t){return`${e}-content-${t}`}const vR=XQ,gR=QQ,yR=eJ,xR=nJ,_R=e=>{const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])},rJ=({defaultValue:e,onChange:t})=>{const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=_R(t==null?void 0:t.func);return d.exports.useEffect(()=>{o.current!==r&&t&&(i({type:t.key,data:r}),o.current=r)},[r,o,i]),n},oJ=({controlledValue:e,onChange:t,defaultValue:n})=>{const[r,o]=rJ({defaultValue:n,onChange:t}),i=e!==void 0,a=i?e:r,s=_R(t==null?void 0:t.func),l=d.exports.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&t&&s({type:t.key,data:f})}else o(u)},[i,a,o,s]);return[a,l]},wR=te.createContext({}),iJ=()=>d.exports.useContext(wR),aJ=({children:e,options:{value:t}})=>Q(xR,{value:t,children:Q(aR,{options:{scoreCategory:t},children:e})},t),{Title:sJ}=sR,{Icon:lJ}=sR,uJ=Y(gR)`
1008
+ display: grid;
1009
+ grid-auto-columns: minmax(0, 1fr);
1010
+ grid-auto-flow: column;
1011
+ background-color: ${L["--ll-color-background"]};
1012
+ `,cJ=Y(yR)`
1013
+ background: none;
1014
+ border: none;
1015
+ padding: 0;
1016
+ display: flex;
1017
+ flex-direction: column;
1018
+ align-items: center;
1019
+ `,fJ=()=>{const{currentTab:e}=iJ(),t=go([nR]);return Q(uJ,{"aria-label":"Score tabs",children:oR.map(n=>{const o=n.value===e?"--ll-color-primary":"--ll-color-disabled";return Q(d.exports.Fragment,{children:Gt(cJ,{value:n.value,children:[Q($a,{SVGElement:n.icon,fill:L[o]}),Q(yt,{noMargin:!0,variant:"caption1",color:o,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)})})},dJ=({options:e,onChange:t,children:n})=>{const[r,o]=oJ({controlledValue:e.currentTab,onChange:{func:t,key:"tabs"},defaultValue:e.defaultTab||"commute"});return Q(wR.Provider,{value:{...e,currentTab:r},children:Q(vR,{value:r,orientation:"vertical",defaultValue:r,onValueChange:i=>o(i),children:n})})};var ree=Object.freeze(Object.defineProperty({__proto__:null,Root:dJ,Tabs:fJ,Content:aJ,Title:sJ,Icon:lJ},Symbol.toStringTag,{value:"Module"}));const bR=te.createContext({}),pJ=()=>d.exports.useContext(bR),ER={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Metro",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"G\xE9n\xE9rales",groceries_specialized:"Sp\xE9cialis\xE9es",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Caf\xE9s",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"M\xE9tro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de sant\xE9",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Am\xE9lioration de l'habitat",personal_care:"Soins personnels"}},hJ=Y(yR)`
1020
+ margin-right: ${L["--ll-spacing-xx-small"]};
1021
+ margin-bottom: ${L["--ll-spacing-xx-small"]};
1022
+ `,mJ=()=>{const{include:e,activeTab:t,setActiveTab:n}=pJ(),r=go([ER]);return e.length<=1?null:Q(gR,{"aria-label":"tabs example",children:e.map(o=>Q(hJ,{value:o,asChild:!0,children:Q(sT,{size:"small",variant:o===t?"contained":"outlined",onClick:()=>n(o),children:r[o]})},o))})},vJ=({children:e,options:{value:t}})=>Q(xR,{value:t,children:e},t),gJ=({options:e,children:t})=>{const[n,r]=d.exports.useState(e.include[0]);return Q(bR.Provider,{value:{...e,activeTab:n,setActiveTab:r},children:Q(vR,{value:n,children:t})})},yJ={pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants"],cafes:["cafes"],shopping:["shopping"],wellness:["fitness","healthy_restaurants","health_care","sport_facilities"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:[],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]};var xJ=Object.freeze(Object.defineProperty({__proto__:null,scorePois:yJ},Symbol.toStringTag,{value:"Module"})),oee=Object.freeze(Object.defineProperty({__proto__:null,Root:gJ,Tabs:mJ,Content:vJ,Constants:xJ},Symbol.toStringTag,{value:"Module"}));const SR=te.createContext({}),CR=()=>d.exports.useContext(SR),AR=e=>{var t;const{options:{poi:n}}=CR(),r=go([ER]);return(t=e.options)!=null&&t.isRawText?Q(No,{children:r[n]}):Q(yt,{...e.options,children:r[n]})};AR.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};const $R=({options:e})=>{const{options:{poi:t}}=CR();return Q($a,{SVGElement:JP[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};$R.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const _J=e=>Q(SR.Provider,{value:{...e},children:e.children});var iee=Object.freeze(Object.defineProperty({__proto__:null,Title:AR,Icon:$R,Root:_J},Symbol.toStringTag,{value:"Module"}));const wJ=({children:e})=>{var r,o;const{sdkState:t}=QA();if(!(t!=null&&t.apiKey))throw Error("A valid apiKey must be provided.");const n=aB(t.apiKey,{locale:(r=t==null?void 0:t.globalOptions)==null?void 0:r.locale});return N(rK,{client:n,options:{appearance:(o=t==null?void 0:t.globalOptions)==null?void 0:o.appearance},children:e})},bJ=Y.div`
1023
+ height: 100%;
1024
+ width: 100%;
1025
+ display: flex;
1026
+ align-items: center;
1027
+ justify-content: center;
1028
+ flex-direction: column;
1029
+ `,EJ=({error:e})=>nt(bJ,{children:[N(Im,{variant:"h4",children:"An error occurred"}),N(Im,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),SJ=new B7({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),CJ=()=>nt(Hg,{children:[N(S8,{}),N(b7,{FallbackComponent:EJ,children:N(J7,{children:N(z7,{client:SJ,children:N(JA,{children:N(wJ,{children:N(RF,{children:N(jg,{})})})})})})})]});k9({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new mg],tracesSampleRate:1,environment:"production",enabled:!0});kh.createRoot(document.getElementById("root")).render(N(te.StrictMode,{children:N(CJ,{})}));export{t0 as $,S7 as A,C7 as B,nv as C,Vg as D,MJ as E,Hg as F,$7 as G,qp as H,At as I,jJ as J,Wp as K,sa as L,Pt as M,JJ as N,$g as O,ia as P,TJ as Q,te as R,sR as S,lD as T,cd as U,dv as V,sv as W,iee as X,RJ as Y,FJ as _,QA as a,EF as b,Y as c,nt as d,eee as e,tee as f,ZJ as g,AJ as h,oee as i,N as j,er as k,BJ as l,ree as m,rC as n,Im as o,QJ as p,NJ as q,d as r,oR as s,eL as t,nK as u,Ed as v,IJ as w,U as x,hn as y,Bg as z};