@windstream/react-shared-components 0.1.94 → 0.1.95

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 (297) hide show
  1. package/README.md +635 -635
  2. package/dist/contentful/index.esm.js +3 -3
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +3 -3
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +4 -4
  7. package/dist/index.esm.js +5 -13
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +5 -13
  10. package/dist/index.js.map +1 -1
  11. package/dist/next/index.esm.js +2 -2
  12. package/dist/next/index.esm.js.map +1 -1
  13. package/dist/next/index.js +2 -2
  14. package/dist/next/index.js.map +1 -1
  15. package/dist/styles.css +1 -1
  16. package/dist/utils/index.esm.js +1 -1
  17. package/dist/utils/index.esm.js.map +1 -1
  18. package/dist/utils/index.js +1 -1
  19. package/dist/utils/index.js.map +1 -1
  20. package/package.json +191 -191
  21. package/src/components/accordion/Accordion.stories.tsx +230 -230
  22. package/src/components/accordion/index.test.tsx +270 -270
  23. package/src/components/accordion/index.tsx +70 -70
  24. package/src/components/accordion/types.ts +12 -12
  25. package/src/components/alert-card/AlertCard.stories.tsx +171 -171
  26. package/src/components/alert-card/index.test.tsx +152 -152
  27. package/src/components/alert-card/index.tsx +41 -41
  28. package/src/components/alert-card/types.ts +13 -13
  29. package/src/components/animation-wrapper/index.test.tsx +424 -424
  30. package/src/components/animation-wrapper/index.tsx +129 -129
  31. package/src/components/animation-wrapper/types.ts +11 -11
  32. package/src/components/brand-button/BrandButton.stories.tsx +223 -223
  33. package/src/components/brand-button/helpers.ts +35 -35
  34. package/src/components/brand-button/index.test.tsx +292 -292
  35. package/src/components/brand-button/index.tsx +120 -120
  36. package/src/components/brand-button/types.ts +38 -38
  37. package/src/components/button/Button.stories.tsx +108 -108
  38. package/src/components/button/index.test.tsx +91 -91
  39. package/src/components/button/index.tsx +27 -27
  40. package/src/components/button/types.ts +14 -14
  41. package/src/components/call-button/CallButton.stories.tsx +324 -324
  42. package/src/components/call-button/index.test.tsx +260 -260
  43. package/src/components/call-button/index.tsx +106 -106
  44. package/src/components/call-button/types.ts +16 -16
  45. package/src/components/checkbox/Checkbox.stories.tsx +247 -247
  46. package/src/components/checkbox/index.test.tsx +252 -252
  47. package/src/components/checkbox/index.tsx +197 -197
  48. package/src/components/checkbox/types.ts +27 -27
  49. package/src/components/checklist/Checklist.stories.tsx +150 -150
  50. package/src/components/checklist/index.test.tsx +231 -231
  51. package/src/components/checklist/index.tsx +96 -96
  52. package/src/components/checklist/types.ts +23 -23
  53. package/src/components/collapse/Collapse.stories.tsx +255 -255
  54. package/src/components/collapse/index.test.tsx +277 -277
  55. package/src/components/collapse/index.tsx +47 -47
  56. package/src/components/collapse/types.ts +6 -6
  57. package/src/components/divider/Divider.stories.tsx +205 -205
  58. package/src/components/divider/index.test.tsx +53 -53
  59. package/src/components/divider/index.tsx +22 -22
  60. package/src/components/divider/type.ts +3 -3
  61. package/src/components/image/Image.stories.tsx +113 -113
  62. package/src/components/image/index.test.tsx +174 -174
  63. package/src/components/image/index.tsx +25 -25
  64. package/src/components/image/types.ts +40 -40
  65. package/src/components/input/Input.stories.tsx +325 -325
  66. package/src/components/input/index.test.tsx +348 -348
  67. package/src/components/input/index.tsx +177 -177
  68. package/src/components/input/types.ts +37 -37
  69. package/src/components/link/Link.stories.tsx +163 -163
  70. package/src/components/link/index.test.tsx +199 -199
  71. package/src/components/link/index.tsx +116 -116
  72. package/src/components/link/types.ts +25 -25
  73. package/src/components/list/List.stories.tsx +272 -272
  74. package/src/components/list/index.test.tsx +166 -166
  75. package/src/components/list/index.tsx +88 -88
  76. package/src/components/list/list-item/index.tsx +38 -38
  77. package/src/components/list/list-item/types.ts +13 -13
  78. package/src/components/list/types.ts +29 -29
  79. package/src/components/material-icon/MaterialIcon.stories.tsx +322 -322
  80. package/src/components/material-icon/constants.ts +99 -99
  81. package/src/components/material-icon/index.test.tsx +130 -130
  82. package/src/components/material-icon/index.tsx +47 -47
  83. package/src/components/material-icon/types.ts +31 -31
  84. package/src/components/modal/Modal.stories.tsx +171 -171
  85. package/src/components/modal/index.test.tsx +310 -310
  86. package/src/components/modal/index.tsx +164 -164
  87. package/src/components/modal/types.ts +24 -24
  88. package/src/components/next-image/index.test.tsx +406 -406
  89. package/src/components/next-image/index.tsx +74 -74
  90. package/src/components/next-image/types.ts +1 -1
  91. package/src/components/pagination/index.test.tsx +521 -521
  92. package/src/components/pagination/index.tsx +91 -91
  93. package/src/components/pagination/types.ts +6 -6
  94. package/src/components/radio-button/RadioButton.stories.tsx +307 -307
  95. package/src/components/radio-button/index.test.tsx +151 -151
  96. package/src/components/radio-button/index.tsx +75 -75
  97. package/src/components/radio-button/types.ts +21 -21
  98. package/src/components/see-more/SeeMore.stories.tsx +181 -181
  99. package/src/components/see-more/index.test.tsx +96 -96
  100. package/src/components/see-more/index.tsx +44 -44
  101. package/src/components/see-more/types.ts +4 -4
  102. package/src/components/select/Select.stories.tsx +411 -411
  103. package/src/components/select/index.test.tsx +256 -256
  104. package/src/components/select/index.tsx +155 -155
  105. package/src/components/select/types.ts +36 -36
  106. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +184 -184
  107. package/src/components/select-plan-button/index.test.tsx +173 -173
  108. package/src/components/select-plan-button/index.tsx +63 -63
  109. package/src/components/select-plan-button/types.ts +17 -17
  110. package/src/components/skeleton/Skeleton.stories.tsx +179 -179
  111. package/src/components/skeleton/index.test.tsx +74 -74
  112. package/src/components/skeleton/index.tsx +61 -61
  113. package/src/components/skeleton/types.ts +4 -4
  114. package/src/components/spinner/Spinner.stories.tsx +335 -335
  115. package/src/components/spinner/index.test.tsx +76 -76
  116. package/src/components/spinner/index.tsx +44 -44
  117. package/src/components/spinner/types.ts +5 -5
  118. package/src/components/text/Text.stories.tsx +321 -321
  119. package/src/components/text/index.test.tsx +65 -65
  120. package/src/components/text/index.tsx +25 -25
  121. package/src/components/text/types.ts +45 -45
  122. package/src/components/tooltip/Tooltip.stories.tsx +219 -219
  123. package/src/components/tooltip/index.test.tsx +50 -50
  124. package/src/components/tooltip/index.tsx +74 -74
  125. package/src/components/tooltip/types.ts +7 -7
  126. package/src/components/view-cart-button/ViewCartButton.stories.tsx +252 -252
  127. package/src/components/view-cart-button/index.test.tsx +57 -57
  128. package/src/components/view-cart-button/index.tsx +42 -42
  129. package/src/components/view-cart-button/types.ts +5 -5
  130. package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +128 -128
  131. package/src/contentful/blocks/accordion/Accordion.stories.tsx +98 -98
  132. package/src/contentful/blocks/accordion/index.test.tsx +218 -218
  133. package/src/contentful/blocks/accordion/index.tsx +114 -114
  134. package/src/contentful/blocks/accordion/types.ts +34 -34
  135. package/src/contentful/blocks/address-input-banner/index.test.tsx +132 -132
  136. package/src/contentful/blocks/address-input-banner/index.tsx +52 -52
  137. package/src/contentful/blocks/address-input-banner/types.ts +14 -14
  138. package/src/contentful/blocks/anchored-bottom-banner/index.test.tsx +287 -287
  139. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +181 -181
  140. package/src/contentful/blocks/anchored-bottom-banner/types.ts +13 -13
  141. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.mocks.tsx +144 -144
  142. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.tsx +157 -157
  143. package/src/contentful/blocks/blogs-grid/index.test.tsx +355 -355
  144. package/src/contentful/blocks/blogs-grid/index.tsx +134 -134
  145. package/src/contentful/blocks/blogs-grid/types.ts +26 -26
  146. package/src/contentful/blocks/blogs-grid-base/index.test.tsx +274 -274
  147. package/src/contentful/blocks/blogs-grid-base/index.tsx +119 -119
  148. package/src/contentful/blocks/blogs-grid-base/types.ts +36 -36
  149. package/src/contentful/blocks/breadcrumbs/BreadcrumbNavigation.stories.tsx +147 -147
  150. package/src/contentful/blocks/breadcrumbs/index.test.tsx +281 -281
  151. package/src/contentful/blocks/breadcrumbs/index.tsx +95 -95
  152. package/src/contentful/blocks/breadcrumbs/types.ts +8 -8
  153. package/src/contentful/blocks/button/Button.stories.tsx +40 -40
  154. package/src/contentful/blocks/button/index.test.tsx +339 -339
  155. package/src/contentful/blocks/button/index.tsx +131 -131
  156. package/src/contentful/blocks/button/types.ts +39 -39
  157. package/src/contentful/blocks/callout/Callout.stories.tsx +23 -23
  158. package/src/contentful/blocks/callout/index.test.tsx +539 -539
  159. package/src/contentful/blocks/callout/index.tsx +277 -277
  160. package/src/contentful/blocks/callout/types.ts +78 -78
  161. package/src/contentful/blocks/cards/Cards.stories.tsx +23 -23
  162. package/src/contentful/blocks/cards/blog-card/index.test.tsx +218 -218
  163. package/src/contentful/blocks/cards/blog-card/index.tsx +129 -129
  164. package/src/contentful/blocks/cards/blog-card/types.ts +34 -34
  165. package/src/contentful/blocks/cards/floating-image-card/index.test.tsx +201 -201
  166. package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -119
  167. package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -30
  168. package/src/contentful/blocks/cards/full-image-card/index.test.tsx +216 -216
  169. package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -130
  170. package/src/contentful/blocks/cards/full-image-card/types.ts +29 -29
  171. package/src/contentful/blocks/cards/index.test.tsx +39 -39
  172. package/src/contentful/blocks/cards/index.tsx +13 -13
  173. package/src/contentful/blocks/cards/product-card/index.test.tsx +263 -263
  174. package/src/contentful/blocks/cards/product-card/index.tsx +251 -251
  175. package/src/contentful/blocks/cards/product-card/types.ts +28 -28
  176. package/src/contentful/blocks/cards/simple-card/index.test.tsx +364 -364
  177. package/src/contentful/blocks/cards/simple-card/index.tsx +325 -325
  178. package/src/contentful/blocks/cards/simple-card/types.ts +71 -71
  179. package/src/contentful/blocks/cards/testimonial-card/index.test.tsx +180 -180
  180. package/src/contentful/blocks/cards/testimonial-card/index.tsx +90 -90
  181. package/src/contentful/blocks/cards/testimonial-card/types.tsx +12 -12
  182. package/src/contentful/blocks/cards/types.ts +1 -1
  183. package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -23
  184. package/src/contentful/blocks/carousel/helper.test.tsx +539 -539
  185. package/src/contentful/blocks/carousel/helper.tsx +494 -494
  186. package/src/contentful/blocks/carousel/index.test.tsx +308 -308
  187. package/src/contentful/blocks/carousel/index.tsx +87 -87
  188. package/src/contentful/blocks/carousel/types.test.ts +16 -16
  189. package/src/contentful/blocks/carousel/types.ts +145 -145
  190. package/src/contentful/blocks/cart-retention-banner/index.test.tsx +409 -409
  191. package/src/contentful/blocks/cart-retention-banner/index.tsx +109 -109
  192. package/src/contentful/blocks/cart-retention-banner/types.ts +11 -11
  193. package/src/contentful/blocks/comparison-table/index.test.tsx +114 -114
  194. package/src/contentful/blocks/comparison-table/index.tsx +29 -29
  195. package/src/contentful/blocks/comparison-table/types.ts +6 -6
  196. package/src/contentful/blocks/cookiebanner/index.test.tsx +277 -277
  197. package/src/contentful/blocks/cookiebanner/index.tsx +146 -146
  198. package/src/contentful/blocks/cookiebanner/type.ts +7 -7
  199. package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -46
  200. package/src/contentful/blocks/cta-callout/index.test.tsx +244 -244
  201. package/src/contentful/blocks/cta-callout/index.tsx +73 -73
  202. package/src/contentful/blocks/cta-callout/types.ts +26 -26
  203. package/src/contentful/blocks/dynamic-tabs/index.test.tsx +240 -240
  204. package/src/contentful/blocks/dynamic-tabs/index.tsx +204 -204
  205. package/src/contentful/blocks/dynamic-tabs/types.ts +21 -21
  206. package/src/contentful/blocks/email-input-block/index.test.tsx +213 -213
  207. package/src/contentful/blocks/email-input-block/index.tsx +121 -121
  208. package/src/contentful/blocks/email-input-block/types.ts +16 -16
  209. package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
  210. package/src/contentful/blocks/find-kinetic/index.test.tsx +269 -269
  211. package/src/contentful/blocks/find-kinetic/index.tsx +138 -138
  212. package/src/contentful/blocks/find-kinetic/types.ts +20 -20
  213. package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +34 -34
  214. package/src/contentful/blocks/floating-banner/index.test.tsx +246 -246
  215. package/src/contentful/blocks/floating-banner/index.tsx +97 -97
  216. package/src/contentful/blocks/floating-banner/types.ts +22 -22
  217. package/src/contentful/blocks/footer/Footer.stories.tsx +317 -317
  218. package/src/contentful/blocks/footer/index.test.tsx +302 -302
  219. package/src/contentful/blocks/footer/index.tsx +91 -91
  220. package/src/contentful/blocks/footer/types.ts +13 -13
  221. package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -23
  222. package/src/contentful/blocks/image-promo-bar/helper.test.tsx +61 -61
  223. package/src/contentful/blocks/image-promo-bar/helper.tsx +28 -28
  224. package/src/contentful/blocks/image-promo-bar/index.test.tsx +467 -467
  225. package/src/contentful/blocks/image-promo-bar/index.tsx +8 -6
  226. package/src/contentful/blocks/image-promo-bar/types.ts +44 -44
  227. package/src/contentful/blocks/image-promo-bar/vimeo-embed.test.tsx +142 -142
  228. package/src/contentful/blocks/image-promo-bar/vimeo-embed.tsx +93 -93
  229. package/src/contentful/blocks/image-promo-bar/youtube-embed.test.tsx +104 -104
  230. package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +46 -46
  231. package/src/contentful/blocks/modal/constants.ts +53 -53
  232. package/src/contentful/blocks/modal/index.test.tsx +209 -209
  233. package/src/contentful/blocks/modal/index.tsx +108 -108
  234. package/src/contentful/blocks/modal/types.ts +12 -12
  235. package/src/contentful/blocks/navigation/Navigation.stories.mocks.tsx +78 -78
  236. package/src/contentful/blocks/navigation/Navigation.stories.tsx +138 -138
  237. package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.test.tsx +208 -208
  238. package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +141 -141
  239. package/src/contentful/blocks/navigation/index.test.tsx +924 -924
  240. package/src/contentful/blocks/navigation/index.tsx +569 -569
  241. package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.test.tsx +131 -131
  242. package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +82 -82
  243. package/src/contentful/blocks/navigation/types.ts +71 -71
  244. package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -23
  245. package/src/contentful/blocks/primary-hero/index.test.tsx +286 -286
  246. package/src/contentful/blocks/primary-hero/index.tsx +239 -239
  247. package/src/contentful/blocks/primary-hero/types.ts +37 -37
  248. package/src/contentful/blocks/search-block/index.test.tsx +268 -268
  249. package/src/contentful/blocks/search-block/index.tsx +90 -90
  250. package/src/contentful/blocks/search-block/types.ts +15 -15
  251. package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -26
  252. package/src/contentful/blocks/shape-background-wrapper/index.test.tsx +284 -284
  253. package/src/contentful/blocks/shape-background-wrapper/index.tsx +124 -124
  254. package/src/contentful/blocks/shape-background-wrapper/types.ts +36 -36
  255. package/src/contentful/blocks/text/Text.stories.tsx +23 -23
  256. package/src/contentful/blocks/text/index.test.tsx +36 -36
  257. package/src/contentful/blocks/text/index.tsx +12 -12
  258. package/src/contentful/blocks/text/types.ts +1 -1
  259. package/src/contentful/index.test.ts +45 -45
  260. package/src/contentful/index.ts +105 -105
  261. package/src/global-mocks/contentful/to-document.ts +25 -25
  262. package/src/global-mocks/cookie.ts +48 -48
  263. package/src/global-mocks/cx.ts +37 -37
  264. package/src/global-mocks/index.ts +89 -89
  265. package/src/global-mocks/speed-card-bg.ts +27 -27
  266. package/src/global-mocks/utm.ts +49 -49
  267. package/src/hooks/contentful/use-contentful-rich-text.test.tsx +1758 -1758
  268. package/src/hooks/contentful/use-contentful-rich-text.tsx +309 -309
  269. package/src/hooks/contentful/use-processed-check-list.test.tsx +277 -277
  270. package/src/hooks/contentful/use-processed-check-list.ts +63 -63
  271. package/src/hooks/use-body-scroll-lock.test.ts +134 -134
  272. package/src/hooks/use-body-scroll-lock.ts +34 -34
  273. package/src/hooks/use-carousel-swipe.test.ts +393 -393
  274. package/src/hooks/use-carousel-swipe.ts +264 -264
  275. package/src/hooks/use-outside-click.test.ts +142 -142
  276. package/src/hooks/use-outside-click.ts +17 -17
  277. package/src/index.ts +107 -107
  278. package/src/next/index.test.ts +7 -7
  279. package/src/next/index.ts +5 -5
  280. package/src/setupTests.ts +52 -52
  281. package/src/stories/DocsTemplate.tsx +24 -24
  282. package/src/styles/globals.css +343 -343
  283. package/src/types/global.d.ts +9 -9
  284. package/src/types/micro-components.ts +99 -99
  285. package/src/types/utm.ts +49 -49
  286. package/src/utils/contentful/to-document.test.ts +85 -85
  287. package/src/utils/contentful/to-document.ts +24 -24
  288. package/src/utils/cookie.test.ts +180 -180
  289. package/src/utils/cookie.ts +84 -84
  290. package/src/utils/cx.test.ts +90 -90
  291. package/src/utils/cx.ts +49 -49
  292. package/src/utils/index.test.ts +115 -115
  293. package/src/utils/index.ts +41 -41
  294. package/src/utils/speed-card-bg.test.ts +46 -46
  295. package/src/utils/speed-card-bg.ts +24 -24
  296. package/src/utils/utm.test.ts +359 -359
  297. package/src/utils/utm.ts +221 -221
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
- import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import o,{forwardRef as i,useState as a,useCallback as s,useEffect as l,useMemo as c,useRef as u,useContext as d,useLayoutEffect as p,createContext as f,Component as h,Fragment as m,useInsertionEffect as g,createElement as b,useId as y}from"react";import v from"next/link";import I from"next/image";import x,{createPortal as C}from"react-dom";function A(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=A(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function E(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=A(e))&&(r&&(r+=" "),r+=t);return r}const w=e=>{const t=T(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),S(n,t)||N(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},S=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?S(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},O=/^\[(.+)\]$/,N=e=>{if(O.test(e)){const t=O.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},T=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)P(n[e],r,e,t);return r},P=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:R(t,e)).classGroupId=n)}if("function"==typeof e)return G(e)?void P(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{P(o,R(t,e),n,r)})})},R=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},G=e=>e.isThemeGetter,B=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},L=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===o){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(i),s=k(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},k=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,V=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},M=/\s+/;function D(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=j(e))&&(r&&(r+=" "),r+=t);return r}const j=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=j(e[r]))&&(n&&(n+=" "),n+=t);return n};function H(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:B(e.cacheSize),parseClassName:L(e),sortModifiers:V(e),...w(e)}))(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(M);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!f,m=r(h?p.substring(0,f):p);if(!m){if(!h){l=t+(l.length>0?" "+l:l);continue}if(m=r(p),!m){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=i(u).join(":"),b=d?g+"!":g,y=b+m;if(a.includes(y))continue;a.push(y);const v=o(m,h);for(let e=0;e<v.length;++e){const t=v[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(D.apply(null,arguments))}}const W=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},X=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,F=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Z=/^\d+\/\d+$/,z=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Y=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,J=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,U=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=e=>Z.test(e),Q=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),q=e=>e.endsWith("%")&&Q(e.slice(0,-1)),ee=e=>z.test(e),te=()=>!0,ne=e=>Y.test(e)&&!_.test(e),re=()=>!1,oe=e=>J.test(e),ie=e=>U.test(e),ae=e=>!le(e)&&!he(e),se=e=>xe(e,we,re),le=e=>X.test(e),ce=e=>xe(e,Se,ne),ue=e=>xe(e,Oe,Q),de=e=>xe(e,Ae,re),pe=e=>xe(e,Ee,ie),fe=e=>xe(e,Te,oe),he=e=>F.test(e),me=e=>Ce(e,Se),ge=e=>Ce(e,Ne),be=e=>Ce(e,Ae),ye=e=>Ce(e,we),ve=e=>Ce(e,Ee),Ie=e=>Ce(e,Te,!0),xe=(e,t,n)=>{const r=X.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ce=(e,t,n=!1)=>{const r=F.exec(e);return!!r&&(r[1]?t(r[1]):n)},Ae=e=>"position"===e||"percentage"===e,Ee=e=>"image"===e||"url"===e,we=e=>"length"===e||"size"===e||"bg-size"===e,Se=e=>"length"===e,Oe=e=>"number"===e,Ne=e=>"family-name"===e,Te=e=>"shadow"===e,Pe=()=>{const e=W("color"),t=W("font"),n=W("text"),r=W("font-weight"),o=W("tracking"),i=W("leading"),a=W("breakpoint"),s=W("container"),l=W("spacing"),c=W("radius"),u=W("shadow"),d=W("inset-shadow"),p=W("text-shadow"),f=W("drop-shadow"),h=W("blur"),m=W("perspective"),g=W("aspect"),b=W("ease"),y=W("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",he,le],I=()=>[he,le,l],x=()=>[K,"full","auto",...I()],C=()=>[$,"none","subgrid",he,le],A=()=>["auto",{span:["full",$,he,le]},$,he,le],E=()=>[$,"auto",he,le],w=()=>["auto","min","max","fr",he,le],S=()=>["auto",...I()],O=()=>[K,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],N=()=>[e,he,le],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",be,de,{position:[he,le]}],P=()=>["auto","cover","contain",ye,se,{size:[he,le]}],R=()=>[q,me,ce],G=()=>["","none","full",c,he,le],B=()=>["",Q,me,ce],L=()=>[Q,q,be,de],k=()=>["","none",h,he,le],V=()=>["none",Q,he,le],M=()=>["none",Q,he,le],D=()=>[Q,he,le],j=()=>[K,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ee],breakpoint:[ee],color:[te],container:[ee],"drop-shadow":[ee],ease:["in","out","in-out"],font:[ae],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ee],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ee],shadow:[ee],spacing:["px",Q],text:[ee],"text-shadow":[ee],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",K,le,he,g]}],container:["container"],columns:[{columns:[Q,le,he,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",he,le]}],basis:[{basis:[K,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Q,K,"auto","initial","none",le]}],grow:[{grow:["",Q,he,le]}],shrink:[{shrink:["",Q,he,le]}],order:[{order:[$,"first","last","none",he,le]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":w()}],"auto-rows":[{"auto-rows":w()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:S()}],mx:[{mx:S()}],my:[{my:S()}],ms:[{ms:S()}],me:[{me:S()}],mt:[{mt:S()}],mr:[{mr:S()}],mb:[{mb:S()}],ml:[{ml:S()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[s,"screen",...O()]}],"min-w":[{"min-w":[s,"screen","none",...O()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,me,ce]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,he,ue]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",q,le]}],"font-family":[{font:[ge,le,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,he,le]}],"line-clamp":[{"line-clamp":[Q,"none",he,ue]}],leading:[{leading:[i,...I()]}],"list-image":[{"list-image":["none",he,le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Q,"from-font","auto",he,ce]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[Q,"auto",he,le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,le]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,he,le],radial:["",he,le],conic:[$,he,le]},ve,pe]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Q,he,le]}],"outline-w":[{outline:["",Q,me,ce]}],"outline-color":[{outline:N()}],shadow:[{shadow:["","none",u,Ie,fe]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",d,Ie,fe]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[Q,ce]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":N()}],"text-shadow":[{"text-shadow":["none",p,Ie,fe]}],"text-shadow-color":[{"text-shadow":N()}],opacity:[{opacity:[Q,he,le]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Q]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":N()}],"mask-image-linear-to-color":[{"mask-linear-to":N()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":N()}],"mask-image-t-to-color":[{"mask-t-to":N()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":N()}],"mask-image-r-to-color":[{"mask-r-to":N()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":N()}],"mask-image-b-to-color":[{"mask-b-to":N()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":N()}],"mask-image-l-to-color":[{"mask-l-to":N()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":N()}],"mask-image-x-to-color":[{"mask-x-to":N()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":N()}],"mask-image-y-to-color":[{"mask-y-to":N()}],"mask-image-radial":[{"mask-radial":[he,le]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":N()}],"mask-image-radial-to-color":[{"mask-radial-to":N()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Q]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":N()}],"mask-image-conic-to-color":[{"mask-conic-to":N()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,le]}],filter:[{filter:["","none",he,le]}],blur:[{blur:k()}],brightness:[{brightness:[Q,he,le]}],contrast:[{contrast:[Q,he,le]}],"drop-shadow":[{"drop-shadow":["","none",f,Ie,fe]}],"drop-shadow-color":[{"drop-shadow":N()}],grayscale:[{grayscale:["",Q,he,le]}],"hue-rotate":[{"hue-rotate":[Q,he,le]}],invert:[{invert:["",Q,he,le]}],saturate:[{saturate:[Q,he,le]}],sepia:[{sepia:["",Q,he,le]}],"backdrop-filter":[{"backdrop-filter":["","none",he,le]}],"backdrop-blur":[{"backdrop-blur":k()}],"backdrop-brightness":[{"backdrop-brightness":[Q,he,le]}],"backdrop-contrast":[{"backdrop-contrast":[Q,he,le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Q,he,le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Q,he,le]}],"backdrop-invert":[{"backdrop-invert":["",Q,he,le]}],"backdrop-opacity":[{"backdrop-opacity":[Q,he,le]}],"backdrop-saturate":[{"backdrop-saturate":[Q,he,le]}],"backdrop-sepia":[{"backdrop-sepia":["",Q,he,le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Q,"initial",he,le]}],ease:[{ease:["linear","initial",b,he,le]}],delay:[{delay:[Q,he,le]}],animate:[{animate:["none",y,he,le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,he,le]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:V()}],"rotate-x":[{"rotate-x":V()}],"rotate-y":[{"rotate-y":V()}],"rotate-z":[{"rotate-z":V()}],scale:[{scale:M()}],"scale-x":[{"scale-x":M()}],"scale-y":[{"scale-y":M()}],"scale-z":[{"scale-z":M()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[he,le,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,le]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[Q,me,ce,ue]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Re=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ge=(e,t)=>{if(t)for(const n in t)Re(e,n,t[n])},Be=(e,t)=>{if(t)for(const n in t)Le(e,t,n)},Le=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ke=((e,...t)=>"function"==typeof e?H(Pe,e,...t):H(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(Re(e,"cacheSize",t),Re(e,"prefix",n),Re(e,"experimentalParseClassName",r),Ge(e.theme,i.theme),Ge(e.classGroups,i.classGroups),Ge(e.conflictingClassGroups,i.conflictingClassGroups),Ge(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Re(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Be(e.theme,o.theme),Be(e.classGroups,o.classGroups),Be(e.conflictingClassGroups,o.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Le(e,o,"orderSensitiveModifiers"),e))(Pe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ve=(...e)=>ke(E(...e));
3
+ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from"react";import r,{forwardRef as i,useState as s,useCallback as a,useEffect as l,useMemo as c,useRef as u,useContext as d,useLayoutEffect as p,createContext as f,Component as h,Fragment as m,useInsertionEffect as g,createElement as b,useId as v}from"react";import y from"next/link";import I from"next/image";import x,{createPortal as C}from"react-dom";function A(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=A(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function w(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=A(e))&&(o&&(o+=" "),o+=t);return o}const E=e=>{const t=R(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),N(n,t)||T(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},N=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?N(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},G=/^\[(.+)\]$/,T=e=>{if(G.test(e)){const t=G.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},R=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)P(n[e],o,e,t);return o},P=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:S(t,e)).classGroupId=n)}if("function"==typeof e)return V(e)?void P(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{P(r,S(t,e),n,o)})})},S=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},V=e=>e.isThemeGetter,B=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},k=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===o&&0===r){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?o++:"]"===a?o--:"("===a?r++:")"===a&&r--}const s=0===t.length?e:e.substring(i),a=O(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},O=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,M=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)}),n.push(...o.sort()),n}},D=/\s+/;function L(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=X(e))&&(o&&(o+=" "),o+=t);return o}const X=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=X(e[o]))&&(n&&(n+=" "),n+=t);return n};function W(e,...t){let n,o,r,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:B(e.cacheSize),parseClassName:k(e),sortModifiers:M(e),...E(e)}))(l),o=n.cache.get,r=n.cache.set,i=s,s(a)};function s(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],a=e.trim().split(D);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!f,m=o(h?p.substring(0,f):p);if(!m){if(!h){l=t+(l.length>0?" "+l:l);continue}if(m=o(p),!m){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+m;if(s.includes(v))continue;s.push(v);const y=r(m,h);for(let e=0;e<y.length;++e){const t=y[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,i),i}return function(){return i(L.apply(null,arguments))}}const H=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},F=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Z=/^\d+\/\d+$/,z=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Y=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,J=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,U=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Q=e=>Z.test(e),$=e=>!!e&&!Number.isNaN(Number(e)),K=e=>!!e&&Number.isInteger(Number(e)),q=e=>e.endsWith("%")&&$(e.slice(0,-1)),ee=e=>z.test(e),te=()=>!0,ne=e=>Y.test(e)&&!J.test(e),oe=()=>!1,re=e=>U.test(e),ie=e=>_.test(e),se=e=>!le(e)&&!he(e),ae=e=>xe(e,Ee,oe),le=e=>F.test(e),ce=e=>xe(e,Ne,ne),ue=e=>xe(e,Ge,$),de=e=>xe(e,Ae,oe),pe=e=>xe(e,we,ie),fe=e=>xe(e,Re,re),he=e=>j.test(e),me=e=>Ce(e,Ne),ge=e=>Ce(e,Te),be=e=>Ce(e,Ae),ve=e=>Ce(e,Ee),ye=e=>Ce(e,we),Ie=e=>Ce(e,Re,!0),xe=(e,t,n)=>{const o=F.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},Ce=(e,t,n=!1)=>{const o=j.exec(e);return!!o&&(o[1]?t(o[1]):n)},Ae=e=>"position"===e||"percentage"===e,we=e=>"image"===e||"url"===e,Ee=e=>"length"===e||"size"===e||"bg-size"===e,Ne=e=>"length"===e,Ge=e=>"number"===e,Te=e=>"family-name"===e,Re=e=>"shadow"===e,Pe=()=>{const e=H("color"),t=H("font"),n=H("text"),o=H("font-weight"),r=H("tracking"),i=H("leading"),s=H("breakpoint"),a=H("container"),l=H("spacing"),c=H("radius"),u=H("shadow"),d=H("inset-shadow"),p=H("text-shadow"),f=H("drop-shadow"),h=H("blur"),m=H("perspective"),g=H("aspect"),b=H("ease"),v=H("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",he,le],I=()=>[he,le,l],x=()=>[Q,"full","auto",...I()],C=()=>[K,"none","subgrid",he,le],A=()=>["auto",{span:["full",K,he,le]},K,he,le],w=()=>[K,"auto",he,le],E=()=>["auto","min","max","fr",he,le],N=()=>["auto",...I()],G=()=>[Q,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],T=()=>[e,he,le],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",be,de,{position:[he,le]}],P=()=>["auto","cover","contain",ve,ae,{size:[he,le]}],S=()=>[q,me,ce],V=()=>["","none","full",c,he,le],B=()=>["",$,me,ce],k=()=>[$,q,be,de],O=()=>["","none",h,he,le],M=()=>["none",$,he,le],D=()=>["none",$,he,le],L=()=>[$,he,le],X=()=>[Q,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ee],breakpoint:[ee],color:[te],container:[ee],"drop-shadow":[ee],ease:["in","out","in-out"],font:[se],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ee],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ee],shadow:[ee],spacing:["px",$],text:[ee],"text-shadow":[ee],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Q,le,he,g]}],container:["container"],columns:[{columns:[$,le,he,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[K,"auto",he,le]}],basis:[{basis:[Q,"full","auto",a,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$,Q,"auto","initial","none",le]}],grow:[{grow:["",$,he,le]}],shrink:[{shrink:["",$,he,le]}],order:[{order:[K,"first","last","none",he,le]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[a,"screen",...G()]}],"min-w":[{"min-w":[a,"screen","none",...G()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,me,ce]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,he,ue]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",q,le]}],"font-family":[{font:[ge,le,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,he,le]}],"line-clamp":[{"line-clamp":[$,"none",he,ue]}],leading:[{leading:[i,...I()]}],"list-image":[{"list-image":["none",he,le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[$,"from-font","auto",he,ce]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[$,"auto",he,le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,le]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},K,he,le],radial:["",he,le],conic:[K,he,le]},ye,pe]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:S()}],"gradient-via-pos":[{via:S()}],"gradient-to-pos":[{to:S()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[$,he,le]}],"outline-w":[{outline:["",$,me,ce]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,Ie,fe]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Ie,fe]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[$,ce]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Ie,fe]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[$,he,le]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[$]}],"mask-image-linear-from-pos":[{"mask-linear-from":k()}],"mask-image-linear-to-pos":[{"mask-linear-to":k()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":k()}],"mask-image-t-to-pos":[{"mask-t-to":k()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":k()}],"mask-image-r-to-pos":[{"mask-r-to":k()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":k()}],"mask-image-b-to-pos":[{"mask-b-to":k()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":k()}],"mask-image-l-to-pos":[{"mask-l-to":k()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":k()}],"mask-image-x-to-pos":[{"mask-x-to":k()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":k()}],"mask-image-y-to-pos":[{"mask-y-to":k()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[he,le]}],"mask-image-radial-from-pos":[{"mask-radial-from":k()}],"mask-image-radial-to-pos":[{"mask-radial-to":k()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[$]}],"mask-image-conic-from-pos":[{"mask-conic-from":k()}],"mask-image-conic-to-pos":[{"mask-conic-to":k()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,le]}],filter:[{filter:["","none",he,le]}],blur:[{blur:O()}],brightness:[{brightness:[$,he,le]}],contrast:[{contrast:[$,he,le]}],"drop-shadow":[{"drop-shadow":["","none",f,Ie,fe]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",$,he,le]}],"hue-rotate":[{"hue-rotate":[$,he,le]}],invert:[{invert:["",$,he,le]}],saturate:[{saturate:[$,he,le]}],sepia:[{sepia:["",$,he,le]}],"backdrop-filter":[{"backdrop-filter":["","none",he,le]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[$,he,le]}],"backdrop-contrast":[{"backdrop-contrast":[$,he,le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$,he,le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$,he,le]}],"backdrop-invert":[{"backdrop-invert":["",$,he,le]}],"backdrop-opacity":[{"backdrop-opacity":[$,he,le]}],"backdrop-saturate":[{"backdrop-saturate":[$,he,le]}],"backdrop-sepia":[{"backdrop-sepia":["",$,he,le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$,"initial",he,le]}],ease:[{ease:["linear","initial",b,he,le]}],delay:[{delay:[$,he,le]}],animate:[{animate:["none",v,he,le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,he,le]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:L()}],"skew-x":[{"skew-x":L()}],"skew-y":[{"skew-y":L()}],transform:[{transform:[he,le,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:X()}],"translate-x":[{"translate-x":X()}],"translate-y":[{"translate-y":X()}],"translate-z":[{"translate-z":X()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,le]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[$,me,ce,ue]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Se=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ve=(e,t)=>{if(t)for(const n in t)Se(e,n,t[n])},Be=(e,t)=>{if(t)for(const n in t)ke(e,t,n)},ke=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},Oe=((e,...t)=>"function"==typeof e?W(Pe,e,...t):W(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(Se(e,"cacheSize",t),Se(e,"prefix",n),Se(e,"experimentalParseClassName",o),Ve(e.theme,i.theme),Ve(e.classGroups,i.classGroups),Ve(e.conflictingClassGroups,i.conflictingClassGroups),Ve(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Se(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Be(e.theme,r.theme),Be(e.classGroups,r.classGroups),Be(e.conflictingClassGroups,r.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ke(e,r,"orderSensitiveModifiers"),e))(Pe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Me=(...e)=>Oe(w(...e));
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function Me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function De(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function je(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}!function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=Me({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",Me({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Me({},this.attributes,t))},withConverter:function(t){return e(Me({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var He,We={},Xe={},Fe={};function Ze(){return He||(He=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(Fe)),Fe}var ze,Ye={};function _e(){return ze||(ze=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(Ye)),Ye}var Je,Ue={};function Ke(){return Je||(Je=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(Ue)),Ue}var Qe,$e={};function qe(){return Qe||(Qe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return f},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return h},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return m},get VOID_BLOCKS(){return d}});var t=Ze(),n=_e(),r=Ke();function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(i(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.LIST_ITEM,c),i(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),i(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),i(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),i(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),i(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),f=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],h=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(s=f)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}($e)),$e}var et,tt={};var nt,rt={};var ot,it={};var at,st={};function lt(){return at||(at=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=Ze(),n=_e();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function i(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=Object.keys(e)[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){if(t===e[i.value])return!0}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return!1}function a(e){return i(n.INLINES,e.nodeType)}function s(e){return i(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?o(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(st)),st}var ct,ut,dt={},pt={};function ft(){return ut?ct:(ut=1,ct=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var ht,mt,gt={};function bt(){return ht||(ht=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return a},get maxSizeError(){return i},get minSizeError(){return o},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return s}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,o=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:o}},o=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},i=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},a=function(e){var t=e.expected,r=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:o.toArray(),value:r}},s=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(gt)),gt}function yt(){return mt||(mt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(ft()),n=bt();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){function e(r,o){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"obj",void 0),i(this,"path",void 0),i(this,"_errors",void 0),i(this,"catch",void 0),i(this,"exists",void 0),i(this,"object",void 0),i(this,"string",void 0),i(this,"number",void 0),i(this,"array",void 0),i(this,"enum",void 0),i(this,"empty",void 0),i(this,"minLength",void 0),i(this,"noAdditionalProperties",void 0),i(this,"each",void 0),this.obj=r,this.path=o,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,n.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var r=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(r))return!0;var o,i=e?a.path.of(e):a.path,s=null!==(o=null!=e?e:a.path.last())&&void 0!==o?o:"value";return a.catch((0,n.typeMismatchError)({typeName:"Object",property:s,path:i,value:r})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var r=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(a.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:r})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=a.obj[e];return!("string"!=typeof r||!t.includes(r))||(a.catch((0,n.enumError)({expected:t,value:r,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,n.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var r=a.obj[e];return r.length>=t||(a.catch((0,n.minSizeError)({min:t,value:r,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,n.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var n=a.obj[e],r=!1;n.forEach(function(n,o){if(!r){var i=t(n,a.path.of(e).of(o));i.length>0&&(r=!0),a.catch.apply(a,s(i))}})}}}return o(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(pt)),pt}var vt,It={};function xt(){return vt||(vt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return m},get HyperLinkAssertion(){return g},get NodeAssertion(){return h},get VOID_CONTENT(){return f},get assert(){return b},get assertLink(){return y}});var t=yt();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var f=[],h=function(){function e(t,n){i(this,e),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return a(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),i=o.nodeTypes,a=o.min,s=void 0===a?0:a;if(0===i.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===i.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",i),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),m=function(e){function n(e,a){var l;return i(this,n),l=o(this,n,[a,function(e,t){return r(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var o,i=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));i.object()&&(i.enum("type",[l.type]),i.enum("linkType",[l.linkType]),"Link"===l.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=r).catch.apply(o,d(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(h),g=function(e){function n(){var e;return i(this,n),e=o(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),s(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(h),b=function(e,t){return new h(e,t)},y=function(e,t){return new m(e,t)}}(It)),It}var Ct,At={};function Et(){return Ct||(Ct=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return o}});var o=function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=o,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(At)),At}var wt,St,Ot,Nt,Tt={};function Pt(){return St||(St=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return y}});var t=Ze(),n=_e(),r=qe(),o=yt(),i=xt(),a=Et(),s=(wt||(wt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=yt();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(Tt)),Tt);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,p=(0,i.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),f=(0,i.assert)([t.BLOCKS.LIST_ITEM]),h=(0,i.assertLink)("Entry",i.VOID_CONTENT),m=(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new o.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,i.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,i.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,h),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,i.assertLink)("Asset",i.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,i.assert)(i.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,f),c(d,t.BLOCKS.UL_LIST,f),c(d,t.BLOCKS.LIST_ITEM,(0,i.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,m),c(d,t.BLOCKS.TABLE_HEADER_CELL,m),c(d,n.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,h),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,i.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,i.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,i.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,s.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new o.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var y=function(e){var n=new a.Path,r=new o.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(dt)),dt}function Rt(){return Ot||(Ot=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return i},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=Ze(),n=_e(),r=Ke();s(qe(),e),s((et||(et=1,Object.defineProperty(tt,"__esModule",{value:!0})),tt),e),s((nt||(nt=1,Object.defineProperty(rt,"__esModule",{value:!0})),rt),e);var o=(ot||(ot=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Ze(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(it)),it),i=c(lt()),a=Pt();function s(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}}(Xe)),Xe}!function(){if(Nt)return We;Nt=1;var e=o,t=Rt();function n(t,n){return t.map((t,o)=>{return i=r(t,n),a=o,e.isValidElement(i)&&null===i.key?e.cloneElement(i,{key:a}):i;var i,a})}function r(r,o){const{renderNode:i,renderMark:a,renderText:s,preserveWhitespace:l}=o;if(t.helpers.isText(r)){let t=s?s(r.value):r.value;if(l&&!s){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,o)=>{r.push(t),o!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=n(r.content,o);return r.nodeType&&i[r.nodeType]?i[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const i={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>s(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>s(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>l(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>l(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},a={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function l(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}We.documentToReactComponents=function(e,n={}){if(!e)return null;let o=e;return n.stripEmptyTrailingParagraph&&(o=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(o,{renderNode:{...i,...n.renderNode},renderMark:{...a,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})}}();var Gt=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),Bt=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vt,Mt=[Gt.PARAGRAPH,Gt.HEADING_1,Gt.HEADING_2,Gt.HEADING_3,Gt.HEADING_4,Gt.HEADING_5,Gt.HEADING_6,Gt.OL_LIST,Gt.UL_LIST,Gt.HR,Gt.QUOTE,Gt.EMBEDDED_ENTRY,Gt.EMBEDDED_ASSET,Gt.EMBEDDED_RESOURCE,Gt.TABLE],Dt=[Gt.PARAGRAPH,Gt.HEADING_1,Gt.HEADING_2,Gt.HEADING_3,Gt.HEADING_4,Gt.HEADING_5,Gt.HEADING_6,Gt.OL_LIST,Gt.UL_LIST,Gt.HR,Gt.QUOTE,Gt.EMBEDDED_ENTRY,Gt.EMBEDDED_ASSET,Gt.EMBEDDED_RESOURCE];Gt.TABLE,Gt.TABLE_ROW,Gt.TABLE_CELL,Gt.TABLE_HEADER_CELL,Gt.HR,Gt.EMBEDDED_ENTRY,Gt.EMBEDDED_ASSET,Gt.EMBEDDED_RESOURCE;var jt,Ht=(kt(Vt={},Gt.OL_LIST,[Gt.LIST_ITEM]),kt(Vt,Gt.UL_LIST,[Gt.LIST_ITEM]),kt(Vt,Gt.LIST_ITEM,Dt),kt(Vt,Gt.QUOTE,[Gt.PARAGRAPH]),kt(Vt,Gt.TABLE,[Gt.TABLE_ROW]),kt(Vt,Gt.TABLE_ROW,[Gt.TABLE_CELL,Gt.TABLE_HEADER_CELL]),kt(Vt,Gt.TABLE_CELL,[Gt.PARAGRAPH,Gt.UL_LIST,Gt.OL_LIST]),kt(Vt,Gt.TABLE_HEADER_CELL,[Gt.PARAGRAPH]),Vt),Wt=[Gt.HEADING_1,Gt.HEADING_2,Gt.HEADING_3,Gt.HEADING_4,Gt.HEADING_5,Gt.HEADING_6];[Gt.PARAGRAPH].concat(function(e){if(Array.isArray(e))return Lt(e)}(jt=Wt)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(jt)||function(e,t){if(e){if("string"==typeof e)return Lt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lt(e,t):void 0}}(jt)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Gt.DOCUMENT,Gt.PARAGRAPH,Gt.HEADING_1,Gt.HEADING_2,Gt.HEADING_3,Gt.HEADING_4,Gt.HEADING_5,Gt.HEADING_6,Gt.OL_LIST,Gt.UL_LIST,Gt.LIST_ITEM,Gt.HR,Gt.QUOTE,Gt.EMBEDDED_ENTRY,Gt.EMBEDDED_ASSET,Bt.HYPERLINK,Bt.ENTRY_HYPERLINK,Bt.ASSET_HYPERLINK,Bt.EMBEDDED_ENTRY,Gt.DOCUMENT,Gt.PARAGRAPH;var Xt=De(ft());function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zt(e){return function(e){if(Array.isArray(e))return Ft(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ft(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var zt=function(e){var t=e.path,n=e.property,r=e.typeName,o=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:o}};function Yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _t(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(e){return function(e){if(Array.isArray(e))return Yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Kt=function(){function e(t,n){var r=this,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Jt(this,"obj",void 0),Jt(this,"path",void 0),Jt(this,"_errors",void 0),Jt(this,"catch",void 0),Jt(this,"exists",void 0),Jt(this,"object",void 0),Jt(this,"string",void 0),Jt(this,"number",void 0),Jt(this,"array",void 0),Jt(this,"enum",void 0),Jt(this,"empty",void 0),Jt(this,"minLength",void 0),Jt(this,"noAdditionalProperties",void 0),Jt(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=o._errors).push.apply(r,Ut(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(Xt(t))return!0;var n,o=e?r.path.of(e):r.path,i=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(zt({typeName:"Object",property:i,path:o,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(zt({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(zt({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(zt({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:Zt(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],o=!1;n.forEach(function(n,i){if(!o){var a=t(n,r.path.of(e).of(i));a.length>0&&(o=!0),r.catch.apply(r,Ut(a))}})}}}return _t(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function Qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qt(e,t,n){return t=rn(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return $t(e)}(e,ln()?Reflect.construct(t,n||[],rn(e).constructor):t.apply(e,n))}function en(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},rn(e)}function on(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&an(e,t)}function an(e,t){return an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},an(e,t)}function sn(e){return function(e){if(Array.isArray(e))return Qt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ln=function(){return!!e})()}var cn=[],un=function(){function e(t,n){en(this,e),nn(this,"contentRule",void 0),nn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return tn(e,[{key:"assert",value:function(e,t){var n=new Kt(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),o=r.nodeTypes,i=r.min,a=void 0===i?0:i;if(0===o.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(n.minLength("content",a),0===o.length?n.empty("content"):n.each("content",function(e,t){var n=new Kt(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=n).catch.apply(s,sn(u))}return n.errors}}]),e}(),dn=function(e){function t(e,n){var r;return en(this,t),r=qt(this,t,[n,function(e,t){return $t(r).assertLink(e,t)}]),nn(r,"linkType",void 0),nn(r,"type",void 0),nn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Kt(e,t);if(n.object("target")){var o,i=new Kt(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[r.type]),i.enum("linkType",[r.linkType]),"Link"===r.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=n).catch.apply(o,sn(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return on(t,e),t}(un),pn=function(e){function t(){var e;return en(this,t),e=qt(this,t,[["text"],function(t,n){return $t(e).assertLink(t,n)}]),nn(e,"assertLink",function(e,t){var n=new Kt(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return on(t,e),t}(un),fn=function(e,t){return new un(e,t)},hn=function(e,t){return new dn(e,t)};function mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bn(e){return function(e){if(Array.isArray(e))return mn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var yn,vn=fn(bn(Object.values(Bt)).concat(["text"]).sort()),In=fn([Gt.LIST_ITEM]),xn=hn("Entry",cn),Cn=fn(function(){return{nodeTypes:[Gt.PARAGRAPH],min:1}},function(e,t){var n=new Kt(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});gn(yn={},Gt.DOCUMENT,fn(Mt)),gn(yn,Gt.PARAGRAPH,vn),gn(yn,Gt.HEADING_1,vn),gn(yn,Gt.HEADING_2,vn),gn(yn,Gt.HEADING_3,vn),gn(yn,Gt.HEADING_4,vn),gn(yn,Gt.HEADING_5,vn),gn(yn,Gt.HEADING_6,vn),gn(yn,Gt.QUOTE,fn(Ht[Gt.QUOTE])),gn(yn,Gt.EMBEDDED_ENTRY,xn),gn(yn,Gt.EMBEDDED_ASSET,hn("Asset",cn)),gn(yn,Gt.EMBEDDED_RESOURCE,hn("Contentful:Entry",cn)),gn(yn,Gt.HR,fn(cn)),gn(yn,Gt.OL_LIST,In),gn(yn,Gt.UL_LIST,In),gn(yn,Gt.LIST_ITEM,fn(bn(Dt).sort())),gn(yn,Gt.TABLE,fn(function(){return{nodeTypes:[Gt.TABLE_ROW],min:1}})),gn(yn,Gt.TABLE_ROW,fn(function(){return{nodeTypes:[Gt.TABLE_CELL,Gt.TABLE_HEADER_CELL],min:1}})),gn(yn,Gt.TABLE_CELL,Cn),gn(yn,Gt.TABLE_HEADER_CELL,Cn),gn(yn,Bt.HYPERLINK,new pn),gn(yn,Bt.EMBEDDED_ENTRY,xn),gn(yn,Bt.EMBEDDED_RESOURCE,hn("Contentful:Entry",cn)),gn(yn,Bt.ENTRY_HYPERLINK,hn("Entry",["text"])),gn(yn,Bt.ASSET_HYPERLINK,hn("Asset",["text"])),gn(yn,Bt.RESOURCE_HYPERLINK,hn("Contentful:Entry",["text"]));const An={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},En=i(({children:t,className:n="",variant:r="unstyled",style:o,...i},a)=>{const s=Ve("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:o,...i,children:t})});En.displayName="ListItem";const wn=i(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ve(u,`list--${t}`,`list--${a}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(En,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...f,ref:c})});wn.displayName="List";const Sn=({name:t,fill:n=0,opticalSize:r="48dp",weight:o="200",emphasis:i=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${i}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ve("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Sn.displayName="MaterialIcon";const On=i(({children:e,as:t,className:n="",style:r,...i},a)=>{const s=t||"p";return o.createElement(s,{ref:a,className:n,style:r,...i},e)});On.displayName="Text";const Nn=n=>{const{items:r,listIconName:i="check",listItemClassName:a,listContainerClassName:s,iconSize:l=20,iconPosition:c="center",iconColor:u="green",iconClassName:d}=n,p="disc"!==i;return(null==r?void 0:r.length)?e(wn,{className:Ve("mt-2 space-y-1",s),variant:p?"unstyled":"default",children:r.map((n,r)=>{const s=function(e){return null!==e&&"object"==typeof e&&!o.isValidElement(e)&&"title"in e}(n),f=s&&!!n.iconUrl,h=s?n.title:n;return t(En,{variant:p?"unstyled":"default",className:Ve(`${p?"flex":""} ${"top"===c?"items-start":"items-center"} gap-2 text-text-secondary`,a),children:[p&&f?e("div",{className:"flex shrink-0 leading-none",children:e("img",{src:n.iconUrl,alt:n.iconAlt||"",width:l,height:l,className:Ve("block object-contain","top"===c?"mt-1":"",d)})}):p?e("div",{className:"flex leading-none",children:e(Sn,{name:i,size:l,color:An[u],weight:"600",className:Ve("block","top"===c?"mt-1":"",d)})}):null,e(On,{as:"div",children:h})]},r)})}):null};var Tn;Nn.displayName="Checklist";const Pn="function"==typeof v?v:null!==(Tn=v.default)&&void 0!==Tn?Tn:v,Rn=i(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==o||o(e)},f=Ve(d,`link--${i}`,l&&"link--disabled",r),h={...c,ref:u,className:f,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(Pn,{href:n||"#",className:f,onClick:p,...c,children:t})});Rn.displayName="Link",Gt.PARAGRAPH,Gt.HEADING_1,Gt.HEADING_2,Gt.HEADING_3,Gt.HEADING_4,Gt.HEADING_5,Gt.HEADING_6,Gt.QUOTE,Gt.UL_LIST,Gt.OL_LIST,Gt.LIST_ITEM,Gt.EMBEDDED_ASSET,Gt.EMBEDDED_ENTRY;const Gn=i(({children:t,className:n="",style:r,disabled:o,...i},a)=>e("button",{ref:a,className:Ve(n),style:r,disabled:o,...i,children:t}));Gn.displayName="Button";const Bn=(n,r)=>{const{className:o,size:i,required:l,placeholder:c,label:u,state:d,errorText:p,prefixIconName:f,prefixIconFill:h=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:y=24,containerClassName:v,prefixIconClassName:I,loading:x,hasError:C,type:A,...E}=n,w=C?"error":d,[S,O]=a(!1),[N,T]=a(!1),[P,R]=a(A||"text"),G=s(e=>{e.stopPropagation(),R(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:Ve("inline-block pb-1"),children:t(On,{as:"span",className:"footnote text-text",children:[u,l?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ve("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],v,(S||"hover"===w)&&!N&&"error"!==w&&"border-input-border-hover",(N||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[f?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(Sn,{name:f,fill:h?1:0,size:g,className:Ve(I)})}):null,e("input",{ref:r,id:u,disabled:x||E.disabled,className:Ve("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",o),placeholder:c,type:P,...E,onMouseOver:()=>O(!0),onMouseOut:()=>O(!1),onFocus:e=>{var t;null===(t=E.onFocus)||void 0===t||t.call(E,e),T(!0)},onBlur:e=>{var t;null===(t=E.onBlur)||void 0===t||t.call(E,e),T(!1)}}),b?e("div",{className:"ml-2",style:{width:y,height:y,overflow:"hidden"},onClick:G,children:e(Sn,{name:"text"===P?"visibility":"visibility_off",size:y,fill:m?1:0})}):null]}),"error"===w&&p&&""!=p?t(On,{className:Ve("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Sn,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})},Ln=i(Bn);Ln.displayName="Input";const kn=i(({as:t,className:n="",...r},o)=>{const i=Ve(n);if(t){return e(t,{ref:o,className:i,...r})}return e("img",{ref:o,className:i,...r})});kn.displayName="Image";const Vn=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(I),Mn=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},Dn=i(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:Mn,unoptimized:!1}:{unoptimized:s};return e(Vn,{ref:r,className:Ve(t),...n,...l})});Dn.displayName="NextImage";const jn=n=>{const{color:r="#fff",size:o="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:Ve("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[o],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:r,children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})};jn.displayName="Spinner";const Hn=n=>{const{showBlinkDot:r=!1,buttonStyle:o="primary",size:i="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(Rn,{...u,className:Ve("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:Ve("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[i]),children:e(Sn,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:Ve("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};function Wn(e,t){l(()=>{if("undefined"==typeof document)return;const n=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${n}px`:"unset",document.body.style.overflow=e?"hidden":t?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,t])}Hn.displayName="CallButton";var Xn,Fn={exports:{}},Zn={},zn={exports:{}},Yn={exports:{}},_n={};var Jn,Un,Kn,Qn,$n,qn,er,tr,nr,rr,or,ir,ar,sr,lr,cr={};
5
+ function De(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}!function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=De({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in r)r[s]&&(i+="; "+s,!0!==r[s]&&(i+="="+r[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},r=0;r<n.length;r++){var i=n[r].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(o[a]=t.read(s,a),e===a)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",De({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,De({},this.attributes,t))},withConverter:function(t){return e(De({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var Le=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),Xe=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});const We=[Le.PARAGRAPH,Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6,Le.OL_LIST,Le.UL_LIST,Le.HR,Le.QUOTE,Le.EMBEDDED_ENTRY,Le.EMBEDDED_ASSET,Le.EMBEDDED_RESOURCE,Le.TABLE],He=[Le.PARAGRAPH,Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6,Le.OL_LIST,Le.UL_LIST,Le.HR,Le.QUOTE,Le.EMBEDDED_ENTRY,Le.EMBEDDED_ASSET,Le.EMBEDDED_RESOURCE];Le.TABLE,Le.TABLE_ROW,Le.TABLE_CELL,Le.TABLE_HEADER_CELL,Le.HR,Le.EMBEDDED_ENTRY,Le.EMBEDDED_ASSET,Le.EMBEDDED_RESOURCE;const Fe={[Le.OL_LIST]:[Le.LIST_ITEM],[Le.UL_LIST]:[Le.LIST_ITEM],[Le.LIST_ITEM]:He,[Le.QUOTE]:[Le.PARAGRAPH],[Le.TABLE]:[Le.TABLE_ROW],[Le.TABLE_ROW]:[Le.TABLE_CELL,Le.TABLE_HEADER_CELL],[Le.TABLE_CELL]:[Le.PARAGRAPH,Le.UL_LIST,Le.OL_LIST],[Le.TABLE_HEADER_CELL]:[Le.PARAGRAPH]};Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6;Le.PARAGRAPH,Le.DOCUMENT,Le.PARAGRAPH,Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6,Le.OL_LIST,Le.UL_LIST,Le.LIST_ITEM,Le.HR,Le.QUOTE,Le.EMBEDDED_ENTRY,Le.EMBEDDED_ASSET,Xe.HYPERLINK,Xe.ENTRY_HYPERLINK,Xe.ASSET_HYPERLINK,Xe.EMBEDDED_ENTRY,Le.DOCUMENT,Le.PARAGRAPH;const je=({path:e,property:t,typeName:n,value:o})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:o});class Ze{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,o=e??this.path.last()??"value";return this.catch(je({typeName:"Object",property:o,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(je({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(je({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(je({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let o=!1;n.forEach((n,r)=>{if(o)return;const i=t(n,this.path.of(e).of(r));i.length>0&&(o=!0),this.catch(...i)})}}const ze=[];class Ye{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Ze(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:o,min:r=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===o.length&&r>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${r} with no nodeTypes`);if(n.minLength("content",r),0===o.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Ze(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){const o=this.validateData?.(e.data,t.of("data"))??[];n.catch(...o)}return n.errors}}class Je extends Ye{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Ze(e,t);if(n.object("target")){const o=new Ze(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[this.type]),o.enum("linkType",[this.linkType]),"Link"===this.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...o.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Ue=(e,t)=>new Ye(e,t),_e=(e,t)=>new Je(e,t);Ue([...Object.values(Xe),"text"].sort()),Ue([Le.LIST_ITEM]),_e("Entry",ze),Ue(()=>({nodeTypes:[Le.PARAGRAPH],min:1}),(e,t)=>{const n=new Ze(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Le.DOCUMENT,Ue(We),Le.PARAGRAPH,Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6,Le.QUOTE,Ue(Fe[Le.QUOTE]),Le.EMBEDDED_ENTRY,Le.EMBEDDED_ASSET,_e("Asset",ze),Le.EMBEDDED_RESOURCE,_e("Contentful:Entry",ze),Le.HR,Ue(ze),Le.OL_LIST,Le.UL_LIST,Le.LIST_ITEM,Ue([...He].sort()),Le.TABLE,Ue(()=>({nodeTypes:[Le.TABLE_ROW],min:1})),Le.TABLE_ROW,Ue(()=>({nodeTypes:[Le.TABLE_CELL,Le.TABLE_HEADER_CELL],min:1})),Le.TABLE_CELL,Le.TABLE_HEADER_CELL,Xe.HYPERLINK,new class extends Ye{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Ze(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_RESOURCE,_e("Contentful:Entry",ze),Xe.ENTRY_HYPERLINK,_e("Entry",["text"]),Xe.ASSET_HYPERLINK,_e("Asset",["text"]),Xe.RESOURCE_HYPERLINK,_e("Contentful:Entry",["text"]),Le.DOCUMENT,Le.PARAGRAPH,Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6,Le.EMBEDDED_ENTRY,Le.EMBEDDED_RESOURCE,Le.UL_LIST,Le.OL_LIST,Le.LIST_ITEM,Le.QUOTE,Le.HR,Le.TABLE,Le.TABLE_ROW,Le.TABLE_HEADER_CELL,Le.TABLE_CELL,Xe.ASSET_HYPERLINK,Xe.ENTRY_HYPERLINK,Xe.RESOURCE_HYPERLINK,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_RESOURCE,Xe.HYPERLINK;const Qe={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},$e=i(({children:t,className:n="",variant:o="unstyled",style:r,...i},s)=>{const a=Me("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e("li",{ref:s,className:a,style:r,...i,children:t})});$e.displayName="ListItem";const Ke=i(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Me(u,`list--${t}`,`list--${s}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e($e,{className:t.className,variant:s,children:t.content},t.id||n)):null),f={className:d,style:a,...l,children:p};return e("ol"===t?"ol":"ul",{...f,ref:c})});Ke.displayName="List";const qe=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e("span",{style:p,className:Me("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};qe.displayName="MaterialIcon";const et=i(({children:e,as:t,className:n="",style:o,...i},s)=>{const a=t||"p";return r.createElement(a,{ref:s,className:n,style:o,...i},e)});et.displayName="Text";const tt=n=>{const{items:o,listIconName:i="check",listItemClassName:s,listContainerClassName:a,iconSize:l=20,iconPosition:c="center",iconColor:u="green",iconClassName:d}=n,p="disc"!==i;return(null==o?void 0:o.length)?e(Ke,{className:Me("mt-2 space-y-1",a),variant:p?"unstyled":"default",children:o.map((n,o)=>{const a=function(e){return null!==e&&"object"==typeof e&&!r.isValidElement(e)&&"title"in e}(n),f=a&&!!n.iconUrl,h=a?n.title:n;return t($e,{variant:p?"unstyled":"default",className:Me(`${p?"flex":""} ${"top"===c?"items-start":"items-center"} gap-2 text-text-secondary`,s),children:[p&&f?e("div",{className:"flex shrink-0 leading-none",children:e("img",{src:n.iconUrl,alt:n.iconAlt||"",width:l,height:l,className:Me("block object-contain","top"===c?"mt-1":"",d)})}):p?e("div",{className:"flex leading-none",children:e(qe,{name:i,size:l,color:Qe[u],weight:"600",className:Me("block","top"===c?"mt-1":"",d)})}):null,e(et,{as:"div",children:h})]},o)})}):null};var nt;tt.displayName="Checklist";const ot="function"==typeof y?y:null!==(nt=y.default)&&void 0!==nt?nt:y,rt=i(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},f=Me(d,`link--${i}`,l&&"link--disabled",o),h={...c,ref:u,className:f,style:s,href:l?void 0:n,onClick:p,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(ot,{href:n||"#",className:f,onClick:p,...c,children:t})});rt.displayName="Link",Le.PARAGRAPH,Le.HEADING_1,Le.HEADING_2,Le.HEADING_3,Le.HEADING_4,Le.HEADING_5,Le.HEADING_6,Le.QUOTE,Le.UL_LIST,Le.OL_LIST,Le.LIST_ITEM,Xe.HYPERLINK,Le.EMBEDDED_ASSET,Le.EMBEDDED_ENTRY,Xe.EMBEDDED_ENTRY;const it=i(({children:t,className:n="",style:o,disabled:r,...i},s)=>e("button",{ref:s,className:Me(n),style:o,disabled:r,...i,children:t}));it.displayName="Button";const st=(n,o)=>{const{className:r,size:i,required:l,placeholder:c,label:u,state:d,errorText:p,prefixIconName:f,prefixIconFill:h=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:I,loading:x,hasError:C,type:A,...w}=n,E=C?"error":d,[N,G]=s(!1),[T,R]=s(!1),[P,S]=s(A||"text"),V=a(e=>{e.stopPropagation(),S(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:Me("inline-block pb-1"),children:t(et,{as:"span",className:"footnote text-text",children:[u,l?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Me("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],y,(N||"hover"===E)&&!T&&"error"!==E&&"border-input-border-hover",(T||"focus"===E||"active"===E)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===E&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[f?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(qe,{name:f,fill:h?1:0,size:g,className:Me(I)})}):null,e("input",{ref:o,id:u,disabled:x||w.disabled,className:Me("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:c,type:P,...w,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=w.onFocus)||void 0===t||t.call(w,e),R(!0)},onBlur:e=>{var t;null===(t=w.onBlur)||void 0===t||t.call(w,e),R(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:V,children:e(qe,{name:"text"===P?"visibility":"visibility_off",size:v,fill:m?1:0})}):null]}),"error"===E&&p&&""!=p?t(et,{className:Me("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(qe,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})},at=i(st);at.displayName="Input";const lt=i(({as:t,className:n="",...o},r)=>{const i=Me(n);if(t){return e(t,{ref:r,className:i,...o})}return e("img",{ref:r,className:i,...o})});lt.displayName="Image";const ct=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(I),ut=({src:e,width:t,quality:n})=>{const o=new URL(e);return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(n||90)),o.searchParams.set("fm","webp"),o.toString()},dt=i(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",s=r.includes("images.ctfassets.net"),a=s&&i.endsWith(".svg"),l=s&&!a?{loader:ut,unoptimized:!1}:{unoptimized:a};return e(ct,{ref:o,className:Me(t),...n,...l})});dt.displayName="NextImage";const pt=n=>{const{color:o="#fff",size:r="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:Me("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[r],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:o,children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})};pt.displayName="Spinner";const ft=n=>{const{showBlinkDot:o=!1,buttonStyle:r="primary",size:i="md",children:s,className:a,prefix:l,containerClassName:c,...u}=n,d=t(rt,{...u,className:Me("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[r],a),children:[o?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:Me("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[i]),children:e(qe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:s})]});return null==l||!1===l||""===l?d:t("span",{className:Me("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};function ht(e,t){l(()=>{if("undefined"==typeof document)return;const n=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${n}px`:"unset",document.body.style.overflow=e?"hidden":t?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,t])}function mt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),n}ft.displayName="CallButton";var bt,vt={exports:{}},yt={},It={exports:{}},xt={exports:{}},Ct={};var At,wt,Et,Nt,Gt,Tt,Rt,Pt,St,Vt,Bt,kt,Ot,Mt,Dt,Lt={};
6
6
  /** @license React v16.13.1
7
7
  * react-is.development.js
8
8
  *
@@ -10,12 +10,12 @@ function Me(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
10
10
  *
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
- */function ur(){return Un||(Un=1,"production"===process.env.NODE_ENV?Yn.exports=function(){if(Xn)return _n;Xn=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return v(e)===c}return _n.AsyncMode=l,_n.ConcurrentMode=c,_n.ContextConsumer=s,_n.ContextProvider=a,_n.Element=t,_n.ForwardRef=u,_n.Fragment=r,_n.Lazy=h,_n.Memo=f,_n.Portal=n,_n.Profiler=i,_n.StrictMode=o,_n.Suspense=d,_n.isAsyncMode=function(e){return I(e)||v(e)===l},_n.isConcurrentMode=I,_n.isContextConsumer=function(e){return v(e)===s},_n.isContextProvider=function(e){return v(e)===a},_n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},_n.isForwardRef=function(e){return v(e)===u},_n.isFragment=function(e){return v(e)===r},_n.isLazy=function(e){return v(e)===h},_n.isMemo=function(e){return v(e)===f},_n.isPortal=function(e){return v(e)===n},_n.isProfiler=function(e){return v(e)===i},_n.isStrictMode=function(e){return v(e)===o},_n.isSuspense=function(e){return v(e)===d},_n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},_n.typeOf=v,_n}():Yn.exports=(Jn||(Jn=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case h:case f:case a:return g;default:return p}}case n:return p}}}var I=l,x=c,C=s,A=a,E=t,w=u,S=r,O=h,N=f,T=n,P=i,R=o,G=d,B=!1;function L(e){return v(e)===c}cr.AsyncMode=I,cr.ConcurrentMode=x,cr.ContextConsumer=C,cr.ContextProvider=A,cr.Element=E,cr.ForwardRef=w,cr.Fragment=S,cr.Lazy=O,cr.Memo=N,cr.Portal=T,cr.Profiler=P,cr.StrictMode=R,cr.Suspense=G,cr.isAsyncMode=function(e){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||v(e)===l},cr.isConcurrentMode=L,cr.isContextConsumer=function(e){return v(e)===s},cr.isContextProvider=function(e){return v(e)===a},cr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},cr.isForwardRef=function(e){return v(e)===u},cr.isFragment=function(e){return v(e)===r},cr.isLazy=function(e){return v(e)===h},cr.isMemo=function(e){return v(e)===f},cr.isPortal=function(e){return v(e)===n},cr.isProfiler=function(e){return v(e)===i},cr.isStrictMode=function(e){return v(e)===o},cr.isSuspense=function(e){return v(e)===d},cr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},cr.typeOf=v}()),cr)),Yn.exports}
13
+ */function Xt(){return wt||(wt=1,"production"===process.env.NODE_ENV?xt.exports=function(){if(bt)return Ct;bt=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case h:case f:case s:return e;default:return p}}case n:return p}}}function I(e){return y(e)===c}return Ct.AsyncMode=l,Ct.ConcurrentMode=c,Ct.ContextConsumer=a,Ct.ContextProvider=s,Ct.Element=t,Ct.ForwardRef=u,Ct.Fragment=o,Ct.Lazy=h,Ct.Memo=f,Ct.Portal=n,Ct.Profiler=i,Ct.StrictMode=r,Ct.Suspense=d,Ct.isAsyncMode=function(e){return I(e)||y(e)===l},Ct.isConcurrentMode=I,Ct.isContextConsumer=function(e){return y(e)===a},Ct.isContextProvider=function(e){return y(e)===s},Ct.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ct.isForwardRef=function(e){return y(e)===u},Ct.isFragment=function(e){return y(e)===o},Ct.isLazy=function(e){return y(e)===h},Ct.isMemo=function(e){return y(e)===f},Ct.isPortal=function(e){return y(e)===n},Ct.isProfiler=function(e){return y(e)===i},Ct.isStrictMode=function(e){return y(e)===r},Ct.isSuspense=function(e){return y(e)===d},Ct.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},Ct.typeOf=y,Ct}():xt.exports=(At||(At=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case o:case i:case r:case d:return m;default:var g=m&&m.$$typeof;switch(g){case a:case u:case h:case f:case s:return g;default:return p}}case n:return p}}}var I=l,x=c,C=a,A=s,w=t,E=u,N=o,G=h,T=f,R=n,P=i,S=r,V=d,B=!1;function k(e){return y(e)===c}Lt.AsyncMode=I,Lt.ConcurrentMode=x,Lt.ContextConsumer=C,Lt.ContextProvider=A,Lt.Element=w,Lt.ForwardRef=E,Lt.Fragment=N,Lt.Lazy=G,Lt.Memo=T,Lt.Portal=R,Lt.Profiler=P,Lt.StrictMode=S,Lt.Suspense=V,Lt.isAsyncMode=function(e){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(e)||y(e)===l},Lt.isConcurrentMode=k,Lt.isContextConsumer=function(e){return y(e)===a},Lt.isContextProvider=function(e){return y(e)===s},Lt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Lt.isForwardRef=function(e){return y(e)===u},Lt.isFragment=function(e){return y(e)===o},Lt.isLazy=function(e){return y(e)===h},Lt.isMemo=function(e){return y(e)===f},Lt.isPortal=function(e){return y(e)===n},Lt.isProfiler=function(e){return y(e)===i},Lt.isStrictMode=function(e){return y(e)===r},Lt.isSuspense=function(e){return y(e)===d},Lt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},Lt.typeOf=y}()),Lt)),xt.exports}
14
14
  /*
15
15
  object-assign
16
16
  (c) Sindre Sorhus
17
17
  @license MIT
18
- */function dr(){if(Qn)return Kn;Qn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Kn=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},Kn}function pr(){if(qn)return $n;qn=1;return $n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function fr(){return tr?er:(tr=1,er=Function.call.bind(Object.prototype.hasOwnProperty))}function hr(){if(rr)return nr;rr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=pr(),n={},r=fr();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},nr=o}function mr(){if(ir)return or;ir=1;var e=ur(),t=dr(),n=pr(),r=fr(),o=hr(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),or=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(a),arrayOf:function(e){return h(function(t,r,o,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new f("Invalid "+i+" `"+a+"` of type `"+y(s)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,o,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:h(function(e,t,n,r,o){var i=e[t];return s(i)?null:new f("Invalid "+r+" `"+o+"` of type `"+y(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:h(function(t,n,r,o,i){var a=t[n];return e.isValidElementType(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return h(function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+o+" `"+i+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var s;return null})},node:h(function(e,t,n,r,o){return b(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return h(function(t,o,i,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=y(l);if("object"!==c)return new f("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(r(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return h(function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(o)+" at index "+t+"."),a}return h(function(t,o,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,i,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return h(function(t,r,o,i,a){var s=t[r],l=y(s);if("object"!==l)return new f("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,i,a,c,v(u));var d=u(s,c,o,i,a+"."+c,n);if(d)return d}return null})},exact:function(e){return h(function(o,i,a,s,l){var c=o[i],u=y(c);if("object"!==u)return new f("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},o[i],e);for(var p in d){var h=e[p];if(r(e,p)&&"function"!=typeof h)return g(a,s,l,p,v(h));if(!h)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(c,p,a,s,l+"."+p,n);if(m)return m}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,a,s,c,d,p,h){if(c=c||u,p=p||s,h!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,r++)}}return null==a[s]?o?null===a[s]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function m(e){return h(function(t,n,r,o,i,a){var s=t[n];return y(s)!==e?new f("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,r,o){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function I(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},or}function gr(){if(sr)return ar;sr=1;var e=pr();function t(){}function n(){}return n.resetWarningCache=t,ar=function(){function r(t,n,r,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function br(){if(lr)return zn.exports;if(lr=1,"production"!==process.env.NODE_ENV){var e=ur();zn.exports=mr()(e.isElement,true)}else zn.exports=gr()();return zn.exports}var yr,vr,Ir={exports:{}},xr={},Cr={exports:{}};function Ar(){return yr||(yr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};
18
+ */function Wt(){if(Nt)return Et;Nt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Et=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(a[c]=i[c]);if(e){s=e(i);for(var u=0;u<s.length;u++)n.call(i,s[u])&&(a[s[u]]=i[s[u]])}}return a},Et}function Ht(){if(Tt)return Gt;Tt=1;return Gt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Ft(){return Pt?Rt:(Pt=1,Rt=Function.call.bind(Object.prototype.hasOwnProperty))}function jt(){if(Vt)return St;Vt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ht(),n={},o=Ft();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},St=r}function Zt(){if(kt)return Bt;kt=1;var e=Xt(),t=Wt(),n=Ht(),o=Ft(),r=jt(),i=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Bt=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(s),arrayOf:function(e){return h(function(t,o,r,i,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[o];if(!Array.isArray(a))return new f("Invalid "+i+" `"+s+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,i,s+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:h(function(e,t,n,o,r){var i=e[t];return a(i)?null:new f("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:h(function(t,n,o,r,i){var s=t[n];return e.isValidElementType(s)?null:new f("Invalid "+r+" `"+i+"` of type `"+v(s)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return h(function(t,n,o,r,i){if(!(t[n]instanceof e)){var s=e.name||u;return new f("Invalid "+r+" `"+i+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `")+o+"`, expected instance of `"+s+"`.")}var a;return null})},node:h(function(e,t,n,o,r){return b(e[t])?null:new f("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return h(function(t,r,i,s,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new f("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,s,a+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s;return h(function(t,n,o,r,i){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new f("Invalid "+r+" `"+i+"` of value `"+String(s)+"` supplied to `"+o+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(r)+" at index "+t+"."),s}return h(function(t,r,i,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,s,a,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return h(function(t,o,r,i,s){var a=t[o],l=v(a);if("object"!==l)return new f("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,s,c,y(u));var d=u(a,c,r,i,s+"."+c,n);if(d)return d}return null})},exact:function(e){return h(function(r,i,s,a,l){var c=r[i],u=v(c);if("object"!==u)return new f("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var h=e[p];if(o(e,p)&&"function"!=typeof h)return g(s,a,l,p,y(h));if(!h)return new f("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=h(c,p,s,a,l+"."+p,n);if(m)return m}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,s,a,c,d,p,h){if(c=c||u,p=p||a,h!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==s[a]?r?null===s[a]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,d,p)}var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function m(e){return h(function(t,n,o,r,i,s){var a=t[n];return v(a)!==e?new f("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,o,r){return new f((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function I(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},Bt}function zt(){if(Mt)return Ot;Mt=1;var e=Ht();function t(){}function n(){}return n.resetWarningCache=t,Ot=function(){function o(t,n,o,r,i,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function Yt(){if(Dt)return It.exports;if(Dt=1,"production"!==process.env.NODE_ENV){var e=Xt();It.exports=Zt()(e.isElement,true)}else It.exports=zt()();return It.exports}var Jt,Ut,_t={exports:{}},Qt={},$t={exports:{}};function Kt(){return Jt||(Jt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(a)};
19
19
  /*!
20
20
  * Adapted from jQuery UI core
21
21
  *
@@ -27,13 +27,5 @@ object-assign
27
27
  *
28
28
  * http://api.jqueryui.com/category/ui-core/
29
29
  */
30
- var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Cr,Cr.exports)),Cr.exports}function Er(){if(vr)return xr;vr=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.resetState=function(){r=[]},xr.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),r.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},xr.handleBlur=a,xr.handleFocus=s,xr.markForFocusLater=function(){r.push(document.activeElement)},xr.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==r.length&&(t=r.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},xr.popWithoutFocus=function(){r.length>0&&r.pop()},xr.setupScopedFocus=function(e){o=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},xr.teardownScopedFocus=function(){o=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=Ar(),n=(e=t)&&e.__esModule?e:{default:e};var r=[],o=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!o)return;setTimeout(function(){o.contains(document.activeElement)||((0,n.default)(o)[0]||o).focus()},0)}}return xr}var wr,Sr={exports:{}};function Or(){return wr||(wr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;r=l}l!==c||a||(r=s);s===c&&a&&(r=l);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(r=n[d],void 0===r)return t.preventDefault(),void(r=a?l:s).focus();t.preventDefault(),r.focus()};var n,r=Ar(),o=(n=r)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Sr,Sr.exports)),Sr.exports}var Nr,Tr,Pr={};function Rr(){if(Tr)return Nr;Tr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,r){var o=arguments.length;r=new Array(o>2?o-2:0);for(var i=2;i<o;i++)r[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(r))}}return Nr=e}var Gr,Br,Lr,kr={},Vr={exports:{}};function Mr(){if(Br)return kr;Br=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.canUseDOM=kr.SafeNodeList=kr.SafeHTMLCollection=void 0;var e,t,n=(Gr||(Gr=1,e=Vr,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),Vr.exports);var r=((t=n)&&t.__esModule?t:{default:t}).default,o=r.canUseDOM?window.HTMLElement:{};return kr.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},kr.SafeNodeList=r.canUseDOM?window.NodeList:{},kr.canUseDOM=r.canUseDOM,kr.default=o,kr}function Dr(){if(Lr)return Pr;Lr=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")}));o=null},Pr.log=function(){if("production"!==process.env.NODE_ENV){var e=o||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Pr.assertNodeList=i,Pr.setElement=function(e){var t=e;if("string"==typeof t&&r.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return o=t||o},Pr.validateElement=a,Pr.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=a(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},Pr.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=a(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},Pr.documentNotReadyOrSSRTesting=function(){o=null};var e,t=Rr(),n=(e=t)&&e.__esModule?e:{default:e},r=Mr();var o=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Pr}var jr,Hr={};function Wr(){if(jr)return Hr;jr=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.resetState=function(){var r=document.getElementsByTagName("html")[0];for(var o in e)n(r,e[o]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Hr.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,r="Show tracked classes:\n\n";for(var o in r+="<html /> ("+n+"):\n ",e)r+=" "+o+" "+e[o]+"\n ";for(var i in r+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)r+=" "+i+" "+t[i]+"\n ";r+="\n",console.log(r)}};var e={},t={};function n(e,t){e.classList.remove(t)}return Hr.add=function(n,r){return o=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void r.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)});var o,i},Hr.remove=function(n,r){return o=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void r.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)});var o,i},Hr}var Xr,Fr={};function Zr(){if(Xr)return Fr;Xr=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Fr.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return Fr.default=t,Fr}var zr,Yr,_r={};function Jr(){return Yr||(Yr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=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},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=o,s=g(br()),l=m(Er()),c=g(Or()),u=m(Dr()),d=m(Wr()),p=Mr(),f=g(p),h=g(Zr());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(zr)return _r;zr=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.resetState=function(){for(var e=[r,o],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}r=o=null,i=[]},_r.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[r,o],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=Zr(),n=(e=t)&&e.__esModule?e:{default:e},r=void 0,o=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){r||o||((r=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),r.style.position="absolute",r.style.opacity="0",r.setAttribute("tabindex","0"),r.addEventListener("focus",a),(o=r.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==r&&document.body.insertBefore(r,document.body.firstChild),document.body.lastChild!==o&&document.body.appendChild(o)):(r.parentElement&&r.parentElement.removeChild(r),o.parentElement&&o.parentElement.removeChild(o))})}();var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),o&&d.remove(s.getElementsByTagName("html")[0],o),r&&y>0&&0===(y-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=o.base;return n.state.afterOpen&&(i=i+" "+o.afterOpen),n.state.beforeClose&&(i=i+" "+o.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&d.add(a.body,o),r&&d.add(a.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=r?{}:i.content,l=o?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=v,e.exports=t.default}(Ir,Ir.exports)),Ir.exports}function Ur(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Kr(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Qr(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}Ur.__suppressDeprecationWarning=!0,Kr.__suppressDeprecationWarning=!0,Qr.__suppressDeprecationWarning=!0;var $r,qr,eo=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=Ur,t.componentWillReceiveProps=Kr),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Qr;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}}),to=je(eo);function no(){if($r)return Zn;$r=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.bodyOpenClassName=Zn.portalClassName=void 0;var e=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},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=o,r=p(n),i=p(x),a=p(br()),s=p(Jr()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(Dr()),c=Mr(),u=p(c),d=to;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=Zn.portalClassName="ReactModalPortal",m=Zn.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,b=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function v(e){return e()}var I=function(n){function o(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=v(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,r.default.createElement(s.default,e({defaultStyles:o.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,n),t(o,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=b("div")),this.node.className=this.props.portalClassName,v(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:v(e.parentSelector),nextParent:v(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=b("div")),y()(r.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:o.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),o}(n.Component);return I.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},I.defaultProps={isOpen:!1,portalClassName:h,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return r.default.createElement("div",e,t)},contentElement:function(e,t){return r.default.createElement("div",e,t)}},I.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(I),"production"!==process.env.NODE_ENV&&(I.setCreateHTMLElement=function(e){return b=e}),Zn.default=I,Zn}var ro=De((qr||(qr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=no(),o=(n=r)&&n.__esModule?n:{default:n};t.default=o.default,e.exports=t.default}(Fn,Fn.exports)),Fn.exports));function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oo.apply(null,arguments)}function io(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function ao(e,t){return ao=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ao(e,t)}var so=De(br()),lo=!1,co="production"!==process.env.NODE_ENV?so.oneOfType([so.number,so.shape({enter:so.number,exit:so.number,appear:so.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&so.oneOfType([so.string,so.shape({enter:so.string,exit:so.string,active:so.string}),so.shape({enter:so.string,enterDone:so.string,enterActive:so.string,exit:so.string,exitDone:so.string,exitActive:so.string})]);var uo=o.createContext(null),po="unmounted",fo="exited",ho="entering",mo="entered",go="exiting",bo=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=fo,r.appearStatus=ho):o=mo:o=t.unmountOnExit||t.mountOnEnter?po:fo,r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,ao(t,n),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===po?{status:fo}:null};var i=r.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ho&&n!==mo&&(t=ho):n!==ho&&n!==mo||(t=go)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ho){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fo&&this.setState({status:po})},i.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[x.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||lo?this.safeSetState({status:mo},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:ho},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:mo},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:x.findDOMNode(this);t&&!lo?(this.props.onExit(r),this.safeSetState({status:go},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:fo},function(){e.props.onExited(r)})})})):this.safeSetState({status:fo},function(){e.props.onExited(r)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===po)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=io(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return o.createElement(uo.Provider,{value:null},"function"==typeof n?n(e,r):o.cloneElement(o.Children.only(n),r))},r}(o.Component);function yo(){}bo.contextType=uo,bo.propTypes="production"!==process.env.NODE_ENV?{nodeRef:so.shape({current:"undefined"==typeof Element?so.any:function(e,t,n,r,o,i){var a=e[t];return so.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:so.oneOfType([so.func.isRequired,so.element.isRequired]).isRequired,in:so.bool,mountOnEnter:so.bool,unmountOnExit:so.bool,appear:so.bool,enter:so.bool,exit:so.bool,timeout:function(e){var t=co;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:so.func,onEnter:so.func,onEntering:so.func,onEntered:so.func,onExit:so.func,onExiting:so.func,onExited:so.func}:{},bo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yo,onEntering:yo,onEntered:yo,onExit:yo,onExiting:yo,onExited:yo},bo.UNMOUNTED=po,bo.EXITED=fo,bo.ENTERING=ho,bo.ENTERED=mo,bo.EXITING=go;const vo=({size:n="md",shape:r="default",animation:o="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:h,portalClassName:m,overlayClassName:g,closeButtonClassName:b,closeWrapperClassName:y,onRequestClose:v,parentSelector:I,hideScrollOnIsOpenFalse:x=!0,hideCloseButton:C=!1,...A})=>{Wn(u,x);const[E,w]=a(!1);l(()=>{w(u)},[u]);const S=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!S)return null;if(!u)return null;const O=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),N=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(bo,{enter:!0,exit:!0,in:E,timeout:0,children:a=>t(ro,{ariaHideApp:!1,isOpen:u,onRequestClose:v,closeTimeoutMS:0,parentSelector:()=>S,className:Ve("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",O(n),"rounded"===r&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",N(o,a),f),portalClassName:Ve("z-80",m),overlayClassName:Ve("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...A,children:[!C&&e("div",{className:Ve(y),children:e(Gn,{className:Ve("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),onClick:v,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(Sn,{name:"close",size:24})})}),s?e("div",{className:Ve("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:Ve("p-5",h),style:p,"data-testid":A["data-testid"],"data-cy":A["data-cy"],children:d})]})})};vo.displayName="Modal";const Io=t=>{const{open:n,children:r}=t,o=u(null),[i,s]=a(0);return l(()=>{const e=o.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:o,children:r})})};Io.displayName="Collapse";const xo=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:f,borderRadiusNone:h=!1}=n,[m,g]=a(Boolean(!1));return l(()=>{if(f){const e=window.innerWidth>=1024;g(e)}else g(Boolean(o))},[f,o]),t("div",{className:Ve(h?"rounded-none border":"rounded-surface-xs border",s),children:[t(Gn,{type:"button",className:Ve(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:Ve("label5 flex-1",c),children:r}),e(Sn,{className:Ve("flex-shrink-0",p),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(Io,{open:m,children:e("div",{className:Ve("px-4 py-4",u),children:i})})]})};xo.displayName="Accordion";const Co=({state:n,checked:r=!1,onChange:o,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:h=!1,error:m=!1,"data-cy":g,renderInfoIcon:b,...y})=>{const v=f||"disabled"===n,I=p||u,x=Ve("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),C=s(e=>{v||o&&(1===o.length?o(e.target.checked):o())},[v,o]);return t("div",{className:Ve("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:r,onChange:C,disabled:v,required:h,className:"peer sr-only","data-cy":g,...y}),e("label",{htmlFor:I,className:Ve("peer-focus:outline",x),style:{pointerEvents:v?"none":"auto"},children:t("svg",r?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:Ve(v?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Ve(v?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:I,className:Ve("cursor-pointer",m&&"text-text-critical",l),children:a}),b&&e(Gn,{type:"button",onClick:b.onClick,"data-testid":b.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Ao(e){return Ao="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ao(e)}function Eo(e){var t=function(e,t){if("object"!=Ao(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Ao(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ao(t)?t:t+""}function wo(e,t,n){return(t=Eo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function So(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?So(Object(n),!0).forEach(function(t){wo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):So(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function No(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function To(e,t){if(e){if("string"==typeof e)return No(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?No(e,t):void 0}}function Po(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||To(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ro(e,t){if(null==e)return{};var n,r,o=io(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Co.displayName="Checkbox";var Go=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Bo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Eo(r.key),r)}}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lo(e)}function ko(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!e})()}function Vo(e,t){if(t&&("object"==Ao(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Mo(e){return function(e){if(Array.isArray(e))return No(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||To(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Do=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),jo="-ms-",Ho="-moz-",Wo="-webkit-",Xo="comm",Fo="rule",Zo="decl",zo="@keyframes",Yo=Math.abs,_o=String.fromCharCode,Jo=Object.assign;function Uo(e){return e.trim()}function Ko(e,t,n){return e.replace(t,n)}function Qo(e,t){return e.indexOf(t)}function $o(e,t){return 0|e.charCodeAt(t)}function qo(e,t,n){return e.slice(t,n)}function ei(e){return e.length}function ti(e){return e.length}function ni(e,t){return t.push(e),e}var ri=1,oi=1,ii=0,ai=0,si=0,li="";function ci(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ri,column:oi,length:a,return:""}}function ui(e,t){return Jo(ci("",null,null,"",null,null,0),e,{length:-e.length},t)}function di(){return si=ai>0?$o(li,--ai):0,oi--,10===si&&(oi=1,ri--),si}function pi(){return si=ai<ii?$o(li,ai++):0,oi++,10===si&&(oi=1,ri++),si}function fi(){return $o(li,ai)}function hi(){return ai}function mi(e,t){return qo(li,e,t)}function gi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bi(e){return ri=oi=1,ii=ei(li=e),ai=0,[]}function yi(e){return li="",e}function vi(e){return Uo(mi(ai-1,Ci(91===e?e+2:40===e?e+1:e)))}function Ii(e){for(;(si=fi())&&si<33;)pi();return gi(e)>2||gi(si)>3?"":" "}function xi(e,t){for(;--t&&pi()&&!(si<48||si>102||si>57&&si<65||si>70&&si<97););return mi(e,hi()+(t<6&&32==fi()&&32==pi()))}function Ci(e){for(;pi();)switch(si){case e:return ai;case 34:case 39:34!==e&&39!==e&&Ci(si);break;case 40:41===e&&Ci(e);break;case 92:pi()}return ai}function Ai(e,t){for(;pi()&&e+si!==57&&(e+si!==84||47!==fi()););return"/*"+mi(t,ai-1)+"*"+_o(47===e?e:pi())}function Ei(e){for(;!gi(fi());)pi();return mi(e,ai)}function wi(e){return yi(Si("",null,null,null,[""],e=bi(e),0,[0],e))}function Si(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,y=0,v="",I=o,x=i,C=r,A=v;g;)switch(h=y,y=pi()){case 40:if(108!=h&&58==$o(A,d-1)){-1!=Qo(A+=Ko(vi(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:A+=vi(y);break;case 9:case 10:case 13:case 32:A+=Ii(h);break;case 92:A+=xi(hi()-1,7);continue;case 47:switch(fi()){case 42:case 47:ni(Ni(Ai(pi(),hi()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=ei(A)*b;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==b&&(A=Ko(A,/\f/g,"")),f>0&&ei(A)-d&&ni(f>32?Ti(A+";",r,n,d-1):Ti(Ko(A," ","")+";",r,n,d-2),l);break;case 59:A+=";";default:if(ni(C=Oi(A,t,n,c,u,o,s,v,I=[],x=[],d),i),123===y)if(0===u)Si(A,t,C,C,I,i,d,s,x);else switch(99===p&&110===$o(A,3)?100:p){case 100:case 108:case 109:case 115:Si(e,C,C,r&&ni(Oi(e,C,C,0,0,o,s,v,o,I=[],d),x),o,x,d,s,r?I:x);break;default:Si(A,C,C,C,[""],x,0,s,x)}}c=u=f=0,m=b=1,v=A="",d=a;break;case 58:d=1+ei(A),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==di())continue;switch(A+=_o(y),y*m){case 38:b=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(ei(A)-1)*b,b=1;break;case 64:45===fi()&&(A+=vi(pi())),p=fi(),u=d=ei(v=A+=Ei(hi())),y++;break;case 45:45===h&&2==ei(A)&&(m=0)}}return i}function Oi(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],f=ti(p),h=0,m=0,g=0;h<r;++h)for(var b=0,y=qo(e,d+1,d=Yo(m=a[h])),v=e;b<f;++b)(v=Uo(m>0?p[b]+" "+y:Ko(y,/&\f/g,p[b])))&&(l[g++]=v);return ci(e,t,n,0===o?Fo:s,l,c,u)}function Ni(e,t,n){return ci(e,t,n,Xo,_o(si),qo(e,2,-2),0)}function Ti(e,t,n,r){return ci(e,t,n,Zo,qo(e,0,r),qo(e,r+1,-1),r)}function Pi(e,t){for(var n="",r=ti(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Ri(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Zo:return e.return=e.return||e.value;case Xo:return"";case zo:return e.return=e.value+"{"+Pi(e.children,r)+"}";case Fo:e.value=e.props.join(",")}return ei(n=Pi(e.children,r))?e.return=e.value+"{"+n+"}":""}function Gi(e){var t=ti(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var Bi="undefined"!=typeof document,Li=function(e,t,n){for(var r=0,o=0;r=o,o=fi(),38===r&&12===o&&(t[n]=1),!gi(o);)pi();return mi(e,ai)},ki=function(e,t){return yi(function(e,t){var n=-1,r=44;do{switch(gi(r)){case 0:38===r&&12===fi()&&(t[n]=1),e[n]+=Li(ai-1,t,n);break;case 2:e[n]+=vi(r);break;case 4:if(44===r){e[++n]=58===fi()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=_o(r)}}while(r=pi());return e}(bi(e),t))},Vi=new WeakMap,Mi=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Vi.get(n))&&!r){Vi.set(e,!0);for(var o=[],i=ki(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Di=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ji(e,t){switch(function(e,t){return 45^$o(e,0)?(((t<<2^$o(e,0))<<2^$o(e,1))<<2^$o(e,2))<<2^$o(e,3):0}(e,t)){case 5103:return Wo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Wo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Wo+e+Ho+e+jo+e+e;case 6828:case 4268:return Wo+e+jo+e+e;case 6165:return Wo+e+jo+"flex-"+e+e;case 5187:return Wo+e+Ko(e,/(\w+).+(:[^]+)/,Wo+"box-$1$2"+jo+"flex-$1$2")+e;case 5443:return Wo+e+jo+"flex-item-"+Ko(e,/flex-|-self/,"")+e;case 4675:return Wo+e+jo+"flex-line-pack"+Ko(e,/align-content|flex-|-self/,"")+e;case 5548:return Wo+e+jo+Ko(e,"shrink","negative")+e;case 5292:return Wo+e+jo+Ko(e,"basis","preferred-size")+e;case 6060:return Wo+"box-"+Ko(e,"-grow","")+Wo+e+jo+Ko(e,"grow","positive")+e;case 4554:return Wo+Ko(e,/([^-])(transform)/g,"$1"+Wo+"$2")+e;case 6187:return Ko(Ko(Ko(e,/(zoom-|grab)/,Wo+"$1"),/(image-set)/,Wo+"$1"),e,"")+e;case 5495:case 3959:return Ko(e,/(image-set\([^]*)/,Wo+"$1$`$1");case 4968:return Ko(Ko(e,/(.+:)(flex-)?(.*)/,Wo+"box-pack:$3"+jo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Wo+e+e;case 4095:case 3583:case 4068:case 2532:return Ko(e,/(.+)-inline(.+)/,Wo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ei(e)-1-t>6)switch($o(e,t+1)){case 109:if(45!==$o(e,t+4))break;case 102:return Ko(e,/(.+:)(.+)-([^]+)/,"$1"+Wo+"$2-$3$1"+Ho+(108==$o(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Qo(e,"stretch")?ji(Ko(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==$o(e,t+1))break;case 6444:switch($o(e,ei(e)-3-(~Qo(e,"!important")&&10))){case 107:return Ko(e,":",":"+Wo)+e;case 101:return Ko(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Wo+(45===$o(e,14)?"inline-":"")+"box$3$1"+Wo+"$2$3$1"+jo+"$2box$3")+e}break;case 5936:switch($o(e,t+11)){case 114:return Wo+e+jo+Ko(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Wo+e+jo+Ko(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Wo+e+jo+Ko(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Wo+e+jo+e+e}return e}var Hi,Wi,Xi,Fi=Bi?void 0:(Hi=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Wi=new WeakMap,function(e){if(Wi.has(e))return Wi.get(e);var t=Hi(e);return Wi.set(e,t),t}),Zi=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Zo:e.return=ji(e.value,e.length);break;case zo:return Pi([ui(e,{value:Ko(e.value,"@","@"+Wo)})],r);case Fo:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pi([ui(e,{props:[Ko(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Pi([ui(e,{props:[Ko(t,/:(plac\w+)/,":"+Wo+"input-$1")]}),ui(e,{props:[Ko(t,/:(plac\w+)/,":-moz-$1")]}),ui(e,{props:[Ko(t,/:(plac\w+)/,jo+"input-$1")]})],r)}return""})}}],zi=function(e){var t=e.key;if(Bi&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Zi,a={},s=[];Bi&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Mi,Di];if(Fi){var u=[Ri],d=Gi(c.concat(i,u)),p=Fi(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Pi(wi(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=f(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),i):r?void(b.inserted[o]=i):i}}else{var h,m=[Ri,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Gi(c.concat(i,m));o=function(e,t,n,r){h=n,Pi(wi(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Do({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return b.sheet.hydrate(s),b},Yi={exports:{}},_i={};var Ji,Ui,Ki,Qi,$i={};
31
- /** @license React v16.13.1
32
- * react-is.development.js
33
- *
34
- * Copyright (c) Facebook, Inc. and its affiliates.
35
- *
36
- * This source code is licensed under the MIT license found in the
37
- * LICENSE file in the root directory of this source tree.
38
- */function qi(){return Ui||(Ui=1,"production"===process.env.NODE_ENV?Yi.exports=function(){if(Xi)return _i;Xi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return v(e)===c}return _i.AsyncMode=l,_i.ConcurrentMode=c,_i.ContextConsumer=s,_i.ContextProvider=a,_i.Element=t,_i.ForwardRef=u,_i.Fragment=r,_i.Lazy=h,_i.Memo=f,_i.Portal=n,_i.Profiler=i,_i.StrictMode=o,_i.Suspense=d,_i.isAsyncMode=function(e){return I(e)||v(e)===l},_i.isConcurrentMode=I,_i.isContextConsumer=function(e){return v(e)===s},_i.isContextProvider=function(e){return v(e)===a},_i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},_i.isForwardRef=function(e){return v(e)===u},_i.isFragment=function(e){return v(e)===r},_i.isLazy=function(e){return v(e)===h},_i.isMemo=function(e){return v(e)===f},_i.isPortal=function(e){return v(e)===n},_i.isProfiler=function(e){return v(e)===i},_i.isStrictMode=function(e){return v(e)===o},_i.isSuspense=function(e){return v(e)===d},_i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},_i.typeOf=v,_i}():Yi.exports=(Ji||(Ji=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case h:case f:case a:return g;default:return p}}case n:return p}}}var I=l,x=c,C=s,A=a,E=t,w=u,S=r,O=h,N=f,T=n,P=i,R=o,G=d,B=!1;function L(e){return v(e)===c}$i.AsyncMode=I,$i.ConcurrentMode=x,$i.ContextConsumer=C,$i.ContextProvider=A,$i.Element=E,$i.ForwardRef=w,$i.Fragment=S,$i.Lazy=O,$i.Memo=N,$i.Portal=T,$i.Profiler=P,$i.StrictMode=R,$i.Suspense=G,$i.isAsyncMode=function(e){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||v(e)===l},$i.isConcurrentMode=L,$i.isContextConsumer=function(e){return v(e)===s},$i.isContextProvider=function(e){return v(e)===a},$i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},$i.isForwardRef=function(e){return v(e)===u},$i.isFragment=function(e){return v(e)===r},$i.isLazy=function(e){return v(e)===h},$i.isMemo=function(e){return v(e)===f},$i.isPortal=function(e){return v(e)===n},$i.isProfiler=function(e){return v(e)===i},$i.isStrictMode=function(e){return v(e)===o},$i.isSuspense=function(e){return v(e)===d},$i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y||e.$$typeof===m)},$i.typeOf=v}()),$i)),Yi.exports}!function(){if(Qi)return Ki;Qi=1;var e=qi(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Ki=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var f=s(r);l&&(f=f.concat(l(r)));for(var h=i(t),m=i(r),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||o&&o[b]||m&&m[b]||h&&h[b])){var y=c(r,b);try{a(t,b,y)}catch(e){}}}}return t}}();var ea="undefined"!=typeof document;var ta=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ea&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var na={animationIterationCount:1,aspectRatio: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,scale: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 ra(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var oa=/[A-Z]|^ms/g,ia=/_EMO_([^_]+?)_([^]*?)_EMO_/g,aa=function(e){return 45===e.charCodeAt(1)},sa=function(e){return null!=e&&"boolean"!=typeof e},la=ra(function(e){return aa(e)?e:e.replace(oa,"-$&").toLowerCase()}),ca=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ia,function(e,t,n){return da={name:t,styles:n,next:da},t})}return 1===na[e]||aa(e)||"number"!=typeof t||0===t?t:t+"px"};function ua(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return da={name:o.name,styles:o.styles,next:da},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)da={name:a.name,styles:a.styles,next:da},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ua(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;sa(s)&&(r+=la(i)+":"+ca(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)sa(a[l])&&(r+=la(i)+":"+ca(i,a[l])+";");else{var c=ua(e,t,a);switch(i){case"animation":case"animationName":r+=la(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=da,l=n(e);return da=s,ua(e,t,l)}}return n}var da,pa=/label:\s*([^\s;{]+)\s*(;|$)/g;function fa(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";da=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=ua(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=ua(n,t,e[a]),r)o+=i[a]}pa.lastIndex=0;for(var s,l="";null!==(s=pa.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:da}}var ha="undefined"!=typeof document,ma=function(e){return e()},ga=!!r.useInsertionEffect&&r.useInsertionEffect,ba=ha&&ga||ma,ya="undefined"!=typeof document,va=r.createContext("undefined"!=typeof HTMLElement?zi({key:"css"}):null);va.Provider;var Ia=function(e){return i(function(t,n){var r=d(va);return e(t,r,n)})};ya||(Ia=function(e){return function(t){var n=d(va);return null===n?(n=zi({key:"css"}),r.createElement(va.Provider,{value:n},e(t,n))):e(t,n)}});var xa,Ca,Aa=r.createContext({}),Ea={}.hasOwnProperty,wa="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Sa=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;ta(t,n,o);var i=ba(function(){return function(e,t,n){ta(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);ea||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!ea&&0!==o.length)return o}}(t,n,o)});if(!ya&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Oa=Ia(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[wa],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=fa(a,void 0,r.useContext(Aa));s+=t.key+"-"+l.name;var c={};for(var u in e)Ea.call(e,u)&&"css"!==u&&u!==wa&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Sa,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))}),Na=Oa,Ta=function(e,t){var n=arguments;if(null==t||!Ea.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Na,i[1]=function(e,t){var n={};for(var r in t)Ea.call(t,r)&&(n[r]=t[r]);return n[wa]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Pa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fa(t)}xa=Ta||(Ta={}),Ca||(Ca=xa.JSX||(xa.JSX={}));const Ra=Math.min,Ga=Math.max,Ba=Math.round,La=Math.floor,ka=e=>({x:e,y:e});function Va(){return"undefined"!=typeof window}function Ma(e){return Ha(e)?(e.nodeName||"").toLowerCase():"#document"}function Da(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ja(e){var t;return null==(t=(Ha(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ha(e){return!!Va()&&(e instanceof Node||e instanceof Da(e).Node)}function Wa(e){return!!Va()&&(e instanceof HTMLElement||e instanceof Da(e).HTMLElement)}function Xa(e){return!(!Va()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Da(e).ShadowRoot)}const Fa=new Set(["inline","contents"]);function Za(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ya(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Fa.has(o)}const za=new Set(["html","body","#document"]);function Ya(e){return Da(e).getComputedStyle(e)}function _a(e){const t=function(e){if("html"===Ma(e))return e;const t=e.assignedSlot||e.parentNode||Xa(e)&&e.host||ja(e);return Xa(t)?t.host:t}(e);return function(e){return za.has(Ma(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wa(t)&&Za(t)?t:_a(t)}function Ja(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=_a(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Da(o);if(i){const e=Ua(a);return t.concat(a,a.visualViewport||[],Za(o)?o:[],e&&n?Ja(e):[])}return t.concat(o,Ja(o,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ka(e){return t=e,Va()&&(t instanceof Element||t instanceof Da(t).Element)?e:e.contextElement;var t}function Qa(e){const t=Ka(e);if(!Wa(t))return ka(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=Ya(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Wa(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ba(n)!==i||Ba(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?Ba(n.width):n.width)/r,s=(i?Ba(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function $a(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=Ka(e);let a=ka(1);t&&(a=Qa(e));const s=ka(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=r;let t=Da(i),n=Ua(t);for(;n&&r&&e!==t;){const e=Qa(n),r=n.getBoundingClientRect(),o=Ya(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=Da(n),n=Ua(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function qa(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function es(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ka(e),u=o||i?[...c?Ja(c):[],...Ja(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const o=ja(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const h={rootMargin:-La(d)+"px "+-La(o.clientWidth-(u+p))+"px "+-La(o.clientHeight-(d+f))+"px "+-La(u)+"px",threshold:Ga(0,Ra(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||qa(c,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let m=l?$a(e):null;return l&&function t(){const r=$a(e);m&&!qa(m,r)&&n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var ts="undefined"!=typeof document?p:function(){},ns=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],rs=function(){};function os(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function is(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(os(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var as=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Ao(e)&&null!==e?[e]:[];var t},ss=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Oo({},Ro(e,ns))},ls=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function cs(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function us(e){return cs(e)?window.pageYOffset:e.scrollTop}function ds(e,t){cs(e)?window.scrollTo(0,t):e.scrollTop=t}function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rs,o=us(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;ds(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function fs(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?ds(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&ds(e,Math.max(t.offsetTop-o,0))}function hs(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var ms=!1,gs={get passive(){return ms=!0}},bs="undefined"!=typeof window?window:{};bs.addEventListener&&bs.removeEventListener&&(bs.addEventListener("p",rs,gs),bs.removeEventListener("p",rs,!1));var ys=ms;function vs(e){return null!=e}function Is(e,t,n){return e?t:n}var xs=["children","innerProps"],Cs=["children","innerProps"];function As(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:cs(u=l)?window.innerHeight:u.clientHeight,y=us(l),v=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=b-m,A=x+y,E=d-y-m,w=f-b+y+v,S=y+m-I,O=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!a)return i&&ps(l,w,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&C>=r)return i&&ps(l,w,O),{placement:"bottom",maxHeight:a?C-v:E-v};if("auto"===o||a){var N=t,T=a?x:A;return T>=r&&(N=Math.min(T-v-s,t)),{placement:"top",maxHeight:N}}if("bottom"===o)return i&&ds(l,w),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(A>=h&&!a)return i&&ps(l,S,O),{placement:"top",maxHeight:t};if(!a&&A>=r||a&&x>=r){var P=t;return(!a&&A>=r||a&&x>=r)&&(P=a?x-I:A-I),i&&ps(l,S,O),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Es,ws=function(e){return"auto"===e?"bottom":e},Ss=f(null),Os=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(d(Ss)||{}).setPortalPlacement,p=u(null),f=Po(a(r),2),h=f[0],m=f[1],g=Po(a(null),2),b=g[0],y=g[1],v=l.spacing.controlHeight;return ts(function(){var e=p.current;if(e){var t="fixed"===i,a=As({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});m(a.maxHeight),y(a.placement),null==c||c(a.placement)}},[r,o,i,s,n,c,v]),t({ref:p,placerProps:Oo(Oo({},e),{},{placement:b||ws(o),maxHeight:h})})},Ns=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ta("div",oo({},ls(e,"menu",{menu:!0}),{ref:n},r),t)},Ts=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Oo({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Ps=Ts,Rs=Ts,Gs=["size"],Bs=["innerProps","isRtl","size"];var Ls,ks,Vs="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICY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hlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Ms=function(e){var t=e.size,n=Ro(e,Gs);return Ta("svg",oo({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Vs},n))},Ds=function(e){return Ta(Ms,oo({size:20},e),Ta("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},js=function(e){return Ta(Ms,oo({size:20},e),Ta("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Hs=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Oo({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},Ws=Hs,Xs=Hs,Fs=function(){var e=Pa.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Es||(Ls=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ks||(ks=Ls.slice(0)),Es=Object.freeze(Object.defineProperties(Ls,{raw:{value:Object.freeze(ks)}})))),Zs=function(e){var t=e.delay,n=e.offset;return Ta("span",{css:Pa({animation:"".concat(Fs," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICB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Byb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},zs=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Ta("div",oo({ref:o},ls(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Ys=["data"],_s=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Ta("div",oo({},ls(e,"group",{group:!0}),s),Ta(i,oo({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),Ta("div",null,t))},Js=["innerRef","isDisabled","isHidden","inputClassName"],Us={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ks={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Oo({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Us)},Qs=function(e){return Oo({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Us)},$s=function(e){var t=e.cx,n=e.value,r=ss(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Ro(r,Js);return Ta("div",oo({},ls(e,"input",{"input-container":!0}),{"data-value":n||""}),Ta("input",oo({className:t({input:!0},s),ref:o,style:Qs(a),disabled:i},l)))},qs=function(e){var t=e.children,n=e.innerProps;return Ta("div",n,t)};var el=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Ta(l,{data:r,innerProps:Oo(Oo({},ls(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Ta(c,{data:r,innerProps:Oo({},ls(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Ta(u,{data:r,innerProps:Oo(Oo({},ls(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},tl={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ta(Ds,null))},Control:zs,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ta(js,null))},DownChevron:js,CrossIcon:Ds,Group:_s,GroupHeading:function(e){var t=ss(e);t.data;var n=Ro(t,Ys);return Ta("div",oo({},ls(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ta("span",oo({},t,ls(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:$s,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Ro(e,Bs);return Ta("div",oo({},ls(Oo(Oo({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ta(Zs,{delay:0,offset:n}),Ta(Zs,{delay:160,offset:!0}),Ta(Zs,{delay:320,offset:!n}))},Menu:Ns,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Ta("div",oo({},ls(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,l=e.menuPosition,d=u(null),p=u(null),f=Po(a(ws(i)),2),h=f[0],m=f[1],g=c(function(){return{setPortalPlacement:m}},[]),b=Po(a(null),2),y=b[0],v=b[1],I=s(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==y?void 0:y.offset)&&e.left===(null==y?void 0:y.rect.left)&&e.width===(null==y?void 0:y.rect.width)||v({offset:n,rect:e})}},[r,l,h,null==y?void 0:y.offset,null==y?void 0:y.rect.left,null==y?void 0:y.rect.width]);ts(function(){I()},[I]);var x=s(function(){"function"==typeof p.current&&(p.current(),p.current=null),r&&d.current&&(p.current=es(r,d.current,I,{elementResize:"ResizeObserver"in window}))},[r,I]);ts(function(){x()},[x]);var A=s(function(e){d.current=e,x()},[x]);if(!t&&"fixed"!==l||!y)return null;var E=Ta("div",oo({ref:A},ls(Oo(Oo({},e),{},{offset:y.offset,position:l,rect:y.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Ta(Ss.Provider,{value:g},t?C(E,t):E)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Ro(e,Cs);return Ta("div",oo({},ls(Oo(Oo({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=Ro(e,xs);return Ta("div",oo({},ls(Oo(Oo({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:el,MultiValueContainer:qs,MultiValueLabel:qs,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({role:"button"},n),t||Ta(Ds,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Ta("div",oo({},ls(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Ta("div",oo({},ls(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Ta("div",oo({},ls(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ta("div",oo({},ls(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Ta("div",oo({},ls(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},nl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function rl(e,t){return e===t||!(!nl(e)||!nl(t))}function ol(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!rl(e[n],t[n]))return!1;return!0}for(var il="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},al=function(e){return Ta("span",oo({css:il},e))},sl={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ll=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,h=s.isMulti,g=s.isOptionDisabled,b=s.isSearchable,y=s.menuIsOpen,v=s.options,I=s.screenReaderStatus,x=s.tabSelectsValue,C=s.isLoading,A=s["aria-label"],E=s["aria-live"],w=c(function(){return Oo(Oo({},sl),d||{})},[d]),S=c(function(){var e,n="";if(t&&w.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,l=t.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,f=d?d.map(p):[],h=Oo({isDisabled:c&&g(c,a),label:u,labels:f},t);n=w.onChange(h)}return n},[t,w,g,a,p]),O=c(function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&w.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=w.onFocus(s)}return e},[n,r,p,g,w,o,a,u]),N=c(function(){var e="";if(y&&v.length&&!C&&w.onFilter){var t=I({count:o.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[o,f,y,w,v,I,C]),T="initial-input-focus"===(null==t?void 0:t.action),P=c(function(){var e="";if(w.guidance){var t=r?"value":y?"menu":"input";e=w.guidance({"aria-label":A,context:t,isDisabled:n&&g(n,a),isMulti:h,isSearchable:b,tabSelectsValue:x,isInitialFocus:T})}return e},[A,n,r,h,g,b,y,w,a,x,T]),R=Ta(m,null,Ta("span",{id:"aria-selection"},S),Ta("span",{id:"aria-focused"},O),Ta("span",{id:"aria-results"},N),Ta("span",{id:"aria-guidance"},P));return Ta(m,null,Ta(al,{id:l},T&&R),Ta(al,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!T&&R))},cl=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],ul=new RegExp("["+cl.map(function(e){return e.letters}).join("")+"]","g"),dl={},pl=0;pl<cl.length;pl++)for(var fl=cl[pl],hl=0;hl<fl.letters.length;hl++)dl[fl.letters[hl]]=fl.base;var ml=function(e){return e.replace(ul,function(e){return dl[e]})},gl=function(e,t){void 0===t&&(t=ol);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(ml),bl=function(e){return e.replace(/^\s+|\s+$/g,"")},yl=function(e){return"".concat(e.label," ").concat(e.value)},vl=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Oo({ignoreCase:!0,ignoreAccents:!0,stringify:yl,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?bl(n):n,u=s?bl(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=gl(c),u=ml(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Il=["innerRef"];function xl(e){var t=e.innerRef,n=function(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=Object.entries(e).filter(function(e){var t=Po(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Po(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(Ro(e,Il),"onExited","in","enter","exit","appear");return Ta("input",oo({ref:t},n,{css:Pa({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJv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cbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Cl=["boxSizing","height","overflow","paddingRight","position"],Al={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function El(e){e.cancelable&&e.preventDefault()}function wl(e){e.stopPropagation()}function Sl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ol(){return"ontouchstart"in window||navigator.maxTouchPoints}var Nl=!("undefined"==typeof window||!window.document||!window.document.createElement),Tl=0,Pl={capture:!1,passive:!1};var Rl=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Gl="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkN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3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Bl(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=u(!1),c=u(!1),d=u(0),p=u(null),f=s(function(e,t){if(null!==p.current){var s=p.current,l=s.scrollTop,u=s.scrollHeight,d=s.clientHeight,f=p.current,h=t>0,m=u-d-l,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&c.current&&(i&&i(e),c.current=!1),h&&t>m?(n&&!a.current&&n(e),f.scrollTop=u,g=!0,a.current=!0):!h&&-t>l&&(o&&!c.current&&o(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,o,i]),h=s(function(e){f(e,e.deltaY)},[f]),m=s(function(e){d.current=e.changedTouches[0].clientY},[]),g=s(function(e){var t=d.current-e.changedTouches[0].clientY;f(e,t)},[f]),b=s(function(e){if(e){var t=!!ys&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),y=s(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return l(function(){if(t){var e=p.current;return b(e),function(){y(e)}}},[t,b,y]),function(e){p.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=u({}),i=u(null),a=s(function(e){if(Nl){var t=document.body,n=t&&t.style;if(r&&Cl.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&Tl<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Al).forEach(function(e){var t=Al[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ol()&&(t.addEventListener("touchmove",El,Pl),e&&(e.addEventListener("touchstart",Sl,Pl),e.addEventListener("touchmove",wl,Pl))),Tl+=1}},[r]),c=s(function(e){if(Nl){var t=document.body,n=t&&t.style;Tl=Math.max(Tl-1,0),r&&Tl<1&&Cl.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Ol()&&(t.removeEventListener("touchmove",El,Pl),e&&(e.removeEventListener("touchstart",Sl,Pl),e.removeEventListener("touchmove",wl,Pl)))}},[r]);return l(function(){if(t){var e=i.current;return a(e),function(){c(e)}}},[t,a,c]),function(e){i.current=e}}({isEnabled:n});return Ta(m,null,n&&Ta("div",{onClick:Rl,css:Gl}),t(function(e){o(e),i(e)}))}var Ll="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},kl=function(e){var t=e.name,n=e.onFocus;return Ta("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Ll,value:"",onChange:function(){}})};function Vl(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Ml(){return Vl(/^Mac/i)}function Dl(){return Vl(/^iPhone/i)||Vl(/^iPad/i)||Ml()&&navigator.maxTouchPoints>1}var jl={clearIndicator:Xs,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return Oo({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:Ws,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return Oo({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Oo({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Oo(Oo({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ks),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Oo({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Rs,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return Oo((wo(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),wo(n,"position","absolute"),wo(n,"width","100%"),wo(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Oo({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return Oo({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Oo({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Oo({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Ps,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Oo({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Oo({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Oo({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Oo({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Hl={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Wl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hs(),captureMenuScroll:!hs(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:vl(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Xl(e,t,n,r){return{type:"option",data:t,isDisabled:Kl(e,t,n),isSelected:Ql(e,t,n),label:Jl(e,t),value:Ul(e,t),index:r}}function Fl(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return Xl(e,n,t,r)}).filter(function(t){return Yl(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Xl(e,n,t,r);return Yl(e,i)?i:void 0}).filter(vs)}function Zl(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Mo(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function zl(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Mo(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function Yl(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ql(e)||!i)&&$l(e,{label:a,value:s,data:o},r)}var _l=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Jl=function(e,t){return e.getOptionLabel(t)},Ul=function(e,t){return e.getOptionValue(t)};function Kl(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ql(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ul(e,t);return n.some(function(t){return Ul(e,t)===r})}function $l(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ql=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ec=1,tc=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ao(e,t)}(t,h);var e=function(e){var t=ko();return function(){var n,r=Lo(e);if(t){var o=Lo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vo(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Mo(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),a=Is(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Is(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=Is(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return _l(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return zl(Fl(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return is.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Jl(r.props,e)},r.getOptionValue=function(e){return Ul(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=jl[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Oo(Oo({},tl),e.components);var e},r.buildCategorizedOptions=function(){return Fl(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Zl(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Oo({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&cs(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return ql(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=r.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ec),r.state.selectValue=as(n.value),n.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=_l(o,i[a])}return r}return function(e,t,n){t&&Bo(e.prototype,t),n&&Bo(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&fs(this.menuListRef,this.focusedOptionRef),(Ml()||Dl())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(fs(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Hl):Oo(Oo({},Hl),this.props.theme):Hl}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Kl(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ql(this.props,e,t)}},{key:"filterOption",value:function(e,t){return $l(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,h=this.commonProps,m=o||this.getElementId("input"),g=Oo(Oo(Oo({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,oo({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},g)):r.createElement(xl,oo({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rs,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,h=u.inputValue,m=u.placeholder,g=this.state,b=g.selectValue,y=g.focusedValue,v=g.isFocused;if(!this.hasValue()||!d)return h?null:r.createElement(l,oo({},c,{key:"placeholder",isDisabled:p,isFocused:v,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map(function(t,s){var l=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,oo({},c,{components:{Container:o,Label:i,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var I=b[0];return r.createElement(s,oo({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,oo({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return r.createElement(e,oo({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,oo({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,oo({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,y=f.minMenuHeight,v=f.maxMenuHeight,I=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,A=f.menuPortalTarget,E=f.menuShouldBlockScroll,w=f.menuShouldScrollIntoView,S=f.noOptionsMessage,O=f.onMenuScrollToTop,N=f.onMenuScrollToBottom;if(!I)return null;var T,P=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===i,h=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,oo({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,oo({},d,{key:l,data:i,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var R=b({inputValue:m});if(null===R)return null;T=r.createElement(l,d,R)}else{var G=S({inputValue:m});if(null===G)return null;T=r.createElement(c,d,G)}var B={minMenuHeight:y,maxMenuHeight:v,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:w},L=r.createElement(Os,oo({},d,B),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return r.createElement(i,oo({},d,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(Bl,{captureEnabled:h,onTopArrive:O,onBottomArrive:N,lockEnabled:E},function(t){return r.createElement(a,oo({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),T)}))});return A||"fixed"===C?r.createElement(s,oo({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return r.createElement(kl,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(ll,oo({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,oo({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,oo({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(i,oo({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,oo({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=as(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Zl(Fl(e,t))}(e,h):[],b=d?zl(Fl(e,h),"".concat(l,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,v=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:v,focusedOptionId:_l(b,v),focusableOptionsWithIds:b,focusedValue:y,clearFocusValueOnUpdate:!1}}var I=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&s;return a&&!C&&(x={value:Is(f,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Oo(Oo(Oo({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),t}();tc.defaultProps=Wl;var nc=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,l=void 0===i?null:i,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=Ro(e,Go),b=Po(a(void 0!==c?c:n),2),y=b[0],v=b[1],I=Po(a(void 0!==u?u:o),2),x=I[0],C=I[1],A=Po(a(void 0!==m?m:l),2),E=A[0],w=A[1],S=s(function(e,t){"function"==typeof d&&d(e,t),w(e)},[d]),O=s(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),v(void 0!==n?n:e)},[p]),N=s(function(){"function"==typeof h&&h(),C(!0)},[h]),T=s(function(){"function"==typeof f&&f(),C(!1)},[f]),P=void 0!==c?c:y,R=void 0!==u?u:x,G=void 0!==m?m:E;return Oo(Oo({},g),{},{inputValue:P,menuIsOpen:R,onChange:S,onInputChange:O,onMenuClose:T,onMenuOpen:N,value:G})}(e);return r.createElement(tc,oo({ref:t},n))}),rc=nc;const oc=o.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:u,filterOptions:d,hasError:p,error:f,menuClassName:h,helperText:m,label:g,labelClassName:b,size:y="md",variant:v="default","data-cy":I,"data-testid":x,...C})=>{const A=c(()=>vl(d),[d]),E=c(()=>({control:({isFocused:e})=>Ve("sm"===y?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ve(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ve("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ve("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,o,h,n,p,y]);return"unstyled"===v?e(rc,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:A,className:Ve("rounded-xl",r),classNames:E,"data-cy":I,"data-testid":x,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ve("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(rc,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:A,className:Ve("rounded-xl",r),classNames:E,"data-cy":I,"data-testid":x,...C}),f&&e(On,{className:"footnote mt-1 text-text-critical",children:f}),!f&&m&&e(On,{className:"footnote mt-1 text-text-info",children:m})]})});oc.displayName="Select";const ic=({errorMessage:n,className:r,iconClassName:o,iconSize:i=52,iconName:a="dangerous",textVariant:s})=>n?t("div",{className:Ve("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",r),"data-testid":"alert-card",children:[e("div",{children:e(Sn,{name:a,size:i,className:Ve("text-icon-critical",o)})}),e(On,{className:Ve("body2 text-text",s),children:n})]}):null;ic.displayName="AlertCard";const ac=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},sc=i(({variant:r="primary_brand",isLoading:o=!1,text:i,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},f)=>{const h=(()=>{const e=Ve((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-auto"),t=Ve((s||o)&&"cursor-not-allowed",o&&"pl-7");return Ve(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let m=`button--${r}`;o&&(m+=" button--loading"),s&&(m+=" button--disabled");const g=`${m} ${h}`,b=t(n,{children:[o?e(Sn,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ve(ac(u)),children:a}),i]}):i]});return"a"===d?e("a",{ref:f,className:Ve(g),...p,children:b}):e("button",{ref:f,className:Ve(g),disabled:s||o,...p,children:b})});sc.displayName="BrandButton";const lc=t=>{const{className:n,...r}=t;return e("div",{className:Ve("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};lc.displayName="Divider";const cc=n=>{const{name:r,value:o,label:i,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":f,labelClassName:h="",disabled:m,...g}=n,b=()=>null==l?void 0:l(o||r);return t("label",{htmlFor:r,className:Ve("flex items-center",c),"data-cy":f,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:o,checked:s,readOnly:!0,disabled:m,...g}),e(Gn,{type:"button",onClick:b,disabled:m,className:Ve("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",m&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Gn,{type:"button",onClick:b,disabled:m,tabIndex:i?0:-1,children:[e("div",{className:Ve("text-body2 font-normal",h),children:i}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};cc.displayName="RadioButton";const uc=n=>{const{list:r,text:o}=n,[i,s]=a(!0);return t("div",{className:"mt-3",children:[t(Gn,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e("span",{children:o||"See details"}),e(Sn,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Io,{open:i,children:e("div",{className:"pt-1",children:e(Nn,{listItemClassName:"body3",items:r})})})]})};uc.displayName="SeeMore";const dc=({onSelect:r,speed:o,isSelected:i=!1,renderCheckPlans:s,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[f,h]=a(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==s?void 0:s({speedCardConfig:{isModalOpen:f,setModalOpen:()=>{h(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(Gn,{onClick:()=>{h(!0),r()},className:Ve(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Sn,{className:Ve(c,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),g]})},pc=({className:t="",count:n=1})=>e("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,r)=>e("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*r}},r))});pc.displayName="Skeleton";const fc=()=>t("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]});function hc({tooltipMsg:r,className:o,children:i}){return t(n,{children:[e("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e("span",{className:`tooltip-custom ${o||""}`,"data-text":r,children:i})]})}hc.displayName="Tooltip";const mc=f({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),gc=f({}),bc=f(null),yc="undefined"!=typeof document,vc=yc?p:l,Ic=f({strict:!1});function xc(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Cc(e){return"string"==typeof e||Array.isArray(e)}function Ac(e){return"object"==typeof e&&"function"==typeof e.start}const Ec=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wc=["initial",...Ec];function Sc(e){return Ac(e.animate)||wc.some(t=>Cc(e[t]))}function Oc(e){return Boolean(Sc(e)||e.variants)}function Nc(e){const{initial:t,animate:n}=function(e,t){if(Sc(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Cc(t)?t:void 0,animate:Cc(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,d(gc));return c(()=>({initial:t,animate:n}),[Tc(t),Tc(n)])}function Tc(e){return Array.isArray(e)?e.join(" "):e}const Pc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Rc={};for(const e in Pc)Rc[e]={isEnabled:t=>Pc[e].some(e=>!!t[e])};const Gc=f({}),Bc=f({}),Lc=Symbol.for("motionComponentSymbol");function kc({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)Rc[t]={...Rc[t],...e[t]}}(e);const c=i(function(i,c){let p;const f={...d(mc),...i,layoutId:Vc(i)},{isStatic:h}=f,m=Nc(i),b=o(i,h);if(!h&&yc){m.visualElement=function(e,t,n,r){const{visualElement:o}=d(gc),i=d(Ic),a=d(bc),s=d(mc).reducedMotion,c=u();r=r||i.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const p=c.current;return g(()=>{p&&p.update(n,a)}),vc(()=>{p&&p.render()}),l(()=>{p&&p.updateFeatures()}),(window.HandoffAppearAnimations?vc:l)(()=>{p&&p.animationState&&p.animationState.animateChanges()}),p}(a,b,f,t);const n=d(Bc),r=d(Ic).strict;m.visualElement&&(p=m.visualElement.loadFeatures(f,r,e,n))}return r.createElement(gc.Provider,{value:m},p&&m.visualElement?r.createElement(p,{visualElement:m.visualElement,...f}):null,n(a,i,function(e,t,n){return s(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):xc(n)&&(n.current=r))},[t])}(b,m.visualElement,c),b,h,m.visualElement))});return c[Lc]=a,c}function Vc({layoutId:e}){const t=d(Gc).id;return t&&void 0!==e?t+"-"+e:e}function Mc(e){function t(t,n={}){return kc(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Dc=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function jc(e){return"string"==typeof e&&!e.includes("-")&&!!(Dc.indexOf(e)>-1||/[A-Z]/.test(e))}const Hc={};const Wc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xc=new Set(Wc);function Fc(e,{layout:t,layoutId:n}){return Xc.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Hc[e]||"opacity"===e)}const Zc=e=>Boolean(e&&e.getVelocity),zc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Yc=Wc.length;const _c=e=>t=>"string"==typeof t&&t.startsWith(e),Jc=_c("--"),Uc=_c("var(--"),Kc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Qc=(e,t,n)=>Math.min(Math.max(n,e),t),$c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},qc={...$c,transform:e=>Qc(0,1,e)},eu={...$c,default:1},tu=e=>Math.round(1e5*e)/1e5,nu=/(-)?([\d]*\.?[\d])+/g,ru=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,ou=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function iu(e){return"string"==typeof e}const au=e=>({test:t=>iu(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),su=au("deg"),lu=au("%"),cu=au("px"),uu=au("vh"),du=au("vw"),pu={...lu,parse:e=>lu.parse(e)/100,transform:e=>lu.transform(100*e)},fu={...$c,transform:Math.round},hu={borderWidth:cu,borderTopWidth:cu,borderRightWidth:cu,borderBottomWidth:cu,borderLeftWidth:cu,borderRadius:cu,radius:cu,borderTopLeftRadius:cu,borderTopRightRadius:cu,borderBottomRightRadius:cu,borderBottomLeftRadius:cu,width:cu,maxWidth:cu,height:cu,maxHeight:cu,size:cu,top:cu,right:cu,bottom:cu,left:cu,padding:cu,paddingTop:cu,paddingRight:cu,paddingBottom:cu,paddingLeft:cu,margin:cu,marginTop:cu,marginRight:cu,marginBottom:cu,marginLeft:cu,rotate:su,rotateX:su,rotateY:su,rotateZ:su,scale:eu,scaleX:eu,scaleY:eu,scaleZ:eu,skew:su,skewX:su,skewY:su,distance:cu,translateX:cu,translateY:cu,translateZ:cu,x:cu,y:cu,z:cu,perspective:cu,transformPerspective:cu,opacity:qc,originX:pu,originY:pu,originZ:cu,zIndex:fu,fillOpacity:qc,strokeOpacity:qc,numOctaves:fu};function mu(e,t,n,r){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Jc(e)){i[e]=n;continue}const r=hu[e],d=Kc(n,r);if(Xc.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<Yc;t++){const n=Wc[t];void 0!==e[n]&&(i+=`${zc[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const gu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bu(e,t,n){for(const r in t)Zc(t[r])||Fc(r,n)||(e[r]=t[r])}function yu(e,t,n){const r={};return bu(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return c(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return mu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function vu(e,t,n){const r={},o=yu(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Iu=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function xu(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Iu.has(e)}let Cu=e=>!xu(e);try{(Au=require("@emotion/is-prop-valid").default)&&(Cu=e=>e.startsWith("on")?!xu(e):Au(e))}catch(Tn){}var Au;function Eu(e,t,n){return"string"==typeof e?e:cu.transform(t+n*e)}const wu={offset:"stroke-dashoffset",array:"stroke-dasharray"},Su={offset:"strokeDashoffset",array:"strokeDasharray"};function Ou(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(mu(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==o||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Eu(t,e.x,e.width)} ${Eu(n,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==r&&(f.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?wu:Su;e[i.offset]=cu.transform(-r);const a=cu.transform(t),s=cu.transform(n);e[i.array]=`${a} ${s}`}(f,a,s,l,!1)}const Nu=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Tu=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Pu(e,t,n,r){const o=c(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ou(n,t,{enableHardwareAcceleration:!1},Tu(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};bu(t,e.style,e),o.style={...t,...o.style}}return o}function Ru(e=!1){return(t,n,r,{latestValues:o},i)=>{const a=(jc(t)?Pu:vu)(n,o,i,t),s=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Cu(o)||!0===n&&xu(o)||!t&&!xu(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l={...s,...a,ref:r},{children:u}=n,d=c(()=>Zc(u)?u.get():u,[u]);return b(t,{...l,children:d})}}const Gu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Bu(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Lu=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ku(e,t,n,r){Bu(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Lu.has(n)?n:Gu(n),t.attrs[n])}function Vu(e,t){const{style:n}=e,r={};for(const o in n)(Zc(n[o])||t.style&&Zc(t.style[o])||Fc(o,e))&&(r[o]=n[o]);return r}function Mu(e,t){const n=Vu(e,t);for(const r in e)if(Zc(e[r])||Zc(t[r])){n[-1!==Wc.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Du(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}const ju=e=>Array.isArray(e),Hu=e=>ju(e)?e[e.length-1]||0:e;function Wu(e){const t=Zc(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Xu=e=>(t,n)=>{const r=d(gc),o=d(bc),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:Fu(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,o);return n?i():function(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}(i)};function Fu(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Wu(i[e]);let{initial:a,animate:s}=e;const l=Sc(e),c=Oc(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Ac(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Du(e,t);if(!n)return;const{transitionEnd:r,transition:i,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const Zu={useVisualState:Xu({scrapeMotionValuesFromProps:Mu,createRenderState:Nu,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Ou(n,r,{enableHardwareAcceleration:!1},Tu(t.tagName),e.transformTemplate),ku(t,n)}})},zu={useVisualState:Xu({scrapeMotionValuesFromProps:Vu,createRenderState:gu})};function Yu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const _u=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ju(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Uu(e,t,n,r){return Yu(e,t,(e=>t=>_u(t)&&e(t,Ju(t)))(n),r)}const Ku=(e,t)=>n=>t(e(n)),Qu=(...e)=>e.reduce(Ku);function $u(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const qu=$u("dragHorizontal"),ed=$u("dragVertical");function td(e){let t=!1;if("y"===e)t=ed();else if("x"===e)t=qu();else{const e=qu(),n=ed();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function nd(){const e=td(!0);return!e||(e(),!1)}class rd{constructor(e){this.isMounted=!1,this.node=e}update(){}}const od={delta:0,timestamp:0,isProcessing:!1};let id=!0,ad=!1;const sd=["read","update","preRender","render","postRender"],ld=sd.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,c=l?t:n;return i&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}o=!1,i&&(i=!1,s.process(l))}}};return s}(()=>ad=!0),e),{}),cd=e=>ld[e].process(od),ud=e=>{ad=!1,od.delta=id?1e3/60:Math.max(Math.min(e-od.timestamp,40),1),od.timestamp=e,od.isProcessing=!0,sd.forEach(cd),od.isProcessing=!1,ad&&(id=!1,requestAnimationFrame(ud))},dd=sd.reduce((e,t)=>{const n=ld[t];return e[t]=(e,t=!1,r=!1)=>(ad||(ad=!0,id=!0,od.isProcessing||requestAnimationFrame(ud)),n.schedule(e,t,r)),e},{});function pd(e){sd.forEach(t=>ld[t].cancel(e))}function fd(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Uu(e.current,n,(n,o)=>{if("touch"===n.type||nd())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&dd.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const hd=(e,t)=>!!t&&(e===t||hd(e,t.parentElement)),md=e=>e;function gd(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ju(n))}const bd=new WeakMap,yd=new WeakMap,vd=e=>{const t=bd.get(e.target);t&&t(e)},Id=e=>{e.forEach(vd)};function xd(e,t,n){const r=function({root:e,...t}){const n=e||document;yd.has(n)||yd.set(n,{});const r=yd.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Id,{root:e,...t})),r[o]}(t);return bd.set(e,n),r.observe(e),()=>{bd.delete(e),r.unobserve(e)}}const Cd={some:0,all:1};const Ad={inView:{Feature:class extends rd{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Cd[r]};return xd(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends rd{constructor(){super(...arguments),this.removeStartListeners=md,this.removeEndListeners=md,this.removeAccessibleListeners=md,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Uu(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();dd.update(()=>{hd(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Uu(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Qu(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Yu(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Yu(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&gd("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&dd.update(()=>n(e,t))})}),gd("down",(e,t)=>{this.startPress(e,t)})}),t=Yu(this.node.current,"blur",()=>{this.isPressing&&gd("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Qu(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&dd.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nd()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&dd.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Uu(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Yu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Qu(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends rd{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Qu(Yu(this.node.current,"focus",()=>this.onFocus()),Yu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends rd{mount(){this.unmount=Qu(fd(this.node,!0),fd(this.node,!1))}unmount(){}}}};function Ed(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function wd(e,t,n){const r=e.getProps();return Du(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Sd="data-"+Gu("framerAppearId");let Od=md,Nd=md;"production"!==process.env.NODE_ENV&&(Od=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Nd=(e,t)=>{if(!e)throw new Error(t)});const Td=e=>1e3*e,Pd=e=>e/1e3,Rd=!1,Gd=e=>Array.isArray(e)&&"number"==typeof e[0];function Bd(e){return Boolean(!e||"string"==typeof e&&kd[e]||Gd(e)||Array.isArray(e)&&e.every(Bd))}const Ld=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,kd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ld([0,.65,.55,1]),circOut:Ld([.55,0,1,.45]),backIn:Ld([.31,.01,.66,-.59]),backOut:Ld([.33,1.53,.69,.99])};function Vd(e){if(e)return Gd(e)?Ld(e):Array.isArray(e)?e.map(Vd):kd[e]}const Md={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Dd={},jd={};for(const e in Md)jd[e]=()=>(void 0===Dd[e]&&(Dd[e]=Md[e]()),Dd[e]);const Hd=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Wd(e,t,n,r){if(e===t&&n===r)return md;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Hd(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Hd(o(e),t,r)}const Xd=Wd(.42,0,1,1),Fd=Wd(0,0,.58,1),Zd=Wd(.42,0,.58,1),zd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yd=e=>t=>1-e(1-t),_d=e=>1-Math.sin(Math.acos(e)),Jd=Yd(_d),Ud=zd(Jd),Kd=Wd(.33,1.53,.69,.99),Qd=Yd(Kd),$d=zd(Qd),qd={linear:md,easeIn:Xd,easeInOut:Zd,easeOut:Fd,circIn:_d,circInOut:Ud,circOut:Jd,backIn:Qd,backInOut:$d,backOut:Kd,anticipate:e=>(e*=2)<1?.5*Qd(e):.5*(2-Math.pow(2,-10*(e-1)))},ep=e=>{if(Array.isArray(e)){Nd(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Wd(t,n,r,o)}return"string"==typeof e?(Nd(void 0!==qd[e],`Invalid easing type '${e}'`),qd[e]):e},tp=(e,t)=>n=>Boolean(iu(n)&&ou.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),np=(e,t,n)=>r=>{if(!iu(r))return r;const[o,i,a,s]=r.match(nu);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},rp={...$c,transform:e=>Math.round((e=>Qc(0,255,e))(e))},op={test:tp("rgb","red"),parse:np("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+rp.transform(e)+", "+rp.transform(t)+", "+rp.transform(n)+", "+tu(qc.transform(r))+")"};const ip={test:tp("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:op.transform},ap={test:tp("hsl","hue"),parse:np("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+lu.transform(tu(t))+", "+lu.transform(tu(n))+", "+tu(qc.transform(r))+")"},sp={test:e=>op.test(e)||ip.test(e)||ap.test(e),parse:e=>op.test(e)?op.parse(e):ap.test(e)?ap.parse(e):ip.parse(e),transform:e=>iu(e)?e:e.hasOwnProperty("red")?op.transform(e):ap.transform(e)},lp=(e,t,n)=>-n*e+n*t+e;function cp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const up=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},dp=[ip,op,ap];function pp(e){const t=(n=e,dp.find(e=>e.test(n)));var n;Nd(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ap&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=cp(s,r,e+1/3),i=cp(s,r,e),a=cp(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(r)),r}const fp=(e,t)=>{const n=pp(e),r=pp(t),o={...n};return e=>(o.red=up(n.red,r.red,e),o.green=up(n.green,r.green,e),o.blue=up(n.blue,r.blue,e),o.alpha=lp(n.alpha,r.alpha,e),op.transform(o))};const hp={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:md},mp={regex:ru,countKey:"Colors",token:"${c}",parse:sp.parse},gp={regex:nu,countKey:"Numbers",token:"${n}",parse:$c.parse};function bp(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function yp(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&bp(n,hp),bp(n,mp),bp(n,gp),n}function vp(e){return yp(e).values}function Ip(e){const{values:t,numColors:n,numVars:r,tokenised:o}=yp(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(hp.token,e[o]):o<r+n?t.replace(mp.token,sp.transform(e[o])):t.replace(gp.token,tu(e[o]));return t}}const xp=e=>"number"==typeof e?0:e;const Cp={test:function(e){var t,n;return isNaN(e)&&iu(e)&&((null===(t=e.match(nu))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ru))||void 0===n?void 0:n.length)||0)>0},parse:vp,createTransformer:Ip,getAnimatableNone:function(e){const t=vp(e);return Ip(e)(t.map(xp))}},Ap=(e,t)=>n=>`${n>0?t:e}`;function Ep(e,t){return"number"==typeof e?n=>lp(e,t,n):sp.test(e)?fp(e,t):e.startsWith("var(")?Ap(e,t):Op(e,t)}const wp=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Ep(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Sp=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Ep(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Op=(e,t)=>{const n=Cp.createTransformer(t),r=yp(e),o=yp(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Qu(wp(r.values,o.values),n):(Od(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Ap(e,t))},Np=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Tp=(e,t)=>n=>lp(e,t,n);function Pp(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Tp:"string"==typeof i?sp.test(i)?fp:Op:Array.isArray(i)?wp:"object"==typeof i?Sp:Tp);var i;const a=e.length-1;for(let n=0;n<a;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||md:t;i=Qu(e,i)}r.push(i)}return r}function Rp(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Nd(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Pp(t,r,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Np(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Qc(e[0],e[i-1],t)):l}function Gp(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Np(0,t,r);e.push(lp(n,1,o))}}(t,e.length-1),t}function Bp({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ep):ep(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Gp(t),e),s=Rp(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Zd).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function Lp(e,t){return t?e*(1e3/t):0}function kp(e,t,n){const r=Math.max(t-5,0);return Lp(n-e(r),t-r)}const Vp=.001;function Mp({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;Od(e<=Td(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Qc(.05,1,a),e=Qc(.01,10,Pd(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=jp(t,a),l=Math.exp(-o);return Vp-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=jp(Math.pow(t,2),a);return(-o(t)+Vp>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Dp;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Td(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Dp=12;function jp(e,t){return e*Math.sqrt(1-t*t)}const Hp=["duration","bounce"],Wp=["stiffness","damping","mass"];function Xp(e,t){return t.some(t=>void 0!==e[t])}function Fp({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Xp(e,Wp)&&Xp(e,Hp)){const n=Mp(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),f=u?-Pd(u):0,h=l/(2*Math.sqrt(s*c)),m=i-o,g=Pd(Math.sqrt(s/c)),b=Math.abs(m)<5;let y;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=jp(g,h);y=t=>{const n=Math.exp(-h*g*t);return i-n*((f+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)y=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(h*h-1);y=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return i-n*((f+h*g*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=y(e);if(p)a.done=e>=d;else{let o=f;0!==e&&(o=h<1?kp(y,e,r):0);const s=Math.abs(o)<=n,l=Math.abs(i-r)<=t;a.done=s&&l}return a.value=a.done?i:r,a}}}function Zp({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const m=d+h,g=void 0===a?m:a(m);g!==m&&(h=g-d);const b=e=>-h*Math.exp(-e/r),y=e=>g+b(e),v=e=>{const t=b(e),n=y(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let I,x;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(I=e,x=Fp({keyframes:[p.value,f(p.value)],velocity:kp(y,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==I||(t=!0,v(e),C(e)),void 0!==I&&e>I?x.next(e-I):(!t&&v(e),p)}}}const zp=e=>{const t=({timestamp:t})=>e(t);return{start:()=>dd.update(t,!0),stop:()=>pd(t),now:()=>od.isProcessing?od.timestamp:performance.now()}};function Yp(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const _p={decay:Zp,inertia:Zp,tween:Bp,keyframes:Bp,spring:Fp};function Jp({autoplay:e=!0,delay:t=0,driver:n=zp,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,h,m=1,g=!1;const b=()=>{f&&f(),h=new Promise(e=>{f=e})};let y;b();const v=_p[o]||Bp;let I;v!==Bp&&"number"!=typeof r[0]&&(I=Rp([0,100],r,{clamp:!1}),r=[0,100]);const x=v({...p,keyframes:r});let C;"mirror"===s&&(C=v({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let A="idle",E=null,w=null,S=null;null===x.calculatedDuration&&i&&(x.calculatedDuration=Yp(x));const{calculatedDuration:O}=x;let N=1/0,T=1/0;null!==O&&(N=O+a,T=N*(i+1)-a);let P=0;const R=e=>{if(null===w)return;m>0&&(w=Math.min(w,e)),P=null!==E?E:(e-w)*m;const n=P-t,o=n<0;P=Math.max(n,0),"finished"===A&&null===E&&(P=T);let l=P,c=x;if(i){const e=P/N;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/N)):"mirror"===s&&(c=C));let o=Qc(0,1,n);P>T&&(o="reverse"===s&&r?1:0),l=o*N}const u=o?{done:!1,value:r[0]}:c.next(l);I&&(u.value=I(u.value));let{done:p}=u;o||null===O||(p=P>=T);const f=null===E&&("finished"===A||"running"===A&&p||m<0&&P<=0);return d&&d(u.value),f&&L(),u},G=()=>{y&&y.stop(),y=void 0},B=()=>{A="idle",G(),b(),w=S=null},L=()=>{A="finished",u&&u(),G(),b()},k=()=>{if(g)return;y||(y=n(R));const e=y.now();l&&l(),null!==E?w=e-E:w&&"finished"!==A||(w=e),S=w,E=null,A="running",y.start()};e&&k();const V={then:(e,t)=>h.then(e,t),get time(){return Pd(P)},set time(e){e=Td(e),P=e,null===E&&y&&0!==m?w=y.now()-e/m:E=e},get duration(){const e=null===x.calculatedDuration?Yp(x):x.calculatedDuration;return Pd(e)},get speed(){return m},set speed(e){e!==m&&y&&(m=e,V.time=Pd(P))},get state(){return A},play:k,pause:()=>{A="paused",E=P},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),B())},cancel:()=>{null!==S&&R(S),B()},complete:()=>{A="finished"},sample:e=>(w=0,R(e))};return V}const Up=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Kp(e,t,{onUpdate:n,onComplete:r,...o}){if(!(jd.waapi()&&Up.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,a,s=!1;const l=()=>{a=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Bd(t.ease))(t,o)){const e=Jp({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const f=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Vd(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),h=()=>f.cancel(),m=()=>{dd.update(h),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),r&&r(),m()},{then:(e,t)=>a.then(e,t),get time(){return Pd(f.currentTime||0)},set time(e){f.currentTime=Td(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return Pd(u)},play:()=>{s||(f.play(),pd(h))},pause:()=>f.pause(),stop:()=>{if(s=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=Jp({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>f.finish(),cancel:m}}const Qp={type:"spring",stiffness:500,damping:25,restSpeed:10},$p={type:"keyframes",duration:.8},qp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ef=(e,{keyframes:t})=>t.length>2?$p:Xc.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Qp:qp,tf=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Cp.test(t)&&"0"!==t||t.startsWith("url("))),nf=new Set(["brightness","contrast","saturate","opacity"]);function rf(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(nu)||[];if(!r)return e;const o=n.replace(r,"");let i=nf.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const of=/([a-z-]*)\(.*?\)/g,af={...Cp,getAnimatableNone:e=>{const t=e.match(of);return t?t.map(rf).join(" "):e}},sf={...hu,color:sp,backgroundColor:sp,outlineColor:sp,fill:sp,stroke:sp,borderColor:sp,borderTopColor:sp,borderRightColor:sp,borderBottomColor:sp,borderLeftColor:sp,filter:af,WebkitFilter:af},lf=e=>sf[e];function cf(e,t){let n=lf(e);return n!==af&&(n=Cp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const uf=e=>/^0[^.\s]+$/.test(e);function df(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||uf(e):void 0}function pf(e,t){return e[t]||e.default||e}const ff=(e,t,n,r={})=>o=>{const i=pf(r,e)||{},a=i.delay||r.delay||0;let{elapsed:s=0}=r;s-=Td(a);const l=function(e,t,n,r){const o=tf(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?a:i[e-1]),df(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(s=i[e]);if(o&&l.length&&s)for(let e=0;e<l.length;e++)i[l[e]]=cf(t,s);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=tf(e,c),p=tf(e,u);Od(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...ef(e,f)}),f.duration&&(f.duration=Td(f.duration)),f.repeatDelay&&(f.repeatDelay=Td(f.repeatDelay)),!d||!p||Rd||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:md,pause:md,stop:md,then:e=>(e(),Promise.resolve()),cancel:md,complete:md});return t?Jp({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Kp(t,e,f);if(n)return n}return Jp(f)};function hf(e){return Boolean(Zc(e)&&e.add)}const mf=e=>/^\-?\d*\.?\d+$/.test(e);function gf(e,t){-1===e.indexOf(t)&&e.push(t)}function bf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class yf{constructor(){this.subscriptions=[]}add(e){return gf(this.subscriptions,e),()=>bf(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const vf=new Set;function If(e,t,n){e||vf.has(t)||(console.warn(t),vf.add(t))}class xf{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=od;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,dd.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>dd.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&If(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new yf);const n=this.events[e].add(t);return"change"===e?()=>{n(),dd.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Lp(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Cf(e,t){return new xf(e,t)}const Af=e=>t=>t.test(e),Ef=[$c,cu,lu,su,du,uu,{test:e=>"auto"===e,parse:e=>e}],wf=e=>Ef.find(Af(e)),Sf=[...Ef,sp,Cp],Of=e=>Sf.find(Af(e));function Nf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Cf(n))}function Tf(e,t){if(!t)return;return(t[e]||t.default||t).from}function Pf({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Rf(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const r=e.getValue(t),o=s[t];if(!r||void 0===o||u&&Pf(u,t))continue;const a={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Sd];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,dd))}r.start(ff(t,r,o,e.shouldReduceMotion&&Xc.has(t)?{type:!1}:a));const d=r.animation;hf(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=wd(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Nf(e,t,Hu(i[t]))}(e,a)}),c}function Gf(e,t,n={}){const r=wd(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Rf(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Bf).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(Gf(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(n.delay)])}function Bf(e,t){return e.sortNodePosition(t)}const Lf=[...Ec].reverse(),kf=Ec.length;function Vf(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Gf(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Gf(e,t,n);else{const o="function"==typeof t?wd(e,t,n.custom):t;r=Promise.all(Rf(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Mf(e){let t=Vf(e);const n={animate:jf(!0),whileInView:jf(),whileHover:jf(),whileTap:jf(),whileDrag:jf(),whileFocus:jf(),exit:jf()};let r=!0;const o=(t,n)=>{const r=wd(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<kf;t++){const f=Lf[t],h=n[f],m=void 0!==s[f]?s[f]:l[f],g=Cc(m),b=f===a?h.isActive:null;!1===b&&(p=t);let y=m===l[f]&&m!==s[f]&&g;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...d},!h.isActive&&null===b||!m&&!h.prevProp||Ac(m)||"boolean"==typeof m)continue;const v=Df(h.prevProp,m);let I=v||f===a&&h.isActive&&!y&&g||t>p&&g;const x=Array.isArray(m)?m:[m];let C=x.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:A={}}=h,E={...A,...C},w=e=>{I=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in E){const t=C[e],n=A[e];d.hasOwnProperty(e)||(t!==n?ju(t)&&ju(n)?!Ed(t,n)||v?w(e):h.protectedKeys[e]=!0:void 0!==t?w(e):u.add(e):void 0!==t&&u.has(e)?w(e):h.protectedKeys[e]=!0)}h.prevProp=m,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(I=!1),I&&!y&&c.push(...x.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let f=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=i(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Df(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ed(t,e)}function jf(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Hf=0;const Wf={animation:{Feature:class extends rd{constructor(e){super(e),e.animationState||(e.animationState=Mf(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ac(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends rd{constructor(){super(...arguments),this.id=Hf++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Xf=(e,t)=>Math.abs(e-t);class Ff{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Yf(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Xf(e.x,t.x),r=Xf(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=od;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Zf(t,this.transformPagePoint),dd.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=Yf("pointercancel"===e.type?this.lastMoveEventInfo:Zf(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!_u(e))return;this.handlers=t,this.transformPagePoint=n;const r=Zf(Ju(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=od;this.history=[{...o,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,Yf(r,this.history)),this.removeListeners=Qu(Uu(window,"pointermove",this.handlePointerMove),Uu(window,"pointerup",this.handlePointerUp),Uu(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),pd(this.updatePoint)}}function Zf(e,t){return t?{point:t(e.point)}:e}function zf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yf({point:e},t){return{point:e,delta:zf(e,Jf(t)),offset:zf(e,_f(t)),velocity:Uf(t,.1)}}function _f(e){return e[0]}function Jf(e){return e[e.length-1]}function Uf(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Jf(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Td(t)));)n--;if(!r)return{x:0,y:0};const i=Pd(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const 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 Kf(e){return e.max-e.min}function Qf(e,t=0,n=.01){return Math.abs(e-t)<=n}function $f(e,t,n,r=.5){e.origin=r,e.originPoint=lp(t.min,t.max,e.origin),e.scale=Kf(n)/Kf(t),(Qf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=lp(n.min,n.max,e.origin)-e.originPoint,(Qf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function qf(e,t,n,r){$f(e.x,t.x,n.x,r?r.originX:void 0),$f(e.y,t.y,n.y,r?r.originY:void 0)}function eh(e,t,n){e.min=n.min+t.min,e.max=e.min+Kf(t)}function th(e,t,n){e.min=t.min-n.min,e.max=e.min+Kf(t)}function nh(e,t,n){th(e.x,t.x,n.x),th(e.y,t.y,n.y)}function rh(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function oh(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const ih=.35;function ah(e,t,n){return{min:sh(e,t),max:sh(e,n)}}function sh(e,t){return"number"==typeof e?e:e[t]||0}const lh=()=>({x:{min:0,max:0},y:{min:0,max:0}});function ch(e){return[e("x"),e("y")]}function uh({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function dh(e){return void 0===e||1===e}function ph({scale:e,scaleX:t,scaleY:n}){return!dh(e)||!dh(t)||!dh(n)}function fh(e){return ph(e)||hh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function hh(e){return mh(e.x)||mh(e.y)}function mh(e){return e&&"0%"!==e}function gh(e,t,n){return n+t*(e-n)}function bh(e,t,n,r,o){return void 0!==o&&(e=gh(e,o,r)),gh(e,n,r)+t}function yh(e,t=0,n=1,r,o){e.min=bh(e.min,t,n,r,o),e.max=bh(e.max,t,n,r,o)}function vh(e,{x:t,y:n}){yh(e.x,t.translate,t.scale,t.originPoint),yh(e.y,n.translate,n.scale,n.originPoint)}function Ih(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function xh(e,t){e.min=e.min+t,e.max=e.max+t}function Ch(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,a=lp(e.min,e.max,i);yh(e,t[n],t[r],a,t.scale)}const Ah=["x","scaleX","originX"],Eh=["y","scaleY","originY"];function wh(e,t){Ch(e.x,t,Ah),Ch(e.y,t,Eh)}function Sh(e,t){return uh(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Oh=new WeakMap;class Nh{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new Ff(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ju(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=td(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ch(e=>{let t=this.getAxisMotionValue(e).get()||0;if(lu.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Kf(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&dd.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&dd.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Th(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?lp(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?lp(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&xc(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:rh(e.x,n,o),y:rh(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=ih){return!1===e?e=0:!0===e&&(e=ih),{x:ah(e,"left","right"),y:ah(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ch(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!xc(e))return!1;const n=e.current;Nd(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Sh(e,n),{scroll:o}=t;return o&&(xh(r.x,o.offset.x),xh(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:oh(e.x,t.x),y:oh(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=uh(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=ch(a=>{if(!Th(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(ff(e,n,0,t))}stopAnimation(){ch(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){ch(t=>{const{drag:n}=this.getProps();if(!Th(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-lp(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!xc(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};ch(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Kf(e),o=Kf(t);return o>r?n=Np(t.min,t.max-r,e.min):r>o&&(n=Np(e.min,e.max-o,t.min)),Qc(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ch(t=>{if(!Th(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(lp(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;Oh.set(this.visualElement,this);const e=Uu(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();xc(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Yu(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ch(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=ih,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Th(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Ph=e=>(t,n)=>{e&&dd.update(()=>e(t,n))};const Rh={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Gh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Bh={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!cu.test(e))return e;e=parseFloat(e)}return`${Gh(e,t.target.x)}% ${Gh(e,t.target.y)}%`}},Lh={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Cp.parse(e);if(o.length>5)return r;const i=Cp.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=lp(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};class kh extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Mh,Object.assign(Hc,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Rh.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||dd.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Vh(e){const[t,n]=function(){const e=d(bc);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=y();return l(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=d(Gc);return o.createElement(kh,{...e,layoutGroup:r,switchLayoutGroup:d(Bc),isPresent:t,safeToRemove:n})}const Mh={borderRadius:{...Bh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Bh,borderTopRightRadius:Bh,borderBottomLeftRadius:Bh,borderBottomRightRadius:Bh,boxShadow:Lh},Dh=["TopLeft","TopRight","BottomLeft","BottomRight"],jh=Dh.length,Hh=e=>"string"==typeof e?parseFloat(e):e,Wh=e=>"number"==typeof e||cu.test(e);function Xh(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Fh=zh(0,.5,Jd),Zh=zh(.5,.95,md);function zh(e,t,n){return r=>r<e?0:r>t?1:n(Np(e,t,r))}function Yh(e,t){e.min=t.min,e.max=t.max}function _h(e,t){Yh(e.x,t.x),Yh(e.y,t.y)}function Jh(e,t,n,r,o){return e=gh(e-=t,1/n,r),void 0!==o&&(e=gh(e,1/o,r)),e}function Uh(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){lu.test(t)&&(t=parseFloat(t),t=lp(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=lp(i.min,i.max,r);e===i&&(s-=t),e.min=Jh(e.min,t,n,s,o),e.max=Jh(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Kh=["x","scaleX","originX"],Qh=["y","scaleY","originY"];function $h(e,t,n,r){Uh(e.x,t,Kh,n?n.x:void 0,r?r.x:void 0),Uh(e.y,t,Qh,n?n.y:void 0,r?r.y:void 0)}function qh(e){return 0===e.translate&&1===e.scale}function em(e){return qh(e.x)&&qh(e.y)}function tm(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}function nm(e){return Kf(e.x)/Kf(e.y)}class rm{constructor(){this.members=[]}add(e){gf(this.members,e),e.scheduleRender()}remove(e){if(bf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function om(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const im=(e,t)=>e.depth-t.depth;class am{constructor(){this.children=[],this.isDirty=!1}add(e){gf(this.children,e),this.isDirty=!0}remove(e){bf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(im),this.isDirty=!1,this.children.forEach(e)}}const sm=["","X","Y","Z"];let lm=0;const cm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function um({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=lm++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!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.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;cm.totalNodes=cm.resolvedTargetDeltas=cm.recalculatedProjection=0,this.nodes.forEach(fm),this.nodes.forEach(Im),this.nodes.forEach(xm),this.nodes.forEach(hm),e=cm,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new am)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new yf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(pd(r),e(i-t))};return dd.read(r,!0),()=>pd(r)}(r,250),Rh.hasAnimatedSinceResize&&(Rh.hasAnimatedSinceResize=!1,this.nodes.forEach(vm))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||Om,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!tm(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...pf(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||vm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,pd(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Cm),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(gm);this.isUpdating||this.nodes.forEach(bm),this.isUpdating=!1,this.nodes.forEach(ym),this.nodes.forEach(dm),this.nodes.forEach(pm),this.clearAllSnapshots();const e=performance.now();od.delta=Qc(0,1e3/60,e-od.timestamp),od.timestamp=e,od.isProcessing=!0,ld.update.process(od),ld.preRender.process(od),ld.render.process(od),od.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(mm),this.sharedNodes.forEach(Am)}scheduleUpdateProjection(){dd.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){dd.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!em(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||fh(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Nm((r=n).x),Nm(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(xh(t.x,n.offset.x),xh(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};_h(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){_h(t,e);const{scroll:n}=this.root;n&&(xh(t.x,-n.offset.x),xh(t.y,-n.offset.y))}xh(t.x,o.offset.x),xh(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};_h(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&wh(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),fh(r.latestValues)&&wh(n,r.latestValues)}return fh(this.latestValues)&&wh(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};_h(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!fh(n.latestValues))continue;ph(n.latestValues)&&n.updateSnapshot();const r=lh();_h(r,n.measurePageBox()),$h(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return fh(this.latestValues)&&$h(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==od.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=od.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},nh(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),_h(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,eh(a.x,s.x,l.x),eh(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):_h(this.target,this.layout.layoutBox),vh(this.target,this.targetDelta)):_h(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},nh(this.relativeTargetOrigin,this.target,e.target),_h(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}cm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ph(this.parent.latestValues)&&!hh(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===od.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;_h(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&wh(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,vh(e,a)),r&&fh(i.latestValues)&&wh(e,i.latestValues))}t.x=Ih(t.x),t.y=Ih(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;qf(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=om(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),cm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Sm));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Em(i.x,e.x,n),Em(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nh(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){wm(e.x,t.x,n.x,r),wm(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&tm(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),_h(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=lp(0,void 0!==n.opacity?n.opacity:1,Fh(r)),e.opacityExit=lp(void 0!==t.opacity?t.opacity:1,0,Zh(r))):i&&(e.opacity=lp(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<jh;o++){const i=`border${Dh[o]}Radius`;let a=Xh(t,i),s=Xh(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Wh(a)===Wh(s)?(e[i]=Math.max(lp(Hh(a),Hh(s),r),0),(lu.test(s)||lu.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=lp(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(pd(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dd.update(()=>{Rh.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Zc(e)?e:Cf(e);return r.start(ff("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Tm(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Kf(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Kf(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}_h(t,n),wh(t,o),qf(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rm);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<sm.length;t++){const o="rotate"+sm[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Wu(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Wu(e.pointerEvents)||""),this.hasProjected&&!fh(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=om(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Hc){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Hc[e],o="none"===r.transform?a[e]:t(a[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?Wu(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(gm),this.root.sharedNodes.clear()}}}function dm(e){e.updateLayout()}function pm(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?ch(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=Kf(r);r.min=t[e].min,r.max=r.min+o}):Tm(o,n.layoutBox,t)&&ch(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=Kf(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};qf(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?qf(s,e.applyTransform(r,!0),n.measuredBox):qf(s,t,n.layoutBox);const l=!em(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};nh(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};nh(s,t,i.layoutBox),tm(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function fm(e){cm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mm(e){e.clearSnapshot()}function gm(e){e.clearMeasurements()}function bm(e){e.isLayoutDirty=!1}function ym(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Im(e){e.resolveTargetDelta()}function xm(e){e.calcProjection()}function Cm(e){e.resetRotation()}function Am(e){e.removeLeadSnapshot()}function Em(e,t,n){e.translate=lp(t.translate,0,n),e.scale=lp(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function wm(e,t,n,r){e.min=lp(t.min,n.min,r),e.max=lp(t.max,n.max,r)}function Sm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Om={duration:.45,ease:[.4,0,.1,1]};function Nm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Tm(e,t,n){return"position"===e||"preserve-aspect"===e&&!Qf(nm(t),nm(n),.2)}const Pm=um({attachResizeListener:(e,t)=>Yu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Rm={current:void 0},Gm=um({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Rm.current){const e=new Pm({});e.mount(window),e.setOptions({layoutScroll:!0}),Rm.current=e}return Rm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Bm={pan:{Feature:class extends rd{constructor(){super(...arguments),this.removePointerDownListener=md}onPointerDown(e){this.session=new Ff(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ph(e),onStart:Ph(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&dd.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Uu(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends rd{constructor(e){super(e),this.removeGroupControls=md,this.removeListeners=md,this.controls=new Nh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||md}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Gm,MeasureLayout:Vh}},Lm=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function km(e,t,n=1){Nd(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Lm.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():Uc(o)?km(o,t,n+1):o}const Vm=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Mm=e=>Vm.has(e),Dm=e=>e===$c||e===cu,jm=(e,t)=>parseFloat(e.split(", ")[t]),Hm=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return jm(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?jm(t[1],e):0}},Wm=new Set(["x","y","z"]),Xm=Wc.filter(e=>!Wm.has(e));const Fm={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Hm(4,13),y:Hm(5,14)},Zm=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Mm);let i=[],a=!1;const s=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=wf(c);const d=t[o];let p;if(ju(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=wf(c);for(let n=t;n<e&&null!==d[n];n++)p?Nd(wf(d[n])===p,"All keyframes must be of the same type"):(p=wf(d[n]),Nd(p===u||Dm(u)&&Dm(p),"Keyframes must be of the same dimension as the current value"))}else p=wf(d);if(u!==p)if(Dm(u)&&Dm(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===cu&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(a||(i=function(e){const t=[];return Xm.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Fm[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Fm[n](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),yc&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function zm(e,t,n,r){return(e=>Object.keys(e).some(Mm))(t)?Zm(e,t,n,r):{target:t,transitionEnd:r}}const Ym=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Uc(t))return;const n=km(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!Uc(o))continue;const i=km(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return zm(e,t=o.target,n,r=o.transitionEnd)},_m={current:null},Jm={current:!1};function Um(){if(Jm.current=!0,yc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>_m.current=e.matches;e.addListener(t),t()}else _m.current=!1}const Km=new WeakMap,Qm=Object.keys(Rc),$m=Qm.length,qm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eg=wc.length;class tg{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>dd.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=Sc(t),this.isVariantNode=Oc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&Zc(t)&&(t.set(a[e],!1),hf(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Km.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),Jm.current||Um(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||_m.current),"production"!==process.env.NODE_ENV&&If(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Km.delete(this.current),this.projection&&this.projection.unmount(),pd(this.notifyUpdate),pd(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Xc.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&dd.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Od(!1,e):Nd(!1,e)}for(let e=0;e<$m;e++){const n=Qm[e],{isEnabled:r,Feature:o,ProjectionNode:s,MeasureLayout:l}=Rc[n];s&&(i=s),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(a=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&xc(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<qm.length;t++){const n=qm[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],a=n[o];if(Zc(i))e.addValue(o,i),hf(r)&&r.add(o),"development"===process.env.NODE_ENV&&If("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Zc(a))e.addValue(o,Cf(i,{owner:e})),hf(r)&&r.remove(o);else if(a!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,Cf(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<eg;e++){const n=wc[e],r=this.props[n];(Cc(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Cf(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Du(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Zc(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new yf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ng extends tg{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=Tf(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(mf(c)||uf(c))?c=parseFloat(c):!Of(c)&&Cp.test(l)&&(c=cf(a,l)),e.addValue(a,Cf(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,i);const e=Ym(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class rg extends ng{readValueFromInstance(e,t){if(Xc.has(t)){const e=lf(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Jc(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Sh(e,t)}build(e,t,n,r){mu(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Vu(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Zc(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Bu(e,t,n,r)}}class og extends ng{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xc.has(t)){const e=lf(t);return e&&e.default||0}return t=Lu.has(t)?t:Gu(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Mu(e,t)}build(e,t,n,r){Ou(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){ku(e,t,0,r)}mount(e){this.isSVGTag=Tu(e.tagName),super.mount(e)}}const ig=(e,t)=>jc(e)?new og(t,{enableHardwareAcceleration:!1}):new rg(t,{enableHardwareAcceleration:!0}),ag={...Wf,...Ad,...Bm,...{layout:{ProjectionNode:Gm,MeasureLayout:Vh}}},sg=Mc((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...jc(e)?Zu:zu,preloadedFeatures:n,useRender:Ru(t),createVisualElement:r,Component:e}}(e,t,ag,ig));function lg(){!Jm.current&&Um();const[e]=a(_m.current);return"production"!==process.env.NODE_ENV&&If(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const cg={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}}};function ug({children:t,animationType:n,disableAnimation:r=!0,whileHover:i,whileTap:a,transition:s,...l}){const c=lg(),u=o.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=cg[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...i}:i,f=(null==d?void 0:d.whileTap)||a?{...null==d?void 0:d.whileTap,...a}:void 0,h=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=sg[u.type];return e(t,{...u.props,whileHover:p,whileTap:f,transition:h,...l})}return e(sg.div,{whileHover:p,whileTap:f,transition:h,...l,children:u})}ug.displayName="AnimationWrapper";const dg=n=>{const{cartTotalText:r,onClick:o,isOpen:i,...a}=n;return e(Gn,{className:Ve("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:o,...a,children:t("div",{className:"flex w-full items-center justify-center gap-2",children:[t("div",{className:"flex flex-col items-center justify-center",children:[e(On,{className:"label4 -mb-1 text-text",children:"View cart"}),e(On,{className:"label3 text-text md:label1","data-testid":"cart-total",children:r})]}),e(Sn,{name:"keyboard_arrow_up",size:24,fill:0,className:Ve("h-6 w-6 transition-transform",i?"rotate-180":"rotate-0")})]})})};function pg(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:o=768,autoScrollInterval:i=8e3,enableAutoScroll:c=!0}=e,[d,p]=a(0),[f,h]=a(0),[m,g]=a(!1),[b,y]=a(window.innerWidth),[v,I]=a(!1),x=u(null),C=u(0),A=u(null),E={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:i};l(()=>{const e=()=>{var e;y((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const w=s(()=>{0!==t&&p(e=>(e+1)%t)},[t]),S=s(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),O=s(e=>{e<0||e>=t||p(e)},[t]),N=s(e=>{C.current=e.touches[0].clientX,g(!0),x.current&&clearInterval(x.current)},[]),T=s(e=>{if(!m)return;const t=e.touches[0].clientX-C.current;h(t)},[m]),P=s(()=>{g(!1);const e=b*r;f>e?S():f<-e&&w(),h(0),c&&i>0&&(x.current=setInterval(()=>{w()},i))},[f,b,r,S,w,c,i]);return l(()=>{const e=()=>{I(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),l(()=>{if(c&&0!==t&&0!==i)return x.current=setInterval(()=>{w()},i),()=>{x.current&&clearInterval(x.current)}},[w,t,c,i]),{currentIndex:d,swipeOffset:f,isSwiping:m,isMobile:v,containerWidth:b,containerRef:A,nextSlide:w,prevSlide:S,goToSlide:O,handleTouchStart:N,handleTouchMove:T,handleTouchEnd:P,constants:E}}export{xo as Accordion,ic as AlertCard,ug as AnimationWrapper,sc as BrandButton,Gn as Button,Hn as CallButton,Co as Checkbox,Nn as Checklist,Io as Collapse,lc as Divider,kn as Image,Ln as Input,Bn as InputField,Rn as Link,wn as List,En as ListItem,Sn as MaterialIcon,vo as Modal,Dn as NextImage,fc as PageSkeleton,cc as RadioButton,uc as SeeMore,oc as Select,dc as SelectPlanButton,pc as Skeleton,jn as Spinner,On as Text,Ln as TextInput,hc as Tooltip,dg as ViewCartButton,E as clsx,Ve as cx,Wn as useBodyScrollLock,pg as useCarouselSwipe};
30
+ var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}($t,$t.exports)),$t.exports}function qt(){if(Ut)return Qt;Ut=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.resetState=function(){o=[]},Qt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Qt.handleBlur=s,Qt.handleFocus=a,Qt.markForFocusLater=function(){o.push(document.activeElement)},Qt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Qt.popWithoutFocus=function(){o.length>0&&o.pop()},Qt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",a,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",a))},Qt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",a)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",a))};var e,t=Kt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function s(){i=!0}function a(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Qt}var en,tn={exports:{}};function nn(){return en||(en=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=n[0],l=n[n.length-1],c=i();if(e===c){if(!s)return;o=l}l!==c||s||(o=a);a===c&&s&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=s?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=s?l:a).focus();t.preventDefault(),o.focus()};var n,o=Kt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(tn,tn.exports)),tn.exports}var on,rn,sn={};function an(){if(rn)return on;rn=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return on=e}var ln,cn,un,dn={},pn={exports:{}};function fn(){if(cn)return dn;cn=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.canUseDOM=dn.SafeNodeList=dn.SafeHTMLCollection=void 0;var e,t,n=(ln||(ln=1,e=pn,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),pn.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return dn.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},dn.SafeNodeList=o.canUseDOM?window.NodeList:{},dn.canUseDOM=o.canUseDOM,dn.default=r,dn}function hn(){if(un)return sn;un=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},sn.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},sn.assertNodeList=i,sn.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},sn.validateElement=s,sn.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},sn.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},sn.documentNotReadyOrSSRTesting=function(){r=null};var e,t=an(),n=(e=t)&&e.__esModule?e:{default:e},o=fn();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return sn}var mn,gn={};function bn(){if(mn)return gn;mn=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var s in t)n(i,t[s]);e={},t={}},gn.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return gn.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},gn.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},gn}var vn,yn={};function In(){if(vn)return yn;vn=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},yn.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return yn.default=t,yn}var xn,Cn,An={};function wn(){return Cn||(Cn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=r,a=g(Yt()),l=m(qt()),c=g(nn()),u=m(hn()),d=m(bn()),p=fn(),f=g(p),h=g(In());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(xn)return An;xn=1,Object.defineProperty(An,"__esModule",{value:!0}),An.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},An.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=In(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function s(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",s),(r=o.cloneNode()).addEventListener("focus",s)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;i&&d.remove(a.body,i),r&&d.remove(a.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,s=i&&i().ownerDocument||document;r&&d.add(s.body,r),o&&d.add(s.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,s=e.children,a=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},a,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,s);return this.props.overlayElement(c,d)}}]),t}(s.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(p.SafeHTMLCollection),a.default.instanceOf(p.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=y,e.exports=t.default}(_t,_t.exports)),_t.exports}function En(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Nn(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Gn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}En.__suppressDeprecationWarning=!0,Nn.__suppressDeprecationWarning=!0,Gn.__suppressDeprecationWarning=!0;var Tn,Rn,Pn=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=En,t.componentWillReceiveProps=Nn),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Gn;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,o)}}return e}}),Sn=gt(Pn);function Vn(){if(Tn)return yt;Tn=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.bodyOpenClassName=yt.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(x),s=p(Yt()),a=p(wn()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(hn()),c=fn(),u=p(c),d=Sn;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=yt.portalClassName="ReactModalPortal",m=yt.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,b=function(e){return document.createElement(e)},v=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function y(e){return e()}var I=function(n){function r(){var t,n,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=s=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),s.removePortal=function(){!g&&i.default.unmountComponentAtNode(s.node);var e=y(s.props.parentSelector);e&&e.contains(s.node)?e.removeChild(s.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},s.portalRef=function(e){s.portal=e},s.renderPortal=function(t){var n=v()(s,o.default.createElement(a.default,e({defaultStyles:r.defaultStyles},t)),s.node);s.portalRef(n)},f(s,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=b("div")),this.node.className=this.props.portalClassName,y(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:y(e.parentSelector),nextParent:y(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=b("div")),v()(o.default.createElement(a.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return I.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(u.default),s.default.instanceOf(c.SafeHTMLCollection),s.default.instanceOf(c.SafeNodeList),s.default.arrayOf(s.default.instanceOf(u.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},I.defaultProps={isOpen:!1,portalClassName:h,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},I.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(I),"production"!==process.env.NODE_ENV&&(I.setCreateHTMLElement=function(e){return b=e}),yt.default=I,yt}var Bn=mt((Rn||(Rn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=Vn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(vt,vt.exports)),vt.exports));function kn(){return kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},kn.apply(null,arguments)}function On(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function Mn(e,t){return Mn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mn(e,t)}var Dn=mt(Yt()),Ln=!1,Xn="production"!==process.env.NODE_ENV?Dn.oneOfType([Dn.number,Dn.shape({enter:Dn.number,exit:Dn.number,appear:Dn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Dn.oneOfType([Dn.string,Dn.shape({enter:Dn.string,exit:Dn.string,active:Dn.string}),Dn.shape({enter:Dn.string,enterDone:Dn.string,enterActive:Dn.string,exit:Dn.string,exitDone:Dn.string,exitActive:Dn.string})]);var Wn=r.createContext(null),Hn="unmounted",Fn="exited",jn="entering",Zn="entered",zn="exiting",Yn=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Fn,o.appearStatus=jn):r=Zn:r=t.unmountOnExit||t.mountOnEnter?Hn:Fn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,Mn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Hn?{status:Fn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==jn&&n!==Zn&&(t=jn):n!==jn&&n!==Zn||(t=zn)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===jn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fn&&this.setState({status:Hn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[x.findDOMNode(this),o],i=r[0],s=r[1],a=this.getTimeouts(),l=o?a.appear:a.enter;!e&&!n||Ln?this.safeSetState({status:Zn},function(){t.props.onEntered(i)}):(this.props.onEnter(i,s),this.safeSetState({status:jn},function(){t.props.onEntering(i,s),t.onTransitionEnd(l,function(){t.safeSetState({status:Zn},function(){t.props.onEntered(i,s)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:x.findDOMNode(this);t&&!Ln?(this.props.onExit(o),this.safeSetState({status:zn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Fn},function(){e.props.onExited(o)})})})):this.safeSetState({status:Fn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],s=r[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Hn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=On(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(Wn.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function Jn(){}Yn.contextType=Wn,Yn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Dn.shape({current:"undefined"==typeof Element?Dn.any:function(e,t,n,o,r,i){var s=e[t];return Dn.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:Dn.oneOfType([Dn.func.isRequired,Dn.element.isRequired]).isRequired,in:Dn.bool,mountOnEnter:Dn.bool,unmountOnExit:Dn.bool,appear:Dn.bool,enter:Dn.bool,exit:Dn.bool,timeout:function(e){var t=Xn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:Dn.func,onEnter:Dn.func,onEntering:Dn.func,onEntered:Dn.func,onExit:Dn.func,onExiting:Dn.func,onExited:Dn.func}:{},Yn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Jn,onEntering:Jn,onEntered:Jn,onExit:Jn,onExiting:Jn,onExited:Jn},Yn.UNMOUNTED=Hn,Yn.EXITED=Fn,Yn.ENTERING=jn,Yn.ENTERED=Zn,Yn.EXITING=zn;const Un=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:a,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:h,portalClassName:m,overlayClassName:g,closeButtonClassName:b,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:x=!0,hideCloseButton:C=!1,...A})=>{ht(u,x);const[w,E]=s(!1);l(()=>{E(u)},[u]);const N=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!N)return null;if(!u)return null;const G=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),T=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(Yn,{enter:!0,exit:!0,in:w,timeout:0,children:s=>t(Bn,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>N,className:Me("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",G(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",T(r,s),f),portalClassName:Me("z-80",m),overlayClassName:Me("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...A,children:[!C&&e("div",{className:Me(v),children:e(it,{className:Me("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(qe,{name:"close",size:24})})}),a?e("div",{className:Me("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:a}):null,e("div",{className:Me("p-5",h),style:p,"data-testid":A["data-testid"],"data-cy":A["data-cy"],children:d})]})})};Un.displayName="Modal";const _n=t=>{const{open:n,children:o}=t,r=u(null),[i,a]=s(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};_n.displayName="Collapse";const Qn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:a,titleClassName:c,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:f,borderRadiusNone:h=!1}=n,[m,g]=s(Boolean(!1));return l(()=>{if(f){const e=window.innerWidth>=1024;g(e)}else g(Boolean(r))},[f,r]),t("div",{className:Me(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(it,{type:"button",className:Me(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:Me("label5 flex-1",c),children:o}),e(qe,{className:Me("flex-shrink-0",p),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(_n,{open:m,children:e("div",{className:Me("px-4 py-4",u),children:i})})]})};Qn.displayName="Accordion";const $n=({state:n,checked:o=!1,onChange:r,className:i,label:s,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:h=!1,error:m=!1,"data-cy":g,renderInfoIcon:b,...v})=>{const y=f||"disabled"===n,I=p||u,x=Me("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),C=a(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:Me("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:C,disabled:y,required:h,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:Me("peer-focus:outline",x),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:Me(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Me(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),s&&e("label",{htmlFor:I,className:Me("cursor-pointer",m&&"text-text-critical",l),children:s}),b&&e(it,{type:"button",onClick:b.onClick,"data-testid":b.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Kn(e){return Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kn(e)}function qn(e){var t=function(e,t){if("object"!=Kn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Kn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kn(t)?t:t+""}function eo(e,t,n){return(t=qn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function to(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function no(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?to(Object(n),!0).forEach(function(t){eo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ro(e,t){if(e){if("string"==typeof e)return oo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oo(e,t):void 0}}function io(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||ro(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function so(e,t){if(null==e)return{};var n,o,r=On(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}$n.displayName="Checkbox";var ao=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function lo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,qn(o.key),o)}}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},co(e)}function uo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!e})()}function po(e,t){if(t&&("object"==Kn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function fo(e){return function(e){if(Array.isArray(e))return oo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ro(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ho=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),mo="-ms-",go="-moz-",bo="-webkit-",vo="comm",yo="rule",Io="decl",xo="@keyframes",Co=Math.abs,Ao=String.fromCharCode,wo=Object.assign;function Eo(e){return e.trim()}function No(e,t,n){return e.replace(t,n)}function Go(e,t){return e.indexOf(t)}function To(e,t){return 0|e.charCodeAt(t)}function Ro(e,t,n){return e.slice(t,n)}function Po(e){return e.length}function So(e){return e.length}function Vo(e,t){return t.push(e),e}var Bo=1,ko=1,Oo=0,Mo=0,Do=0,Lo="";function Xo(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Bo,column:ko,length:s,return:""}}function Wo(e,t){return wo(Xo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ho(){return Do=Mo>0?To(Lo,--Mo):0,ko--,10===Do&&(ko=1,Bo--),Do}function Fo(){return Do=Mo<Oo?To(Lo,Mo++):0,ko++,10===Do&&(ko=1,Bo++),Do}function jo(){return To(Lo,Mo)}function Zo(){return Mo}function zo(e,t){return Ro(Lo,e,t)}function Yo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Jo(e){return Bo=ko=1,Oo=Po(Lo=e),Mo=0,[]}function Uo(e){return Lo="",e}function _o(e){return Eo(zo(Mo-1,Ko(91===e?e+2:40===e?e+1:e)))}function Qo(e){for(;(Do=jo())&&Do<33;)Fo();return Yo(e)>2||Yo(Do)>3?"":" "}function $o(e,t){for(;--t&&Fo()&&!(Do<48||Do>102||Do>57&&Do<65||Do>70&&Do<97););return zo(e,Zo()+(t<6&&32==jo()&&32==Fo()))}function Ko(e){for(;Fo();)switch(Do){case e:return Mo;case 34:case 39:34!==e&&39!==e&&Ko(Do);break;case 40:41===e&&Ko(e);break;case 92:Fo()}return Mo}function qo(e,t){for(;Fo()&&e+Do!==57&&(e+Do!==84||47!==jo()););return"/*"+zo(t,Mo-1)+"*"+Ao(47===e?e:Fo())}function er(e){for(;!Yo(jo());)Fo();return zo(e,Mo)}function tr(e){return Uo(nr("",null,null,null,[""],e=Jo(e),0,[0],e))}function nr(e,t,n,o,r,i,s,a,l){for(var c=0,u=0,d=s,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",I=r,x=i,C=o,A=y;g;)switch(h=v,v=Fo()){case 40:if(108!=h&&58==To(A,d-1)){-1!=Go(A+=No(_o(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:A+=_o(v);break;case 9:case 10:case 13:case 32:A+=Qo(h);break;case 92:A+=$o(Zo()-1,7);continue;case 47:switch(jo()){case 42:case 47:Vo(rr(qo(Fo(),Zo()),t,n),l);break;default:A+="/"}break;case 123*m:a[c++]=Po(A)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(A=No(A,/\f/g,"")),f>0&&Po(A)-d&&Vo(f>32?ir(A+";",o,n,d-1):ir(No(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(Vo(C=or(A,t,n,c,u,r,a,y,I=[],x=[],d),i),123===v)if(0===u)nr(A,t,C,C,I,i,d,a,x);else switch(99===p&&110===To(A,3)?100:p){case 100:case 108:case 109:case 115:nr(e,C,C,o&&Vo(or(e,C,C,0,0,r,a,y,r,I=[],d),x),r,x,d,a,o?I:x);break;default:nr(A,C,C,C,[""],x,0,a,x)}}c=u=f=0,m=b=1,y=A="",d=s;break;case 58:d=1+Po(A),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Ho())continue;switch(A+=Ao(v),v*m){case 38:b=u>0?1:(A+="\f",-1);break;case 44:a[c++]=(Po(A)-1)*b,b=1;break;case 64:45===jo()&&(A+=_o(Fo())),p=jo(),u=d=Po(y=A+=er(Zo())),v++;break;case 45:45===h&&2==Po(A)&&(m=0)}}return i}function or(e,t,n,o,r,i,s,a,l,c,u){for(var d=r-1,p=0===r?i:[""],f=So(p),h=0,m=0,g=0;h<o;++h)for(var b=0,v=Ro(e,d+1,d=Co(m=s[h])),y=e;b<f;++b)(y=Eo(m>0?p[b]+" "+v:No(v,/&\f/g,p[b])))&&(l[g++]=y);return Xo(e,t,n,0===r?yo:a,l,c,u)}function rr(e,t,n){return Xo(e,t,n,vo,Ao(Do),Ro(e,2,-2),0)}function ir(e,t,n,o){return Xo(e,t,n,Io,Ro(e,0,o),Ro(e,o+1,-1),o)}function sr(e,t){for(var n="",o=So(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function ar(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Io:return e.return=e.return||e.value;case vo:return"";case xo:return e.return=e.value+"{"+sr(e.children,o)+"}";case yo:e.value=e.props.join(",")}return Po(n=sr(e.children,o))?e.return=e.value+"{"+n+"}":""}function lr(e){var t=So(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}function cr(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ur="undefined"!=typeof document,dr=function(e,t,n){for(var o=0,r=0;o=r,r=jo(),38===o&&12===r&&(t[n]=1),!Yo(r);)Fo();return zo(e,Mo)},pr=function(e,t){return Uo(function(e,t){var n=-1,o=44;do{switch(Yo(o)){case 0:38===o&&12===jo()&&(t[n]=1),e[n]+=dr(Mo-1,t,n);break;case 2:e[n]+=_o(o);break;case 4:if(44===o){e[++n]=58===jo()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ao(o)}}while(o=Fo());return e}(Jo(e),t))},fr=new WeakMap,hr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||fr.get(n))&&!o){fr.set(e,!0);for(var r=[],i=pr(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},mr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function gr(e,t){switch(function(e,t){return 45^To(e,0)?(((t<<2^To(e,0))<<2^To(e,1))<<2^To(e,2))<<2^To(e,3):0}(e,t)){case 5103:return bo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return bo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return bo+e+go+e+mo+e+e;case 6828:case 4268:return bo+e+mo+e+e;case 6165:return bo+e+mo+"flex-"+e+e;case 5187:return bo+e+No(e,/(\w+).+(:[^]+)/,bo+"box-$1$2"+mo+"flex-$1$2")+e;case 5443:return bo+e+mo+"flex-item-"+No(e,/flex-|-self/,"")+e;case 4675:return bo+e+mo+"flex-line-pack"+No(e,/align-content|flex-|-self/,"")+e;case 5548:return bo+e+mo+No(e,"shrink","negative")+e;case 5292:return bo+e+mo+No(e,"basis","preferred-size")+e;case 6060:return bo+"box-"+No(e,"-grow","")+bo+e+mo+No(e,"grow","positive")+e;case 4554:return bo+No(e,/([^-])(transform)/g,"$1"+bo+"$2")+e;case 6187:return No(No(No(e,/(zoom-|grab)/,bo+"$1"),/(image-set)/,bo+"$1"),e,"")+e;case 5495:case 3959:return No(e,/(image-set\([^]*)/,bo+"$1$`$1");case 4968:return No(No(e,/(.+:)(flex-)?(.*)/,bo+"box-pack:$3"+mo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+bo+e+e;case 4095:case 3583:case 4068:case 2532:return No(e,/(.+)-inline(.+)/,bo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Po(e)-1-t>6)switch(To(e,t+1)){case 109:if(45!==To(e,t+4))break;case 102:return No(e,/(.+:)(.+)-([^]+)/,"$1"+bo+"$2-$3$1"+go+(108==To(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Go(e,"stretch")?gr(No(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==To(e,t+1))break;case 6444:switch(To(e,Po(e)-3-(~Go(e,"!important")&&10))){case 107:return No(e,":",":"+bo)+e;case 101:return No(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+bo+(45===To(e,14)?"inline-":"")+"box$3$1"+bo+"$2$3$1"+mo+"$2box$3")+e}break;case 5936:switch(To(e,t+11)){case 114:return bo+e+mo+No(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return bo+e+mo+No(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return bo+e+mo+No(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return bo+e+mo+e+e}return e}var br,vr,yr,Ir,xr=ur?void 0:(br=function(){return cr(function(){return{}})},vr=new WeakMap,function(e){if(vr.has(e))return vr.get(e);var t=br(e);return vr.set(e,t),t}),Cr=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case Io:e.return=gr(e.value,e.length);break;case xo:return sr([Wo(e,{value:No(e.value,"@","@"+bo)})],o);case yo:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return sr([Wo(e,{props:[No(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return sr([Wo(e,{props:[No(t,/:(plac\w+)/,":"+bo+"input-$1")]}),Wo(e,{props:[No(t,/:(plac\w+)/,":-moz-$1")]}),Wo(e,{props:[No(t,/:(plac\w+)/,mo+"input-$1")]})],o)}return""})}}],Ar=function(e){var t=e.key;if(ur&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||Cr,s={},a=[];ur&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[hr,mr];if(xr){var u=[ar],d=lr(c.concat(i,u)),p=xr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=sr(tr(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}else{var h,m=[ar,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=lr(c.concat(i,m));r=function(e,t,n,o){h=n,sr(tr(e?e+"{"+t.styles+"}":t.styles),g),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new ho({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return b.sheet.hydrate(a),b};!function(){if(Ir)return yr;Ir=1;var e=Xt(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;yr=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=a(o);l&&(f=f.concat(l(o)));for(var h=i(t),m=i(o),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||r&&r[b]||m&&m[b]||h&&h[b])){var v=c(o,b);try{s(t,b,v)}catch(e){}}}}return t}}();var wr="undefined"!=typeof document;var Er=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===wr&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Nr={animationIterationCount:1,aspectRatio: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,scale: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},Gr=/[A-Z]|^ms/g,Tr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Rr=function(e){return 45===e.charCodeAt(1)},Pr=function(e){return null!=e&&"boolean"!=typeof e},Sr=cr(function(e){return Rr(e)?e:e.replace(Gr,"-$&").toLowerCase()}),Vr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Tr,function(e,t,n){return kr={name:t,styles:n,next:kr},t})}return 1===Nr[e]||Rr(e)||"number"!=typeof t||0===t?t:t+"px"};function Br(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return kr={name:r.name,styles:r.styles,next:kr},r.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)kr={name:s.name,styles:s.styles,next:kr},s=s.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=Br(e,t,n[r])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;Pr(a)&&(o+=Sr(i)+":"+Vr(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)Pr(s[l])&&(o+=Sr(i)+":"+Vr(i,s[l])+";");else{var c=Br(e,t,s);switch(i){case"animation":case"animationName":o+=Sr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var a=kr,l=n(e);return kr=a,Br(e,t,l)}}return n}var kr,Or=/label:\s*([^\s;{]+)\s*(;|$)/g;function Mr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";kr=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Br(n,t,i)):r+=i[0];for(var s=1;s<e.length;s++){if(r+=Br(n,t,e[s]),o)r+=i[s]}Or.lastIndex=0;for(var a,l="";null!==(a=Or.exec(r));)l+="-"+a[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:kr}}var Dr="undefined"!=typeof document,Lr=function(e){return e()},Xr=!!o.useInsertionEffect&&o.useInsertionEffect,Wr=Dr&&Xr||Lr,Hr="undefined"!=typeof document,Fr=o.createContext("undefined"!=typeof HTMLElement?Ar({key:"css"}):null);Fr.Provider;var jr=function(e){return i(function(t,n){var o=d(Fr);return e(t,o,n)})};Hr||(jr=function(e){return function(t){var n=d(Fr);return null===n?(n=Ar({key:"css"}),o.createElement(Fr.Provider,{value:n},e(t,n))):e(t,n)}});var Zr,zr,Yr=o.createContext({}),Jr={}.hasOwnProperty,Ur="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_r=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Er(t,n,r);var i=Wr(function(){return function(e,t,n){Er(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var s=e.insert(t===i?"."+o:"",i,e.sheet,!0);wr||void 0===s||(r+=s),i=i.next}while(void 0!==i);if(!wr&&0!==r.length)return r}}(t,n,r)});if(!Hr&&void 0!==i){for(var s,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return o.createElement("style",((s={})["data-emotion"]=t.key+" "+a,s.dangerouslySetInnerHTML={__html:i},s.nonce=t.sheet.nonce,s))}return null},Qr=jr(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Ur],s=[r],a="";"string"==typeof e.className?a=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var l=Mr(s,void 0,o.useContext(Yr));a+=t.key+"-"+l.name;var c={};for(var u in e)Jr.call(e,u)&&"css"!==u&&u!==Ur&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(_r,{cache:t,serialized:l,isStringTag:"string"==typeof i}),o.createElement(i,c))}),$r=Qr,Kr=function(e,t){var n=arguments;if(null==t||!Jr.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=$r,i[1]=function(e,t){var n={};for(var o in t)Jr.call(t,o)&&(n[o]=t[o]);return n[Ur]=e,n}(e,t);for(var s=2;s<r;s++)i[s]=n[s];return o.createElement.apply(null,i)};function qr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mr(t)}Zr=Kr||(Kr={}),zr||(zr=Zr.JSX||(Zr.JSX={}));const ei=Math.min,ti=Math.max,ni=Math.round,oi=Math.floor,ri=e=>({x:e,y:e});function ii(){return"undefined"!=typeof window}function si(e){return ci(e)?(e.nodeName||"").toLowerCase():"#document"}function ai(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function li(e){var t;return null==(t=(ci(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ci(e){return!!ii()&&(e instanceof Node||e instanceof ai(e).Node)}function ui(e){return!!ii()&&(e instanceof HTMLElement||e instanceof ai(e).HTMLElement)}function di(e){return!(!ii()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ai(e).ShadowRoot)}function pi(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=fi(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function fi(e){return ai(e).getComputedStyle(e)}function hi(e){const t=function(e){if("html"===si(e))return e;const t=e.assignedSlot||e.parentNode||di(e)&&e.host||li(e);return di(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(si(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ui(t)&&pi(t)?t:hi(t)}function mi(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=hi(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=ai(r);if(i){const e=gi(s);return t.concat(s,s.visualViewport||[],pi(r)?r:[],e&&n?mi(e):[])}return t.concat(r,mi(r,[],n))}function gi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bi(e){return t=e,ii()&&(t instanceof Element||t instanceof ai(t).Element)?e:e.contextElement;var t}function vi(e){const t=bi(e);if(!ui(t))return ri(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=fi(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=ui(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=ni(n)!==i||ni(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?ni(n.width):n.width)/o,a=(i?ni(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function yi(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=bi(e);let s=ri(1);t&&(s=vi(e));const a=ri(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const e=o;let t=ai(i),n=gi(t);for(;n&&o&&e!==t;){const e=vi(n),o=n.getBoundingClientRect(),r=fi(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=ai(n),n=gi(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Ii(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function xi(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=bi(e),u=r||i?[...c?mi(c):[],...t?mi(t):[]]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,o=null;const r=li(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(a||t(),!p||!f)return;const h={rootMargin:-oi(d)+"px "+-oi(r.clientWidth-(u+p))+"px "+-oi(r.clientHeight-(d+f))+"px "+-oi(u)+"px",threshold:ti(0,ei(1,l))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||Ii(c,e.getBoundingClientRect())||s(),m=!1}try{o=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),t&&h.observe(t));let m=l?yi(e):null;return l&&function t(){const o=yi(e);m&&!Ii(m,o)&&n();m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var Ci="undefined"!=typeof document?p:function(){},Ai=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],wi=function(){};function Ei(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ni(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(Ei(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Gi=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Kn(e)&&null!==e?[e]:[];var t},Ti=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,no({},so(e,Ai))},Ri=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,s=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),s)}};function Pi(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Si(e){return Pi(e)?window.pageYOffset:e.scrollTop}function Vi(e,t){Pi(e)?window.scrollTo(0,t):e.scrollTop=t}function Bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:wi,r=Si(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;Vi(e,l),s<n?window.requestAnimationFrame(t):o(e)}()}function ki(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Vi(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Vi(e,Math.max(t.offsetTop-r,0))}function Oi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Mi=!1,Di={get passive(){return Mi=!0}},Li="undefined"!=typeof window?window:{};Li.addEventListener&&Li.removeEventListener&&(Li.addEventListener("p",wi,Di),Li.removeEventListener("p",wi,!1));var Xi=Mi;function Wi(e){return null!=e}function Hi(e,t,n){return e?t:n}var Fi=["children","innerProps"],ji=["children","innerProps"];function Zi(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Pi(u=l)?window.innerHeight:u.clientHeight,v=Si(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=b-m,A=x+v,w=d-v-m,E=f-b+v+y,N=v+m-I,G=160;switch(r){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(w>=h&&!s)return i&&Bi(l,E,G),{placement:"bottom",maxHeight:t};if(!s&&w>=o||s&&C>=o)return i&&Bi(l,E,G),{placement:"bottom",maxHeight:s?C-y:w-y};if("auto"===r||s){var T=t,R=s?x:A;return R>=o&&(T=Math.min(R-y-a,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return i&&Vi(l,E),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(A>=h&&!s)return i&&Bi(l,N,G),{placement:"top",maxHeight:t};if(!s&&A>=o||s&&x>=o){var P=t;return(!s&&A>=o||s&&x>=o)&&(P=s?x-I:A-I),i&&Bi(l,N,G),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var zi,Yi=function(e){return"auto"===e?"bottom":e},Ji=f(null),Ui=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(d(Ji)||{}).setPortalPlacement,p=u(null),f=io(s(o),2),h=f[0],m=f[1],g=io(s(null),2),b=g[0],v=g[1],y=l.spacing.controlHeight;return Ci(function(){var e=p.current;if(e){var t="fixed"===i,s=Zi({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});m(s.maxHeight),v(s.placement),null==c||c(s.placement)}},[o,r,i,a,n,c,y]),t({ref:p,placerProps:no(no({},e),{},{placement:b||Yi(r),maxHeight:h})})},_i=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Kr("div",kn({},Ri(e,"menu",{menu:!0}),{ref:n},o),t)},Qi=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return no({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},$i=Qi,Ki=Qi,qi=["size"],es=["innerProps","isRtl","size"];var ts,ns,os="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL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kZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},rs=function(e){var t=e.size,n=so(e,qi);return Kr("svg",kn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:os},n))},is=function(e){return Kr(rs,kn({size:20},e),Kr("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ss=function(e){return Kr(rs,kn({size:20},e),Kr("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},as=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return no({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},ls=as,cs=as,us=function(){var e=qr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(zi||(ts=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ns||(ns=ts.slice(0)),zi=Object.freeze(Object.defineProperties(ts,{raw:{value:Object.freeze(ns)}})))),ds=function(e){var t=e.delay,n=e.offset;return Kr("span",{css:qr({animation:"".concat(us," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAg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FxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},ps=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return Kr("div",kn({ref:r},Ri(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},fs=["data"],hs=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Kr("div",kn({},Ri(e,"group",{group:!0}),a),Kr(i,kn({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Kr("div",null,t))},ms=["innerRef","isDisabled","isHidden","inputClassName"],gs={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},bs={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":no({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},gs)},vs=function(e){return no({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},gs)},ys=function(e){var t=e.cx,n=e.value,o=Ti(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=so(o,ms);return Kr("div",kn({},Ri(e,"input",{"input-container":!0}),{"data-value":n||""}),Kr("input",kn({className:t({input:!0},a),ref:r,style:vs(s),disabled:i},l)))},Is=function(e){var t=e.children,n=e.innerProps;return Kr("div",n,t)};var xs=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Kr(l,{data:o,innerProps:no(no({},Ri(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:a},Kr(c,{data:o,innerProps:no({},Ri(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Kr(u,{data:o,innerProps:no(no({},Ri(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},Cs={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Kr("div",kn({},Ri(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Kr(is,null))},Control:ps,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Kr("div",kn({},Ri(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Kr(ss,null))},DownChevron:ss,CrossIcon:is,Group:hs,GroupHeading:function(e){var t=Ti(e);t.data;var n=so(t,fs);return Kr("div",kn({},Ri(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Kr("div",kn({},Ri(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Kr("span",kn({},t,Ri(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ys,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=so(e,es);return Kr("div",kn({},Ri(no(no({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Kr(ds,{delay:0,offset:n}),Kr(ds,{delay:160,offset:!0}),Kr(ds,{delay:320,offset:!n}))},Menu:_i,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Kr("div",kn({},Ri(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,l=e.menuPosition,d=u(null),p=u(null),f=io(s(Yi(i)),2),h=f[0],m=f[1],g=c(function(){return{setPortalPlacement:m}},[]),b=io(s(null),2),v=b[0],y=b[1],I=a(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[o,l,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Ci(function(){I()},[I]);var x=a(function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&d.current&&(p.current=xi(o,d.current,I,{elementResize:"ResizeObserver"in window}))},[o,I]);Ci(function(){x()},[x]);var A=a(function(e){d.current=e,x()},[x]);if(!t&&"fixed"!==l||!v)return null;var w=Kr("div",kn({ref:A},Ri(no(no({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),n);return Kr(Ji.Provider,{value:g},t?C(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=so(e,ji);return Kr("div",kn({},Ri(no(no({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=so(e,Fi);return Kr("div",kn({},Ri(no(no({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:xs,MultiValueContainer:Is,MultiValueLabel:Is,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Kr("div",kn({role:"button"},n),t||Kr(is,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,s=e.innerProps;return Kr("div",kn({},Ri(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Kr("div",kn({},Ri(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Kr("div",kn({},Ri(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Kr("div",kn({},Ri(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return Kr("div",kn({},Ri(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},As=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ws(e,t){return e===t||!(!As(e)||!As(t))}function Es(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ws(e[n],t[n]))return!1;return!0}for(var Ns="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Gs=function(e){return Kr("span",kn({css:Ns},e))},Ts={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Rs=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,s=e.selectValue,a=e.selectProps,l=e.id,u=e.isAppleDevice,d=a.ariaLiveMessages,p=a.getOptionLabel,f=a.inputValue,h=a.isMulti,g=a.isOptionDisabled,b=a.isSearchable,v=a.menuIsOpen,y=a.options,I=a.screenReaderStatus,x=a.tabSelectsValue,C=a.isLoading,A=a["aria-label"],w=a["aria-live"],E=c(function(){return no(no({},Ts),d||{})},[d]),N=c(function(){var e,n="";if(t&&E.onChange){var o=t.option,r=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,f=d?d.map(p):[],h=no({isDisabled:c&&g(c,s),label:u,labels:f},t);n=E.onChange(h)}return n},[t,E,g,s,p]),G=c(function(){var e="",t=n||o,i=!!(n&&s&&s.includes(n));if(t&&E.onFocus){var a={focused:t,label:p(t),isDisabled:g(t,s),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=E.onFocus(a)}return e},[n,o,p,g,E,r,s,u]),T=c(function(){var e="";if(v&&y.length&&!C&&E.onFilter){var t=I({count:r.length});e=E.onFilter({inputValue:f,resultsMessage:t})}return e},[r,f,v,E,y,I,C]),R="initial-input-focus"===(null==t?void 0:t.action),P=c(function(){var e="";if(E.guidance){var t=o?"value":v?"menu":"input";e=E.guidance({"aria-label":A,context:t,isDisabled:n&&g(n,s),isMulti:h,isSearchable:b,tabSelectsValue:x,isInitialFocus:R})}return e},[A,n,o,h,g,b,v,E,s,x,R]),S=Kr(m,null,Kr("span",{id:"aria-selection"},N),Kr("span",{id:"aria-focused"},G),Kr("span",{id:"aria-results"},T),Kr("span",{id:"aria-guidance"},P));return Kr(m,null,Kr(Gs,{id:l},R&&S),Kr(Gs,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!R&&S))},Ps=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Ss=new RegExp("["+Ps.map(function(e){return e.letters}).join("")+"]","g"),Vs={},Bs=0;Bs<Ps.length;Bs++)for(var ks=Ps[Bs],Os=0;Os<ks.letters.length;Os++)Vs[ks.letters[Os]]=ks.base;var Ms=function(e){return e.replace(Ss,function(e){return Vs[e]})},Ds=function(e,t){void 0===t&&(t=Es);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(Ms),Ls=function(e){return e.replace(/^\s+|\s+$/g,"")},Xs=function(e){return"".concat(e.label," ").concat(e.value)},Ws=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=no({ignoreCase:!0,ignoreAccents:!0,stringify:Xs,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,a=o.trim,l=o.matchFrom,c=a?Ls(n):n,u=a?Ls(s(t)):s(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Ds(c),u=Ms(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Hs=["innerRef"];function Fs(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=io(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=io(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(so(e,Hs),"onExited","in","enter","exit","appear");return Kr("input",kn({ref:t},n,{css:qr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZ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29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var js=["boxSizing","height","overflow","paddingRight","position"],Zs={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function zs(e){e.cancelable&&e.preventDefault()}function Ys(e){e.stopPropagation()}function Js(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Us(){return"ontouchstart"in window||navigator.maxTouchPoints}var _s=!("undefined"==typeof window||!window.document||!window.document.createElement),Qs=0,$s={capture:!1,passive:!1};var Ks=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},qs="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm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7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function ea(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,s=u(!1),c=u(!1),d=u(0),p=u(null),f=a(function(e,t){if(null!==p.current){var a=p.current,l=a.scrollTop,u=a.scrollHeight,d=a.clientHeight,f=p.current,h=t>0,m=u-d-l,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),h&&c.current&&(i&&i(e),c.current=!1),h&&t>m?(n&&!s.current&&n(e),f.scrollTop=u,g=!0,s.current=!0):!h&&-t>l&&(r&&!c.current&&r(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,o,r,i]),h=a(function(e){f(e,e.deltaY)},[f]),m=a(function(e){d.current=e.changedTouches[0].clientY},[]),g=a(function(e){var t=d.current-e.changedTouches[0].clientY;f(e,t)},[f]),b=a(function(e){if(e){var t=!!Xi&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),v=a(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return l(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){p.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=u({}),i=u(null),s=a(function(e){if(_s){var t=document.body,n=t&&t.style;if(o&&js.forEach(function(e){var t=n&&n[e];r.current[e]=t}),o&&Qs<1){var i=parseInt(r.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+i||0;Object.keys(Zs).forEach(function(e){var t=Zs[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Us()&&(t.addEventListener("touchmove",zs,$s),e&&(e.addEventListener("touchstart",Js,$s),e.addEventListener("touchmove",Ys,$s))),Qs+=1}},[o]),c=a(function(e){if(_s){var t=document.body,n=t&&t.style;Qs=Math.max(Qs-1,0),o&&Qs<1&&js.forEach(function(e){var t=r.current[e];n&&(n[e]=t)}),t&&Us()&&(t.removeEventListener("touchmove",zs,$s),e&&(e.removeEventListener("touchstart",Js,$s),e.removeEventListener("touchmove",Ys,$s)))}},[o]);return l(function(){if(t){var e=i.current;return s(e),function(){c(e)}}},[t,s,c]),function(e){i.current=e}}({isEnabled:n});return Kr(m,null,n&&Kr("div",{onClick:Ks,css:qs}),t(function(e){r(e),i(e)}))}var ta="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},na=function(e){var t=e.name,n=e.onFocus;return Kr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:ta,value:"",onChange:function(){}})};function oa(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function ra(){return oa(/^Mac/i)}function ia(){return oa(/^iPhone/i)||oa(/^iPad/i)||ra()&&navigator.maxTouchPoints>1}var sa={clearIndicator:cs,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.theme,i=r.colors,s=r.borderRadius;return no({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:ls,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,r=n.spacing;return no({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return no({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return no(no({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},bs),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.spacing.baseUnit;return no({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:Ki,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return no((eo(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),eo(n,"position","absolute"),eo(n,"width","100%"),eo(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return no({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return no({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return no({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=e.isFocused;return no({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:$i,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return no({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return no({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return no({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return no({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},aa={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},la={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Oi(),captureMenuScroll:!Oi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ws(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ca(e,t,n,o){return{type:"option",data:t,isDisabled:ba(e,t,n),isSelected:va(e,t,n),label:ma(e,t),value:ga(e,t),index:o}}function ua(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return ca(e,n,t,o)}).filter(function(t){return fa(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=ca(e,n,t,o);return fa(e,i)?i:void 0}).filter(Wi)}function da(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,fo(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function pa(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,fo(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function fa(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!Ia(e)||!i)&&ya(e,{label:s,value:a,data:r},o)}var ha=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},ma=function(e,t){return e.getOptionLabel(t)},ga=function(e,t){return e.getOptionValue(t)};function ba(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function va(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=ga(e,t);return n.some(function(t){return ga(e,t)===o})}function ya(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Ia=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},xa=1,Ca=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mn(e,t)}(t,h);var e=function(e){var t=uo();return function(){var n,o=co(e);if(t){var r=co(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return po(this,n)}}(t);function t(n){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(o.setState({inputIsHiddenAfterUpdate:!s}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,s=o.state.selectValue,a=r&&o.isOptionSelected(e,s),l=o.isOptionDisabled(e,s);if(a){var c=o.getOptionValue(e);o.setValue(s.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(fo(s),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),s=Hi(t,i,i[0]||null);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(Hi(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=Hi(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return ha(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return pa(ua(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ni.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return ma(o.props,e)},o.getOptionValue=function(e){return ga(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=sa[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,no(no({},Cs),e.components);var e},o.buildCategorizedOptions=function(){return ua(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return da(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:no({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Pi(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return Ia(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;o.focusValue("previous");break;case"ArrowRight":if(!n||s)return;o.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():a&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&o.isOptionSelected(h,g))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(o.isComposing)return;o.selectOption(h);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:s}),o.onMenuClose()):a&&i&&o.clearValue();break;case" ":if(s)return;if(!c){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++xa),o.state.selectValue=Gi(n.value),n.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[s],o.state.focusedOptionId=ha(r,i[s])}return o}return function(e,t,n){t&&lo(e.prototype,t),n&&lo(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&ki(this.menuListRef,this.focusedOptionRef),(ra()||ia())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(ki(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(s=r+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(aa):no(no({},aa),this.props.theme):aa}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ba(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return va(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ya(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,s=e.tabIndex,a=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,h=this.commonProps,m=r||this.getElementId("input"),g=no(no(no({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(u,kn({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:a,type:"text",value:i},g)):o.createElement(Fs,kn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:wi,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:a,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,s=t.MultiValueRemove,a=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,h=u.inputValue,m=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return h?null:o.createElement(l,kn({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map(function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,kn({},c,{components:{Container:r,Label:i,Remove:s},isFocused:l,isDisabled:p,key:u,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var I=b[0];return o.createElement(a,kn({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,kn({},t,{innerProps:a,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,s=this.state.isFocused;if(!e||!i)return null;return o.createElement(e,kn({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:s}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,s=this.state.isFocused;return o.createElement(n,kn({},r,{isDisabled:i,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,kn({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,s=t.MenuList,a=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,I=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,A=f.menuPortalTarget,w=f.menuShouldBlockScroll,E=f.menuShouldScrollIntoView,N=f.noOptionsMessage,G=f.onMenuScrollToTop,T=f.onMenuScrollToBottom;if(!I)return null;var R,P=function(t,n){var r=t.type,i=t.data,s=t.isDisabled,a=t.isSelected,l=t.label,c=t.value,f=p===i,h=s?void 0:function(){return e.onOptionHover(i)},m=s?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return o.createElement(u,kn({},d,{innerProps:b,data:i,isDisabled:s,isSelected:a,key:g,label:l,type:r,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())R=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,s=t.options,a=t.index,l="".concat(e.getElementId("group"),"-").concat(a),c="".concat(l,"-heading");return o.createElement(n,kn({},d,{key:l,data:i,options:s,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var S=b({inputValue:m});if(null===S)return null;R=o.createElement(l,d,S)}else{var V=N({inputValue:m});if(null===V)return null;R=o.createElement(c,d,V)}var B={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:E},k=o.createElement(Ui,kn({},d,B),function(t){var n=t.ref,r=t.placerProps,a=r.placement,l=r.maxHeight;return o.createElement(i,kn({},d,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),o.createElement(ea,{captureEnabled:h,onTopArrive:G,onBottomArrive:T,lockEnabled:w},function(t){return o.createElement(s,kn({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),R)}))});return A||"fixed"===C?o.createElement(a,kn({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),k):k}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,s=t.name,a=t.required,l=this.state.selectValue;if(a&&!this.hasValue()&&!r)return o.createElement(na,{name:s,onFocus:this.onValueInputFocus});if(s&&!r){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return o.createElement("input",{name:s,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return o.createElement("input",{key:"i-".concat(n),name:s,type:"hidden",value:e.getOptionValue(t)})}):o.createElement("input",{name:s,type:"hidden",value:""});return o.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return o.createElement("input",{name:s,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,s=t.isFocused,a=t.selectValue,l=this.getFocusableOptions();return o.createElement(Rs,kn({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:s,selectValue:a,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,s=this.props,a=s.className,l=s.id,c=s.isDisabled,u=s.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return o.createElement(r,kn({},p,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,kn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),o.createElement(i,kn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,kn({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=Gi(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return da(ua(e,t))}(e,h):[],b=d?pa(ua(e,h),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedOptionId:ha(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=s&&a;return s&&!C&&(x={value:Hi(f,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),no(no(no({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),t}();Ca.defaultProps=la;var Aa=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,l=void 0===i?null:i,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=so(e,ao),b=io(s(void 0!==c?c:n),2),v=b[0],y=b[1],I=io(s(void 0!==u?u:r),2),x=I[0],C=I[1],A=io(s(void 0!==m?m:l),2),w=A[0],E=A[1],N=a(function(e,t){"function"==typeof d&&d(e,t),E(e)},[d]),G=a(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),T=a(function(){"function"==typeof h&&h(),C(!0)},[h]),R=a(function(){"function"==typeof f&&f(),C(!1)},[f]),P=void 0!==c?c:v,S=void 0!==u?u:x,V=void 0!==m?m:w;return no(no({},g),{},{inputValue:P,menuIsOpen:S,onChange:N,onInputChange:G,onMenuClose:R,onMenuOpen:T,value:V})}(e);return o.createElement(Ca,kn({ref:t},n))}),wa=Aa;const Ea=r.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:u,filterOptions:d,hasError:p,error:f,menuClassName:h,helperText:m,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":I,"data-testid":x,...C})=>{const A=c(()=>Ws(d),[d]),w=c(()=>({control:({isFocused:e})=>Me("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Me(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Me("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:o})=>{var r;return Me("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,h,n,p,v]);return"unstyled"===y?e(wa,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:u,filterOption:A,className:Me("rounded-xl",o),classNames:w,"data-cy":I,"data-testid":x,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Me("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(wa,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:u,filterOption:A,className:Me("rounded-xl",o),classNames:w,"data-cy":I,"data-testid":x,...C}),f&&e(et,{className:"footnote mt-1 text-text-critical",children:f}),!f&&m&&e(et,{className:"footnote mt-1 text-text-info",children:m})]})});Ea.displayName="Select";const Na=({errorMessage:n,className:o,iconClassName:r,iconSize:i=52,iconName:s="dangerous",textVariant:a})=>n?t("div",{className:Me("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",o),"data-testid":"alert-card",children:[e("div",{children:e(qe,{name:s,size:i,className:Me("text-icon-critical",r)})}),e(et,{className:Me("body2 text-text",a),children:n})]}):null;Na.displayName="AlertCard";const Ga=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},Ta=i(({variant:o="primary_brand",isLoading:r=!1,text:i,label:s,disabled:a,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},f)=>{const h=(()=>{const e=Me((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-auto"),t=Me((a||r)&&"cursor-not-allowed",r&&"pl-7");return Me(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[o]||"",t,c)})();let m=`button--${o}`;r&&(m+=" button--loading"),a&&(m+=" button--disabled");const g=`${m} ${h}`,b=t(n,{children:[r?e(qe,{name:"progress_activity",className:"animate-spin"}):null,s?t("span",{className:"flex flex-col",children:[e("span",{className:Me(Ga(u)),children:s}),i]}):i]});return"a"===d?e("a",{ref:f,className:Me(g),...p,children:b}):e("button",{ref:f,className:Me(g),disabled:a||r,...p,children:b})});Ta.displayName="BrandButton";const Ra=t=>{const{className:n,...o}=t;return e("div",{className:Me("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};Ra.displayName="Divider";const Pa=n=>{const{name:o,value:r,label:i,subText:s,checked:a,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":f,labelClassName:h="",disabled:m,...g}=n,b=()=>null==l?void 0:l(r||o);return t("label",{htmlFor:o,className:Me("flex items-center",c),"data-cy":f,...p,children:[e("input",{className:"hidden",type:"radio",name:o,value:r,checked:a,readOnly:!0,disabled:m,...g}),e(it,{type:"button",onClick:b,disabled:m,className:Me("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",a&&"border-[1px] border-solid border-border-brand",m&&"opacity-50"),children:a&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(it,{type:"button",onClick:b,disabled:m,tabIndex:i?0:-1,children:[e("div",{className:Me("text-body2 font-normal",h),children:i}),e("div",{className:"text-body1 text-text-info",children:s})]})]})};Pa.displayName="RadioButton";const Sa=n=>{const{list:o,text:r}=n,[i,a]=s(!0);return t("div",{className:"mt-3",children:[t(it,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),a(e=>!e)},children:[e("span",{children:r||"See details"}),e(qe,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(_n,{open:i,children:e("div",{className:"pt-1",children:e(tt,{listItemClassName:"body3",items:o})})})]})};Sa.displayName="SeeMore";const Va=({onSelect:o,speed:r,isSelected:i=!1,renderCheckPlans:a,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[f,h]=s(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:f,setModalOpen:()=>{h(!1)},speed:r,techType:d,isMax:p},cta:u});return t(n,{children:[t(it,{onClick:()=>{h(!0),o()},className:Me(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(qe,{className:Me(c,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),g]})},Ba=({className:t="",count:n=1})=>e("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});Ba.displayName="Skeleton";const ka=()=>t("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]});function Oa({tooltipMsg:o,className:r,children:i}){return t(n,{children:[e("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e("span",{className:`tooltip-custom ${r||""}`,"data-text":o,children:i})]})}Oa.displayName="Tooltip";const Ma=f({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Da=f({}),La=f(null),Xa="undefined"!=typeof document,Wa=Xa?p:l,Ha=f({strict:!1});function Fa(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ja(e){return"string"==typeof e||Array.isArray(e)}function Za(e){return"object"==typeof e&&"function"==typeof e.start}const za=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ya=["initial",...za];function Ja(e){return Za(e.animate)||Ya.some(t=>ja(e[t]))}function Ua(e){return Boolean(Ja(e)||e.variants)}function _a(e){const{initial:t,animate:n}=function(e,t){if(Ja(e)){const{initial:t,animate:n}=e;return{initial:!1===t||ja(t)?t:void 0,animate:ja(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,d(Da));return c(()=>({initial:t,animate:n}),[Qa(t),Qa(n)])}function Qa(e){return Array.isArray(e)?e.join(" "):e}const $a={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ka={};for(const e in $a)Ka[e]={isEnabled:t=>$a[e].some(e=>!!t[e])};const qa=f({}),el=f({}),tl=Symbol.for("motionComponentSymbol");function nl({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:s}){e&&function(e){for(const t in e)Ka[t]={...Ka[t],...e[t]}}(e);const c=i(function(i,c){let p;const f={...d(Ma),...i,layoutId:ol(i)},{isStatic:h}=f,m=_a(i),b=r(i,h);if(!h&&Xa){m.visualElement=function(e,t,n,o){const{visualElement:r}=d(Da),i=d(Ha),s=d(La),a=d(Ma).reducedMotion,c=u();o=o||i.renderer,!c.current&&o&&(c.current=o(e,{visualState:t,parent:r,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:a}));const p=c.current;return g(()=>{p&&p.update(n,s)}),Wa(()=>{p&&p.render()}),l(()=>{p&&p.updateFeatures()}),(window.HandoffAppearAnimations?Wa:l)(()=>{p&&p.animationState&&p.animationState.animateChanges()}),p}(s,b,f,t);const n=d(el),o=d(Ha).strict;m.visualElement&&(p=m.visualElement.loadFeatures(f,o,e,n))}return o.createElement(Da.Provider,{value:m},p&&m.visualElement?o.createElement(p,{visualElement:m.visualElement,...f}):null,n(s,i,function(e,t,n){return a(o=>{o&&e.mount&&e.mount(o),t&&(o?t.mount(o):t.unmount()),n&&("function"==typeof n?n(o):Fa(n)&&(n.current=o))},[t])}(b,m.visualElement,c),b,h,m.visualElement))});return c[tl]=s,c}function ol({layoutId:e}){const t=d(qa).id;return t&&void 0!==e?t+"-"+e:e}function rl(e){function t(t,n={}){return nl(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const il=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function sl(e){return"string"==typeof e&&!e.includes("-")&&!!(il.indexOf(e)>-1||/[A-Z]/.test(e))}const al={};const ll=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],cl=new Set(ll);function ul(e,{layout:t,layoutId:n}){return cl.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!al[e]||"opacity"===e)}const dl=e=>Boolean(e&&e.getVelocity),pl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fl=ll.length;const hl=e=>t=>"string"==typeof t&&t.startsWith(e),ml=hl("--"),gl=hl("var(--"),bl=(e,t)=>t&&"number"==typeof e?t.transform(e):e,vl=(e,t,n)=>Math.min(Math.max(n,e),t),yl={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Il={...yl,transform:e=>vl(0,1,e)},xl={...yl,default:1},Cl=e=>Math.round(1e5*e)/1e5,Al=/(-)?([\d]*\.?[\d])+/g,wl=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,El=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Nl(e){return"string"==typeof e}const Gl=e=>({test:t=>Nl(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Tl=Gl("deg"),Rl=Gl("%"),Pl=Gl("px"),Sl=Gl("vh"),Vl=Gl("vw"),Bl={...Rl,parse:e=>Rl.parse(e)/100,transform:e=>Rl.transform(100*e)},kl={...yl,transform:Math.round},Ol={borderWidth:Pl,borderTopWidth:Pl,borderRightWidth:Pl,borderBottomWidth:Pl,borderLeftWidth:Pl,borderRadius:Pl,radius:Pl,borderTopLeftRadius:Pl,borderTopRightRadius:Pl,borderBottomRightRadius:Pl,borderBottomLeftRadius:Pl,width:Pl,maxWidth:Pl,height:Pl,maxHeight:Pl,size:Pl,top:Pl,right:Pl,bottom:Pl,left:Pl,padding:Pl,paddingTop:Pl,paddingRight:Pl,paddingBottom:Pl,paddingLeft:Pl,margin:Pl,marginTop:Pl,marginRight:Pl,marginBottom:Pl,marginLeft:Pl,rotate:Tl,rotateX:Tl,rotateY:Tl,rotateZ:Tl,scale:xl,scaleX:xl,scaleY:xl,scaleZ:xl,skew:Tl,skewX:Tl,skewY:Tl,distance:Pl,translateX:Pl,translateY:Pl,translateZ:Pl,x:Pl,y:Pl,z:Pl,perspective:Pl,transformPerspective:Pl,opacity:Il,originX:Bl,originY:Bl,originZ:Pl,zIndex:kl,fillOpacity:Il,strokeOpacity:Il,numOctaves:kl};function Ml(e,t,n,o){const{style:r,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(ml(e)){i[e]=n;continue}const o=Ol[e],d=bl(n,o);if(cl.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(o.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):r[e]=d}if(t.transform||(l||o?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,r){let i="";for(let t=0;t<fl;t++){const n=ll[t];void 0!==e[n]&&(i+=`${pl[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),r?i=r(e,o?"":i):n&&o&&(i="none"),i}(e.transform,n,u,o):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const Dl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ll(e,t,n){for(const o in t)dl(t[o])||ul(o,n)||(e[o]=t[o])}function Xl(e,t,n){const o={};return Ll(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t,n){return c(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{}};return Ml(o,t,{enableHardwareAcceleration:!n},e),Object.assign({},o.vars,o.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(o):o}function Wl(e,t,n){const o={},r=Xl(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}const Hl=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Fl(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Hl.has(e)}let jl=e=>!Fl(e);try{(Zl=require("@emotion/is-prop-valid").default)&&(jl=e=>e.startsWith("on")?!Fl(e):Zl(e))}catch(nt){}var Zl;function zl(e,t,n){return"string"==typeof e?e:Pl.transform(t+n*e)}const Yl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Jl={offset:"strokeDashoffset",array:"strokeDasharray"};function Ul(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(Ml(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${zl(t,e.x,e.width)} ${zl(n,e.y,e.height)}`}(m,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==o&&(f.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?Yl:Jl;e[i.offset]=Pl.transform(-o);const s=Pl.transform(t),a=Pl.transform(n);e[i.array]=`${s} ${a}`}(f,s,a,l,!1)}const _l=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Ql=e=>"string"==typeof e&&"svg"===e.toLowerCase();function $l(e,t,n,o){const r=c(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ul(n,t,{enableHardwareAcceleration:!1},Ql(o),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Ll(t,e.style,e),r.style={...t,...r.style}}return r}function Kl(e=!1){return(t,n,o,{latestValues:r},i)=>{const s=(sl(t)?$l:Wl)(n,r,i,t),a=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(jl(r)||!0===n&&Fl(r)||!t&&!Fl(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(n,"string"==typeof t,e),l={...a,...s,ref:o},{children:u}=n,d=c(()=>dl(u)?u.get():u,[u]);return b(t,{...l,children:d})}}const ql=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ec(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const tc=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function nc(e,t,n,o){ec(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(tc.has(n)?n:ql(n),t.attrs[n])}function oc(e,t){const{style:n}=e,o={};for(const r in n)(dl(n[r])||t.style&&dl(t.style[r])||ul(r,e))&&(o[r]=n[r]);return o}function rc(e,t){const n=oc(e,t);for(const o in e)if(dl(e[o])||dl(t[o])){n[-1!==ll.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function ic(e,t,n,o={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),t}const sc=e=>Array.isArray(e),ac=e=>sc(e)?e[e.length-1]||0:e;function lc(e){const t=dl(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const cc=e=>(t,n)=>{const o=d(Da),r=d(La),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,r,i){const s={latestValues:uc(o,r,i,e),renderState:t()};return n&&(s.mount=e=>n(o,e,s)),s}(e,t,o,r);return n?i():function(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}(i)};function uc(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=lc(i[e]);let{initial:s,animate:a}=e;const l=Ja(e),c=Ua(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Za(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=ic(e,t);if(!n)return;const{transitionEnd:o,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in o)r[e]=o[e]})}return r}const dc={useVisualState:cc({scrapeMotionValuesFromProps:rc,createRenderState:_l,onMount:(e,t,{renderState:n,latestValues:o})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Ul(n,o,{enableHardwareAcceleration:!1},Ql(t.tagName),e.transformTemplate),nc(t,n)}})},pc={useVisualState:cc({scrapeMotionValuesFromProps:oc,createRenderState:Dl})};function fc(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const hc=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function mc(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function gc(e,t,n,o){return fc(e,t,(e=>t=>hc(t)&&e(t,mc(t)))(n),o)}const bc=(e,t)=>n=>t(e(n)),vc=(...e)=>e.reduce(bc);function yc(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Ic=yc("dragHorizontal"),xc=yc("dragVertical");function Cc(e){let t=!1;if("y"===e)t=xc();else if("x"===e)t=Ic();else{const e=Ic(),n=xc();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ac(){const e=Cc(!0);return!e||(e(),!1)}class wc{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ec={delta:0,timestamp:0,isProcessing:!1};let Nc=!0,Gc=!1;const Tc=["read","update","preRender","render","postRender"],Rc=Tc.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,r=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&r,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(r)i=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let n=0;n<o;n++){const o=t[n];o(l),s.has(o)&&(a.schedule(o),e())}r=!1,i&&(i=!1,a.process(l))}}};return a}(()=>Gc=!0),e),{}),Pc=e=>Rc[e].process(Ec),Sc=e=>{Gc=!1,Ec.delta=Nc?1e3/60:Math.max(Math.min(e-Ec.timestamp,40),1),Ec.timestamp=e,Ec.isProcessing=!0,Tc.forEach(Pc),Ec.isProcessing=!1,Gc&&(Nc=!1,requestAnimationFrame(Sc))},Vc=Tc.reduce((e,t)=>{const n=Rc[t];return e[t]=(e,t=!1,o=!1)=>(Gc||(Gc=!0,Nc=!0,Ec.isProcessing||requestAnimationFrame(Sc)),n.schedule(e,t,o)),e},{});function Bc(e){Tc.forEach(t=>Rc[t].cancel(e))}function kc(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return gc(e.current,n,(n,r)=>{if("touch"===n.type||Ac())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[o]&&Vc.update(()=>i[o](n,r))},{passive:!e.getProps()[o]})}const Oc=(e,t)=>!!t&&(e===t||Oc(e,t.parentElement)),Mc=e=>e;function Dc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,mc(n))}const Lc=new WeakMap,Xc=new WeakMap,Wc=e=>{const t=Lc.get(e.target);t&&t(e)},Hc=e=>{e.forEach(Wc)};function Fc(e,t,n){const o=function({root:e,...t}){const n=e||document;Xc.has(n)||Xc.set(n,{});const o=Xc.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Hc,{root:e,...t})),o[r]}(t);return Lc.set(e,n),o.observe(e),()=>{Lc.delete(e),o.unobserve(e)}}const jc={some:0,all:1};const Zc={inView:{Feature:class extends wc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:jc[o]};return Fc(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends wc{constructor(){super(...arguments),this.removeStartListeners=Mc,this.removeEndListeners=Mc,this.removeAccessibleListeners=Mc,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=gc(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();Vc.update(()=>{Oc(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=gc(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=vc(o,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=fc(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=fc(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Dc("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Vc.update(()=>n(e,t))})}),Dc("down",(e,t)=>{this.startPress(e,t)})}),t=fc(this.node.current,"blur",()=>{this.isPressing&&Dc("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=vc(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Vc.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ac()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Vc.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=gc(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=fc(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=vc(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends wc{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=vc(fc(this.node.current,"focus",()=>this.onFocus()),fc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends wc{mount(){this.unmount=vc(kc(this.node,!0),kc(this.node,!1))}unmount(){}}}};function zc(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function Yc(e,t,n){const o=e.getProps();return ic(o,t,void 0!==n?n:o.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Jc="data-"+ql("framerAppearId");let Uc=Mc,_c=Mc;"production"!==process.env.NODE_ENV&&(Uc=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},_c=(e,t)=>{if(!e)throw new Error(t)});const Qc=e=>1e3*e,$c=e=>e/1e3,Kc=!1,qc=e=>Array.isArray(e)&&"number"==typeof e[0];function eu(e){return Boolean(!e||"string"==typeof e&&nu[e]||qc(e)||Array.isArray(e)&&e.every(eu))}const tu=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,nu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tu([0,.65,.55,1]),circOut:tu([.55,0,1,.45]),backIn:tu([.31,.01,.66,-.59]),backOut:tu([.33,1.53,.69,.99])};function ou(e){if(e)return qc(e)?tu(e):Array.isArray(e)?e.map(ou):nu[e]}const ru={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},iu={},su={};for(const e in ru)su[e]=()=>(void 0===iu[e]&&(iu[e]=ru[e]()),iu[e]);const au=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function lu(e,t,n,o){if(e===t&&n===o)return Mc;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=au(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:au(r(e),t,o)}const cu=lu(.42,0,1,1),uu=lu(0,0,.58,1),du=lu(.42,0,.58,1),pu=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,fu=e=>t=>1-e(1-t),hu=e=>1-Math.sin(Math.acos(e)),mu=fu(hu),gu=pu(mu),bu=lu(.33,1.53,.69,.99),vu=fu(bu),yu=pu(vu),Iu={linear:Mc,easeIn:cu,easeInOut:du,easeOut:uu,circIn:hu,circInOut:gu,circOut:mu,backIn:vu,backInOut:yu,backOut:bu,anticipate:e=>(e*=2)<1?.5*vu(e):.5*(2-Math.pow(2,-10*(e-1)))},xu=e=>{if(Array.isArray(e)){_c(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return lu(t,n,o,r)}return"string"==typeof e?(_c(void 0!==Iu[e],`Invalid easing type '${e}'`),Iu[e]):e},Cu=(e,t)=>n=>Boolean(Nl(n)&&El.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Au=(e,t,n)=>o=>{if(!Nl(o))return o;const[r,i,s,a]=o.match(Al);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},wu={...yl,transform:e=>Math.round((e=>vl(0,255,e))(e))},Eu={test:Cu("rgb","red"),parse:Au("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+wu.transform(e)+", "+wu.transform(t)+", "+wu.transform(n)+", "+Cl(Il.transform(o))+")"};const Nu={test:Cu("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:Eu.transform},Gu={test:Cu("hsl","hue"),parse:Au("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+Rl.transform(Cl(t))+", "+Rl.transform(Cl(n))+", "+Cl(Il.transform(o))+")"},Tu={test:e=>Eu.test(e)||Nu.test(e)||Gu.test(e),parse:e=>Eu.test(e)?Eu.parse(e):Gu.test(e)?Gu.parse(e):Nu.parse(e),transform:e=>Nl(e)?e:e.hasOwnProperty("red")?Eu.transform(e):Gu.transform(e)},Ru=(e,t,n)=>-n*e+n*t+e;function Pu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const Su=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},Vu=[Nu,Eu,Gu];function Bu(e){const t=(n=e,Vu.find(e=>e.test(n)));var n;_c(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===Gu&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Pu(a,o,e+1/3),i=Pu(a,o,e),s=Pu(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const ku=(e,t)=>{const n=Bu(e),o=Bu(t),r={...n};return e=>(r.red=Su(n.red,o.red,e),r.green=Su(n.green,o.green,e),r.blue=Su(n.blue,o.blue,e),r.alpha=Ru(n.alpha,o.alpha,e),Eu.transform(r))};const Ou={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Mc},Mu={regex:wl,countKey:"Colors",token:"${c}",parse:Tu.parse},Du={regex:Al,countKey:"Numbers",token:"${n}",parse:yl.parse};function Lu(e,{regex:t,countKey:n,token:o,parse:r}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(r)))}function Xu(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Lu(n,Ou),Lu(n,Mu),Lu(n,Du),n}function Wu(e){return Xu(e).values}function Hu(e){const{values:t,numColors:n,numVars:o,tokenised:r}=Xu(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=r<o?t.replace(Ou.token,e[r]):r<o+n?t.replace(Mu.token,Tu.transform(e[r])):t.replace(Du.token,Cl(e[r]));return t}}const Fu=e=>"number"==typeof e?0:e;const ju={test:function(e){var t,n;return isNaN(e)&&Nl(e)&&((null===(t=e.match(Al))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(wl))||void 0===n?void 0:n.length)||0)>0},parse:Wu,createTransformer:Hu,getAnimatableNone:function(e){const t=Wu(e);return Hu(e)(t.map(Fu))}},Zu=(e,t)=>n=>`${n>0?t:e}`;function zu(e,t){return"number"==typeof e?n=>Ru(e,t,n):Tu.test(e)?ku(e,t):e.startsWith("var(")?Zu(e,t):Uu(e,t)}const Yu=(e,t)=>{const n=[...e],o=n.length,r=e.map((e,n)=>zu(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}},Ju=(e,t)=>{const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=zu(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}},Uu=(e,t)=>{const n=ju.createTransformer(t),o=Xu(e),r=Xu(t);return o.numVars===r.numVars&&o.numColors===r.numColors&&o.numNumbers>=r.numNumbers?vc(Yu(o.values,r.values),n):(Uc(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Zu(e,t))},_u=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},Qu=(e,t)=>n=>Ru(e,t,n);function $u(e,t,n){const o=[],r=n||("number"==typeof(i=e[0])?Qu:"string"==typeof i?Tu.test(i)?ku:Uu:Array.isArray(i)?Yu:"object"==typeof i?Ju:Qu);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Mc:t;i=vc(e,i)}o.push(i)}return o}function Ku(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(_c(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=$u(t,o,r),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=_u(e[n],e[n+1],t);return s[n](o)};return n?t=>l(vl(e[0],e[i-1],t)):l}function qu(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=_u(0,t,o);e.push(Ru(n,1,r))}}(t,e.length-1),t}function ed({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(xu):xu(o),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:qu(t),e),a=Ku(s,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||du).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function td(e,t){return t?e*(1e3/t):0}function nd(e,t,n){const o=Math.max(t-5,0);return td(n-e(o),t-o)}const od=.001;function rd({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i;Uc(e<=Qc(10),"Spring duration must be 10 seconds or less");let s=1-t;s=vl(.05,1,s),e=vl(.01,10,$c(e)),s<1?(r=t=>{const o=t*s,r=o*e,i=o-n,a=sd(t,s),l=Math.exp(-r);return od-i/a*l},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=sd(Math.pow(t,2),s);return(-r(t)+od>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<id;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=Qc(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const id=12;function sd(e,t){return e*Math.sqrt(1-t*t)}const ad=["duration","bounce"],ld=["stiffness","damping","mass"];function cd(e,t){return t.some(t=>void 0!==e[t])}function ud({keyframes:e,restDelta:t,restSpeed:n,...o}){const r=e[0],i=e[e.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!cd(e,ld)&&cd(e,ad)){const n=rd(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),f=u?-$c(u):0,h=l/(2*Math.sqrt(a*c)),m=i-r,g=$c(Math.sqrt(a/c)),b=Math.abs(m)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=sd(g,h);v=t=>{const n=Math.exp(-h*g*t);return i-n*((f+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)v=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),o=Math.min(e*t,300);return i-n*((f+h*g*m)*Math.sinh(o)+e*m*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)s.done=e>=d;else{let r=f;0!==e&&(r=h<1?nd(v,e,o):0);const a=Math.abs(r)<=n,l=Math.abs(i-o)<=t;s.done=a&&l}return s.value=s.done?i:o,s}}}function dd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const m=d+h,g=void 0===s?m:s(m);g!==m&&(h=g-d);const b=e=>-h*Math.exp(-e/o),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let I,x;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(I=e,x=ud({keyframes:[p.value,f(p.value)],velocity:nd(v,e,p.value),damping:r,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==I||(t=!0,y(e),C(e)),void 0!==I&&e>I?x.next(e-I):(!t&&y(e),p)}}}const pd=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Vc.update(t,!0),stop:()=>Bc(t),now:()=>Ec.isProcessing?Ec.timestamp:performance.now()}};function fd(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const hd={decay:dd,inertia:dd,tween:ed,keyframes:ed,spring:ud};function md({autoplay:e=!0,delay:t=0,driver:n=pd,keyframes:o,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,h,m=1,g=!1;const b=()=>{f&&f(),h=new Promise(e=>{f=e})};let v;b();const y=hd[r]||ed;let I;y!==ed&&"number"!=typeof o[0]&&(I=Ku([0,100],o,{clamp:!1}),o=[0,100]);const x=y({...p,keyframes:o});let C;"mirror"===a&&(C=y({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let A="idle",w=null,E=null,N=null;null===x.calculatedDuration&&i&&(x.calculatedDuration=fd(x));const{calculatedDuration:G}=x;let T=1/0,R=1/0;null!==G&&(T=G+s,R=T*(i+1)-s);let P=0;const S=e=>{if(null===E)return;m>0&&(E=Math.min(E,e)),P=null!==w?w:(e-E)*m;const n=P-t,r=n<0;P=Math.max(n,0),"finished"===A&&null===w&&(P=R);let l=P,c=x;if(i){const e=P/T;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const o=Boolean(t%2);o&&("reverse"===a?(n=1-n,s&&(n-=s/T)):"mirror"===a&&(c=C));let r=vl(0,1,n);P>R&&(r="reverse"===a&&o?1:0),l=r*T}const u=r?{done:!1,value:o[0]}:c.next(l);I&&(u.value=I(u.value));let{done:p}=u;r||null===G||(p=P>=R);const f=null===w&&("finished"===A||"running"===A&&p||m<0&&P<=0);return d&&d(u.value),f&&k(),u},V=()=>{v&&v.stop(),v=void 0},B=()=>{A="idle",V(),b(),E=N=null},k=()=>{A="finished",u&&u(),V(),b()},O=()=>{if(g)return;v||(v=n(S));const e=v.now();l&&l(),null!==w?E=e-w:E&&"finished"!==A||(E=e),N=E,w=null,A="running",v.start()};e&&O();const M={then:(e,t)=>h.then(e,t),get time(){return $c(P)},set time(e){e=Qc(e),P=e,null===w&&v&&0!==m?E=v.now()-e/m:w=e},get duration(){const e=null===x.calculatedDuration?fd(x):x.calculatedDuration;return $c(e)},get speed(){return m},set speed(e){e!==m&&v&&(m=e,M.time=$c(P))},get state(){return A},play:O,pause:()=>{A="paused",w=P},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),B())},cancel:()=>{null!==N&&S(N),B()},complete:()=>{A="finished"},sample:e=>(E=0,S(e))};return M}const gd=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function bd(e,t,{onUpdate:n,onComplete:o,...r}){if(!(su.waapi()&&gd.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!eu(t.ease))(t,r)){const e=md({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let o=0;for(;!t.done&&o<2e4;)t=e.sample(o),n.push(t.value),o+=10;p=void 0,c=n,u=o-10,d="linear"}const f=function(e,t,n,{delay:o=0,duration:r,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=ou(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),h=()=>f.cancel(),m=()=>{Vc.update(h),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),o&&o(),m()},{then:(e,t)=>s.then(e,t),get time(){return $c(f.currentTime||0)},set time(e){f.currentTime=Qc(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return $c(u)},play:()=>{a||(f.play(),Bc(h))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=md({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>f.finish(),cancel:m}}const vd={type:"spring",stiffness:500,damping:25,restSpeed:10},yd={type:"keyframes",duration:.8},Id={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xd=(e,{keyframes:t})=>t.length>2?yd:cl.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:vd:Id,Cd=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!ju.test(t)&&"0"!==t||t.startsWith("url("))),Ad=new Set(["brightness","contrast","saturate","opacity"]);function wd(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(Al)||[];if(!o)return e;const r=n.replace(o,"");let i=Ad.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const Ed=/([a-z-]*)\(.*?\)/g,Nd={...ju,getAnimatableNone:e=>{const t=e.match(Ed);return t?t.map(wd).join(" "):e}},Gd={...Ol,color:Tu,backgroundColor:Tu,outlineColor:Tu,fill:Tu,stroke:Tu,borderColor:Tu,borderTopColor:Tu,borderRightColor:Tu,borderBottomColor:Tu,borderLeftColor:Tu,filter:Nd,WebkitFilter:Nd},Td=e=>Gd[e];function Rd(e,t){let n=Td(e);return n!==Nd&&(n=ju),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Pd=e=>/^0[^.\s]+$/.test(e);function Sd(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Pd(e):void 0}function Vd(e,t){return e[t]||e.default||e}const Bd=(e,t,n,o={})=>r=>{const i=Vd(o,e)||{},s=i.delay||o.delay||0;let{elapsed:a=0}=o;a-=Qc(s);const l=function(e,t,n,o){const r=Cd(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==o.from?o.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),Sd(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=Rd(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Cd(e,c),p=Cd(e,u);Uc(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{r(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...xd(e,f)}),f.duration&&(f.duration=Qc(f.duration)),f.repeatDelay&&(f.repeatDelay=Qc(f.repeatDelay)),!d||!p||Kc||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const r=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:Mc,pause:Mc,stop:Mc,then:e=>(e(),Promise.resolve()),cancel:Mc,complete:Mc});return t?md({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=bd(t,e,f);if(n)return n}return md(f)};function kd(e){return Boolean(dl(e)&&e.add)}const Od=e=>/^\-?\d*\.?\d+$/.test(e);function Md(e,t){-1===e.indexOf(t)&&e.push(t)}function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ld{constructor(){this.subscriptions=[]}add(e){return Md(this.subscriptions,e),()=>Dd(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xd=new Set;function Wd(e,t,n){e||Xd.has(t)||(console.warn(t),Xd.add(t))}class Hd{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:o}=Ec;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,Vc.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Vc.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&Wd(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Ld);const n=this.events[e].add(t);return"change"===e?()=>{n(),Vc.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?td(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Fd(e,t){return new Hd(e,t)}const jd=e=>t=>t.test(e),Zd=[yl,Pl,Rl,Tl,Vl,Sl,{test:e=>"auto"===e,parse:e=>e}],zd=e=>Zd.find(jd(e)),Yd=[...Zd,Tu,ju],Jd=e=>Yd.find(jd(e));function Ud(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fd(n))}function _d(e,t){if(!t)return;return(t[e]||t.default||t).from}function Qd({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function $d(e,t,{delay:n=0,transitionOverride:o,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(i=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const o=e.getValue(t),r=a[t];if(!o||void 0===r||u&&Qd(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[Jc];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,o,Vc))}o.start(Bd(t,o,r,e.shouldReduceMotion&&cl.has(t)?{type:!1}:s));const d=o.animation;kd(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Yc(e,t);let{transitionEnd:o={},transition:r={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...o};for(const t in i)Ud(e,t,ac(i[t]))}(e,s)}),c}function Kd(e,t,n={}){const o=Yc(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const i=o?()=>Promise.all($d(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(qd).forEach((e,o)=>{e.notify("AnimationStart",t),s.push(Kd(e,t,{...i,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+o,s,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function qd(e,t){return e.sortNodePosition(t)}const ep=[...za].reverse(),tp=za.length;function np(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>Kd(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=Kd(e,t,n);else{const r="function"==typeof t?Yc(e,t,n.custom):t;o=Promise.all($d(e,r,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function op(e){let t=np(e);const n={animate:ip(!0),whileInView:ip(),whileHover:ip(),whileTap:ip(),whileDrag:ip(),whileFocus:ip(),exit:ip()};let o=!0;const r=(t,n)=>{const o=Yc(e,n);if(o){const{transition:e,transitionEnd:n,...r}=o;t={...t,...r,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<tp;t++){const f=ep[t],h=n[f],m=void 0!==a[f]?a[f]:l[f],g=ja(m),b=f===s?h.isActive:null;!1===b&&(p=t);let v=m===l[f]&&m!==a[f]&&g;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!m&&!h.prevProp||Za(m)||"boolean"==typeof m)continue;const y=rp(h.prevProp,m);let I=y||f===s&&h.isActive&&!v&&g||t>p&&g;const x=Array.isArray(m)?m:[m];let C=x.reduce(r,{});!1===b&&(C={});const{prevResolvedValues:A={}}=h,w={...A,...C},E=e=>{I=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in w){const t=C[e],n=A[e];d.hasOwnProperty(e)||(t!==n?sc(t)&&sc(n)?!zc(t,n)||y?E(e):h.protectedKeys[e]=!0:void 0!==t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):h.protectedKeys[e]=!0)}h.prevProp=m,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),o&&e.blockInitialAnimation&&(I=!1),I&&!v&&c.push(...x.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let f=Boolean(c.length);return o&&!1===a.initial&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,o,r){var s;if(n[t].isActive===o)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)}),n[t].isActive=o;const a=i(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function rp(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!zc(t,e)}function ip(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let sp=0;const ap={animation:{Feature:class extends wc{constructor(e){super(e),e.animationState||(e.animationState=op(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Za(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends wc{constructor(){super(...arguments),this.id=sp++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},lp=(e,t)=>Math.abs(e-t);class cp{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=pp(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=lp(e.x,t.x),o=lp(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=Ec;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=up(t,this.transformPagePoint),Vc.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,r=pp("pointercancel"===e.type?this.lastMoveEventInfo:up(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!hc(e))return;this.handlers=t,this.transformPagePoint=n;const o=up(mc(e),this.transformPagePoint),{point:r}=o,{timestamp:i}=Ec;this.history=[{...r,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,pp(o,this.history)),this.removeListeners=vc(gc(window,"pointermove",this.handlePointerMove),gc(window,"pointerup",this.handlePointerUp),gc(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Bc(this.updatePoint)}}function up(e,t){return t?{point:t(e.point)}:e}function dp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pp({point:e},t){return{point:e,delta:dp(e,hp(t)),offset:dp(e,fp(t)),velocity:mp(t,.1)}}function fp(e){return e[0]}function hp(e){return e[e.length-1]}function mp(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=hp(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>Qc(t)));)n--;if(!o)return{x:0,y:0};const i=$c(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function gp(e){return e.max-e.min}function bp(e,t=0,n=.01){return Math.abs(e-t)<=n}function vp(e,t,n,o=.5){e.origin=o,e.originPoint=Ru(t.min,t.max,e.origin),e.scale=gp(n)/gp(t),(bp(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ru(n.min,n.max,e.origin)-e.originPoint,(bp(e.translate)||isNaN(e.translate))&&(e.translate=0)}function yp(e,t,n,o){vp(e.x,t.x,n.x,o?o.originX:void 0),vp(e.y,t.y,n.y,o?o.originY:void 0)}function Ip(e,t,n){e.min=n.min+t.min,e.max=e.min+gp(t)}function xp(e,t,n){e.min=t.min-n.min,e.max=e.min+gp(t)}function Cp(e,t,n){xp(e.x,t.x,n.x),xp(e.y,t.y,n.y)}function Ap(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function wp(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const Ep=.35;function Np(e,t,n){return{min:Gp(e,t),max:Gp(e,n)}}function Gp(e,t){return"number"==typeof e?e:e[t]||0}const Tp=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Rp(e){return[e("x"),e("y")]}function Pp({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Sp(e){return void 0===e||1===e}function Vp({scale:e,scaleX:t,scaleY:n}){return!Sp(e)||!Sp(t)||!Sp(n)}function Bp(e){return Vp(e)||kp(e)||e.z||e.rotate||e.rotateX||e.rotateY}function kp(e){return Op(e.x)||Op(e.y)}function Op(e){return e&&"0%"!==e}function Mp(e,t,n){return n+t*(e-n)}function Dp(e,t,n,o,r){return void 0!==r&&(e=Mp(e,r,o)),Mp(e,n,o)+t}function Lp(e,t=0,n=1,o,r){e.min=Dp(e.min,t,n,o,r),e.max=Dp(e.max,t,n,o,r)}function Xp(e,{x:t,y:n}){Lp(e.x,t.translate,t.scale,t.originPoint),Lp(e.y,n.translate,n.scale,n.originPoint)}function Wp(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Hp(e,t){e.min=e.min+t,e.max=e.max+t}function Fp(e,t,[n,o,r]){const i=void 0!==t[r]?t[r]:.5,s=Ru(e.min,e.max,i);Lp(e,t[n],t[o],s,t.scale)}const jp=["x","scaleX","originX"],Zp=["y","scaleY","originY"];function zp(e,t){Fp(e.x,t,jp),Fp(e.y,t,Zp)}function Yp(e,t){return Pp(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const Jp=new WeakMap;class Up{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new cp(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(mc(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Cc(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rp(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Rl.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=gp(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&Vc.update(()=>r(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&Vc.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!_p(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?Ru(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?Ru(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&Fa(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:Ap(e.x,n,r),y:Ap(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=Ep){return!1===e?e=0:!0===e&&(e=Ep),{x:Np(e,"left","right"),y:Np(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Rp(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Fa(e))return!1;const n=e.current;_c(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=Yp(e,n),{scroll:r}=t;return r&&(Hp(o.x,r.offset.x),Hp(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:wp(e.x,t.x),y:wp(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Pp(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Rp(s=>{if(!_p(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Bd(e,n,0,t))}stopAnimation(){Rp(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Rp(t=>{const{drag:n}=this.getProps();if(!_p(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-Ru(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Fa(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rp(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=gp(e),r=gp(t);return r>o?n=_u(t.min,t.max-o,e.min):o>r&&(n=_u(e.min,e.max-r,t.min)),vl(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Rp(t=>{if(!_p(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(Ru(r,i,o[t]))})}addListeners(){if(!this.visualElement.current)return;Jp.set(this.visualElement,this);const e=gc(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Fa(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=fc(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Rp(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=Ep,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function _p(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Qp=e=>(t,n)=>{e&&Vc.update(()=>e(t,n))};const $p={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Kp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const qp={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Pl.test(e))return e;e=parseFloat(e)}return`${Kp(e,t.target.x)}% ${Kp(e,t.target.y)}%`}},ef={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=ju.parse(e);if(r.length>5)return o;const i=ju.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=Ru(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class tf extends r.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;var i;i=of,Object.assign(al,i),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),$p.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||Vc.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nf(e){const[t,n]=function(){const e=d(La);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=e,r=v();return l(()=>o(r),[]),!t&&n?[!1,()=>n&&n(r)]:[!0]}(),o=d(qa);return r.createElement(tf,{...e,layoutGroup:o,switchLayoutGroup:d(el),isPresent:t,safeToRemove:n})}const of={borderRadius:{...qp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:qp,borderTopRightRadius:qp,borderBottomLeftRadius:qp,borderBottomRightRadius:qp,boxShadow:ef},rf=["TopLeft","TopRight","BottomLeft","BottomRight"],sf=rf.length,af=e=>"string"==typeof e?parseFloat(e):e,lf=e=>"number"==typeof e||Pl.test(e);function cf(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const uf=pf(0,.5,mu),df=pf(.5,.95,Mc);function pf(e,t,n){return o=>o<e?0:o>t?1:n(_u(e,t,o))}function ff(e,t){e.min=t.min,e.max=t.max}function hf(e,t){ff(e.x,t.x),ff(e.y,t.y)}function mf(e,t,n,o,r){return e=Mp(e-=t,1/n,o),void 0!==r&&(e=Mp(e,1/r,o)),e}function gf(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){Rl.test(t)&&(t=parseFloat(t),t=Ru(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Ru(i.min,i.max,o);e===i&&(a-=t),e.min=mf(e.min,t,n,a,r),e.max=mf(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const bf=["x","scaleX","originX"],vf=["y","scaleY","originY"];function yf(e,t,n,o){gf(e.x,t,bf,n?n.x:void 0,o?o.x:void 0),gf(e.y,t,vf,n?n.y:void 0,o?o.y:void 0)}function If(e){return 0===e.translate&&1===e.scale}function xf(e){return If(e.x)&&If(e.y)}function Cf(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}function Af(e){return gp(e.x)/gp(e.y)}class wf{constructor(){this.members=[]}add(e){Md(this.members,e),e.scheduleRender()}remove(e){if(Dd(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ef(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y;if((r||i)&&(o=`translate3d(${r}px, ${i}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),r&&(o+=`rotateY(${r}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(o+=`scale(${s}, ${a})`),o||"none"}const Nf=(e,t)=>e.depth-t.depth;class Gf{constructor(){this.children=[],this.isDirty=!1}add(e){Md(this.children,e),this.isDirty=!0}remove(e){Dd(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Nf),this.isDirty=!1,this.children.forEach(e)}}const Tf=["","X","Y","Z"];let Rf=0;const Pf={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Sf({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Rf++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!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.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;Pf.totalNodes=Pf.resolvedTargetDeltas=Pf.recalculatedProjection=0,this.nodes.forEach(kf),this.nodes.forEach(Hf),this.nodes.forEach(Ff),this.nodes.forEach(Of),e=Pf,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Gf)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ld),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(Bc(o),e(i-t))};return Vc.read(o,!0),()=>Bc(o)}(o,250),$p.hasAnimatedSinceResize&&($p.hasAnimatedSinceResize=!1,this.nodes.forEach(Wf))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||Uf,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Cf(this.targetLayout,o)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Vd(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Wf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Bc(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(jf),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Df);this.isUpdating||this.nodes.forEach(Lf),this.isUpdating=!1,this.nodes.forEach(Xf),this.nodes.forEach(Vf),this.nodes.forEach(Bf),this.clearAllSnapshots();const e=performance.now();Ec.delta=vl(0,1e3/60,e-Ec.timestamp),Ec.timestamp=e,Ec.isProcessing=!0,Rc.update.process(Ec),Rc.preRender.process(Ec),Rc.render.process(Ec),Ec.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Mf),this.sharedNodes.forEach(Zf)}scheduleUpdateProjection(){Vc.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Vc.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!xf(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||Bp(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),_f((o=n).x),_f(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Hp(t.x,n.offset.x),Hp(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};hf(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:r,options:i}=o;if(o!==this.root&&r&&i.layoutScroll){if(r.isRoot){hf(t,e);const{scroll:n}=this.root;n&&(Hp(t.x,-n.offset.x),Hp(t.y,-n.offset.y))}Hp(t.x,r.offset.x),Hp(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};hf(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&zp(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),Bp(o.latestValues)&&zp(n,o.latestValues)}return Bp(this.latestValues)&&zp(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};hf(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Bp(n.latestValues))continue;Vp(n.latestValues)&&n.updateSnapshot();const o=Tp();hf(o,n.measurePageBox()),yf(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return Bp(this.latestValues)&&yf(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ec.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=Ec.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Cp(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),hf(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,Ip(s.x,a.x,l.x),Ip(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):hf(this.target,this.layout.layoutBox),Xp(this.target,this.targetDelta)):hf(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Cp(this.relativeTargetOrigin,this.target,e.target),hf(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Pf.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Vp(this.parent.latestValues)&&!kp(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===Ec.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;hf(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const r=i.instance;r&&r.style&&"contents"===r.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&zp(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Xp(e,s)),o&&Bp(i.latestValues)&&zp(e,i.latestValues))}t.x=Wp(t.x),t.y=Wp(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;yp(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Ef(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Pf.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Jf));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;zf(i.x,e.x,n),zf(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cp(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){Yf(e.x,t.x,n.x,o),Yf(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&Cf(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),hf(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=Ru(0,void 0!==n.opacity?n.opacity:1,uf(o)),e.opacityExit=Ru(void 0!==t.opacity?t.opacity:1,0,df(o))):i&&(e.opacity=Ru(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<sf;r++){const i=`border${rf[r]}Radius`;let s=cf(t,i),a=cf(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||lf(s)===lf(a)?(e[i]=Math.max(Ru(af(s),af(a),o),0),(Rl.test(a)||Rl.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=Ru(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Bc(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Vc.update(()=>{$p.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=dl(e)?e:Fd(e);return o.start(Bd("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&Qf(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=gp(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=gp(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}hf(t,n),zp(t,r),yp(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new wf);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const o={};for(let t=0;t<Tf.length;t++){const r="rotate"+Tf[t];n[r]&&(o[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in o)e.setStaticValue(t,o[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=lc(e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=lc(e.pointerEvents)||""),this.hasProjected&&!Bp(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=Ef(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in al){if(void 0===s[e])continue;const{correct:t,applyTo:n}=al[e],r="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?lc(e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Df),this.root.sharedNodes.clear()}}}function Vf(e){e.updateLayout()}function Bf(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?Rp(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=gp(o);o.min=t[e].min,o.max=o.min+r}):Qf(r,n.layoutBox,t)&&Rp(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=gp(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};yp(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?yp(a,e.applyTransform(o,!0),n.measuredBox):yp(a,t,n.layoutBox);const l=!xf(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};Cp(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Cp(a,t,i.layoutBox),Cf(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function kf(e){Pf.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Of(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Mf(e){e.clearSnapshot()}function Df(e){e.clearMeasurements()}function Lf(e){e.isLayoutDirty=!1}function Xf(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Wf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Hf(e){e.resolveTargetDelta()}function Ff(e){e.calcProjection()}function jf(e){e.resetRotation()}function Zf(e){e.removeLeadSnapshot()}function zf(e,t,n){e.translate=Ru(t.translate,0,n),e.scale=Ru(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Yf(e,t,n,o){e.min=Ru(t.min,n.min,o),e.max=Ru(t.max,n.max,o)}function Jf(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Uf={duration:.45,ease:[.4,0,.1,1]};function _f(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Qf(e,t,n){return"position"===e||"preserve-aspect"===e&&!bp(Af(t),Af(n),.2)}const $f=Sf({attachResizeListener:(e,t)=>fc(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Kf={current:void 0},qf=Sf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Kf.current){const e=new $f({});e.mount(window),e.setOptions({layoutScroll:!0}),Kf.current=e}return Kf.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),eh={pan:{Feature:class extends wc{constructor(){super(...arguments),this.removePointerDownListener=Mc}onPointerDown(e){this.session=new cp(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Qp(e),onStart:Qp(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&Vc.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=gc(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends wc{constructor(e){super(e),this.removeGroupControls=Mc,this.removeListeners=Mc,this.controls=new Up(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Mc}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:qf,MeasureLayout:nf}},th=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function nh(e,t,n=1){_c(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=th.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():gl(r)?nh(r,t,n+1):r}const oh=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rh=e=>oh.has(e),ih=e=>e===yl||e===Pl,sh=(e,t)=>parseFloat(e.split(", ")[t]),ah=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/);if(r)return sh(r[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?sh(t[1],e):0}},lh=new Set(["x","y","z"]),ch=ll.filter(e=>!lh.has(e));const uh={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ah(4,13),y:ah(5,14)},dh=(e,t,n={},o={})=>{t={...t},o={...o};const r=Object.keys(t).filter(rh);let i=[],s=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=zd(c);const d=t[r];let p;if(sc(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=zd(c);for(let n=t;n<e&&null!==d[n];n++)p?_c(zd(d[n])===p,"All keyframes must be of the same type"):(p=zd(d[n]),_c(p===u||ih(u)&&ih(p),"Keyframes must be of the same dimension as the current value"))}else p=zd(d);if(u!==p)if(ih(u)&&ih(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===Pl&&(t[r]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[r]=u.transform(d):(s||(i=function(e){const t=[];return ch.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),o[r]=void 0!==o[r]?o[r]:t[r],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const o=t.measureViewportBox(),r=t.current,i=getComputedStyle(r),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=uh[e](o,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(a[n]),e[n]=uh[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Xa&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:t,transitionEnd:o}};function ph(e,t,n,o){return(e=>Object.keys(e).some(rh))(t)?dh(e,t,n,o):{target:t,transitionEnd:o}}const fh=(e,t,n,o)=>{const r=function(e,{...t},n){const o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!gl(t))return;const n=nh(t,o);n&&e.set(n)});for(const e in t){const r=t[e];if(!gl(r))continue;const i=nh(r,o);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,o);return ph(e,t=r.target,n,o=r.transitionEnd)},hh={current:null},mh={current:!1};function gh(){if(mh.current=!0,Xa)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>hh.current=e.matches;e.addListener(t),t()}else hh.current=!1}const bh=new WeakMap,vh=Object.keys(Ka),yh=vh.length,Ih=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],xh=Ya.length;class Ch{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Vc.render(this.render,!1,!0);const{latestValues:s,renderState:a}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Ja(t),this.isVariantNode=Ua(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&dl(t)&&(t.set(s[e],!1),kd(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,bh.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),mh.current||gh(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||hh.current),"production"!==process.env.NODE_ENV&&Wd(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){bh.delete(this.current),this.projection&&this.projection.unmount(),Bc(this.notifyUpdate),Bc(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=cl.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Vc.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,r){let i,s;if("production"!==process.env.NODE_ENV&&o&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Uc(!1,e):_c(!1,e)}for(let e=0;e<yh;e++){const n=vh[e],{isEnabled:o,Feature:r,ProjectionNode:a,MeasureLayout:l}=Ka[n];a&&(i=a),o(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:o,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(o)||s&&Fa(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ih.length;t++){const n=Ih[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){const{willChange:o}=t;for(const r in t){const i=t[r],s=n[r];if(dl(i))e.addValue(r,i),kd(o)&&o.add(r),"development"===process.env.NODE_ENV&&Wd("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(dl(s))e.addValue(r,Fd(i,{owner:e})),kd(o)&&o.remove(r);else if(s!==i)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,Fd(void 0!==t?t:i,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<xh;e++){const n=Ya[e],o=this.props[n];(ja(o)||!1===o)&&(t[n]=o)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Fd(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,o="string"==typeof n||"object"==typeof n?null===(t=ic(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||dl(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Ld),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Ah extends Ch{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:o},r){let i=function(e,t,n){const o={};for(const r in e){const e=_d(r,t);if(void 0!==e)o[r]=e;else{const e=n.getValue(r);e&&(o[r]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),i&&(i=o(i))),r){!function(e,t,n){var o,r;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(o=n[s])&&void 0!==o?o:e.readValue(s))&&void 0!==r?r:t[s]),null!=c&&("string"==typeof c&&(Od(c)||Pd(c))?c=parseFloat(c):!Jd(c)&&ju.test(l)&&(c=Rd(s,l)),e.addValue(s,Fd(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=fh(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class wh extends Ah{readValueFromInstance(e,t){if(cl.has(t)){const e=Td(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(ml(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Yp(e,t)}build(e,t,n,o){Ml(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return oc(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;dl(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){ec(e,t,n,o)}}class Eh extends Ah{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(cl.has(t)){const e=Td(t);return e&&e.default||0}return t=tc.has(t)?t:ql(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return rc(e,t)}build(e,t,n,o){Ul(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){nc(e,t,0,o)}mount(e){this.isSVGTag=Ql(e.tagName),super.mount(e)}}const Nh=(e,t)=>sl(e)?new Eh(t,{enableHardwareAcceleration:!1}):new wh(t,{enableHardwareAcceleration:!0}),Gh={...ap,...Zc,...eh,...{layout:{ProjectionNode:qf,MeasureLayout:nf}}},Th=rl((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...sl(e)?dc:pc,preloadedFeatures:n,useRender:Kl(t),createVisualElement:o,Component:e}}(e,t,Gh,Nh));function Rh(){!mh.current&&gh();const[e]=s(hh.current);return"production"!==process.env.NODE_ENV&&Wd(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const Ph={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}}};function Sh({children:t,animationType:n,disableAnimation:o=!0,whileHover:i,whileTap:s,transition:a,...l}){const c=Rh(),u=r.Children.only(t);if(o||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=Ph[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...i}:i,f=(null==d?void 0:d.whileTap)||s?{...null==d?void 0:d.whileTap,...s}:void 0,h=d?{...d.transition,...a}:a;if("string"==typeof u.type){const t=Th[u.type];return e(t,{...u.props,whileHover:p,whileTap:f,transition:h,...l})}return e(Th.div,{whileHover:p,whileTap:f,transition:h,...l,children:u})}Sh.displayName="AnimationWrapper";const Vh=n=>{const{cartTotalText:o,onClick:r,isOpen:i,...s}=n;return e(it,{className:Me("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:r,...s,children:t("div",{className:"flex w-full items-center justify-center gap-2",children:[t("div",{className:"flex flex-col items-center justify-center",children:[e(et,{className:"label4 -mb-1 text-text",children:"View cart"}),e(et,{className:"label3 text-text md:label1","data-testid":"cart-total",children:o})]}),e(qe,{name:"keyboard_arrow_up",size:24,fill:0,className:Me("h-6 w-6 transition-transform",i?"rotate-180":"rotate-0")})]})})};function Bh(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:o=.15,mobileBreakpoint:r=768,autoScrollInterval:i=8e3,enableAutoScroll:c=!0}=e,[d,p]=s(0),[f,h]=s(0),[m,g]=s(!1),[b,v]=s(window.innerWidth),[y,I]=s(!1),x=u(null),C=u(0),A=u(null),w={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:r,AUTO_SCROLL_INTERVAL:i};l(()=>{const e=()=>{var e;v((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const E=a(()=>{0!==t&&p(e=>(e+1)%t)},[t]),N=a(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),G=a(e=>{e<0||e>=t||p(e)},[t]),T=a(e=>{C.current=e.touches[0].clientX,g(!0),x.current&&clearInterval(x.current)},[]),R=a(e=>{if(!m)return;const t=e.touches[0].clientX-C.current;h(t)},[m]),P=a(()=>{g(!1);const e=b*o;f>e?N():f<-e&&E(),h(0),c&&i>0&&(x.current=setInterval(()=>{E()},i))},[f,b,o,N,E,c,i]);return l(()=>{const e=()=>{I(window.innerWidth<r)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),l(()=>{if(c&&0!==t&&0!==i)return x.current=setInterval(()=>{E()},i),()=>{x.current&&clearInterval(x.current)}},[E,t,c,i]),{currentIndex:d,swipeOffset:f,isSwiping:m,isMobile:y,containerWidth:b,containerRef:A,nextSlide:E,prevSlide:N,goToSlide:G,handleTouchStart:T,handleTouchMove:R,handleTouchEnd:P,constants:w}}export{Qn as Accordion,Na as AlertCard,Sh as AnimationWrapper,Ta as BrandButton,it as Button,ft as CallButton,$n as Checkbox,tt as Checklist,_n as Collapse,Ra as Divider,lt as Image,at as Input,st as InputField,rt as Link,Ke as List,$e as ListItem,qe as MaterialIcon,Un as Modal,dt as NextImage,ka as PageSkeleton,Pa as RadioButton,Sa as SeeMore,Ea as Select,Va as SelectPlanButton,Ba as Skeleton,pt as Spinner,et as Text,at as TextInput,Oa as Tooltip,Vh as ViewCartButton,w as clsx,Me as cx,ht as useBodyScrollLock,Bh as useCarouselSwipe};
39
31
  //# sourceMappingURL=index.esm.js.map