@windstream/react-shared-components 0.1.81 → 0.1.86

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 (203) hide show
  1. package/README.md +635 -635
  2. package/dist/contentful/index.d.ts +5 -0
  3. package/dist/contentful/index.esm.js +3 -3
  4. package/dist/contentful/index.esm.js.map +1 -1
  5. package/dist/contentful/index.js +2 -2
  6. package/dist/contentful/index.js.map +1 -1
  7. package/dist/core.d.ts +17 -4
  8. package/dist/index.d.ts +20 -7
  9. package/dist/index.esm.js +6 -6
  10. package/dist/index.esm.js.map +1 -1
  11. package/dist/index.js +6 -6
  12. package/dist/index.js.map +1 -1
  13. package/package.json +185 -185
  14. package/src/components/accordion/Accordion.stories.tsx +230 -230
  15. package/src/components/accordion/index.tsx +70 -70
  16. package/src/components/accordion/types.ts +12 -12
  17. package/src/components/alert-card/AlertCard.stories.tsx +171 -171
  18. package/src/components/alert-card/index.tsx +41 -41
  19. package/src/components/alert-card/types.ts +13 -13
  20. package/src/components/animation-wrapper/index.tsx +129 -0
  21. package/src/components/animation-wrapper/types.ts +11 -0
  22. package/src/components/brand-button/BrandButton.stories.tsx +223 -223
  23. package/src/components/brand-button/helpers.ts +35 -35
  24. package/src/components/brand-button/index.tsx +120 -120
  25. package/src/components/brand-button/types.ts +38 -38
  26. package/src/components/button/Button.stories.tsx +108 -108
  27. package/src/components/button/index.tsx +27 -27
  28. package/src/components/button/types.ts +14 -14
  29. package/src/components/call-button/CallButton.stories.tsx +324 -324
  30. package/src/components/call-button/index.tsx +106 -106
  31. package/src/components/call-button/types.ts +16 -16
  32. package/src/components/checkbox/Checkbox.stories.tsx +247 -247
  33. package/src/components/checkbox/index.tsx +197 -197
  34. package/src/components/checkbox/types.ts +27 -27
  35. package/src/components/checklist/Checklist.stories.tsx +150 -150
  36. package/src/components/checklist/index.tsx +61 -61
  37. package/src/components/checklist/types.ts +17 -17
  38. package/src/components/collapse/Collapse.stories.tsx +255 -255
  39. package/src/components/collapse/index.tsx +46 -46
  40. package/src/components/collapse/types.ts +6 -6
  41. package/src/components/divider/Divider.stories.tsx +205 -205
  42. package/src/components/divider/index.tsx +22 -22
  43. package/src/components/divider/type.ts +3 -3
  44. package/src/components/image/Image.stories.tsx +113 -113
  45. package/src/components/image/index.tsx +25 -25
  46. package/src/components/image/types.ts +40 -40
  47. package/src/components/input/Input.stories.tsx +325 -325
  48. package/src/components/input/index.tsx +177 -177
  49. package/src/components/input/types.ts +37 -37
  50. package/src/components/link/Link.stories.tsx +163 -163
  51. package/src/components/link/index.tsx +116 -116
  52. package/src/components/link/types.ts +25 -25
  53. package/src/components/list/List.stories.tsx +272 -272
  54. package/src/components/list/index.tsx +88 -88
  55. package/src/components/list/list-item/index.tsx +38 -38
  56. package/src/components/list/list-item/types.ts +13 -13
  57. package/src/components/list/types.ts +29 -29
  58. package/src/components/material-icon/MaterialIcon.stories.tsx +322 -322
  59. package/src/components/material-icon/constants.ts +99 -99
  60. package/src/components/material-icon/index.tsx +47 -47
  61. package/src/components/material-icon/types.ts +31 -31
  62. package/src/components/modal/Modal.stories.tsx +171 -171
  63. package/src/components/modal/index.tsx +164 -164
  64. package/src/components/modal/types.ts +24 -24
  65. package/src/components/next-image/index.tsx +74 -74
  66. package/src/components/next-image/types.ts +1 -1
  67. package/src/components/pagination/index.tsx +91 -91
  68. package/src/components/pagination/types.ts +6 -6
  69. package/src/components/radio-button/RadioButton.stories.tsx +307 -307
  70. package/src/components/radio-button/index.tsx +75 -75
  71. package/src/components/radio-button/types.ts +21 -21
  72. package/src/components/see-more/SeeMore.stories.tsx +181 -181
  73. package/src/components/see-more/index.tsx +44 -44
  74. package/src/components/see-more/types.ts +4 -4
  75. package/src/components/select/Select.stories.tsx +411 -411
  76. package/src/components/select/index.tsx +155 -155
  77. package/src/components/select/types.ts +36 -36
  78. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +184 -184
  79. package/src/components/select-plan-button/index.tsx +63 -63
  80. package/src/components/select-plan-button/types.ts +17 -17
  81. package/src/components/skeleton/Skeleton.stories.tsx +179 -179
  82. package/src/components/skeleton/index.tsx +61 -61
  83. package/src/components/skeleton/types.ts +4 -4
  84. package/src/components/spinner/Spinner.stories.tsx +335 -335
  85. package/src/components/spinner/index.tsx +44 -44
  86. package/src/components/spinner/types.ts +5 -5
  87. package/src/components/text/Text.stories.tsx +321 -321
  88. package/src/components/text/index.tsx +25 -25
  89. package/src/components/text/types.ts +45 -45
  90. package/src/components/tooltip/Tooltip.stories.tsx +219 -219
  91. package/src/components/tooltip/index.tsx +74 -74
  92. package/src/components/tooltip/types.ts +7 -7
  93. package/src/components/view-cart-button/ViewCartButton.stories.tsx +252 -252
  94. package/src/components/view-cart-button/index.tsx +42 -42
  95. package/src/components/view-cart-button/types.ts +5 -5
  96. package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +128 -128
  97. package/src/contentful/blocks/accordion/Accordion.stories.tsx +98 -98
  98. package/src/contentful/blocks/accordion/index.tsx +112 -112
  99. package/src/contentful/blocks/accordion/types.ts +34 -34
  100. package/src/contentful/blocks/address-input-banner/index.tsx +52 -52
  101. package/src/contentful/blocks/address-input-banner/types.ts +14 -14
  102. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +181 -181
  103. package/src/contentful/blocks/anchored-bottom-banner/types.ts +13 -13
  104. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.mocks.tsx +144 -144
  105. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.tsx +156 -156
  106. package/src/contentful/blocks/blogs-grid/index.tsx +134 -134
  107. package/src/contentful/blocks/blogs-grid/types.ts +26 -26
  108. package/src/contentful/blocks/blogs-grid-base/index.tsx +119 -119
  109. package/src/contentful/blocks/blogs-grid-base/types.ts +36 -36
  110. package/src/contentful/blocks/breadcrumbs/BreadcrumbNavigation.stories.tsx +147 -147
  111. package/src/contentful/blocks/breadcrumbs/index.tsx +95 -95
  112. package/src/contentful/blocks/breadcrumbs/types.ts +8 -8
  113. package/src/contentful/blocks/button/Button.stories.tsx +40 -40
  114. package/src/contentful/blocks/button/index.tsx +131 -131
  115. package/src/contentful/blocks/button/types.ts +39 -39
  116. package/src/contentful/blocks/callout/Callout.stories.tsx +23 -23
  117. package/src/contentful/blocks/callout/index.tsx +279 -265
  118. package/src/contentful/blocks/callout/types.ts +78 -72
  119. package/src/contentful/blocks/cards/Cards.stories.tsx +23 -23
  120. package/src/contentful/blocks/cards/blog-card/index.tsx +129 -129
  121. package/src/contentful/blocks/cards/blog-card/types.ts +34 -34
  122. package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -119
  123. package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -30
  124. package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -130
  125. package/src/contentful/blocks/cards/full-image-card/types.ts +29 -29
  126. package/src/contentful/blocks/cards/index.tsx +13 -13
  127. package/src/contentful/blocks/cards/product-card/index.tsx +251 -251
  128. package/src/contentful/blocks/cards/product-card/types.ts +28 -28
  129. package/src/contentful/blocks/cards/simple-card/index.tsx +325 -325
  130. package/src/contentful/blocks/cards/simple-card/types.ts +71 -71
  131. package/src/contentful/blocks/cards/testimonial-card/index.tsx +90 -90
  132. package/src/contentful/blocks/cards/testimonial-card/types.tsx +12 -12
  133. package/src/contentful/blocks/cards/types.ts +1 -1
  134. package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -23
  135. package/src/contentful/blocks/carousel/helper.tsx +494 -494
  136. package/src/contentful/blocks/carousel/index.tsx +87 -87
  137. package/src/contentful/blocks/carousel/types.ts +145 -145
  138. package/src/contentful/blocks/cart-retention-banner/index.tsx +105 -105
  139. package/src/contentful/blocks/cart-retention-banner/types.ts +11 -11
  140. package/src/contentful/blocks/comparison-table/index.tsx +29 -29
  141. package/src/contentful/blocks/comparison-table/types.ts +6 -6
  142. package/src/contentful/blocks/cookiebanner/index.tsx +146 -146
  143. package/src/contentful/blocks/cookiebanner/type.ts +7 -7
  144. package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -46
  145. package/src/contentful/blocks/cta-callout/index.tsx +71 -71
  146. package/src/contentful/blocks/cta-callout/types.ts +26 -26
  147. package/src/contentful/blocks/dynamic-tabs/index.tsx +204 -204
  148. package/src/contentful/blocks/dynamic-tabs/types.ts +21 -21
  149. package/src/contentful/blocks/email-input-block/index.tsx +116 -116
  150. package/src/contentful/blocks/email-input-block/types.ts +16 -16
  151. package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
  152. package/src/contentful/blocks/find-kinetic/index.tsx +130 -130
  153. package/src/contentful/blocks/find-kinetic/types.ts +19 -19
  154. package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +34 -34
  155. package/src/contentful/blocks/floating-banner/index.tsx +97 -97
  156. package/src/contentful/blocks/floating-banner/types.ts +22 -22
  157. package/src/contentful/blocks/footer/Footer.stories.tsx +317 -317
  158. package/src/contentful/blocks/footer/index.tsx +91 -91
  159. package/src/contentful/blocks/footer/types.ts +13 -13
  160. package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -23
  161. package/src/contentful/blocks/image-promo-bar/helper.tsx +28 -28
  162. package/src/contentful/blocks/image-promo-bar/index.tsx +246 -246
  163. package/src/contentful/blocks/image-promo-bar/types.ts +44 -44
  164. package/src/contentful/blocks/image-promo-bar/vimeo-embed.tsx +93 -93
  165. package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +46 -46
  166. package/src/contentful/blocks/modal/constants.ts +53 -53
  167. package/src/contentful/blocks/modal/index.tsx +107 -107
  168. package/src/contentful/blocks/modal/types.ts +12 -12
  169. package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +139 -139
  170. package/src/contentful/blocks/navigation/index.tsx +568 -568
  171. package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +82 -82
  172. package/src/contentful/blocks/navigation/types.ts +71 -71
  173. package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -23
  174. package/src/contentful/blocks/primary-hero/index.tsx +236 -236
  175. package/src/contentful/blocks/primary-hero/types.ts +37 -37
  176. package/src/contentful/blocks/search-block/index.tsx +90 -90
  177. package/src/contentful/blocks/search-block/types.ts +15 -15
  178. package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -26
  179. package/src/contentful/blocks/shape-background-wrapper/index.tsx +124 -124
  180. package/src/contentful/blocks/shape-background-wrapper/types.ts +36 -36
  181. package/src/contentful/blocks/text/Text.stories.tsx +23 -23
  182. package/src/contentful/blocks/text/index.tsx +12 -12
  183. package/src/contentful/blocks/text/types.ts +1 -1
  184. package/src/contentful/index.ts +105 -105
  185. package/src/hooks/contentful/use-contentful-rich-text.tsx +309 -309
  186. package/src/hooks/contentful/use-processed-check-list.ts +63 -63
  187. package/src/hooks/use-body-scroll-lock.ts +34 -34
  188. package/src/hooks/use-carousel-swipe.ts +264 -264
  189. package/src/hooks/use-outside-click.ts +17 -17
  190. package/src/index.ts +107 -101
  191. package/src/next/index.ts +5 -5
  192. package/src/setupTests.ts +46 -46
  193. package/src/stories/DocsTemplate.tsx +24 -24
  194. package/src/styles/globals.css +343 -343
  195. package/src/types/global.d.ts +9 -9
  196. package/src/types/micro-components.ts +99 -99
  197. package/src/types/utm.ts +49 -49
  198. package/src/utils/contentful/to-document.ts +24 -24
  199. package/src/utils/cookie.ts +84 -84
  200. package/src/utils/cx.ts +49 -49
  201. package/src/utils/index.ts +41 -41
  202. package/src/utils/speed-card-bg.ts +24 -24
  203. package/src/utils/utm.ts +221 -221
@@ -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,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,useCallback as d,createContext as p,useLayoutEffect as h,useContext as m,useInsertionEffect as f,useId as g,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as C}from"react";import*as w from"next/link";import A from"next/link";import N from"next/image";import E,{flushSync as S,createPortal as T}from"react-dom";import{useRouter as B,usePathname as k,useSearchParams as P}from"next/navigation";function L(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=L(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function R(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=L(e))&&(r&&(r+=" "),r+=t);return r}const G=e=>{const t=M(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),O(n,t)||V(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},O=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?O(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},D=/^\[(.+)\]$/,V=e=>{if(D.test(e)){const t=D.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},M=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)j(n[e],r,e,t);return r},j=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:H(t,e)).classGroupId=n)}if("function"==typeof e)return W(e)?void j(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{j(o,H(t,e),n,r)})})},H=(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},W=e=>e.isThemeGetter,X=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)}}},F=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=z(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},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Z=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}},Y=/\s+/;function _(){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 U(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:X(e.cacheSize),parseClassName:F(e),sortModifiers:Z(e),...G(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(Y);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:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const y=o(f,m);for(let e=0;e<y.length;++e){const t=y[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(_.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},K=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q=/^\d+\/\d+$/,ee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,te=/\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$/,ne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,re=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>q.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),se=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&ae(e.slice(0,-1)),ce=e=>ee.test(e),ue=()=>!0,de=e=>te.test(e)&&!ne.test(e),pe=()=>!1,he=e=>re.test(e),me=e=>oe.test(e),fe=e=>!be(e)&&!we(e),ge=e=>ke(e,Ge,pe),be=e=>K.test(e),ve=e=>ke(e,Oe,de),ye=e=>ke(e,De,ae),xe=e=>ke(e,Le,pe),Ie=e=>ke(e,Re,me),Ce=e=>ke(e,Me,he),we=e=>Q.test(e),Ae=e=>Pe(e,Oe),Ne=e=>Pe(e,Ve),Ee=e=>Pe(e,Le),Se=e=>Pe(e,Ge),Te=e=>Pe(e,Re),Be=e=>Pe(e,Me,!0),ke=(e,t,n)=>{const r=K.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Pe=(e,t,n=!1)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n)},Le=e=>"position"===e||"percentage"===e,Re=e=>"image"===e||"url"===e,Ge=e=>"length"===e||"size"===e||"bg-size"===e,Oe=e=>"length"===e,De=e=>"number"===e,Ve=e=>"family-name"===e,Me=e=>"shadow"===e,je=()=>{const e=$("color"),t=$("font"),n=$("text"),r=$("font-weight"),o=$("tracking"),i=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("blur"),f=$("perspective"),g=$("aspect"),b=$("ease"),v=$("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",we,be],x=()=>[we,be,l],I=()=>[ie,"full","auto",...x()],C=()=>[se,"none","subgrid",we,be],w=()=>["auto",{span:["full",se,we,be]},se,we,be],A=()=>[se,"auto",we,be],N=()=>["auto","min","max","fr",we,be],E=()=>["auto",...x()],S=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,we,be],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ee,xe,{position:[we,be]}],k=()=>["auto","cover","contain",Se,ge,{size:[we,be]}],P=()=>[le,Ae,ve],L=()=>["","none","full",c,we,be],R=()=>["",ae,Ae,ve],G=()=>[ae,le,Ee,xe],O=()=>["","none",m,we,be],D=()=>["none",ae,we,be],V=()=>["none",ae,we,be],M=()=>[ae,we,be],j=()=>[ie,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ce],breakpoint:[ce],color:[ue],container:[ce],"drop-shadow":[ce],ease:["in","out","in-out"],font:[fe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ce],shadow:[ce],spacing:["px",ae],text:[ce],"text-shadow":[ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,be,we,g]}],container:["container"],columns:[{columns:[ae,be,we,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: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:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[se,"auto",we,be]}],basis:[{basis:[ie,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,ie,"auto","initial","none",be]}],grow:[{grow:["",ae,we,be]}],shrink:[{shrink:["",ae,we,be]}],order:[{order:[se,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"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:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[s,"screen",...S()]}],"min-w":[{"min-w":[s,"screen","none",...S()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,Ae,ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,we,ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,be]}],"font-family":[{font:[Ne,be,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,we,be]}],"line-clamp":[{"line-clamp":[ae,"none",we,ye]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"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:[ae,"from-font","auto",we,ve]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ae,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],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",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},se,we,be],radial:["",we,be],conic:[se,we,be]},Te,Ie]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"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":[ae,we,be]}],"outline-w":[{outline:["",ae,Ae,ve]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,Be,Ce]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Be,Ce]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ae,ve]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Be,Ce]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ae,we,be]}],"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":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"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":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"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:B()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:O()}],brightness:[{brightness:[ae,we,be]}],contrast:[{contrast:[ae,we,be]}],"drop-shadow":[{"drop-shadow":["","none",h,Be,Ce]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ae,we,be]}],"hue-rotate":[{"hue-rotate":[ae,we,be]}],invert:[{invert:["",ae,we,be]}],saturate:[{saturate:[ae,we,be]}],sepia:[{sepia:["",ae,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[ae,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[ae,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,we,be]}],"backdrop-invert":[{"backdrop-invert":["",ae,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[ae,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[ae,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",we,be]}],ease:[{ease:["linear","initial",b,we,be]}],delay:[{delay:[ae,we,be]}],animate:[{animate:["none",v,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,we,be]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:M()}],"skew-x":[{"skew-x":M()}],"skew-y":[{"skew-y":M()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"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: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",we,be]}],"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":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",we,be]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ae,Ae,ve,ye]}],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"]}},He=(e,t,n)=>{void 0!==n&&(e[t]=n)},We=(e,t)=>{if(t)for(const n in t)He(e,n,t[n])},Xe=(e,t)=>{if(t)for(const n in t)Fe(e,t,n)},Fe=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ze=((e,...t)=>"function"==typeof e?U(je,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(He(e,"cacheSize",t),He(e,"prefix",n),He(e,"experimentalParseClassName",r),We(e.theme,i.theme),We(e.classGroups,i.classGroups),We(e.conflictingClassGroups,i.conflictingClassGroups),We(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),He(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Xe(e.theme,o.theme),Xe(e.classGroups,o.classGroups),Xe(e.conflictingClassGroups,o.conflictingClassGroups),Xe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Fe(e,o,"orderSensitiveModifiers"),e))(je(),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"]}}}),Ze=(...e)=>ze(R(...e)),Ye=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,_e="function"==typeof Buffer,Je="function"==typeof TextDecoder?new TextDecoder:void 0,Ue="function"==typeof TextEncoder?new TextEncoder:void 0,$e=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Ke=(()=>{let e={};return $e.forEach((t,n)=>e[t]=n),e})(),Qe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,qe=String.fromCharCode.bind(String),et="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),tt=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),nt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),rt=e=>{let t,n,r,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=$e[t>>18&63]+$e[t>>12&63]+$e[t>>6&63]+$e[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},ot="function"==typeof btoa?e=>btoa(e):_e?e=>Buffer.from(e,"binary").toString("base64"):rt,it=_e?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(qe.apply(null,e.subarray(n,n+4096)));return ot(t.join(""))},at=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?qe(192|t>>>6)+qe(128|63&t):qe(224|t>>>12&15)+qe(128|t>>>6&63)+qe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return qe(240|t>>>18&7)+qe(128|t>>>12&63)+qe(128|t>>>6&63)+qe(128|63&t)},st=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,lt=e=>e.replace(st,at),ct=_e?e=>Buffer.from(e,"utf8").toString("base64"):Ue?e=>it(Ue.encode(e)):e=>ot(lt(e)),ut=(e,t=!1)=>t?tt(ct(e)):ct(e),dt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,pt=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return qe((t>>>10)+55296)+qe(56320+(1023&t));case 3:return qe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return qe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},ht=e=>e.replace(dt,pt),mt=e=>{if(e=e.replace(/\s+/g,""),!Qe.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=Ke[e.charAt(i++)]<<18|Ke[e.charAt(i++)]<<12|(n=Ke[e.charAt(i++)])<<6|(r=Ke[e.charAt(i++)]),64===n?o.push(qe(t>>16&255)):64===r?o.push(qe(t>>16&255,t>>8&255)):o.push(qe(t>>16&255,t>>8&255,255&t));return o.join("")},ft="function"==typeof atob?e=>atob(nt(e)):_e?e=>Buffer.from(e,"base64").toString("binary"):mt,gt=_e?e=>et(Buffer.from(e,"base64")):e=>et(ft(e).split("").map(e=>e.charCodeAt(0))),bt=_e?e=>Buffer.from(e,"base64").toString("utf8"):Je?e=>Je.decode(gt(e)):e=>ht(ft(e)),vt=e=>nt(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),yt=e=>bt(vt(e)),xt=ut,It=yt;
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,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,createContext as d,useLayoutEffect as p,useContext as h,useInsertionEffect as m,useCallback as f,useId as g,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as C}from"react";import*as w from"next/link";import A from"next/link";import N from"next/image";import E,{flushSync as S,createPortal as T}from"react-dom";import{useRouter as B,usePathname as k,useSearchParams as P}from"next/navigation";function L(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=L(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function R(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=L(e))&&(r&&(r+=" "),r+=t);return r}const G=e=>{const t=M(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),O(n,t)||V(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},O=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?O(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},D=/^\[(.+)\]$/,V=e=>{if(D.test(e)){const t=D.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},M=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)j(n[e],r,e,t);return r},j=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:H(t,e)).classGroupId=n)}if("function"==typeof e)return W(e)?void j(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{j(o,H(t,e),n,r)})})},H=(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},W=e=>e.isThemeGetter,X=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)}}},F=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=z(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},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Z=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}},Y=/\s+/;function _(){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 U(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:X(e.cacheSize),parseClassName:F(e),sortModifiers:Z(e),...G(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(Y);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:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const y=o(f,m);for(let e=0;e<y.length;++e){const t=y[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(_.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},K=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q=/^\d+\/\d+$/,ee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,te=/\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$/,ne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,re=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>q.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),se=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&ae(e.slice(0,-1)),ce=e=>ee.test(e),ue=()=>!0,de=e=>te.test(e)&&!ne.test(e),pe=()=>!1,he=e=>re.test(e),me=e=>oe.test(e),fe=e=>!be(e)&&!we(e),ge=e=>ke(e,Ge,pe),be=e=>K.test(e),ve=e=>ke(e,Oe,de),ye=e=>ke(e,De,ae),xe=e=>ke(e,Le,pe),Ie=e=>ke(e,Re,me),Ce=e=>ke(e,Me,he),we=e=>Q.test(e),Ae=e=>Pe(e,Oe),Ne=e=>Pe(e,Ve),Ee=e=>Pe(e,Le),Se=e=>Pe(e,Ge),Te=e=>Pe(e,Re),Be=e=>Pe(e,Me,!0),ke=(e,t,n)=>{const r=K.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Pe=(e,t,n=!1)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n)},Le=e=>"position"===e||"percentage"===e,Re=e=>"image"===e||"url"===e,Ge=e=>"length"===e||"size"===e||"bg-size"===e,Oe=e=>"length"===e,De=e=>"number"===e,Ve=e=>"family-name"===e,Me=e=>"shadow"===e,je=()=>{const e=$("color"),t=$("font"),n=$("text"),r=$("font-weight"),o=$("tracking"),i=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("blur"),f=$("perspective"),g=$("aspect"),b=$("ease"),v=$("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",we,be],x=()=>[we,be,l],I=()=>[ie,"full","auto",...x()],C=()=>[se,"none","subgrid",we,be],w=()=>["auto",{span:["full",se,we,be]},se,we,be],A=()=>[se,"auto",we,be],N=()=>["auto","min","max","fr",we,be],E=()=>["auto",...x()],S=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,we,be],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ee,xe,{position:[we,be]}],k=()=>["auto","cover","contain",Se,ge,{size:[we,be]}],P=()=>[le,Ae,ve],L=()=>["","none","full",c,we,be],R=()=>["",ae,Ae,ve],G=()=>[ae,le,Ee,xe],O=()=>["","none",m,we,be],D=()=>["none",ae,we,be],V=()=>["none",ae,we,be],M=()=>[ae,we,be],j=()=>[ie,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ce],breakpoint:[ce],color:[ue],container:[ce],"drop-shadow":[ce],ease:["in","out","in-out"],font:[fe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ce],shadow:[ce],spacing:["px",ae],text:[ce],"text-shadow":[ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,be,we,g]}],container:["container"],columns:[{columns:[ae,be,we,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: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:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[se,"auto",we,be]}],basis:[{basis:[ie,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,ie,"auto","initial","none",be]}],grow:[{grow:["",ae,we,be]}],shrink:[{shrink:["",ae,we,be]}],order:[{order:[se,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"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:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[s,"screen",...S()]}],"min-w":[{"min-w":[s,"screen","none",...S()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,Ae,ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,we,ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,be]}],"font-family":[{font:[Ne,be,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,we,be]}],"line-clamp":[{"line-clamp":[ae,"none",we,ye]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"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:[ae,"from-font","auto",we,ve]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ae,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],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",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},se,we,be],radial:["",we,be],conic:[se,we,be]},Te,Ie]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"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":[ae,we,be]}],"outline-w":[{outline:["",ae,Ae,ve]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,Be,Ce]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Be,Ce]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ae,ve]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Be,Ce]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ae,we,be]}],"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":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"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":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"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:B()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:O()}],brightness:[{brightness:[ae,we,be]}],contrast:[{contrast:[ae,we,be]}],"drop-shadow":[{"drop-shadow":["","none",h,Be,Ce]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ae,we,be]}],"hue-rotate":[{"hue-rotate":[ae,we,be]}],invert:[{invert:["",ae,we,be]}],saturate:[{saturate:[ae,we,be]}],sepia:[{sepia:["",ae,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[ae,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[ae,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,we,be]}],"backdrop-invert":[{"backdrop-invert":["",ae,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[ae,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[ae,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",we,be]}],ease:[{ease:["linear","initial",b,we,be]}],delay:[{delay:[ae,we,be]}],animate:[{animate:["none",v,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,we,be]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:M()}],"skew-x":[{"skew-x":M()}],"skew-y":[{"skew-y":M()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"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: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",we,be]}],"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":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",we,be]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ae,Ae,ve,ye]}],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"]}},He=(e,t,n)=>{void 0!==n&&(e[t]=n)},We=(e,t)=>{if(t)for(const n in t)He(e,n,t[n])},Xe=(e,t)=>{if(t)for(const n in t)Fe(e,t,n)},Fe=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ze=((e,...t)=>"function"==typeof e?U(je,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(He(e,"cacheSize",t),He(e,"prefix",n),He(e,"experimentalParseClassName",r),We(e.theme,i.theme),We(e.classGroups,i.classGroups),We(e.conflictingClassGroups,i.conflictingClassGroups),We(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),He(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Xe(e.theme,o.theme),Xe(e.classGroups,o.classGroups),Xe(e.conflictingClassGroups,o.conflictingClassGroups),Xe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Fe(e,o,"orderSensitiveModifiers"),e))(je(),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"]}}}),Ze=(...e)=>ze(R(...e)),Ye=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,_e="function"==typeof Buffer,Je="function"==typeof TextDecoder?new TextDecoder:void 0,Ue="function"==typeof TextEncoder?new TextEncoder:void 0,$e=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Ke=(()=>{let e={};return $e.forEach((t,n)=>e[t]=n),e})(),Qe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,qe=String.fromCharCode.bind(String),et="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),tt=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),nt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),rt=e=>{let t,n,r,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=$e[t>>18&63]+$e[t>>12&63]+$e[t>>6&63]+$e[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},ot="function"==typeof btoa?e=>btoa(e):_e?e=>Buffer.from(e,"binary").toString("base64"):rt,it=_e?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(qe.apply(null,e.subarray(n,n+4096)));return ot(t.join(""))},at=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?qe(192|t>>>6)+qe(128|63&t):qe(224|t>>>12&15)+qe(128|t>>>6&63)+qe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return qe(240|t>>>18&7)+qe(128|t>>>12&63)+qe(128|t>>>6&63)+qe(128|63&t)},st=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,lt=e=>e.replace(st,at),ct=_e?e=>Buffer.from(e,"utf8").toString("base64"):Ue?e=>it(Ue.encode(e)):e=>ot(lt(e)),ut=(e,t=!1)=>t?tt(ct(e)):ct(e),dt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,pt=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return qe((t>>>10)+55296)+qe(56320+(1023&t));case 3:return qe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return qe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},ht=e=>e.replace(dt,pt),mt=e=>{if(e=e.replace(/\s+/g,""),!Qe.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=Ke[e.charAt(i++)]<<18|Ke[e.charAt(i++)]<<12|(n=Ke[e.charAt(i++)])<<6|(r=Ke[e.charAt(i++)]),64===n?o.push(qe(t>>16&255)):64===r?o.push(qe(t>>16&255,t>>8&255)):o.push(qe(t>>16&255,t>>8&255,255&t));return o.join("")},ft="function"==typeof atob?e=>atob(nt(e)):_e?e=>Buffer.from(e,"base64").toString("binary"):mt,gt=_e?e=>et(Buffer.from(e,"base64")):e=>et(ft(e).split("").map(e=>e.charCodeAt(0))),bt=_e?e=>Buffer.from(e,"base64").toString("utf8"):Je?e=>Je.decode(gt(e)):e=>ht(ft(e)),vt=e=>nt(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),yt=e=>bt(vt(e)),xt=ut,It=yt;
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function Ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var wt=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=Ct({},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,"",Ct({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ct({},this.attributes,t))},withConverter:function(t){return e(Ct({},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:"/"});const At=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Nt=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Et=e=>{if(!e)return null;if(Nt(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Nt(t)?t:null}return null};function St(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tt,Bt={},kt={},Pt={};function Lt(){return Tt||(Tt=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}({})}(Pt)),Pt}var Rt,Gt={};function Ot(){return Rt||(Rt=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}({})}(Gt)),Gt}var Dt,Vt={};function Mt(){return Dt||(Dt=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}({})}(Vt)),Vt}var jt,Ht={};function Wt(){return jt||(jt=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 h},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=Lt(),n=Ot(),r=Mt();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),h=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(s=h)||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.")}()),f=[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]}(Ht)),Ht}var Xt,Ft={};var zt,Zt={};var Yt,_t={};var Jt,Ut={};function $t(){return Jt||(Jt=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=Lt(),n=Ot();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}}(Ut)),Ut}var Kt,Qt,qt={},en={};function tn(){return Qt?Kt:(Qt=1,Kt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var nn,rn,on={};function an(){return nn||(nn=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()}}}(on)),on}function sn(){return rn||(rn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(tn()),n=an();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}()}(en)),en}var ln,cn={};function un(){return ln||(ln=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 f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return h},get assert(){return b},get assertLink(){return v}});var t=sn();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 h=[],m=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}(),f=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}(m),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}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(cn)),cn}var dn,pn={};function hn(){return dn||(dn=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}}}(pn)),pn}var mn,fn,gn,bn,vn={};function yn(){return fn||(fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=Lt(),n=Ot(),r=Wt(),o=sn(),i=un(),a=hn(),s=(mn||(mn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=sn();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}}(vn)),vn);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()),h=(0,i.assert)([t.BLOCKS.LIST_ITEM]),m=(0,i.assertLink)("Entry",i.VOID_CONTENT),f=(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,m),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,h),c(d,t.BLOCKS.UL_LIST,h),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,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,m),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 v=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)}}(qt)),qt}function xn(){return gn||(gn=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=Lt(),n=Ot(),r=Mt();s(Wt(),e),s((Xt||(Xt=1,Object.defineProperty(Ft,"__esModule",{value:!0})),Ft),e),s((zt||(zt=1,Object.defineProperty(Zt,"__esModule",{value:!0})),Zt),e);var o=(Yt||(Yt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Lt(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(_t)),_t),i=c($t()),a=yn();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}}(kt)),kt}var In=function(){if(bn)return Bt;bn=1;var e=o,t=xn();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)}return Bt.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})},Bt}(),Cn=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}({}),wn=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}({}),An=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}({});function Nn(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 En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sn,Tn=[Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE,Cn.TABLE],Bn=[Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE];Cn.TABLE,Cn.TABLE_ROW,Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL,Cn.HR,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE;var kn,Pn=(En(Sn={},Cn.OL_LIST,[Cn.LIST_ITEM]),En(Sn,Cn.UL_LIST,[Cn.LIST_ITEM]),En(Sn,Cn.LIST_ITEM,Bn),En(Sn,Cn.QUOTE,[Cn.PARAGRAPH]),En(Sn,Cn.TABLE,[Cn.TABLE_ROW]),En(Sn,Cn.TABLE_ROW,[Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL]),En(Sn,Cn.TABLE_CELL,[Cn.PARAGRAPH,Cn.UL_LIST,Cn.OL_LIST]),En(Sn,Cn.TABLE_HEADER_CELL,[Cn.PARAGRAPH]),Sn),Ln=[Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6];[Cn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return Nn(e)}(kn=Ln)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(kn)||function(e,t){if(e){if("string"==typeof e)return Nn(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)?Nn(e,t):void 0}}(kn)||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.")}()),Cn.DOCUMENT,Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.LIST_ITEM,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,wn.HYPERLINK,wn.ENTRY_HYPERLINK,wn.ASSET_HYPERLINK,wn.EMBEDDED_ENTRY,Cn.DOCUMENT,Cn.PARAGRAPH;var Rn=St(tn());function Gn(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 On(e){return function(e){if(Array.isArray(e))return Gn(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 Gn(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 Gn(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 Dn=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 Vn(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 Mn(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 jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return function(e){if(Array.isArray(e))return Vn(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 Vn(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 Vn(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 Wn=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),jn(this,"obj",void 0),jn(this,"path",void 0),jn(this,"_errors",void 0),jn(this,"catch",void 0),jn(this,"exists",void 0),jn(this,"object",void 0),jn(this,"string",void 0),jn(this,"number",void 0),jn(this,"array",void 0),jn(this,"enum",void 0),jn(this,"empty",void 0),jn(this,"minLength",void 0),jn(this,"noAdditionalProperties",void 0),jn(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,Hn(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(Rn(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(Dn({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(Dn({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(Dn({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(Dn({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:On(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,Hn(a))}})}}}return Mn(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 Xn(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 Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zn(e,t,n){return t=Jn(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 Fn(e)}(e,Qn()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(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 _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 Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jn(e)}function Un(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&&$n(e,t)}function $n(e,t){return $n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$n(e,t)}function Kn(e){return function(e){if(Array.isArray(e))return Xn(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 Xn(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 Xn(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 Qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qn=function(){return!!e})()}var qn=[],er=function(){function e(t,n){Zn(this,e),_n(this,"contentRule",void 0),_n(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Yn(e,[{key:"assert",value:function(e,t){var n=new Wn(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 Wn(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,Kn(u))}return n.errors}}]),e}(),tr=function(e){function t(e,n){var r;return Zn(this,t),r=zn(this,t,[n,function(e,t){return Fn(r).assertLink(e,t)}]),_n(r,"linkType",void 0),_n(r,"type",void 0),_n(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Wn(e,t);if(n.object("target")){var o,i=new Wn(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,Kn(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Un(t,e),t}(er),nr=function(e){function t(){var e;return Zn(this,t),e=zn(this,t,[["text"],function(t,n){return Fn(e).assertLink(t,n)}]),_n(e,"assertLink",function(e,t){var n=new Wn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Un(t,e),t}(er),rr=function(e,t){return new er(e,t)},or=function(e,t){return new tr(e,t)};function ir(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 ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return function(e){if(Array.isArray(e))return ir(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 ir(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 ir(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 lr,cr=rr(sr(Object.values(wn)).concat(["text"]).sort()),ur=rr([Cn.LIST_ITEM]),dr=or("Entry",qn),pr=rr(function(){return{nodeTypes:[Cn.PARAGRAPH],min:1}},function(e,t){var n=new Wn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});ar(lr={},Cn.DOCUMENT,rr(Tn)),ar(lr,Cn.PARAGRAPH,cr),ar(lr,Cn.HEADING_1,cr),ar(lr,Cn.HEADING_2,cr),ar(lr,Cn.HEADING_3,cr),ar(lr,Cn.HEADING_4,cr),ar(lr,Cn.HEADING_5,cr),ar(lr,Cn.HEADING_6,cr),ar(lr,Cn.QUOTE,rr(Pn[Cn.QUOTE])),ar(lr,Cn.EMBEDDED_ENTRY,dr),ar(lr,Cn.EMBEDDED_ASSET,or("Asset",qn)),ar(lr,Cn.EMBEDDED_RESOURCE,or("Contentful:Entry",qn)),ar(lr,Cn.HR,rr(qn)),ar(lr,Cn.OL_LIST,ur),ar(lr,Cn.UL_LIST,ur),ar(lr,Cn.LIST_ITEM,rr(sr(Bn).sort())),ar(lr,Cn.TABLE,rr(function(){return{nodeTypes:[Cn.TABLE_ROW],min:1}})),ar(lr,Cn.TABLE_ROW,rr(function(){return{nodeTypes:[Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL],min:1}})),ar(lr,Cn.TABLE_CELL,pr),ar(lr,Cn.TABLE_HEADER_CELL,pr),ar(lr,wn.HYPERLINK,new nr),ar(lr,wn.EMBEDDED_ENTRY,dr),ar(lr,wn.EMBEDDED_RESOURCE,or("Contentful:Entry",qn)),ar(lr,wn.ENTRY_HYPERLINK,or("Entry",["text"])),ar(lr,wn.ASSET_HYPERLINK,or("Asset",["text"])),ar(lr,wn.RESOURCE_HYPERLINK,or("Contentful:Entry",["text"]));const hr={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},mr=i(({children:t,className:n="",variant:r="unstyled",style:o,...i},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:o,...i,children:t})});mr.displayName="ListItem";const fr=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=Ze(u,`list--${t}`,`list--${a}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(mr,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});fr.displayName="List";const gr=({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:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};gr.displayName="MaterialIcon";const br=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)});br.displayName="Text";const vr=n=>{const{items:r,listIconName:o="check",listItemClassName:i,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==o;return(null==r?void 0:r.length)?e(fr,{className:Ze("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(mr,{variant:d?"unstyled":"default",className:Ze(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&e("div",{className:"flex leading-none",children:e(gr,{name:o,size:s,color:hr[c],weight:"600",className:Ze("block","top"===l?"mt-1":"",u)})}),e(br,{as:"div",children:n})]},r))}):null};var yr;vr.displayName="Checklist";const xr="function"==typeof A?A:null!==(yr=A.default)&&void 0!==yr?yr:A,Ir=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)},h=Ze(d,`link--${i}`,l&&"link--disabled",r),m={...c,ref:u,className:h,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",{...m,children:t}):e(xr,{href:n||"#",className:h,onClick:p,...c,children:t})});Ir.displayName="Link";const Cr={renderMark:{[An.BOLD]:t=>e("strong",{className:"label3",children:t}),[An.ITALIC]:t=>e("em",{children:t}),[An.UNDERLINE]:t=>e("u",{children:t}),[An.CODE]:t=>e("code",{children:t})},renderNode:{[Cn.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[Cn.HEADING_1]:(t,n)=>e(br,{as:"h1",className:"heading2 md:heading1",children:n}),[Cn.HEADING_2]:(t,n)=>e(br,{as:"h2",className:"heading6 md:heading5",children:n}),[Cn.HEADING_3]:(t,n)=>e(br,{as:"h3",className:"heading6 md:heading5",children:n}),[Cn.HEADING_4]:(t,n)=>e(br,{as:"h3",className:"headingClass",children:n}),[Cn.HEADING_5]:(t,n)=>e(br,{as:"h3",className:"heading6 md:heading5",children:n}),[Cn.HEADING_6]:(t,n)=>e(br,{as:"h3",className:"heading6",children:n}),[Cn.QUOTE]:(t,n)=>e("blockquote",{children:n}),[Cn.UL_LIST]:(t,n)=>e("ul",{children:n}),[Cn.OL_LIST]:(t,n)=>e("ol",{children:n}),[Cn.LIST_ITEM]:(t,n)=>e("li",{children:n}),[wn.HYPERLINK]:(t,n)=>{var r;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,i=/^https?:\/\//.test(o);return e("a",{href:o,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[Cn.EMBEDDED_ASSET]:t=>{var n,r;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==o?void 0:o.fields,a=(null==o?void 0:o.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),s=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[Cn.EMBEDDED_ENTRY]:n=>{var r,o,i,a;const s=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"callout"===(null===(a=null===(i=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.contentType)||void 0===i?void 0:i.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[wn.EMBEDDED_ENTRY]:n=>{var r,o,i,a,s,l;const c=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"componentCheckList"===(null===(a=null===(i=null===(o=null==c?void 0:c.sys)||void 0===o?void 0:o.contentType)||void 0===i?void 0:i.sys)||void 0===a?void 0:a.id)?t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",c.fields.title]}):e("span",{children:null!==(l=null===(s=null==c?void 0:c.fields)||void 0===s?void 0:s.title)&&void 0!==l?l:""})}}};function wr(t,n,r="body1",o="body1 font-bold",i){if(!t||!Array.isArray(t.content))return null;const a={...Cr,...i,renderNode:{...Cr.renderNode,...null==i?void 0:i.renderNode,[Cn.PARAGRAPH]:(t,n)=>e("div",{className:r,children:n}),[wn.HYPERLINK]:(t,r)=>{var i;const a=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(Ir,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:o,children:r})}}};return In.documentToReactComponents(t,a)}function Ar(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...Cr,renderMark:{...Cr.renderMark,...null==t?void 0:t.renderMark},renderNode:{...Cr.renderNode,...null==t?void 0:t.renderNode}};return In.documentToReactComponents(e,n)},[e,t])}function Nr(r,o){if(!r||!Array.isArray(r.content))return null;const i={...Cr,renderMark:{...Cr.renderMark,[An.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...Cr.renderNode,[Cn.PARAGRAPH]:(t,r)=>e(n,{children:r}),[Cn.TABLE]:(t,n)=>{var r,o;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[Cn.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[Cn.TABLE_HEADER_CELL]:(t,n)=>{var r;const o=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${o?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[Cn.TABLE_CELL]:(r,o)=>{var i,a,s,l;const c=(null===(i=r.parent)||void 0===i?void 0:i.content.length)>2,u=null===(l=null===(s=null===(a=r.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 md:py-4 text-center align-top leading-5 text-text md:body2 first:text-left md:leading-7 ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(gr,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(gr,{name:"cancel",color:"#CECECE",fill:1}):o]})})},[wn.EMBEDDED_ENTRY]:t=>{var n,r,i,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==o?void 0:o.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===a?void 0:a.map(e=>{var t;return wr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(vr,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return In.documentToReactComponents(r,i)}const Er={renderMark:{[An.BOLD]:e=>s("span",{className:"label1"},e)}};function Sr(e,t,n,r){return a(()=>{var o,i;const a=null!==(i=null===(o=null==e?void 0:e.list)||void 0===o?void 0:o.items)&&void 0!==i?i:[];return t?a.map(e=>{var t,o;return null!==(o=wr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==o?o:""}):a.map(e=>{var t,o,i,a,s;return{title:null!==(o=wr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==o?o:"",iconUrl:null!==(a=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,r])}const Tr=i(({children:t,className:n="",style:r,disabled:o,...i},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:o,...i,children:t}));Tr.displayName="Button";const Br=t=>{const{open:n,children:r}=t,o=l(null),[i,a]=c(0);return u(()=>{const e=o.current;if(!e)return;const t=()=>{a(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})})};Br.displayName="Collapse";const kr=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=c(Boolean(!1));return u(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(o))},[h,o]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",a),children:[t(Tr,{type:"button",className:Ze(m?"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:Ze("label5 flex-1",s),children:r}),e(gr,{className:Ze("flex-shrink-0",p),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(Br,{open:f,children:e("div",{className:Ze("px-4 py-4",l),children:i})})]})};kr.displayName="Accordion";const Pr=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Pr.displayName="Divider";const Lr=({items:n,title:r,anchorId:o,background:i="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(br,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,o)=>{const i=r.anchorId||`item-${o}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(kr,{title:r.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(br,{as:"div",children:r.description})})}),o<n.length-1&&e(Pr,{className:"my-6 md:my-10"},`divider-${o}`)]},i)})})]})})},Rr=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()},Gr=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},h)=>{const m=(()=>{const e=Ze((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=Ze((s||o)&&"cursor-not-allowed",o&&"pl-7");return Ze(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 f=`button--${r}`;o&&(f+=" button--loading"),s&&(f+=" button--disabled");const g=`${f} ${m}`,b=t(n,{children:[o?e(gr,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(Rr(u)),children:a}),i]}):i]});return"a"===d?e("a",{ref:h,className:Ze(g),...p,children:b}):e("button",{ref:h,className:Ze(g),disabled:s||o,...p,children:b})});Gr.displayName="BrandButton";const Or=n=>{const{showButtonAs:r="solid",buttonVariant:o="primary_brand",buttonLabel:i,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:A,...N}=n;if("check availability"===h){return null==m?void 0:m({ctaText:i,buttonVariant:o,showButtonAs:r,cta:{...n}})}function E(){"modal"===g&&(null==v||v(b))}function S(e){E(),null==y||y(e)}function T(e){E(),null==y||y(e)}const B="undefined"!=typeof window?window.location.search:"",k=s&&A&&B?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(At),o=new Set([...r,"searchtext","page"]);let i,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");i=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{o.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${i}?${l}`:i}(s,B):s;let P=e(Tr,{onClick:T,className:f,...N});switch(r){case"solid":P=e(Gr,k?{as:"a",href:k,id:c,variant:o,text:i,label:a,fullWidth:p,buttonClassName:f,size:C,onClick:S}:{id:c,variant:o,text:i,label:a,fullWidth:p,size:C,onClick:T,buttonClassName:f});break;case"text":P=t(Ir,{title:i,href:k,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:S,children:[i," ",x&&e(gr,{name:x,size:w,fill:I})]})}return P};var Dr;const Vr=null!==(Dr=w.default)&&void 0!==Dr?Dr:w,Mr=({href:r,title:o,description:i,date:a,category:s,image:l,imageComponent:c,readMoreText:u="Read more",asGrid:d=!0,lgWidth:p,mdWidth:h,index:m})=>t("article",{className:d?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${p} ${h} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(Vr,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?c?e(c,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("img",{src:l.src,alt:l.alt,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),o&&e(Vr,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:o}),i&&e(br,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:i}),t(Vr,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${u} about ${o||"this article"}`,children:[e(br,{"aria-label":`${u} about ${o||"this article"}`,className:"label1 text-nowrap",children:u}),e(gr,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),jr=(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})(N),Hr=({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()},Wr=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:Hr,unoptimized:!1}:{unoptimized:s};return e(jr,{ref:r,className:Ze(t),...n,...l})});Wr.displayName="NextImage";const Xr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Fr=({card:n,lgWidth:r,mdWidth:o})=>{var i,a,s,l;const{image:c,title:u,header:d,body:p,cta:h,ctaAlignment:m,imageLink:f,imageClassName:g,className:b,isPromoBarImg:v=!1,shadow:y=!1}=n,x=m?Xr[m]:Xr.left,I=f?"cursor-pointer":"",C=f?()=>{"undefined"!=typeof window&&window.open(f,"_blank")}:void 0;return v?(null==c?void 0:c.href)?e(Wr,{src:c.href,alt:null!==(a=null!==(i=c.title)&&void 0!==i?i:u)&&void 0!==a?a:"promo-bar-image",width:148,height:40,onClick:C,className:I}):null:t("section",{"aria-labelledby":"Image Card",className:Ze("callout-card relative flex h-full w-full flex-col gap-4 p-0 md:items-start lg:gap-6",y&&"rounded-3xl shadow-card",o,r,b),children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",g),children:e(Wr,{src:c.href,alt:null!==(l=null!==(s=c.title)&&void 0!==s?s:u)&&void 0!==l?l:"card-image",width:c.width||400,height:c.height||285,onClick:C,className:Ze("h-full max-h-[285px] w-full object-cover",I)})}):null,d?e(br,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:d}):null,p?e(br,{as:"div",className:"body2 mb-0 flex-1 text-text",children:p}):null,e("div",{className:Ze(x,"mt-auto"),children:h?e(Or,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...h,iconName:"expand_circle_right",iconFill:1}):null})]})},zr=({card:n,lgWidth:r,mdWidth:o})=>{const{anchorId:i="FullImageCard",title:a,description:s,caption:l,image:c,cta:u,link:d,className:p,contentClassName:h,imageClassName:m,shadow:f=!0}=n,g=u||d,b=null==g?void 0:g.href,v=a?e(br,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:i,className:Ze("callout-card relative flex flex-col rounded-3xl bg-white p-0",f&&"shadow-card",o,r,"w-full",p),"aria-labelledby":`card-title-${i}`,children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",m),children:(()=>{var t,n;if(!(null==c?void 0:c.href))return null;const r=e(Wr,{src:c.href,alt:null!==(n=null!==(t=c.title)&&void 0!==t?t:a)&&void 0!==n?n:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return b?e(Ir,{href:b,tabIndex:-1,target:null==g?void 0:g.target,children:r}):r})()}):null,t("div",{className:Ze("flex h-full flex-col gap-4 p-6 md:p-8",h),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[b&&v?e(Ir,{href:b,target:null==g?void 0:g.target,className:"no-underline hover:underline",children:v}):v,s?e(br,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(br,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),u?e("div",{className:"mt-2 flex items-end",children:e(Or,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},Zr={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Yr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},_r={left:"justify-start",right:"justify-end",center:"justify-center"},Jr=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Ur=({card:n,lgWidth:r,mdWidth:o,className:i,contentClassName:a,style:s})=>{var l,c,u,d,p,h,m,f,g,b,v,y,x,I,C,w,A;const N=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),E="full"===N,S="margin"===N,T="standard"===N,B="icon"===N||"inset"===N||!N&&!!n.image,k=T||B,P=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",L=n.ctaAlignment&&Yr[n.ctaAlignment]||Yr.left,R=n.ctaAlignmentBottom&&_r[n.ctaAlignmentBottom]||_r.left,G=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],O=k&&n.applyCardBackgroundColor,D={...s,...O&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...O&&n.textColor?{"--scc-fg":n.textColor}:{},...O&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...O&&n.showBackgroundImage&&G?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ye(G))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},V=t=>{var r,o;return n.image?e("div",{className:Ze("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(Wr,{src:n.image,alt:null!==(o=null!==(r=n.imageAlt)&&void 0!==r?r:n.title)&&void 0!==o?o:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:Ze("w-full",!t&&"rounded-t-3xl")})}):null},M=O&&n.textColor?{color:n.textColor}:void 0,j=n.title?e(br,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:M,children:n.title}):null,H=(null===(p=n.cta)||void 0===p?void 0:p.href)&&j?e(Ir,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:M,children:j}):j,W=(null!==(m=null===(h=n.workingHours)||void 0===h?void 0:h.length)&&void 0!==m?m:0)>0||(null!==(g=null===(f=n.phoneNumber)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0;return t("section",{className:Ze("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!E&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(v=Zr[null!==(b=n.backgroundColor)&&void 0!==b?b:""])&&void 0!==v?v:""),o,r,i),style:D,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(y=n.ctaBottom)||void 0===y?void 0:y.title)&&(null===(x=n.ctaBottom)||void 0===x?void 0:x.href)?e("div",{className:Ze("top-link m-6 flex items-center lg:m-8",R),children:t(Ir,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(gr,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&E?V(!1):null,n.image&&S?V(!0):null,t("div",{className:Ze("relative flex flex-1 flex-col justify-between px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:Ze("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:Ze(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||E||S?null:(()=>{var t,r;if(!n.image)return null;const o=T&&n.imageWidth||60,i=T&&n.imageHeight||60;return e("div",{className:Ze("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:P},children:e(Wr,{src:n.image,alt:null!==(r=null!==(t=n.imageAlt)&&void 0!==t?t:n.title)&&void 0!==r?r:"card-icon",width:o,height:i,className:Ze("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[H,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(br,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,W?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(I=n.workingHours)||void 0===I?void 0:I.map((n,r)=>{const[o,i]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(br,{className:"label2 text-text",children:o})}),e("td",{className:"py-2 pl-3",children:e(br,{className:"body2 font-bold text-text",children:i})})]},`wh-${r}`)}),null===(C=n.phoneNumber)||void 0===C?void 0:C.map((n,r)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(gr,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(Ir,{href:Jr(n),className:"text-inherit no-underline",children:e(br,{className:"body2 font-bold text-text",children:n})})})]},`ph-${r}`))]})})}):null,n.body?e(br,{as:"div",className:"body1 text-text",style:M,children:n.body}):null,n.richText?e(br,{as:"div",className:"body1 text-text",style:M,children:n.richText}):null]})]})}),n.cta?e("div",{className:Ze("mt-2",L),children:e(Or,{linkVariant:"unstyled",linkClassName:Ze("label1 flex items-center gap-2 text-text",O&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(w=n.cta.iconName)&&void 0!==w?w:"expand_circle_right",iconFill:null!==(A=n.cta.iconFill)&&void 0!==A?A:1})}):null]})]})},$r={cream500:"bg-[#FFFEEF]",gray100:"bg-fill-secondary",white:"bg-white",transparent:"",blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",yellow:"bg-[#F5FF1E]"},Kr={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},Qr={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},qr=e=>Math.max(1,Math.min(6,e)),eo=({anchorId:n,title:r,items:o,enableHeading:i=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:p,cardType:h="simple",backgroundColor:m,background:f,textColor:g,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:I=!0,noGutter:C=!1})=>{var w,A,N;const E=null!==(w=null==o?void 0:o.length)&&void 0!==w?w:0,S=qr(null!=p?p:(T=E)<=4?T||1:T%3==0?3:T%4==0||T>6?4:3);var T;const B=qr(Math.min(S,E||S)),k=!1===I,P=k?Ze("flex flex-col items-stretch self-stretch",C?"gap-0":"gap-6"):Ze("flex flex-wrap items-stretch justify-center self-stretch",C?"gap-0":"gap-6",C?"md:gap-0":"md:gap-6"),L=k?"":Ze("w-full",Kr[qr(x?1:Math.min(2,S))],Qr[B]),R=(t,n)=>{var r,o,i,a;const s=null!==(r=t.cardType)&&void 0!==r?r:h,l=k?{lgWidth:void 0,mdWidth:void 0}:{};switch(s){case"blog":{const r=t;return e(Mr,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,asGrid:!1,...l},n)}case"fullImage":return e(zr,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:y},...l},n);case"floatingImage":return e(Fr,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:y},...l},n);default:return e(Ur,{card:{...t,shadow:null!==(a=t.shadow)&&void 0!==a?a:y},...l},n)}},G=f?{background:f}:void 0,O=g?{color:g}:void 0,D=f?"":m&&null!==(A=$r[m])&&void 0!==A?A:"";return e("section",{id:n,className:Ze("component-container",D,b),style:G,children:e("div",{className:Ze(C?"p-0":"mx-5 my-12 md:my-20",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:O,children:[r&&e(br,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:r}),a&&e(br,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:a}),s&&e(br,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:Ze("card-holder",P),children:o.map((t,n)=>k?R(t,n):e("div",{className:Ze("callout-card",L),children:R(t,n)},`callout-card-${n}`))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(Or,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(N=c.label)&&void 0!==N?N:c.buttonLabel}):null,l?e(br,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},to=({fields:t})=>e("div",{children:e(br,{children:"Cards"})}),no=i(({as:t,className:n="",...r},o)=>{const i=Ze(n);if(t){return e(t,{ref:o,className:i,...r})}return e("img",{ref:o,className:i,...r})});no.displayName="Image";const ro=({onSelect:r,speed:o,isSelected:i=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[h,m]=c(!1),f=`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:h,setModalOpen:()=>{m(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(Tr,{onClick:()=>{m(!0),r()},className:Ze(f,"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(gr,{className:Ze(l,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},oo=({planName:r,planSubtext:o,speed:i,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=c(!1),N=void 0!==g?g:w,E="dark"===h;return t("article",{className:Ze("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(br,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(br,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o})]}),t("div",{className:"flex items-start",children:[e(br,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e(br,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(br,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(br,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(no,{src:n.icon,alt:n.title,width:24,height:24}),e(br,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(ro,{onSelect:v,speed:i,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(Tr,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e(br,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(gr,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(vr,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(no,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(br,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},io=({title:n,quote:r,rating:o,author:i,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:R("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(br,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),o?e("div",{className:"flex","aria-label":`Rating: ${o} out of 5`,children:[...Array(5)].map((t,n)=>e(gr,{size:24,name:"star",fill:1,className:R("h-[21px] w-[21px]",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),i&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(N,{src:s,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:i}),e(br,{as:"p",className:"body3 text-text",children:a})]})]})]});function ao({fields:r,renderCheckPlans:o,isVisible:i=!0}){var a,s,p,h;const m=(null===(p=null===(s=null===(a=null==r?void 0:r.items)||void 0===a?void 0:a.items)||void 0===s?void 0:s[0])||void 0===p?void 0:p.benefitsExpanded)||!1,[f,g]=c(m),[b,v]=c({}),[y,x]=c(0),I=(null===(h=null==r?void 0:r.items)||void 0===h?void 0:h.items)||[],C=I.length>2,w=!1!==(null==r?void 0:r.showArrows)&&C,A=l([]),N=d(()=>{C&&x(e=>(e-1+I.length)%I.length)},[C,I.length]),E=d(()=>{C&&x(e=>(e+1)%I.length)},[C,I.length]);if(u(()=>{if(!C||!i)return;const e=()=>{const e=A.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[C,i,f,I.length]),!I.length&&!(null==r?void 0:r.title))return null;const S=(t,n,r=!1)=>{var i,a,s,l,c,u,d,p;const h=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),m=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],w=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},S=r?b[n]||!1:f;return e("div",{ref:r?void 0:e=>{e&&!A.current.includes(e)&&(A.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(oo,{planName:m,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:w,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:S,onToggleExpand:()=>{r?v(e=>({...e,[n]:!e[n]})):g(!f)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},T=[...I,...I,...I,...I,...I],B=2*I.length;return C?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:I.map((e,t)=>S(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[w&&t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(Tr,{onClick:N,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(Tr,{onClick:E,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${B+y} * (392px + 12px)))`},children:T.map((e,t)=>S(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:I.map((e,t)=>S(e,t))})}function so({fields:t,renderCheckPlans:r,activeTab:o,tabs:i}){var a;const s=(null===(a=null==t?void 0:t.items)||void 0===a?void 0:a.items)||[];return i&&i.length>1&&o?e(n,{children:i.map(n=>{const a=s.filter(e=>(e.productCategory||i[0])===n),l={...t,items:{...t.items,items:a}};return e("div",{style:{display:n===o?"block":"none"},"aria-hidden":n!==o,children:e(ao,{fields:l,renderCheckPlans:r,isVisible:n===o})},n)})}):e(ao,{fields:t,renderCheckPlans:r})}const lo=o.memo(({item:t,index:n,currentIndex:r,totalItems:o,swipeOffset:i,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),h=u*c+i/l*100,m=!s||(a?d||p:d);return e("div",{className:Ze("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e(io,{...t,isActive:d,className:"h-full"})})});lo.displayName="TestimonialCarouselSlide";const co=({fields:n,autoScroll:r=!0,autoScrollInterval:o=8e3})=>{var i;const a=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:o=768,autoScrollInterval:i=8e3,enableAutoScroll:a=!0}=e,[s,p]=c(0),[h,m]=c(0),[f,g]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),I=l(null),C=l(0),w=l(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:i};u(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=d(()=>{0!==t&&p(e=>(e+1)%t)},[t]),E=d(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),S=d(e=>{e<0||e>=t||p(e)},[t]),T=d(e=>{C.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),B=d(e=>{if(!f)return;const t=e.touches[0].clientX-C.current;m(t)},[f]),k=d(()=>{g(!1);const e=b*r;h>e?E():h<-e&&N(),m(0),a&&i>0&&(I.current=setInterval(()=>{N()},i))},[h,b,r,E,N,a,i]);return u(()=>{const e=()=>{x(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),u(()=>{if(a&&0!==t&&0!==i)return I.current=setInterval(()=>{N()},i),()=>{I.current&&clearInterval(I.current)}},[N,t,a,i]),{currentIndex:s,swipeOffset:h,isSwiping:f,isMobile:y,containerWidth:b,containerRef:w,nextSlide:N,prevSlide:E,goToSlide:S,handleTouchStart:T,handleTouchMove:B,handleTouchEnd:k,constants:A}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(Tr,{onClick:s.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(Tr,{onClick:s.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(lo,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:Ze("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},uo=({tabs:n,activeTab:r,onChange:o,className:i})=>{const a=n.indexOf(r),s=l([]),[d,p]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>o(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},po=({fields:n,hasTestimonialCards:r,hasProductCards:o,disclaimerText:i,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${o?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(br,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(br,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),h&&o&&t("div",{className:"flex flex-col gap-8",children:[h&&o&&c.length>1&&e(uo,{tabs:c,activeTab:s,onChange:l}),o&&e(so,{onModalButtonClick:u,renderCheckPlans:d,fields:n,activeTab:s,tabs:c})]}),r&&e(co,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),i&&e(br,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:i})]}),ho=({title:n,subtitle:r,description:o,disclaimer:i,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Wr,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(br,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(br,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),o&&e(br,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(Or,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e("div",{children:e(br,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),mo=({body:n,links:r,bottomLinks:i,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(Pr,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var i,a;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(br,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(Pr,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(Pr,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==i?void 0:i.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(Or,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},fo=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(gr,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),go=t=>{const{link:n,containerClassName:r,autoplay:o=!1,debug:i=!1}=t,{href:s,embedId:l}=a(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),o=r[r.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[n]);if(i&&console.log("[VimeoEmbed] href:",s,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],o=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const bo=t=>{const{link:n,containerClassName:r,autoplay:o=!1}=t,i=a(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=o?"?autoplay=1":"";return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${i}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},vo=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,E]=c(""),[S,T]=c(!1),B=null!==(w=null==g?void 0:g.link)&&void 0!==w?w:"",k=null==g?void 0:g.image,P=null!==(A=null==g?void 0:g.videoPopup)&&void 0!==A&&A,L=Boolean(N&&N===B),R=g&&k?B.includes("vimeo")?e(go,{link:B,autoplay:L}):e(bo,{link:B,autoplay:L}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(br,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(br,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e(br,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e(br,{as:"div",className:"body1",children:l}),h.length>0&&e(vr,{items:h,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Ir,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(no,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(Or,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(Or,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Wr,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ze("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!L&&"hover:shadow-2xl"),onClick:()=>{var e;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[t("div",{className:Ze(L&&!P&&"hidden",L&&!P?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(Wr,{src:g.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(fo,{isHovered:S})})]}),!P&&L&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",L?"opacity-100":"opacity-0"),children:R})]})]})]})}),P&&L&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),E("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},yo=({link:n,anchorName:r,linkColorClassName:i})=>{const[a,s]=o.useState(!1),l=o.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(l,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Or,{...n,linkClassName:Ze("body3 flex items-center h-full",i||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:d,items:p}=n,h=Array.isArray(null==p?void 0:p.items)?p.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:l,children:[t(Or,{onClick:()=>s(e=>!e),"aria-expanded":a,buttonClassName:Ze("group body3 flex h-full items-center",i||"text-text"),showButtonAs:"unstyled",children:[e(br,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(gr,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:a?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",a&&h.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&s(!1)},children:h.map((t,n)=>e("li",{className:"submenu-link",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},xo=({link:r})=>{const[i,a]=o.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(Or,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Or,{onClick:()=>a(e=>!e),"aria-expanded":i,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(gr,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),i&&u.length>0&&e(Io,{items:u})]})},Io=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),Co=n=>{const{showBlinkDot:r=!1,buttonStyle:o="primary",size:i="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(Ir,{...u,className:Ze("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:Ze("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(gr,{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:Ze("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]})};Co.displayName="CallButton";const wo=i((n,r)=>{const{className:o,size:i,required:a,placeholder:s,label:l,state:u,errorText:p,prefixIconName:h,prefixIconFill:m=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":u,[E,S]=c(!1),[T,B]=c(!1),[k,P]=c(w||"text"),L=d(e=>{e.stopPropagation(),P(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t(br,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("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,(E||"hover"===N)&&!T&&"error"!==N&&"border-input-border-hover",(T||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[h?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(gr,{name:h,fill:m?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:I||A.disabled,className:Ze("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:s,type:k,...A,onMouseOver:()=>S(!0),onMouseOut:()=>S(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),B(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),B(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:L,children:e(gr,{name:"text"===k?"visibility":"visibility_off",size:v,fill:f?1:0})}):null]}),"error"===N&&p&&""!=p?t(br,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(gr,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});wo.displayName="Input";const Ao=r=>{var o,i,a;const{primaryNavigationLinks:s,utilityNavigationLinks:l,checkPlansJSX:c,primaryNavigationLogo:u,accountNavigationLinks:d,supportNavigationLinks:p,searchBarIcon:h,invocaPhoneNumberLink:m,invocaPhoneNumberDisplayText:f,callNowCtaText:g,displayCartIcon:b,cartHref:v,cartHasRetention:y,cartIconAriaLabel:x="Cart",onCallClickDesktop:I,onCallClickMobile:C,onCartClick:w,onSearch:A=()=>{},utilityNavActiveIndex:N,primaryNavigationLogoWidth:E=76.5,primaryNavigationLogoHeight:S=24,hideMobileCallButton:T=!1,displayUtilityNavigation:B=!0,displaySearchBar:k=!0,displayCallNowCta:P=!0,showCallButton:L=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:G=!0,callNowCtaIcon:O,navigationBackgroundColor:D,navigationLinkColor:V}=r,M="string"==typeof u?u:(null==u?void 0:u.url)||"",j=D?D.includes("-")||D.startsWith("bg-")?D:`bg-secondary-${D}`:"bg-secondary-navy500",H="string"==typeof O?O:(null==O?void 0:O.url)||"",W=n=>t(Ir,{href:m||"#",onClick:n,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":f?`Call ${f}`:"Call now",children:[H?e(Wr,{src:H,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e(br,{as:"span",className:"text-secondary-navy500 footnote",children:f})]}),X=(null!==(o=null==s?void 0:s.length)&&void 0!==o?o:0)>0||(null!==(i=null==p?void 0:p.length)&&void 0!==i?i:0)>0||(null!==(a=null==d?void 0:d.length)&&void 0!==a?a:0)>0;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[B?e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==l?void 0:l.map((t,n)=>e("li",{children:e(Or,{linkClassName:Ze("footnote flex items-center w-full h-11 text-text","number"!=typeof N?1===n&&"label4":N===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[P?e(Co,{className:"border-none",href:m,prefix:g,onClick:I,children:e(br,{className:"body3 text-text",children:f})}):null,b?t(Ir,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:w,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==d?void 0:d.map((t,n)=>e(yo,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,t("div",{className:Ze("main-nav-container",j,V),"aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:M?e(Ir,{href:"/",className:"flex",children:e(Wr,{src:M,alt:"Kinetic business logo",width:E,height:S})}):null}),e("div",{className:"flex items-center gap-6",children:G?t(n,{children:[L&&!T?e(Co,{href:m,onClick:C,children:e(br,{as:"span",className:"footnote",children:f})}):null,b?t(Ir,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:w,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,X?e(No,{...r}):null]}):L?W(C):null})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[M?e(Ir,{href:"/",className:"flex",children:e(Wr,{src:M,alt:"Kinetic business logo",width:E,height:S,className:"mr-[64px]"})}):null,e("div",{className:"flex h-full items-center gap-5",children:null==s?void 0:s.map((t,n)=>e(yo,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:V},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[!R||B&&P?null:W(I),k?e(So,{searchBarIconURL:"string"==typeof h?h:(null==h?void 0:h.url)||"",onSearch:A}):null,null==p?void 0:p.map((t,n)=>e(yo,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:V},`support-menu-${n}`))]})]})})]})]}),c&&e("div",{className:"md:hidden",children:c})]})},No=n=>{var r;const{primaryNavigationLinks:i,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l,showCallButton:c,displayCallNowCta:u,displaySearchBar:d}=n,[p,h]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=p?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],o=e=>{var t,o,i,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=r).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(i=n).focus)||void 0===a||a.call(i),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[p]);const m=()=>{h(!1)};return t("div",{children:[e(Or,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>h(!0),children:e(gr,{name:"menu"})}),p?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Ze("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",p?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:Ze("flex items-center px-4",!1!==c||!1!==u?"justify-between":"justify-end"),children:[!1!==c||!1!==u?e("div",{children:e(Co,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}):null,e("div",{children:e(Or,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e(gr,{name:"close"})})})]}),!1!==d?e(Eo,{closeMenu:m,isMenuOpen:p,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}):null,t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...i||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(xo,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,r)=>e("li",{children:e(Or,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===r&&"label4":n.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},Eo=n=>{const{closeMenu:r,onSearch:i,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=o.useState(""),u=o.useRef(null),d=e=>{r(),e.preventDefault(),i(l)};return o.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Wr,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(wo,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},So=n=>{const{searchBarIconURL:r,onSearch:i}=n,[a,s]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),i(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Wr,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(wo,{ref:l,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},To=n=>{var r;const{title:o,showAsHeading:i,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Ze("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:Ze("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(br,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e(br,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(br,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(br,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(br,{as:"p",className:"subheading5",children:u}),p?e(br,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(vr,{listItemClassName:"text-white text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ze("md:block",x&&"hidden"),children:e(Or,{...s,renderCheckPlans:m,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(br,{as:"span",className:"body2 mr-1",children:v}),b&&e(Or,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(I||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(Or,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e(br,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(Wr,{src:f,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,l&&l[0]?e(Wr,{src:l[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),c&&(I||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(Or,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e(br,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(br,{as:"span",className:"body2 mr-1",children:v}),b&&e(Or,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ze("relative hidden lg:block"),children:[f?e(Wr,{src:f,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,l&&l[0]?e(Wr,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Bo=({fields:t})=>e("div",{children:e(br,{children:"Text Block"})}),ko={closed:{opacity:0},open:{opacity:1}},Po={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Lo={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Ro=p({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Go=p({}),Oo=p(null),Do="undefined"!=typeof document,Vo=Do?h:u,Mo=p({strict:!1});function jo(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ho(e){return"string"==typeof e||Array.isArray(e)}function Wo(e){return"object"==typeof e&&"function"==typeof e.start}const Xo=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Fo=["initial",...Xo];function zo(e){return Wo(e.animate)||Fo.some(t=>Ho(e[t]))}function Zo(e){return Boolean(zo(e)||e.variants)}function Yo(e){const{initial:t,animate:n}=function(e,t){if(zo(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ho(t)?t:void 0,animate:Ho(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,m(Go));return a(()=>({initial:t,animate:n}),[_o(t),_o(n)])}function _o(e){return Array.isArray(e)?e.join(" "):e}const Jo={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"]},Uo={};for(const e in Jo)Uo[e]={isEnabled:t=>Jo[e].some(e=>!!t[e])};const $o=p({}),Ko=p({}),Qo=Symbol.for("motionComponentSymbol");function qo({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)Uo[t]={...Uo[t],...e[t]}}(e);const s=i(function(i,s){let c;const p={...m(Ro),...i,layoutId:ei(i)},{isStatic:h}=p,g=Yo(i),b=o(i,h);if(!h&&Do){g.visualElement=function(e,t,n,r){const{visualElement:o}=m(Go),i=m(Mo),a=m(Oo),s=m(Ro).reducedMotion,c=l();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 d=c.current;return f(()=>{d&&d.update(n,a)}),Vo(()=>{d&&d.render()}),u(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?Vo:u)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,p,t);const n=m(Ko),r=m(Mo).strict;g.visualElement&&(c=g.visualElement.loadFeatures(p,r,e,n))}return r.createElement(Go.Provider,{value:g},c&&g.visualElement?r.createElement(c,{visualElement:g.visualElement,...p}):null,n(a,i,function(e,t,n){return d(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):jo(n)&&(n.current=r))},[t])}(b,g.visualElement,s),b,h,g.visualElement))});return s[Qo]=a,s}function ei({layoutId:e}){const t=m($o).id;return t&&void 0!==e?t+"-"+e:e}function ti(e){function t(t,n={}){return qo(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 ni=["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 ri(e){return"string"==typeof e&&!e.includes("-")&&!!(ni.indexOf(e)>-1||/[A-Z]/.test(e))}const oi={};const ii=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ai=new Set(ii);function si(e,{layout:t,layoutId:n}){return ai.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!oi[e]||"opacity"===e)}const li=e=>Boolean(e&&e.getVelocity),ci={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ui=ii.length;const di=e=>t=>"string"==typeof t&&t.startsWith(e),pi=di("--"),hi=di("var(--"),mi=(e,t)=>t&&"number"==typeof e?t.transform(e):e,fi=(e,t,n)=>Math.min(Math.max(n,e),t),gi={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},bi={...gi,transform:e=>fi(0,1,e)},vi={...gi,default:1},yi=e=>Math.round(1e5*e)/1e5,xi=/(-)?([\d]*\.?[\d])+/g,Ii=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ci=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function wi(e){return"string"==typeof e}const Ai=e=>({test:t=>wi(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ni=Ai("deg"),Ei=Ai("%"),Si=Ai("px"),Ti=Ai("vh"),Bi=Ai("vw"),ki={...Ei,parse:e=>Ei.parse(e)/100,transform:e=>Ei.transform(100*e)},Pi={...gi,transform:Math.round},Li={borderWidth:Si,borderTopWidth:Si,borderRightWidth:Si,borderBottomWidth:Si,borderLeftWidth:Si,borderRadius:Si,radius:Si,borderTopLeftRadius:Si,borderTopRightRadius:Si,borderBottomRightRadius:Si,borderBottomLeftRadius:Si,width:Si,maxWidth:Si,height:Si,maxHeight:Si,size:Si,top:Si,right:Si,bottom:Si,left:Si,padding:Si,paddingTop:Si,paddingRight:Si,paddingBottom:Si,paddingLeft:Si,margin:Si,marginTop:Si,marginRight:Si,marginBottom:Si,marginLeft:Si,rotate:Ni,rotateX:Ni,rotateY:Ni,rotateZ:Ni,scale:vi,scaleX:vi,scaleY:vi,scaleZ:vi,skew:Ni,skewX:Ni,skewY:Ni,distance:Si,translateX:Si,translateY:Si,translateZ:Si,x:Si,y:Si,z:Si,perspective:Si,transformPerspective:Si,opacity:bi,originX:ki,originY:ki,originZ:Si,zIndex:Pi,fillOpacity:bi,strokeOpacity:bi,numOctaves:Pi};function Ri(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(pi(e)){i[e]=n;continue}const r=Li[e],d=mi(n,r);if(ai.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<ui;t++){const n=ii[t];void 0!==e[n]&&(i+=`${ci[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 Gi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Oi(e,t,n){for(const r in t)li(t[r])||si(r,n)||(e[r]=t[r])}function Di(e,t,n){const r={};return Oi(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return a(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Ri(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function Vi(e,t,n){const r={},o=Di(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 Mi=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 ji(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Mi.has(e)}let Hi=e=>!ji(e);try{(Wi=require("@emotion/is-prop-valid").default)&&(Hi=e=>e.startsWith("on")?!ji(e):Wi(e))}catch(Dr){}var Wi;function Xi(e,t,n){return"string"==typeof e?e:Si.transform(t+n*e)}const Fi={offset:"stroke-dashoffset",array:"stroke-dasharray"},zi={offset:"strokeDashoffset",array:"strokeDasharray"};function Zi(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Ri(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==o||void 0!==i||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Xi(t,e.x,e.width)} ${Xi(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Fi:zi;e[i.offset]=Si.transform(-r);const a=Si.transform(t),s=Si.transform(n);e[i.array]=`${a} ${s}`}(h,a,s,l,!1)}const Yi=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),_i=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ji(e,t,n,r){const o=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Zi(n,t,{enableHardwareAcceleration:!1},_i(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Oi(t,e.style,e),o.style={...t,...o.style}}return o}function Ui(e=!1){return(t,n,r,{latestValues:o},i)=>{const l=(ri(t)?Ji:Vi)(n,o,i,t),c=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Hi(o)||!0===n&&ji(o)||!t&&!ji(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),u={...c,...l,ref:r},{children:d}=n,p=a(()=>li(d)?d.get():d,[d]);return s(t,{...u,children:p})}}const $i=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ki(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 Qi=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 qi(e,t,n,r){Ki(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Qi.has(n)?n:$i(n),t.attrs[n])}function ea(e,t){const{style:n}=e,r={};for(const o in n)(li(n[o])||t.style&&li(t.style[o])||si(o,e))&&(r[o]=n[o]);return r}function ta(e,t){const n=ea(e,t);for(const r in e)if(li(e[r])||li(t[r])){n[-1!==ii.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function na(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}function ra(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const oa=e=>Array.isArray(e),ia=e=>oa(e)?e[e.length-1]||0:e;function aa(e){const t=li(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const sa=e=>(t,n)=>{const r=m(Go),o=m(Oo),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:la(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,o);return n?i():ra(i)};function la(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=aa(i[e]);let{initial:a,animate:s}=e;const l=zo(e),c=Zo(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&&!Wo(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=na(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 ca={useVisualState:sa({scrapeMotionValuesFromProps:ta,createRenderState:Yi,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}}Zi(n,r,{enableHardwareAcceleration:!1},_i(t.tagName),e.transformTemplate),qi(t,n)}})},ua={useVisualState:sa({scrapeMotionValuesFromProps:ea,createRenderState:Gi})};function da(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const pa=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ha(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function ma(e,t,n,r){return da(e,t,(e=>t=>pa(t)&&e(t,ha(t)))(n),r)}const fa=(e,t)=>n=>t(e(n)),ga=(...e)=>e.reduce(fa);function ba(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const va=ba("dragHorizontal"),ya=ba("dragVertical");function xa(e){let t=!1;if("y"===e)t=ya();else if("x"===e)t=va();else{const e=va(),n=ya();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ia(){const e=xa(!0);return!e||(e(),!1)}class Ca{constructor(e){this.isMounted=!1,this.node=e}update(){}}const wa={delta:0,timestamp:0,isProcessing:!1};let Aa=!0,Na=!1;const Ea=["read","update","preRender","render","postRender"],Sa=Ea.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}(()=>Na=!0),e),{}),Ta=e=>Sa[e].process(wa),Ba=e=>{Na=!1,wa.delta=Aa?1e3/60:Math.max(Math.min(e-wa.timestamp,40),1),wa.timestamp=e,wa.isProcessing=!0,Ea.forEach(Ta),wa.isProcessing=!1,Na&&(Aa=!1,requestAnimationFrame(Ba))},ka=Ea.reduce((e,t)=>{const n=Sa[t];return e[t]=(e,t=!1,r=!1)=>(Na||(Na=!0,Aa=!0,wa.isProcessing||requestAnimationFrame(Ba)),n.schedule(e,t,r)),e},{});function Pa(e){Ea.forEach(t=>Sa[t].cancel(e))}function La(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return ma(e.current,n,(n,o)=>{if("touch"===n.type||Ia())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&ka.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const Ra=(e,t)=>!!t&&(e===t||Ra(e,t.parentElement)),Ga=e=>e;function Oa(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ha(n))}const Da=new WeakMap,Va=new WeakMap,Ma=e=>{const t=Da.get(e.target);t&&t(e)},ja=e=>{e.forEach(Ma)};function Ha(e,t,n){const r=function({root:e,...t}){const n=e||document;Va.has(n)||Va.set(n,{});const r=Va.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(ja,{root:e,...t})),r[o]}(t);return Da.set(e,n),r.observe(e),()=>{Da.delete(e),r.unobserve(e)}}const Wa={some:0,all:1};const Xa={inView:{Feature:class extends Ca{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:Wa[r]};return Ha(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 Ca{constructor(){super(...arguments),this.removeStartListeners=Ga,this.removeEndListeners=Ga,this.removeAccessibleListeners=Ga,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=ma(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();ka.update(()=>{Ra(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=ma(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ga(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=da(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=da(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Oa("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&ka.update(()=>n(e,t))})}),Oa("down",(e,t)=>{this.startPress(e,t)})}),t=da(this.node.current,"blur",()=>{this.isPressing&&Oa("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ga(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&&ka.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ia()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&ka.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=ma(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=da(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ga(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Ca{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=ga(da(this.node.current,"focus",()=>this.onFocus()),da(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ca{mount(){this.unmount=ga(La(this.node,!0),La(this.node,!1))}unmount(){}}}};function Fa(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 za(e,t,n){const r=e.getProps();return na(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 Za="data-"+$i("framerAppearId");let Ya=Ga,_a=Ga;"production"!==process.env.NODE_ENV&&(Ya=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},_a=(e,t)=>{if(!e)throw new Error(t)});const Ja=e=>1e3*e,Ua=e=>e/1e3,$a=!1,Ka=e=>Array.isArray(e)&&"number"==typeof e[0];function Qa(e){return Boolean(!e||"string"==typeof e&&es[e]||Ka(e)||Array.isArray(e)&&e.every(Qa))}const qa=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,es={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:qa([0,.65,.55,1]),circOut:qa([.55,0,1,.45]),backIn:qa([.31,.01,.66,-.59]),backOut:qa([.33,1.53,.69,.99])};function ts(e){if(e)return Ka(e)?qa(e):Array.isArray(e)?e.map(ts):es[e]}const ns={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},rs={},os={};for(const e in ns)os[e]=()=>(void 0===rs[e]&&(rs[e]=ns[e]()),rs[e]);const is=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function as(e,t,n,r){if(e===t&&n===r)return Ga;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=is(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:is(o(e),t,r)}const ss=as(.42,0,1,1),ls=as(0,0,.58,1),cs=as(.42,0,.58,1),us=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ds=e=>t=>1-e(1-t),ps=e=>1-Math.sin(Math.acos(e)),hs=ds(ps),ms=us(hs),fs=as(.33,1.53,.69,.99),gs=ds(fs),bs=us(gs),vs={linear:Ga,easeIn:ss,easeInOut:cs,easeOut:ls,circIn:ps,circInOut:ms,circOut:hs,backIn:gs,backInOut:bs,backOut:fs,anticipate:e=>(e*=2)<1?.5*gs(e):.5*(2-Math.pow(2,-10*(e-1)))},ys=e=>{if(Array.isArray(e)){_a(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return as(t,n,r,o)}return"string"==typeof e?(_a(void 0!==vs[e],`Invalid easing type '${e}'`),vs[e]):e},xs=(e,t)=>n=>Boolean(wi(n)&&Ci.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Is=(e,t,n)=>r=>{if(!wi(r))return r;const[o,i,a,s]=r.match(xi);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Cs={...gi,transform:e=>Math.round((e=>fi(0,255,e))(e))},ws={test:xs("rgb","red"),parse:Is("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Cs.transform(e)+", "+Cs.transform(t)+", "+Cs.transform(n)+", "+yi(bi.transform(r))+")"};const As={test:xs("#"),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:ws.transform},Ns={test:xs("hsl","hue"),parse:Is("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ei.transform(yi(t))+", "+Ei.transform(yi(n))+", "+yi(bi.transform(r))+")"},Es={test:e=>ws.test(e)||As.test(e)||Ns.test(e),parse:e=>ws.test(e)?ws.parse(e):Ns.test(e)?Ns.parse(e):As.parse(e),transform:e=>wi(e)?e:e.hasOwnProperty("red")?ws.transform(e):Ns.transform(e)},Ss=(e,t,n)=>-n*e+n*t+e;function Ts(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 Bs=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},ks=[As,ws,Ns];function Ps(e){const t=(n=e,ks.find(e=>e.test(n)));var n;_a(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Ns&&(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=Ts(s,r,e+1/3),i=Ts(s,r,e),a=Ts(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 Ls=(e,t)=>{const n=Ps(e),r=Ps(t),o={...n};return e=>(o.red=Bs(n.red,r.red,e),o.green=Bs(n.green,r.green,e),o.blue=Bs(n.blue,r.blue,e),o.alpha=Ss(n.alpha,r.alpha,e),ws.transform(o))};const Rs={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Ga},Gs={regex:Ii,countKey:"Colors",token:"${c}",parse:Es.parse},Os={regex:xi,countKey:"Numbers",token:"${n}",parse:gi.parse};function Ds(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 Vs(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ds(n,Rs),Ds(n,Gs),Ds(n,Os),n}function Ms(e){return Vs(e).values}function js(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Vs(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(Rs.token,e[o]):o<r+n?t.replace(Gs.token,Es.transform(e[o])):t.replace(Os.token,yi(e[o]));return t}}const Hs=e=>"number"==typeof e?0:e;const Ws={test:function(e){var t,n;return isNaN(e)&&wi(e)&&((null===(t=e.match(xi))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Ii))||void 0===n?void 0:n.length)||0)>0},parse:Ms,createTransformer:js,getAnimatableNone:function(e){const t=Ms(e);return js(e)(t.map(Hs))}},Xs=(e,t)=>n=>`${n>0?t:e}`;function Fs(e,t){return"number"==typeof e?n=>Ss(e,t,n):Es.test(e)?Ls(e,t):e.startsWith("var(")?Xs(e,t):Ys(e,t)}const zs=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Fs(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Zs=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Fs(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Ys=(e,t)=>{const n=Ws.createTransformer(t),r=Vs(e),o=Vs(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?ga(zs(r.values,o.values),n):(Ya(!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.`),Xs(e,t))},_s=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Js=(e,t)=>n=>Ss(e,t,n);function Us(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Js:"string"==typeof i?Es.test(i)?Ls:Ys:Array.isArray(i)?zs:"object"==typeof i?Zs:Js);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]||Ga:t;i=ga(e,i)}r.push(i)}return r}function $s(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(_a(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=Us(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=_s(e[n],e[n+1],t);return a[n](r)};return n?t=>l(fi(e[0],e[i-1],t)):l}function Ks(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=_s(0,t,r);e.push(Ss(n,1,o))}}(t,e.length-1),t}function Qs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ys):ys(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Ks(t),e),s=$s(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||cs).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function qs(e,t){return t?e*(1e3/t):0}function el(e,t,n){const r=Math.max(t-5,0);return qs(n-e(r),t-r)}const tl=.001;function nl({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;Ya(e<=Ja(10),"Spring duration must be 10 seconds or less");let a=1-t;a=fi(.05,1,a),e=fi(.01,10,Ua(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=ol(t,a),l=Math.exp(-o);return tl-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=ol(Math.pow(t,2),a);return(-o(t)+tl>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<rl;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Ja(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 rl=12;function ol(e,t){return e*Math.sqrt(1-t*t)}const il=["duration","bounce"],al=["stiffness","damping","mass"];function sl(e,t){return t.some(t=>void 0!==e[t])}function ll({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(!sl(e,al)&&sl(e,il)){const n=nl(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-Ua(u):0,m=l/(2*Math.sqrt(s*c)),f=i-o,g=Ua(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=ol(g,m);v=t=>{const n=Math.exp(-m*g*t);return i-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>i-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return i-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let o=h;0!==e&&(o=m<1?el(v,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 cl({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},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),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 x,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=ll({keyframes:[p.value,h(p.value)],velocity:el(v,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const ul=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ka.update(t,!0),stop:()=>Pa(t),now:()=>wa.isProcessing?wa.timestamp:performance.now()}};function dl(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 pl={decay:cl,inertia:cl,tween:Qs,keyframes:Qs,spring:ll};function hl({autoplay:e=!0,delay:t=0,driver:n=ul,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=pl[o]||Qs;let x;y!==Qs&&"number"!=typeof r[0]&&(x=$s([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let C;"mirror"===s&&(C=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,E=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=dl(I));const{calculatedDuration:S}=I;let T=1/0,B=1/0;null!==S&&(T=S+a,B=T*(i+1)-a);let k=0;const P=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),k=null!==A?A:(e-N)*f;const n=k-t,o=n<0;k=Math.max(n,0),"finished"===w&&null===A&&(k=B);let l=k,c=I;if(i){const e=k/T;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/T)):"mirror"===s&&(c=C));let o=fi(0,1,n);k>B&&(o="reverse"===s&&r?1:0),l=o*T}const u=o?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;o||null===S||(p=k>=B);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&k<=0);return d&&d(u.value),h&&G(),u},L=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",L(),b(),N=E=null},G=()=>{w="finished",u&&u(),L(),b()},O=()=>{if(g)return;v||(v=n(P));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),E=N,A=null,w="running",v.start()};e&&O();const D={then:(e,t)=>m.then(e,t),get time(){return Ua(k)},set time(e){e=Ja(e),k=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?dl(I):I.calculatedDuration;return Ua(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,D.time=Ua(k))},get state(){return w},play:O,pause:()=>{w="paused",A=k},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==E&&P(E),R()},complete:()=>{w="finished"},sample:e=>(N=0,P(e))};return D}const ml=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function fl(e,t,{onUpdate:n,onComplete:r,...o}){if(!(os.waapi()&&ml.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||!Qa(t.ease))(t,o)){const e=hl({...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 h=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=ts(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}),m=()=>h.cancel(),f=()=>{ka.update(m),i(),l()};return h.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(),f()},{then:(e,t)=>a.then(e,t),get time(){return Ua(h.currentTime||0)},set time(e){h.currentTime=Ja(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return Ua(u)},play:()=>{s||(h.play(),Pa(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=hl({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const gl={type:"spring",stiffness:500,damping:25,restSpeed:10},bl={type:"keyframes",duration:.8},vl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yl=(e,{keyframes:t})=>t.length>2?bl:ai.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:gl:vl,xl=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ws.test(t)&&"0"!==t||t.startsWith("url("))),Il=new Set(["brightness","contrast","saturate","opacity"]);function Cl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(xi)||[];if(!r)return e;const o=n.replace(r,"");let i=Il.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const wl=/([a-z-]*)\(.*?\)/g,Al={...Ws,getAnimatableNone:e=>{const t=e.match(wl);return t?t.map(Cl).join(" "):e}},Nl={...Li,color:Es,backgroundColor:Es,outlineColor:Es,fill:Es,stroke:Es,borderColor:Es,borderTopColor:Es,borderRightColor:Es,borderBottomColor:Es,borderLeftColor:Es,filter:Al,WebkitFilter:Al},El=e=>Nl[e];function Sl(e,t){let n=El(e);return n!==Al&&(n=Ws),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Tl=e=>/^0[^.\s]+$/.test(e);function Bl(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Tl(e):void 0}function kl(e,t){return e[t]||e.default||e}const Pl=(e,t,n,r={})=>o=>{const i=kl(r,e)||{},a=i.delay||r.delay||0;let{elapsed:s=0}=r;s-=Ja(a);const l=function(e,t,n,r){const o=xl(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]),Bl(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]]=Sl(t,s);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=xl(e,c),p=xl(e,u);Ya(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 h={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)||(h={...h,...yl(e,h)}),h.duration&&(h.duration=Ja(h.duration)),h.repeatDelay&&(h.repeatDelay=Ja(h.repeatDelay)),!d||!p||$a||!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:Ga,pause:Ga,stop:Ga,then:e=>(e(),Promise.resolve()),cancel:Ga,complete:Ga});return t?hl({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=fl(t,e,h);if(n)return n}return hl(h)};function Ll(e){return Boolean(li(e)&&e.add)}const Rl=e=>/^\-?\d*\.?\d+$/.test(e);function Gl(e,t){-1===e.indexOf(t)&&e.push(t)}function Ol(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Dl{constructor(){this.subscriptions=[]}add(e){return Gl(this.subscriptions,e),()=>Ol(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 Vl=new Set;function Ml(e,t,n){e||Vl.has(t)||(console.warn(t),Vl.add(t))}class jl{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}=wa;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,ka.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=()=>ka.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&&Ml(!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 Dl);const n=this.events[e].add(t);return"change"===e?()=>{n(),ka.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?qs(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 Hl(e,t){return new jl(e,t)}const Wl=e=>t=>t.test(e),Xl=[gi,Si,Ei,Ni,Bi,Ti,{test:e=>"auto"===e,parse:e=>e}],Fl=e=>Xl.find(Wl(e)),zl=[...Xl,Es,Ws],Zl=e=>zl.find(Wl(e));function Yl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Hl(n))}function _l(e,t){if(!t)return;return(t[e]||t.default||t).from}function Jl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Ul(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&&Jl(u,t))continue;const a={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Za];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,ka))}r.start(Pl(t,r,o,e.shouldReduceMotion&&ai.has(t)?{type:!1}:a));const d=r.animation;Ll(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=za(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Yl(e,t,ia(i[t]))}(e,a)}),c}function $l(e,t,n={}){const r=za(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Ul(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(Kl).forEach((e,r)=>{e.notify("AnimationStart",t),a.push($l(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 Kl(e,t){return e.sortNodePosition(t)}const Ql=[...Xo].reverse(),ql=Xo.length;function ec(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=>$l(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=$l(e,t,n);else{const o="function"==typeof t?za(e,t,n.custom):t;r=Promise.all(Ul(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function tc(e){let t=ec(e);const n={animate:rc(!0),whileInView:rc(),whileHover:rc(),whileTap:rc(),whileDrag:rc(),whileFocus:rc(),exit:rc()};let r=!0;const o=(t,n)=>{const r=za(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<ql;t++){const h=Ql[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=Ho(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Wo(f)||"boolean"==typeof f)continue;const y=nc(m.prevProp,f);let x=y||h===a&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?oa(t)&&oa(n)?!Fa(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...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 h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?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 nc(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Fa(t,e)}function rc(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let oc=0;const ic={animation:{Feature:class extends Ca{constructor(e){super(e),e.animationState||(e.animationState=tc(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Wo(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 Ca{constructor(){super(...arguments),this.id=oc++}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(){}}}},ac=(e,t)=>Math.abs(e-t);class sc{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=uc(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=ac(e.x,t.x),r=ac(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}=wa;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=lc(t,this.transformPagePoint),ka.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=uc("pointercancel"===e.type?this.lastMoveEventInfo:lc(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!pa(e))return;this.handlers=t,this.transformPagePoint=n;const r=lc(ha(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=wa;this.history=[{...o,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,uc(r,this.history)),this.removeListeners=ga(ma(window,"pointermove",this.handlePointerMove),ma(window,"pointerup",this.handlePointerUp),ma(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Pa(this.updatePoint)}}function lc(e,t){return t?{point:t(e.point)}:e}function cc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function uc({point:e},t){return{point:e,delta:cc(e,pc(t)),offset:cc(e,dc(t)),velocity:hc(t,.1)}}function dc(e){return e[0]}function pc(e){return e[e.length-1]}function hc(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=pc(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ja(t)));)n--;if(!r)return{x:0,y:0};const i=Ua(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 mc(e){return e.max-e.min}function fc(e,t=0,n=.01){return Math.abs(e-t)<=n}function gc(e,t,n,r=.5){e.origin=r,e.originPoint=Ss(t.min,t.max,e.origin),e.scale=mc(n)/mc(t),(fc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ss(n.min,n.max,e.origin)-e.originPoint,(fc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function bc(e,t,n,r){gc(e.x,t.x,n.x,r?r.originX:void 0),gc(e.y,t.y,n.y,r?r.originY:void 0)}function vc(e,t,n){e.min=n.min+t.min,e.max=e.min+mc(t)}function yc(e,t,n){e.min=t.min-n.min,e.max=e.min+mc(t)}function xc(e,t,n){yc(e.x,t.x,n.x),yc(e.y,t.y,n.y)}function Ic(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 Cc(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 wc=.35;function Ac(e,t,n){return{min:Nc(e,t),max:Nc(e,n)}}function Nc(e,t){return"number"==typeof e?e:e[t]||0}const Ec=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Sc(e){return[e("x"),e("y")]}function Tc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Bc(e){return void 0===e||1===e}function kc({scale:e,scaleX:t,scaleY:n}){return!Bc(e)||!Bc(t)||!Bc(n)}function Pc(e){return kc(e)||Lc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Lc(e){return Rc(e.x)||Rc(e.y)}function Rc(e){return e&&"0%"!==e}function Gc(e,t,n){return n+t*(e-n)}function Oc(e,t,n,r,o){return void 0!==o&&(e=Gc(e,o,r)),Gc(e,n,r)+t}function Dc(e,t=0,n=1,r,o){e.min=Oc(e.min,t,n,r,o),e.max=Oc(e.max,t,n,r,o)}function Vc(e,{x:t,y:n}){Dc(e.x,t.translate,t.scale,t.originPoint),Dc(e.y,n.translate,n.scale,n.originPoint)}function Mc(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function jc(e,t){e.min=e.min+t,e.max=e.max+t}function Hc(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,a=Ss(e.min,e.max,i);Dc(e,t[n],t[r],a,t.scale)}const Wc=["x","scaleX","originX"],Xc=["y","scaleY","originY"];function Fc(e,t){Hc(e.x,t,Wc),Hc(e.y,t,Xc)}function zc(e,t){return Tc(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 Zc=new WeakMap;class Yc{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 sc(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ha(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=xa(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),Sc(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ei.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=mc(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&ka.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&&ka.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||!_c(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?Ss(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Ss(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&&jo(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:Ic(e.x,n,o),y:Ic(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=wc){return!1===e?e=0:!0===e&&(e=wc),{x:Ac(e,"left","right"),y:Ac(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Sc(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||!jo(e))return!1;const n=e.current;_a(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=zc(e,n),{scroll:o}=t;return o&&(jc(r.x,o.offset.x),jc(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Cc(e.x,t.x),y:Cc(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=Tc(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Sc(a=>{if(!_c(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(Pl(e,n,0,t))}stopAnimation(){Sc(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){Sc(t=>{const{drag:n}=this.getProps();if(!_c(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]-Ss(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!jo(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Sc(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=mc(e),o=mc(t);return o>r?n=_s(t.min,t.max-r,e.min):r>o&&(n=_s(e.min,e.max-o,t.min)),fi(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(),Sc(t=>{if(!_c(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(Ss(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;Zc.set(this.visualElement,this);const e=ma(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();jo(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=da(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Sc(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=wc,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function _c(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Jc=e=>(t,n)=>{e&&ka.update(()=>e(t,n))};const Uc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function $c(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Kc={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Si.test(e))return e;e=parseFloat(e)}return`${$c(e,t.target.x)}% ${$c(e,t.target.y)}%`}},Qc={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ws.parse(e);if(o.length>5)return r;const i=Ws.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=Ss(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 qc extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=tu,Object.assign(oi,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()})),Uc.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()||ka.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 eu(e){const[t,n]=function(){const e=m(Oo);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=g();return u(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=m($o);return o.createElement(qc,{...e,layoutGroup:r,switchLayoutGroup:m(Ko),isPresent:t,safeToRemove:n})}const tu={borderRadius:{...Kc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kc,borderTopRightRadius:Kc,borderBottomLeftRadius:Kc,borderBottomRightRadius:Kc,boxShadow:Qc},nu=["TopLeft","TopRight","BottomLeft","BottomRight"],ru=nu.length,ou=e=>"string"==typeof e?parseFloat(e):e,iu=e=>"number"==typeof e||Si.test(e);function au(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const su=cu(0,.5,hs),lu=cu(.5,.95,Ga);function cu(e,t,n){return r=>r<e?0:r>t?1:n(_s(e,t,r))}function uu(e,t){e.min=t.min,e.max=t.max}function du(e,t){uu(e.x,t.x),uu(e.y,t.y)}function pu(e,t,n,r,o){return e=Gc(e-=t,1/n,r),void 0!==o&&(e=Gc(e,1/o,r)),e}function hu(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){Ei.test(t)&&(t=parseFloat(t),t=Ss(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Ss(i.min,i.max,r);e===i&&(s-=t),e.min=pu(e.min,t,n,s,o),e.max=pu(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const mu=["x","scaleX","originX"],fu=["y","scaleY","originY"];function gu(e,t,n,r){hu(e.x,t,mu,n?n.x:void 0,r?r.x:void 0),hu(e.y,t,fu,n?n.y:void 0,r?r.y:void 0)}function bu(e){return 0===e.translate&&1===e.scale}function vu(e){return bu(e.x)&&bu(e.y)}function yu(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 xu(e){return mc(e.x)/mc(e.y)}class Iu{constructor(){this.members=[]}add(e){Gl(this.members,e),e.scheduleRender()}remove(e){if(Ol(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 Cu(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 wu=(e,t)=>e.depth-t.depth;class Au{constructor(){this.children=[],this.isDirty=!1}add(e){Gl(this.children,e),this.isDirty=!0}remove(e){Ol(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(wu),this.isDirty=!1,this.children.forEach(e)}}const Nu=["","X","Y","Z"];let Eu=0;const Su={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Tu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Eu++,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;Su.totalNodes=Su.resolvedTargetDeltas=Su.recalculatedProjection=0,this.nodes.forEach(Pu),this.nodes.forEach(Mu),this.nodes.forEach(ju),this.nodes.forEach(Lu),e=Su,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 Au)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Dl),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&&(Pa(r),e(i-t))};return ka.read(r,!0),()=>Pa(r)}(r,250),Uc.hasAnimatedSinceResize&&(Uc.hasAnimatedSinceResize=!1,this.nodes.forEach(Vu))})}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()||Zu,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!yu(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={...kl(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Vu(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,Pa(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(Hu),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(Gu);this.isUpdating||this.nodes.forEach(Ou),this.isUpdating=!1,this.nodes.forEach(Du),this.nodes.forEach(Bu),this.nodes.forEach(ku),this.clearAllSnapshots();const e=performance.now();wa.delta=fi(0,1e3/60,e-wa.timestamp),wa.timestamp=e,wa.isProcessing=!0,Sa.update.process(wa),Sa.preRender.process(wa),Sa.render.process(wa),wa.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ru),this.sharedNodes.forEach(Wu)}scheduleUpdateProjection(){ka.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ka.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&&!vu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||Pc(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)),Yu((r=n).x),Yu(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&&(jc(t.x,n.offset.x),jc(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};du(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){du(t,e);const{scroll:n}=this.root;n&&(jc(t.x,-n.offset.x),jc(t.y,-n.offset.y))}jc(t.x,o.offset.x),jc(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};du(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&&Fc(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Pc(r.latestValues)&&Fc(n,r.latestValues)}return Pc(this.latestValues)&&Fc(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};du(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Pc(n.latestValues))continue;kc(n.latestValues)&&n.updateSnapshot();const r=Ec();du(r,n.measurePageBox()),gu(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Pc(this.latestValues)&&gu(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!==wa.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=wa.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}},xc(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),du(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,vc(a.x,s.x,l.x),vc(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):du(this.target,this.layout.layoutBox),Vc(this.target,this.targetDelta)):du(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}},xc(this.relativeTargetOrigin,this.target,e.target),du(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Su.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!kc(this.parent.latestValues)&&!Lc(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===wa.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;du(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&&Fc(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Vc(e,a)),r&&Pc(i.latestValues)&&Fc(e,i.latestValues))}t.x=Mc(t.x),t.y=Mc(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;bc(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Cu(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Su.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(zu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Xu(i.x,e.x,n),Xu(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xc(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Fu(e.x,t.x,n.x,r),Fu(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&yu(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),du(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=Ss(0,void 0!==n.opacity?n.opacity:1,su(r)),e.opacityExit=Ss(void 0!==t.opacity?t.opacity:1,0,lu(r))):i&&(e.opacity=Ss(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<ru;o++){const i=`border${nu[o]}Radius`;let a=au(t,i),s=au(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||iu(a)===iu(s)?(e[i]=Math.max(Ss(ou(a),ou(s),r),0),(Ei.test(s)||Ei.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=Ss(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&&(Pa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ka.update(()=>{Uc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=li(e)?e:Hl(e);return r.start(Pl("",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&&_u(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=mc(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=mc(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}du(t,n),Fc(t,o),bc(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Iu);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<Nu.length;t++){const o="rotate"+Nu[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=aa(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=aa(e.pointerEvents)||""),this.hasProjected&&!Pc(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=Cu(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 oi){if(void 0===a[e])continue;const{correct:t,applyTo:n}=oi[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?aa(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(Gu),this.root.sharedNodes.clear()}}}function Bu(e){e.updateLayout()}function ku(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?Sc(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=mc(r);r.min=t[e].min,r.max=r.min+o}):_u(o,n.layoutBox,t)&&Sc(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=mc(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}};bc(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?bc(s,e.applyTransform(r,!0),n.measuredBox):bc(s,t,n.layoutBox);const l=!vu(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}};xc(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};xc(s,t,i.layoutBox),yu(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 Pu(e){Su.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 Lu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ru(e){e.clearSnapshot()}function Gu(e){e.clearMeasurements()}function Ou(e){e.isLayoutDirty=!1}function Du(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Vu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Mu(e){e.resolveTargetDelta()}function ju(e){e.calcProjection()}function Hu(e){e.resetRotation()}function Wu(e){e.removeLeadSnapshot()}function Xu(e,t,n){e.translate=Ss(t.translate,0,n),e.scale=Ss(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Fu(e,t,n,r){e.min=Ss(t.min,n.min,r),e.max=Ss(t.max,n.max,r)}function zu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Zu={duration:.45,ease:[.4,0,.1,1]};function Yu(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function _u(e,t,n){return"position"===e||"preserve-aspect"===e&&!fc(xu(t),xu(n),.2)}const Ju=Tu({attachResizeListener:(e,t)=>da(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Uu={current:void 0},$u=Tu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Uu.current){const e=new Ju({});e.mount(window),e.setOptions({layoutScroll:!0}),Uu.current=e}return Uu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ku={pan:{Feature:class extends Ca{constructor(){super(...arguments),this.removePointerDownListener=Ga}onPointerDown(e){this.session=new sc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Jc(e),onStart:Jc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&ka.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=ma(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 Ca{constructor(e){super(e),this.removeGroupControls=Ga,this.removeListeners=Ga,this.controls=new Yc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ga}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:$u,MeasureLayout:eu}},Qu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function qu(e,t,n=1){_a(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=Qu.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():hi(o)?qu(o,t,n+1):o}const ed=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),td=e=>ed.has(e),nd=e=>e===gi||e===Si,rd=(e,t)=>parseFloat(e.split(", ")[t]),od=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return rd(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?rd(t[1],e):0}},id=new Set(["x","y","z"]),ad=ii.filter(e=>!id.has(e));const sd={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:od(4,13),y:od(5,14)},ld=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(td);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=Fl(c);const d=t[o];let p;if(oa(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Fl(c);for(let n=t;n<e&&null!==d[n];n++)p?_a(Fl(d[n])===p,"All keyframes must be of the same type"):(p=Fl(d[n]),_a(p===u||nd(u)&&nd(p),"Keyframes must be of the same dimension as the current value"))}else p=Fl(d);if(u!==p)if(nd(u)&&nd(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===Si&&(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 ad.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]=sd[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]=sd[n](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Do&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function cd(e,t,n,r){return(e=>Object.keys(e).some(td))(t)?ld(e,t,n,r):{target:t,transitionEnd:r}}const ud=(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(!hi(t))return;const n=qu(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!hi(o))continue;const i=qu(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return cd(e,t=o.target,n,r=o.transitionEnd)},dd={current:null},pd={current:!1};const hd=new WeakMap,md=Object.keys(Uo),fd=md.length,gd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],bd=Fo.length;class vd{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=()=>ka.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=zo(t),this.isVariantNode=Zo(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]&&li(t)&&(t.set(a[e],!1),Ll(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,hd.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)),pd.current||function(){if(pd.current=!0,Do)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dd.current=e.matches;e.addListener(t),t()}else dd.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||dd.current),"production"!==process.env.NODE_ENV&&Ml(!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(){hd.delete(this.current),this.projection&&this.projection.unmount(),Pa(this.notifyUpdate),Pa(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=ai.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&ka.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?Ya(!1,e):_a(!1,e)}for(let e=0;e<fd;e++){const n=md[e],{isEnabled:r,Feature:o,ProjectionNode:s,MeasureLayout:l}=Uo[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&&jo(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<gd.length;t++){const n=gd[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(li(i))e.addValue(o,i),Ll(r)&&r.add(o),"development"===process.env.NODE_ENV&&Ml("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(li(a))e.addValue(o,Hl(i,{owner:e})),Ll(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,Hl(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<bd;e++){const n=Fo[e],r=this.props[n];(Ho(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=Hl(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=na(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||li(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 Dl),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class yd extends vd{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=_l(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&&(Rl(c)||Tl(c))?c=parseFloat(c):!Zl(c)&&Ws.test(l)&&(c=Sl(a,l)),e.addValue(a,Hl(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,i);const e=ud(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class xd extends yd{readValueFromInstance(e,t){if(ai.has(t)){const e=El(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(pi(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return zc(e,t)}build(e,t,n,r){Ri(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ea(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;li(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Ki(e,t,n,r)}}class Id extends yd{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ai.has(t)){const e=El(t);return e&&e.default||0}return t=Qi.has(t)?t:$i(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ta(e,t)}build(e,t,n,r){Zi(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){qi(e,t,0,r)}mount(e){this.isSVGTag=_i(e.tagName),super.mount(e)}}const Cd=(e,t)=>ri(e)?new Id(t,{enableHardwareAcceleration:!1}):new xd(t,{enableHardwareAcceleration:!0}),wd={...ic,...Xa,...Ku,...{layout:{ProjectionNode:$u,MeasureLayout:eu}}},Ad=ti((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...ri(e)?ca:ua,preloadedFeatures:n,useRender:Ui(t),createVisualElement:r,Component:e}}(e,t,wd,Cd));function Nd(){const e=l(!1);return Vo(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Ed extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Sd({children:e,isPresent:t}){const n=g(),o=l(null),i=l({width:0,height:0,top:0,left:0});return f(()=>{const{width:e,height:r,top:a,left:s}=i.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(Ed,{isPresent:t,childRef:o,sizeRef:i},r.cloneElement(e,{ref:o}))}const Td=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:s,mode:l})=>{const c=ra(Bd),u=g(),d=a(()=>({id:u,initial:t,isPresent:n,custom:i,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;o&&o()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return a(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&o&&o()},[n]),"popLayout"===l&&(e=r.createElement(Sd,{isPresent:n},e)),r.createElement(Oo.Provider,{value:d},e)};function Bd(){return new Map}const kd=e=>e.key||"";const Pd=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{_a(!i,"Replace exitBeforeEnter with mode='wait'");const p=m($o).forceRender||function(){const e=Nd(),[t,n]=c(0),r=d(()=>{e.current&&n(t+1)},[t]);return[d(()=>ka.postRender(r),[r]),t]}()[0],h=Nd(),f=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let g=f;const x=l(new Map).current,I=l(g),C=l(new Map).current,w=l(!0);var A;if(Vo(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=kd(e);t.set(n,e)})}(f,C),I.current=g}),A=()=>{w.current=!0,C.clear(),x.clear()},u(()=>()=>A(),[]),w.current)return r.createElement(r.Fragment,null,g.map(e=>r.createElement(Td,{key:kd(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:a,mode:s},e)));g=[...g];const N=I.current.map(kd),E=f.map(kd),S=N.length;for(let e=0;e<S;e++){const t=N[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===s&&x.size&&(g=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const i=C.get(n);if(!i)return;const l=N.indexOf(n);let c=e;if(!c){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=f,!1===h.current)return;p(),o&&o()}};c=r.createElement(Td,{key:kd(i),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s},i),x.set(n,c)}g.splice(l,0,c)}),g=g.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(Td,{key:kd(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&g.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?g:g.map(e=>b(e)))};function Ld(){return Ld=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},Ld.apply(null,arguments)}function Rd(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Gd(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Od(...e){return d(Gd(...e),e)}function Dd(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return a(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const Vd=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?h:()=>{},Md=r["useId".toString()]||(()=>{});let jd=0;function Hd(e){const[t,n]=r.useState(Md());return Vd(()=>{n(e=>null!=e?e:String(jd++))},[e]),e||(t?`radix-${t}`:"")}function Wd(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Xd({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,o=l(r),i=Wd(t);return u(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,s=Wd(n);return[a,d(t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else o(t)},[i,e,o,s])]}const Fd=i((e,t)=>{const{children:n,...r}=e,o=v.toArray(n),i=o.find(Yd);if(i){const e=i.props.children,n=o.map(t=>t===i?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return s(zd,Ld({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return s(zd,Ld({},r,{ref:t}),n)});Fd.displayName="Slot";const zd=i((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{..._d(r,n.props),ref:t?Gd(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});zd.displayName="SlotClone";const Zd=({children:e})=>s(x,null,e);function Yd(e){return y(e)&&e.type===Zd}function _d(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Jd=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=i((e,n)=>{const{asChild:r,...o}=e,i=r?Fd:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(i,Ld({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Ud="dismissableLayer.update",$d="dismissableLayer.pointerDownOutside",Kd="dismissableLayer.focusOutside";let Qd;const qd=p({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ep=i((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:d,onDismiss:p,...h}=e,f=m(qd),[g,b]=c(null),v=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=Od(t,e=>b(e)),I=Array.from(f.layers),[C]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=g?I.indexOf(g):-1,N=f.layersWithOutsidePointerEventsDisabled.size>0,E=A>=w,S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Wd(e),r=l(!1),o=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function a(){np($d,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...f.branches].some(e=>e.contains(t));E&&!n&&(null==i||i(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Wd(e),r=l(!1);return u(()=>{const e=e=>{if(e.target&&!r.current){np(Kd,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...f.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Wd(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===f.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),u(()=>{if(g)return r&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(Qd=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),tp(),()=>{r&&1===f.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Qd)}},[g,v,r,f]),u(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),tp())},[g,f]),u(()=>{const e=()=>y({});return document.addEventListener(Ud,e),()=>document.removeEventListener(Ud,e)},[]),s(Jd.div,Ld({},h,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:Rd(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Rd(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Rd(e.onPointerDownCapture,S.onPointerDownCapture)}))});function tp(){const e=new CustomEvent(Ud);document.dispatchEvent(e)}function np(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&S(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}const rp="focusScope.autoFocusOnMount",op="focusScope.autoFocusOnUnmount",ip={bubbles:!1,cancelable:!0},ap=i((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[p,h]=c(null),m=Wd(o),f=Wd(i),g=l(null),b=Od(t,e=>h(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(r){function e(e){if(v.paused||!p)return;const t=e.target;p.contains(t)?g.current=t:up(g.current,{select:!0})}function t(e){if(v.paused||!p)return;const t=e.relatedTarget;null!==t&&(p.contains(t)||up(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&up(p)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return p&&o.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[r,p,v.paused]),u(()=>{if(p){dp.add(v);const t=document.activeElement;if(!p.contains(t)){const n=new CustomEvent(rp,ip);p.addEventListener(rp,m),p.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(up(r,{select:t}),document.activeElement!==n)return}((e=sp(p),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&up(p))}return()=>{p.removeEventListener(rp,m),setTimeout(()=>{const e=new CustomEvent(op,ip);p.addEventListener(op,f),p.dispatchEvent(e),e.defaultPrevented||up(null!=t?t:document.body,{select:!0}),p.removeEventListener(op,f),dp.remove(v)},0)}}var e},[p,m,f,v]);const y=d(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=sp(e),n=lp(t,e),r=lp(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&up(i,{select:!0})):(e.preventDefault(),n&&up(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,v.paused]);return s(Jd.div,Ld({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function sp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function lp(e,t){for(const n of e)if(!cp(n,{upTo:t}))return n}function cp(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function up(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const dp=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=pp(e,t),e.unshift(t)},remove(t){var n;e=pp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function pp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const hp=i((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?E.createPortal(s(Jd.div,Ld({},o,{ref:t})),r):null});const mp=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=l({}),o=l(e),i=l("none"),a=e?"mounted":"unmounted",[s,p]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=fp(r.current);i.current="mounted"===s?e:"none"},[s]),Vd(()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=fp(t);if(e)p("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{p(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,p]),Vd(()=>{if(t){const e=e=>{const n=fp(r.current).includes(e.animationName);e.target===t&&n&&S(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(i.current=fp(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):v.only(n),i=Od(r.ref,o.ref);return"function"==typeof n||r.isPresent?b(o,{ref:i}):null};function fp(e){return(null==e?void 0:e.animationName)||"none"}mp.displayName="Presence";let gp=0;function bp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var vp=function(){return vp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vp.apply(this,arguments)};function yp(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var xp="right-scroll-bar-position",Ip="width-before-scroll-bar";function Cp(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var wp="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Ap=new WeakMap;function Np(e,t){var n,r,o,i=(n=null,r=function(t){return e.forEach(function(e){return Cp(e,t)})},(o=c(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return wp(function(){var t=Ap.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||Cp(e,null)}),r.forEach(function(e){n.has(e)||Cp(e,o)})}Ap.set(i,e)},[e]),i}function Ep(e){return e}var Sp=function(e){var t=e.sideCar,n=yp(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return r.createElement(o,vp({},n))};Sp.isSideCarExport=!0;var Tp=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Ep);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=vp({async:!0,ssr:!1},e),t}(),Bp=function(){},kp=r.forwardRef(function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:Bp,onWheelCapture:Bp,onTouchMoveCapture:Bp}),i=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=yp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=Np([n,t]),C=vp(vp({},y),i);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:Tp,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),vp(vp({},C),{ref:I})):r.createElement(v,vp({},C,{className:c,ref:I}),l))});kp.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},kp.classNames={fullWidth:Ip,zeroRight:xp};function Pp(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Lp=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Pp())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Rp=function(){var e,t=(e=Lp(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Gp={left:0,top:0,right:0,gap:0},Op=function(e){return parseInt(e||"",10)||0},Dp=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Gp;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Op(n),Op(r),Op(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Vp=Rp(),Mp="data-scroll-locked",jp=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(Mp,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(xp," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Ip," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(xp," .").concat(xp," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Ip," .").concat(Ip," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Mp,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Hp=function(){var e=parseInt(document.body.getAttribute(Mp)||"0",10);return isFinite(e)?e:0},Wp=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;r.useEffect(function(){return document.body.setAttribute(Mp,(Hp()+1).toString()),function(){var e=Hp()-1;e<=0?document.body.removeAttribute(Mp):document.body.setAttribute(Mp,e.toString())}},[]);var a=r.useMemo(function(){return Dp(i)},[i]);return r.createElement(Vp,{styles:jp(a,!t,i,n?"":"!important")})},Xp=!1;if("undefined"!=typeof window)try{var Fp=Object.defineProperty({},"passive",{get:function(){return Xp=!0,!0}});window.addEventListener("test",Fp,Fp),window.removeEventListener("test",Fp,Fp)}catch(e){Xp=!1}var zp=!!Xp&&{passive:!1},Zp=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Yp=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),_p(e,n)){var r=Jp(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},_p=function(e,t){return"v"===e?function(e){return Zp(e,"overflowY")}(t):function(e){return Zp(e,"overflowX")}(t)},Jp=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},Up=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$p=function(e){return[e.deltaX,e.deltaY]},Kp=function(e){return e&&"current"in e?e.current:e},Qp=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},qp=0,eh=[];var th,nh=(th=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState(qp++)[0],a=r.useState(function(){return Rp()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Kp),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=Up(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=Yp(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=Yp(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=r),!r)return!0;var h=o.current||r;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,a=n.target,s=t.contains(a),l=!1,c=i>0,u=0,d=0;do{var p=Jp(e,a),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&_p(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(eh.length&&eh[eh.length-1]===a){var r="deltaY"in n?$p(n):Up(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(s.current.shards||[]).map(Kp).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?l(n,i[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=r.useCallback(function(e){n.current=Up(e),o.current=void 0},[]),p=r.useCallback(function(t){u(t.type,$p(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,Up(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return eh.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,zp),document.addEventListener("touchmove",c,zp),document.addEventListener("touchstart",d,zp),function(){eh=eh.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,zp),document.removeEventListener("touchmove",c,zp),document.removeEventListener("touchstart",d,zp)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:Qp(i)}):null,m?r.createElement(Wp,{gapMode:"margin"}):null)},Tp.useMedium(th),Sp),rh=r.forwardRef(function(e,t){return r.createElement(kp,vp({},e,{ref:t,sideCar:nh}))});rh.classNames=kp.classNames;var oh=new WeakMap,ih=new WeakMap,ah={},sh=0,lh=function(e){return e&&(e.host||lh(e.parentNode))},ch=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=lh(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);ah[n]||(ah[n]=new WeakMap);var i=ah[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(oh.get(e)||0)+1,c=(i.get(e)||0)+1;oh.set(e,l),i.set(e,c),a.push(e),1===l&&o&&ih.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),sh++,function(){a.forEach(function(e){var t=oh.get(e)-1,o=i.get(e)-1;oh.set(e,t),i.set(e,o),t||(ih.has(e)||e.removeAttribute(r),ih.delete(e)),o||e.removeAttribute(n)}),--sh||(oh=new WeakMap,oh=new WeakMap,ih=new WeakMap,ah={})}},uh=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ch(r,o,n,"aria-hidden")):function(){return null}};const dh="Dialog",[ph,hh]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>p(e));return function(n){const r=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const o=p(r),i=n.length;function l(t){const{scope:n,children:r,...l}=t,c=(null==n?void 0:n[e][i])||o,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},r)}return n=[...n,r],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][i])||o,l=m(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Dd(r,...t)]}(dh),[mh,fh]=ph(dh),gh="DialogPortal",[bh,vh]=ph(gh,{forceMount:void 0}),yh="DialogOverlay",xh=i((e,t)=>{const n=vh(yh,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=fh(yh,e.__scopeDialog);return i.modal?s(mp,{present:r||i.open},s(Ih,Ld({},o,{ref:t}))):null}),Ih=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=fh(yh,n);return s(rh,{as:Fd,allowPinchZoom:!0,shards:[o.contentRef]},s(Jd.div,Ld({"data-state":kh(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Ch="DialogContent",wh=i((e,t)=>{const n=vh(Ch,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=fh(Ch,e.__scopeDialog);return s(mp,{present:r||i.open},i.modal?s(Ah,Ld({},o,{ref:t})):s(Nh,Ld({},o,{ref:t})))}),Ah=i((e,t)=>{const n=fh(Ch,e.__scopeDialog),r=l(null),o=Od(t,n.contentRef,r);return u(()=>{const e=r.current;if(e)return uh(e)},[]),s(Eh,Ld({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Rd(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Rd(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Rd(e.onFocusOutside,e=>e.preventDefault())}))}),Nh=i((e,t)=>{const n=fh(Ch,e.__scopeDialog),r=l(!1),o=l(!1);return s(Eh,Ld({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),Eh=i((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,c=fh(Ch,n),d=Od(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:bp()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:bp()),gp++,()=>{1===gp&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),gp--}},[]),s(x,null,s(ap,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},s(ep,Ld({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":kh(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Sh="DialogTitle",Th="DialogClose",Bh=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=fh(Th,n);return s(Jd.button,Ld({type:"button"},r,{ref:t,onClick:Rd(e.onClick,()=>o.onOpenChange(!1))}))});function kh(e){return e?"open":"closed"}!function(e,t){const n=p(t);function r(e){const{children:t,...r}=e,o=a(()=>r,Object.values(r));return s(n.Provider,{value:o},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Ch,titleName:Sh,docsSlug:"dialog"});const Ph=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,c=l(null),u=l(null),[p=!1,h]=Xd({prop:r,defaultProp:o,onChange:i});return s(mh,{scope:t,triggerRef:c,contentRef:u,contentId:Hd(),titleId:Hd(),descriptionId:Hd(),open:p,onOpenChange:h,onOpenToggle:d(()=>h(e=>!e),[h]),modal:a},n)},Lh=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=fh(gh,t);return s(bh,{scope:t,forceMount:n},v.map(r,e=>s(mp,{present:n||i.open},s(hp,{asChild:!0,container:o},e))))},Rh=xh,Gh=wh,Oh=Bh,Dh=n=>{const{isOpen:r,onRequestClose:o,size:i,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(Ph,{open:r,onOpenChange:()=>r&&(null==o?void 0:o()),children:t(Lh,{children:[e(Ad.div,{initial:"closed",animate:r?"open":"closed",variants:ko,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Rh,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(Ad.div,{initial:"closed",animate:r?"open":"closed",variants:Po,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e(Gh,{className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:Lo[i||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(Oh,{asChild:!0,children:e(Or,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(gr,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(br,{className:Ze("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(br,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},Vh=({children:n,background:r,className:o,fill:i="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=i in u?u[i]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${a?"max-content":""} ${null!=h?h:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:m,children:n})},Mh=({title:n,background:r="white",button:o,color:i,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[r]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-text-inverse"}`,children:[n&&e(br,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(br,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Or,{...o,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})})]})}),jh=({background:r="white",description:o,enableHeading:i,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(br,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(br,{as:i?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(br,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e("li",{children:e(Ir,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e("li",{children:e(Ir,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Wr,{width:472,height:100,src:a,alt:"image"})})]})]})}),Hh=({title:n,disclaimer:r,table:o,maxWidth:i=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(i?"max-w-120 xl:mx-auto":""),children:[e(br,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:o}),e(br,{as:"div",className:"micro mt-8 text-center",children:r})]})}),Wh=({currentPage:n,totalPages:r,onPageChange:o,ariaLabel:i="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,r),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":i,children:[e(Tr,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(gr,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(Tr,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>o(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(Tr,{className:s,onClick:()=>o(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(gr,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Xh(e){return Xh="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},Xh(e)}function Fh(e){var t=function(e,t){if("object"!=Xh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Xh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xh(t)?t:t+""}function zh(e,t,n){return(t=Fh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zh(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 Yh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zh(Object(n),!0).forEach(function(t){zh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _h(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 Jh(e,t){if(e){if("string"==typeof e)return _h(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)?_h(e,t):void 0}}function Uh(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)||Jh(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 $h(e,t){if(null==e)return{};var n,r,o=function(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}(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}var Kh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Qh(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,Fh(r.key),r)}}function qh(e,t){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qh(e,t)}function em(e){return em=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},em(e)}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tm=function(){return!!e})()}function nm(e,t){if(t&&("object"==Xh(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 rm(e){return function(e){if(Array.isArray(e))return _h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Jh(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 om=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}(),im="-ms-",am="-moz-",sm="-webkit-",lm="comm",cm="rule",um="decl",dm="@keyframes",pm=Math.abs,hm=String.fromCharCode,mm=Object.assign;function fm(e){return e.trim()}function gm(e,t,n){return e.replace(t,n)}function bm(e,t){return e.indexOf(t)}function vm(e,t){return 0|e.charCodeAt(t)}function ym(e,t,n){return e.slice(t,n)}function xm(e){return e.length}function Im(e){return e.length}function Cm(e,t){return t.push(e),e}var wm=1,Am=1,Nm=0,Em=0,Sm=0,Tm="";function Bm(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:wm,column:Am,length:a,return:""}}function km(e,t){return mm(Bm("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pm(){return Sm=Em>0?vm(Tm,--Em):0,Am--,10===Sm&&(Am=1,wm--),Sm}function Lm(){return Sm=Em<Nm?vm(Tm,Em++):0,Am++,10===Sm&&(Am=1,wm++),Sm}function Rm(){return vm(Tm,Em)}function Gm(){return Em}function Om(e,t){return ym(Tm,e,t)}function Dm(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 Vm(e){return wm=Am=1,Nm=xm(Tm=e),Em=0,[]}function Mm(e){return Tm="",e}function jm(e){return fm(Om(Em-1,Xm(91===e?e+2:40===e?e+1:e)))}function Hm(e){for(;(Sm=Rm())&&Sm<33;)Lm();return Dm(e)>2||Dm(Sm)>3?"":" "}function Wm(e,t){for(;--t&&Lm()&&!(Sm<48||Sm>102||Sm>57&&Sm<65||Sm>70&&Sm<97););return Om(e,Gm()+(t<6&&32==Rm()&&32==Lm()))}function Xm(e){for(;Lm();)switch(Sm){case e:return Em;case 34:case 39:34!==e&&39!==e&&Xm(Sm);break;case 40:41===e&&Xm(e);break;case 92:Lm()}return Em}function Fm(e,t){for(;Lm()&&e+Sm!==57&&(e+Sm!==84||47!==Rm()););return"/*"+Om(t,Em-1)+"*"+hm(47===e?e:Lm())}function zm(e){for(;!Dm(Rm());)Lm();return Om(e,Em)}function Zm(e){return Mm(Ym("",null,null,null,[""],e=Vm(e),0,[0],e))}function Ym(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=o,I=i,C=r,w=y;g;)switch(m=v,v=Lm()){case 40:if(108!=m&&58==vm(w,d-1)){-1!=bm(w+=gm(jm(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=jm(v);break;case 9:case 10:case 13:case 32:w+=Hm(m);break;case 92:w+=Wm(Gm()-1,7);continue;case 47:switch(Rm()){case 42:case 47:Cm(Jm(Fm(Lm(),Gm()),t,n),l);break;default:w+="/"}break;case 123*f:s[c++]=xm(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=gm(w,/\f/g,"")),h>0&&xm(w)-d&&Cm(h>32?Um(w+";",r,n,d-1):Um(gm(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(Cm(C=_m(w,t,n,c,u,o,s,y,x=[],I=[],d),i),123===v)if(0===u)Ym(w,t,C,C,x,i,d,s,I);else switch(99===p&&110===vm(w,3)?100:p){case 100:case 108:case 109:case 115:Ym(e,C,C,r&&Cm(_m(e,C,C,0,0,o,s,y,o,x=[],d),I),o,I,d,s,r?x:I);break;default:Ym(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,f=b=1,y=w="",d=a;break;case 58:d=1+xm(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Pm())continue;switch(w+=hm(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(xm(w)-1)*b,b=1;break;case 64:45===Rm()&&(w+=jm(Lm())),p=Rm(),u=d=xm(y=w+=zm(Gm())),v++;break;case 45:45===m&&2==xm(w)&&(f=0)}}return i}function _m(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],h=Im(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=ym(e,d+1,d=pm(f=a[m])),y=e;b<h;++b)(y=fm(f>0?p[b]+" "+v:gm(v,/&\f/g,p[b])))&&(l[g++]=y);return Bm(e,t,n,0===o?cm:s,l,c,u)}function Jm(e,t,n){return Bm(e,t,n,lm,hm(Sm),ym(e,2,-2),0)}function Um(e,t,n,r){return Bm(e,t,n,um,ym(e,0,r),ym(e,r+1,-1),r)}function $m(e,t){for(var n="",r=Im(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Km(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case um:return e.return=e.return||e.value;case lm:return"";case dm:return e.return=e.value+"{"+$m(e.children,r)+"}";case cm:e.value=e.props.join(",")}return xm(n=$m(e.children,r))?e.return=e.value+"{"+n+"}":""}function Qm(e){var t=Im(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 qm="undefined"!=typeof document,ef=function(e,t,n){for(var r=0,o=0;r=o,o=Rm(),38===r&&12===o&&(t[n]=1),!Dm(o);)Lm();return Om(e,Em)},tf=function(e,t){return Mm(function(e,t){var n=-1,r=44;do{switch(Dm(r)){case 0:38===r&&12===Rm()&&(t[n]=1),e[n]+=ef(Em-1,t,n);break;case 2:e[n]+=jm(r);break;case 4:if(44===r){e[++n]=58===Rm()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=hm(r)}}while(r=Lm());return e}(Vm(e),t))},nf=new WeakMap,rf=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)||nf.get(n))&&!r){nf.set(e,!0);for(var o=[],i=tf(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]}}},of=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function af(e,t){switch(function(e,t){return 45^vm(e,0)?(((t<<2^vm(e,0))<<2^vm(e,1))<<2^vm(e,2))<<2^vm(e,3):0}(e,t)){case 5103:return sm+"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 sm+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return sm+e+am+e+im+e+e;case 6828:case 4268:return sm+e+im+e+e;case 6165:return sm+e+im+"flex-"+e+e;case 5187:return sm+e+gm(e,/(\w+).+(:[^]+)/,sm+"box-$1$2"+im+"flex-$1$2")+e;case 5443:return sm+e+im+"flex-item-"+gm(e,/flex-|-self/,"")+e;case 4675:return sm+e+im+"flex-line-pack"+gm(e,/align-content|flex-|-self/,"")+e;case 5548:return sm+e+im+gm(e,"shrink","negative")+e;case 5292:return sm+e+im+gm(e,"basis","preferred-size")+e;case 6060:return sm+"box-"+gm(e,"-grow","")+sm+e+im+gm(e,"grow","positive")+e;case 4554:return sm+gm(e,/([^-])(transform)/g,"$1"+sm+"$2")+e;case 6187:return gm(gm(gm(e,/(zoom-|grab)/,sm+"$1"),/(image-set)/,sm+"$1"),e,"")+e;case 5495:case 3959:return gm(e,/(image-set\([^]*)/,sm+"$1$`$1");case 4968:return gm(gm(e,/(.+:)(flex-)?(.*)/,sm+"box-pack:$3"+im+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+sm+e+e;case 4095:case 3583:case 4068:case 2532:return gm(e,/(.+)-inline(.+)/,sm+"$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(xm(e)-1-t>6)switch(vm(e,t+1)){case 109:if(45!==vm(e,t+4))break;case 102:return gm(e,/(.+:)(.+)-([^]+)/,"$1"+sm+"$2-$3$1"+am+(108==vm(e,t+3)?"$3":"$2-$3"))+e;case 115:return~bm(e,"stretch")?af(gm(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==vm(e,t+1))break;case 6444:switch(vm(e,xm(e)-3-(~bm(e,"!important")&&10))){case 107:return gm(e,":",":"+sm)+e;case 101:return gm(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+sm+(45===vm(e,14)?"inline-":"")+"box$3$1"+sm+"$2$3$1"+im+"$2box$3")+e}break;case 5936:switch(vm(e,t+11)){case 114:return sm+e+im+gm(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return sm+e+im+gm(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return sm+e+im+gm(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return sm+e+im+e+e}return e}var sf,lf,cf,uf=qm?void 0:(sf=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},lf=new WeakMap,function(e){if(lf.has(e))return lf.get(e);var t=sf(e);return lf.set(e,t),t}),df=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case um:e.return=af(e.value,e.length);break;case dm:return $m([km(e,{value:gm(e.value,"@","@"+sm)})],r);case cm: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 $m([km(e,{props:[gm(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return $m([km(e,{props:[gm(t,/:(plac\w+)/,":"+sm+"input-$1")]}),km(e,{props:[gm(t,/:(plac\w+)/,":-moz-$1")]}),km(e,{props:[gm(t,/:(plac\w+)/,im+"input-$1")]})],r)}return""})}}],pf=function(e){var t=e.key;if(qm&&"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||df,a={},s=[];qm&&(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=[rf,of];if(uf){var u=[Km],d=Qm(c.concat(i,u)),p=uf(i)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=$m(Zm(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=h(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),i):r?void(b.inserted[o]=i):i}}else{var m,f=[Km,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Qm(c.concat(i,f));o=function(e,t,n,r){m=n,$m(Zm(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new om({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},hf={exports:{}},mf={};var ff,gf,bf,vf,yf={};
5
+ function Ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var wt=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=Ct({},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,"",Ct({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ct({},this.attributes,t))},withConverter:function(t){return e(Ct({},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:"/"});const At=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Nt=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Et=e=>{if(!e)return null;if(Nt(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Nt(t)?t:null}return null};function St(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tt,Bt={},kt={},Pt={};function Lt(){return Tt||(Tt=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}({})}(Pt)),Pt}var Rt,Gt={};function Ot(){return Rt||(Rt=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}({})}(Gt)),Gt}var Dt,Vt={};function Mt(){return Dt||(Dt=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}({})}(Vt)),Vt}var jt,Ht={};function Wt(){return jt||(jt=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 h},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=Lt(),n=Ot(),r=Mt();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),h=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(s=h)||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.")}()),f=[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]}(Ht)),Ht}var Xt,Ft={};var zt,Zt={};var Yt,_t={};var Jt,Ut={};function $t(){return Jt||(Jt=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=Lt(),n=Ot();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}}(Ut)),Ut}var Kt,Qt,qt={},en={};function tn(){return Qt?Kt:(Qt=1,Kt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var nn,rn,on={};function an(){return nn||(nn=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()}}}(on)),on}function sn(){return rn||(rn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(tn()),n=an();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}()}(en)),en}var ln,cn={};function un(){return ln||(ln=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 f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return h},get assert(){return b},get assertLink(){return v}});var t=sn();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 h=[],m=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}(),f=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}(m),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}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(cn)),cn}var dn,pn={};function hn(){return dn||(dn=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}}}(pn)),pn}var mn,fn,gn,bn,vn={};function yn(){return fn||(fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=Lt(),n=Ot(),r=Wt(),o=sn(),i=un(),a=hn(),s=(mn||(mn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=sn();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}}(vn)),vn);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()),h=(0,i.assert)([t.BLOCKS.LIST_ITEM]),m=(0,i.assertLink)("Entry",i.VOID_CONTENT),f=(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,m),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,h),c(d,t.BLOCKS.UL_LIST,h),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,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,m),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 v=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)}}(qt)),qt}function xn(){return gn||(gn=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=Lt(),n=Ot(),r=Mt();s(Wt(),e),s((Xt||(Xt=1,Object.defineProperty(Ft,"__esModule",{value:!0})),Ft),e),s((zt||(zt=1,Object.defineProperty(Zt,"__esModule",{value:!0})),Zt),e);var o=(Yt||(Yt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Lt(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(_t)),_t),i=c($t()),a=yn();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}}(kt)),kt}var In=function(){if(bn)return Bt;bn=1;var e=o,t=xn();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)}return Bt.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})},Bt}(),Cn=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}({}),wn=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}({}),An=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}({});function Nn(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 En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sn,Tn=[Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE,Cn.TABLE],Bn=[Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE];Cn.TABLE,Cn.TABLE_ROW,Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL,Cn.HR,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE;var kn,Pn=(En(Sn={},Cn.OL_LIST,[Cn.LIST_ITEM]),En(Sn,Cn.UL_LIST,[Cn.LIST_ITEM]),En(Sn,Cn.LIST_ITEM,Bn),En(Sn,Cn.QUOTE,[Cn.PARAGRAPH]),En(Sn,Cn.TABLE,[Cn.TABLE_ROW]),En(Sn,Cn.TABLE_ROW,[Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL]),En(Sn,Cn.TABLE_CELL,[Cn.PARAGRAPH,Cn.UL_LIST,Cn.OL_LIST]),En(Sn,Cn.TABLE_HEADER_CELL,[Cn.PARAGRAPH]),Sn),Ln=[Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6];[Cn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return Nn(e)}(kn=Ln)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(kn)||function(e,t){if(e){if("string"==typeof e)return Nn(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)?Nn(e,t):void 0}}(kn)||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.")}()),Cn.DOCUMENT,Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.LIST_ITEM,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,wn.HYPERLINK,wn.ENTRY_HYPERLINK,wn.ASSET_HYPERLINK,wn.EMBEDDED_ENTRY,Cn.DOCUMENT,Cn.PARAGRAPH;var Rn=St(tn());function Gn(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 On(e){return function(e){if(Array.isArray(e))return Gn(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 Gn(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 Gn(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 Dn=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 Vn(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 Mn(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 jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return function(e){if(Array.isArray(e))return Vn(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 Vn(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 Vn(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 Wn=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),jn(this,"obj",void 0),jn(this,"path",void 0),jn(this,"_errors",void 0),jn(this,"catch",void 0),jn(this,"exists",void 0),jn(this,"object",void 0),jn(this,"string",void 0),jn(this,"number",void 0),jn(this,"array",void 0),jn(this,"enum",void 0),jn(this,"empty",void 0),jn(this,"minLength",void 0),jn(this,"noAdditionalProperties",void 0),jn(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,Hn(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(Rn(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(Dn({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(Dn({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(Dn({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(Dn({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:On(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,Hn(a))}})}}}return Mn(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 Xn(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 Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zn(e,t,n){return t=Jn(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 Fn(e)}(e,Qn()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(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 _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 Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jn(e)}function Un(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&&$n(e,t)}function $n(e,t){return $n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$n(e,t)}function Kn(e){return function(e){if(Array.isArray(e))return Xn(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 Xn(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 Xn(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 Qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qn=function(){return!!e})()}var qn=[],er=function(){function e(t,n){Zn(this,e),_n(this,"contentRule",void 0),_n(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Yn(e,[{key:"assert",value:function(e,t){var n=new Wn(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 Wn(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,Kn(u))}return n.errors}}]),e}(),tr=function(e){function t(e,n){var r;return Zn(this,t),r=zn(this,t,[n,function(e,t){return Fn(r).assertLink(e,t)}]),_n(r,"linkType",void 0),_n(r,"type",void 0),_n(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Wn(e,t);if(n.object("target")){var o,i=new Wn(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,Kn(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Un(t,e),t}(er),nr=function(e){function t(){var e;return Zn(this,t),e=zn(this,t,[["text"],function(t,n){return Fn(e).assertLink(t,n)}]),_n(e,"assertLink",function(e,t){var n=new Wn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Un(t,e),t}(er),rr=function(e,t){return new er(e,t)},or=function(e,t){return new tr(e,t)};function ir(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 ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return function(e){if(Array.isArray(e))return ir(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 ir(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 ir(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 lr,cr=rr(sr(Object.values(wn)).concat(["text"]).sort()),ur=rr([Cn.LIST_ITEM]),dr=or("Entry",qn),pr=rr(function(){return{nodeTypes:[Cn.PARAGRAPH],min:1}},function(e,t){var n=new Wn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});ar(lr={},Cn.DOCUMENT,rr(Tn)),ar(lr,Cn.PARAGRAPH,cr),ar(lr,Cn.HEADING_1,cr),ar(lr,Cn.HEADING_2,cr),ar(lr,Cn.HEADING_3,cr),ar(lr,Cn.HEADING_4,cr),ar(lr,Cn.HEADING_5,cr),ar(lr,Cn.HEADING_6,cr),ar(lr,Cn.QUOTE,rr(Pn[Cn.QUOTE])),ar(lr,Cn.EMBEDDED_ENTRY,dr),ar(lr,Cn.EMBEDDED_ASSET,or("Asset",qn)),ar(lr,Cn.EMBEDDED_RESOURCE,or("Contentful:Entry",qn)),ar(lr,Cn.HR,rr(qn)),ar(lr,Cn.OL_LIST,ur),ar(lr,Cn.UL_LIST,ur),ar(lr,Cn.LIST_ITEM,rr(sr(Bn).sort())),ar(lr,Cn.TABLE,rr(function(){return{nodeTypes:[Cn.TABLE_ROW],min:1}})),ar(lr,Cn.TABLE_ROW,rr(function(){return{nodeTypes:[Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL],min:1}})),ar(lr,Cn.TABLE_CELL,pr),ar(lr,Cn.TABLE_HEADER_CELL,pr),ar(lr,wn.HYPERLINK,new nr),ar(lr,wn.EMBEDDED_ENTRY,dr),ar(lr,wn.EMBEDDED_RESOURCE,or("Contentful:Entry",qn)),ar(lr,wn.ENTRY_HYPERLINK,or("Entry",["text"])),ar(lr,wn.ASSET_HYPERLINK,or("Asset",["text"])),ar(lr,wn.RESOURCE_HYPERLINK,or("Contentful:Entry",["text"]));const hr={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},mr=i(({children:t,className:n="",variant:r="unstyled",style:o,...i},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:o,...i,children:t})});mr.displayName="ListItem";const fr=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=Ze(u,`list--${t}`,`list--${a}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(mr,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});fr.displayName="List";const gr=({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:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};gr.displayName="MaterialIcon";const br=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)});br.displayName="Text";const vr=n=>{const{items:r,listIconName:o="check",listItemClassName:i,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==o;return(null==r?void 0:r.length)?e(fr,{className:Ze("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(mr,{variant:d?"unstyled":"default",className:Ze(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&e("div",{className:"flex leading-none",children:e(gr,{name:o,size:s,color:hr[c],weight:"600",className:Ze("block","top"===l?"mt-1":"",u)})}),e(br,{as:"div",children:n})]},r))}):null};var yr;vr.displayName="Checklist";const xr="function"==typeof A?A:null!==(yr=A.default)&&void 0!==yr?yr:A,Ir=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)},h=Ze(d,`link--${i}`,l&&"link--disabled",r),m={...c,ref:u,className:h,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",{...m,children:t}):e(xr,{href:n||"#",className:h,onClick:p,...c,children:t})});Ir.displayName="Link";const Cr={renderMark:{[An.BOLD]:t=>e("strong",{className:"label3",children:t}),[An.ITALIC]:t=>e("em",{children:t}),[An.UNDERLINE]:t=>e("u",{children:t}),[An.CODE]:t=>e("code",{children:t})},renderNode:{[Cn.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[Cn.HEADING_1]:(t,n)=>e(br,{as:"h1",className:"heading2 md:heading1",children:n}),[Cn.HEADING_2]:(t,n)=>e(br,{as:"h2",className:"heading6 md:heading5",children:n}),[Cn.HEADING_3]:(t,n)=>e(br,{as:"h3",className:"heading6 md:heading5",children:n}),[Cn.HEADING_4]:(t,n)=>e(br,{as:"h3",className:"headingClass",children:n}),[Cn.HEADING_5]:(t,n)=>e(br,{as:"h3",className:"heading6 md:heading5",children:n}),[Cn.HEADING_6]:(t,n)=>e(br,{as:"h3",className:"heading6",children:n}),[Cn.QUOTE]:(t,n)=>e("blockquote",{children:n}),[Cn.UL_LIST]:(t,n)=>e("ul",{children:n}),[Cn.OL_LIST]:(t,n)=>e("ol",{children:n}),[Cn.LIST_ITEM]:(t,n)=>e("li",{children:n}),[wn.HYPERLINK]:(t,n)=>{var r;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,i=/^https?:\/\//.test(o);return e("a",{href:o,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[Cn.EMBEDDED_ASSET]:t=>{var n,r;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==o?void 0:o.fields,a=(null==o?void 0:o.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),s=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[Cn.EMBEDDED_ENTRY]:n=>{var r,o,i,a;const s=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"callout"===(null===(a=null===(i=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.contentType)||void 0===i?void 0:i.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[wn.EMBEDDED_ENTRY]:n=>{var r,o,i,a,s,l;const c=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"componentCheckList"===(null===(a=null===(i=null===(o=null==c?void 0:c.sys)||void 0===o?void 0:o.contentType)||void 0===i?void 0:i.sys)||void 0===a?void 0:a.id)?t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",c.fields.title]}):e("span",{children:null!==(l=null===(s=null==c?void 0:c.fields)||void 0===s?void 0:s.title)&&void 0!==l?l:""})}}};function wr(t,n,r="body1",o="body1 font-bold",i){if(!t||!Array.isArray(t.content))return null;const a={...Cr,...i,renderNode:{...Cr.renderNode,...null==i?void 0:i.renderNode,[Cn.PARAGRAPH]:(t,n)=>e("div",{className:r,children:n}),[wn.HYPERLINK]:(t,r)=>{var i;const a=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(Ir,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:o,children:r})}}};return In.documentToReactComponents(t,a)}function Ar(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...Cr,renderMark:{...Cr.renderMark,...null==t?void 0:t.renderMark},renderNode:{...Cr.renderNode,...null==t?void 0:t.renderNode}};return In.documentToReactComponents(e,n)},[e,t])}function Nr(r,o){if(!r||!Array.isArray(r.content))return null;const i={...Cr,renderMark:{...Cr.renderMark,[An.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...Cr.renderNode,[Cn.PARAGRAPH]:(t,r)=>e(n,{children:r}),[Cn.TABLE]:(t,n)=>{var r,o;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[Cn.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[Cn.TABLE_HEADER_CELL]:(t,n)=>{var r;const o=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${o?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[Cn.TABLE_CELL]:(r,o)=>{var i,a,s,l;const c=(null===(i=r.parent)||void 0===i?void 0:i.content.length)>2,u=null===(l=null===(s=null===(a=r.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 md:py-4 text-center align-top leading-5 text-text md:body2 first:text-left md:leading-7 ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(gr,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(gr,{name:"cancel",color:"#CECECE",fill:1}):o]})})},[wn.EMBEDDED_ENTRY]:t=>{var n,r,i,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==o?void 0:o.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===a?void 0:a.map(e=>{var t;return wr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(vr,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return In.documentToReactComponents(r,i)}const Er={renderMark:{[An.BOLD]:e=>s("span",{className:"label1"},e)}};function Sr(e,t,n,r){return a(()=>{var o,i;const a=null!==(i=null===(o=null==e?void 0:e.list)||void 0===o?void 0:o.items)&&void 0!==i?i:[];return t?a.map(e=>{var t,o;return null!==(o=wr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==o?o:""}):a.map(e=>{var t,o,i,a,s;return{title:null!==(o=wr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==o?o:"",iconUrl:null!==(a=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,r])}const Tr=i(({children:t,className:n="",style:r,disabled:o,...i},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:o,...i,children:t}));Tr.displayName="Button";const Br=t=>{const{open:n,children:r}=t,o=l(null),[i,a]=c(0);return u(()=>{const e=o.current;if(!e)return;const t=()=>{a(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})})};Br.displayName="Collapse";const kr=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=c(Boolean(!1));return u(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(o))},[h,o]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",a),children:[t(Tr,{type:"button",className:Ze(m?"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:Ze("label5 flex-1",s),children:r}),e(gr,{className:Ze("flex-shrink-0",p),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(Br,{open:f,children:e("div",{className:Ze("px-4 py-4",l),children:i})})]})};kr.displayName="Accordion";const Pr=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Pr.displayName="Divider";const Lr=({items:n,title:r,anchorId:o,background:i="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(br,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,o)=>{const i=r.anchorId||`item-${o}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(kr,{title:r.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(br,{as:"div",children:r.description})})}),o<n.length-1&&e(Pr,{className:"my-6 md:my-10"},`divider-${o}`)]},i)})})]})})},Rr=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()},Gr=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},h)=>{const m=(()=>{const e=Ze((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=Ze((s||o)&&"cursor-not-allowed",o&&"pl-7");return Ze(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 f=`button--${r}`;o&&(f+=" button--loading"),s&&(f+=" button--disabled");const g=`${f} ${m}`,b=t(n,{children:[o?e(gr,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(Rr(u)),children:a}),i]}):i]});return"a"===d?e("a",{ref:h,className:Ze(g),...p,children:b}):e("button",{ref:h,className:Ze(g),disabled:s||o,...p,children:b})});Gr.displayName="BrandButton";const Or=n=>{const{showButtonAs:r="solid",buttonVariant:o="primary_brand",buttonLabel:i,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:A,...N}=n;if("check availability"===h){return null==m?void 0:m({ctaText:i,buttonVariant:o,showButtonAs:r,cta:{...n}})}function E(){"modal"===g&&(null==v||v(b))}function S(e){E(),null==y||y(e)}function T(e){E(),null==y||y(e)}const B="undefined"!=typeof window?window.location.search:"",k=s&&A&&B?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(At),o=new Set([...r,"searchtext","page"]);let i,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");i=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{o.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${i}?${l}`:i}(s,B):s;let P=e(Tr,{onClick:T,className:f,...N});switch(r){case"solid":P=e(Gr,k?{as:"a",href:k,id:c,variant:o,text:i,label:a,fullWidth:p,buttonClassName:f,size:C,onClick:S}:{id:c,variant:o,text:i,label:a,fullWidth:p,size:C,onClick:T,buttonClassName:f});break;case"text":P=t(Ir,{title:i,href:k,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:S,children:[i," ",x&&e(gr,{name:x,size:w,fill:I})]})}return P};var Dr;const Vr=null!==(Dr=w.default)&&void 0!==Dr?Dr:w,Mr=({href:r,title:o,description:i,date:a,category:s,image:l,imageComponent:c,readMoreText:u="Read more",asGrid:d=!0,lgWidth:p,mdWidth:h,index:m})=>t("article",{className:d?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${p} ${h} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(Vr,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?c?e(c,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("img",{src:l.src,alt:l.alt,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),o&&e(Vr,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:o}),i&&e(br,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:i}),t(Vr,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${u} about ${o||"this article"}`,children:[e(br,{"aria-label":`${u} about ${o||"this article"}`,className:"label1 text-nowrap",children:u}),e(gr,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),jr=(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})(N),Hr=({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()},Wr=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:Hr,unoptimized:!1}:{unoptimized:s};return e(jr,{ref:r,className:Ze(t),...n,...l})});Wr.displayName="NextImage";const Xr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Fr=({card:n,lgWidth:r,mdWidth:o})=>{var i,a,s,l;const{image:c,title:u,header:d,body:p,cta:h,ctaAlignment:m,imageLink:f,imageClassName:g,className:b,isPromoBarImg:v=!1,shadow:y=!1}=n,x=m?Xr[m]:Xr.left,I=f?"cursor-pointer":"",C=f?()=>{"undefined"!=typeof window&&window.open(f,"_blank")}:void 0;return v?(null==c?void 0:c.href)?e(Wr,{src:c.href,alt:null!==(a=null!==(i=c.title)&&void 0!==i?i:u)&&void 0!==a?a:"promo-bar-image",width:148,height:40,onClick:C,className:I}):null:t("section",{"aria-labelledby":"Image Card",className:Ze("callout-card relative flex h-full w-full flex-col gap-4 p-0 md:items-start lg:gap-6",y&&"rounded-3xl shadow-card",o,r,b),children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",g),children:e(Wr,{src:c.href,alt:null!==(l=null!==(s=c.title)&&void 0!==s?s:u)&&void 0!==l?l:"card-image",width:c.width||400,height:c.height||285,onClick:C,className:Ze("h-full max-h-[285px] w-full object-cover",I)})}):null,d?e(br,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:d}):null,p?e(br,{as:"div",className:"body2 mb-0 flex-1 text-text",children:p}):null,e("div",{className:Ze(x,"mt-auto"),children:h?e(Or,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...h,iconName:"expand_circle_right",iconFill:1}):null})]})},zr=({card:n,lgWidth:r,mdWidth:o})=>{const{anchorId:i="FullImageCard",title:a,description:s,caption:l,image:c,cta:u,link:d,className:p,contentClassName:h,imageClassName:m,shadow:f=!0}=n,g=u||d,b=null==g?void 0:g.href,v=a?e(br,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:i,className:Ze("callout-card relative flex flex-col rounded-3xl bg-white p-0",f&&"shadow-card",o,r,"w-full",p),"aria-labelledby":`card-title-${i}`,children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",m),children:(()=>{var t,n;if(!(null==c?void 0:c.href))return null;const r=e(Wr,{src:c.href,alt:null!==(n=null!==(t=c.title)&&void 0!==t?t:a)&&void 0!==n?n:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return b?e(Ir,{href:b,tabIndex:-1,target:null==g?void 0:g.target,children:r}):r})()}):null,t("div",{className:Ze("flex h-full flex-col gap-4 p-6 md:p-8",h),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[b&&v?e(Ir,{href:b,target:null==g?void 0:g.target,className:"no-underline hover:underline",children:v}):v,s?e(br,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(br,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),u?e("div",{className:"mt-2 flex items-end",children:e(Or,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},Zr={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Yr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},_r={left:"justify-start",right:"justify-end",center:"justify-center"},Jr=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Ur=({card:n,lgWidth:r,mdWidth:o,className:i,contentClassName:a,style:s})=>{var l,c,u,d,p,h,m,f,g,b,v,y,x,I,C,w,A;const N=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),E="full"===N,S="margin"===N,T="standard"===N,B="icon"===N||"inset"===N||!N&&!!n.image,k=T||B,P=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",L=n.ctaAlignment&&Yr[n.ctaAlignment]||Yr.left,R=n.ctaAlignmentBottom&&_r[n.ctaAlignmentBottom]||_r.left,G=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],O=k&&n.applyCardBackgroundColor,D={...s,...O&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...O&&n.textColor?{"--scc-fg":n.textColor}:{},...O&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...O&&n.showBackgroundImage&&G?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ye(G))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},V=t=>{var r,o;return n.image?e("div",{className:Ze("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(Wr,{src:n.image,alt:null!==(o=null!==(r=n.imageAlt)&&void 0!==r?r:n.title)&&void 0!==o?o:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:Ze("w-full",!t&&"rounded-t-3xl")})}):null},M=O&&n.textColor?{color:n.textColor}:void 0,j=n.title?e(br,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:M,children:n.title}):null,H=(null===(p=n.cta)||void 0===p?void 0:p.href)&&j?e(Ir,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:M,children:j}):j,W=(null!==(m=null===(h=n.workingHours)||void 0===h?void 0:h.length)&&void 0!==m?m:0)>0||(null!==(g=null===(f=n.phoneNumber)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0;return t("section",{className:Ze("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!E&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(v=Zr[null!==(b=n.backgroundColor)&&void 0!==b?b:""])&&void 0!==v?v:""),o,r,i),style:D,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(y=n.ctaBottom)||void 0===y?void 0:y.title)&&(null===(x=n.ctaBottom)||void 0===x?void 0:x.href)?e("div",{className:Ze("top-link m-6 flex items-center lg:m-8",R),children:t(Ir,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(gr,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&E?V(!1):null,n.image&&S?V(!0):null,t("div",{className:Ze("relative flex flex-1 flex-col justify-between px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:Ze("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:Ze(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||E||S?null:(()=>{var t,r;if(!n.image)return null;const o=T&&n.imageWidth||60,i=T&&n.imageHeight||60;return e("div",{className:Ze("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:P},children:e(Wr,{src:n.image,alt:null!==(r=null!==(t=n.imageAlt)&&void 0!==t?t:n.title)&&void 0!==r?r:"card-icon",width:o,height:i,className:Ze("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[H,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(br,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,W?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(I=n.workingHours)||void 0===I?void 0:I.map((n,r)=>{const[o,i]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(br,{className:"label2 text-text",children:o})}),e("td",{className:"py-2 pl-3",children:e(br,{className:"body2 font-bold text-text",children:i})})]},`wh-${r}`)}),null===(C=n.phoneNumber)||void 0===C?void 0:C.map((n,r)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(gr,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(Ir,{href:Jr(n),className:"text-inherit no-underline",children:e(br,{className:"body2 font-bold text-text",children:n})})})]},`ph-${r}`))]})})}):null,n.body?e(br,{as:"div",className:"body1 text-text",style:M,children:n.body}):null,n.richText?e(br,{as:"div",className:"body1 text-text",style:M,children:n.richText}):null]})]})}),n.cta?e("div",{className:Ze("mt-2",L),children:e(Or,{linkVariant:"unstyled",linkClassName:Ze("label1 flex items-center gap-2 text-text",O&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(w=n.cta.iconName)&&void 0!==w?w:"expand_circle_right",iconFill:null!==(A=n.cta.iconFill)&&void 0!==A?A:1})}):null]})]})},$r=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Kr=d({}),Qr=d(null),qr="undefined"!=typeof document,eo=qr?p:u,to=d({strict:!1});function no(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ro(e){return"string"==typeof e||Array.isArray(e)}function oo(e){return"object"==typeof e&&"function"==typeof e.start}const io=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ao=["initial",...io];function so(e){return oo(e.animate)||ao.some(t=>ro(e[t]))}function lo(e){return Boolean(so(e)||e.variants)}function co(e){const{initial:t,animate:n}=function(e,t){if(so(e)){const{initial:t,animate:n}=e;return{initial:!1===t||ro(t)?t:void 0,animate:ro(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(Kr));return a(()=>({initial:t,animate:n}),[uo(t),uo(n)])}function uo(e){return Array.isArray(e)?e.join(" "):e}const po={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"]},ho={};for(const e in po)ho[e]={isEnabled:t=>po[e].some(e=>!!t[e])};const mo=d({}),fo=d({}),go=Symbol.for("motionComponentSymbol");function bo({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)ho[t]={...ho[t],...e[t]}}(e);const s=i(function(i,s){let c;const d={...h($r),...i,layoutId:vo(i)},{isStatic:p}=d,g=co(i),b=o(i,p);if(!p&&qr){g.visualElement=function(e,t,n,r){const{visualElement:o}=h(Kr),i=h(to),a=h(Qr),s=h($r).reducedMotion,c=l();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 d=c.current;return m(()=>{d&&d.update(n,a)}),eo(()=>{d&&d.render()}),u(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?eo:u)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,d,t);const n=h(fo),r=h(to).strict;g.visualElement&&(c=g.visualElement.loadFeatures(d,r,e,n))}return r.createElement(Kr.Provider,{value:g},c&&g.visualElement?r.createElement(c,{visualElement:g.visualElement,...d}):null,n(a,i,function(e,t,n){return f(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):no(n)&&(n.current=r))},[t])}(b,g.visualElement,s),b,p,g.visualElement))});return s[go]=a,s}function vo({layoutId:e}){const t=h(mo).id;return t&&void 0!==e?t+"-"+e:e}function yo(e){function t(t,n={}){return bo(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 xo=["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 Io(e){return"string"==typeof e&&!e.includes("-")&&!!(xo.indexOf(e)>-1||/[A-Z]/.test(e))}const Co={};const wo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ao=new Set(wo);function No(e,{layout:t,layoutId:n}){return Ao.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Co[e]||"opacity"===e)}const Eo=e=>Boolean(e&&e.getVelocity),So={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},To=wo.length;const Bo=e=>t=>"string"==typeof t&&t.startsWith(e),ko=Bo("--"),Po=Bo("var(--"),Lo=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Ro=(e,t,n)=>Math.min(Math.max(n,e),t),Go={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Oo={...Go,transform:e=>Ro(0,1,e)},Do={...Go,default:1},Vo=e=>Math.round(1e5*e)/1e5,Mo=/(-)?([\d]*\.?[\d])+/g,jo=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ho=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Wo(e){return"string"==typeof e}const Xo=e=>({test:t=>Wo(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Fo=Xo("deg"),zo=Xo("%"),Zo=Xo("px"),Yo=Xo("vh"),_o=Xo("vw"),Jo={...zo,parse:e=>zo.parse(e)/100,transform:e=>zo.transform(100*e)},Uo={...Go,transform:Math.round},$o={borderWidth:Zo,borderTopWidth:Zo,borderRightWidth:Zo,borderBottomWidth:Zo,borderLeftWidth:Zo,borderRadius:Zo,radius:Zo,borderTopLeftRadius:Zo,borderTopRightRadius:Zo,borderBottomRightRadius:Zo,borderBottomLeftRadius:Zo,width:Zo,maxWidth:Zo,height:Zo,maxHeight:Zo,size:Zo,top:Zo,right:Zo,bottom:Zo,left:Zo,padding:Zo,paddingTop:Zo,paddingRight:Zo,paddingBottom:Zo,paddingLeft:Zo,margin:Zo,marginTop:Zo,marginRight:Zo,marginBottom:Zo,marginLeft:Zo,rotate:Fo,rotateX:Fo,rotateY:Fo,rotateZ:Fo,scale:Do,scaleX:Do,scaleY:Do,scaleZ:Do,skew:Fo,skewX:Fo,skewY:Fo,distance:Zo,translateX:Zo,translateY:Zo,translateZ:Zo,x:Zo,y:Zo,z:Zo,perspective:Zo,transformPerspective:Zo,opacity:Oo,originX:Jo,originY:Jo,originZ:Zo,zIndex:Uo,fillOpacity:Oo,strokeOpacity:Oo,numOctaves:Uo};function Ko(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(ko(e)){i[e]=n;continue}const r=$o[e],d=Lo(n,r);if(Ao.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<To;t++){const n=wo[t];void 0!==e[n]&&(i+=`${So[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 Qo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function qo(e,t,n){for(const r in t)Eo(t[r])||No(r,n)||(e[r]=t[r])}function ei(e,t,n){const r={};return qo(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return a(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Ko(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function ti(e,t,n){const r={},o=ei(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 ni=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 ri(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||ni.has(e)}let oi=e=>!ri(e);try{(ii=require("@emotion/is-prop-valid").default)&&(oi=e=>e.startsWith("on")?!ri(e):ii(e))}catch(Dr){}var ii;function ai(e,t,n){return"string"==typeof e?e:Zo.transform(t+n*e)}const si={offset:"stroke-dashoffset",array:"stroke-dasharray"},li={offset:"strokeDashoffset",array:"strokeDasharray"};function ci(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Ko(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==o||void 0!==i||m.transform)&&(m.transformOrigin=function(e,t,n){return`${ai(t,e.x,e.width)} ${ai(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?si:li;e[i.offset]=Zo.transform(-r);const a=Zo.transform(t),s=Zo.transform(n);e[i.array]=`${a} ${s}`}(h,a,s,l,!1)}const ui=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),di=e=>"string"==typeof e&&"svg"===e.toLowerCase();function pi(e,t,n,r){const o=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ci(n,t,{enableHardwareAcceleration:!1},di(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};qo(t,e.style,e),o.style={...t,...o.style}}return o}function hi(e=!1){return(t,n,r,{latestValues:o},i)=>{const l=(Io(t)?pi:ti)(n,o,i,t),c=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(oi(o)||!0===n&&ri(o)||!t&&!ri(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),u={...c,...l,ref:r},{children:d}=n,p=a(()=>Eo(d)?d.get():d,[d]);return s(t,{...u,children:p})}}const mi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function fi(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 gi=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 bi(e,t,n,r){fi(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(gi.has(n)?n:mi(n),t.attrs[n])}function vi(e,t){const{style:n}=e,r={};for(const o in n)(Eo(n[o])||t.style&&Eo(t.style[o])||No(o,e))&&(r[o]=n[o]);return r}function yi(e,t){const n=vi(e,t);for(const r in e)if(Eo(e[r])||Eo(t[r])){n[-1!==wo.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function xi(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}function Ii(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const Ci=e=>Array.isArray(e),wi=e=>Ci(e)?e[e.length-1]||0:e;function Ai(e){const t=Eo(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Ni=e=>(t,n)=>{const r=h(Kr),o=h(Qr),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:Ei(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,o);return n?i():Ii(i)};function Ei(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Ai(i[e]);let{initial:a,animate:s}=e;const l=so(e),c=lo(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&&!oo(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=xi(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 Si={useVisualState:Ni({scrapeMotionValuesFromProps:yi,createRenderState:ui,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}}ci(n,r,{enableHardwareAcceleration:!1},di(t.tagName),e.transformTemplate),bi(t,n)}})},Ti={useVisualState:Ni({scrapeMotionValuesFromProps:vi,createRenderState:Qo})};function Bi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ki=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Pi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Li(e,t,n,r){return Bi(e,t,(e=>t=>ki(t)&&e(t,Pi(t)))(n),r)}const Ri=(e,t)=>n=>t(e(n)),Gi=(...e)=>e.reduce(Ri);function Oi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Di=Oi("dragHorizontal"),Vi=Oi("dragVertical");function Mi(e){let t=!1;if("y"===e)t=Vi();else if("x"===e)t=Di();else{const e=Di(),n=Vi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function ji(){const e=Mi(!0);return!e||(e(),!1)}class Hi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Wi={delta:0,timestamp:0,isProcessing:!1};let Xi=!0,Fi=!1;const zi=["read","update","preRender","render","postRender"],Zi=zi.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}(()=>Fi=!0),e),{}),Yi=e=>Zi[e].process(Wi),_i=e=>{Fi=!1,Wi.delta=Xi?1e3/60:Math.max(Math.min(e-Wi.timestamp,40),1),Wi.timestamp=e,Wi.isProcessing=!0,zi.forEach(Yi),Wi.isProcessing=!1,Fi&&(Xi=!1,requestAnimationFrame(_i))},Ji=zi.reduce((e,t)=>{const n=Zi[t];return e[t]=(e,t=!1,r=!1)=>(Fi||(Fi=!0,Xi=!0,Wi.isProcessing||requestAnimationFrame(_i)),n.schedule(e,t,r)),e},{});function Ui(e){zi.forEach(t=>Zi[t].cancel(e))}function $i(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Li(e.current,n,(n,o)=>{if("touch"===n.type||ji())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&Ji.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const Ki=(e,t)=>!!t&&(e===t||Ki(e,t.parentElement)),Qi=e=>e;function qi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Pi(n))}const ea=new WeakMap,ta=new WeakMap,na=e=>{const t=ea.get(e.target);t&&t(e)},ra=e=>{e.forEach(na)};function oa(e,t,n){const r=function({root:e,...t}){const n=e||document;ta.has(n)||ta.set(n,{});const r=ta.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(ra,{root:e,...t})),r[o]}(t);return ea.set(e,n),r.observe(e),()=>{ea.delete(e),r.unobserve(e)}}const ia={some:0,all:1};const aa={inView:{Feature:class extends Hi{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:ia[r]};return oa(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 Hi{constructor(){super(...arguments),this.removeStartListeners=Qi,this.removeEndListeners=Qi,this.removeAccessibleListeners=Qi,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Li(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Ji.update(()=>{Ki(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=Li(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Gi(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Bi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Bi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&qi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Ji.update(()=>n(e,t))})}),qi("down",(e,t)=>{this.startPress(e,t)})}),t=Bi(this.node.current,"blur",()=>{this.isPressing&&qi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Gi(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&&Ji.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ji()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ji.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Li(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Bi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Gi(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Hi{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=Gi(Bi(this.node.current,"focus",()=>this.onFocus()),Bi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Hi{mount(){this.unmount=Gi($i(this.node,!0),$i(this.node,!1))}unmount(){}}}};function sa(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 la(e,t,n){const r=e.getProps();return xi(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 ca="data-"+mi("framerAppearId");let ua=Qi,da=Qi;"production"!==process.env.NODE_ENV&&(ua=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},da=(e,t)=>{if(!e)throw new Error(t)});const pa=e=>1e3*e,ha=e=>e/1e3,ma=!1,fa=e=>Array.isArray(e)&&"number"==typeof e[0];function ga(e){return Boolean(!e||"string"==typeof e&&va[e]||fa(e)||Array.isArray(e)&&e.every(ga))}const ba=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,va={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ba([0,.65,.55,1]),circOut:ba([.55,0,1,.45]),backIn:ba([.31,.01,.66,-.59]),backOut:ba([.33,1.53,.69,.99])};function ya(e){if(e)return fa(e)?ba(e):Array.isArray(e)?e.map(ya):va[e]}const xa={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ia={},Ca={};for(const e in xa)Ca[e]=()=>(void 0===Ia[e]&&(Ia[e]=xa[e]()),Ia[e]);const wa=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Aa(e,t,n,r){if(e===t&&n===r)return Qi;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=wa(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:wa(o(e),t,r)}const Na=Aa(.42,0,1,1),Ea=Aa(0,0,.58,1),Sa=Aa(.42,0,.58,1),Ta=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ba=e=>t=>1-e(1-t),ka=e=>1-Math.sin(Math.acos(e)),Pa=Ba(ka),La=Ta(Pa),Ra=Aa(.33,1.53,.69,.99),Ga=Ba(Ra),Oa=Ta(Ga),Da={linear:Qi,easeIn:Na,easeInOut:Sa,easeOut:Ea,circIn:ka,circInOut:La,circOut:Pa,backIn:Ga,backInOut:Oa,backOut:Ra,anticipate:e=>(e*=2)<1?.5*Ga(e):.5*(2-Math.pow(2,-10*(e-1)))},Va=e=>{if(Array.isArray(e)){da(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Aa(t,n,r,o)}return"string"==typeof e?(da(void 0!==Da[e],`Invalid easing type '${e}'`),Da[e]):e},Ma=(e,t)=>n=>Boolean(Wo(n)&&Ho.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ja=(e,t,n)=>r=>{if(!Wo(r))return r;const[o,i,a,s]=r.match(Mo);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Ha={...Go,transform:e=>Math.round((e=>Ro(0,255,e))(e))},Wa={test:Ma("rgb","red"),parse:ja("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ha.transform(e)+", "+Ha.transform(t)+", "+Ha.transform(n)+", "+Vo(Oo.transform(r))+")"};const Xa={test:Ma("#"),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:Wa.transform},Fa={test:Ma("hsl","hue"),parse:ja("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+zo.transform(Vo(t))+", "+zo.transform(Vo(n))+", "+Vo(Oo.transform(r))+")"},za={test:e=>Wa.test(e)||Xa.test(e)||Fa.test(e),parse:e=>Wa.test(e)?Wa.parse(e):Fa.test(e)?Fa.parse(e):Xa.parse(e),transform:e=>Wo(e)?e:e.hasOwnProperty("red")?Wa.transform(e):Fa.transform(e)},Za=(e,t,n)=>-n*e+n*t+e;function Ya(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 _a=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Ja=[Xa,Wa,Fa];function Ua(e){const t=(n=e,Ja.find(e=>e.test(n)));var n;da(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Fa&&(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=Ya(s,r,e+1/3),i=Ya(s,r,e),a=Ya(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 $a=(e,t)=>{const n=Ua(e),r=Ua(t),o={...n};return e=>(o.red=_a(n.red,r.red,e),o.green=_a(n.green,r.green,e),o.blue=_a(n.blue,r.blue,e),o.alpha=Za(n.alpha,r.alpha,e),Wa.transform(o))};const Ka={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Qi},Qa={regex:jo,countKey:"Colors",token:"${c}",parse:za.parse},qa={regex:Mo,countKey:"Numbers",token:"${n}",parse:Go.parse};function es(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 ts(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&es(n,Ka),es(n,Qa),es(n,qa),n}function ns(e){return ts(e).values}function rs(e){const{values:t,numColors:n,numVars:r,tokenised:o}=ts(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(Ka.token,e[o]):o<r+n?t.replace(Qa.token,za.transform(e[o])):t.replace(qa.token,Vo(e[o]));return t}}const os=e=>"number"==typeof e?0:e;const is={test:function(e){var t,n;return isNaN(e)&&Wo(e)&&((null===(t=e.match(Mo))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(jo))||void 0===n?void 0:n.length)||0)>0},parse:ns,createTransformer:rs,getAnimatableNone:function(e){const t=ns(e);return rs(e)(t.map(os))}},as=(e,t)=>n=>`${n>0?t:e}`;function ss(e,t){return"number"==typeof e?n=>Za(e,t,n):za.test(e)?$a(e,t):e.startsWith("var(")?as(e,t):us(e,t)}const ls=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>ss(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},cs=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=ss(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},us=(e,t)=>{const n=is.createTransformer(t),r=ts(e),o=ts(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Gi(ls(r.values,o.values),n):(ua(!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.`),as(e,t))},ds=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ps=(e,t)=>n=>Za(e,t,n);function hs(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?ps:"string"==typeof i?za.test(i)?$a:us:Array.isArray(i)?ls:"object"==typeof i?cs:ps);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]||Qi:t;i=Gi(e,i)}r.push(i)}return r}function ms(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(da(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=hs(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=ds(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Ro(e[0],e[i-1],t)):l}function fs(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=ds(0,t,r);e.push(Za(n,1,o))}}(t,e.length-1),t}function gs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Va):Va(r),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:fs(t),e),s=ms(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Sa).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function bs(e,t){return t?e*(1e3/t):0}function vs(e,t,n){const r=Math.max(t-5,0);return bs(n-e(r),t-r)}const ys=.001;function xs({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;ua(e<=pa(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Ro(.05,1,a),e=Ro(.01,10,ha(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Cs(t,a),l=Math.exp(-o);return ys-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=Cs(Math.pow(t,2),a);return(-o(t)+ys>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<Is;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=pa(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 Is=12;function Cs(e,t){return e*Math.sqrt(1-t*t)}const ws=["duration","bounce"],As=["stiffness","damping","mass"];function Ns(e,t){return t.some(t=>void 0!==e[t])}function Es({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(!Ns(e,As)&&Ns(e,ws)){const n=xs(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-ha(u):0,m=l/(2*Math.sqrt(s*c)),f=i-o,g=ha(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=Cs(g,m);v=t=>{const n=Math.exp(-m*g*t);return i-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>i-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return i-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let o=h;0!==e&&(o=m<1?vs(v,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 Ss({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},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),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 x,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Es({keyframes:[p.value,h(p.value)],velocity:vs(v,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Ts=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ji.update(t,!0),stop:()=>Ui(t),now:()=>Wi.isProcessing?Wi.timestamp:performance.now()}};function Bs(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 ks={decay:Ss,inertia:Ss,tween:gs,keyframes:gs,spring:Es};function Ps({autoplay:e=!0,delay:t=0,driver:n=Ts,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=ks[o]||gs;let x;y!==gs&&"number"!=typeof r[0]&&(x=ms([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let C;"mirror"===s&&(C=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,E=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=Bs(I));const{calculatedDuration:S}=I;let T=1/0,B=1/0;null!==S&&(T=S+a,B=T*(i+1)-a);let k=0;const P=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),k=null!==A?A:(e-N)*f;const n=k-t,o=n<0;k=Math.max(n,0),"finished"===w&&null===A&&(k=B);let l=k,c=I;if(i){const e=k/T;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/T)):"mirror"===s&&(c=C));let o=Ro(0,1,n);k>B&&(o="reverse"===s&&r?1:0),l=o*T}const u=o?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;o||null===S||(p=k>=B);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&k<=0);return d&&d(u.value),h&&G(),u},L=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",L(),b(),N=E=null},G=()=>{w="finished",u&&u(),L(),b()},O=()=>{if(g)return;v||(v=n(P));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),E=N,A=null,w="running",v.start()};e&&O();const D={then:(e,t)=>m.then(e,t),get time(){return ha(k)},set time(e){e=pa(e),k=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?Bs(I):I.calculatedDuration;return ha(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,D.time=ha(k))},get state(){return w},play:O,pause:()=>{w="paused",A=k},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==E&&P(E),R()},complete:()=>{w="finished"},sample:e=>(N=0,P(e))};return D}const Ls=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Rs(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Ca.waapi()&&Ls.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||!ga(t.ease))(t,o)){const e=Ps({...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 h=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=ya(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}),m=()=>h.cancel(),f=()=>{Ji.update(m),i(),l()};return h.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(),f()},{then:(e,t)=>a.then(e,t),get time(){return ha(h.currentTime||0)},set time(e){h.currentTime=pa(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return ha(u)},play:()=>{s||(h.play(),Ui(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Ps({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const Gs={type:"spring",stiffness:500,damping:25,restSpeed:10},Os={type:"keyframes",duration:.8},Ds={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Vs=(e,{keyframes:t})=>t.length>2?Os:Ao.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Gs:Ds,Ms=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!is.test(t)&&"0"!==t||t.startsWith("url("))),js=new Set(["brightness","contrast","saturate","opacity"]);function Hs(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Mo)||[];if(!r)return e;const o=n.replace(r,"");let i=js.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Ws=/([a-z-]*)\(.*?\)/g,Xs={...is,getAnimatableNone:e=>{const t=e.match(Ws);return t?t.map(Hs).join(" "):e}},Fs={...$o,color:za,backgroundColor:za,outlineColor:za,fill:za,stroke:za,borderColor:za,borderTopColor:za,borderRightColor:za,borderBottomColor:za,borderLeftColor:za,filter:Xs,WebkitFilter:Xs},zs=e=>Fs[e];function Zs(e,t){let n=zs(e);return n!==Xs&&(n=is),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ys=e=>/^0[^.\s]+$/.test(e);function _s(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Ys(e):void 0}function Js(e,t){return e[t]||e.default||e}const Us=(e,t,n,r={})=>o=>{const i=Js(r,e)||{},a=i.delay||r.delay||0;let{elapsed:s=0}=r;s-=pa(a);const l=function(e,t,n,r){const o=Ms(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]),_s(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]]=Zs(t,s);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Ms(e,c),p=Ms(e,u);ua(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 h={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)||(h={...h,...Vs(e,h)}),h.duration&&(h.duration=pa(h.duration)),h.repeatDelay&&(h.repeatDelay=pa(h.repeatDelay)),!d||!p||ma||!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:Qi,pause:Qi,stop:Qi,then:e=>(e(),Promise.resolve()),cancel:Qi,complete:Qi});return t?Ps({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Rs(t,e,h);if(n)return n}return Ps(h)};function $s(e){return Boolean(Eo(e)&&e.add)}const Ks=e=>/^\-?\d*\.?\d+$/.test(e);function Qs(e,t){-1===e.indexOf(t)&&e.push(t)}function qs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class el{constructor(){this.subscriptions=[]}add(e){return Qs(this.subscriptions,e),()=>qs(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 tl=new Set;function nl(e,t,n){e||tl.has(t)||(console.warn(t),tl.add(t))}class rl{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}=Wi;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Ji.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=()=>Ji.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&&nl(!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 el);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ji.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?bs(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 ol(e,t){return new rl(e,t)}const il=e=>t=>t.test(e),al=[Go,Zo,zo,Fo,_o,Yo,{test:e=>"auto"===e,parse:e=>e}],sl=e=>al.find(il(e)),ll=[...al,za,is],cl=e=>ll.find(il(e));function ul(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ol(n))}function dl(e,t){if(!t)return;return(t[e]||t.default||t).from}function pl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function hl(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&&pl(u,t))continue;const a={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[ca];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,Ji))}r.start(Us(t,r,o,e.shouldReduceMotion&&Ao.has(t)?{type:!1}:a));const d=r.animation;$s(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=la(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)ul(e,t,wi(i[t]))}(e,a)}),c}function ml(e,t,n={}){const r=la(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(hl(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(fl).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(ml(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 fl(e,t){return e.sortNodePosition(t)}const gl=[...io].reverse(),bl=io.length;function vl(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=>ml(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=ml(e,t,n);else{const o="function"==typeof t?la(e,t,n.custom):t;r=Promise.all(hl(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function yl(e){let t=vl(e);const n={animate:Il(!0),whileInView:Il(),whileHover:Il(),whileTap:Il(),whileDrag:Il(),whileFocus:Il(),exit:Il()};let r=!0;const o=(t,n)=>{const r=la(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<bl;t++){const h=gl[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=ro(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||oo(f)||"boolean"==typeof f)continue;const y=xl(m.prevProp,f);let x=y||h===a&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Ci(t)&&Ci(n)?!sa(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...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 h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?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 xl(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!sa(t,e)}function Il(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Cl=0;const wl={animation:{Feature:class extends Hi{constructor(e){super(e),e.animationState||(e.animationState=yl(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),oo(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 Hi{constructor(){super(...arguments),this.id=Cl++}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(){}}}},Al=(e,t)=>Math.abs(e-t);class Nl{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=Tl(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Al(e.x,t.x),r=Al(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}=Wi;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=El(t,this.transformPagePoint),Ji.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=Tl("pointercancel"===e.type?this.lastMoveEventInfo:El(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!ki(e))return;this.handlers=t,this.transformPagePoint=n;const r=El(Pi(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=Wi;this.history=[{...o,timestamp:i}];const{onSessionStart:a}=t;a&&a(e,Tl(r,this.history)),this.removeListeners=Gi(Li(window,"pointermove",this.handlePointerMove),Li(window,"pointerup",this.handlePointerUp),Li(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ui(this.updatePoint)}}function El(e,t){return t?{point:t(e.point)}:e}function Sl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Tl({point:e},t){return{point:e,delta:Sl(e,kl(t)),offset:Sl(e,Bl(t)),velocity:Pl(t,.1)}}function Bl(e){return e[0]}function kl(e){return e[e.length-1]}function Pl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=kl(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>pa(t)));)n--;if(!r)return{x:0,y:0};const i=ha(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 Ll(e){return e.max-e.min}function Rl(e,t=0,n=.01){return Math.abs(e-t)<=n}function Gl(e,t,n,r=.5){e.origin=r,e.originPoint=Za(t.min,t.max,e.origin),e.scale=Ll(n)/Ll(t),(Rl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Za(n.min,n.max,e.origin)-e.originPoint,(Rl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ol(e,t,n,r){Gl(e.x,t.x,n.x,r?r.originX:void 0),Gl(e.y,t.y,n.y,r?r.originY:void 0)}function Dl(e,t,n){e.min=n.min+t.min,e.max=e.min+Ll(t)}function Vl(e,t,n){e.min=t.min-n.min,e.max=e.min+Ll(t)}function Ml(e,t,n){Vl(e.x,t.x,n.x),Vl(e.y,t.y,n.y)}function jl(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 Hl(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 Wl=.35;function Xl(e,t,n){return{min:Fl(e,t),max:Fl(e,n)}}function Fl(e,t){return"number"==typeof e?e:e[t]||0}const zl=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Zl(e){return[e("x"),e("y")]}function Yl({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _l(e){return void 0===e||1===e}function Jl({scale:e,scaleX:t,scaleY:n}){return!_l(e)||!_l(t)||!_l(n)}function Ul(e){return Jl(e)||$l(e)||e.z||e.rotate||e.rotateX||e.rotateY}function $l(e){return Kl(e.x)||Kl(e.y)}function Kl(e){return e&&"0%"!==e}function Ql(e,t,n){return n+t*(e-n)}function ql(e,t,n,r,o){return void 0!==o&&(e=Ql(e,o,r)),Ql(e,n,r)+t}function ec(e,t=0,n=1,r,o){e.min=ql(e.min,t,n,r,o),e.max=ql(e.max,t,n,r,o)}function tc(e,{x:t,y:n}){ec(e.x,t.translate,t.scale,t.originPoint),ec(e.y,n.translate,n.scale,n.originPoint)}function nc(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function rc(e,t){e.min=e.min+t,e.max=e.max+t}function oc(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,a=Za(e.min,e.max,i);ec(e,t[n],t[r],a,t.scale)}const ic=["x","scaleX","originX"],ac=["y","scaleY","originY"];function sc(e,t){oc(e.x,t,ic),oc(e.y,t,ac)}function lc(e,t){return Yl(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 cc=new WeakMap;class uc{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 Nl(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Pi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Mi(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),Zl(e=>{let t=this.getAxisMotionValue(e).get()||0;if(zo.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Ll(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Ji.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&&Ji.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||!dc(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?Za(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Za(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&&no(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:jl(e.x,n,o),y:jl(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Wl){return!1===e?e=0:!0===e&&(e=Wl),{x:Xl(e,"left","right"),y:Xl(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Zl(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||!no(e))return!1;const n=e.current;da(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=lc(e,n),{scroll:o}=t;return o&&(rc(r.x,o.offset.x),rc(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Hl(e.x,t.x),y:Hl(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=Yl(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Zl(a=>{if(!dc(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(Us(e,n,0,t))}stopAnimation(){Zl(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){Zl(t=>{const{drag:n}=this.getProps();if(!dc(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]-Za(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!no(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Zl(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Ll(e),o=Ll(t);return o>r?n=ds(t.min,t.max-r,e.min):r>o&&(n=ds(e.min,e.max-o,t.min)),Ro(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(),Zl(t=>{if(!dc(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(Za(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;cc.set(this.visualElement,this);const e=Li(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();no(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=Bi(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Zl(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=Wl,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function dc(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const pc=e=>(t,n)=>{e&&Ji.update(()=>e(t,n))};const hc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function mc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fc={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Zo.test(e))return e;e=parseFloat(e)}return`${mc(e,t.target.x)}% ${mc(e,t.target.y)}%`}},gc={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=is.parse(e);if(o.length>5)return r;const i=is.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=Za(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 bc extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=yc,Object.assign(Co,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()})),hc.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()||Ji.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 vc(e){const[t,n]=function(){const e=h(Qr);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=g();return u(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=h(mo);return o.createElement(bc,{...e,layoutGroup:r,switchLayoutGroup:h(fo),isPresent:t,safeToRemove:n})}const yc={borderRadius:{...fc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fc,borderTopRightRadius:fc,borderBottomLeftRadius:fc,borderBottomRightRadius:fc,boxShadow:gc},xc=["TopLeft","TopRight","BottomLeft","BottomRight"],Ic=xc.length,Cc=e=>"string"==typeof e?parseFloat(e):e,wc=e=>"number"==typeof e||Zo.test(e);function Ac(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Nc=Sc(0,.5,Pa),Ec=Sc(.5,.95,Qi);function Sc(e,t,n){return r=>r<e?0:r>t?1:n(ds(e,t,r))}function Tc(e,t){e.min=t.min,e.max=t.max}function Bc(e,t){Tc(e.x,t.x),Tc(e.y,t.y)}function kc(e,t,n,r,o){return e=Ql(e-=t,1/n,r),void 0!==o&&(e=Ql(e,1/o,r)),e}function Pc(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){zo.test(t)&&(t=parseFloat(t),t=Za(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Za(i.min,i.max,r);e===i&&(s-=t),e.min=kc(e.min,t,n,s,o),e.max=kc(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Lc=["x","scaleX","originX"],Rc=["y","scaleY","originY"];function Gc(e,t,n,r){Pc(e.x,t,Lc,n?n.x:void 0,r?r.x:void 0),Pc(e.y,t,Rc,n?n.y:void 0,r?r.y:void 0)}function Oc(e){return 0===e.translate&&1===e.scale}function Dc(e){return Oc(e.x)&&Oc(e.y)}function Vc(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 Mc(e){return Ll(e.x)/Ll(e.y)}class jc{constructor(){this.members=[]}add(e){Qs(this.members,e),e.scheduleRender()}remove(e){if(qs(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 Hc(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 Wc=(e,t)=>e.depth-t.depth;class Xc{constructor(){this.children=[],this.isDirty=!1}add(e){Qs(this.children,e),this.isDirty=!0}remove(e){qs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Wc),this.isDirty=!1,this.children.forEach(e)}}const Fc=["","X","Y","Z"];let zc=0;const Zc={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Yc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=zc++,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;Zc.totalNodes=Zc.resolvedTargetDeltas=Zc.recalculatedProjection=0,this.nodes.forEach(Uc),this.nodes.forEach(nu),this.nodes.forEach(ru),this.nodes.forEach($c),e=Zc,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 Xc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new el),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&&(Ui(r),e(i-t))};return Ji.read(r,!0),()=>Ui(r)}(r,250),hc.hasAnimatedSinceResize&&(hc.hasAnimatedSinceResize=!1,this.nodes.forEach(tu))})}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()||cu,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Vc(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={...Js(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||tu(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,Ui(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(ou),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(Qc);this.isUpdating||this.nodes.forEach(qc),this.isUpdating=!1,this.nodes.forEach(eu),this.nodes.forEach(_c),this.nodes.forEach(Jc),this.clearAllSnapshots();const e=performance.now();Wi.delta=Ro(0,1e3/60,e-Wi.timestamp),Wi.timestamp=e,Wi.isProcessing=!0,Zi.update.process(Wi),Zi.preRender.process(Wi),Zi.render.process(Wi),Wi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Kc),this.sharedNodes.forEach(iu)}scheduleUpdateProjection(){Ji.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ji.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&&!Dc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||Ul(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)),uu((r=n).x),uu(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&&(rc(t.x,n.offset.x),rc(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Bc(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){Bc(t,e);const{scroll:n}=this.root;n&&(rc(t.x,-n.offset.x),rc(t.y,-n.offset.y))}rc(t.x,o.offset.x),rc(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Bc(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&&sc(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Ul(r.latestValues)&&sc(n,r.latestValues)}return Ul(this.latestValues)&&sc(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Bc(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Ul(n.latestValues))continue;Jl(n.latestValues)&&n.updateSnapshot();const r=zl();Bc(r,n.measurePageBox()),Gc(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Ul(this.latestValues)&&Gc(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!==Wi.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=Wi.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}},Ml(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Bc(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,Dl(a.x,s.x,l.x),Dl(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Bc(this.target,this.layout.layoutBox),tc(this.target,this.targetDelta)):Bc(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}},Ml(this.relativeTargetOrigin,this.target,e.target),Bc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Zc.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Jl(this.parent.latestValues)&&!$l(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===Wi.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;Bc(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&&sc(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,tc(e,a)),r&&Ul(i.latestValues)&&sc(e,i.latestValues))}t.x=nc(t.x),t.y=nc(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;Ol(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Hc(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Zc.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(lu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;au(i.x,e.x,n),au(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ml(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){su(e.x,t.x,n.x,r),su(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Vc(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Bc(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=Za(0,void 0!==n.opacity?n.opacity:1,Nc(r)),e.opacityExit=Za(void 0!==t.opacity?t.opacity:1,0,Ec(r))):i&&(e.opacity=Za(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Ic;o++){const i=`border${xc[o]}Radius`;let a=Ac(t,i),s=Ac(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||wc(a)===wc(s)?(e[i]=Math.max(Za(Cc(a),Cc(s),r),0),(zo.test(s)||zo.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=Za(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&&(Ui(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ji.update(()=>{hc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Eo(e)?e:ol(e);return r.start(Us("",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&&du(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ll(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Ll(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Bc(t,n),sc(t,o),Ol(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new jc);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<Fc.length;t++){const o="rotate"+Fc[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=Ai(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=Ai(e.pointerEvents)||""),this.hasProjected&&!Ul(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=Hc(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 Co){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Co[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?Ai(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(Qc),this.root.sharedNodes.clear()}}}function _c(e){e.updateLayout()}function Jc(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?Zl(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=Ll(r);r.min=t[e].min,r.max=r.min+o}):du(o,n.layoutBox,t)&&Zl(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=Ll(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}};Ol(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?Ol(s,e.applyTransform(r,!0),n.measuredBox):Ol(s,t,n.layoutBox);const l=!Dc(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}};Ml(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Ml(s,t,i.layoutBox),Vc(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 Uc(e){Zc.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 $c(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Kc(e){e.clearSnapshot()}function Qc(e){e.clearMeasurements()}function qc(e){e.isLayoutDirty=!1}function eu(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function tu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nu(e){e.resolveTargetDelta()}function ru(e){e.calcProjection()}function ou(e){e.resetRotation()}function iu(e){e.removeLeadSnapshot()}function au(e,t,n){e.translate=Za(t.translate,0,n),e.scale=Za(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function su(e,t,n,r){e.min=Za(t.min,n.min,r),e.max=Za(t.max,n.max,r)}function lu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const cu={duration:.45,ease:[.4,0,.1,1]};function uu(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function du(e,t,n){return"position"===e||"preserve-aspect"===e&&!Rl(Mc(t),Mc(n),.2)}const pu=Yc({attachResizeListener:(e,t)=>Bi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),hu={current:void 0},mu=Yc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!hu.current){const e=new pu({});e.mount(window),e.setOptions({layoutScroll:!0}),hu.current=e}return hu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),fu={pan:{Feature:class extends Hi{constructor(){super(...arguments),this.removePointerDownListener=Qi}onPointerDown(e){this.session=new Nl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:pc(e),onStart:pc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ji.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Li(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 Hi{constructor(e){super(e),this.removeGroupControls=Qi,this.removeListeners=Qi,this.controls=new uc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qi}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:mu,MeasureLayout:vc}},gu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function bu(e,t,n=1){da(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=gu.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():Po(o)?bu(o,t,n+1):o}const vu=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),yu=e=>vu.has(e),xu=e=>e===Go||e===Zo,Iu=(e,t)=>parseFloat(e.split(", ")[t]),Cu=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Iu(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Iu(t[1],e):0}},wu=new Set(["x","y","z"]),Au=wo.filter(e=>!wu.has(e));const Nu={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:Cu(4,13),y:Cu(5,14)},Eu=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(yu);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=sl(c);const d=t[o];let p;if(Ci(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=sl(c);for(let n=t;n<e&&null!==d[n];n++)p?da(sl(d[n])===p,"All keyframes must be of the same type"):(p=sl(d[n]),da(p===u||xu(u)&&xu(p),"Keyframes must be of the same dimension as the current value"))}else p=sl(d);if(u!==p)if(xu(u)&&xu(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===Zo&&(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 Au.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]=Nu[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]=Nu[n](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),qr&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function Su(e,t,n,r){return(e=>Object.keys(e).some(yu))(t)?Eu(e,t,n,r):{target:t,transitionEnd:r}}const Tu=(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(!Po(t))return;const n=bu(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!Po(o))continue;const i=bu(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return Su(e,t=o.target,n,r=o.transitionEnd)},Bu={current:null},ku={current:!1};function Pu(){if(ku.current=!0,qr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Bu.current=e.matches;e.addListener(t),t()}else Bu.current=!1}const Lu=new WeakMap,Ru=Object.keys(ho),Gu=Ru.length,Ou=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Du=ao.length;class Vu{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=()=>Ji.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=so(t),this.isVariantNode=lo(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]&&Eo(t)&&(t.set(a[e],!1),$s(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Lu.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)),ku.current||Pu(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Bu.current),"production"!==process.env.NODE_ENV&&nl(!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(){Lu.delete(this.current),this.projection&&this.projection.unmount(),Ui(this.notifyUpdate),Ui(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=Ao.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ji.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?ua(!1,e):da(!1,e)}for(let e=0;e<Gu;e++){const n=Ru[e],{isEnabled:r,Feature:o,ProjectionNode:s,MeasureLayout:l}=ho[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&&no(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<Ou.length;t++){const n=Ou[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(Eo(i))e.addValue(o,i),$s(r)&&r.add(o),"development"===process.env.NODE_ENV&&nl("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Eo(a))e.addValue(o,ol(i,{owner:e})),$s(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,ol(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<Du;e++){const n=ao[e],r=this.props[n];(ro(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=ol(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=xi(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||Eo(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 el),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Mu extends Vu{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=dl(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&&(Ks(c)||Ys(c))?c=parseFloat(c):!cl(c)&&is.test(l)&&(c=Zs(a,l)),e.addValue(a,ol(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,i);const e=Tu(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class ju extends Mu{readValueFromInstance(e,t){if(Ao.has(t)){const e=zs(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(ko(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return lc(e,t)}build(e,t,n,r){Ko(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return vi(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Eo(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){fi(e,t,n,r)}}class Hu extends Mu{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ao.has(t)){const e=zs(t);return e&&e.default||0}return t=gi.has(t)?t:mi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return yi(e,t)}build(e,t,n,r){ci(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){bi(e,t,0,r)}mount(e){this.isSVGTag=di(e.tagName),super.mount(e)}}const Wu=(e,t)=>Io(e)?new Hu(t,{enableHardwareAcceleration:!1}):new ju(t,{enableHardwareAcceleration:!0}),Xu={...wl,...aa,...fu,...{layout:{ProjectionNode:mu,MeasureLayout:vc}}},Fu=yo((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Io(e)?Si:Ti,preloadedFeatures:n,useRender:hi(t),createVisualElement:r,Component:e}}(e,t,Xu,Wu));function zu(){const e=l(!1);return eo(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Zu extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Yu({children:e,isPresent:t}){const n=g(),o=l(null),i=l({width:0,height:0,top:0,left:0});return m(()=>{const{width:e,height:r,top:a,left:s}=i.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(Zu,{isPresent:t,childRef:o,sizeRef:i},r.cloneElement(e,{ref:o}))}const _u=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:s,mode:l})=>{const c=Ii(Ju),u=g(),d=a(()=>({id:u,initial:t,isPresent:n,custom:i,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;o&&o()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return a(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&o&&o()},[n]),"popLayout"===l&&(e=r.createElement(Yu,{isPresent:n},e)),r.createElement(Qr.Provider,{value:d},e)};function Ju(){return new Map}const Uu=e=>e.key||"";const $u=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{da(!i,"Replace exitBeforeEnter with mode='wait'");const d=h(mo).forceRender||function(){const e=zu(),[t,n]=c(0),r=f(()=>{e.current&&n(t+1)},[t]);return[f(()=>Ji.postRender(r),[r]),t]}()[0],p=zu(),m=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let g=m;const x=l(new Map).current,I=l(g),C=l(new Map).current,w=l(!0);var A;if(eo(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=Uu(e);t.set(n,e)})}(m,C),I.current=g}),A=()=>{w.current=!0,C.clear(),x.clear()},u(()=>()=>A(),[]),w.current)return r.createElement(r.Fragment,null,g.map(e=>r.createElement(_u,{key:Uu(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:a,mode:s},e)));g=[...g];const N=I.current.map(Uu),E=m.map(Uu),S=N.length;for(let e=0;e<S;e++){const t=N[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===s&&x.size&&(g=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const i=C.get(n);if(!i)return;const l=N.indexOf(n);let c=e;if(!c){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=m,!1===p.current)return;d(),o&&o()}};c=r.createElement(_u,{key:Uu(i),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s},i),x.set(n,c)}g.splice(l,0,c)}),g=g.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(_u,{key:Uu(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&g.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?g:g.map(e=>b(e)))};function Ku(){!ku.current&&Pu();const[e]=c(Bu.current);return"production"!==process.env.NODE_ENV&&nl(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const Qu={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 qu({children:t,animationType:n,disableAnimation:r=!0,whileHover:i,whileTap:a,transition:s,...l}){const c=Ku(),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=Qu[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,h=(null==d?void 0:d.whileTap)||a?{...null==d?void 0:d.whileTap,...a}:void 0,m=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=Fu[u.type];return e(t,{...u.props,whileHover:p,whileTap:h,transition:m,...l})}return e(Fu.div,{whileHover:p,whileTap:h,transition:m,...l,children:u})}qu.displayName="AnimationWrapper";const ed={cream500:"bg-[#FFFEEF]",gray100:"bg-fill-secondary",white:"bg-white",transparent:"",blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",yellow:"bg-[#F5FF1E]"},td={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},nd={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},rd=e=>Math.max(1,Math.min(6,e)),od=({anchorId:n,title:r,items:o,enableHeading:i=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:p,cardType:h="simple",backgroundColor:m,background:f,textColor:g,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:I=!0,noGutter:C=!1,disableAnimation:w=!1,animationType:A="scale"})=>{var N,E,S;const T=null!==(N=null==o?void 0:o.length)&&void 0!==N?N:0,B=rd(null!=p?p:(k=T)<=4?k||1:k%3==0?3:k%4==0||k>6?4:3);var k;const P=rd(Math.min(B,T||B)),L=!1===I,R=L?Ze("flex flex-col items-stretch self-stretch",C?"gap-0":"gap-6"):Ze("flex flex-wrap items-stretch justify-center self-stretch",C?"gap-0":"gap-6",C?"md:gap-0":"md:gap-6"),G=L?"":Ze("w-full",td[rd(x?1:Math.min(2,B))],nd[P]),O=(t,n)=>{var r,o,i,a;const s=null!==(r=t.cardType)&&void 0!==r?r:h,l=L?{lgWidth:void 0,mdWidth:void 0}:{};switch(s){case"blog":{const r=t;return e(Mr,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,asGrid:!1,...l},n)}case"fullImage":return e(zr,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:y},...l},n);case"floatingImage":return e(Fr,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:y},...l},n);default:return e(Ur,{card:{...t,shadow:null!==(a=t.shadow)&&void 0!==a?a:y},...l},n)}},D=f?{background:f}:void 0,V=g?{color:g}:void 0,M=f?"":m&&null!==(E=ed[m])&&void 0!==E?E:"";return e("section",{id:n,className:Ze("component-container",M,b),style:D,children:e("div",{className:Ze(C?"p-0":"mx-5 my-12 md:my-20",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:V,children:[r&&e(br,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:r}),a&&e(br,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:a}),s&&e(br,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:Ze("card-holder",R),children:o.map((t,n)=>L?e(qu,{animationType:A,disableAnimation:w,children:O(t,n)},`callout-card-${n}`):e("div",{className:Ze("callout-card",G),children:e(qu,{animationType:A,disableAnimation:w,children:O(t,n)})},`callout-card-${n}`))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(Or,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(S=c.label)&&void 0!==S?S:c.buttonLabel}):null,l?e(br,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},id=({fields:t})=>e("div",{children:e(br,{children:"Cards"})}),ad=i(({as:t,className:n="",...r},o)=>{const i=Ze(n);if(t){return e(t,{ref:o,className:i,...r})}return e("img",{ref:o,className:i,...r})});ad.displayName="Image";const sd=({onSelect:r,speed:o,isSelected:i=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[h,m]=c(!1),f=`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:h,setModalOpen:()=>{m(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(Tr,{onClick:()=>{m(!0),r()},className:Ze(f,"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(gr,{className:Ze(l,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},ld=({planName:r,planSubtext:o,speed:i,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=c(!1),N=void 0!==g?g:w,E="dark"===h;return t("article",{className:Ze("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(br,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(br,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o})]}),t("div",{className:"flex items-start",children:[e(br,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e(br,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(br,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(br,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(ad,{src:n.icon,alt:n.title,width:24,height:24}),e(br,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(sd,{onSelect:v,speed:i,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(Tr,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e(br,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(gr,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(vr,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(ad,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(br,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},cd=({title:n,quote:r,rating:o,author:i,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:R("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(br,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),o?e("div",{className:"flex","aria-label":`Rating: ${o} out of 5`,children:[...Array(5)].map((t,n)=>e(gr,{size:24,name:"star",fill:1,className:R("h-[21px] w-[21px]",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),i&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(N,{src:s,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:i}),e(br,{as:"p",className:"body3 text-text",children:a})]})]})]});function ud({fields:r,renderCheckPlans:o,isVisible:i=!0}){var a,s,d,p;const h=(null===(d=null===(s=null===(a=null==r?void 0:r.items)||void 0===a?void 0:a.items)||void 0===s?void 0:s[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[m,g]=c(h),[b,v]=c({}),[y,x]=c(0),I=(null===(p=null==r?void 0:r.items)||void 0===p?void 0:p.items)||[],C=I.length>2,w=!1!==(null==r?void 0:r.showArrows)&&C,A=l([]),N=f(()=>{C&&x(e=>(e-1+I.length)%I.length)},[C,I.length]),E=f(()=>{C&&x(e=>(e+1)%I.length)},[C,I.length]);if(u(()=>{if(!C||!i)return;const e=()=>{const e=A.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[C,i,m,I.length]),!I.length&&!(null==r?void 0:r.title))return null;const S=(t,n,r=!1)=>{var i,a,s,l,c,u,d,p;const h=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),f=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],w=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},S=r?b[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!A.current.includes(e)&&(A.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(ld,{planName:f,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:w,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:S,onToggleExpand:()=>{r?v(e=>({...e,[n]:!e[n]})):g(!m)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},T=[...I,...I,...I,...I,...I],B=2*I.length;return C?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:I.map((e,t)=>S(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[w&&t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(Tr,{onClick:N,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(Tr,{onClick:E,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${B+y} * (392px + 12px)))`},children:T.map((e,t)=>S(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:I.map((e,t)=>S(e,t))})}function dd({fields:t,renderCheckPlans:r,activeTab:o,tabs:i}){var a;const s=(null===(a=null==t?void 0:t.items)||void 0===a?void 0:a.items)||[];return i&&i.length>1&&o?e(n,{children:i.map(n=>{const a=s.filter(e=>(e.productCategory||i[0])===n),l={...t,items:{...t.items,items:a}};return e("div",{style:{display:n===o?"block":"none"},"aria-hidden":n!==o,children:e(ud,{fields:l,renderCheckPlans:r,isVisible:n===o})},n)})}):e(ud,{fields:t,renderCheckPlans:r})}const pd=o.memo(({item:t,index:n,currentIndex:r,totalItems:o,swipeOffset:i,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),h=u*c+i/l*100,m=!s||(a?d||p:d);return e("div",{className:Ze("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e(cd,{...t,isActive:d,className:"h-full"})})});pd.displayName="TestimonialCarouselSlide";const hd=({fields:n,autoScroll:r=!0,autoScrollInterval:o=8e3})=>{var i;const a=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:o=768,autoScrollInterval:i=8e3,enableAutoScroll:a=!0}=e,[s,d]=c(0),[p,h]=c(0),[m,g]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),I=l(null),C=l(0),w=l(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:i};u(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=f(()=>{0!==t&&d(e=>(e+1)%t)},[t]),E=f(()=>{0!==t&&d(e=>0===e?t-1:e-1)},[t]),S=f(e=>{e<0||e>=t||d(e)},[t]),T=f(e=>{C.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),B=f(e=>{if(!m)return;const t=e.touches[0].clientX-C.current;h(t)},[m]),k=f(()=>{g(!1);const e=b*r;p>e?E():p<-e&&N(),h(0),a&&i>0&&(I.current=setInterval(()=>{N()},i))},[p,b,r,E,N,a,i]);return u(()=>{const e=()=>{x(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),u(()=>{if(a&&0!==t&&0!==i)return I.current=setInterval(()=>{N()},i),()=>{I.current&&clearInterval(I.current)}},[N,t,a,i]),{currentIndex:s,swipeOffset:p,isSwiping:m,isMobile:y,containerWidth:b,containerRef:w,nextSlide:N,prevSlide:E,goToSlide:S,handleTouchStart:T,handleTouchMove:B,handleTouchEnd:k,constants:A}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(Tr,{onClick:s.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(Tr,{onClick:s.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(pd,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:Ze("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},md=({tabs:n,activeTab:r,onChange:o,className:i})=>{const a=n.indexOf(r),s=l([]),[d,p]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>o(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},fd=({fields:n,hasTestimonialCards:r,hasProductCards:o,disclaimerText:i,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${o?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(br,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(br,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),h&&o&&t("div",{className:"flex flex-col gap-8",children:[h&&o&&c.length>1&&e(md,{tabs:c,activeTab:s,onChange:l}),o&&e(dd,{onModalButtonClick:u,renderCheckPlans:d,fields:n,activeTab:s,tabs:c})]}),r&&e(hd,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),i&&e(br,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:i})]}),gd=({title:n,subtitle:r,description:o,disclaimer:i,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Wr,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(br,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(br,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),o&&e(br,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(Or,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e("div",{children:e(br,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),bd=({body:n,links:r,bottomLinks:i,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(Pr,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var i,a;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(br,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(Pr,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(Pr,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==i?void 0:i.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(Or,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},vd=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(gr,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),yd=t=>{const{link:n,containerClassName:r,autoplay:o=!1,debug:i=!1}=t,{href:s,embedId:l}=a(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),o=r[r.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[n]);if(i&&console.log("[VimeoEmbed] href:",s,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],o=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const xd=t=>{const{link:n,containerClassName:r,autoplay:o=!1}=t,i=a(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=o?"?autoplay=1":"";return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${i}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Id=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,E]=c(""),[S,T]=c(!1),B=null!==(w=null==g?void 0:g.link)&&void 0!==w?w:"",k=null==g?void 0:g.image,P=null!==(A=null==g?void 0:g.videoPopup)&&void 0!==A&&A,L=Boolean(N&&N===B),R=g&&k?B.includes("vimeo")?e(yd,{link:B,autoplay:L}):e(xd,{link:B,autoplay:L}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(br,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(br,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e(br,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e(br,{as:"div",className:"body1",children:l}),h.length>0&&e(vr,{items:h,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Ir,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(ad,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(Or,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(Or,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Wr,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ze("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!L&&"hover:shadow-2xl"),onClick:()=>{var e;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[t("div",{className:Ze(L&&!P&&"hidden",L&&!P?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(Wr,{src:g.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(vd,{isHovered:S})})]}),!P&&L&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",L?"opacity-100":"opacity-0"),children:R})]})]})]})}),P&&L&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),E("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},Cd=({link:n,anchorName:r,linkColorClassName:i})=>{const[a,s]=o.useState(!1),l=o.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(l,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Or,{...n,linkClassName:Ze("body3 flex items-center h-full",i||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:d,items:p}=n,h=Array.isArray(null==p?void 0:p.items)?p.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:l,children:[t(Or,{onClick:()=>s(e=>!e),"aria-expanded":a,buttonClassName:Ze("group body3 flex h-full items-center",i||"text-text"),showButtonAs:"unstyled",children:[e(br,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(gr,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:a?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",a&&h.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&s(!1)},children:h.map((t,n)=>e("li",{className:"submenu-link",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},wd=({link:r})=>{const[i,a]=o.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(Or,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Or,{onClick:()=>a(e=>!e),"aria-expanded":i,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(gr,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),i&&u.length>0&&e(Ad,{items:u})]})},Ad=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),Nd=n=>{const{showBlinkDot:r=!1,buttonStyle:o="primary",size:i="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(Ir,{...u,className:Ze("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:Ze("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(gr,{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:Ze("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]})};Nd.displayName="CallButton";const Ed=i((n,r)=>{const{className:o,size:i,required:a,placeholder:s,label:l,state:u,errorText:d,prefixIconName:p,prefixIconFill:h=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":u,[E,S]=c(!1),[T,B]=c(!1),[k,P]=c(w||"text"),L=f(e=>{e.stopPropagation(),P(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t(br,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("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,(E||"hover"===N)&&!T&&"error"!==N&&"border-input-border-hover",(T||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(gr,{name:p,fill:h?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:I||A.disabled,className:Ze("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:s,type:k,...A,onMouseOver:()=>S(!0),onMouseOut:()=>S(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),B(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),B(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:L,children:e(gr,{name:"text"===k?"visibility":"visibility_off",size:v,fill:m?1:0})}):null]}),"error"===N&&d&&""!=d?t(br,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(gr,{name:"info",size:20,className:"mr-1"}),d||"Error"]}):null]})});Ed.displayName="Input";const Sd=r=>{var o,i,a;const{primaryNavigationLinks:s,utilityNavigationLinks:l,checkPlansJSX:c,primaryNavigationLogo:u,accountNavigationLinks:d,supportNavigationLinks:p,searchBarIcon:h,invocaPhoneNumberLink:m,invocaPhoneNumberDisplayText:f,callNowCtaText:g,displayCartIcon:b,cartHref:v,cartHasRetention:y,cartIconAriaLabel:x="Cart",onCallClickDesktop:I,onCallClickMobile:C,onCartClick:w,onSearch:A=()=>{},utilityNavActiveIndex:N,primaryNavigationLogoWidth:E=76.5,primaryNavigationLogoHeight:S=24,hideMobileCallButton:T=!1,displayUtilityNavigation:B=!0,displaySearchBar:k=!0,displayCallNowCta:P=!0,showCallButton:L=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:G=!0,callNowCtaIcon:O,navigationBackgroundColor:D,navigationLinkColor:V}=r,M="string"==typeof u?u:(null==u?void 0:u.url)||"",j=D?D.includes("-")||D.startsWith("bg-")?D:`bg-secondary-${D}`:"bg-secondary-navy500",H="string"==typeof O?O:(null==O?void 0:O.url)||"",W=n=>t(Ir,{href:m||"#",onClick:n,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":f?`Call ${f}`:"Call now",children:[H?e(Wr,{src:H,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e(br,{as:"span",className:"text-secondary-navy500 footnote",children:f})]}),X=(null!==(o=null==s?void 0:s.length)&&void 0!==o?o:0)>0||(null!==(i=null==p?void 0:p.length)&&void 0!==i?i:0)>0||(null!==(a=null==d?void 0:d.length)&&void 0!==a?a:0)>0;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[B?e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==l?void 0:l.map((t,n)=>e("li",{children:e(Or,{linkClassName:Ze("footnote flex items-center w-full h-11 text-text","number"!=typeof N?1===n&&"label4":N===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[P?e(Nd,{className:"border-none",href:m,prefix:g,onClick:I,children:e(br,{className:"body3 text-text",children:f})}):null,b?t(Ir,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:w,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==d?void 0:d.map((t,n)=>e(Cd,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,t("div",{className:Ze("main-nav-container",j,V),"aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:M?e(Ir,{href:"/",className:"flex",children:e(Wr,{src:M,alt:"Kinetic business logo",width:E,height:S})}):null}),e("div",{className:"flex items-center gap-6",children:G?t(n,{children:[L&&!T?e(Nd,{href:m,onClick:C,children:e(br,{as:"span",className:"footnote",children:f})}):null,b?t(Ir,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:w,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,X?e(Td,{...r}):null]}):L?W(C):null})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[M?e(Ir,{href:"/",className:"flex",children:e(Wr,{src:M,alt:"Kinetic business logo",width:E,height:S,className:"mr-[64px]"})}):null,e("div",{className:"flex h-full items-center gap-5",children:null==s?void 0:s.map((t,n)=>e(Cd,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:V},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[!R||B&&P?null:W(I),k?e(kd,{searchBarIconURL:"string"==typeof h?h:(null==h?void 0:h.url)||"",onSearch:A}):null,null==p?void 0:p.map((t,n)=>e(Cd,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:V},`support-menu-${n}`))]})]})})]})]}),c&&e("div",{className:"md:hidden",children:c})]})},Td=n=>{var r;const{primaryNavigationLinks:i,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l,showCallButton:c,displayCallNowCta:u,displaySearchBar:d}=n,[p,h]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=p?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],o=e=>{var t,o,i,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=r).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(i=n).focus)||void 0===a||a.call(i),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[p]);const m=()=>{h(!1)};return t("div",{children:[e(Or,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>h(!0),children:e(gr,{name:"menu"})}),p?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Ze("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",p?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:Ze("flex items-center px-4",!1!==c||!1!==u?"justify-between":"justify-end"),children:[!1!==c||!1!==u?e("div",{children:e(Nd,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}):null,e("div",{children:e(Or,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e(gr,{name:"close"})})})]}),!1!==d?e(Bd,{closeMenu:m,isMenuOpen:p,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}):null,t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...i||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(wd,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,r)=>e("li",{children:e(Or,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===r&&"label4":n.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},Bd=n=>{const{closeMenu:r,onSearch:i,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=o.useState(""),u=o.useRef(null),d=e=>{r(),e.preventDefault(),i(l)};return o.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Wr,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Ed,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},kd=n=>{const{searchBarIconURL:r,onSearch:i}=n,[a,s]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),i(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Wr,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Ed,{ref:l,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Pd=n=>{var r;const{title:o,showAsHeading:i,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Ze("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:Ze("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(br,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e(br,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(br,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(br,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(br,{as:"p",className:"subheading5",children:u}),p?e(br,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(vr,{listItemClassName:"text-white text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ze("md:block",x&&"hidden"),children:e(Or,{...s,renderCheckPlans:m,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(br,{as:"span",className:"body2 mr-1",children:v}),b&&e(Or,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(I||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(Or,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e(br,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(Wr,{src:f,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,l&&l[0]?e(Wr,{src:l[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),c&&(I||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(Or,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e(br,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(br,{as:"span",className:"body2 mr-1",children:v}),b&&e(Or,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ze("relative hidden lg:block"),children:[f?e(Wr,{src:f,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,l&&l[0]?e(Wr,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Ld=({fields:t})=>e("div",{children:e(br,{children:"Text Block"})}),Rd={closed:{opacity:0},open:{opacity:1}},Gd={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Od={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"};function Dd(){return Dd=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},Dd.apply(null,arguments)}function Vd(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Md(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function jd(...e){return f(Md(...e),e)}function Hd(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return a(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const Wd=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Xd=r["useId".toString()]||(()=>{});let Fd=0;function zd(e){const[t,n]=r.useState(Xd());return Wd(()=>{n(e=>null!=e?e:String(Fd++))},[e]),e||(t?`radix-${t}`:"")}function Zd(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Yd({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,o=l(r),i=Zd(t);return u(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,s=Zd(n);return[a,f(t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else o(t)},[i,e,o,s])]}const _d=i((e,t)=>{const{children:n,...r}=e,o=v.toArray(n),i=o.find($d);if(i){const e=i.props.children,n=o.map(t=>t===i?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return s(Jd,Dd({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return s(Jd,Dd({},r,{ref:t}),n)});_d.displayName="Slot";const Jd=i((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{...Kd(r,n.props),ref:t?Md(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Jd.displayName="SlotClone";const Ud=({children:e})=>s(x,null,e);function $d(e){return y(e)&&e.type===Ud}function Kd(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Qd=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=i((e,n)=>{const{asChild:r,...o}=e,i=r?_d:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(i,Dd({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const qd="dismissableLayer.update",ep="dismissableLayer.pointerDownOutside",tp="dismissableLayer.focusOutside";let np;const rp=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),op=i((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:d,onDismiss:p,...m}=e,f=h(rp),[g,b]=c(null),v=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=jd(t,e=>b(e)),I=Array.from(f.layers),[C]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=g?I.indexOf(g):-1,N=f.layersWithOutsidePointerEventsDisabled.size>0,E=A>=w,S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Zd(e),r=l(!1),o=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function a(){ap(ep,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...f.branches].some(e=>e.contains(t));E&&!n&&(null==i||i(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Zd(e),r=l(!1);return u(()=>{const e=e=>{if(e.target&&!r.current){ap(tp,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...f.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Zd(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===f.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),u(()=>{if(g)return r&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(np=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),ip(),()=>{r&&1===f.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=np)}},[g,v,r,f]),u(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),ip())},[g,f]),u(()=>{const e=()=>y({});return document.addEventListener(qd,e),()=>document.removeEventListener(qd,e)},[]),s(Qd.div,Dd({},m,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:Vd(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Vd(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Vd(e.onPointerDownCapture,S.onPointerDownCapture)}))});function ip(){const e=new CustomEvent(qd);document.dispatchEvent(e)}function ap(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&S(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}const sp="focusScope.autoFocusOnMount",lp="focusScope.autoFocusOnUnmount",cp={bubbles:!1,cancelable:!0},up=i((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[d,p]=c(null),h=Zd(o),m=Zd(i),g=l(null),b=jd(t,e=>p(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(r){function e(e){if(v.paused||!d)return;const t=e.target;d.contains(t)?g.current=t:mp(g.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||mp(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&mp(d)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return d&&o.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[r,d,v.paused]),u(()=>{if(d){fp.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(sp,cp);d.addEventListener(sp,h),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mp(r,{select:t}),document.activeElement!==n)return}((e=dp(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&mp(d))}return()=>{d.removeEventListener(sp,h),setTimeout(()=>{const e=new CustomEvent(lp,cp);d.addEventListener(lp,m),d.dispatchEvent(e),e.defaultPrevented||mp(null!=t?t:document.body,{select:!0}),d.removeEventListener(lp,m),fp.remove(v)},0)}}var e},[d,h,m,v]);const y=f(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=dp(e),n=pp(t,e),r=pp(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&mp(i,{select:!0})):(e.preventDefault(),n&&mp(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,v.paused]);return s(Qd.div,Dd({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function dp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function pp(e,t){for(const n of e)if(!hp(n,{upTo:t}))return n}function hp(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function mp(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const fp=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=gp(e,t),e.unshift(t)},remove(t){var n;e=gp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function gp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const bp=i((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?E.createPortal(s(Qd.div,Dd({},o,{ref:t})),r):null});const vp=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=l({}),o=l(e),i=l("none"),a=e?"mounted":"unmounted",[s,d]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=yp(r.current);i.current="mounted"===s?e:"none"},[s]),Wd(()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=yp(t);if(e)d("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))d("UNMOUNT");else{d(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,d]),Wd(()=>{if(t){const e=e=>{const n=yp(r.current).includes(e.animationName);e.target===t&&n&&S(()=>d("ANIMATION_END"))},n=e=>{e.target===t&&(i.current=yp(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):v.only(n),i=jd(r.ref,o.ref);return"function"==typeof n||r.isPresent?b(o,{ref:i}):null};function yp(e){return(null==e?void 0:e.animationName)||"none"}vp.displayName="Presence";let xp=0;function Ip(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Cp=function(){return Cp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Cp.apply(this,arguments)};function wp(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Ap="right-scroll-bar-position",Np="width-before-scroll-bar";function Ep(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Sp="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Tp=new WeakMap;function Bp(e,t){var n,r,o,i=(n=null,r=function(t){return e.forEach(function(e){return Ep(e,t)})},(o=c(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return Sp(function(){var t=Tp.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||Ep(e,null)}),r.forEach(function(e){n.has(e)||Ep(e,o)})}Tp.set(i,e)},[e]),i}function kp(e){return e}var Pp=function(e){var t=e.sideCar,n=wp(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return r.createElement(o,Cp({},n))};Pp.isSideCarExport=!0;var Lp=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=kp);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=Cp({async:!0,ssr:!1},e),t}(),Rp=function(){},Gp=r.forwardRef(function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:Rp,onWheelCapture:Rp,onTouchMoveCapture:Rp}),i=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=wp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=Bp([n,t]),C=Cp(Cp({},y),i);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:Lp,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),Cp(Cp({},C),{ref:I})):r.createElement(v,Cp({},C,{className:c,ref:I}),l))});Gp.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Gp.classNames={fullWidth:Np,zeroRight:Ap};function Op(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Dp=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Op())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vp=function(){var e,t=(e=Dp(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Mp={left:0,top:0,right:0,gap:0},jp=function(e){return parseInt(e||"",10)||0},Hp=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Mp;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[jp(n),jp(r),jp(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Wp=Vp(),Xp="data-scroll-locked",Fp=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(Xp,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ap," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Np," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Ap," .").concat(Ap," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Np," .").concat(Np," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Xp,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},zp=function(){var e=parseInt(document.body.getAttribute(Xp)||"0",10);return isFinite(e)?e:0},Zp=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;r.useEffect(function(){return document.body.setAttribute(Xp,(zp()+1).toString()),function(){var e=zp()-1;e<=0?document.body.removeAttribute(Xp):document.body.setAttribute(Xp,e.toString())}},[]);var a=r.useMemo(function(){return Hp(i)},[i]);return r.createElement(Wp,{styles:Fp(a,!t,i,n?"":"!important")})},Yp=!1;if("undefined"!=typeof window)try{var _p=Object.defineProperty({},"passive",{get:function(){return Yp=!0,!0}});window.addEventListener("test",_p,_p),window.removeEventListener("test",_p,_p)}catch(e){Yp=!1}var Jp=!!Yp&&{passive:!1},Up=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},$p=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Kp(e,n)){var r=Qp(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Kp=function(e,t){return"v"===e?function(e){return Up(e,"overflowY")}(t):function(e){return Up(e,"overflowX")}(t)},Qp=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},qp=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eh=function(e){return[e.deltaX,e.deltaY]},th=function(e){return e&&"current"in e?e.current:e},nh=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},rh=0,oh=[];var ih,ah=(ih=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState(rh++)[0],a=r.useState(function(){return Vp()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(th),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=qp(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=$p(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=$p(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=r),!r)return!0;var h=o.current||r;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,a=n.target,s=t.contains(a),l=!1,c=i>0,u=0,d=0;do{var p=Qp(e,a),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&Kp(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(oh.length&&oh[oh.length-1]===a){var r="deltaY"in n?eh(n):qp(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(s.current.shards||[]).map(th).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?l(n,i[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=r.useCallback(function(e){n.current=qp(e),o.current=void 0},[]),p=r.useCallback(function(t){u(t.type,eh(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,qp(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return oh.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Jp),document.addEventListener("touchmove",c,Jp),document.addEventListener("touchstart",d,Jp),function(){oh=oh.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,Jp),document.removeEventListener("touchmove",c,Jp),document.removeEventListener("touchstart",d,Jp)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:nh(i)}):null,m?r.createElement(Zp,{gapMode:"margin"}):null)},Lp.useMedium(ih),Pp),sh=r.forwardRef(function(e,t){return r.createElement(Gp,Cp({},e,{ref:t,sideCar:ah}))});sh.classNames=Gp.classNames;var lh=new WeakMap,ch=new WeakMap,uh={},dh=0,ph=function(e){return e&&(e.host||ph(e.parentNode))},hh=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=ph(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);uh[n]||(uh[n]=new WeakMap);var i=uh[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(lh.get(e)||0)+1,c=(i.get(e)||0)+1;lh.set(e,l),i.set(e,c),a.push(e),1===l&&o&&ch.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),dh++,function(){a.forEach(function(e){var t=lh.get(e)-1,o=i.get(e)-1;lh.set(e,t),i.set(e,o),t||(ch.has(e)||e.removeAttribute(r),ch.delete(e)),o||e.removeAttribute(n)}),--dh||(lh=new WeakMap,lh=new WeakMap,ch=new WeakMap,uh={})}},mh=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),hh(r,o,n,"aria-hidden")):function(){return null}};const fh="Dialog",[gh,bh]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>d(e));return function(n){const r=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const o=d(r),i=n.length;function l(t){const{scope:n,children:r,...l}=t,c=(null==n?void 0:n[e][i])||o,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},r)}return n=[...n,r],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][i])||o,l=h(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Hd(r,...t)]}(fh),[vh,yh]=gh(fh),xh="DialogPortal",[Ih,Ch]=gh(xh,{forceMount:void 0}),wh="DialogOverlay",Ah=i((e,t)=>{const n=Ch(wh,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=yh(wh,e.__scopeDialog);return i.modal?s(vp,{present:r||i.open},s(Nh,Dd({},o,{ref:t}))):null}),Nh=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=yh(wh,n);return s(sh,{as:_d,allowPinchZoom:!0,shards:[o.contentRef]},s(Qd.div,Dd({"data-state":Gh(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Eh="DialogContent",Sh=i((e,t)=>{const n=Ch(Eh,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=yh(Eh,e.__scopeDialog);return s(vp,{present:r||i.open},i.modal?s(Th,Dd({},o,{ref:t})):s(Bh,Dd({},o,{ref:t})))}),Th=i((e,t)=>{const n=yh(Eh,e.__scopeDialog),r=l(null),o=jd(t,n.contentRef,r);return u(()=>{const e=r.current;if(e)return mh(e)},[]),s(kh,Dd({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Vd(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Vd(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Vd(e.onFocusOutside,e=>e.preventDefault())}))}),Bh=i((e,t)=>{const n=yh(Eh,e.__scopeDialog),r=l(!1),o=l(!1);return s(kh,Dd({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),kh=i((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,c=yh(Eh,n),d=jd(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Ip()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Ip()),xp++,()=>{1===xp&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),xp--}},[]),s(x,null,s(up,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},s(op,Dd({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Gh(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Ph="DialogTitle",Lh="DialogClose",Rh=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=yh(Lh,n);return s(Qd.button,Dd({type:"button"},r,{ref:t,onClick:Vd(e.onClick,()=>o.onOpenChange(!1))}))});function Gh(e){return e?"open":"closed"}!function(e,t){const n=d(t);function r(e){const{children:t,...r}=e,o=a(()=>r,Object.values(r));return s(n.Provider,{value:o},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Eh,titleName:Ph,docsSlug:"dialog"});const Oh=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,c=l(null),u=l(null),[d=!1,p]=Yd({prop:r,defaultProp:o,onChange:i});return s(vh,{scope:t,triggerRef:c,contentRef:u,contentId:zd(),titleId:zd(),descriptionId:zd(),open:d,onOpenChange:p,onOpenToggle:f(()=>p(e=>!e),[p]),modal:a},n)},Dh=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=yh(xh,t);return s(Ih,{scope:t,forceMount:n},v.map(r,e=>s(vp,{present:n||i.open},s(bp,{asChild:!0,container:o},e))))},Vh=Ah,Mh=Sh,jh=Rh,Hh=n=>{const{isOpen:r,onRequestClose:o,size:i,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(Oh,{open:r,onOpenChange:()=>r&&(null==o?void 0:o()),children:t(Dh,{children:[e(Fu.div,{initial:"closed",animate:r?"open":"closed",variants:Rd,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Vh,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(Fu.div,{initial:"closed",animate:r?"open":"closed",variants:Gd,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e(Mh,{className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:Od[i||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(jh,{asChild:!0,children:e(Or,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(gr,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(br,{className:Ze("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(br,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},Wh=({children:n,background:r,className:o,fill:i="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=i in u?u[i]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${a?"max-content":""} ${null!=h?h:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:m,children:n})},Xh=({title:n,background:r="white",button:o,color:i,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[r]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-text-inverse"}`,children:[n&&e(br,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(br,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Or,{...o,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})})]})}),Fh=({background:r="white",description:o,enableHeading:i,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(br,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(br,{as:i?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(br,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e("li",{children:e(Ir,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e("li",{children:e(Ir,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Wr,{width:472,height:100,src:a,alt:"image"})})]})]})}),zh=({title:n,disclaimer:r,table:o,maxWidth:i=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(i?"max-w-120 xl:mx-auto":""),children:[e(br,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:o}),e(br,{as:"div",className:"micro mt-8 text-center",children:r})]})}),Zh=({currentPage:n,totalPages:r,onPageChange:o,ariaLabel:i="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,r),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":i,children:[e(Tr,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(gr,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(Tr,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>o(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(Tr,{className:s,onClick:()=>o(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(gr,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Yh(e){return Yh="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},Yh(e)}function _h(e){var t=function(e,t){if("object"!=Yh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Yh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yh(t)?t:t+""}function Jh(e,t,n){return(t=_h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uh(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 $h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uh(Object(n),!0).forEach(function(t){Jh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kh(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 Qh(e,t){if(e){if("string"==typeof e)return Kh(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)?Kh(e,t):void 0}}function qh(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)||Qh(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 em(e,t){if(null==e)return{};var n,r,o=function(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}(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}var tm=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function nm(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,_h(r.key),r)}}function rm(e,t){return rm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rm(e,t)}function om(e){return om=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},om(e)}function im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(im=function(){return!!e})()}function am(e,t){if(t&&("object"==Yh(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 sm(e){return function(e){if(Array.isArray(e))return Kh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qh(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 lm=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}(),cm="-ms-",um="-moz-",dm="-webkit-",pm="comm",hm="rule",mm="decl",fm="@keyframes",gm=Math.abs,bm=String.fromCharCode,vm=Object.assign;function ym(e){return e.trim()}function xm(e,t,n){return e.replace(t,n)}function Im(e,t){return e.indexOf(t)}function Cm(e,t){return 0|e.charCodeAt(t)}function wm(e,t,n){return e.slice(t,n)}function Am(e){return e.length}function Nm(e){return e.length}function Em(e,t){return t.push(e),e}var Sm=1,Tm=1,Bm=0,km=0,Pm=0,Lm="";function Rm(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Sm,column:Tm,length:a,return:""}}function Gm(e,t){return vm(Rm("",null,null,"",null,null,0),e,{length:-e.length},t)}function Om(){return Pm=km>0?Cm(Lm,--km):0,Tm--,10===Pm&&(Tm=1,Sm--),Pm}function Dm(){return Pm=km<Bm?Cm(Lm,km++):0,Tm++,10===Pm&&(Tm=1,Sm++),Pm}function Vm(){return Cm(Lm,km)}function Mm(){return km}function jm(e,t){return wm(Lm,e,t)}function Hm(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 Wm(e){return Sm=Tm=1,Bm=Am(Lm=e),km=0,[]}function Xm(e){return Lm="",e}function Fm(e){return ym(jm(km-1,Ym(91===e?e+2:40===e?e+1:e)))}function zm(e){for(;(Pm=Vm())&&Pm<33;)Dm();return Hm(e)>2||Hm(Pm)>3?"":" "}function Zm(e,t){for(;--t&&Dm()&&!(Pm<48||Pm>102||Pm>57&&Pm<65||Pm>70&&Pm<97););return jm(e,Mm()+(t<6&&32==Vm()&&32==Dm()))}function Ym(e){for(;Dm();)switch(Pm){case e:return km;case 34:case 39:34!==e&&39!==e&&Ym(Pm);break;case 40:41===e&&Ym(e);break;case 92:Dm()}return km}function _m(e,t){for(;Dm()&&e+Pm!==57&&(e+Pm!==84||47!==Vm()););return"/*"+jm(t,km-1)+"*"+bm(47===e?e:Dm())}function Jm(e){for(;!Hm(Vm());)Dm();return jm(e,km)}function Um(e){return Xm($m("",null,null,null,[""],e=Wm(e),0,[0],e))}function $m(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=o,I=i,C=r,w=y;g;)switch(m=v,v=Dm()){case 40:if(108!=m&&58==Cm(w,d-1)){-1!=Im(w+=xm(Fm(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Fm(v);break;case 9:case 10:case 13:case 32:w+=zm(m);break;case 92:w+=Zm(Mm()-1,7);continue;case 47:switch(Vm()){case 42:case 47:Em(Qm(_m(Dm(),Mm()),t,n),l);break;default:w+="/"}break;case 123*f:s[c++]=Am(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=xm(w,/\f/g,"")),h>0&&Am(w)-d&&Em(h>32?qm(w+";",r,n,d-1):qm(xm(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(Em(C=Km(w,t,n,c,u,o,s,y,x=[],I=[],d),i),123===v)if(0===u)$m(w,t,C,C,x,i,d,s,I);else switch(99===p&&110===Cm(w,3)?100:p){case 100:case 108:case 109:case 115:$m(e,C,C,r&&Em(Km(e,C,C,0,0,o,s,y,o,x=[],d),I),o,I,d,s,r?x:I);break;default:$m(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,f=b=1,y=w="",d=a;break;case 58:d=1+Am(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Om())continue;switch(w+=bm(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Am(w)-1)*b,b=1;break;case 64:45===Vm()&&(w+=Fm(Dm())),p=Vm(),u=d=Am(y=w+=Jm(Mm())),v++;break;case 45:45===m&&2==Am(w)&&(f=0)}}return i}function Km(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],h=Nm(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=wm(e,d+1,d=gm(f=a[m])),y=e;b<h;++b)(y=ym(f>0?p[b]+" "+v:xm(v,/&\f/g,p[b])))&&(l[g++]=y);return Rm(e,t,n,0===o?hm:s,l,c,u)}function Qm(e,t,n){return Rm(e,t,n,pm,bm(Pm),wm(e,2,-2),0)}function qm(e,t,n,r){return Rm(e,t,n,mm,wm(e,0,r),wm(e,r+1,-1),r)}function ef(e,t){for(var n="",r=Nm(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function tf(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case mm:return e.return=e.return||e.value;case pm:return"";case fm:return e.return=e.value+"{"+ef(e.children,r)+"}";case hm:e.value=e.props.join(",")}return Am(n=ef(e.children,r))?e.return=e.value+"{"+n+"}":""}function nf(e){var t=Nm(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 rf="undefined"!=typeof document,of=function(e,t,n){for(var r=0,o=0;r=o,o=Vm(),38===r&&12===o&&(t[n]=1),!Hm(o);)Dm();return jm(e,km)},af=function(e,t){return Xm(function(e,t){var n=-1,r=44;do{switch(Hm(r)){case 0:38===r&&12===Vm()&&(t[n]=1),e[n]+=of(km-1,t,n);break;case 2:e[n]+=Fm(r);break;case 4:if(44===r){e[++n]=58===Vm()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=bm(r)}}while(r=Dm());return e}(Wm(e),t))},sf=new WeakMap,lf=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)||sf.get(n))&&!r){sf.set(e,!0);for(var o=[],i=af(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]}}},cf=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function uf(e,t){switch(function(e,t){return 45^Cm(e,0)?(((t<<2^Cm(e,0))<<2^Cm(e,1))<<2^Cm(e,2))<<2^Cm(e,3):0}(e,t)){case 5103:return dm+"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 dm+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return dm+e+um+e+cm+e+e;case 6828:case 4268:return dm+e+cm+e+e;case 6165:return dm+e+cm+"flex-"+e+e;case 5187:return dm+e+xm(e,/(\w+).+(:[^]+)/,dm+"box-$1$2"+cm+"flex-$1$2")+e;case 5443:return dm+e+cm+"flex-item-"+xm(e,/flex-|-self/,"")+e;case 4675:return dm+e+cm+"flex-line-pack"+xm(e,/align-content|flex-|-self/,"")+e;case 5548:return dm+e+cm+xm(e,"shrink","negative")+e;case 5292:return dm+e+cm+xm(e,"basis","preferred-size")+e;case 6060:return dm+"box-"+xm(e,"-grow","")+dm+e+cm+xm(e,"grow","positive")+e;case 4554:return dm+xm(e,/([^-])(transform)/g,"$1"+dm+"$2")+e;case 6187:return xm(xm(xm(e,/(zoom-|grab)/,dm+"$1"),/(image-set)/,dm+"$1"),e,"")+e;case 5495:case 3959:return xm(e,/(image-set\([^]*)/,dm+"$1$`$1");case 4968:return xm(xm(e,/(.+:)(flex-)?(.*)/,dm+"box-pack:$3"+cm+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+dm+e+e;case 4095:case 3583:case 4068:case 2532:return xm(e,/(.+)-inline(.+)/,dm+"$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(Am(e)-1-t>6)switch(Cm(e,t+1)){case 109:if(45!==Cm(e,t+4))break;case 102:return xm(e,/(.+:)(.+)-([^]+)/,"$1"+dm+"$2-$3$1"+um+(108==Cm(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Im(e,"stretch")?uf(xm(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Cm(e,t+1))break;case 6444:switch(Cm(e,Am(e)-3-(~Im(e,"!important")&&10))){case 107:return xm(e,":",":"+dm)+e;case 101:return xm(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+dm+(45===Cm(e,14)?"inline-":"")+"box$3$1"+dm+"$2$3$1"+cm+"$2box$3")+e}break;case 5936:switch(Cm(e,t+11)){case 114:return dm+e+cm+xm(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return dm+e+cm+xm(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return dm+e+cm+xm(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return dm+e+cm+e+e}return e}var df,pf,hf,mf=rf?void 0:(df=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},pf=new WeakMap,function(e){if(pf.has(e))return pf.get(e);var t=df(e);return pf.set(e,t),t}),ff=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case mm:e.return=uf(e.value,e.length);break;case fm:return ef([Gm(e,{value:xm(e.value,"@","@"+dm)})],r);case hm: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 ef([Gm(e,{props:[xm(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ef([Gm(e,{props:[xm(t,/:(plac\w+)/,":"+dm+"input-$1")]}),Gm(e,{props:[xm(t,/:(plac\w+)/,":-moz-$1")]}),Gm(e,{props:[xm(t,/:(plac\w+)/,cm+"input-$1")]})],r)}return""})}}],gf=function(e){var t=e.key;if(rf&&"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||ff,a={},s=[];rf&&(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=[lf,cf];if(mf){var u=[tf],d=nf(c.concat(i,u)),p=mf(i)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=ef(Um(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=h(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),i):r?void(b.inserted[o]=i):i}}else{var m,f=[tf,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=nf(c.concat(i,f));o=function(e,t,n,r){m=n,ef(Um(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new lm({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},bf={exports:{}},vf={};var yf,xf,If,Cf,wf={};
6
6
  /** @license React v16.13.1
7
7
  * react-is.development.js
8
8
  *
@@ -10,5 +10,5 @@ function Ct(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 xf(){return gf||(gf=1,"production"===process.env.NODE_ENV?hf.exports=function(){if(cf)return mf;cf=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return mf.AsyncMode=l,mf.ConcurrentMode=c,mf.ContextConsumer=s,mf.ContextProvider=a,mf.Element=t,mf.ForwardRef=u,mf.Fragment=r,mf.Lazy=m,mf.Memo=h,mf.Portal=n,mf.Profiler=i,mf.StrictMode=o,mf.Suspense=d,mf.isAsyncMode=function(e){return x(e)||y(e)===l},mf.isConcurrentMode=x,mf.isContextConsumer=function(e){return y(e)===s},mf.isContextProvider=function(e){return y(e)===a},mf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},mf.isForwardRef=function(e){return y(e)===u},mf.isFragment=function(e){return y(e)===r},mf.isLazy=function(e){return y(e)===m},mf.isMemo=function(e){return y(e)===h},mf.isPortal=function(e){return y(e)===n},mf.isProfiler=function(e){return y(e)===i},mf.isStrictMode=function(e){return y(e)===o},mf.isSuspense=function(e){return y(e)===d},mf.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===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},mf.typeOf=y,mf}():hf.exports=(ff||(ff=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 f=e.type;switch(f){case l:case c:case r:case i:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,A=t,N=u,E=r,S=m,T=h,B=n,k=i,P=o,L=d,R=!1;function G(e){return y(e)===c}yf.AsyncMode=x,yf.ConcurrentMode=I,yf.ContextConsumer=C,yf.ContextProvider=w,yf.Element=A,yf.ForwardRef=N,yf.Fragment=E,yf.Lazy=S,yf.Memo=T,yf.Portal=B,yf.Profiler=k,yf.StrictMode=P,yf.Suspense=L,yf.isAsyncMode=function(e){return R||(R=!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.")),G(e)||y(e)===l},yf.isConcurrentMode=G,yf.isContextConsumer=function(e){return y(e)===s},yf.isContextProvider=function(e){return y(e)===a},yf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},yf.isForwardRef=function(e){return y(e)===u},yf.isFragment=function(e){return y(e)===r},yf.isLazy=function(e){return y(e)===m},yf.isMemo=function(e){return y(e)===h},yf.isPortal=function(e){return y(e)===n},yf.isProfiler=function(e){return y(e)===i},yf.isStrictMode=function(e){return y(e)===o},yf.isSuspense=function(e){return y(e)===d},yf.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===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},yf.typeOf=y}()),yf)),hf.exports}!function(){if(vf)return bf;vf=1;var e=xf(),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;bf=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=i(t),f=i(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||o&&o[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var If="undefined"!=typeof document;var Cf=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===If&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var wf={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 Af(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Nf=/[A-Z]|^ms/g,Ef=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Sf=function(e){return 45===e.charCodeAt(1)},Tf=function(e){return null!=e&&"boolean"!=typeof e},Bf=Af(function(e){return Sf(e)?e:e.replace(Nf,"-$&").toLowerCase()}),kf=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ef,function(e,t,n){return Lf={name:t,styles:n,next:Lf},t})}return 1===wf[e]||Sf(e)||"number"!=typeof t||0===t?t:t+"px"};function Pf(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 Lf={name:o.name,styles:o.styles,next:Lf},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Lf={name:a.name,styles:a.styles,next:Lf},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+=Pf(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;Tf(s)&&(r+=Bf(i)+":"+kf(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Tf(a[l])&&(r+=Bf(i)+":"+kf(i,a[l])+";");else{var c=Pf(e,t,a);switch(i){case"animation":case"animationName":r+=Bf(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Lf,l=n(e);return Lf=s,Pf(e,t,l)}}return n}var Lf,Rf=/label:\s*([^\s;{]+)\s*(;|$)/g;function Gf(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="";Lf=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Pf(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Pf(n,t,e[a]),r)o+=i[a]}Rf.lastIndex=0;for(var s,l="";null!==(s=Rf.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:Lf}}var Of="undefined"!=typeof document,Df=function(e){return e()},Vf=!!r.useInsertionEffect&&r.useInsertionEffect,Mf=Of&&Vf||Df,jf="undefined"!=typeof document,Hf=r.createContext("undefined"!=typeof HTMLElement?pf({key:"css"}):null);Hf.Provider;var Wf=function(e){return i(function(t,n){var r=m(Hf);return e(t,r,n)})};jf||(Wf=function(e){return function(t){var n=m(Hf);return null===n?(n=pf({key:"css"}),r.createElement(Hf.Provider,{value:n},e(t,n))):e(t,n)}});var Xf,Ff,zf=r.createContext({}),Zf={}.hasOwnProperty,Yf="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_f=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Cf(t,n,o);var i=Mf(function(){return function(e,t,n){Cf(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);If||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!If&&0!==o.length)return o}}(t,n,o)});if(!jf&&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},Jf=Wf(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[Yf],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=Gf(a,void 0,r.useContext(zf));s+=t.key+"-"+l.name;var c={};for(var u in e)Zf.call(e,u)&&"css"!==u&&u!==Yf&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(_f,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))}),Uf=Jf,$f=function(e,t){var n=arguments;if(null==t||!Zf.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Uf,i[1]=function(e,t){var n={};for(var r in t)Zf.call(t,r)&&(n[r]=t[r]);return n[Yf]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Kf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gf(t)}Xf=$f||($f={}),Ff||(Ff=Xf.JSX||(Xf.JSX={}));const Qf=Math.min,qf=Math.max,eg=Math.round,tg=Math.floor,ng=e=>({x:e,y:e});function rg(){return"undefined"!=typeof window}function og(e){return sg(e)?(e.nodeName||"").toLowerCase():"#document"}function ig(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ag(e){var t;return null==(t=(sg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function sg(e){return!!rg()&&(e instanceof Node||e instanceof ig(e).Node)}function lg(e){return!!rg()&&(e instanceof HTMLElement||e instanceof ig(e).HTMLElement)}function cg(e){return!(!rg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ig(e).ShadowRoot)}const ug=new Set(["inline","contents"]);function dg(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=hg(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ug.has(o)}const pg=new Set(["html","body","#document"]);function hg(e){return ig(e).getComputedStyle(e)}function mg(e){const t=function(e){if("html"===og(e))return e;const t=e.assignedSlot||e.parentNode||cg(e)&&e.host||ag(e);return cg(t)?t.host:t}(e);return function(e){return pg.has(og(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:lg(t)&&dg(t)?t:mg(t)}function fg(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=mg(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=ig(o);if(i){const e=gg(a);return t.concat(a,a.visualViewport||[],dg(o)?o:[],e&&n?fg(e):[])}return t.concat(o,fg(o,[],n))}function gg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bg(e){return t=e,rg()&&(t instanceof Element||t instanceof ig(t).Element)?e:e.contextElement;var t}function vg(e){const t=bg(e);if(!lg(t))return ng(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=hg(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=lg(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=eg(n)!==i||eg(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?eg(n.width):n.width)/r,s=(i?eg(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function yg(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=bg(e);let a=ng(1);t&&(a=vg(e));const s=ng(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=ig(i),n=gg(t);for(;n&&r&&e!==t;){const e=vg(n),r=n.getBoundingClientRect(),o=hg(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=ig(n),n=gg(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 xg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ig(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=bg(e),u=o||i?[...c?fg(c):[],...fg(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=ag(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:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-tg(d)+"px "+-tg(o.clientWidth-(u+p))+"px "+-tg(o.clientHeight-(d+h))+"px "+-tg(u)+"px",threshold:qf(0,Qf(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||xg(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f=l?yg(e):null;return l&&function t(){const r=yg(e);f&&!xg(f,r)&&n();f=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=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Cg="undefined"!=typeof document?h:function(){},wg=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ag=function(){};function Ng(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Eg(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(Ng(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Sg=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Xh(e)&&null!==e?[e]:[];var t},Tg=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,Yh({},$h(e,wg))},Bg=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 kg(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Pg(e){return kg(e)?window.pageYOffset:e.scrollTop}function Lg(e,t){kg(e)?window.scrollTo(0,t):e.scrollTop=t}function Rg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ag,o=Pg(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Lg(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Gg(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Lg(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Lg(e,Math.max(t.offsetTop-o,0))}function Og(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Dg=!1,Vg={get passive(){return Dg=!0}},Mg="undefined"!=typeof window?window:{};Mg.addEventListener&&Mg.removeEventListener&&(Mg.addEventListener("p",Ag,Vg),Mg.removeEventListener("p",Ag,!1));var jg=Dg;function Hg(e){return null!=e}function Wg(e,t,n){return e?t:n}var Xg=["children","innerProps"],Fg=["children","innerProps"];function zg(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(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:kg(u=l)?window.innerHeight:u.clientHeight,v=Pg(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-f,w=I+v,A=d-v-f,N=h-b+v+y,E=v+f-x,S=160;switch(o){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return i&&Rg(l,N,S),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&C>=r)return i&&Rg(l,N,S),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===o||a){var T=t,B=a?I:w;return B>=r&&(T=Math.min(B-y-s,t)),{placement:"top",maxHeight:T}}if("bottom"===o)return i&&Lg(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return i&&Rg(l,E,S),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&I>=r){var k=t;return(!a&&w>=r||a&&I>=r)&&(k=a?I-x:w-x),i&&Rg(l,E,S),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Zg,Yg=function(e){return"auto"===e?"bottom":e},_g=p(null),Jg=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(m(_g)||{}).setPortalPlacement,d=l(null),p=Uh(c(r),2),h=p[0],f=p[1],g=Uh(c(null),2),b=g[0],v=g[1],y=s.spacing.controlHeight;return Cg(function(){var e=d.current;if(e){var t="fixed"===i,s=zg({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,o,i,a,n,u,y]),t({ref:d,placerProps:Yh(Yh({},e),{},{placement:b||Yg(o),maxHeight:h})})},Ug=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return $f("div",Ld({},Bg(e,"menu",{menu:!0}),{ref:n},r),t)},$g=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Yh({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Kg=$g,Qg=$g,qg=["size"],eb=["innerProps","isRtl","size"];var tb,nb,rb="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},ob=function(e){var t=e.size,n=$h(e,qg);return $f("svg",Ld({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:rb},n))},ib=function(e){return $f(ob,Ld({size:20},e),$f("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"}))},ab=function(e){return $f(ob,Ld({size:20},e),$f("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"}))},sb=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Yh({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},lb=sb,cb=sb,ub=function(){var e=Kf.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_"}}}(Zg||(tb=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],nb||(nb=tb.slice(0)),Zg=Object.freeze(Object.defineProperties(tb,{raw:{value:Object.freeze(nb)}})))),db=function(e){var t=e.delay,n=e.offset;return $f("span",{css:Kf({animation:"".concat(ub," 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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},pb=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return $f("div",Ld({ref:o},Bg(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},hb=["data"],mb=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 $f("div",Ld({},Bg(e,"group",{group:!0}),s),$f(i,Ld({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),$f("div",null,t))},fb=["innerRef","isDisabled","isHidden","inputClassName"],gb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},bb={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Yh({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},gb)},vb=function(e){return Yh({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},gb)},yb=function(e){var t=e.cx,n=e.value,r=Tg(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=$h(r,fb);return $f("div",Ld({},Bg(e,"input",{"input-container":!0}),{"data-value":n||""}),$f("input",Ld({className:t({input:!0},s),ref:o,style:vb(a),disabled:i},l)))},xb=function(e){var t=e.children,n=e.innerProps;return $f("div",n,t)};var Ib=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 $f(l,{data:r,innerProps:Yh(Yh({},Bg(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},$f(c,{data:r,innerProps:Yh({},Bg(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),$f(u,{data:r,innerProps:Yh(Yh({},Bg(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Cb={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return $f("div",Ld({},Bg(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||$f(ib,null))},Control:pb,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return $f("div",Ld({},Bg(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||$f(ab,null))},DownChevron:ab,CrossIcon:ib,Group:mb,GroupHeading:function(e){var t=Tg(e);t.data;var n=$h(t,hb);return $f("div",Ld({},Bg(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return $f("div",Ld({},Bg(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return $f("span",Ld({},t,Bg(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:yb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=$h(e,eb);return $f("div",Ld({},Bg(Yh(Yh({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),$f(db,{delay:0,offset:n}),$f(db,{delay:160,offset:!0}),$f(db,{delay:320,offset:!n}))},Menu:Ug,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return $f("div",Ld({},Bg(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,s=e.menuPosition,u=l(null),p=l(null),h=Uh(c(Yg(i)),2),m=h[0],f=h[1],g=a(function(){return{setPortalPlacement:f}},[]),b=Uh(c(null),2),v=b[0],y=b[1],x=d(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"===s?0:window.pageYOffset,n=e[m]+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})}},[r,s,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Cg(function(){x()},[x]);var I=d(function(){"function"==typeof p.current&&(p.current(),p.current=null),r&&u.current&&(p.current=Ig(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Cg(function(){I()},[I]);var C=d(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==s||!v)return null;var w=$f("div",Ld({ref:C},Bg(Yh(Yh({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return $f(_g.Provider,{value:g},t?T(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=$h(e,Fg);return $f("div",Ld({},Bg(Yh(Yh({},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=$h(e,Xg);return $f("div",Ld({},Bg(Yh(Yh({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Ib,MultiValueContainer:xb,MultiValueLabel:xb,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return $f("div",Ld({role:"button"},n),t||$f(ib,{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 $f("div",Ld({},Bg(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 $f("div",Ld({},Bg(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return $f("div",Ld({},Bg(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return $f("div",Ld({},Bg(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 $f("div",Ld({},Bg(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},wb=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Ab(e,t){return e===t||!(!wb(e)||!wb(t))}function Nb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Ab(e[n],t[n]))return!1;return!0}for(var Eb="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)."}},Sb=function(e){return $f("span",Ld({css:Eb},e))},Tb={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:"",".")}},Bb=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,C=l.isLoading,w=l["aria-label"],A=l["aria-live"],N=a(function(){return Yh(Yh({},Tb),d||{})},[d]),E=a(function(){var e,n="";if(t&&N.onChange){var r=t.option,o=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||a||void 0,h=d?d.map(p):[],m=Yh({isDisabled:c&&f(c,s),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,f,s,p]),S=a(function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&N.onFocus){var a={focused:t,label:p(t),isDisabled:f(t,s),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=N.onFocus(a)}return e},[n,r,p,f,N,o,s,u]),T=a(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:o.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[o,h,b,N,v,y,C]),B="initial-input-focus"===(null==t?void 0:t.action),k=a(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&f(n,s),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:B})}return e},[w,n,r,m,f,g,b,N,s,I,B]),P=$f(x,null,$f("span",{id:"aria-selection"},E),$f("span",{id:"aria-focused"},S),$f("span",{id:"aria-results"},T),$f("span",{id:"aria-guidance"},k));return $f(x,null,$f(Sb,{id:c},B&&P),$f(Sb,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!B&&P))},kb=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Pb=new RegExp("["+kb.map(function(e){return e.letters}).join("")+"]","g"),Lb={},Rb=0;Rb<kb.length;Rb++)for(var Gb=kb[Rb],Ob=0;Ob<Gb.letters.length;Ob++)Lb[Gb.letters[Ob]]=Gb.base;var Db=function(e){return e.replace(Pb,function(e){return Lb[e]})},Vb=function(e,t){void 0===t&&(t=Nb);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}(Db),Mb=function(e){return e.replace(/^\s+|\s+$/g,"")},jb=function(e){return"".concat(e.label," ").concat(e.value)},Hb=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Yh({ignoreCase:!0,ignoreAccents:!0,stringify:jb,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Mb(n):n,u=s?Mb(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Vb(c),u=Db(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Wb=["innerRef"];function Xb(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=Uh(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Uh(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}($h(e,Wb),"onExited","in","enter","exit","appear");return $f("input",Ld({ref:t},n,{css:Kf({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+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Fb=["boxSizing","height","overflow","paddingRight","position"],zb={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Zb(e){e.cancelable&&e.preventDefault()}function Yb(e){e.stopPropagation()}function _b(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Jb(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ub=!("undefined"==typeof window||!window.document||!window.document.createElement),$b=0,Kb={capture:!1,passive:!1};var Qb=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},qb="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 ev(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=l(!1),s=l(!1),c=l(0),p=l(null),h=d(function(e,t){if(null!==p.current){var l=p.current,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,h=p.current,m=t>0,f=u-d-c,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(i&&i(e),s.current=!1),m&&t>f?(n&&!a.current&&n(e),h.scrollTop=u,g=!0,a.current=!0):!m&&-t>c&&(o&&!s.current&&o(e),h.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,o,i]),m=d(function(e){h(e,e.deltaY)},[h]),f=d(function(e){c.current=e.changedTouches[0].clientY},[]),g=d(function(e){var t=c.current-e.changedTouches[0].clientY;h(e,t)},[h]),b=d(function(e){if(e){var t=!!jg&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",g,t)}},[g,f,m]),v=d(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",g,!1))},[g,f,m]);return u(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),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=l({}),i=l(null),a=d(function(e){if(Ub){var t=document.body,n=t&&t.style;if(r&&Fb.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&$b<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(zb).forEach(function(e){var t=zb[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Jb()&&(t.addEventListener("touchmove",Zb,Kb),e&&(e.addEventListener("touchstart",_b,Kb),e.addEventListener("touchmove",Yb,Kb))),$b+=1}},[r]),s=d(function(e){if(Ub){var t=document.body,n=t&&t.style;$b=Math.max($b-1,0),r&&$b<1&&Fb.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Jb()&&(t.removeEventListener("touchmove",Zb,Kb),e&&(e.removeEventListener("touchstart",_b,Kb),e.removeEventListener("touchmove",Yb,Kb)))}},[r]);return u(function(){if(t){var e=i.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){i.current=e}}({isEnabled:n});return $f(x,null,n&&$f("div",{onClick:Qb,css:qb}),t(function(e){o(e),i(e)}))}var tv="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)."}},nv=function(e){var t=e.name,n=e.onFocus;return $f("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:tv,value:"",onChange:function(){}})};function rv(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 ov(){return rv(/^Mac/i)}function iv(){return rv(/^iPhone/i)||rv(/^iPad/i)||ov()&&navigator.maxTouchPoints>1}var av={clearIndicator:cb,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 Yh({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:lb,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 Yh({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 Yh({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 Yh(Yh({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},bb),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 Yh({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:Qg,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return Yh((zh(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),zh(n,"position","absolute"),zh(n,"width","100%"),zh(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 Yh({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 Yh({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 Yh({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 Yh({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:Kg,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Yh({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 Yh({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 Yh({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 Yh({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")})}},sv={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}},lv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Og(),captureMenuScroll:!Og(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Hb(),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 cv(e,t,n,r){return{type:"option",data:t,isDisabled:bv(e,t,n),isSelected:vv(e,t,n),label:fv(e,t),value:gv(e,t),index:r}}function uv(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return cv(e,n,t,r)}).filter(function(t){return hv(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=cv(e,n,t,r);return hv(e,i)?i:void 0}).filter(Hg)}function dv(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,rm(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function pv(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,rm(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 hv(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!xv(e)||!i)&&yv(e,{label:a,value:s,data:o},r)}var mv=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},fv=function(e,t){return e.getOptionLabel(t)},gv=function(e,t){return e.getOptionValue(t)};function bv(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function vv(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=gv(e,t);return n.some(function(t){return gv(e,t)===r})}function yv(e,t,n){return!e.filterOption||e.filterOption(t,n)}var xv=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Iv=1,Cv=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&&qh(e,t)}(t,C);var e=function(e){var t=tm();return function(){var n,r=em(e);if(t){var o=em(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nm(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(rm(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=Wg(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(Wg(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=Wg(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return mv(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return pv(uv(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 Eg.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return fv(r.props,e)},r.getOptionValue=function(e){return gv(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=av[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,Yh(Yh({},Cb),e.components);var e},r.buildCategorizedOptions=function(){return uv(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return dv(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Yh({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&&kg(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 xv(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,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.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(f)r.removeValue(f);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);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(!m)return;r.selectOption(m);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||++Iv),r.state.selectValue=Sg(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=mv(o,i[a])}return r}return function(e,t,n){t&&Qh(e.prototype,t),n&&Qh(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&&Gg(this.menuListRef,this.focusedOptionRef),(ov()||iv())&&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&&(Gg(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(sv):Yh(Yh({},sv),this.props.theme):sv}},{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 bv(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return vv(this.props,e,t)}},{key:"filterOption",value:function(e,t){return yv(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,h=d.ariaSelection,m=this.commonProps,f=o||this.getElementId("input"),g=Yh(Yh(Yh({"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==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,Ld({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,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(Xb,Ld({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ag,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,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,Ld({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Ld({},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(m)return null;var x=b[0];return r.createElement(s,Ld({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"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,Ld({},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,Ld({},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,Ld({},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,Ld({},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,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,S=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var B,k=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===i,m=a?void 0:function(){return e.onOptionHover(i)},f=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Ld({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:o,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=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,Ld({},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 k(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return k(t,"".concat(t.index))});else if(g){var P=b({inputValue:f});if(null===P)return null;B=r.createElement(l,d,P)}else{var L=E({inputValue:f});if(null===L)return null;B=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},G=r.createElement(Jg,Ld({},d,R),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return r.createElement(i,Ld({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(ev,{captureEnabled:m,onTopArrive:S,onBottomArrive:T,lockEnabled:A},function(t){return r.createElement(a,Ld({},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}),B)}))});return w||"fixed"===C?r.createElement(s,Ld({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),G):G}},{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(nv,{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(Bb,Ld({},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,Ld({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Ld({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(i,Ld({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Ld({},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,h=e.isMulti,m=Sg(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return dv(uv(e,t))}(e,m):[],b=d?pv(uv(e,m),"".concat(l,"-option")):[],v=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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:mv(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=a&&s;return a&&!C&&(I={value:Wg(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),Yh(Yh(Yh({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Cv.defaultProps=lv;var wv=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,a=void 0===i?null:i,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,p=e.onInputChange,h=e.onMenuClose,m=e.onMenuOpen,f=e.value,g=$h(e,Kh),b=Uh(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=Uh(c(void 0!==l?l:o),2),I=x[0],C=x[1],w=Uh(c(void 0!==f?f:a),2),A=w[0],N=w[1],E=d(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),S=d(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),T=d(function(){"function"==typeof m&&m(),C(!0)},[m]),B=d(function(){"function"==typeof h&&h(),C(!1)},[h]),k=void 0!==s?s:v,P=void 0!==l?l:I,L=void 0!==f?f:A;return Yh(Yh({},g),{},{inputValue:k,menuIsOpen:P,onChange:E,onInputChange:S,onMenuClose:B,onMenuOpen:T,value:L})}(e);return r.createElement(Cv,Ld({ref:t},n))}),Av=wv;const Nv=o.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=a(()=>Hb(d),[d]),A=a(()=>({control:({isFocused:e})=>Ze("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},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ze(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ze("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===(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"}),[s,o,m,n,p,v]);return"unstyled"===y?e(Av,{options:n,value:i,placeholder:c?`${l}*`:l,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Av,{options:n,value:i,placeholder:c?`${l}*`:l,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}),h&&e(br,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(br,{className:"footnote mt-1 text-text-info",children:f})]})});function Ev({paginatedArticles:n,totalArticles:r,currentPage:o,totalPages:i,selectedCategory:a,categoryOptions:s}){const l=B(),c=k(),u=P();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Nv,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,o,i,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Mr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e(Wh,{currentPage:o,totalPages:i,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}function Sv({title:n="recent articles",paginatedArticles:r,totalArticles:o,currentPage:i,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,imageComponent:d}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),l.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),r.length," of ",o," articles"]})]}),e(Nv,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),r.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:r.map((t,n)=>{var r,o,i,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Mr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:d,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e(Wh,{currentPage:i,totalPages:a,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})}Nv.displayName="Select";const Tv=n=>{const{links:r=[],textColor:o="dark",mobileTextColor:i,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=i?i:"desktop"===l?"dark":o)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":o)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,o)=>{const{image:i,...a}=n,s=(null==i?void 0:i.url)?i.url.startsWith("//")?`https:${i.url}`:i.url:"",l=o===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(br,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e("a",{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(gr,{name:"chevron_right",className:`${c} `})]},o)})})}):null},Bv=n=>{const{anchorId:r="SearchBlock",title:o,subTitle:i,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(br,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:o}),i&&e(br,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:i})]}),s?e(br,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Tr,{type:"submit",className:"ml-2 inline-flex",children:e(gr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(wo,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},kv={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Pv=n=>{const{title:r,variant:o="yellow",cta:i,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=kv[null==o?void 0:o.toLowerCase()]||kv.yellow;if(!s)return null;const u=(null==i?void 0:i.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==i?void 0:i.buttonVariant,showButtonAs:"solid",cta:i});return t("div",{style:{top:`${a}px`},className:Ze(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(br,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d]})};function Lv(r){var o,i,a;const[s,l]=c(0),[d,p]=c(""),{title:h,subTitle:m,tabs:f,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;u(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return l(t),!0})},[f,d]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(o=null==f?void 0:f.items)||void 0===o?void 0:o.map((t,n)=>e(Or,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==g?void 0:g.map((t,n)=>e("div",{children:e(Pd,{children:e(Ad.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),I=e(n,{children:null===(i=null==f?void 0:f.items)||void 0===i?void 0:i.map((n,r)=>t("div",{className:"py-5",children:[t(Or,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(gr,{name:r===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(Br,{open:r===s,children:e("div",{className:Ze("px-4 py-4"),children:null==g?void 0:g[r]})})]},r))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==f?void 0:f.items)||void 0===a?void 0:a.map((t,n)=>e(Or,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==g?void 0:g.map((t,n)=>e("div",{children:e(Pd,{children:e(Ad.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e(br,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e(br,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}function Rv(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Gv(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),o=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(o).padStart(2,"0")}`}const Ov=({ctaSuffixText:n,backgroundColor:r,iconName:o,boxShadow:i,ctaButtonLabel:s,ctaButtonLink:p,ctaButtonTarget:h,anchorId:m="anchored-banner",enableCountdownTimer:f,countdownStartDateTime:g,countdownEndDateTime:b})=>{const v=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",y="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",x=a(()=>Rv(b),[b]),I=a(()=>Rv(g),[g]),C=a(()=>!(!f||void 0===x)&&((!g||void 0!==I)&&(!(void 0!==I&&I>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:g,countdownEndDateTime:b}),!1))),[f,x,I,g,b]),[w,N]=c(()=>Date.now()),E=l(null),S=d(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);u(()=>{if(C)return E.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&S(),N(e)},1e3),S;S()},[C,x,S]);const T=a(()=>{if(!C||void 0===x)return{shouldShow:!1,text:""};if(void 0!==I&&w<I||w>=x)return{shouldShow:!1,text:""};const e=(x-w)/1e3;return{shouldShow:e>0,text:Gv(e)}},[C,x,I,w]);return e("section",{id:m,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${v} ${i||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(A,{href:p||"#",target:h||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[o&&e(gr,{name:o,size:24,fill:1,className:`${y} align-text-bottom`}),T.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:T.text}),T.shouldShow?" ":null,s&&s," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Dv({content:n}){let r=3;const[o,i]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=wt.get(e);return t?It(t):null}("cookieBannerClosed");i("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{var e,t,n,r;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),u(()=>{if(!o)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const i=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",i),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,a]);a&&(r=14);return o?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Or,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);i(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),o=xt(r);wt.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e(gr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const Vv=n=>{const{anchorId:r="email-input",title:o,subTitle:i,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:p,onSubmit:h}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},f=m[d]||m.green,g=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[I,C]=c("");return t("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${f} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[o&&e("h1",{className:`text-heading1 font-black ${g}`,children:o}),i&&e("h2",{className:`text-heading1 font-black ${g}`,children:i}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${g}`,children:a}),t("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&C(""),y&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e(Or,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(h({email:b}),v(""),x(!0),C("")):C("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),p&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${g}`,children:p})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})},Mv=({fields:n,isInPopupContainer:r=!1,onClose:o,onContinueCheckout:i,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:p,mainHeading:h,description:m,cta:f}=n,[g,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!g&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==i||i()};return r?t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e(br,{className:"heading5 text-center lg:heading3",children:h||"Welcome back. Let’s finish your order"}),m&&wr(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(Or,{onClick:v,buttonLabel:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(Dh,{size:"sm",isOpen:g,onRequestClose:()=>{null==o||o(),b(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(br,{className:"heading5 text-center lg:heading3",children:h||"Welcome back. Let&apos;s finish your order"}),m&&wr(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(Or,{onClick:v,buttonLabel:null!==(d=null==f?void 0:f.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{Lr as Accordion,Pv as AddressInputBanner,Ov as AnchoredBottomBanner,Mr as BlogCard,Ev as BlogGrid,Sv as BlogGridBase,Tv as BreadcrumbNavigation,Or as Button,eo as Callout,to as Cards,po as Carousel,Mv as CartRetentionBanner,Hh as ComparisonTable,Dv as CookieBanner,Mh as CtaCallout,Lv as DynamicTabs,Vv as EmailInputBlock,jh as FindKinetic,ho as FloatingBanner,mo as Footer,vo as ImagePromoBar,Dh as Modal,Ao as Navigation,To as PrimaryHero,oo as ProductCard,Bv as SearchBlock,Vh as ShapeBackgroundWrapper,Ur as SimpleCard,io as TestimonialCard,Bo as Text,Er as label1BoldOptions,wr as renderContentfulRichText,Nr as renderContentfulRichTextTable,Et as toDocument,Ar as useContentfulRichText,Sr as useProcessedChecklist};
13
+ */function Af(){return xf||(xf=1,"production"===process.env.NODE_ENV?bf.exports=function(){if(hf)return vf;hf=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return vf.AsyncMode=l,vf.ConcurrentMode=c,vf.ContextConsumer=s,vf.ContextProvider=a,vf.Element=t,vf.ForwardRef=u,vf.Fragment=r,vf.Lazy=m,vf.Memo=h,vf.Portal=n,vf.Profiler=i,vf.StrictMode=o,vf.Suspense=d,vf.isAsyncMode=function(e){return x(e)||y(e)===l},vf.isConcurrentMode=x,vf.isContextConsumer=function(e){return y(e)===s},vf.isContextProvider=function(e){return y(e)===a},vf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},vf.isForwardRef=function(e){return y(e)===u},vf.isFragment=function(e){return y(e)===r},vf.isLazy=function(e){return y(e)===m},vf.isMemo=function(e){return y(e)===h},vf.isPortal=function(e){return y(e)===n},vf.isProfiler=function(e){return y(e)===i},vf.isStrictMode=function(e){return y(e)===o},vf.isSuspense=function(e){return y(e)===d},vf.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===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},vf.typeOf=y,vf}():bf.exports=(yf||(yf=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 f=e.type;switch(f){case l:case c:case r:case i:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,A=t,N=u,E=r,S=m,T=h,B=n,k=i,P=o,L=d,R=!1;function G(e){return y(e)===c}wf.AsyncMode=x,wf.ConcurrentMode=I,wf.ContextConsumer=C,wf.ContextProvider=w,wf.Element=A,wf.ForwardRef=N,wf.Fragment=E,wf.Lazy=S,wf.Memo=T,wf.Portal=B,wf.Profiler=k,wf.StrictMode=P,wf.Suspense=L,wf.isAsyncMode=function(e){return R||(R=!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.")),G(e)||y(e)===l},wf.isConcurrentMode=G,wf.isContextConsumer=function(e){return y(e)===s},wf.isContextProvider=function(e){return y(e)===a},wf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},wf.isForwardRef=function(e){return y(e)===u},wf.isFragment=function(e){return y(e)===r},wf.isLazy=function(e){return y(e)===m},wf.isMemo=function(e){return y(e)===h},wf.isPortal=function(e){return y(e)===n},wf.isProfiler=function(e){return y(e)===i},wf.isStrictMode=function(e){return y(e)===o},wf.isSuspense=function(e){return y(e)===d},wf.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===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},wf.typeOf=y}()),wf)),bf.exports}!function(){if(Cf)return If;Cf=1;var e=Af(),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;If=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=i(t),f=i(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||o&&o[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Nf="undefined"!=typeof document;var Ef=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Nf&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Sf={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 Tf(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Bf=/[A-Z]|^ms/g,kf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pf=function(e){return 45===e.charCodeAt(1)},Lf=function(e){return null!=e&&"boolean"!=typeof e},Rf=Tf(function(e){return Pf(e)?e:e.replace(Bf,"-$&").toLowerCase()}),Gf=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(kf,function(e,t,n){return Df={name:t,styles:n,next:Df},t})}return 1===Sf[e]||Pf(e)||"number"!=typeof t||0===t?t:t+"px"};function Of(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 Df={name:o.name,styles:o.styles,next:Df},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Df={name:a.name,styles:a.styles,next:Df},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+=Of(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;Lf(s)&&(r+=Rf(i)+":"+Gf(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Lf(a[l])&&(r+=Rf(i)+":"+Gf(i,a[l])+";");else{var c=Of(e,t,a);switch(i){case"animation":case"animationName":r+=Rf(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Df,l=n(e);return Df=s,Of(e,t,l)}}return n}var Df,Vf=/label:\s*([^\s;{]+)\s*(;|$)/g;function Mf(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="";Df=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Of(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Of(n,t,e[a]),r)o+=i[a]}Vf.lastIndex=0;for(var s,l="";null!==(s=Vf.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:Df}}var jf="undefined"!=typeof document,Hf=function(e){return e()},Wf=!!r.useInsertionEffect&&r.useInsertionEffect,Xf=jf&&Wf||Hf,Ff="undefined"!=typeof document,zf=r.createContext("undefined"!=typeof HTMLElement?gf({key:"css"}):null);zf.Provider;var Zf=function(e){return i(function(t,n){var r=h(zf);return e(t,r,n)})};Ff||(Zf=function(e){return function(t){var n=h(zf);return null===n?(n=gf({key:"css"}),r.createElement(zf.Provider,{value:n},e(t,n))):e(t,n)}});var Yf,_f,Jf=r.createContext({}),Uf={}.hasOwnProperty,$f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Kf=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Ef(t,n,o);var i=Xf(function(){return function(e,t,n){Ef(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);Nf||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!Nf&&0!==o.length)return o}}(t,n,o)});if(!Ff&&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},Qf=Zf(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[$f],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=Mf(a,void 0,r.useContext(Jf));s+=t.key+"-"+l.name;var c={};for(var u in e)Uf.call(e,u)&&"css"!==u&&u!==$f&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Kf,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))}),qf=Qf,eg=function(e,t){var n=arguments;if(null==t||!Uf.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=qf,i[1]=function(e,t){var n={};for(var r in t)Uf.call(t,r)&&(n[r]=t[r]);return n[$f]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function tg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mf(t)}Yf=eg||(eg={}),_f||(_f=Yf.JSX||(Yf.JSX={}));const ng=Math.min,rg=Math.max,og=Math.round,ig=Math.floor,ag=e=>({x:e,y:e});function sg(){return"undefined"!=typeof window}function lg(e){return dg(e)?(e.nodeName||"").toLowerCase():"#document"}function cg(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ug(e){var t;return null==(t=(dg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function dg(e){return!!sg()&&(e instanceof Node||e instanceof cg(e).Node)}function pg(e){return!!sg()&&(e instanceof HTMLElement||e instanceof cg(e).HTMLElement)}function hg(e){return!(!sg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof cg(e).ShadowRoot)}const mg=new Set(["inline","contents"]);function fg(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=bg(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!mg.has(o)}const gg=new Set(["html","body","#document"]);function bg(e){return cg(e).getComputedStyle(e)}function vg(e){const t=function(e){if("html"===lg(e))return e;const t=e.assignedSlot||e.parentNode||hg(e)&&e.host||ug(e);return hg(t)?t.host:t}(e);return function(e){return gg.has(lg(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pg(t)&&fg(t)?t:vg(t)}function yg(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=vg(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=cg(o);if(i){const e=xg(a);return t.concat(a,a.visualViewport||[],fg(o)?o:[],e&&n?yg(e):[])}return t.concat(o,yg(o,[],n))}function xg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ig(e){return t=e,sg()&&(t instanceof Element||t instanceof cg(t).Element)?e:e.contextElement;var t}function Cg(e){const t=Ig(e);if(!pg(t))return ag(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=bg(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=pg(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=og(n)!==i||og(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?og(n.width):n.width)/r,s=(i?og(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function wg(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=Ig(e);let a=ag(1);t&&(a=Cg(e));const s=ag(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=cg(i),n=xg(t);for(;n&&r&&e!==t;){const e=Cg(n),r=n.getBoundingClientRect(),o=bg(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=cg(n),n=xg(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 Ag(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ng(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=Ig(e),u=o||i?[...c?yg(c):[],...yg(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=ug(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:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-ig(d)+"px "+-ig(o.clientWidth-(u+p))+"px "+-ig(o.clientHeight-(d+h))+"px "+-ig(u)+"px",threshold:rg(0,ng(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Ag(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f=l?wg(e):null;return l&&function t(){const r=wg(e);f&&!Ag(f,r)&&n();f=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=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Eg="undefined"!=typeof document?p:function(){},Sg=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Tg=function(){};function Bg(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function kg(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(Bg(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Pg=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Yh(e)&&null!==e?[e]:[];var t},Lg=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,$h({},em(e,Sg))},Rg=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 Gg(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Og(e){return Gg(e)?window.pageYOffset:e.scrollTop}function Dg(e,t){Gg(e)?window.scrollTo(0,t):e.scrollTop=t}function Vg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Tg,o=Og(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Dg(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Mg(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Dg(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Dg(e,Math.max(t.offsetTop-o,0))}function jg(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Hg=!1,Wg={get passive(){return Hg=!0}},Xg="undefined"!=typeof window?window:{};Xg.addEventListener&&Xg.removeEventListener&&(Xg.addEventListener("p",Tg,Wg),Xg.removeEventListener("p",Tg,!1));var Fg=Hg;function zg(e){return null!=e}function Zg(e,t,n){return e?t:n}var Yg=["children","innerProps"],_g=["children","innerProps"];function Jg(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(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Gg(u=l)?window.innerHeight:u.clientHeight,v=Og(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-f,w=I+v,A=d-v-f,N=h-b+v+y,E=v+f-x,S=160;switch(o){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return i&&Vg(l,N,S),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&C>=r)return i&&Vg(l,N,S),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===o||a){var T=t,B=a?I:w;return B>=r&&(T=Math.min(B-y-s,t)),{placement:"top",maxHeight:T}}if("bottom"===o)return i&&Dg(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return i&&Vg(l,E,S),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&I>=r){var k=t;return(!a&&w>=r||a&&I>=r)&&(k=a?I-x:w-x),i&&Vg(l,E,S),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Ug,$g=function(e){return"auto"===e?"bottom":e},Kg=d(null),Qg=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(h(Kg)||{}).setPortalPlacement,d=l(null),p=qh(c(r),2),m=p[0],f=p[1],g=qh(c(null),2),b=g[0],v=g[1],y=s.spacing.controlHeight;return Eg(function(){var e=d.current;if(e){var t="fixed"===i,s=Jg({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,o,i,a,n,u,y]),t({ref:d,placerProps:$h($h({},e),{},{placement:b||$g(o),maxHeight:m})})},qg=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return eg("div",Dd({},Rg(e,"menu",{menu:!0}),{ref:n},r),t)},eb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return $h({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},tb=eb,nb=eb,rb=["size"],ob=["innerProps","isRtl","size"];var ib,ab,sb="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},lb=function(e){var t=e.size,n=em(e,rb);return eg("svg",Dd({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:sb},n))},cb=function(e){return eg(lb,Dd({size:20},e),eg("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"}))},ub=function(e){return eg(lb,Dd({size:20},e),eg("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"}))},db=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return $h({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},pb=db,hb=db,mb=function(){var e=tg.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_"}}}(Ug||(ib=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ab||(ab=ib.slice(0)),Ug=Object.freeze(Object.defineProperties(ib,{raw:{value:Object.freeze(ab)}})))),fb=function(e){var t=e.delay,n=e.offset;return eg("span",{css:tg({animation:"".concat(mb," 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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},gb=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return eg("div",Dd({ref:o},Rg(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},bb=["data"],vb=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 eg("div",Dd({},Rg(e,"group",{group:!0}),s),eg(i,Dd({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),eg("div",null,t))},yb=["innerRef","isDisabled","isHidden","inputClassName"],xb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ib={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":$h({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xb)},Cb=function(e){return $h({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},xb)},wb=function(e){var t=e.cx,n=e.value,r=Lg(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=em(r,yb);return eg("div",Dd({},Rg(e,"input",{"input-container":!0}),{"data-value":n||""}),eg("input",Dd({className:t({input:!0},s),ref:o,style:Cb(a),disabled:i},l)))},Ab=function(e){var t=e.children,n=e.innerProps;return eg("div",n,t)};var Nb=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 eg(l,{data:r,innerProps:$h($h({},Rg(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},eg(c,{data:r,innerProps:$h({},Rg(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),eg(u,{data:r,innerProps:$h($h({},Rg(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Eb={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return eg("div",Dd({},Rg(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||eg(cb,null))},Control:gb,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return eg("div",Dd({},Rg(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||eg(ub,null))},DownChevron:ub,CrossIcon:cb,Group:vb,GroupHeading:function(e){var t=Lg(e);t.data;var n=em(t,bb);return eg("div",Dd({},Rg(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return eg("div",Dd({},Rg(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return eg("span",Dd({},t,Rg(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:wb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=em(e,ob);return eg("div",Dd({},Rg($h($h({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),eg(fb,{delay:0,offset:n}),eg(fb,{delay:160,offset:!0}),eg(fb,{delay:320,offset:!n}))},Menu:qg,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return eg("div",Dd({},Rg(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,s=e.menuPosition,u=l(null),d=l(null),p=qh(c($g(i)),2),h=p[0],m=p[1],g=a(function(){return{setPortalPlacement:m}},[]),b=qh(c(null),2),v=b[0],y=b[1],x=f(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"===s?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})}},[r,s,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Eg(function(){x()},[x]);var I=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=Ng(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Eg(function(){I()},[I]);var C=f(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==s||!v)return null;var w=eg("div",Dd({ref:C},Rg($h($h({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return eg(Kg.Provider,{value:g},t?T(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=em(e,_g);return eg("div",Dd({},Rg($h($h({},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=em(e,Yg);return eg("div",Dd({},Rg($h($h({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Nb,MultiValueContainer:Ab,MultiValueLabel:Ab,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return eg("div",Dd({role:"button"},n),t||eg(cb,{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 eg("div",Dd({},Rg(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 eg("div",Dd({},Rg(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return eg("div",Dd({},Rg(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return eg("div",Dd({},Rg(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 eg("div",Dd({},Rg(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},Sb=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Tb(e,t){return e===t||!(!Sb(e)||!Sb(t))}function Bb(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Tb(e[n],t[n]))return!1;return!0}for(var kb="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)."}},Pb=function(e){return eg("span",Dd({css:kb},e))},Lb={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:"",".")}},Rb=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,C=l.isLoading,w=l["aria-label"],A=l["aria-live"],N=a(function(){return $h($h({},Lb),d||{})},[d]),E=a(function(){var e,n="";if(t&&N.onChange){var r=t.option,o=t.options,i=t.removedValue,a=t.removedValues,l=t.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||a||void 0,h=d?d.map(p):[],m=$h({isDisabled:c&&f(c,s),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,f,s,p]),S=a(function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&N.onFocus){var a={focused:t,label:p(t),isDisabled:f(t,s),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=N.onFocus(a)}return e},[n,r,p,f,N,o,s,u]),T=a(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:o.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[o,h,b,N,v,y,C]),B="initial-input-focus"===(null==t?void 0:t.action),k=a(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&f(n,s),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:B})}return e},[w,n,r,m,f,g,b,N,s,I,B]),P=eg(x,null,eg("span",{id:"aria-selection"},E),eg("span",{id:"aria-focused"},S),eg("span",{id:"aria-results"},T),eg("span",{id:"aria-guidance"},k));return eg(x,null,eg(Pb,{id:c},B&&P),eg(Pb,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!B&&P))},Gb=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Ob=new RegExp("["+Gb.map(function(e){return e.letters}).join("")+"]","g"),Db={},Vb=0;Vb<Gb.length;Vb++)for(var Mb=Gb[Vb],jb=0;jb<Mb.letters.length;jb++)Db[Mb.letters[jb]]=Mb.base;var Hb=function(e){return e.replace(Ob,function(e){return Db[e]})},Wb=function(e,t){void 0===t&&(t=Bb);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}(Hb),Xb=function(e){return e.replace(/^\s+|\s+$/g,"")},Fb=function(e){return"".concat(e.label," ").concat(e.value)},zb=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=$h({ignoreCase:!0,ignoreAccents:!0,stringify:Fb,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Xb(n):n,u=s?Xb(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Wb(c),u=Hb(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Zb=["innerRef"];function Yb(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=qh(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=qh(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(em(e,Zb),"onExited","in","enter","exit","appear");return eg("input",Dd({ref:t},n,{css:tg({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+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var _b=["boxSizing","height","overflow","paddingRight","position"],Jb={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ub(e){e.cancelable&&e.preventDefault()}function $b(e){e.stopPropagation()}function Kb(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Qb(){return"ontouchstart"in window||navigator.maxTouchPoints}var qb=!("undefined"==typeof window||!window.document||!window.document.createElement),ev=0,tv={capture:!1,passive:!1};var nv=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},rv="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 ov(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=l(!1),s=l(!1),c=l(0),d=l(null),p=f(function(e,t){if(null!==d.current){var l=d.current,c=l.scrollTop,u=l.scrollHeight,p=l.clientHeight,h=d.current,m=t>0,f=u-p-c,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(i&&i(e),s.current=!1),m&&t>f?(n&&!a.current&&n(e),h.scrollTop=u,g=!0,a.current=!0):!m&&-t>c&&(o&&!s.current&&o(e),h.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,o,i]),h=f(function(e){p(e,e.deltaY)},[p]),m=f(function(e){c.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=c.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=f(function(e){if(e){var t=!!Fg&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),v=f(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return u(function(){if(t){var e=d.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){d.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=l({}),i=l(null),a=f(function(e){if(qb){var t=document.body,n=t&&t.style;if(r&&_b.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&ev<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Jb).forEach(function(e){var t=Jb[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Qb()&&(t.addEventListener("touchmove",Ub,tv),e&&(e.addEventListener("touchstart",Kb,tv),e.addEventListener("touchmove",$b,tv))),ev+=1}},[r]),s=f(function(e){if(qb){var t=document.body,n=t&&t.style;ev=Math.max(ev-1,0),r&&ev<1&&_b.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Qb()&&(t.removeEventListener("touchmove",Ub,tv),e&&(e.removeEventListener("touchstart",Kb,tv),e.removeEventListener("touchmove",$b,tv)))}},[r]);return u(function(){if(t){var e=i.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){i.current=e}}({isEnabled:n});return eg(x,null,n&&eg("div",{onClick:nv,css:rv}),t(function(e){o(e),i(e)}))}var iv="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)."}},av=function(e){var t=e.name,n=e.onFocus;return eg("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:iv,value:"",onChange:function(){}})};function sv(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 lv(){return sv(/^Mac/i)}function cv(){return sv(/^iPhone/i)||sv(/^iPad/i)||lv()&&navigator.maxTouchPoints>1}var uv={clearIndicator:hb,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 $h({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:pb,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 $h({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 $h({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 $h($h({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ib),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 $h({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:nb,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return $h((Jh(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Jh(n,"position","absolute"),Jh(n,"width","100%"),Jh(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 $h({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 $h({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 $h({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 $h({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:tb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return $h({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 $h({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 $h({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 $h({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")})}},dv={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}},pv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:jg(),captureMenuScroll:!jg(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:zb(),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 hv(e,t,n,r){return{type:"option",data:t,isDisabled:Iv(e,t,n),isSelected:Cv(e,t,n),label:yv(e,t),value:xv(e,t),index:r}}function mv(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return hv(e,n,t,r)}).filter(function(t){return bv(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=hv(e,n,t,r);return bv(e,i)?i:void 0}).filter(zg)}function fv(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,sm(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function gv(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,sm(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 bv(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Av(e)||!i)&&wv(e,{label:a,value:s,data:o},r)}var vv=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},yv=function(e,t){return e.getOptionLabel(t)},xv=function(e,t){return e.getOptionValue(t)};function Iv(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Cv(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=xv(e,t);return n.some(function(t){return xv(e,t)===r})}function wv(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Av=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Nv=1,Ev=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&&rm(e,t)}(t,C);var e=function(e){var t=im();return function(){var n,r=om(e);if(t){var o=om(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return am(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(sm(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=Zg(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(Zg(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=Zg(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return vv(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return gv(mv(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 kg.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return yv(r.props,e)},r.getOptionValue=function(e){return xv(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=uv[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,$h($h({},Eb),e.components);var e},r.buildCategorizedOptions=function(){return mv(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return fv(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:$h({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&&Gg(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 Av(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,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.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(f)r.removeValue(f);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);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(!m)return;r.selectOption(m);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||++Nv),r.state.selectValue=Pg(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=vv(o,i[a])}return r}return function(e,t,n){t&&nm(e.prototype,t),n&&nm(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&&Mg(this.menuListRef,this.focusedOptionRef),(lv()||cv())&&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&&(Mg(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(dv):$h($h({},dv),this.props.theme):dv}},{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 Iv(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Cv(this.props,e,t)}},{key:"filterOption",value:function(e,t){return wv(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,h=d.ariaSelection,m=this.commonProps,f=o||this.getElementId("input"),g=$h($h($h({"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==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,Dd({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,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(Yb,Dd({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tg,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,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,Dd({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Dd({},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(m)return null;var x=b[0];return r.createElement(s,Dd({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"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,Dd({},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,Dd({},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,Dd({},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,Dd({},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,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,S=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var B,k=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===i,m=a?void 0:function(){return e.onOptionHover(i)},f=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Dd({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:o,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=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,Dd({},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 k(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return k(t,"".concat(t.index))});else if(g){var P=b({inputValue:f});if(null===P)return null;B=r.createElement(l,d,P)}else{var L=E({inputValue:f});if(null===L)return null;B=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},G=r.createElement(Qg,Dd({},d,R),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return r.createElement(i,Dd({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(ov,{captureEnabled:m,onTopArrive:S,onBottomArrive:T,lockEnabled:A},function(t){return r.createElement(a,Dd({},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}),B)}))});return w||"fixed"===C?r.createElement(s,Dd({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),G):G}},{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(av,{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(Rb,Dd({},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,Dd({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Dd({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(i,Dd({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Dd({},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,h=e.isMulti,m=Pg(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return fv(mv(e,t))}(e,m):[],b=d?gv(mv(e,m),"".concat(l,"-option")):[],v=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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:vv(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=a&&s;return a&&!C&&(I={value:Zg(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),$h($h($h({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Ev.defaultProps=pv;var Sv=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,a=void 0===i?null:i,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=em(e,tm),b=qh(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=qh(c(void 0!==l?l:o),2),I=x[0],C=x[1],w=qh(c(void 0!==m?m:a),2),A=w[0],N=w[1],E=f(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),S=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),T=f(function(){"function"==typeof h&&h(),C(!0)},[h]),B=f(function(){"function"==typeof p&&p(),C(!1)},[p]),k=void 0!==s?s:v,P=void 0!==l?l:I,L=void 0!==m?m:A;return $h($h({},g),{},{inputValue:k,menuIsOpen:P,onChange:E,onInputChange:S,onMenuClose:B,onMenuOpen:T,value:L})}(e);return r.createElement(Ev,Dd({ref:t},n))}),Tv=Sv;const Bv=o.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=a(()=>zb(d),[d]),A=a(()=>({control:({isFocused:e})=>Ze("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},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ze(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ze("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===(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"}),[s,o,m,n,p,v]);return"unstyled"===y?e(Tv,{options:n,value:i,placeholder:c?`${l}*`:l,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Tv,{options:n,value:i,placeholder:c?`${l}*`:l,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}),h&&e(br,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(br,{className:"footnote mt-1 text-text-info",children:f})]})});function kv({paginatedArticles:n,totalArticles:r,currentPage:o,totalPages:i,selectedCategory:a,categoryOptions:s}){const l=B(),c=k(),u=P();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Bv,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,o,i,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Mr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e(Zh,{currentPage:o,totalPages:i,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}function Pv({title:n="recent articles",paginatedArticles:r,totalArticles:o,currentPage:i,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,imageComponent:d}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),l.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),r.length," of ",o," articles"]})]}),e(Bv,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),r.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:r.map((t,n)=>{var r,o,i,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Mr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:d,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e(Zh,{currentPage:i,totalPages:a,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})}Bv.displayName="Select";const Lv=n=>{const{links:r=[],textColor:o="dark",mobileTextColor:i,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=i?i:"desktop"===l?"dark":o)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":o)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,o)=>{const{image:i,...a}=n,s=(null==i?void 0:i.url)?i.url.startsWith("//")?`https:${i.url}`:i.url:"",l=o===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(br,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e("a",{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(gr,{name:"chevron_right",className:`${c} `})]},o)})})}):null},Rv=n=>{const{anchorId:r="SearchBlock",title:o,subTitle:i,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(br,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:o}),i&&e(br,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:i})]}),s?e(br,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Tr,{type:"submit",className:"ml-2 inline-flex",children:e(gr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Ed,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},Gv={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Ov=n=>{const{title:r,variant:o="yellow",cta:i,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Gv[null==o?void 0:o.toLowerCase()]||Gv.yellow;if(!s)return null;const u=(null==i?void 0:i.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==i?void 0:i.buttonVariant,showButtonAs:"solid",cta:i});return t("div",{style:{top:`${a}px`},className:Ze(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(br,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d]})};function Dv(r){var o,i,a;const[s,l]=c(0),[d,p]=c(""),{title:h,subTitle:m,tabs:f,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;u(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return l(t),!0})},[f,d]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(o=null==f?void 0:f.items)||void 0===o?void 0:o.map((t,n)=>e(Or,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==g?void 0:g.map((t,n)=>e("div",{children:e($u,{children:e(Fu.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),I=e(n,{children:null===(i=null==f?void 0:f.items)||void 0===i?void 0:i.map((n,r)=>t("div",{className:"py-5",children:[t(Or,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(gr,{name:r===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(Br,{open:r===s,children:e("div",{className:Ze("px-4 py-4"),children:null==g?void 0:g[r]})})]},r))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==f?void 0:f.items)||void 0===a?void 0:a.map((t,n)=>e(Or,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==g?void 0:g.map((t,n)=>e("div",{children:e($u,{children:e(Fu.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e(br,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e(br,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}function Vv(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Mv(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),o=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(o).padStart(2,"0")}`}const jv=({ctaSuffixText:n,backgroundColor:r,iconName:o,boxShadow:i,ctaButtonLabel:s,ctaButtonLink:d,ctaButtonTarget:p,anchorId:h="anchored-banner",enableCountdownTimer:m,countdownStartDateTime:g,countdownEndDateTime:b})=>{const v=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",y="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",x=a(()=>Vv(b),[b]),I=a(()=>Vv(g),[g]),C=a(()=>!(!m||void 0===x)&&((!g||void 0!==I)&&(!(void 0!==I&&I>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:g,countdownEndDateTime:b}),!1))),[m,x,I,g,b]),[w,N]=c(()=>Date.now()),E=l(null),S=f(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);u(()=>{if(C)return E.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&S(),N(e)},1e3),S;S()},[C,x,S]);const T=a(()=>{if(!C||void 0===x)return{shouldShow:!1,text:""};if(void 0!==I&&w<I||w>=x)return{shouldShow:!1,text:""};const e=(x-w)/1e3;return{shouldShow:e>0,text:Mv(e)}},[C,x,I,w]);return e("section",{id:h,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${v} ${i||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(A,{href:d||"#",target:p||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[o&&e(gr,{name:o,size:24,fill:1,className:`${y} align-text-bottom`}),T.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:T.text}),T.shouldShow?" ":null,s&&s," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Hv({content:n}){let r=3;const[o,i]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=wt.get(e);return t?It(t):null}("cookieBannerClosed");i("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{var e,t,n,r;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),u(()=>{if(!o)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const i=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",i),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,a]);a&&(r=14);return o?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Or,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);i(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),o=xt(r);wt.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e(gr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const Wv=n=>{const{anchorId:r="email-input",title:o,subTitle:i,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:p,onSubmit:h}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},f=m[d]||m.green,g=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[I,C]=c("");return t("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${f} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[o&&e("h1",{className:`text-heading1 font-black ${g}`,children:o}),i&&e("h2",{className:`text-heading1 font-black ${g}`,children:i}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${g}`,children:a}),t("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&C(""),y&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e(Or,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(h({email:b}),v(""),x(!0),C("")):C("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),p&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${g}`,children:p})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})},Xv=({fields:n,isInPopupContainer:r=!1,onClose:o,onContinueCheckout:i,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:p,mainHeading:h,description:m,cta:f}=n,[g,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!g&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==i||i()};return r?t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e(br,{className:"heading5 text-center lg:heading3",children:h||"Welcome back. Let’s finish your order"}),m&&wr(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(Or,{onClick:v,buttonLabel:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(Hh,{size:"sm",isOpen:g,onRequestClose:()=>{null==o||o(),b(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(br,{className:"heading5 text-center lg:heading3",children:h||"Welcome back. Let&apos;s finish your order"}),m&&wr(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(Or,{onClick:v,buttonLabel:null!==(d=null==f?void 0:f.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{Lr as Accordion,Ov as AddressInputBanner,jv as AnchoredBottomBanner,Mr as BlogCard,kv as BlogGrid,Pv as BlogGridBase,Lv as BreadcrumbNavigation,Or as Button,od as Callout,id as Cards,fd as Carousel,Xv as CartRetentionBanner,zh as ComparisonTable,Hv as CookieBanner,Xh as CtaCallout,Dv as DynamicTabs,Wv as EmailInputBlock,Fh as FindKinetic,gd as FloatingBanner,bd as Footer,Id as ImagePromoBar,Hh as Modal,Sd as Navigation,Pd as PrimaryHero,ld as ProductCard,Rv as SearchBlock,Wh as ShapeBackgroundWrapper,Ur as SimpleCard,cd as TestimonialCard,Ld as Text,Er as label1BoldOptions,wr as renderContentfulRichText,Nr as renderContentfulRichTextTable,Et as toDocument,Ar as useContentfulRichText,Sr as useProcessedChecklist};
14
14
  //# sourceMappingURL=index.esm.js.map