@windstream/react-shared-components 0.1.93 → 0.1.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/contentful/index.esm.js +2 -2
  2. package/dist/contentful/index.esm.js.map +1 -1
  3. package/dist/contentful/index.js +3 -3
  4. package/dist/contentful/index.js.map +1 -1
  5. package/dist/core.d.ts +2 -2
  6. package/dist/index.d.ts +2 -2
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +3 -3
  10. package/dist/index.js.map +1 -1
  11. package/dist/styles.css +1 -1
  12. package/dist/utils/index.esm.js +1 -1
  13. package/dist/utils/index.js +1 -1
  14. package/package.json +14 -8
  15. package/src/components/accordion/index.test.tsx +270 -0
  16. package/src/components/alert-card/index.test.tsx +152 -0
  17. package/src/components/animation-wrapper/index.test.tsx +424 -0
  18. package/src/components/brand-button/index.test.tsx +292 -0
  19. package/src/components/button/index.test.tsx +91 -0
  20. package/src/components/call-button/index.test.tsx +260 -0
  21. package/src/components/checkbox/index.test.tsx +252 -0
  22. package/src/components/checklist/index.test.tsx +231 -0
  23. package/src/components/checklist/index.tsx +64 -29
  24. package/src/components/checklist/types.ts +7 -1
  25. package/src/components/collapse/index.test.tsx +277 -0
  26. package/src/components/collapse/index.tsx +1 -0
  27. package/src/components/divider/index.test.tsx +53 -0
  28. package/src/components/image/index.test.tsx +174 -0
  29. package/src/components/input/index.test.tsx +348 -0
  30. package/src/components/link/index.test.tsx +199 -0
  31. package/src/components/list/index.test.tsx +166 -0
  32. package/src/components/material-icon/index.test.tsx +130 -0
  33. package/src/components/modal/index.test.tsx +310 -0
  34. package/src/components/next-image/index.test.tsx +406 -0
  35. package/src/components/pagination/index.test.tsx +521 -0
  36. package/src/components/radio-button/index.test.tsx +151 -0
  37. package/src/components/see-more/index.test.tsx +96 -0
  38. package/src/components/select/index.test.tsx +256 -0
  39. package/src/components/select-plan-button/index.test.tsx +173 -0
  40. package/src/components/skeleton/index.test.tsx +74 -0
  41. package/src/components/spinner/index.test.tsx +76 -0
  42. package/src/components/text/index.test.tsx +65 -0
  43. package/src/components/tooltip/index.test.tsx +50 -0
  44. package/src/components/view-cart-button/index.test.tsx +57 -0
  45. package/src/contentful/blocks/accordion/index.test.tsx +218 -0
  46. package/src/contentful/blocks/accordion/index.tsx +3 -1
  47. package/src/contentful/blocks/address-input-banner/index.test.tsx +132 -0
  48. package/src/contentful/blocks/anchored-bottom-banner/index.test.tsx +287 -0
  49. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.tsx +5 -4
  50. package/src/contentful/blocks/blogs-grid/index.test.tsx +355 -0
  51. package/src/contentful/blocks/blogs-grid-base/index.test.tsx +274 -0
  52. package/src/contentful/blocks/breadcrumbs/index.test.tsx +281 -0
  53. package/src/contentful/blocks/button/index.test.tsx +339 -0
  54. package/src/contentful/blocks/callout/index.test.tsx +539 -0
  55. package/src/contentful/blocks/cards/blog-card/index.test.tsx +218 -0
  56. package/src/contentful/blocks/cards/floating-image-card/index.test.tsx +201 -0
  57. package/src/contentful/blocks/cards/full-image-card/index.test.tsx +216 -0
  58. package/src/contentful/blocks/cards/index.test.tsx +39 -0
  59. package/src/contentful/blocks/cards/product-card/index.test.tsx +263 -0
  60. package/src/contentful/blocks/cards/simple-card/index.test.tsx +364 -0
  61. package/src/contentful/blocks/cards/simple-card/index.tsx +1 -1
  62. package/src/contentful/blocks/cards/testimonial-card/index.test.tsx +180 -0
  63. package/src/contentful/blocks/carousel/helper.test.tsx +539 -0
  64. package/src/contentful/blocks/carousel/index.test.tsx +308 -0
  65. package/src/contentful/blocks/carousel/types.test.ts +16 -0
  66. package/src/contentful/blocks/cart-retention-banner/index.test.tsx +409 -0
  67. package/src/contentful/blocks/cart-retention-banner/index.tsx +4 -4
  68. package/src/contentful/blocks/comparison-table/index.test.tsx +114 -0
  69. package/src/contentful/blocks/cookiebanner/index.test.tsx +277 -0
  70. package/src/contentful/blocks/cta-callout/index.test.tsx +244 -0
  71. package/src/contentful/blocks/dynamic-tabs/index.test.tsx +240 -0
  72. package/src/contentful/blocks/email-input-block/index.test.tsx +213 -0
  73. package/src/contentful/blocks/email-input-block/index.tsx +40 -35
  74. package/src/contentful/blocks/find-kinetic/index.test.tsx +269 -0
  75. package/src/contentful/blocks/floating-banner/index.test.tsx +246 -0
  76. package/src/contentful/blocks/footer/index.test.tsx +302 -0
  77. package/src/contentful/blocks/image-promo-bar/helper.test.tsx +61 -0
  78. package/src/contentful/blocks/image-promo-bar/index.test.tsx +467 -0
  79. package/src/contentful/blocks/image-promo-bar/index.tsx +248 -246
  80. package/src/contentful/blocks/image-promo-bar/vimeo-embed.test.tsx +142 -0
  81. package/src/contentful/blocks/image-promo-bar/youtube-embed.test.tsx +104 -0
  82. package/src/contentful/blocks/modal/index.test.tsx +209 -0
  83. package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.test.tsx +208 -0
  84. package/src/contentful/blocks/navigation/index.test.tsx +924 -0
  85. package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.test.tsx +131 -0
  86. package/src/contentful/blocks/primary-hero/index.test.tsx +286 -0
  87. package/src/contentful/blocks/primary-hero/index.tsx +7 -4
  88. package/src/contentful/blocks/search-block/index.test.tsx +268 -0
  89. package/src/contentful/blocks/shape-background-wrapper/index.test.tsx +284 -0
  90. package/src/contentful/blocks/text/index.test.tsx +36 -0
  91. package/src/contentful/index.test.ts +45 -0
  92. package/src/global-mocks/contentful/to-document.ts +25 -0
  93. package/src/global-mocks/cookie.ts +48 -0
  94. package/src/global-mocks/cx.ts +37 -0
  95. package/src/global-mocks/index.ts +89 -0
  96. package/src/global-mocks/speed-card-bg.ts +27 -0
  97. package/src/global-mocks/utm.ts +49 -0
  98. package/src/hooks/contentful/use-contentful-rich-text.test.tsx +1758 -0
  99. package/src/hooks/contentful/use-contentful-rich-text.tsx +1 -1
  100. package/src/hooks/contentful/use-processed-check-list.test.tsx +277 -0
  101. package/src/hooks/use-body-scroll-lock.test.ts +134 -0
  102. package/src/hooks/use-carousel-swipe.test.ts +393 -0
  103. package/src/hooks/use-outside-click.test.ts +142 -0
  104. package/src/index.ts +1 -1
  105. package/src/next/index.test.ts +7 -0
  106. package/src/setupTests.ts +17 -11
  107. package/src/utils/contentful/to-document.test.ts +85 -0
  108. package/src/utils/cookie.test.ts +180 -0
  109. package/src/utils/cx.test.ts +90 -0
  110. package/src/utils/index.test.ts +115 -0
  111. package/src/utils/speed-card-bg.test.ts +46 -0
  112. package/src/utils/utm.test.ts +359 -0
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),o=require("next/image"),r=require("react-dom");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var s=i(t);function a(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=a(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function l(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=a(e))&&(o&&(o+=" "),o+=t);return o}const c=e=>{const t=f(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),u(n,t)||p(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},u=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?u(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},d=/^\[(.+)\]$/,p=e=>{if(d.test(e)){const t=d.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},f=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)h(n[e],o,e,t);return o},h=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:m(t,e)).classGroupId=n)}if("function"==typeof e)return g(e)?void h(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{h(r,m(t,e),n,o)})})},m=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},g=e=>e.isThemeGetter,b=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},v=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===o&&0===r){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?o++:"]"===a?o--:"("===a?r++:")"===a&&r--}const s=0===t.length?e:e.substring(i),a=y(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},y=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,x=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)}),n.push(...o.sort()),n}},I=/\s+/;function C(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=A(e))&&(o&&(o+=" "),o+=t);return o}const A=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=A(e[o]))&&(n&&(n+=" "),n+=t);return n};function w(e,...t){let n,o,r,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:b(e.cacheSize),parseClassName:v(e),sortModifiers:x(e),...c(e)}))(l),o=n.cache.get,r=n.cache.set,i=s,s(a)};function s(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],a=e.trim().split(I);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!f,m=o(h?p.substring(0,f):p);if(!m){if(!h){l=t+(l.length>0?" "+l:l);continue}if(m=o(p),!m){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+m;if(s.includes(v))continue;s.push(v);const y=r(m,h);for(let e=0;e<y.length;++e){const t=y[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,i),i}return function(){return i(C.apply(null,arguments))}}const E=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},N=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G=/^\((?:(\w[\w-]*):)?(.+)\)$/i,R=/^\d+\/\d+$/,T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\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$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,V=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>R.test(e),O=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),D=e=>e.endsWith("%")&&O(e.slice(0,-1)),L=e=>T.test(e),j=()=>!0,X=e=>S.test(e)&&!P.test(e),W=()=>!1,H=e=>V.test(e),F=e=>k.test(e),Z=e=>!Y(e)&&!K(e),z=e=>ie(e,ce,W),Y=e=>N.test(e),J=e=>ie(e,ue,X),U=e=>ie(e,de,O),_=e=>ie(e,ae,W),Q=e=>ie(e,le,F),$=e=>ie(e,fe,H),K=e=>G.test(e),q=e=>se(e,ue),ee=e=>se(e,pe),te=e=>se(e,ae),ne=e=>se(e,ce),oe=e=>se(e,le),re=e=>se(e,fe,!0),ie=(e,t,n)=>{const o=N.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},se=(e,t,n=!1)=>{const o=G.exec(e);return!!o&&(o[1]?t(o[1]):n)},ae=e=>"position"===e||"percentage"===e,le=e=>"image"===e||"url"===e,ce=e=>"length"===e||"size"===e||"bg-size"===e,ue=e=>"length"===e,de=e=>"number"===e,pe=e=>"family-name"===e,fe=e=>"shadow"===e,he=()=>{const e=E("color"),t=E("font"),n=E("text"),o=E("font-weight"),r=E("tracking"),i=E("leading"),s=E("breakpoint"),a=E("container"),l=E("spacing"),c=E("radius"),u=E("shadow"),d=E("inset-shadow"),p=E("text-shadow"),f=E("drop-shadow"),h=E("blur"),m=E("perspective"),g=E("aspect"),b=E("ease"),v=E("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",K,Y],x=()=>[K,Y,l],I=()=>[B,"full","auto",...x()],C=()=>[M,"none","subgrid",K,Y],A=()=>["auto",{span:["full",M,K,Y]},M,K,Y],w=()=>[M,"auto",K,Y],N=()=>["auto","min","max","fr",K,Y],G=()=>["auto",...x()],R=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,K,Y],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",te,_,{position:[K,Y]}],P=()=>["auto","cover","contain",ne,z,{size:[K,Y]}],V=()=>[D,q,J],k=()=>["","none","full",c,K,Y],X=()=>["",O,q,J],W=()=>[O,D,te,_],H=()=>["","none",h,K,Y],F=()=>["none",O,K,Y],ie=()=>["none",O,K,Y],se=()=>[O,K,Y],ae=()=>[B,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L],breakpoint:[L],color:[j],container:[L],"drop-shadow":[L],ease:["in","out","in-out"],font:[Z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L],shadow:[L],spacing:["px",O],text:[L],"text-shadow":[L],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,Y,K,g]}],container:["container"],columns:[{columns:[O,Y,K,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[M,"auto",K,Y]}],basis:[{basis:[B,"full","auto",a,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,B,"auto","initial","none",Y]}],grow:[{grow:["",O,K,Y]}],shrink:[{shrink:["",O,K,Y]}],order:[{order:[M,"first","last","none",K,Y]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":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:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],w:[{w:[a,"screen",...R()]}],"min-w":[{"min-w":[a,"screen","none",...R()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",n,q,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,K,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",D,Y]}],"font-family":[{font:[ee,Y,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,K,Y]}],"line-clamp":[{"line-clamp":[O,"none",K,U]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",K,Y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Y]}],"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:[O,"from-font","auto",K,J]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[O,"auto",K,Y]}],"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",K,Y]}],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",K,Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,K,Y],radial:["",K,Y],conic:[M,K,Y]},oe,Q]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"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":[O,K,Y]}],"outline-w":[{outline:["",O,q,J]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,re,$]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,re,$]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[O,J]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,re,$]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[O,K,Y]}],"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":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"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":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"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":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"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":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"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":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"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":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"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":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[K,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"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":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"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:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Y]}],filter:[{filter:["","none",K,Y]}],blur:[{blur:H()}],brightness:[{brightness:[O,K,Y]}],contrast:[{contrast:[O,K,Y]}],"drop-shadow":[{"drop-shadow":["","none",f,re,$]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",O,K,Y]}],"hue-rotate":[{"hue-rotate":[O,K,Y]}],invert:[{invert:["",O,K,Y]}],saturate:[{saturate:[O,K,Y]}],sepia:[{sepia:["",O,K,Y]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Y]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[O,K,Y]}],"backdrop-contrast":[{"backdrop-contrast":[O,K,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,K,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,K,Y]}],"backdrop-invert":[{"backdrop-invert":["",O,K,Y]}],"backdrop-opacity":[{"backdrop-opacity":[O,K,Y]}],"backdrop-saturate":[{"backdrop-saturate":[O,K,Y]}],"backdrop-sepia":[{"backdrop-sepia":["",O,K,Y]}],"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",K,Y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",K,Y]}],ease:[{ease:["linear","initial",b,K,Y]}],delay:[{delay:[O,K,Y]}],animate:[{animate:["none",v,K,Y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,K,Y]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:F()}],"rotate-x":[{"rotate-x":F()}],"rotate-y":[{"rotate-y":F()}],"rotate-z":[{"rotate-z":F()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[K,Y,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"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",K,Y]}],"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",K,Y]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[O,q,J,U]}],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"]}},me=(e,t,n)=>{void 0!==n&&(e[t]=n)},ge=(e,t)=>{if(t)for(const n in t)me(e,n,t[n])},be=(e,t)=>{if(t)for(const n in t)ve(e,t,n)},ve=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},ye=((e,...t)=>"function"==typeof e?w(he,e,...t):w(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(me(e,"cacheSize",t),me(e,"prefix",n),me(e,"experimentalParseClassName",o),ge(e.theme,i.theme),ge(e.classGroups,i.classGroups),ge(e.conflictingClassGroups,i.conflictingClassGroups),ge(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),me(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),be(e.theme,r.theme),be(e.classGroups,r.classGroups),be(e.conflictingClassGroups,r.conflictingClassGroups),be(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ve(e,r,"orderSensitiveModifiers"),e))(he(),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"]}}}),xe=(...e)=>ye(l(...e));
3
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),o=require("next/image"),r=require("react-dom");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var s=i(t);function a(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=a(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function l(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=a(e))&&(o&&(o+=" "),o+=t);return o}const c=e=>{const t=f(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),u(n,t)||p(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},u=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?u(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},d=/^\[(.+)\]$/,p=e=>{if(d.test(e)){const t=d.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},f=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)h(n[e],o,e,t);return o},h=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:m(t,e)).classGroupId=n)}if("function"==typeof e)return g(e)?void h(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{h(r,m(t,e),n,o)})})},m=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},g=e=>e.isThemeGetter,b=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},v=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===o&&0===r){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?o++:"]"===a?o--:"("===a?r++:")"===a&&r--}const s=0===t.length?e:e.substring(i),a=y(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},y=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,x=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)}),n.push(...o.sort()),n}},I=/\s+/;function C(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=A(e))&&(o&&(o+=" "),o+=t);return o}const A=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=A(e[o]))&&(n&&(n+=" "),n+=t);return n};function w(e,...t){let n,o,r,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:b(e.cacheSize),parseClassName:v(e),sortModifiers:x(e),...c(e)}))(l),o=n.cache.get,r=n.cache.set,i=s,s(a)};function s(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],a=e.trim().split(I);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!f,m=o(h?p.substring(0,f):p);if(!m){if(!h){l=t+(l.length>0?" "+l:l);continue}if(m=o(p),!m){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+m;if(s.includes(v))continue;s.push(v);const y=r(m,h);for(let e=0;e<y.length;++e){const t=y[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,i),i}return function(){return i(C.apply(null,arguments))}}const E=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},N=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G=/^\((?:(\w[\w-]*):)?(.+)\)$/i,R=/^\d+\/\d+$/,T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\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$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,V=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>R.test(e),O=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),D=e=>e.endsWith("%")&&O(e.slice(0,-1)),j=e=>T.test(e),L=()=>!0,X=e=>S.test(e)&&!P.test(e),W=()=>!1,H=e=>V.test(e),F=e=>k.test(e),Z=e=>!Y(e)&&!K(e),z=e=>ie(e,ce,W),Y=e=>N.test(e),J=e=>ie(e,ue,X),U=e=>ie(e,de,O),_=e=>ie(e,ae,W),Q=e=>ie(e,le,F),$=e=>ie(e,fe,H),K=e=>G.test(e),q=e=>se(e,ue),ee=e=>se(e,pe),te=e=>se(e,ae),ne=e=>se(e,ce),oe=e=>se(e,le),re=e=>se(e,fe,!0),ie=(e,t,n)=>{const o=N.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},se=(e,t,n=!1)=>{const o=G.exec(e);return!!o&&(o[1]?t(o[1]):n)},ae=e=>"position"===e||"percentage"===e,le=e=>"image"===e||"url"===e,ce=e=>"length"===e||"size"===e||"bg-size"===e,ue=e=>"length"===e,de=e=>"number"===e,pe=e=>"family-name"===e,fe=e=>"shadow"===e,he=()=>{const e=E("color"),t=E("font"),n=E("text"),o=E("font-weight"),r=E("tracking"),i=E("leading"),s=E("breakpoint"),a=E("container"),l=E("spacing"),c=E("radius"),u=E("shadow"),d=E("inset-shadow"),p=E("text-shadow"),f=E("drop-shadow"),h=E("blur"),m=E("perspective"),g=E("aspect"),b=E("ease"),v=E("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",K,Y],x=()=>[K,Y,l],I=()=>[B,"full","auto",...x()],C=()=>[M,"none","subgrid",K,Y],A=()=>["auto",{span:["full",M,K,Y]},M,K,Y],w=()=>[M,"auto",K,Y],N=()=>["auto","min","max","fr",K,Y],G=()=>["auto",...x()],R=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,K,Y],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",te,_,{position:[K,Y]}],P=()=>["auto","cover","contain",ne,z,{size:[K,Y]}],V=()=>[D,q,J],k=()=>["","none","full",c,K,Y],X=()=>["",O,q,J],W=()=>[O,D,te,_],H=()=>["","none",h,K,Y],F=()=>["none",O,K,Y],ie=()=>["none",O,K,Y],se=()=>[O,K,Y],ae=()=>[B,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j],breakpoint:[j],color:[L],container:[j],"drop-shadow":[j],ease:["in","out","in-out"],font:[Z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[j],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[j],shadow:[j],spacing:["px",O],text:[j],"text-shadow":[j],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,Y,K,g]}],container:["container"],columns:[{columns:[O,Y,K,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[M,"auto",K,Y]}],basis:[{basis:[B,"full","auto",a,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,B,"auto","initial","none",Y]}],grow:[{grow:["",O,K,Y]}],shrink:[{shrink:["",O,K,Y]}],order:[{order:[M,"first","last","none",K,Y]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":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:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],w:[{w:[a,"screen",...R()]}],"min-w":[{"min-w":[a,"screen","none",...R()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",n,q,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,K,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",D,Y]}],"font-family":[{font:[ee,Y,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,K,Y]}],"line-clamp":[{"line-clamp":[O,"none",K,U]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",K,Y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Y]}],"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:[O,"from-font","auto",K,J]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[O,"auto",K,Y]}],"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",K,Y]}],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",K,Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,K,Y],radial:["",K,Y],conic:[M,K,Y]},oe,Q]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"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":[O,K,Y]}],"outline-w":[{outline:["",O,q,J]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,re,$]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,re,$]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[O,J]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,re,$]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[O,K,Y]}],"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":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"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":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"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":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"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":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"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":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"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":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"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":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[K,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"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":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"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:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Y]}],filter:[{filter:["","none",K,Y]}],blur:[{blur:H()}],brightness:[{brightness:[O,K,Y]}],contrast:[{contrast:[O,K,Y]}],"drop-shadow":[{"drop-shadow":["","none",f,re,$]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",O,K,Y]}],"hue-rotate":[{"hue-rotate":[O,K,Y]}],invert:[{invert:["",O,K,Y]}],saturate:[{saturate:[O,K,Y]}],sepia:[{sepia:["",O,K,Y]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Y]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[O,K,Y]}],"backdrop-contrast":[{"backdrop-contrast":[O,K,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,K,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,K,Y]}],"backdrop-invert":[{"backdrop-invert":["",O,K,Y]}],"backdrop-opacity":[{"backdrop-opacity":[O,K,Y]}],"backdrop-saturate":[{"backdrop-saturate":[O,K,Y]}],"backdrop-sepia":[{"backdrop-sepia":["",O,K,Y]}],"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",K,Y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",K,Y]}],ease:[{ease:["linear","initial",b,K,Y]}],delay:[{delay:[O,K,Y]}],animate:[{animate:["none",v,K,Y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,K,Y]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:F()}],"rotate-x":[{"rotate-x":F()}],"rotate-y":[{"rotate-y":F()}],"rotate-z":[{"rotate-z":F()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[K,Y,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"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",K,Y]}],"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",K,Y]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[O,q,J,U]}],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"]}},me=(e,t,n)=>{void 0!==n&&(e[t]=n)},ge=(e,t)=>{if(t)for(const n in t)me(e,n,t[n])},be=(e,t)=>{if(t)for(const n in t)ve(e,t,n)},ve=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},ye=((e,...t)=>"function"==typeof e?w(he,e,...t):w(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(me(e,"cacheSize",t),me(e,"prefix",n),me(e,"experimentalParseClassName",o),ge(e.theme,i.theme),ge(e.classGroups,i.classGroups),ge(e.conflictingClassGroups,i.conflictingClassGroups),ge(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),me(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),be(e.theme,r.theme),be(e.classGroups,r.classGroups),be(e.conflictingClassGroups,r.conflictingClassGroups),be(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ve(e,r,"orderSensitiveModifiers"),e))(he(),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"]}}}),xe=(...e)=>ye(l(...e));
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}!function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=Ie({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in r)r[s]&&(i+="; "+s,!0!==r[s]&&(i+="="+r[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},r=0;r<n.length;r++){var i=n[r].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(o[a]=t.read(s,a),e===a)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",Ie({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ie({},this.attributes,t))},withConverter:function(t){return e(Ie({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var Ce=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}({}),Ae=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});const we=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE,Ce.TABLE],Ee=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE];Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ce.HR,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE;const Ne={[Ce.OL_LIST]:[Ce.LIST_ITEM],[Ce.UL_LIST]:[Ce.LIST_ITEM],[Ce.LIST_ITEM]:Ee,[Ce.QUOTE]:[Ce.PARAGRAPH],[Ce.TABLE]:[Ce.TABLE_ROW],[Ce.TABLE_ROW]:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],[Ce.TABLE_CELL]:[Ce.PARAGRAPH,Ce.UL_LIST,Ce.OL_LIST],[Ce.TABLE_HEADER_CELL]:[Ce.PARAGRAPH]};Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6;Ce.PARAGRAPH,Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ae.HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.ASSET_HYPERLINK,Ae.EMBEDDED_ENTRY,Ce.DOCUMENT,Ce.PARAGRAPH;const Ge=({path:e,property:t,typeName:n,value:o})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:o});class Re{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,o=e??this.path.last()??"value";return this.catch(Ge({typeName:"Object",property:o,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(Ge({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(Ge({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(Ge({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let o=!1;n.forEach((n,r)=>{if(o)return;const i=t(n,this.path.of(e).of(r));i.length>0&&(o=!0),this.catch(...i)})}}const Te=[];class Se{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Re(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:o,min:r=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===o.length&&r>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${r} with no nodeTypes`);if(n.minLength("content",r),0===o.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Re(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){const o=this.validateData?.(e.data,t.of("data"))??[];n.catch(...o)}return n.errors}}class Pe extends Se{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Re(e,t);if(n.object("target")){const o=new Re(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[this.type]),o.enum("linkType",[this.linkType]),"Link"===this.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...o.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Ve=(e,t)=>new Se(e,t),ke=(e,t)=>new Pe(e,t);Ve([...Object.values(Ae),"text"].sort()),Ve([Ce.LIST_ITEM]),ke("Entry",Te),Ve(()=>({nodeTypes:[Ce.PARAGRAPH],min:1}),(e,t)=>{const n=new Re(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Ce.DOCUMENT,Ve(we),Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Ve(Ne[Ce.QUOTE]),Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,ke("Asset",Te),Ce.EMBEDDED_RESOURCE,ke("Contentful:Entry",Te),Ce.HR,Ve(Te),Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Ve([...Ee].sort()),Ce.TABLE,Ve(()=>({nodeTypes:[Ce.TABLE_ROW],min:1})),Ce.TABLE_ROW,Ve(()=>({nodeTypes:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],min:1})),Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ae.HYPERLINK,new class extends Se{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Re(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,ke("Contentful:Entry",Te),Ae.ENTRY_HYPERLINK,ke("Entry",["text"]),Ae.ASSET_HYPERLINK,ke("Asset",["text"]),Ae.RESOURCE_HYPERLINK,ke("Contentful:Entry",["text"]),Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_RESOURCE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ce.QUOTE,Ce.HR,Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_HEADER_CELL,Ce.TABLE_CELL,Ae.ASSET_HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.RESOURCE_HYPERLINK,Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,Ae.HYPERLINK;const Be={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Oe=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},s)=>{const a=xe("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:s,className:a,style:r,...i,children:t})});Oe.displayName="ListItem";const Me=t.forwardRef(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=xe(u,`list--${t}`,`list--${s}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Oe,{className:t.className,variant:s,children:t.content},t.id||n)):null),f={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});Me.displayName="List";const De=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:xe("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};De.displayName="MaterialIcon";const Le=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},s)=>{const a=n||"p";return t.createElement(a,{ref:s,className:o,style:r,...i},e)});Le.displayName="Text";const je=t=>{const{items:n,listIconName:o="check",listItemClassName:r,listContainerClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==o;return(null==n?void 0:n.length)?e.jsx(Me,{className:xe("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Oe,{variant:u?"unstyled":"default",className:xe(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(De,{name:o,size:s,color:Be[l],weight:"600",className:xe("block","top"===a?"mt-1":"",c)})}),e.jsx(Le,{as:"div",children:t})]},n))}):null};var Xe;je.displayName="Checklist";const We="function"==typeof n?n:null!==(Xe=n.default)&&void 0!==Xe?Xe:n,He=t.forwardRef(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},f=xe(d,`link--${i}`,l&&"link--disabled",o),h={...c,ref:u,className:f,style:s,href:l?void 0:n,onClick:p,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(We,{href:n||"#",className:f,onClick:p,...c,children:t})});He.displayName="Link",Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ae.HYPERLINK,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_ENTRY,Ae.EMBEDDED_ENTRY;const Fe=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},s)=>e.jsx("button",{ref:s,className:xe(n),style:o,disabled:r,...i,children:t}));Fe.displayName="Button";const Ze=(n,o)=>{const{className:r,size:i,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:h=24,suffixIconName:m,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:y,hasError:x,type:I,...C}=n,A=x?"error":c,[w,E]=t.useState(!1),[N,G]=t.useState(!1),[R,T]=t.useState(I||"text"),S=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:xe("inline-block pb-1"),children:e.jsxs(Le,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:xe("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"],b,(w||"hover"===A)&&!N&&"error"!==A&&"border-input-border-hover",(N||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(De,{name:d,fill:p?1:0,size:h,className:xe(v)})}):null,e.jsx("input",{ref:o,id:l,disabled:y||C.disabled,className:xe("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:a,type:R,...C,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),G(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),G(!1)}}),m?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:S,children:e.jsx(De,{name:"text"===R?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===A&&u&&""!=u?e.jsxs(Le,{className:xe("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(De,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})},ze=t.forwardRef(Ze);ze.displayName="Input";const Ye=t.forwardRef(({as:t,className:n="",...o},r)=>{const i=xe(n);if(t){const n=t;return e.jsx(n,{ref:r,className:i,...o})}return e.jsx("img",{ref:r,className:i,...o})});Ye.displayName="Image";const Je=(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})(o),Ue=({src:e,width:t,quality:n})=>{const o=new URL(e);return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(n||90)),o.searchParams.set("fm","webp"),o.toString()},_e=t.forwardRef(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",s=r.includes("images.ctfassets.net"),a=s&&i.endsWith(".svg"),l=s&&!a?{loader:Ue,unoptimized:!1}:{unoptimized:a};return e.jsx(Je,{ref:o,className:xe(t),...n,...l})});_e.displayName="NextImage";const Qe=t=>{const{color:n="#fff",size:o="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:xe("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[o],t.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:n,children:[e.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e.jsx("span",{className:"sr-only",children:"Loading..."})]})};Qe.displayName="Spinner";const $e=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(He,{...c,className:xe("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"}[r],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:xe("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"}[r]),children:e.jsx(De,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]});return null==a||!1===a||""===a?u:e.jsxs("span",{className:xe("flex items-center gap-2",l),children:["string"==typeof a||"number"==typeof a?e.jsx("span",{className:"text-sm font-normal text-text",children:a}):a,u]})};function Ke(e,n){t.useEffect(()=>{if("undefined"==typeof document)return;const t=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${t}px`:"unset",document.body.style.overflow=e?"hidden":n?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,n])}function qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function et(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),n}$e.displayName="CallButton";var tt,nt={exports:{}},ot={},rt={exports:{}},it={exports:{}},st={};var at,lt,ct,ut,dt,pt,ft,ht,mt,gt,bt,vt,yt,xt,It,Ct={};
5
+ function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}!function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=Ie({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in r)r[s]&&(i+="; "+s,!0!==r[s]&&(i+="="+r[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},r=0;r<n.length;r++){var i=n[r].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(o[a]=t.read(s,a),e===a)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",Ie({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ie({},this.attributes,t))},withConverter:function(t){return e(Ie({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var Ce=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}({}),Ae=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});const we=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE,Ce.TABLE],Ee=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE];Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ce.HR,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE;const Ne={[Ce.OL_LIST]:[Ce.LIST_ITEM],[Ce.UL_LIST]:[Ce.LIST_ITEM],[Ce.LIST_ITEM]:Ee,[Ce.QUOTE]:[Ce.PARAGRAPH],[Ce.TABLE]:[Ce.TABLE_ROW],[Ce.TABLE_ROW]:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],[Ce.TABLE_CELL]:[Ce.PARAGRAPH,Ce.UL_LIST,Ce.OL_LIST],[Ce.TABLE_HEADER_CELL]:[Ce.PARAGRAPH]};Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6;Ce.PARAGRAPH,Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ae.HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.ASSET_HYPERLINK,Ae.EMBEDDED_ENTRY,Ce.DOCUMENT,Ce.PARAGRAPH;const Ge=({path:e,property:t,typeName:n,value:o})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:o});class Re{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,o=e??this.path.last()??"value";return this.catch(Ge({typeName:"Object",property:o,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(Ge({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(Ge({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(Ge({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let o=!1;n.forEach((n,r)=>{if(o)return;const i=t(n,this.path.of(e).of(r));i.length>0&&(o=!0),this.catch(...i)})}}const Te=[];class Se{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Re(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:o,min:r=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===o.length&&r>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${r} with no nodeTypes`);if(n.minLength("content",r),0===o.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Re(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){const o=this.validateData?.(e.data,t.of("data"))??[];n.catch(...o)}return n.errors}}class Pe extends Se{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Re(e,t);if(n.object("target")){const o=new Re(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[this.type]),o.enum("linkType",[this.linkType]),"Link"===this.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...o.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Ve=(e,t)=>new Se(e,t),ke=(e,t)=>new Pe(e,t);Ve([...Object.values(Ae),"text"].sort()),Ve([Ce.LIST_ITEM]),ke("Entry",Te),Ve(()=>({nodeTypes:[Ce.PARAGRAPH],min:1}),(e,t)=>{const n=new Re(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Ce.DOCUMENT,Ve(we),Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Ve(Ne[Ce.QUOTE]),Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,ke("Asset",Te),Ce.EMBEDDED_RESOURCE,ke("Contentful:Entry",Te),Ce.HR,Ve(Te),Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Ve([...Ee].sort()),Ce.TABLE,Ve(()=>({nodeTypes:[Ce.TABLE_ROW],min:1})),Ce.TABLE_ROW,Ve(()=>({nodeTypes:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],min:1})),Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ae.HYPERLINK,new class extends Se{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Re(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,ke("Contentful:Entry",Te),Ae.ENTRY_HYPERLINK,ke("Entry",["text"]),Ae.ASSET_HYPERLINK,ke("Asset",["text"]),Ae.RESOURCE_HYPERLINK,ke("Contentful:Entry",["text"]),Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_RESOURCE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ce.QUOTE,Ce.HR,Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_HEADER_CELL,Ce.TABLE_CELL,Ae.ASSET_HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.RESOURCE_HYPERLINK,Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,Ae.HYPERLINK;const Be={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Oe=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},s)=>{const a=xe("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:s,className:a,style:r,...i,children:t})});Oe.displayName="ListItem";const Me=t.forwardRef(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=xe(u,`list--${t}`,`list--${s}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Oe,{className:t.className,variant:s,children:t.content},t.id||n)):null),f={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});Me.displayName="List";const De=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:xe("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};De.displayName="MaterialIcon";const je=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},s)=>{const a=n||"p";return t.createElement(a,{ref:s,className:o,style:r,...i},e)});je.displayName="Text";const Le=n=>{const{items:o,listIconName:r="check",listItemClassName:i,listContainerClassName:s,iconSize:a=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==r;return(null==o?void 0:o.length)?e.jsx(Me,{className:xe("mt-2 space-y-1",s),variant:d?"unstyled":"default",children:o.map((n,o)=>{const s=function(e){return null!==e&&"object"==typeof e&&!t.isValidElement(e)&&"title"in e}(n),p=s&&!!n.iconUrl,f=s?n.title:n;return e.jsxs(Oe,{variant:d?"unstyled":"default",className:xe(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&p?e.jsx("div",{className:"flex shrink-0 leading-none",children:e.jsx("img",{src:n.iconUrl,alt:n.iconAlt||"",width:a,height:a,className:xe("block object-contain","top"===l?"mt-1":"",u)})}):d?e.jsx("div",{className:"flex leading-none",children:e.jsx(De,{name:r,size:a,color:Be[c],weight:"600",className:xe("block","top"===l?"mt-1":"",u)})}):null,e.jsx(je,{as:"div",children:f})]},o)})}):null};var Xe;Le.displayName="Checklist";const We="function"==typeof n?n:null!==(Xe=n.default)&&void 0!==Xe?Xe:n,He=t.forwardRef(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},f=xe(d,`link--${i}`,l&&"link--disabled",o),h={...c,ref:u,className:f,style:s,href:l?void 0:n,onClick:p,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(We,{href:n||"#",className:f,onClick:p,...c,children:t})});He.displayName="Link",Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ae.HYPERLINK,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_ENTRY,Ae.EMBEDDED_ENTRY;const Fe=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},s)=>e.jsx("button",{ref:s,className:xe(n),style:o,disabled:r,...i,children:t}));Fe.displayName="Button";const Ze=(n,o)=>{const{className:r,size:i,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:h=24,suffixIconName:m,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:y,hasError:x,type:I,...C}=n,A=x?"error":c,[w,E]=t.useState(!1),[N,G]=t.useState(!1),[R,T]=t.useState(I||"text"),S=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:xe("inline-block pb-1"),children:e.jsxs(je,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:xe("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"],b,(w||"hover"===A)&&!N&&"error"!==A&&"border-input-border-hover",(N||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(De,{name:d,fill:p?1:0,size:h,className:xe(v)})}):null,e.jsx("input",{ref:o,id:l,disabled:y||C.disabled,className:xe("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:a,type:R,...C,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),G(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),G(!1)}}),m?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:S,children:e.jsx(De,{name:"text"===R?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===A&&u&&""!=u?e.jsxs(je,{className:xe("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(De,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})},ze=t.forwardRef(Ze);ze.displayName="Input";const Ye=t.forwardRef(({as:t,className:n="",...o},r)=>{const i=xe(n);if(t){const n=t;return e.jsx(n,{ref:r,className:i,...o})}return e.jsx("img",{ref:r,className:i,...o})});Ye.displayName="Image";const Je=(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})(o),Ue=({src:e,width:t,quality:n})=>{const o=new URL(e);return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(n||90)),o.searchParams.set("fm","webp"),o.toString()},_e=t.forwardRef(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",s=r.includes("images.ctfassets.net"),a=s&&i.endsWith(".svg"),l=s&&!a?{loader:Ue,unoptimized:!1}:{unoptimized:a};return e.jsx(Je,{ref:o,className:xe(t),...n,...l})});_e.displayName="NextImage";const Qe=t=>{const{color:n="#fff",size:o="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:xe("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[o],t.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:n,children:[e.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e.jsx("span",{className:"sr-only",children:"Loading..."})]})};Qe.displayName="Spinner";const $e=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(He,{...c,className:xe("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"}[r],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:xe("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"}[r]),children:e.jsx(De,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]});return null==a||!1===a||""===a?u:e.jsxs("span",{className:xe("flex items-center gap-2",l),children:["string"==typeof a||"number"==typeof a?e.jsx("span",{className:"text-sm font-normal text-text",children:a}):a,u]})};function Ke(e,n){t.useEffect(()=>{if("undefined"==typeof document)return;const t=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${t}px`:"unset",document.body.style.overflow=e?"hidden":n?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,n])}function qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function et(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),n}$e.displayName="CallButton";var tt,nt={exports:{}},ot={},rt={exports:{}},it={exports:{}},st={};var at,lt,ct,ut,dt,pt,ft,ht,mt,gt,bt,vt,yt,xt,It,Ct={};
6
6
  /** @license React v16.13.1
7
7
  * react-is.development.js
8
8
  *
@@ -27,5 +27,5 @@ object-assign
27
27
  *
28
28
  * http://api.jqueryui.com/category/ui-core/
29
29
  */
30
- var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(Ot,Ot.exports)),Ot.exports}function Dt(){if(Vt)return Bt;Vt=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.resetState=function(){o=[]},Bt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Bt.handleBlur=s,Bt.handleFocus=a,Bt.markForFocusLater=function(){o.push(document.activeElement)},Bt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Bt.popWithoutFocus=function(){o.length>0&&o.pop()},Bt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",a,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",a))},Bt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",a)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",a))};var e,t=Mt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function s(){i=!0}function a(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Bt}var Lt,jt={exports:{}};function Xt(){return Lt||(Lt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=n[0],l=n[n.length-1],c=i();if(e===c){if(!s)return;o=l}l!==c||s||(o=a);a===c&&s&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=s?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=s?l:a).focus();t.preventDefault(),o.focus()};var n,o=Mt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(jt,jt.exports)),jt.exports}var Wt,Ht,Ft={};function Zt(){if(Ht)return Wt;Ht=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Wt=e}var zt,Yt,Jt,Ut={},_t={exports:{}};function Qt(){if(Yt)return Ut;Yt=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.canUseDOM=Ut.SafeNodeList=Ut.SafeHTMLCollection=void 0;var e,t,n=(zt||(zt=1,e=_t,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),_t.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Ut.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Ut.SafeNodeList=o.canUseDOM?window.NodeList:{},Ut.canUseDOM=o.canUseDOM,Ut.default=r,Ut}function $t(){if(Jt)return Ft;Jt=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Ft.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Ft.assertNodeList=i,Ft.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Ft.validateElement=s,Ft.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Ft.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Ft.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Zt(),n=(e=t)&&e.__esModule?e:{default:e},o=Qt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Ft}var Kt,qt={};function en(){if(Kt)return qt;Kt=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var s in t)n(i,t[s]);e={},t={}},qt.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return qt.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},qt.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},qt}var tn,nn={};function on(){if(tn)return nn;tn=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},nn.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return nn.default=t,nn}var rn,sn,an={};function ln(){return sn||(sn=1,function(e,n){Object.defineProperty(n,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=t,a=g(St()),l=m(Dt()),c=g(Xt()),u=m($t()),d=m(en()),p=Qt(),f=g(p),h=g(on());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(rn)return an;rn=1,Object.defineProperty(an,"__esModule",{value:!0}),an.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},an.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=on(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function s(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",s),(r=o.cloneNode()).addEventListener("focus",s)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;i&&d.remove(a.body,i),r&&d.remove(a.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=o.base;return n.state.afterOpen&&(i=i+" "+o.afterOpen),n.state.beforeClose&&(i=i+" "+o.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,s=i&&i().ownerDocument||document;r&&d.add(s.body,r),o&&d.add(s.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,i=e.defaultStyles,s=e.children,a=n?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,s);return this.props.overlayElement(c,d)}}]),t}(s.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(p.SafeHTMLCollection),a.default.instanceOf(p.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=y,e.exports=n.default}(kt,kt.exports)),kt.exports}function cn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function un(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function dn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}cn.__suppressDeprecationWarning=!0,un.__suppressDeprecationWarning=!0,dn.__suppressDeprecationWarning=!0;var pn,fn,hn=et(Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=cn,t.componentWillReceiveProps=un),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=dn;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,o)}}return e}}));function mn(){if(pn)return ot;pn=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.bodyOpenClassName=ot.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),o=t,i=f(o),s=f(r),a=f(St()),l=f(ln()),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}($t()),u=Qt(),d=f(u),p=hn;function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=ot.portalClassName="ReactModalPortal",g=ot.bodyOpenClassName="ReactModal__Body--open",b=u.canUseDOM&&void 0!==s.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return b?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function x(e){return e()}var I=function(t){function o(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var a=arguments.length,c=Array(a),u=0;u<a;u++)c[u]=arguments[u];return n=r=h(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),r.removePortal=function(){!b&&s.default.unmountComponentAtNode(r.node);var e=x(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=y()(r,i.default.createElement(l.default,e({defaultStyles:o.defaultStyles},t)),r.node);r.portalRef(n)},h(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,t),n(o,[{key:"componentDidMount",value:function(){u.canUseDOM&&(b||(this.node=v("div")),this.node.className=this.props.portalClassName,x(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:x(e.parentSelector),nextParent:x(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(u.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||r)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(u.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return u.canUseDOM&&b?(!this.node&&b&&(this.node=v("div")),y()(i.default.createElement(l.default,e({ref:this.portalRef,defaultStyles:o.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),o}(o.Component);return I.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(d.default),a.default.instanceOf(u.SafeHTMLCollection),a.default.instanceOf(u.SafeNodeList),a.default.arrayOf(a.default.instanceOf(d.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},I.defaultProps={isOpen:!1,portalClassName:m,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return i.default.createElement("div",e,t)},contentElement:function(e,t){return i.default.createElement("div",e,t)}},I.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(I),"production"!==process.env.NODE_ENV&&(I.setCreateHTMLElement=function(e){return v=e}),ot.default=I,ot}var gn=qe((fn||(fn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=mn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(nt,nt.exports)),nt.exports));function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bn.apply(null,arguments)}function vn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function yn(e,t){return yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yn(e,t)}var xn=qe(St()),In=!1,Cn="production"!==process.env.NODE_ENV?xn.oneOfType([xn.number,xn.shape({enter:xn.number,exit:xn.number,appear:xn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&xn.oneOfType([xn.string,xn.shape({enter:xn.string,exit:xn.string,active:xn.string}),xn.shape({enter:xn.string,enterDone:xn.string,enterActive:xn.string,exit:xn.string,exitDone:xn.string,exitActive:xn.string})]);var An=t.createContext(null),wn="unmounted",En="exited",Nn="entering",Gn="entered",Rn="exiting",Tn=function(e){var n,o;function i(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=En,o.appearStatus=Nn):r=Gn:r=t.unmountOnExit||t.mountOnEnter?wn:En,o.state={status:r},o.nextCallback=null,o}o=e,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,yn(n,o),i.getDerivedStateFromProps=function(e,t){return e.in&&t.status===wn?{status:En}:null};var s=i.prototype;return s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Nn&&n!==Gn&&(t=Nn):n!==Nn&&n!==Gn||(t=Rn)}this.updateStatus(!1,t)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},s.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Nn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===En&&this.setState({status:wn})},s.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[r.findDOMNode(this),o],s=i[0],a=i[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!n||In?this.safeSetState({status:Gn},function(){t.props.onEntered(s)}):(this.props.onEnter(s,a),this.safeSetState({status:Nn},function(){t.props.onEntering(s,a),t.onTransitionEnd(c,function(){t.safeSetState({status:Gn},function(){t.props.onEntered(s,a)})})}))},s.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:r.findDOMNode(this);t&&!In?(this.props.onExit(o),this.safeSetState({status:Rn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:En},function(){e.props.onExited(o)})})})):this.safeSetState({status:En},function(){e.props.onExited(o)})},s.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},s.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},s.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],s=i[0],a=i[1];this.props.addEndListener(s,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},s.render=function(){var e=this.state.status;if(e===wn)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=vn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(An.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},i}(t.Component);function Sn(){}Tn.contextType=An,Tn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:xn.shape({current:"undefined"==typeof Element?xn.any:function(e,t,n,o,r,i){var s=e[t];return xn.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:xn.oneOfType([xn.func.isRequired,xn.element.isRequired]).isRequired,in:xn.bool,mountOnEnter:xn.bool,unmountOnExit:xn.bool,appear:xn.bool,enter:xn.bool,exit:xn.bool,timeout:function(e){var t=Cn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:xn.func,onEnter:xn.func,onEntering:xn.func,onEntered:xn.func,onExit:xn.func,onExiting:xn.func,onExited:xn.func}:{},Tn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Sn,onEntering:Sn,onEntered:Sn,onExit:Sn,onExiting:Sn,onExited:Sn},Tn.UNMOUNTED=wn,Tn.EXITED=En,Tn.ENTERING=Nn,Tn.ENTERED=Gn,Tn.EXITING=Rn;const Pn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:a,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:h,closeWrapperClassName:m,onRequestClose:g,parentSelector:b,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:y=!1,...x})=>{Ke(a,v);const[I,C]=t.useState(!1);t.useEffect(()=>{C(a)},[a]);const A=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return b&&(e=document.querySelector(b)||document.body),e},[b]);if(!A)return null;if(!a)return null;const w=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),E=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e.jsx(Tn,{enter:!0,exit:!0,in:I,timeout:0,children:t=>e.jsxs(gn,{ariaHideApp:!1,isOpen:a,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>A,className:xe("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",w(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",E(r,t),u),portalClassName:xe("z-80",p),overlayClassName:xe("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",f),...x,children:[!y&&e.jsx("div",{className:xe(m),children:e.jsx(Fe,{className:xe("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:g,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e.jsx(De,{name:"close",size:24})})}),s?e.jsx("div",{className:xe("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e.jsx("div",{className:xe("p-5",d),style:c,"data-testid":x["data-testid"],"data-cy":x["data-cy"],children:l})]})})};Pn.displayName="Modal";const Vn=n=>{const{open:o,children:r}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(o?e.scrollHeight:0)};let n;return t(),o&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[o,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};Vn.displayName="Collapse";const kn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(r))},[d,r]),e.jsxs("div",{className:xe(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Fe,{type:"button",className:xe(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:xe("label5 flex-1",a),children:o}),e.jsx(De,{className:xe("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Vn,{open:f,children:e.jsx("div",{className:xe("px-4 py-4",l),children:i})})]})};kn.displayName="Accordion";const Bn=({state:n,checked:o=!1,onChange:r,className:i,label:s,labelClassName:a,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:f=!1,error:h=!1,"data-cy":m,renderInfoIcon:g,...b})=>{const v=p||"disabled"===n,y=d||c,x=xe("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),I=t.useCallback(e=>{v||r&&(1===r.length?r(e.target.checked):r())},[v,r]);return e.jsxs("div",{className:xe("flex items-center gap-3",l),children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"checkbox",id:y,name:c,value:u,checked:o,onChange:I,disabled:v,required:f,className:"peer sr-only","data-cy":m,...b}),e.jsx("label",{htmlFor:y,className:xe("peer-focus:outline",x),style:{pointerEvents:v?"none":"auto"},children:o?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{width:"24",height:"24",rx:"4",className:xe(v?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e.jsx("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:xe(v?"fill-checkbox-bg-surface-disabled":"fill-white")}),e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),s&&e.jsx("label",{htmlFor:y,className:xe("cursor-pointer",h&&"text-text-critical",a),children:s}),g&&e.jsx(Fe,{type:"button",onClick:g.onClick,"data-testid":g.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function On(e){return On="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},On(e)}function Mn(e){var t=function(e,t){if("object"!=On(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=On(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==On(t)?t:t+""}function Dn(e,t,n){return(t=Mn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function jn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach(function(t){Dn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Wn(e,t){if(e){if("string"==typeof e)return Xn(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)?Xn(e,t):void 0}}function Hn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||Wn(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 Fn(e,t){if(null==e)return{};var n,o,r=vn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Bn.displayName="Checkbox";var Zn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function zn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Mn(o.key),o)}}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yn(e)}function Jn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jn=function(){return!!e})()}function Un(e,t){if(t&&("object"==On(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 _n(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)||Wn(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 Qn=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}(),$n="-ms-",Kn="-moz-",qn="-webkit-",eo="comm",to="rule",no="decl",oo="@keyframes",ro=Math.abs,io=String.fromCharCode,so=Object.assign;function ao(e){return e.trim()}function lo(e,t,n){return e.replace(t,n)}function co(e,t){return e.indexOf(t)}function uo(e,t){return 0|e.charCodeAt(t)}function po(e,t,n){return e.slice(t,n)}function fo(e){return e.length}function ho(e){return e.length}function mo(e,t){return t.push(e),e}var go=1,bo=1,vo=0,yo=0,xo=0,Io="";function Co(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:go,column:bo,length:s,return:""}}function Ao(e,t){return so(Co("",null,null,"",null,null,0),e,{length:-e.length},t)}function wo(){return xo=yo>0?uo(Io,--yo):0,bo--,10===xo&&(bo=1,go--),xo}function Eo(){return xo=yo<vo?uo(Io,yo++):0,bo++,10===xo&&(bo=1,go++),xo}function No(){return uo(Io,yo)}function Go(){return yo}function Ro(e,t){return po(Io,e,t)}function To(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 So(e){return go=bo=1,vo=fo(Io=e),yo=0,[]}function Po(e){return Io="",e}function Vo(e){return ao(Ro(yo-1,Oo(91===e?e+2:40===e?e+1:e)))}function ko(e){for(;(xo=No())&&xo<33;)Eo();return To(e)>2||To(xo)>3?"":" "}function Bo(e,t){for(;--t&&Eo()&&!(xo<48||xo>102||xo>57&&xo<65||xo>70&&xo<97););return Ro(e,Go()+(t<6&&32==No()&&32==Eo()))}function Oo(e){for(;Eo();)switch(xo){case e:return yo;case 34:case 39:34!==e&&39!==e&&Oo(xo);break;case 40:41===e&&Oo(e);break;case 92:Eo()}return yo}function Mo(e,t){for(;Eo()&&e+xo!==57&&(e+xo!==84||47!==No()););return"/*"+Ro(t,yo-1)+"*"+io(47===e?e:Eo())}function Do(e){for(;!To(No());)Eo();return Ro(e,yo)}function Lo(e){return Po(jo("",null,null,null,[""],e=So(e),0,[0],e))}function jo(e,t,n,o,r,i,s,a,l){for(var c=0,u=0,d=s,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=r,I=i,C=o,A=y;g;)switch(h=v,v=Eo()){case 40:if(108!=h&&58==uo(A,d-1)){-1!=co(A+=lo(Vo(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:A+=Vo(v);break;case 9:case 10:case 13:case 32:A+=ko(h);break;case 92:A+=Bo(Go()-1,7);continue;case 47:switch(No()){case 42:case 47:mo(Wo(Mo(Eo(),Go()),t,n),l);break;default:A+="/"}break;case 123*m:a[c++]=fo(A)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(A=lo(A,/\f/g,"")),f>0&&fo(A)-d&&mo(f>32?Ho(A+";",o,n,d-1):Ho(lo(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(mo(C=Xo(A,t,n,c,u,r,a,y,x=[],I=[],d),i),123===v)if(0===u)jo(A,t,C,C,x,i,d,a,I);else switch(99===p&&110===uo(A,3)?100:p){case 100:case 108:case 109:case 115:jo(e,C,C,o&&mo(Xo(e,C,C,0,0,r,a,y,r,x=[],d),I),r,I,d,a,o?x:I);break;default:jo(A,C,C,C,[""],I,0,a,I)}}c=u=f=0,m=b=1,y=A="",d=s;break;case 58:d=1+fo(A),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==wo())continue;switch(A+=io(v),v*m){case 38:b=u>0?1:(A+="\f",-1);break;case 44:a[c++]=(fo(A)-1)*b,b=1;break;case 64:45===No()&&(A+=Vo(Eo())),p=No(),u=d=fo(y=A+=Do(Go())),v++;break;case 45:45===h&&2==fo(A)&&(m=0)}}return i}function Xo(e,t,n,o,r,i,s,a,l,c,u){for(var d=r-1,p=0===r?i:[""],f=ho(p),h=0,m=0,g=0;h<o;++h)for(var b=0,v=po(e,d+1,d=ro(m=s[h])),y=e;b<f;++b)(y=ao(m>0?p[b]+" "+v:lo(v,/&\f/g,p[b])))&&(l[g++]=y);return Co(e,t,n,0===r?to:a,l,c,u)}function Wo(e,t,n){return Co(e,t,n,eo,io(xo),po(e,2,-2),0)}function Ho(e,t,n,o){return Co(e,t,n,no,po(e,0,o),po(e,o+1,-1),o)}function Fo(e,t){for(var n="",o=ho(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Zo(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case no:return e.return=e.return||e.value;case eo:return"";case oo:return e.return=e.value+"{"+Fo(e.children,o)+"}";case to:e.value=e.props.join(",")}return fo(n=Fo(e.children,o))?e.return=e.value+"{"+n+"}":""}function zo(e){var t=ho(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}function Yo(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Jo="undefined"!=typeof document,Uo=function(e,t,n){for(var o=0,r=0;o=r,r=No(),38===o&&12===r&&(t[n]=1),!To(r);)Eo();return Ro(e,yo)},_o=function(e,t){return Po(function(e,t){var n=-1,o=44;do{switch(To(o)){case 0:38===o&&12===No()&&(t[n]=1),e[n]+=Uo(yo-1,t,n);break;case 2:e[n]+=Vo(o);break;case 4:if(44===o){e[++n]=58===No()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=io(o)}}while(o=Eo());return e}(So(e),t))},Qo=new WeakMap,$o=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qo.get(n))&&!o){Qo.set(e,!0);for(var r=[],i=_o(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},Ko=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function qo(e,t){switch(function(e,t){return 45^uo(e,0)?(((t<<2^uo(e,0))<<2^uo(e,1))<<2^uo(e,2))<<2^uo(e,3):0}(e,t)){case 5103:return qn+"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 qn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qn+e+Kn+e+$n+e+e;case 6828:case 4268:return qn+e+$n+e+e;case 6165:return qn+e+$n+"flex-"+e+e;case 5187:return qn+e+lo(e,/(\w+).+(:[^]+)/,qn+"box-$1$2"+$n+"flex-$1$2")+e;case 5443:return qn+e+$n+"flex-item-"+lo(e,/flex-|-self/,"")+e;case 4675:return qn+e+$n+"flex-line-pack"+lo(e,/align-content|flex-|-self/,"")+e;case 5548:return qn+e+$n+lo(e,"shrink","negative")+e;case 5292:return qn+e+$n+lo(e,"basis","preferred-size")+e;case 6060:return qn+"box-"+lo(e,"-grow","")+qn+e+$n+lo(e,"grow","positive")+e;case 4554:return qn+lo(e,/([^-])(transform)/g,"$1"+qn+"$2")+e;case 6187:return lo(lo(lo(e,/(zoom-|grab)/,qn+"$1"),/(image-set)/,qn+"$1"),e,"")+e;case 5495:case 3959:return lo(e,/(image-set\([^]*)/,qn+"$1$`$1");case 4968:return lo(lo(e,/(.+:)(flex-)?(.*)/,qn+"box-pack:$3"+$n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qn+e+e;case 4095:case 3583:case 4068:case 2532:return lo(e,/(.+)-inline(.+)/,qn+"$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(fo(e)-1-t>6)switch(uo(e,t+1)){case 109:if(45!==uo(e,t+4))break;case 102:return lo(e,/(.+:)(.+)-([^]+)/,"$1"+qn+"$2-$3$1"+Kn+(108==uo(e,t+3)?"$3":"$2-$3"))+e;case 115:return~co(e,"stretch")?qo(lo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==uo(e,t+1))break;case 6444:switch(uo(e,fo(e)-3-(~co(e,"!important")&&10))){case 107:return lo(e,":",":"+qn)+e;case 101:return lo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qn+(45===uo(e,14)?"inline-":"")+"box$3$1"+qn+"$2$3$1"+$n+"$2box$3")+e}break;case 5936:switch(uo(e,t+11)){case 114:return qn+e+$n+lo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qn+e+$n+lo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qn+e+$n+lo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qn+e+$n+e+e}return e}var er,tr,nr,or,rr=Jo?void 0:(er=function(){return Yo(function(){return{}})},tr=new WeakMap,function(e){if(tr.has(e))return tr.get(e);var t=er(e);return tr.set(e,t),t}),ir=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case no:e.return=qo(e.value,e.length);break;case oo:return Fo([Ao(e,{value:lo(e.value,"@","@"+qn)})],o);case to: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 Fo([Ao(e,{props:[lo(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Fo([Ao(e,{props:[lo(t,/:(plac\w+)/,":"+qn+"input-$1")]}),Ao(e,{props:[lo(t,/:(plac\w+)/,":-moz-$1")]}),Ao(e,{props:[lo(t,/:(plac\w+)/,$n+"input-$1")]})],o)}return""})}}],sr=function(e){var t=e.key;if(Jo&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||ir,s={},a=[];Jo&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[$o,Ko];if(rr){var u=[Zo],d=zo(c.concat(i,u)),p=rr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Fo(Lo(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}else{var h,m=[Zo,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=zo(c.concat(i,m));r=function(e,t,n,o){h=n,Fo(Lo(e?e+"{"+t.styles+"}":t.styles),g),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Qn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return b.sheet.hydrate(a),b};!function(){if(or)return nr;or=1;var e=At(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;nr=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=a(o);l&&(f=f.concat(l(o)));for(var h=i(t),m=i(o),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||r&&r[b]||m&&m[b]||h&&h[b])){var v=c(o,b);try{s(t,b,v)}catch(e){}}}}return t}}();var ar="undefined"!=typeof document;var lr=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===ar&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var cr={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},ur=/[A-Z]|^ms/g,dr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pr=function(e){return 45===e.charCodeAt(1)},fr=function(e){return null!=e&&"boolean"!=typeof e},hr=Yo(function(e){return pr(e)?e:e.replace(ur,"-$&").toLowerCase()}),mr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(dr,function(e,t,n){return br={name:t,styles:n,next:br},t})}return 1===cr[e]||pr(e)||"number"!=typeof t||0===t?t:t+"px"};function gr(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return br={name:r.name,styles:r.styles,next:br},r.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)br={name:s.name,styles:s.styles,next:br},s=s.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=gr(e,t,n[r])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;fr(a)&&(o+=hr(i)+":"+mr(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)fr(s[l])&&(o+=hr(i)+":"+mr(i,s[l])+";");else{var c=gr(e,t,s);switch(i){case"animation":case"animationName":o+=hr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var a=br,l=n(e);return br=a,gr(e,t,l)}}return n}var br,vr=/label:\s*([^\s;{]+)\s*(;|$)/g;function yr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";br=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=gr(n,t,i)):r+=i[0];for(var s=1;s<e.length;s++){if(r+=gr(n,t,e[s]),o)r+=i[s]}vr.lastIndex=0;for(var a,l="";null!==(a=vr.exec(r));)l+="-"+a[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:br}}var xr="undefined"!=typeof document,Ir=function(e){return e()},Cr=!!s.useInsertionEffect&&s.useInsertionEffect,Ar=xr&&Cr||Ir,wr="undefined"!=typeof document,Er=s.createContext("undefined"!=typeof HTMLElement?sr({key:"css"}):null);Er.Provider;var Nr=function(e){return t.forwardRef(function(n,o){var r=t.useContext(Er);return e(n,r,o)})};wr||(Nr=function(e){return function(n){var o=t.useContext(Er);return null===o?(o=sr({key:"css"}),s.createElement(Er.Provider,{value:o},e(n,o))):e(n,o)}});var Gr,Rr,Tr=s.createContext({}),Sr={}.hasOwnProperty,Pr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Vr=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;lr(t,n,o);var r=Ar(function(){return function(e,t,n){lr(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var s=e.insert(t===i?"."+o:"",i,e.sheet,!0);ar||void 0===s||(r+=s),i=i.next}while(void 0!==i);if(!ar&&0!==r.length)return r}}(t,n,o)});if(!wr&&void 0!==r){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return s.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},kr=Nr(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Pr],i=[o],a="";"string"==typeof e.className?a=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=yr(i,void 0,s.useContext(Tr));a+=t.key+"-"+l.name;var c={};for(var u in e)Sr.call(e,u)&&"css"!==u&&u!==Pr&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),s.createElement(s.Fragment,null,s.createElement(Vr,{cache:t,serialized:l,isStringTag:"string"==typeof r}),s.createElement(r,c))}),Br=kr,Or=function(e,t){var n=arguments;if(null==t||!Sr.call(t,"css"))return s.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Br,r[1]=function(e,t){var n={};for(var o in t)Sr.call(t,o)&&(n[o]=t[o]);return n[Pr]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return s.createElement.apply(null,r)};function Mr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return yr(t)}Gr=Or||(Or={}),Rr||(Rr=Gr.JSX||(Gr.JSX={}));const Dr=Math.min,Lr=Math.max,jr=Math.round,Xr=Math.floor,Wr=e=>({x:e,y:e});function Hr(){return"undefined"!=typeof window}function Fr(e){return Yr(e)?(e.nodeName||"").toLowerCase():"#document"}function Zr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function zr(e){var t;return null==(t=(Yr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Yr(e){return!!Hr()&&(e instanceof Node||e instanceof Zr(e).Node)}function Jr(e){return!!Hr()&&(e instanceof HTMLElement||e instanceof Zr(e).HTMLElement)}function Ur(e){return!(!Hr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zr(e).ShadowRoot)}function _r(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Qr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function Qr(e){return Zr(e).getComputedStyle(e)}function $r(e){const t=function(e){if("html"===Fr(e))return e;const t=e.assignedSlot||e.parentNode||Ur(e)&&e.host||zr(e);return Ur(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Fr(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jr(t)&&_r(t)?t:$r(t)}function Kr(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=$r(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=Zr(r);if(i){const e=qr(s);return t.concat(s,s.visualViewport||[],_r(r)?r:[],e&&n?Kr(e):[])}return t.concat(r,Kr(r,[],n))}function qr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){return t=e,Hr()&&(t instanceof Element||t instanceof Zr(t).Element)?e:e.contextElement;var t}function ti(e){const t=ei(e);if(!Jr(t))return Wr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Qr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Jr(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=jr(n)!==i||jr(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?jr(n.width):n.width)/o,a=(i?jr(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function ni(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=ei(e);let s=Wr(1);t&&(s=ti(e));const a=Wr(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const e=o;let t=Zr(i),n=qr(t);for(;n&&o&&e!==t;){const e=ti(n),o=n.getBoundingClientRect(),r=Qr(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=Zr(n),n=qr(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function oi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ri(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=ei(e),u=r||i?[...c?Kr(c):[],...t?Kr(t):[]]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,o=null;const r=zr(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(a||t(),!p||!f)return;const h={rootMargin:-Xr(d)+"px "+-Xr(r.clientWidth-(u+p))+"px "+-Xr(r.clientHeight-(d+f))+"px "+-Xr(u)+"px",threshold:Lr(0,Dr(1,l))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||oi(c,e.getBoundingClientRect())||s(),m=!1}try{o=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),t&&h.observe(t));let m=l?ni(e):null;return l&&function t(){const o=ni(e);m&&!oi(m,o)&&n();m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var ii="undefined"!=typeof document?t.useLayoutEffect:function(){},si=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ai=function(){};function li(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ci(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(li(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var ui=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===On(e)&&null!==e?[e]:[];var t},di=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,jn({},Fn(e,si))},pi=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,s=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),s)}};function fi(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function hi(e){return fi(e)?window.pageYOffset:e.scrollTop}function mi(e,t){fi(e)?window.scrollTo(0,t):e.scrollTop=t}function gi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ai,r=hi(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;mi(e,l),s<n?window.requestAnimationFrame(t):o(e)}()}function bi(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?mi(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&mi(e,Math.max(t.offsetTop-r,0))}function vi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var yi=!1,xi={get passive(){return yi=!0}},Ii="undefined"!=typeof window?window:{};Ii.addEventListener&&Ii.removeEventListener&&(Ii.addEventListener("p",ai,xi),Ii.removeEventListener("p",ai,!1));var Ci=yi;function Ai(e){return null!=e}function wi(e,t,n){return e?t:n}var Ei=["children","innerProps"],Ni=["children","innerProps"];function Gi(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:fi(u=l)?window.innerHeight:u.clientHeight,v=hi(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-m,A=I+v,w=d-v-m,E=f-b+v+y,N=v+m-x,G=160;switch(r){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(w>=h&&!s)return i&&gi(l,E,G),{placement:"bottom",maxHeight:t};if(!s&&w>=o||s&&C>=o)return i&&gi(l,E,G),{placement:"bottom",maxHeight:s?C-y:w-y};if("auto"===r||s){var R=t,T=s?I:A;return T>=o&&(R=Math.min(T-y-a,t)),{placement:"top",maxHeight:R}}if("bottom"===r)return i&&mi(l,E),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(A>=h&&!s)return i&&gi(l,N,G),{placement:"top",maxHeight:t};if(!s&&A>=o||s&&I>=o){var S=t;return(!s&&A>=o||s&&I>=o)&&(S=s?I-x:A-x),i&&gi(l,N,G),{placement:"top",maxHeight:S}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Ri,Ti=function(e){return"auto"===e?"bottom":e},Si=t.createContext(null),Pi=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Si)||{}).setPortalPlacement,u=t.useRef(null),d=Hn(t.useState(r),2),p=d[0],f=d[1],h=Hn(t.useState(null),2),m=h[0],g=h[1],b=l.spacing.controlHeight;return ii(function(){var e=u.current;if(e){var t="fixed"===s,n=Gi({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,s,a,o,c,b]),n({ref:u,placerProps:jn(jn({},e),{},{placement:m||Ti(i),maxHeight:p})})},Vi=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Or("div",bn({},pi(e,"menu",{menu:!0}),{ref:n},o),t)},ki=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return jn({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Bi=ki,Oi=ki,Mi=["size"],Di=["innerProps","isRtl","size"];var Li,ji,Xi="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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJl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ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},Wi=function(e){var t=e.size,n=Fn(e,Mi);return Or("svg",bn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Xi},n))},Hi=function(e){return Or(Wi,bn({size:20},e),Or("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"}))},Fi=function(e){return Or(Wi,bn({size:20},e),Or("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"}))},Zi=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return jn({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},zi=Zi,Yi=Zi,Ji=function(){var e=Mr.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_"}}}(Ri||(Li=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ji||(ji=Li.slice(0)),Ri=Object.freeze(Object.defineProperties(Li,{raw:{value:Object.freeze(ji)}})))),Ui=function(e){var t=e.delay,n=e.offset;return Or("span",{css:Mr({animation:"".concat(Ji," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG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tcbn07XG4iXX0= */")})},_i=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return Or("div",bn({ref:r},pi(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},Qi=["data"],$i=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Or("div",bn({},pi(e,"group",{group:!0}),a),Or(i,bn({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Or("div",null,t))},Ki=["innerRef","isDisabled","isHidden","inputClassName"],qi={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},es={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":jn({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},qi)},ts=function(e){return jn({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},qi)},ns=function(e){var t=e.cx,n=e.value,o=di(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=Fn(o,Ki);return Or("div",bn({},pi(e,"input",{"input-container":!0}),{"data-value":n||""}),Or("input",bn({className:t({input:!0},a),ref:r,style:ts(s),disabled:i},l)))},os=function(e){var t=e.children,n=e.innerProps;return Or("div",n,t)};var rs=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Or(l,{data:o,innerProps:jn(jn({},pi(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:a},Or(c,{data:o,innerProps:jn({},pi(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Or(u,{data:o,innerProps:jn(jn({},pi(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},is={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Or(Hi,null))},Control:_i,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Or(Fi,null))},DownChevron:Fi,CrossIcon:Hi,Group:$i,GroupHeading:function(e){var t=di(e);t.data;var n=Fn(t,Qi);return Or("div",bn({},pi(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Or("span",bn({},t,pi(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ns,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Fn(e,Di);return Or("div",bn({},pi(jn(jn({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Or(Ui,{delay:0,offset:n}),Or(Ui,{delay:160,offset:!0}),Or(Ui,{delay:320,offset:!n}))},Menu:Vi,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Or("div",bn({},pi(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,i=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Hn(t.useState(Ti(a)),2),p=d[0],f=d[1],h=t.useMemo(function(){return{setPortalPlacement:f}},[]),m=Hn(t.useState(null),2),g=m[0],b=m[1],v=t.useCallback(function(){if(i){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}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);ii(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=ri(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);ii(function(){y()},[y]);var x=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var I=Or("div",bn({ref:x},pi(jn(jn({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),o);return Or(Si.Provider,{value:h},n?r.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Fn(e,Ni);return Or("div",bn({},pi(jn(jn({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=Fn(e,Ei);return Or("div",bn({},pi(jn(jn({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:rs,MultiValueContainer:os,MultiValueLabel:os,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({role:"button"},n),t||Or(Hi,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,s=e.innerProps;return Or("div",bn({},pi(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Or("div",bn({},pi(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Or("div",bn({},pi(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return Or("div",bn({},pi(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},ss=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function as(e,t){return e===t||!(!ss(e)||!ss(t))}function ls(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!as(e[n],t[n]))return!1;return!0}for(var cs="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)."}},us=function(e){return Or("span",bn({css:cs},e))},ds={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ps=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,h=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,x=l.tabSelectsValue,I=l.isLoading,C=l["aria-label"],A=l["aria-live"],w=t.useMemo(function(){return jn(jn({},ds),d||{})},[d]),E=t.useMemo(function(){var e,t="";if(n&&w.onChange){var o=n.option,r=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||s||void 0,f=d?d.map(p):[],h=jn({isDisabled:c&&m(c,a),label:u,labels:f},n);t=w.onChange(h)}return t},[n,w,m,a,p]),N=t.useMemo(function(){var e="",t=o||r,n=!!(o&&a&&a.includes(o));if(t&&w.onFocus){var s={focused:t,label:p(t),isDisabled:m(t,a),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:a,isAppleDevice:u};e=w.onFocus(s)}return e},[o,r,p,m,w,i,a,u]),G=t.useMemo(function(){var e="";if(b&&v.length&&!I&&w.onFilter){var t=y({count:i.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,b,w,v,y,I]),R="initial-input-focus"===(null==n?void 0:n.action),T=t.useMemo(function(){var e="";if(w.guidance){var t=r?"value":b?"menu":"input";e=w.guidance({"aria-label":C,context:t,isDisabled:o&&m(o,a),isMulti:h,isSearchable:g,tabSelectsValue:x,isInitialFocus:R})}return e},[C,o,r,h,m,g,b,w,a,x,R]),S=Or(t.Fragment,null,Or("span",{id:"aria-selection"},E),Or("span",{id:"aria-focused"},N),Or("span",{id:"aria-results"},G),Or("span",{id:"aria-guidance"},T));return Or(t.Fragment,null,Or(us,{id:c},R&&S),Or(us,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!R&&S))},fs=[{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źẑżžẓẕƶȥɀⱬꝣ"}],hs=new RegExp("["+fs.map(function(e){return e.letters}).join("")+"]","g"),ms={},gs=0;gs<fs.length;gs++)for(var bs=fs[gs],vs=0;vs<bs.letters.length;vs++)ms[bs.letters[vs]]=bs.base;var ys=function(e){return e.replace(hs,function(e){return ms[e]})},xs=function(e,t){void 0===t&&(t=ls);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(ys),Is=function(e){return e.replace(/^\s+|\s+$/g,"")},Cs=function(e){return"".concat(e.label," ").concat(e.value)},As=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=jn({ignoreCase:!0,ignoreAccents:!0,stringify:Cs,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,a=o.trim,l=o.matchFrom,c=a?Is(n):n,u=a?Is(s(t)):s(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=xs(c),u=ys(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},ws=["innerRef"];function Es(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=Hn(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=Hn(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(Fn(e,ws),"onExited","in","enter","exit","appear");return Or("input",bn({ref:t},n,{css:Mr({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,eyJ2Z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2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Ns=["boxSizing","height","overflow","paddingRight","position"],Gs={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Rs(e){e.cancelable&&e.preventDefault()}function Ts(e){e.stopPropagation()}function Ss(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ps(){return"ontouchstart"in window||navigator.maxTouchPoints}var Vs=!("undefined"==typeof window||!window.document||!window.document.createElement),ks=0,Bs={capture:!1,passive:!1};var Os=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ms="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+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT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B7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Ds(e){var n=e.children,o=e.lockEnabled,r=e.captureEnabled,i=function(e){var n=e.isEnabled,o=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,f=u.current,h=t>0,m=d-p-c,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>m?(o&&!a.current&&o(e),f.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(i&&!l.current&&i(e),f.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[o,r,i,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=t.useCallback(function(e){if(e){var t=!!Ci&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",h,t)}},[h,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",h,!1))},[h,f,p]);return t.useEffect(function(){if(n){var e=u.current;return m(e),function(){g(e)}}},[n,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Vs){var t=document.body,n=t&&t.style;if(r&&Ns.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&ks<1){var o=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+o||0;Object.keys(Gs).forEach(function(e){var t=Gs[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Ps()&&(t.addEventListener("touchmove",Rs,Bs),e&&(e.addEventListener("touchstart",Ss,Bs),e.addEventListener("touchmove",Ts,Bs))),ks+=1}},[r]),l=t.useCallback(function(e){if(Vs){var t=document.body,n=t&&t.style;ks=Math.max(ks-1,0),r&&ks<1&&Ns.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Ps()&&(t.removeEventListener("touchmove",Rs,Bs),e&&(e.removeEventListener("touchstart",Ss,Bs),e.removeEventListener("touchmove",Ts,Bs)))}},[r]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:o});return Or(t.Fragment,null,o&&Or("div",{onClick:Os,css:Ms}),n(function(e){i(e),s(e)}))}var Ls="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)."}},js=function(e){var t=e.name,n=e.onFocus;return Or("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Ls,value:"",onChange:function(){}})};function Xs(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 Ws(){return Xs(/^Mac/i)}function Hs(){return Xs(/^iPhone/i)||Xs(/^iPad/i)||Ws()&&navigator.maxTouchPoints>1}var Fs={clearIndicator:Yi,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.theme,i=r.colors,s=r.borderRadius;return jn({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:zi,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,r=n.spacing;return jn({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return jn({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return jn(jn({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},es),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.spacing.baseUnit;return jn({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:Oi,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return jn((Dn(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Dn(n,"position","absolute"),Dn(n,"width","100%"),Dn(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return jn({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return jn({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return jn({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=e.isFocused;return jn({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Bi,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return jn({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return jn({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return jn({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return jn({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Zs={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}},zs={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:vi(),captureMenuScroll:!vi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:As(),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 Ys(e,t,n,o){return{type:"option",data:t,isDisabled:ea(e,t,n),isSelected:ta(e,t,n),label:Ks(e,t),value:qs(e,t),index:o}}function Js(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return Ys(e,n,t,o)}).filter(function(t){return Qs(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Ys(e,n,t,o);return Qs(e,i)?i:void 0}).filter(Ai)}function Us(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,_n(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function _s(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,_n(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 Qs(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!oa(e)||!i)&&na(e,{label:s,value:a,data:r},o)}var $s=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Ks=function(e,t){return e.getOptionLabel(t)},qs=function(e,t){return e.getOptionValue(t)};function ea(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ta(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=qs(e,t);return n.some(function(t){return qs(e,t)===o})}function na(e,t,n){return!e.filterOption||e.filterOption(t,n)}var oa=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ra=1,ia=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&&yn(e,t)}(n,t.Component);var e=function(e){var t=Jn();return function(){var n,o=Yn(e);if(t){var r=Yn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Un(this,n)}}(n);function n(t){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(o.setState({inputIsHiddenAfterUpdate:!s}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,s=o.state.selectValue,a=r&&o.isOptionSelected(e,s),l=o.isOptionDisabled(e,s);if(a){var c=o.getOptionValue(e);o.setValue(s.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(_n(s),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),s=wi(t,i,i[0]||null);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(wi(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=wi(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return $s(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return _s(Js(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ci.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Ks(o.props,e)},o.getOptionValue=function(e){return qs(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Fs[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,jn(jn({},is),e.components);var e},o.buildCategorizedOptions=function(){return Js(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Us(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:jn({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&fi(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return oa(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;o.focusValue("previous");break;case"ArrowRight":if(!n||s)return;o.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():a&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&o.isOptionSelected(h,g))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(o.isComposing)return;o.selectOption(h);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:s}),o.onMenuClose()):a&&i&&o.clearValue();break;case" ":if(s)return;if(!c){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++ra),o.state.selectValue=ui(t.value),t.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[s],o.state.focusedOptionId=$s(r,i[s])}return o}return function(e,t,n){t&&zn(e.prototype,t),n&&zn(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{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&&bi(this.menuListRef,this.focusedOptionRef),(Ws()||Hs())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(bi(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(s=r+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Zs):jn(jn({},Zs),this.props.theme):Zs}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ea(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ta(this.props,e,t)}},{key:"filterOption",value:function(e,t){return na(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,i=e.tabIndex,a=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,h=this.commonProps,m=o||this.getElementId("input"),g=jn(jn(jn({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?s.createElement(u,bn({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:r},g)):s.createElement(Es,bn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ai,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,h=u.inputValue,m=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return h?null:s.createElement(l,bn({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map(function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return s.createElement(n,bn({},c,{components:{Container:o,Label:r,Remove:i},isFocused:l,isDisabled:p,key:u,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return s.createElement(a,bn({},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,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(e,bn({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return s.createElement(e,bn({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return s.createElement(n,bn({},o,{isDisabled:r,isFocused:i}))}},{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,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(e,bn({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=t.MenuList,a=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,x=f.menuIsOpen,I=f.menuPlacement,C=f.menuPosition,A=f.menuPortalTarget,w=f.menuShouldBlockScroll,E=f.menuShouldScrollIntoView,N=f.noOptionsMessage,G=f.onMenuScrollToTop,R=f.onMenuScrollToBottom;if(!x)return null;var T,S=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,a=t.isSelected,l=t.label,c=t.value,f=p===r,h=i?void 0:function(){return e.onOptionHover(r)},m=i?void 0:function(){return e.selectOption(r)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return s.createElement(u,bn({},d,{innerProps:b,data:r,isDisabled:i,isSelected:a,key:g,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,i=t.options,a=t.index,l="".concat(e.getElementId("group"),"-").concat(a),c="".concat(l,"-heading");return s.createElement(n,bn({},d,{key:l,data:r,options:i,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return S(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return S(t,"".concat(t.index))});else if(g){var P=b({inputValue:m});if(null===P)return null;T=s.createElement(l,d,P)}else{var V=N({inputValue:m});if(null===V)return null;T=s.createElement(c,d,V)}var k={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:E},B=s.createElement(Pi,bn({},d,k),function(t){var n=t.ref,o=t.placerProps,a=o.placement,l=o.maxHeight;return s.createElement(r,bn({},d,k,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),s.createElement(Ds,{captureEnabled:h,onTopArrive:G,onBottomArrive:R,lockEnabled:w},function(t){return s.createElement(i,bn({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),T)}))});return A||"fixed"===C?s.createElement(a,bn({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),B):B}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,a=t.required,l=this.state.selectValue;if(a&&!this.hasValue()&&!o)return s.createElement(js,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return s.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return s.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):s.createElement("input",{name:i,type:"hidden",value:""});return s.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return s.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,a=t.selectValue,l=this.getFocusableOptions();return s.createElement(ps,bn({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:a,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,a=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return s.createElement(o,bn({},p,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),s.createElement(t,bn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),s.createElement(r,bn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),s.createElement(n,bn({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=ui(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Us(Js(e,t))}(e,h):[],b=d?_s(Js(e,h),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedOptionId:$s(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=s&&a;return s&&!C&&(I={value:wi(f,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),jn(jn(jn({},m),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();ia.defaultProps=zs;var sa=t.forwardRef(function(e,n){var o=function(e){var n=e.defaultInputValue,o=void 0===n?"":n,r=e.defaultMenuIsOpen,i=void 0!==r&&r,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,h=e.value,m=Fn(e,Zn),g=Hn(t.useState(void 0!==l?l:o),2),b=g[0],v=g[1],y=Hn(t.useState(void 0!==c?c:i),2),x=y[0],I=y[1],C=Hn(t.useState(void 0!==h?h:a),2),A=C[0],w=C[1],E=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),w(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),G=t.useCallback(function(){"function"==typeof f&&f(),I(!0)},[f]),R=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),T=void 0!==l?l:b,S=void 0!==c?c:x,P=void 0!==h?h:A;return jn(jn({},m),{},{inputValue:T,menuIsOpen:S,onChange:E,onInputChange:N,onMenuClose:R,onMenuOpen:G,value:P})}(e);return s.createElement(ia,bn({ref:n},o))}),aa=sa;const la=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:h,label:m,labelClassName:g,size:b="md",variant:v="default","data-cy":y,"data-testid":x,...I})=>{const C=t.useMemo(()=>As(u),[u]),A=t.useMemo(()=>({control:({isFocused:e})=>xe("sm"===b?"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&&!d,"border-input-border-critical shadow-none":d},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>xe(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>xe("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:o})=>{var r;return xe("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,f,n,d,b]);return"unstyled"===v?e.jsx(aa,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:xe("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":x,...I}):e.jsxs("div",{className:"w-full",children:[m&&e.jsx("label",{className:xe("mb-1 block text-sm font-medium text-text-secondary",g),children:m}),e.jsx(aa,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:xe("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":x,...I}),p&&e.jsx(Le,{className:"footnote mt-1 text-text-critical",children:p}),!p&&h&&e.jsx(Le,{className:"footnote mt-1 text-text-info",children:h})]})});la.displayName="Select";const ca=({errorMessage:t,className:n,iconClassName:o,iconSize:r=52,iconName:i="dangerous",textVariant:s})=>t?e.jsxs("div",{className:xe("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",n),"data-testid":"alert-card",children:[e.jsx("div",{children:e.jsx(De,{name:i,size:r,className:xe("text-icon-critical",o)})}),e.jsx(Le,{className:xe("body2 text-text",s),children:t})]}):null;ca.displayName="AlertCard";const ua=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()},da=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=xe((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()})(l),"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",s?"w-full":"w-auto"),o=xe((i||n)&&"cursor-not-allowed",n&&"pl-7");return xe(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"}[t]||"",o,a)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const h=`${f} ${p}`,m=e.jsxs(e.Fragment,{children:[n?e.jsx(De,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:xe(ua(l)),children:r}),o]}):o]});return"a"===c?e.jsx("a",{ref:d,className:xe(h),...u,children:m}):e.jsx("button",{ref:d,className:xe(h),disabled:i||n,...u,children:m})});da.displayName="BrandButton";const pa=t=>{const{className:n,...o}=t;return e.jsx("div",{className:xe("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};pa.displayName="Divider";const fa=t=>{const{name:n,value:o,label:r,subText:i,checked:s,onChange:a,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:f="",disabled:h,...m}=t,g=()=>null==a?void 0:a(o||n);return e.jsxs("label",{htmlFor:n,className:xe("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:o,checked:s,readOnly:!0,disabled:h,...m}),e.jsx(Fe,{type:"button",onClick:g,disabled:h,className:xe("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",h&&"opacity-50"),children:s&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(Fe,{type:"button",onClick:g,disabled:h,tabIndex:r?0:-1,children:[e.jsx("div",{className:xe("text-body2 font-normal",f),children:r}),e.jsx("div",{className:"text-body1 text-text-info",children:i})]})]})};fa.displayName="RadioButton";const ha=n=>{const{list:o,text:r}=n,[i,s]=t.useState(!0);return e.jsxs("div",{className:"mt-3",children:[e.jsxs(Fe,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e.jsx("span",{children:r||"See details"}),e.jsx(De,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(Vn,{open:i,children:e.jsx("div",{className:"pt-1",children:e.jsx(je,{listItemClassName:"body3",items:o})})})]})};ha.displayName="SeeMore";const ma=({className:t="",count:n=1})=>e.jsx("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e.jsx("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});ma.displayName="Skeleton";function ga({tooltipMsg:t,className:n,children:o}){return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e.jsx("span",{className:`tooltip-custom ${n||""}`,"data-text":t,children:o})]})}ga.displayName="Tooltip";const ba=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),va=t.createContext({}),ya=t.createContext(null),xa="undefined"!=typeof document,Ia=xa?t.useLayoutEffect:t.useEffect,Ca=t.createContext({strict:!1});function Aa(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function wa(e){return"string"==typeof e||Array.isArray(e)}function Ea(e){return"object"==typeof e&&"function"==typeof e.start}const Na=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ga=["initial",...Na];function Ra(e){return Ea(e.animate)||Ga.some(t=>wa(e[t]))}function Ta(e){return Boolean(Ra(e)||e.variants)}function Sa(e){const{initial:n,animate:o}=function(e,t){if(Ra(e)){const{initial:t,animate:n}=e;return{initial:!1===t||wa(t)?t:void 0,animate:wa(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(va));return t.useMemo(()=>({initial:n,animate:o}),[Pa(n),Pa(o)])}function Pa(e){return Array.isArray(e)?e.join(" "):e}const Va={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ka={};for(const e in Va)ka[e]={isEnabled:t=>Va[e].some(e=>!!t[e])};const Ba=t.createContext({}),Oa=t.createContext({}),Ma=Symbol.for("motionComponentSymbol");function Da({preloadedFeatures:e,createVisualElement:n,useRender:o,useVisualState:r,Component:i}){e&&function(e){for(const t in e)ka[t]={...ka[t],...e[t]}}(e);const a=t.forwardRef(function(a,l){let c;const u={...t.useContext(ba),...a,layoutId:La(a)},{isStatic:d}=u,p=Sa(a),f=r(a,d);if(!d&&xa){p.visualElement=function(e,n,o,r){const{visualElement:i}=t.useContext(va),s=t.useContext(Ca),a=t.useContext(ya),l=t.useContext(ba).reducedMotion,c=t.useRef();r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:n,parent:i,props:o,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(o,a)}),Ia(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Ia:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,f,u,n);const o=t.useContext(Oa),r=t.useContext(Ca).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,r,e,o))}return s.createElement(va.Provider,{value:p},c&&p.visualElement?s.createElement(c,{visualElement:p.visualElement,...u}):null,o(i,a,function(e,n,o){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),o&&("function"==typeof o?o(t):Aa(o)&&(o.current=t))},[n])}(f,p.visualElement,l),f,d,p.visualElement))});return a[Ma]=i,a}function La({layoutId:e}){const n=t.useContext(Ba).id;return n&&void 0!==e?n+"-"+e:e}function ja(e){function t(t,n={}){return Da(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const Xa=["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 Wa(e){return"string"==typeof e&&!e.includes("-")&&!!(Xa.indexOf(e)>-1||/[A-Z]/.test(e))}const Ha={};const Fa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Za=new Set(Fa);function za(e,{layout:t,layoutId:n}){return Za.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Ha[e]||"opacity"===e)}const Ya=e=>Boolean(e&&e.getVelocity),Ja={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ua=Fa.length;const _a=e=>t=>"string"==typeof t&&t.startsWith(e),Qa=_a("--"),$a=_a("var(--"),Ka=(e,t)=>t&&"number"==typeof e?t.transform(e):e,qa=(e,t,n)=>Math.min(Math.max(n,e),t),el={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},tl={...el,transform:e=>qa(0,1,e)},nl={...el,default:1},ol=e=>Math.round(1e5*e)/1e5,rl=/(-)?([\d]*\.?[\d])+/g,il=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,sl=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function al(e){return"string"==typeof e}const ll=e=>({test:t=>al(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),cl=ll("deg"),ul=ll("%"),dl=ll("px"),pl=ll("vh"),fl=ll("vw"),hl={...ul,parse:e=>ul.parse(e)/100,transform:e=>ul.transform(100*e)},ml={...el,transform:Math.round},gl={borderWidth:dl,borderTopWidth:dl,borderRightWidth:dl,borderBottomWidth:dl,borderLeftWidth:dl,borderRadius:dl,radius:dl,borderTopLeftRadius:dl,borderTopRightRadius:dl,borderBottomRightRadius:dl,borderBottomLeftRadius:dl,width:dl,maxWidth:dl,height:dl,maxHeight:dl,size:dl,top:dl,right:dl,bottom:dl,left:dl,padding:dl,paddingTop:dl,paddingRight:dl,paddingBottom:dl,paddingLeft:dl,margin:dl,marginTop:dl,marginRight:dl,marginBottom:dl,marginLeft:dl,rotate:cl,rotateX:cl,rotateY:cl,rotateZ:cl,scale:nl,scaleX:nl,scaleY:nl,scaleZ:nl,skew:cl,skewX:cl,skewY:cl,distance:dl,translateX:dl,translateY:dl,translateZ:dl,x:dl,y:dl,z:dl,perspective:dl,transformPerspective:dl,opacity:tl,originX:hl,originY:hl,originZ:dl,zIndex:ml,fillOpacity:tl,strokeOpacity:tl,numOctaves:ml};function bl(e,t,n,o){const{style:r,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Qa(e)){i[e]=n;continue}const o=gl[e],d=Ka(n,o);if(Za.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(o.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):r[e]=d}if(t.transform||(l||o?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,r){let i="";for(let t=0;t<Ua;t++){const n=Fa[t];void 0!==e[n]&&(i+=`${Ja[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),r?i=r(e,o?"":i):n&&o&&(i="none"),i}(e.transform,n,u,o):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const vl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function yl(e,t,n){for(const o in t)Ya(t[o])||za(o,n)||(e[o]=t[o])}function xl(e,n,o){const r={};return yl(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n,o){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return bl(t,n,{enableHardwareAcceleration:!o},e),Object.assign({},t.vars,t.style)},[n])}(e,n,o)),e.transformValues?e.transformValues(r):r}function Il(e,t,n){const o={},r=xl(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}const Cl=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 Al(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Cl.has(e)}let wl=e=>!Al(e);try{(El=require("@emotion/is-prop-valid").default)&&(wl=e=>e.startsWith("on")?!Al(e):El(e))}catch(Xe){}var El;function Nl(e,t,n){return"string"==typeof e?e:dl.transform(t+n*e)}const Gl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rl={offset:"strokeDashoffset",array:"strokeDasharray"};function Tl(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(bl(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Nl(t,e.x,e.width)} ${Nl(n,e.y,e.height)}`}(m,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==o&&(f.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?Gl:Rl;e[i.offset]=dl.transform(-o);const s=dl.transform(t),a=dl.transform(n);e[i.array]=`${s} ${a}`}(f,s,a,l,!1)}const Sl=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Pl=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Vl(e,n,o,r){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Tl(t,n,{enableHardwareAcceleration:!1},Pl(r),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};yl(t,e.style,e),i.style={...t,...i.style}}return i}function kl(e=!1){return(n,o,r,{latestValues:i},s)=>{const a=(Wa(n)?Vl:Il)(o,i,s,n),l=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(wl(r)||!0===n&&Al(r)||!t&&!Al(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(o,"string"==typeof n,e),c={...l,...a,ref:r},{children:u}=o,d=t.useMemo(()=>Ya(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Bl=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ol(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const Ml=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 Dl(e,t,n,o){Ol(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Ml.has(n)?n:Bl(n),t.attrs[n])}function Ll(e,t){const{style:n}=e,o={};for(const r in n)(Ya(n[r])||t.style&&Ya(t.style[r])||za(r,e))&&(o[r]=n[r]);return o}function jl(e,t){const n=Ll(e,t);for(const o in e)if(Ya(e[o])||Ya(t[o])){n[-1!==Fa.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function Xl(e,t,n,o={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),t}const Wl=e=>Array.isArray(e),Hl=e=>Wl(e)?e[e.length-1]||0:e;function Fl(e){const t=Ya(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Zl=e=>(n,o)=>{const r=t.useContext(va),i=t.useContext(ya),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,r,i){const s={latestValues:zl(o,r,i,e),renderState:t()};return n&&(s.mount=e=>n(o,e,s)),s}(e,n,r,i);return o?s():function(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}(s)};function zl(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Fl(i[e]);let{initial:s,animate:a}=e;const l=Ra(e),c=Ta(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Ea(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Xl(e,t);if(!n)return;const{transitionEnd:o,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in o)r[e]=o[e]})}return r}const Yl={useVisualState:Zl({scrapeMotionValuesFromProps:jl,createRenderState:Sl,onMount:(e,t,{renderState:n,latestValues:o})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Tl(n,o,{enableHardwareAcceleration:!1},Pl(t.tagName),e.transformTemplate),Dl(t,n)}})},Jl={useVisualState:Zl({scrapeMotionValuesFromProps:Ll,createRenderState:vl})};function Ul(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const _l=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ql(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function $l(e,t,n,o){return Ul(e,t,(e=>t=>_l(t)&&e(t,Ql(t)))(n),o)}const Kl=(e,t)=>n=>t(e(n)),ql=(...e)=>e.reduce(Kl);function ec(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const tc=ec("dragHorizontal"),nc=ec("dragVertical");function oc(e){let t=!1;if("y"===e)t=nc();else if("x"===e)t=tc();else{const e=tc(),n=nc();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function rc(){const e=oc(!0);return!e||(e(),!1)}class ic{constructor(e){this.isMounted=!1,this.node=e}update(){}}const sc={delta:0,timestamp:0,isProcessing:!1};let ac=!0,lc=!1;const cc=["read","update","preRender","render","postRender"],uc=cc.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,r=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&r,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(r)i=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let n=0;n<o;n++){const o=t[n];o(l),s.has(o)&&(a.schedule(o),e())}r=!1,i&&(i=!1,a.process(l))}}};return a}(()=>lc=!0),e),{}),dc=e=>uc[e].process(sc),pc=e=>{lc=!1,sc.delta=ac?1e3/60:Math.max(Math.min(e-sc.timestamp,40),1),sc.timestamp=e,sc.isProcessing=!0,cc.forEach(dc),sc.isProcessing=!1,lc&&(ac=!1,requestAnimationFrame(pc))},fc=cc.reduce((e,t)=>{const n=uc[t];return e[t]=(e,t=!1,o=!1)=>(lc||(lc=!0,ac=!0,sc.isProcessing||requestAnimationFrame(pc)),n.schedule(e,t,o)),e},{});function hc(e){cc.forEach(t=>uc[t].cancel(e))}function mc(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return $l(e.current,n,(n,r)=>{if("touch"===n.type||rc())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[o]&&fc.update(()=>i[o](n,r))},{passive:!e.getProps()[o]})}const gc=(e,t)=>!!t&&(e===t||gc(e,t.parentElement)),bc=e=>e;function vc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ql(n))}const yc=new WeakMap,xc=new WeakMap,Ic=e=>{const t=yc.get(e.target);t&&t(e)},Cc=e=>{e.forEach(Ic)};function Ac(e,t,n){const o=function({root:e,...t}){const n=e||document;xc.has(n)||xc.set(n,{});const o=xc.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Cc,{root:e,...t})),o[r]}(t);return yc.set(e,n),o.observe(e),()=>{yc.delete(e),o.unobserve(e)}}const wc={some:0,all:1};const Ec={inView:{Feature:class extends ic{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:wc[o]};return Ac(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ic{constructor(){super(...arguments),this.removeStartListeners=bc,this.removeEndListeners=bc,this.removeAccessibleListeners=bc,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=$l(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();fc.update(()=>{gc(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=$l(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ql(o,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Ul(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Ul(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&vc("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&fc.update(()=>n(e,t))})}),vc("down",(e,t)=>{this.startPress(e,t)})}),t=Ul(this.node.current,"blur",()=>{this.isPressing&&vc("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ql(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&fc.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!rc()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&fc.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=$l(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Ul(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ql(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ic{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=ql(Ul(this.node.current,"focus",()=>this.onFocus()),Ul(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ic{mount(){this.unmount=ql(mc(this.node,!0),mc(this.node,!1))}unmount(){}}}};function Nc(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function Gc(e,t,n){const o=e.getProps();return Xl(o,t,void 0!==n?n:o.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Rc="data-"+Bl("framerAppearId");let Tc=bc,Sc=bc;"production"!==process.env.NODE_ENV&&(Tc=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Sc=(e,t)=>{if(!e)throw new Error(t)});const Pc=e=>1e3*e,Vc=e=>e/1e3,kc=!1,Bc=e=>Array.isArray(e)&&"number"==typeof e[0];function Oc(e){return Boolean(!e||"string"==typeof e&&Dc[e]||Bc(e)||Array.isArray(e)&&e.every(Oc))}const Mc=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,Dc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mc([0,.65,.55,1]),circOut:Mc([.55,0,1,.45]),backIn:Mc([.31,.01,.66,-.59]),backOut:Mc([.33,1.53,.69,.99])};function Lc(e){if(e)return Bc(e)?Mc(e):Array.isArray(e)?e.map(Lc):Dc[e]}const jc={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Xc={},Wc={};for(const e in jc)Wc[e]=()=>(void 0===Xc[e]&&(Xc[e]=jc[e]()),Xc[e]);const Hc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Fc(e,t,n,o){if(e===t&&n===o)return bc;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=Hc(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Hc(r(e),t,o)}const Zc=Fc(.42,0,1,1),zc=Fc(0,0,.58,1),Yc=Fc(.42,0,.58,1),Jc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Uc=e=>t=>1-e(1-t),_c=e=>1-Math.sin(Math.acos(e)),Qc=Uc(_c),$c=Jc(Qc),Kc=Fc(.33,1.53,.69,.99),qc=Uc(Kc),eu=Jc(qc),tu={linear:bc,easeIn:Zc,easeInOut:Yc,easeOut:zc,circIn:_c,circInOut:$c,circOut:Qc,backIn:qc,backInOut:eu,backOut:Kc,anticipate:e=>(e*=2)<1?.5*qc(e):.5*(2-Math.pow(2,-10*(e-1)))},nu=e=>{if(Array.isArray(e)){Sc(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Fc(t,n,o,r)}return"string"==typeof e?(Sc(void 0!==tu[e],`Invalid easing type '${e}'`),tu[e]):e},ou=(e,t)=>n=>Boolean(al(n)&&sl.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ru=(e,t,n)=>o=>{if(!al(o))return o;const[r,i,s,a]=o.match(rl);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},iu={...el,transform:e=>Math.round((e=>qa(0,255,e))(e))},su={test:ou("rgb","red"),parse:ru("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+iu.transform(e)+", "+iu.transform(t)+", "+iu.transform(n)+", "+ol(tl.transform(o))+")"};const au={test:ou("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:su.transform},lu={test:ou("hsl","hue"),parse:ru("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ul.transform(ol(t))+", "+ul.transform(ol(n))+", "+ol(tl.transform(o))+")"},cu={test:e=>su.test(e)||au.test(e)||lu.test(e),parse:e=>su.test(e)?su.parse(e):lu.test(e)?lu.parse(e):au.parse(e),transform:e=>al(e)?e:e.hasOwnProperty("red")?su.transform(e):lu.transform(e)},uu=(e,t,n)=>-n*e+n*t+e;function du(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 pu=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},fu=[au,su,lu];function hu(e){const t=(n=e,fu.find(e=>e.test(n)));var n;Sc(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===lu&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=du(a,o,e+1/3),i=du(a,o,e),s=du(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const mu=(e,t)=>{const n=hu(e),o=hu(t),r={...n};return e=>(r.red=pu(n.red,o.red,e),r.green=pu(n.green,o.green,e),r.blue=pu(n.blue,o.blue,e),r.alpha=uu(n.alpha,o.alpha,e),su.transform(r))};const gu={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:bc},bu={regex:il,countKey:"Colors",token:"${c}",parse:cu.parse},vu={regex:rl,countKey:"Numbers",token:"${n}",parse:el.parse};function yu(e,{regex:t,countKey:n,token:o,parse:r}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(r)))}function xu(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&yu(n,gu),yu(n,bu),yu(n,vu),n}function Iu(e){return xu(e).values}function Cu(e){const{values:t,numColors:n,numVars:o,tokenised:r}=xu(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=r<o?t.replace(gu.token,e[r]):r<o+n?t.replace(bu.token,cu.transform(e[r])):t.replace(vu.token,ol(e[r]));return t}}const Au=e=>"number"==typeof e?0:e;const wu={test:function(e){var t,n;return isNaN(e)&&al(e)&&((null===(t=e.match(rl))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(il))||void 0===n?void 0:n.length)||0)>0},parse:Iu,createTransformer:Cu,getAnimatableNone:function(e){const t=Iu(e);return Cu(e)(t.map(Au))}},Eu=(e,t)=>n=>`${n>0?t:e}`;function Nu(e,t){return"number"==typeof e?n=>uu(e,t,n):cu.test(e)?mu(e,t):e.startsWith("var(")?Eu(e,t):Tu(e,t)}const Gu=(e,t)=>{const n=[...e],o=n.length,r=e.map((e,n)=>Nu(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}},Ru=(e,t)=>{const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=Nu(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}},Tu=(e,t)=>{const n=wu.createTransformer(t),o=xu(e),r=xu(t);return o.numVars===r.numVars&&o.numColors===r.numColors&&o.numNumbers>=r.numNumbers?ql(Gu(o.values,r.values),n):(Tc(!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.`),Eu(e,t))},Su=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},Pu=(e,t)=>n=>uu(e,t,n);function Vu(e,t,n){const o=[],r=n||("number"==typeof(i=e[0])?Pu:"string"==typeof i?cu.test(i)?mu:Tu:Array.isArray(i)?Gu:"object"==typeof i?Ru:Pu);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||bc:t;i=ql(e,i)}o.push(i)}return o}function ku(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(Sc(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Vu(t,o,r),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=Su(e[n],e[n+1],t);return s[n](o)};return n?t=>l(qa(e[0],e[i-1],t)):l}function Bu(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=Su(0,t,o);e.push(uu(n,1,r))}}(t,e.length-1),t}function Ou({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(nu):nu(o),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Bu(t),e),a=ku(s,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Yc).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Mu(e,t){return t?e*(1e3/t):0}function Du(e,t,n){const o=Math.max(t-5,0);return Mu(n-e(o),t-o)}const Lu=.001;function ju({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i;Tc(e<=Pc(10),"Spring duration must be 10 seconds or less");let s=1-t;s=qa(.05,1,s),e=qa(.01,10,Vc(e)),s<1?(r=t=>{const o=t*s,r=o*e,i=o-n,a=Wu(t,s),l=Math.exp(-r);return Lu-i/a*l},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=Wu(Math.pow(t,2),s);return(-r(t)+Lu>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<Xu;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=Pc(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const Xu=12;function Wu(e,t){return e*Math.sqrt(1-t*t)}const Hu=["duration","bounce"],Fu=["stiffness","damping","mass"];function Zu(e,t){return t.some(t=>void 0!==e[t])}function zu({keyframes:e,restDelta:t,restSpeed:n,...o}){const r=e[0],i=e[e.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Zu(e,Fu)&&Zu(e,Hu)){const n=ju(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),f=u?-Vc(u):0,h=l/(2*Math.sqrt(a*c)),m=i-r,g=Vc(Math.sqrt(a/c)),b=Math.abs(m)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Wu(g,h);v=t=>{const n=Math.exp(-h*g*t);return i-n*((f+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)v=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),o=Math.min(e*t,300);return i-n*((f+h*g*m)*Math.sinh(o)+e*m*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)s.done=e>=d;else{let r=f;0!==e&&(r=h<1?Du(v,e,o):0);const a=Math.abs(r)<=n,l=Math.abs(i-o)<=t;s.done=a&&l}return s.value=s.done?i:o,s}}}function Yu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const m=d+h,g=void 0===s?m:s(m);g!==m&&(h=g-d);const b=e=>-h*Math.exp(-e/o),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let x,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,I=zu({keyframes:[p.value,f(p.value)],velocity:Du(v,e,p.value),damping:r,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 Ju=e=>{const t=({timestamp:t})=>e(t);return{start:()=>fc.update(t,!0),stop:()=>hc(t),now:()=>sc.isProcessing?sc.timestamp:performance.now()}};function Uu(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 _u={decay:Yu,inertia:Yu,tween:Ou,keyframes:Ou,spring:zu};function Qu({autoplay:e=!0,delay:t=0,driver:n=Ju,keyframes:o,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,h,m=1,g=!1;const b=()=>{f&&f(),h=new Promise(e=>{f=e})};let v;b();const y=_u[r]||Ou;let x;y!==Ou&&"number"!=typeof o[0]&&(x=ku([0,100],o,{clamp:!1}),o=[0,100]);const I=y({...p,keyframes:o});let C;"mirror"===a&&(C=y({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let A="idle",w=null,E=null,N=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=Uu(I));const{calculatedDuration:G}=I;let R=1/0,T=1/0;null!==G&&(R=G+s,T=R*(i+1)-s);let S=0;const P=e=>{if(null===E)return;m>0&&(E=Math.min(E,e)),S=null!==w?w:(e-E)*m;const n=S-t,r=n<0;S=Math.max(n,0),"finished"===A&&null===w&&(S=T);let l=S,c=I;if(i){const e=S/R;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const o=Boolean(t%2);o&&("reverse"===a?(n=1-n,s&&(n-=s/R)):"mirror"===a&&(c=C));let r=qa(0,1,n);S>T&&(r="reverse"===a&&o?1:0),l=r*R}const u=r?{done:!1,value:o[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;r||null===G||(p=S>=T);const f=null===w&&("finished"===A||"running"===A&&p||m<0&&S<=0);return d&&d(u.value),f&&B(),u},V=()=>{v&&v.stop(),v=void 0},k=()=>{A="idle",V(),b(),E=N=null},B=()=>{A="finished",u&&u(),V(),b()},O=()=>{if(g)return;v||(v=n(P));const e=v.now();l&&l(),null!==w?E=e-w:E&&"finished"!==A||(E=e),N=E,w=null,A="running",v.start()};e&&O();const M={then:(e,t)=>h.then(e,t),get time(){return Vc(S)},set time(e){e=Pc(e),S=e,null===w&&v&&0!==m?E=v.now()-e/m:w=e},get duration(){const e=null===I.calculatedDuration?Uu(I):I.calculatedDuration;return Vc(e)},get speed(){return m},set speed(e){e!==m&&v&&(m=e,M.time=Vc(S))},get state(){return A},play:O,pause:()=>{A="paused",w=S},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),k())},cancel:()=>{null!==N&&P(N),k()},complete:()=>{A="finished"},sample:e=>(E=0,P(e))};return M}const $u=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ku(e,t,{onUpdate:n,onComplete:o,...r}){if(!(Wc.waapi()&&$u.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Oc(t.ease))(t,r)){const e=Qu({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let o=0;for(;!t.done&&o<2e4;)t=e.sample(o),n.push(t.value),o+=10;p=void 0,c=n,u=o-10,d="linear"}const f=function(e,t,n,{delay:o=0,duration:r,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Lc(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),h=()=>f.cancel(),m=()=>{fc.update(h),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),o&&o(),m()},{then:(e,t)=>s.then(e,t),get time(){return Vc(f.currentTime||0)},set time(e){f.currentTime=Pc(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return Vc(u)},play:()=>{a||(f.play(),hc(h))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=Qu({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>f.finish(),cancel:m}}const qu={type:"spring",stiffness:500,damping:25,restSpeed:10},ed={type:"keyframes",duration:.8},td={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nd=(e,{keyframes:t})=>t.length>2?ed:Za.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:qu:td,od=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!wu.test(t)&&"0"!==t||t.startsWith("url("))),rd=new Set(["brightness","contrast","saturate","opacity"]);function id(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(rl)||[];if(!o)return e;const r=n.replace(o,"");let i=rd.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const sd=/([a-z-]*)\(.*?\)/g,ad={...wu,getAnimatableNone:e=>{const t=e.match(sd);return t?t.map(id).join(" "):e}},ld={...gl,color:cu,backgroundColor:cu,outlineColor:cu,fill:cu,stroke:cu,borderColor:cu,borderTopColor:cu,borderRightColor:cu,borderBottomColor:cu,borderLeftColor:cu,filter:ad,WebkitFilter:ad},cd=e=>ld[e];function ud(e,t){let n=cd(e);return n!==ad&&(n=wu),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const dd=e=>/^0[^.\s]+$/.test(e);function pd(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||dd(e):void 0}function fd(e,t){return e[t]||e.default||e}const hd=(e,t,n,o={})=>r=>{const i=fd(o,e)||{},s=i.delay||o.delay||0;let{elapsed:a=0}=o;a-=Pc(s);const l=function(e,t,n,o){const r=od(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==o.from?o.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),pd(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=ud(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=od(e,c),p=od(e,u);Tc(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{r(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...nd(e,f)}),f.duration&&(f.duration=Pc(f.duration)),f.repeatDelay&&(f.repeatDelay=Pc(f.repeatDelay)),!d||!p||kc||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const r=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:bc,pause:bc,stop:bc,then:e=>(e(),Promise.resolve()),cancel:bc,complete:bc});return t?Qu({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ku(t,e,f);if(n)return n}return Qu(f)};function md(e){return Boolean(Ya(e)&&e.add)}const gd=e=>/^\-?\d*\.?\d+$/.test(e);function bd(e,t){-1===e.indexOf(t)&&e.push(t)}function vd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class yd{constructor(){this.subscriptions=[]}add(e){return bd(this.subscriptions,e),()=>vd(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xd=new Set;function Id(e,t,n){e||xd.has(t)||(console.warn(t),xd.add(t))}class Cd{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:o}=sc;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,fc.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=()=>fc.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&&Id(!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 yd);const n=this.events[e].add(t);return"change"===e?()=>{n(),fc.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?Mu(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 Ad(e,t){return new Cd(e,t)}const wd=e=>t=>t.test(e),Ed=[el,dl,ul,cl,fl,pl,{test:e=>"auto"===e,parse:e=>e}],Nd=e=>Ed.find(wd(e)),Gd=[...Ed,cu,wu],Rd=e=>Gd.find(wd(e));function Td(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ad(n))}function Sd(e,t){if(!t)return;return(t[e]||t.default||t).from}function Pd({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Vd(e,t,{delay:n=0,transitionOverride:o,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(i=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const o=e.getValue(t),r=a[t];if(!o||void 0===r||u&&Pd(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[Rc];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,o,fc))}o.start(hd(t,o,r,e.shouldReduceMotion&&Za.has(t)?{type:!1}:s));const d=o.animation;md(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Gc(e,t);let{transitionEnd:o={},transition:r={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...o};for(const t in i)Td(e,t,Hl(i[t]))}(e,s)}),c}function kd(e,t,n={}){const o=Gc(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const i=o?()=>Promise.all(Vd(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(Bd).forEach((e,o)=>{e.notify("AnimationStart",t),s.push(kd(e,t,{...i,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+o,s,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Bd(e,t){return e.sortNodePosition(t)}const Od=[...Na].reverse(),Md=Na.length;function Dd(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>kd(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=kd(e,t,n);else{const r="function"==typeof t?Gc(e,t,n.custom):t;o=Promise.all(Vd(e,r,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ld(e){let t=Dd(e);const n={animate:Xd(!0),whileInView:Xd(),whileHover:Xd(),whileTap:Xd(),whileDrag:Xd(),whileFocus:Xd(),exit:Xd()};let o=!0;const r=(t,n)=>{const o=Gc(e,n);if(o){const{transition:e,transitionEnd:n,...r}=o;t={...t,...r,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Md;t++){const f=Od[t],h=n[f],m=void 0!==a[f]?a[f]:l[f],g=wa(m),b=f===s?h.isActive:null;!1===b&&(p=t);let v=m===l[f]&&m!==a[f]&&g;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!m&&!h.prevProp||Ea(m)||"boolean"==typeof m)continue;const y=jd(h.prevProp,m);let x=y||f===s&&h.isActive&&!v&&g||t>p&&g;const I=Array.isArray(m)?m:[m];let C=I.reduce(r,{});!1===b&&(C={});const{prevResolvedValues:A={}}=h,w={...A,...C},E=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in w){const t=C[e],n=A[e];d.hasOwnProperty(e)||(t!==n?Wl(t)&&Wl(n)?!Nc(t,n)||y?E(e):h.protectedKeys[e]=!0:void 0!==t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):h.protectedKeys[e]=!0)}h.prevProp=m,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),o&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let f=Boolean(c.length);return o&&!1===a.initial&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,o,r){var s;if(n[t].isActive===o)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)}),n[t].isActive=o;const a=i(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function jd(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Nc(t,e)}function Xd(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Wd=0;const Hd={animation:{Feature:class extends ic{constructor(e){super(e),e.animationState||(e.animationState=Ld(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ea(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 ic{constructor(){super(...arguments),this.id=Wd++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Fd=(e,t)=>Math.abs(e-t);class Zd{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=Jd(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Fd(e.x,t.x),o=Fd(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=sc;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=zd(t,this.transformPagePoint),fc.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,r=Jd("pointercancel"===e.type?this.lastMoveEventInfo:zd(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!_l(e))return;this.handlers=t,this.transformPagePoint=n;const o=zd(Ql(e),this.transformPagePoint),{point:r}=o,{timestamp:i}=sc;this.history=[{...r,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,Jd(o,this.history)),this.removeListeners=ql($l(window,"pointermove",this.handlePointerMove),$l(window,"pointerup",this.handlePointerUp),$l(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),hc(this.updatePoint)}}function zd(e,t){return t?{point:t(e.point)}:e}function Yd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Jd({point:e},t){return{point:e,delta:Yd(e,_d(t)),offset:Yd(e,Ud(t)),velocity:Qd(t,.1)}}function Ud(e){return e[0]}function _d(e){return e[e.length-1]}function Qd(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=_d(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>Pc(t)));)n--;if(!o)return{x:0,y:0};const i=Vc(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function $d(e){return e.max-e.min}function Kd(e,t=0,n=.01){return Math.abs(e-t)<=n}function qd(e,t,n,o=.5){e.origin=o,e.originPoint=uu(t.min,t.max,e.origin),e.scale=$d(n)/$d(t),(Kd(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=uu(n.min,n.max,e.origin)-e.originPoint,(Kd(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ep(e,t,n,o){qd(e.x,t.x,n.x,o?o.originX:void 0),qd(e.y,t.y,n.y,o?o.originY:void 0)}function tp(e,t,n){e.min=n.min+t.min,e.max=e.min+$d(t)}function np(e,t,n){e.min=t.min-n.min,e.max=e.min+$d(t)}function op(e,t,n){np(e.x,t.x,n.x),np(e.y,t.y,n.y)}function rp(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 ip(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const sp=.35;function ap(e,t,n){return{min:lp(e,t),max:lp(e,n)}}function lp(e,t){return"number"==typeof e?e:e[t]||0}const cp=()=>({x:{min:0,max:0},y:{min:0,max:0}});function up(e){return[e("x"),e("y")]}function dp({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function pp(e){return void 0===e||1===e}function fp({scale:e,scaleX:t,scaleY:n}){return!pp(e)||!pp(t)||!pp(n)}function hp(e){return fp(e)||mp(e)||e.z||e.rotate||e.rotateX||e.rotateY}function mp(e){return gp(e.x)||gp(e.y)}function gp(e){return e&&"0%"!==e}function bp(e,t,n){return n+t*(e-n)}function vp(e,t,n,o,r){return void 0!==r&&(e=bp(e,r,o)),bp(e,n,o)+t}function yp(e,t=0,n=1,o,r){e.min=vp(e.min,t,n,o,r),e.max=vp(e.max,t,n,o,r)}function xp(e,{x:t,y:n}){yp(e.x,t.translate,t.scale,t.originPoint),yp(e.y,n.translate,n.scale,n.originPoint)}function Ip(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Cp(e,t){e.min=e.min+t,e.max=e.max+t}function Ap(e,t,[n,o,r]){const i=void 0!==t[r]?t[r]:.5,s=uu(e.min,e.max,i);yp(e,t[n],t[o],s,t.scale)}const wp=["x","scaleX","originX"],Ep=["y","scaleY","originY"];function Np(e,t){Ap(e.x,t,wp),Ap(e.y,t,Ep)}function Gp(e,t){return dp(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const Rp=new WeakMap;class Tp{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 Zd(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ql(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=oc(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),up(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ul.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=$d(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&fc.update(()=>r(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&fc.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!Sp(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?uu(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?uu(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&Aa(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:rp(e.x,n,r),y:rp(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=sp){return!1===e?e=0:!0===e&&(e=sp),{x:ap(e,"left","right"),y:ap(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&up(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||!Aa(e))return!1;const n=e.current;Sc(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=Gp(e,n),{scroll:r}=t;return r&&(Cp(o.x,r.offset.x),Cp(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:ip(e.x,t.x),y:ip(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=dp(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=up(s=>{if(!Sp(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(hd(e,n,0,t))}stopAnimation(){up(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){up(t=>{const{drag:n}=this.getProps();if(!Sp(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-uu(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Aa(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};up(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=$d(e),r=$d(t);return r>o?n=Su(t.min,t.max-o,e.min):o>r&&(n=Su(e.min,e.max-r,t.min)),qa(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),up(t=>{if(!Sp(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(uu(r,i,o[t]))})}addListeners(){if(!this.visualElement.current)return;Rp.set(this.visualElement,this);const e=$l(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Aa(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=Ul(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(up(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=sp,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function Sp(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Pp=e=>(t,n)=>{e&&fc.update(()=>e(t,n))};const Vp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Bp={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!dl.test(e))return e;e=parseFloat(e)}return`${kp(e,t.target.x)}% ${kp(e,t.target.y)}%`}},Op={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=wu.parse(e);if(r.length>5)return o;const i=wu.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=uu(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class Mp extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;var i;i=Lp,Object.assign(Ha,i),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Vp.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||fc.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Dp(e){const[n,o]=function(){const e=t.useContext(ya);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,i=t.useId();return t.useEffect(()=>r(i),[]),!n&&o?[!1,()=>o&&o(i)]:[!0]}(),r=t.useContext(Ba);return t.createElement(Mp,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(Oa),isPresent:n,safeToRemove:o})}const Lp={borderRadius:{...Bp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Bp,borderTopRightRadius:Bp,borderBottomLeftRadius:Bp,borderBottomRightRadius:Bp,boxShadow:Op},jp=["TopLeft","TopRight","BottomLeft","BottomRight"],Xp=jp.length,Wp=e=>"string"==typeof e?parseFloat(e):e,Hp=e=>"number"==typeof e||dl.test(e);function Fp(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Zp=Yp(0,.5,Qc),zp=Yp(.5,.95,bc);function Yp(e,t,n){return o=>o<e?0:o>t?1:n(Su(e,t,o))}function Jp(e,t){e.min=t.min,e.max=t.max}function Up(e,t){Jp(e.x,t.x),Jp(e.y,t.y)}function _p(e,t,n,o,r){return e=bp(e-=t,1/n,o),void 0!==r&&(e=bp(e,1/r,o)),e}function Qp(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){ul.test(t)&&(t=parseFloat(t),t=uu(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=uu(i.min,i.max,o);e===i&&(a-=t),e.min=_p(e.min,t,n,a,r),e.max=_p(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const $p=["x","scaleX","originX"],Kp=["y","scaleY","originY"];function qp(e,t,n,o){Qp(e.x,t,$p,n?n.x:void 0,o?o.x:void 0),Qp(e.y,t,Kp,n?n.y:void 0,o?o.y:void 0)}function ef(e){return 0===e.translate&&1===e.scale}function tf(e){return ef(e.x)&&ef(e.y)}function nf(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 of(e){return $d(e.x)/$d(e.y)}class rf{constructor(){this.members=[]}add(e){bd(this.members,e),e.scheduleRender()}remove(e){if(vd(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function sf(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y;if((r||i)&&(o=`translate3d(${r}px, ${i}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),r&&(o+=`rotateY(${r}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(o+=`scale(${s}, ${a})`),o||"none"}const af=(e,t)=>e.depth-t.depth;class lf{constructor(){this.children=[],this.isDirty=!1}add(e){bd(this.children,e),this.isDirty=!0}remove(e){vd(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(af),this.isDirty=!1,this.children.forEach(e)}}const cf=["","X","Y","Z"];let uf=0;const df={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function pf({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=uf++,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;df.totalNodes=df.resolvedTargetDeltas=df.recalculatedProjection=0,this.nodes.forEach(mf),this.nodes.forEach(Cf),this.nodes.forEach(Af),this.nodes.forEach(gf),e=df,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 lf)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new yd),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(hc(o),e(i-t))};return fc.read(o,!0),()=>hc(o)}(o,250),Vp.hasAnimatedSinceResize&&(Vp.hasAnimatedSinceResize=!1,this.nodes.forEach(If))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||Tf,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!nf(this.targetLayout,o)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...fd(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||If(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,hc(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(wf),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(vf);this.isUpdating||this.nodes.forEach(yf),this.isUpdating=!1,this.nodes.forEach(xf),this.nodes.forEach(ff),this.nodes.forEach(hf),this.clearAllSnapshots();const e=performance.now();sc.delta=qa(0,1e3/60,e-sc.timestamp),sc.timestamp=e,sc.isProcessing=!0,uc.update.process(sc),uc.preRender.process(sc),uc.render.process(sc),sc.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(bf),this.sharedNodes.forEach(Ef)}scheduleUpdateProjection(){fc.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){fc.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!tf(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||hp(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),Sf((o=n).x),Sf(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Cp(t.x,n.offset.x),Cp(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Up(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:r,options:i}=o;if(o!==this.root&&r&&i.layoutScroll){if(r.isRoot){Up(t,e);const{scroll:n}=this.root;n&&(Cp(t.x,-n.offset.x),Cp(t.y,-n.offset.y))}Cp(t.x,r.offset.x),Cp(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Up(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Np(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),hp(o.latestValues)&&Np(n,o.latestValues)}return hp(this.latestValues)&&Np(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Up(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!hp(n.latestValues))continue;fp(n.latestValues)&&n.updateSnapshot();const o=cp();Up(o,n.measurePageBox()),qp(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return hp(this.latestValues)&&qp(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!==sc.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=sc.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}},op(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Up(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,tp(s.x,a.x,l.x),tp(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Up(this.target,this.layout.layoutBox),xp(this.target,this.targetDelta)):Up(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}},op(this.relativeTargetOrigin,this.target,e.target),Up(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}df.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!fp(this.parent.latestValues)&&!mp(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===sc.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;Up(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const r=i.instance;r&&r.style&&"contents"===r.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Np(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,xp(e,s)),o&&hp(i.latestValues)&&Np(e,i.latestValues))}t.x=Ip(t.x),t.y=Ip(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;ep(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=sf(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),df.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Rf));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Nf(i.x,e.x,n),Nf(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(op(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){Gf(e.x,t.x,n.x,o),Gf(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&nf(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Up(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=uu(0,void 0!==n.opacity?n.opacity:1,Zp(o)),e.opacityExit=uu(void 0!==t.opacity?t.opacity:1,0,zp(o))):i&&(e.opacity=uu(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<Xp;r++){const i=`border${jp[r]}Radius`;let s=Fp(t,i),a=Fp(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Hp(s)===Hp(a)?(e[i]=Math.max(uu(Wp(s),Wp(a),o),0),(ul.test(a)||ul.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=uu(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(hc(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fc.update(()=>{Vp.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=Ya(e)?e:Ad(e);return o.start(hd("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&Pf(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=$d(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=$d(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Up(t,n),Np(t,r),ep(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rf);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const o={};for(let t=0;t<cf.length;t++){const r="rotate"+cf[t];n[r]&&(o[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in o)e.setStaticValue(t,o[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Fl(e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Fl(e.pointerEvents)||""),this.hasProjected&&!hp(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=sf(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Ha){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Ha[e],r="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?Fl(e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(vf),this.root.sharedNodes.clear()}}}function ff(e){e.updateLayout()}function hf(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?up(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=$d(o);o.min=t[e].min,o.max=o.min+r}):Pf(r,n.layoutBox,t)&&up(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=$d(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ep(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?ep(a,e.applyTransform(o,!0),n.measuredBox):ep(a,t,n.layoutBox);const l=!tf(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};op(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};op(a,t,i.layoutBox),nf(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function mf(e){df.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 gf(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bf(e){e.clearSnapshot()}function vf(e){e.clearMeasurements()}function yf(e){e.isLayoutDirty=!1}function xf(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function If(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cf(e){e.resolveTargetDelta()}function Af(e){e.calcProjection()}function wf(e){e.resetRotation()}function Ef(e){e.removeLeadSnapshot()}function Nf(e,t,n){e.translate=uu(t.translate,0,n),e.scale=uu(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Gf(e,t,n,o){e.min=uu(t.min,n.min,o),e.max=uu(t.max,n.max,o)}function Rf(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Tf={duration:.45,ease:[.4,0,.1,1]};function Sf(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Pf(e,t,n){return"position"===e||"preserve-aspect"===e&&!Kd(of(t),of(n),.2)}const Vf=pf({attachResizeListener:(e,t)=>Ul(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kf={current:void 0},Bf=pf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!kf.current){const e=new Vf({});e.mount(window),e.setOptions({layoutScroll:!0}),kf.current=e}return kf.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Of={pan:{Feature:class extends ic{constructor(){super(...arguments),this.removePointerDownListener=bc}onPointerDown(e){this.session=new Zd(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Pp(e),onStart:Pp(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&fc.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=$l(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 ic{constructor(e){super(e),this.removeGroupControls=bc,this.removeListeners=bc,this.controls=new Tp(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bc}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Bf,MeasureLayout:Dp}},Mf=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Df(e,t,n=1){Sc(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=Mf.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():$a(r)?Df(r,t,n+1):r}const Lf=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),jf=e=>Lf.has(e),Xf=e=>e===el||e===dl,Wf=(e,t)=>parseFloat(e.split(", ")[t]),Hf=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/);if(r)return Wf(r[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?Wf(t[1],e):0}},Ff=new Set(["x","y","z"]),Zf=Fa.filter(e=>!Ff.has(e));const zf={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:Hf(4,13),y:Hf(5,14)},Yf=(e,t,n={},o={})=>{t={...t},o={...o};const r=Object.keys(t).filter(jf);let i=[],s=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=Nd(c);const d=t[r];let p;if(Wl(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Nd(c);for(let n=t;n<e&&null!==d[n];n++)p?Sc(Nd(d[n])===p,"All keyframes must be of the same type"):(p=Nd(d[n]),Sc(p===u||Xf(u)&&Xf(p),"Keyframes must be of the same dimension as the current value"))}else p=Nd(d);if(u!==p)if(Xf(u)&&Xf(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===dl&&(t[r]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[r]=u.transform(d):(s||(i=function(e){const t=[];return Zf.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),o[r]=void 0!==o[r]?o[r]:t[r],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const o=t.measureViewportBox(),r=t.current,i=getComputedStyle(r),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=zf[e](o,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(a[n]),e[n]=zf[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),xa&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:t,transitionEnd:o}};function Jf(e,t,n,o){return(e=>Object.keys(e).some(jf))(t)?Yf(e,t,n,o):{target:t,transitionEnd:o}}const Uf=(e,t,n,o)=>{const r=function(e,{...t},n){const o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!$a(t))return;const n=Df(t,o);n&&e.set(n)});for(const e in t){const r=t[e];if(!$a(r))continue;const i=Df(r,o);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,o);return Jf(e,t=r.target,n,o=r.transitionEnd)},_f={current:null},Qf={current:!1};function $f(){if(Qf.current=!0,xa)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>_f.current=e.matches;e.addListener(t),t()}else _f.current=!1}const Kf=new WeakMap,qf=Object.keys(ka),eh=qf.length,th=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nh=Ga.length;class oh{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>fc.render(this.render,!1,!0);const{latestValues:s,renderState:a}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Ra(t),this.isVariantNode=Ta(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&Ya(t)&&(t.set(s[e],!1),md(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Kf.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)),Qf.current||$f(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||_f.current),"production"!==process.env.NODE_ENV&&Id(!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(){Kf.delete(this.current),this.projection&&this.projection.unmount(),hc(this.notifyUpdate),hc(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=Za.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&fc.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,r){let i,s;if("production"!==process.env.NODE_ENV&&o&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Tc(!1,e):Sc(!1,e)}for(let e=0;e<eh;e++){const n=qf[e],{isEnabled:o,Feature:r,ProjectionNode:a,MeasureLayout:l}=ka[n];a&&(i=a),o(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:o,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(o)||s&&Aa(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<th.length;t++){const n=th[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){const{willChange:o}=t;for(const r in t){const i=t[r],s=n[r];if(Ya(i))e.addValue(r,i),md(o)&&o.add(r),"development"===process.env.NODE_ENV&&Id("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Ya(s))e.addValue(r,Ad(i,{owner:e})),md(o)&&o.remove(r);else if(s!==i)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,Ad(void 0!==t?t:i,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<nh;e++){const n=Ga[e],o=this.props[n];(wa(o)||!1===o)&&(t[n]=o)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Ad(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,o="string"==typeof n||"object"==typeof n?null===(t=Xl(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Ya(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new yd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class rh extends oh{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:o},r){let i=function(e,t,n){const o={};for(const r in e){const e=Sd(r,t);if(void 0!==e)o[r]=e;else{const e=n.getValue(r);e&&(o[r]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),i&&(i=o(i))),r){!function(e,t,n){var o,r;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(o=n[s])&&void 0!==o?o:e.readValue(s))&&void 0!==r?r:t[s]),null!=c&&("string"==typeof c&&(gd(c)||dd(c))?c=parseFloat(c):!Rd(c)&&wu.test(l)&&(c=ud(s,l)),e.addValue(s,Ad(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=Uf(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class ih extends rh{readValueFromInstance(e,t){if(Za.has(t)){const e=cd(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Qa(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Gp(e,t)}build(e,t,n,o){bl(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ll(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ya(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){Ol(e,t,n,o)}}class sh extends rh{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Za.has(t)){const e=cd(t);return e&&e.default||0}return t=Ml.has(t)?t:Bl(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return jl(e,t)}build(e,t,n,o){Tl(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){Dl(e,t,0,o)}mount(e){this.isSVGTag=Pl(e.tagName),super.mount(e)}}const ah=(e,t)=>Wa(e)?new sh(t,{enableHardwareAcceleration:!1}):new ih(t,{enableHardwareAcceleration:!0}),lh={...Hd,...Ec,...Of,...{layout:{ProjectionNode:Bf,MeasureLayout:Dp}}},ch=ja((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...Wa(e)?Yl:Jl,preloadedFeatures:n,useRender:kl(t),createVisualElement:o,Component:e}}(e,t,lh,ah));function uh(){!Qf.current&&$f();const[e]=t.useState(_f.current);return"production"!==process.env.NODE_ENV&&Id(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const dh={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 ph({children:n,animationType:o,disableAnimation:r=!0,whileHover:i,whileTap:s,transition:a,...l}){const c=uh(),u=t.Children.only(n);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=dh[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}(o),p=d?{...d.whileHover,...i}:i,f=(null==d?void 0:d.whileTap)||s?{...null==d?void 0:d.whileTap,...s}:void 0,h=d?{...d.transition,...a}:a;if("string"==typeof u.type){const t=ch[u.type];return e.jsx(t,{...u.props,whileHover:p,whileTap:f,transition:h,...l})}return e.jsx(ch.div,{whileHover:p,whileTap:f,transition:h,...l,children:u})}ph.displayName="AnimationWrapper";exports.Accordion=kn,exports.AlertCard=ca,exports.AnimationWrapper=ph,exports.BrandButton=da,exports.Button=Fe,exports.CallButton=$e,exports.Checkbox=Bn,exports.Checklist=je,exports.Collapse=Vn,exports.Divider=pa,exports.Image=Ye,exports.Input=ze,exports.InputField=Ze,exports.Link=He,exports.List=Me,exports.ListItem=Oe,exports.MaterialIcon=De,exports.Modal=Pn,exports.NextImage=_e,exports.PageSkeleton=()=>e.jsxs("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e.jsx("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]}),exports.RadioButton=fa,exports.SeeMore=ha,exports.Select=la,exports.SelectPlanButton=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!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 ${r?" 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"} `,h=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:o,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Fe,{onClick:()=>{p(!0),n()},className:xe(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.jsx("span",{children:"Select plan"}),e.jsx(De,{className:xe(a,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),h]})},exports.Skeleton=ma,exports.Spinner=Qe,exports.Text=Le,exports.TextInput=ze,exports.Tooltip=ga,exports.ViewCartButton=t=>{const{cartTotalText:n,onClick:o,isOpen:r,...i}=t;return e.jsx(Fe,{className:xe("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:o,...i,children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-2",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(Le,{className:"label4 -mb-1 text-text",children:"View cart"}),e.jsx(Le,{className:"label3 text-text md:label1","data-testid":"cart-total",children:n})]}),e.jsx(De,{name:"keyboard_arrow_up",size:24,fill:0,className:xe("h-6 w-6 transition-transform",r?"rotate-180":"rotate-0")})]})})},exports.clsx=l,exports.cx=xe,exports.useBodyScrollLock=Ke,exports.useCarouselSwipe=function(e){const{itemCount:n,cardOffsetPercentage:o=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[h,m]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),x=t.useRef(null),I={CARD_OFFSET_PERCENTAGE:o,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;m((null===(e=x.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),A=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),w=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),E=t.useCallback(e=>{y.current=e.touches[0].clientX,f(!0),v.current&&clearInterval(v.current)},[]),N=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-y.current;d(t)},[p]),G=t.useCallback(()=>{f(!1);const e=h*r;u>e?A():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,h,r,A,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:h,containerRef:x,nextSlide:C,prevSlide:A,goToSlide:w,handleTouchStart:E,handleTouchMove:N,handleTouchEnd:G,constants:I}};
30
+ var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(Ot,Ot.exports)),Ot.exports}function Dt(){if(Vt)return Bt;Vt=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.resetState=function(){o=[]},Bt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Bt.handleBlur=s,Bt.handleFocus=a,Bt.markForFocusLater=function(){o.push(document.activeElement)},Bt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Bt.popWithoutFocus=function(){o.length>0&&o.pop()},Bt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",a,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",a))},Bt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",a)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",a))};var e,t=Mt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function s(){i=!0}function a(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Bt}var jt,Lt={exports:{}};function Xt(){return jt||(jt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=n[0],l=n[n.length-1],c=i();if(e===c){if(!s)return;o=l}l!==c||s||(o=a);a===c&&s&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=s?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=s?l:a).focus();t.preventDefault(),o.focus()};var n,o=Mt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Lt,Lt.exports)),Lt.exports}var Wt,Ht,Ft={};function Zt(){if(Ht)return Wt;Ht=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Wt=e}var zt,Yt,Jt,Ut={},_t={exports:{}};function Qt(){if(Yt)return Ut;Yt=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.canUseDOM=Ut.SafeNodeList=Ut.SafeHTMLCollection=void 0;var e,t,n=(zt||(zt=1,e=_t,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),_t.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Ut.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Ut.SafeNodeList=o.canUseDOM?window.NodeList:{},Ut.canUseDOM=o.canUseDOM,Ut.default=r,Ut}function $t(){if(Jt)return Ft;Jt=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Ft.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Ft.assertNodeList=i,Ft.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Ft.validateElement=s,Ft.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Ft.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Ft.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Zt(),n=(e=t)&&e.__esModule?e:{default:e},o=Qt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Ft}var Kt,qt={};function en(){if(Kt)return qt;Kt=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var s in t)n(i,t[s]);e={},t={}},qt.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return qt.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},qt.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},qt}var tn,nn={};function on(){if(tn)return nn;tn=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},nn.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return nn.default=t,nn}var rn,sn,an={};function ln(){return sn||(sn=1,function(e,n){Object.defineProperty(n,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=t,a=g(St()),l=m(Dt()),c=g(Xt()),u=m($t()),d=m(en()),p=Qt(),f=g(p),h=g(on());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(rn)return an;rn=1,Object.defineProperty(an,"__esModule",{value:!0}),an.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},an.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=on(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function s(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",s),(r=o.cloneNode()).addEventListener("focus",s)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;i&&d.remove(a.body,i),r&&d.remove(a.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(void 0===t?"undefined":r(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=o.base;return n.state.afterOpen&&(i=i+" "+o.afterOpen),n.state.beforeClose&&(i=i+" "+o.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,s=i&&i().ownerDocument||document;r&&d.add(s.body,r),o&&d.add(s.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,i=e.defaultStyles,s=e.children,a=n?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,s);return this.props.overlayElement(c,d)}}]),t}(s.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(p.SafeHTMLCollection),a.default.instanceOf(p.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=y,e.exports=n.default}(kt,kt.exports)),kt.exports}function cn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function un(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function dn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}cn.__suppressDeprecationWarning=!0,un.__suppressDeprecationWarning=!0,dn.__suppressDeprecationWarning=!0;var pn,fn,hn=et(Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=cn,t.componentWillReceiveProps=un),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=dn;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,o)}}return e}}));function mn(){if(pn)return ot;pn=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.bodyOpenClassName=ot.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),o=t,i=f(o),s=f(r),a=f(St()),l=f(ln()),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}($t()),u=Qt(),d=f(u),p=hn;function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=ot.portalClassName="ReactModalPortal",g=ot.bodyOpenClassName="ReactModal__Body--open",b=u.canUseDOM&&void 0!==s.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return b?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function x(e){return e()}var I=function(t){function o(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var a=arguments.length,c=Array(a),u=0;u<a;u++)c[u]=arguments[u];return n=r=h(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),r.removePortal=function(){!b&&s.default.unmountComponentAtNode(r.node);var e=x(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=y()(r,i.default.createElement(l.default,e({defaultStyles:o.defaultStyles},t)),r.node);r.portalRef(n)},h(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,t),n(o,[{key:"componentDidMount",value:function(){u.canUseDOM&&(b||(this.node=v("div")),this.node.className=this.props.portalClassName,x(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:x(e.parentSelector),nextParent:x(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(u.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||r)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(u.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return u.canUseDOM&&b?(!this.node&&b&&(this.node=v("div")),y()(i.default.createElement(l.default,e({ref:this.portalRef,defaultStyles:o.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),o}(o.Component);return I.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(d.default),a.default.instanceOf(u.SafeHTMLCollection),a.default.instanceOf(u.SafeNodeList),a.default.arrayOf(a.default.instanceOf(d.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},I.defaultProps={isOpen:!1,portalClassName:m,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return i.default.createElement("div",e,t)},contentElement:function(e,t){return i.default.createElement("div",e,t)}},I.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(I),"production"!==process.env.NODE_ENV&&(I.setCreateHTMLElement=function(e){return v=e}),ot.default=I,ot}var gn=qe((fn||(fn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=mn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(nt,nt.exports)),nt.exports));function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bn.apply(null,arguments)}function vn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function yn(e,t){return yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yn(e,t)}var xn=qe(St()),In=!1,Cn="production"!==process.env.NODE_ENV?xn.oneOfType([xn.number,xn.shape({enter:xn.number,exit:xn.number,appear:xn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&xn.oneOfType([xn.string,xn.shape({enter:xn.string,exit:xn.string,active:xn.string}),xn.shape({enter:xn.string,enterDone:xn.string,enterActive:xn.string,exit:xn.string,exitDone:xn.string,exitActive:xn.string})]);var An=t.createContext(null),wn="unmounted",En="exited",Nn="entering",Gn="entered",Rn="exiting",Tn=function(e){var n,o;function i(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=En,o.appearStatus=Nn):r=Gn:r=t.unmountOnExit||t.mountOnEnter?wn:En,o.state={status:r},o.nextCallback=null,o}o=e,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,yn(n,o),i.getDerivedStateFromProps=function(e,t){return e.in&&t.status===wn?{status:En}:null};var s=i.prototype;return s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Nn&&n!==Gn&&(t=Nn):n!==Nn&&n!==Gn||(t=Rn)}this.updateStatus(!1,t)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},s.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Nn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===En&&this.setState({status:wn})},s.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[r.findDOMNode(this),o],s=i[0],a=i[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!n||In?this.safeSetState({status:Gn},function(){t.props.onEntered(s)}):(this.props.onEnter(s,a),this.safeSetState({status:Nn},function(){t.props.onEntering(s,a),t.onTransitionEnd(c,function(){t.safeSetState({status:Gn},function(){t.props.onEntered(s,a)})})}))},s.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:r.findDOMNode(this);t&&!In?(this.props.onExit(o),this.safeSetState({status:Rn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:En},function(){e.props.onExited(o)})})})):this.safeSetState({status:En},function(){e.props.onExited(o)})},s.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},s.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},s.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],s=i[0],a=i[1];this.props.addEndListener(s,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},s.render=function(){var e=this.state.status;if(e===wn)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=vn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(An.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},i}(t.Component);function Sn(){}Tn.contextType=An,Tn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:xn.shape({current:"undefined"==typeof Element?xn.any:function(e,t,n,o,r,i){var s=e[t];return xn.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:xn.oneOfType([xn.func.isRequired,xn.element.isRequired]).isRequired,in:xn.bool,mountOnEnter:xn.bool,unmountOnExit:xn.bool,appear:xn.bool,enter:xn.bool,exit:xn.bool,timeout:function(e){var t=Cn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:xn.func,onEnter:xn.func,onEntering:xn.func,onEntered:xn.func,onExit:xn.func,onExiting:xn.func,onExited:xn.func}:{},Tn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Sn,onEntering:Sn,onEntered:Sn,onExit:Sn,onExiting:Sn,onExited:Sn},Tn.UNMOUNTED=wn,Tn.EXITED=En,Tn.ENTERING=Nn,Tn.ENTERED=Gn,Tn.EXITING=Rn;const Pn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:a,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:h,closeWrapperClassName:m,onRequestClose:g,parentSelector:b,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:y=!1,...x})=>{Ke(a,v);const[I,C]=t.useState(!1);t.useEffect(()=>{C(a)},[a]);const A=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return b&&(e=document.querySelector(b)||document.body),e},[b]);if(!A)return null;if(!a)return null;const w=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),E=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e.jsx(Tn,{enter:!0,exit:!0,in:I,timeout:0,children:t=>e.jsxs(gn,{ariaHideApp:!1,isOpen:a,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>A,className:xe("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",w(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",E(r,t),u),portalClassName:xe("z-80",p),overlayClassName:xe("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",f),...x,children:[!y&&e.jsx("div",{className:xe(m),children:e.jsx(Fe,{className:xe("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:g,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e.jsx(De,{name:"close",size:24})})}),s?e.jsx("div",{className:xe("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e.jsx("div",{className:xe("p-5",d),style:c,"data-testid":x["data-testid"],"data-cy":x["data-cy"],children:l})]})})};Pn.displayName="Modal";const Vn=n=>{const{open:o,children:r}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(o?e.scrollHeight:0)};let n;return t(),o&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[o,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};Vn.displayName="Collapse";const kn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(r))},[d,r]),e.jsxs("div",{className:xe(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Fe,{type:"button",className:xe(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:xe("label5 flex-1",a),children:o}),e.jsx(De,{className:xe("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Vn,{open:f,children:e.jsx("div",{className:xe("px-4 py-4",l),children:i})})]})};kn.displayName="Accordion";const Bn=({state:n,checked:o=!1,onChange:r,className:i,label:s,labelClassName:a,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:f=!1,error:h=!1,"data-cy":m,renderInfoIcon:g,...b})=>{const v=p||"disabled"===n,y=d||c,x=xe("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),I=t.useCallback(e=>{v||r&&(1===r.length?r(e.target.checked):r())},[v,r]);return e.jsxs("div",{className:xe("flex items-center gap-3",l),children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"checkbox",id:y,name:c,value:u,checked:o,onChange:I,disabled:v,required:f,className:"peer sr-only","data-cy":m,...b}),e.jsx("label",{htmlFor:y,className:xe("peer-focus:outline",x),style:{pointerEvents:v?"none":"auto"},children:o?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{width:"24",height:"24",rx:"4",className:xe(v?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e.jsx("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:xe(v?"fill-checkbox-bg-surface-disabled":"fill-white")}),e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),s&&e.jsx("label",{htmlFor:y,className:xe("cursor-pointer",h&&"text-text-critical",a),children:s}),g&&e.jsx(Fe,{type:"button",onClick:g.onClick,"data-testid":g.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function On(e){return On="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},On(e)}function Mn(e){var t=function(e,t){if("object"!=On(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=On(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==On(t)?t:t+""}function Dn(e,t,n){return(t=Mn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach(function(t){Dn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Wn(e,t){if(e){if("string"==typeof e)return Xn(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)?Xn(e,t):void 0}}function Hn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||Wn(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 Fn(e,t){if(null==e)return{};var n,o,r=vn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Bn.displayName="Checkbox";var Zn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function zn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Mn(o.key),o)}}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yn(e)}function Jn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jn=function(){return!!e})()}function Un(e,t){if(t&&("object"==On(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 _n(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)||Wn(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 Qn=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}(),$n="-ms-",Kn="-moz-",qn="-webkit-",eo="comm",to="rule",no="decl",oo="@keyframes",ro=Math.abs,io=String.fromCharCode,so=Object.assign;function ao(e){return e.trim()}function lo(e,t,n){return e.replace(t,n)}function co(e,t){return e.indexOf(t)}function uo(e,t){return 0|e.charCodeAt(t)}function po(e,t,n){return e.slice(t,n)}function fo(e){return e.length}function ho(e){return e.length}function mo(e,t){return t.push(e),e}var go=1,bo=1,vo=0,yo=0,xo=0,Io="";function Co(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:go,column:bo,length:s,return:""}}function Ao(e,t){return so(Co("",null,null,"",null,null,0),e,{length:-e.length},t)}function wo(){return xo=yo>0?uo(Io,--yo):0,bo--,10===xo&&(bo=1,go--),xo}function Eo(){return xo=yo<vo?uo(Io,yo++):0,bo++,10===xo&&(bo=1,go++),xo}function No(){return uo(Io,yo)}function Go(){return yo}function Ro(e,t){return po(Io,e,t)}function To(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 So(e){return go=bo=1,vo=fo(Io=e),yo=0,[]}function Po(e){return Io="",e}function Vo(e){return ao(Ro(yo-1,Oo(91===e?e+2:40===e?e+1:e)))}function ko(e){for(;(xo=No())&&xo<33;)Eo();return To(e)>2||To(xo)>3?"":" "}function Bo(e,t){for(;--t&&Eo()&&!(xo<48||xo>102||xo>57&&xo<65||xo>70&&xo<97););return Ro(e,Go()+(t<6&&32==No()&&32==Eo()))}function Oo(e){for(;Eo();)switch(xo){case e:return yo;case 34:case 39:34!==e&&39!==e&&Oo(xo);break;case 40:41===e&&Oo(e);break;case 92:Eo()}return yo}function Mo(e,t){for(;Eo()&&e+xo!==57&&(e+xo!==84||47!==No()););return"/*"+Ro(t,yo-1)+"*"+io(47===e?e:Eo())}function Do(e){for(;!To(No());)Eo();return Ro(e,yo)}function jo(e){return Po(Lo("",null,null,null,[""],e=So(e),0,[0],e))}function Lo(e,t,n,o,r,i,s,a,l){for(var c=0,u=0,d=s,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=r,I=i,C=o,A=y;g;)switch(h=v,v=Eo()){case 40:if(108!=h&&58==uo(A,d-1)){-1!=co(A+=lo(Vo(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:A+=Vo(v);break;case 9:case 10:case 13:case 32:A+=ko(h);break;case 92:A+=Bo(Go()-1,7);continue;case 47:switch(No()){case 42:case 47:mo(Wo(Mo(Eo(),Go()),t,n),l);break;default:A+="/"}break;case 123*m:a[c++]=fo(A)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(A=lo(A,/\f/g,"")),f>0&&fo(A)-d&&mo(f>32?Ho(A+";",o,n,d-1):Ho(lo(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(mo(C=Xo(A,t,n,c,u,r,a,y,x=[],I=[],d),i),123===v)if(0===u)Lo(A,t,C,C,x,i,d,a,I);else switch(99===p&&110===uo(A,3)?100:p){case 100:case 108:case 109:case 115:Lo(e,C,C,o&&mo(Xo(e,C,C,0,0,r,a,y,r,x=[],d),I),r,I,d,a,o?x:I);break;default:Lo(A,C,C,C,[""],I,0,a,I)}}c=u=f=0,m=b=1,y=A="",d=s;break;case 58:d=1+fo(A),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==wo())continue;switch(A+=io(v),v*m){case 38:b=u>0?1:(A+="\f",-1);break;case 44:a[c++]=(fo(A)-1)*b,b=1;break;case 64:45===No()&&(A+=Vo(Eo())),p=No(),u=d=fo(y=A+=Do(Go())),v++;break;case 45:45===h&&2==fo(A)&&(m=0)}}return i}function Xo(e,t,n,o,r,i,s,a,l,c,u){for(var d=r-1,p=0===r?i:[""],f=ho(p),h=0,m=0,g=0;h<o;++h)for(var b=0,v=po(e,d+1,d=ro(m=s[h])),y=e;b<f;++b)(y=ao(m>0?p[b]+" "+v:lo(v,/&\f/g,p[b])))&&(l[g++]=y);return Co(e,t,n,0===r?to:a,l,c,u)}function Wo(e,t,n){return Co(e,t,n,eo,io(xo),po(e,2,-2),0)}function Ho(e,t,n,o){return Co(e,t,n,no,po(e,0,o),po(e,o+1,-1),o)}function Fo(e,t){for(var n="",o=ho(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Zo(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case no:return e.return=e.return||e.value;case eo:return"";case oo:return e.return=e.value+"{"+Fo(e.children,o)+"}";case to:e.value=e.props.join(",")}return fo(n=Fo(e.children,o))?e.return=e.value+"{"+n+"}":""}function zo(e){var t=ho(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}function Yo(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Jo="undefined"!=typeof document,Uo=function(e,t,n){for(var o=0,r=0;o=r,r=No(),38===o&&12===r&&(t[n]=1),!To(r);)Eo();return Ro(e,yo)},_o=function(e,t){return Po(function(e,t){var n=-1,o=44;do{switch(To(o)){case 0:38===o&&12===No()&&(t[n]=1),e[n]+=Uo(yo-1,t,n);break;case 2:e[n]+=Vo(o);break;case 4:if(44===o){e[++n]=58===No()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=io(o)}}while(o=Eo());return e}(So(e),t))},Qo=new WeakMap,$o=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qo.get(n))&&!o){Qo.set(e,!0);for(var r=[],i=_o(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},Ko=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function qo(e,t){switch(function(e,t){return 45^uo(e,0)?(((t<<2^uo(e,0))<<2^uo(e,1))<<2^uo(e,2))<<2^uo(e,3):0}(e,t)){case 5103:return qn+"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 qn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qn+e+Kn+e+$n+e+e;case 6828:case 4268:return qn+e+$n+e+e;case 6165:return qn+e+$n+"flex-"+e+e;case 5187:return qn+e+lo(e,/(\w+).+(:[^]+)/,qn+"box-$1$2"+$n+"flex-$1$2")+e;case 5443:return qn+e+$n+"flex-item-"+lo(e,/flex-|-self/,"")+e;case 4675:return qn+e+$n+"flex-line-pack"+lo(e,/align-content|flex-|-self/,"")+e;case 5548:return qn+e+$n+lo(e,"shrink","negative")+e;case 5292:return qn+e+$n+lo(e,"basis","preferred-size")+e;case 6060:return qn+"box-"+lo(e,"-grow","")+qn+e+$n+lo(e,"grow","positive")+e;case 4554:return qn+lo(e,/([^-])(transform)/g,"$1"+qn+"$2")+e;case 6187:return lo(lo(lo(e,/(zoom-|grab)/,qn+"$1"),/(image-set)/,qn+"$1"),e,"")+e;case 5495:case 3959:return lo(e,/(image-set\([^]*)/,qn+"$1$`$1");case 4968:return lo(lo(e,/(.+:)(flex-)?(.*)/,qn+"box-pack:$3"+$n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qn+e+e;case 4095:case 3583:case 4068:case 2532:return lo(e,/(.+)-inline(.+)/,qn+"$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(fo(e)-1-t>6)switch(uo(e,t+1)){case 109:if(45!==uo(e,t+4))break;case 102:return lo(e,/(.+:)(.+)-([^]+)/,"$1"+qn+"$2-$3$1"+Kn+(108==uo(e,t+3)?"$3":"$2-$3"))+e;case 115:return~co(e,"stretch")?qo(lo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==uo(e,t+1))break;case 6444:switch(uo(e,fo(e)-3-(~co(e,"!important")&&10))){case 107:return lo(e,":",":"+qn)+e;case 101:return lo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qn+(45===uo(e,14)?"inline-":"")+"box$3$1"+qn+"$2$3$1"+$n+"$2box$3")+e}break;case 5936:switch(uo(e,t+11)){case 114:return qn+e+$n+lo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qn+e+$n+lo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qn+e+$n+lo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qn+e+$n+e+e}return e}var er,tr,nr,or,rr=Jo?void 0:(er=function(){return Yo(function(){return{}})},tr=new WeakMap,function(e){if(tr.has(e))return tr.get(e);var t=er(e);return tr.set(e,t),t}),ir=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case no:e.return=qo(e.value,e.length);break;case oo:return Fo([Ao(e,{value:lo(e.value,"@","@"+qn)})],o);case to: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 Fo([Ao(e,{props:[lo(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Fo([Ao(e,{props:[lo(t,/:(plac\w+)/,":"+qn+"input-$1")]}),Ao(e,{props:[lo(t,/:(plac\w+)/,":-moz-$1")]}),Ao(e,{props:[lo(t,/:(plac\w+)/,$n+"input-$1")]})],o)}return""})}}],sr=function(e){var t=e.key;if(Jo&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||ir,s={},a=[];Jo&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[$o,Ko];if(rr){var u=[Zo],d=zo(c.concat(i,u)),p=rr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Fo(jo(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}else{var h,m=[Zo,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=zo(c.concat(i,m));r=function(e,t,n,o){h=n,Fo(jo(e?e+"{"+t.styles+"}":t.styles),g),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Qn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return b.sheet.hydrate(a),b};!function(){if(or)return nr;or=1;var e=At(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;nr=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=a(o);l&&(f=f.concat(l(o)));for(var h=i(t),m=i(o),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||r&&r[b]||m&&m[b]||h&&h[b])){var v=c(o,b);try{s(t,b,v)}catch(e){}}}}return t}}();var ar="undefined"!=typeof document;var lr=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===ar&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var cr={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},ur=/[A-Z]|^ms/g,dr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pr=function(e){return 45===e.charCodeAt(1)},fr=function(e){return null!=e&&"boolean"!=typeof e},hr=Yo(function(e){return pr(e)?e:e.replace(ur,"-$&").toLowerCase()}),mr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(dr,function(e,t,n){return br={name:t,styles:n,next:br},t})}return 1===cr[e]||pr(e)||"number"!=typeof t||0===t?t:t+"px"};function gr(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return br={name:r.name,styles:r.styles,next:br},r.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)br={name:s.name,styles:s.styles,next:br},s=s.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=gr(e,t,n[r])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;fr(a)&&(o+=hr(i)+":"+mr(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)fr(s[l])&&(o+=hr(i)+":"+mr(i,s[l])+";");else{var c=gr(e,t,s);switch(i){case"animation":case"animationName":o+=hr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var a=br,l=n(e);return br=a,gr(e,t,l)}}return n}var br,vr=/label:\s*([^\s;{]+)\s*(;|$)/g;function yr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";br=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=gr(n,t,i)):r+=i[0];for(var s=1;s<e.length;s++){if(r+=gr(n,t,e[s]),o)r+=i[s]}vr.lastIndex=0;for(var a,l="";null!==(a=vr.exec(r));)l+="-"+a[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:br}}var xr="undefined"!=typeof document,Ir=function(e){return e()},Cr=!!s.useInsertionEffect&&s.useInsertionEffect,Ar=xr&&Cr||Ir,wr="undefined"!=typeof document,Er=s.createContext("undefined"!=typeof HTMLElement?sr({key:"css"}):null);Er.Provider;var Nr=function(e){return t.forwardRef(function(n,o){var r=t.useContext(Er);return e(n,r,o)})};wr||(Nr=function(e){return function(n){var o=t.useContext(Er);return null===o?(o=sr({key:"css"}),s.createElement(Er.Provider,{value:o},e(n,o))):e(n,o)}});var Gr,Rr,Tr=s.createContext({}),Sr={}.hasOwnProperty,Pr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Vr=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;lr(t,n,o);var r=Ar(function(){return function(e,t,n){lr(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var s=e.insert(t===i?"."+o:"",i,e.sheet,!0);ar||void 0===s||(r+=s),i=i.next}while(void 0!==i);if(!ar&&0!==r.length)return r}}(t,n,o)});if(!wr&&void 0!==r){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return s.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},kr=Nr(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Pr],i=[o],a="";"string"==typeof e.className?a=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=yr(i,void 0,s.useContext(Tr));a+=t.key+"-"+l.name;var c={};for(var u in e)Sr.call(e,u)&&"css"!==u&&u!==Pr&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),s.createElement(s.Fragment,null,s.createElement(Vr,{cache:t,serialized:l,isStringTag:"string"==typeof r}),s.createElement(r,c))}),Br=kr,Or=function(e,t){var n=arguments;if(null==t||!Sr.call(t,"css"))return s.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Br,r[1]=function(e,t){var n={};for(var o in t)Sr.call(t,o)&&(n[o]=t[o]);return n[Pr]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return s.createElement.apply(null,r)};function Mr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return yr(t)}Gr=Or||(Or={}),Rr||(Rr=Gr.JSX||(Gr.JSX={}));const Dr=Math.min,jr=Math.max,Lr=Math.round,Xr=Math.floor,Wr=e=>({x:e,y:e});function Hr(){return"undefined"!=typeof window}function Fr(e){return Yr(e)?(e.nodeName||"").toLowerCase():"#document"}function Zr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function zr(e){var t;return null==(t=(Yr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Yr(e){return!!Hr()&&(e instanceof Node||e instanceof Zr(e).Node)}function Jr(e){return!!Hr()&&(e instanceof HTMLElement||e instanceof Zr(e).HTMLElement)}function Ur(e){return!(!Hr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zr(e).ShadowRoot)}function _r(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Qr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function Qr(e){return Zr(e).getComputedStyle(e)}function $r(e){const t=function(e){if("html"===Fr(e))return e;const t=e.assignedSlot||e.parentNode||Ur(e)&&e.host||zr(e);return Ur(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Fr(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jr(t)&&_r(t)?t:$r(t)}function Kr(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=$r(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=Zr(r);if(i){const e=qr(s);return t.concat(s,s.visualViewport||[],_r(r)?r:[],e&&n?Kr(e):[])}return t.concat(r,Kr(r,[],n))}function qr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){return t=e,Hr()&&(t instanceof Element||t instanceof Zr(t).Element)?e:e.contextElement;var t}function ti(e){const t=ei(e);if(!Jr(t))return Wr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Qr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Jr(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=Lr(n)!==i||Lr(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?Lr(n.width):n.width)/o,a=(i?Lr(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function ni(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=ei(e);let s=Wr(1);t&&(s=ti(e));const a=Wr(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const e=o;let t=Zr(i),n=qr(t);for(;n&&o&&e!==t;){const e=ti(n),o=n.getBoundingClientRect(),r=Qr(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=Zr(n),n=qr(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function oi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ri(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=ei(e),u=r||i?[...c?Kr(c):[],...t?Kr(t):[]]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,o=null;const r=zr(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(a||t(),!p||!f)return;const h={rootMargin:-Xr(d)+"px "+-Xr(r.clientWidth-(u+p))+"px "+-Xr(r.clientHeight-(d+f))+"px "+-Xr(u)+"px",threshold:jr(0,Dr(1,l))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||oi(c,e.getBoundingClientRect())||s(),m=!1}try{o=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),t&&h.observe(t));let m=l?ni(e):null;return l&&function t(){const o=ni(e);m&&!oi(m,o)&&n();m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var ii="undefined"!=typeof document?t.useLayoutEffect:function(){},si=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ai=function(){};function li(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ci(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(li(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var ui=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===On(e)&&null!==e?[e]:[];var t},di=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,Ln({},Fn(e,si))},pi=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,s=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),s)}};function fi(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function hi(e){return fi(e)?window.pageYOffset:e.scrollTop}function mi(e,t){fi(e)?window.scrollTo(0,t):e.scrollTop=t}function gi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ai,r=hi(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;mi(e,l),s<n?window.requestAnimationFrame(t):o(e)}()}function bi(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?mi(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&mi(e,Math.max(t.offsetTop-r,0))}function vi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var yi=!1,xi={get passive(){return yi=!0}},Ii="undefined"!=typeof window?window:{};Ii.addEventListener&&Ii.removeEventListener&&(Ii.addEventListener("p",ai,xi),Ii.removeEventListener("p",ai,!1));var Ci=yi;function Ai(e){return null!=e}function wi(e,t,n){return e?t:n}var Ei=["children","innerProps"],Ni=["children","innerProps"];function Gi(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:fi(u=l)?window.innerHeight:u.clientHeight,v=hi(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-m,A=I+v,w=d-v-m,E=f-b+v+y,N=v+m-x,G=160;switch(r){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(w>=h&&!s)return i&&gi(l,E,G),{placement:"bottom",maxHeight:t};if(!s&&w>=o||s&&C>=o)return i&&gi(l,E,G),{placement:"bottom",maxHeight:s?C-y:w-y};if("auto"===r||s){var R=t,T=s?I:A;return T>=o&&(R=Math.min(T-y-a,t)),{placement:"top",maxHeight:R}}if("bottom"===r)return i&&mi(l,E),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(A>=h&&!s)return i&&gi(l,N,G),{placement:"top",maxHeight:t};if(!s&&A>=o||s&&I>=o){var S=t;return(!s&&A>=o||s&&I>=o)&&(S=s?I-x:A-x),i&&gi(l,N,G),{placement:"top",maxHeight:S}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Ri,Ti=function(e){return"auto"===e?"bottom":e},Si=t.createContext(null),Pi=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Si)||{}).setPortalPlacement,u=t.useRef(null),d=Hn(t.useState(r),2),p=d[0],f=d[1],h=Hn(t.useState(null),2),m=h[0],g=h[1],b=l.spacing.controlHeight;return ii(function(){var e=u.current;if(e){var t="fixed"===s,n=Gi({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,s,a,o,c,b]),n({ref:u,placerProps:Ln(Ln({},e),{},{placement:m||Ti(i),maxHeight:p})})},Vi=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Or("div",bn({},pi(e,"menu",{menu:!0}),{ref:n},o),t)},ki=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return Ln({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Bi=ki,Oi=ki,Mi=["size"],Di=["innerProps","isRtl","size"];var ji,Li,Xi="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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e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HVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},Wi=function(e){var t=e.size,n=Fn(e,Mi);return Or("svg",bn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Xi},n))},Hi=function(e){return Or(Wi,bn({size:20},e),Or("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"}))},Fi=function(e){return Or(Wi,bn({size:20},e),Or("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"}))},Zi=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Ln({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},zi=Zi,Yi=Zi,Ji=function(){var e=Mr.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_"}}}(Ri||(ji=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Li||(Li=ji.slice(0)),Ri=Object.freeze(Object.defineProperties(ji,{raw:{value:Object.freeze(Li)}})))),Ui=function(e){var t=e.delay,n=e.offset;return Or("span",{css:Mr({animation:"".concat(Ji," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW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0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},_i=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return Or("div",bn({ref:r},pi(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},Qi=["data"],$i=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Or("div",bn({},pi(e,"group",{group:!0}),a),Or(i,bn({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Or("div",null,t))},Ki=["innerRef","isDisabled","isHidden","inputClassName"],qi={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},es={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ln({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},qi)},ts=function(e){return Ln({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},qi)},ns=function(e){var t=e.cx,n=e.value,o=di(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=Fn(o,Ki);return Or("div",bn({},pi(e,"input",{"input-container":!0}),{"data-value":n||""}),Or("input",bn({className:t({input:!0},a),ref:r,style:ts(s),disabled:i},l)))},os=function(e){var t=e.children,n=e.innerProps;return Or("div",n,t)};var rs=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Or(l,{data:o,innerProps:Ln(Ln({},pi(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:a},Or(c,{data:o,innerProps:Ln({},pi(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Or(u,{data:o,innerProps:Ln(Ln({},pi(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},is={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Or(Hi,null))},Control:_i,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Or(Fi,null))},DownChevron:Fi,CrossIcon:Hi,Group:$i,GroupHeading:function(e){var t=di(e);t.data;var n=Fn(t,Qi);return Or("div",bn({},pi(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Or("span",bn({},t,pi(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ns,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Fn(e,Di);return Or("div",bn({},pi(Ln(Ln({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Or(Ui,{delay:0,offset:n}),Or(Ui,{delay:160,offset:!0}),Or(Ui,{delay:320,offset:!n}))},Menu:Vi,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Or("div",bn({},pi(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,i=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Hn(t.useState(Ti(a)),2),p=d[0],f=d[1],h=t.useMemo(function(){return{setPortalPlacement:f}},[]),m=Hn(t.useState(null),2),g=m[0],b=m[1],v=t.useCallback(function(){if(i){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}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);ii(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=ri(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);ii(function(){y()},[y]);var x=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var I=Or("div",bn({ref:x},pi(Ln(Ln({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),o);return Or(Si.Provider,{value:h},n?r.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Fn(e,Ni);return Or("div",bn({},pi(Ln(Ln({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=Fn(e,Ei);return Or("div",bn({},pi(Ln(Ln({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:rs,MultiValueContainer:os,MultiValueLabel:os,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({role:"button"},n),t||Or(Hi,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,s=e.innerProps;return Or("div",bn({},pi(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Or("div",bn({},pi(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Or("div",bn({},pi(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Or("div",bn({},pi(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return Or("div",bn({},pi(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},ss=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function as(e,t){return e===t||!(!ss(e)||!ss(t))}function ls(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!as(e[n],t[n]))return!1;return!0}for(var cs="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)."}},us=function(e){return Or("span",bn({css:cs},e))},ds={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ps=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,h=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,x=l.tabSelectsValue,I=l.isLoading,C=l["aria-label"],A=l["aria-live"],w=t.useMemo(function(){return Ln(Ln({},ds),d||{})},[d]),E=t.useMemo(function(){var e,t="";if(n&&w.onChange){var o=n.option,r=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||s||void 0,f=d?d.map(p):[],h=Ln({isDisabled:c&&m(c,a),label:u,labels:f},n);t=w.onChange(h)}return t},[n,w,m,a,p]),N=t.useMemo(function(){var e="",t=o||r,n=!!(o&&a&&a.includes(o));if(t&&w.onFocus){var s={focused:t,label:p(t),isDisabled:m(t,a),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:a,isAppleDevice:u};e=w.onFocus(s)}return e},[o,r,p,m,w,i,a,u]),G=t.useMemo(function(){var e="";if(b&&v.length&&!I&&w.onFilter){var t=y({count:i.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,b,w,v,y,I]),R="initial-input-focus"===(null==n?void 0:n.action),T=t.useMemo(function(){var e="";if(w.guidance){var t=r?"value":b?"menu":"input";e=w.guidance({"aria-label":C,context:t,isDisabled:o&&m(o,a),isMulti:h,isSearchable:g,tabSelectsValue:x,isInitialFocus:R})}return e},[C,o,r,h,m,g,b,w,a,x,R]),S=Or(t.Fragment,null,Or("span",{id:"aria-selection"},E),Or("span",{id:"aria-focused"},N),Or("span",{id:"aria-results"},G),Or("span",{id:"aria-guidance"},T));return Or(t.Fragment,null,Or(us,{id:c},R&&S),Or(us,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!R&&S))},fs=[{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źẑżžẓẕƶȥɀⱬꝣ"}],hs=new RegExp("["+fs.map(function(e){return e.letters}).join("")+"]","g"),ms={},gs=0;gs<fs.length;gs++)for(var bs=fs[gs],vs=0;vs<bs.letters.length;vs++)ms[bs.letters[vs]]=bs.base;var ys=function(e){return e.replace(hs,function(e){return ms[e]})},xs=function(e,t){void 0===t&&(t=ls);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(ys),Is=function(e){return e.replace(/^\s+|\s+$/g,"")},Cs=function(e){return"".concat(e.label," ").concat(e.value)},As=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=Ln({ignoreCase:!0,ignoreAccents:!0,stringify:Cs,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,a=o.trim,l=o.matchFrom,c=a?Is(n):n,u=a?Is(s(t)):s(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=xs(c),u=ys(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},ws=["innerRef"];function Es(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=Hn(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=Hn(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(Fn(e,ws),"onExited","in","enter","exit","appear");return Or("input",bn({ref:t},n,{css:Mr({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 Ns=["boxSizing","height","overflow","paddingRight","position"],Gs={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Rs(e){e.cancelable&&e.preventDefault()}function Ts(e){e.stopPropagation()}function Ss(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ps(){return"ontouchstart"in window||navigator.maxTouchPoints}var Vs=!("undefined"==typeof window||!window.document||!window.document.createElement),ks=0,Bs={capture:!1,passive:!1};var Os=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ms="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+IH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mxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Ds(e){var n=e.children,o=e.lockEnabled,r=e.captureEnabled,i=function(e){var n=e.isEnabled,o=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,f=u.current,h=t>0,m=d-p-c,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>m?(o&&!a.current&&o(e),f.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(i&&!l.current&&i(e),f.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[o,r,i,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=t.useCallback(function(e){if(e){var t=!!Ci&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",h,t)}},[h,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",h,!1))},[h,f,p]);return t.useEffect(function(){if(n){var e=u.current;return m(e),function(){g(e)}}},[n,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Vs){var t=document.body,n=t&&t.style;if(r&&Ns.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&ks<1){var o=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+o||0;Object.keys(Gs).forEach(function(e){var t=Gs[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Ps()&&(t.addEventListener("touchmove",Rs,Bs),e&&(e.addEventListener("touchstart",Ss,Bs),e.addEventListener("touchmove",Ts,Bs))),ks+=1}},[r]),l=t.useCallback(function(e){if(Vs){var t=document.body,n=t&&t.style;ks=Math.max(ks-1,0),r&&ks<1&&Ns.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Ps()&&(t.removeEventListener("touchmove",Rs,Bs),e&&(e.removeEventListener("touchstart",Ss,Bs),e.removeEventListener("touchmove",Ts,Bs)))}},[r]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:o});return Or(t.Fragment,null,o&&Or("div",{onClick:Os,css:Ms}),n(function(e){i(e),s(e)}))}var js="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)."}},Ls=function(e){var t=e.name,n=e.onFocus;return Or("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:js,value:"",onChange:function(){}})};function Xs(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 Ws(){return Xs(/^Mac/i)}function Hs(){return Xs(/^iPhone/i)||Xs(/^iPad/i)||Ws()&&navigator.maxTouchPoints>1}var Fs={clearIndicator:Yi,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.theme,i=r.colors,s=r.borderRadius;return Ln({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:zi,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,r=n.spacing;return Ln({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Ln({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return Ln(Ln({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},es),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.spacing.baseUnit;return Ln({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:Oi,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return Ln((Dn(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Dn(n,"position","absolute"),Dn(n,"width","100%"),Dn(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return Ln({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return Ln({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return Ln({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=e.isFocused;return Ln({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Bi,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return Ln({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return Ln({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return Ln({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Ln({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Zs={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}},zs={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:vi(),captureMenuScroll:!vi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:As(),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 Ys(e,t,n,o){return{type:"option",data:t,isDisabled:ea(e,t,n),isSelected:ta(e,t,n),label:Ks(e,t),value:qs(e,t),index:o}}function Js(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return Ys(e,n,t,o)}).filter(function(t){return Qs(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Ys(e,n,t,o);return Qs(e,i)?i:void 0}).filter(Ai)}function Us(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,_n(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function _s(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,_n(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 Qs(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!oa(e)||!i)&&na(e,{label:s,value:a,data:r},o)}var $s=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Ks=function(e,t){return e.getOptionLabel(t)},qs=function(e,t){return e.getOptionValue(t)};function ea(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ta(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=qs(e,t);return n.some(function(t){return qs(e,t)===o})}function na(e,t,n){return!e.filterOption||e.filterOption(t,n)}var oa=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ra=1,ia=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&&yn(e,t)}(n,t.Component);var e=function(e){var t=Jn();return function(){var n,o=Yn(e);if(t){var r=Yn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Un(this,n)}}(n);function n(t){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(o.setState({inputIsHiddenAfterUpdate:!s}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,s=o.state.selectValue,a=r&&o.isOptionSelected(e,s),l=o.isOptionDisabled(e,s);if(a){var c=o.getOptionValue(e);o.setValue(s.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(_n(s),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),s=wi(t,i,i[0]||null);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(wi(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=wi(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return $s(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return _s(Js(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ci.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Ks(o.props,e)},o.getOptionValue=function(e){return qs(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Fs[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,Ln(Ln({},is),e.components);var e},o.buildCategorizedOptions=function(){return Js(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Us(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:Ln({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&fi(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return oa(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;o.focusValue("previous");break;case"ArrowRight":if(!n||s)return;o.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():a&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&o.isOptionSelected(h,g))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(o.isComposing)return;o.selectOption(h);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:s}),o.onMenuClose()):a&&i&&o.clearValue();break;case" ":if(s)return;if(!c){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++ra),o.state.selectValue=ui(t.value),t.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[s],o.state.focusedOptionId=$s(r,i[s])}return o}return function(e,t,n){t&&zn(e.prototype,t),n&&zn(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{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&&bi(this.menuListRef,this.focusedOptionRef),(Ws()||Hs())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(bi(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(s=r+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Zs):Ln(Ln({},Zs),this.props.theme):Zs}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ea(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ta(this.props,e,t)}},{key:"filterOption",value:function(e,t){return na(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,i=e.tabIndex,a=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,h=this.commonProps,m=o||this.getElementId("input"),g=Ln(Ln(Ln({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?s.createElement(u,bn({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:r},g)):s.createElement(Es,bn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ai,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,h=u.inputValue,m=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return h?null:s.createElement(l,bn({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map(function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return s.createElement(n,bn({},c,{components:{Container:o,Label:r,Remove:i},isFocused:l,isDisabled:p,key:u,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return s.createElement(a,bn({},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,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(e,bn({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return s.createElement(e,bn({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return s.createElement(n,bn({},o,{isDisabled:r,isFocused:i}))}},{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,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return s.createElement(e,bn({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=t.MenuList,a=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,b=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,x=f.menuIsOpen,I=f.menuPlacement,C=f.menuPosition,A=f.menuPortalTarget,w=f.menuShouldBlockScroll,E=f.menuShouldScrollIntoView,N=f.noOptionsMessage,G=f.onMenuScrollToTop,R=f.onMenuScrollToBottom;if(!x)return null;var T,S=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,a=t.isSelected,l=t.label,c=t.value,f=p===r,h=i?void 0:function(){return e.onOptionHover(r)},m=i?void 0:function(){return e.selectOption(r)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return s.createElement(u,bn({},d,{innerProps:b,data:r,isDisabled:i,isSelected:a,key:g,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,i=t.options,a=t.index,l="".concat(e.getElementId("group"),"-").concat(a),c="".concat(l,"-heading");return s.createElement(n,bn({},d,{key:l,data:r,options:i,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return S(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return S(t,"".concat(t.index))});else if(g){var P=b({inputValue:m});if(null===P)return null;T=s.createElement(l,d,P)}else{var V=N({inputValue:m});if(null===V)return null;T=s.createElement(c,d,V)}var k={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:E},B=s.createElement(Pi,bn({},d,k),function(t){var n=t.ref,o=t.placerProps,a=o.placement,l=o.maxHeight;return s.createElement(r,bn({},d,k,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),s.createElement(Ds,{captureEnabled:h,onTopArrive:G,onBottomArrive:R,lockEnabled:w},function(t){return s.createElement(i,bn({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),T)}))});return A||"fixed"===C?s.createElement(a,bn({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),B):B}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,a=t.required,l=this.state.selectValue;if(a&&!this.hasValue()&&!o)return s.createElement(Ls,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return s.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return s.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):s.createElement("input",{name:i,type:"hidden",value:""});return s.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return s.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,a=t.selectValue,l=this.getFocusableOptions();return s.createElement(ps,bn({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:a,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,a=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return s.createElement(o,bn({},p,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),s.createElement(t,bn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),s.createElement(r,bn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),s.createElement(n,bn({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,h=ui(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Us(Js(e,t))}(e,h):[],b=d?_s(Js(e,h),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedOptionId:$s(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=s&&a;return s&&!C&&(I={value:wi(f,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),Ln(Ln(Ln({},m),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();ia.defaultProps=zs;var sa=t.forwardRef(function(e,n){var o=function(e){var n=e.defaultInputValue,o=void 0===n?"":n,r=e.defaultMenuIsOpen,i=void 0!==r&&r,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,h=e.value,m=Fn(e,Zn),g=Hn(t.useState(void 0!==l?l:o),2),b=g[0],v=g[1],y=Hn(t.useState(void 0!==c?c:i),2),x=y[0],I=y[1],C=Hn(t.useState(void 0!==h?h:a),2),A=C[0],w=C[1],E=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),w(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),G=t.useCallback(function(){"function"==typeof f&&f(),I(!0)},[f]),R=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),T=void 0!==l?l:b,S=void 0!==c?c:x,P=void 0!==h?h:A;return Ln(Ln({},m),{},{inputValue:T,menuIsOpen:S,onChange:E,onInputChange:N,onMenuClose:R,onMenuOpen:G,value:P})}(e);return s.createElement(ia,bn({ref:n},o))}),aa=sa;const la=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:h,label:m,labelClassName:g,size:b="md",variant:v="default","data-cy":y,"data-testid":x,...I})=>{const C=t.useMemo(()=>As(u),[u]),A=t.useMemo(()=>({control:({isFocused:e})=>xe("sm"===b?"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&&!d,"border-input-border-critical shadow-none":d},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>xe(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>xe("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:o})=>{var r;return xe("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,f,n,d,b]);return"unstyled"===v?e.jsx(aa,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:xe("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":x,...I}):e.jsxs("div",{className:"w-full",children:[m&&e.jsx("label",{className:xe("mb-1 block text-sm font-medium text-text-secondary",g),children:m}),e.jsx(aa,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:xe("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":x,...I}),p&&e.jsx(je,{className:"footnote mt-1 text-text-critical",children:p}),!p&&h&&e.jsx(je,{className:"footnote mt-1 text-text-info",children:h})]})});la.displayName="Select";const ca=({errorMessage:t,className:n,iconClassName:o,iconSize:r=52,iconName:i="dangerous",textVariant:s})=>t?e.jsxs("div",{className:xe("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",n),"data-testid":"alert-card",children:[e.jsx("div",{children:e.jsx(De,{name:i,size:r,className:xe("text-icon-critical",o)})}),e.jsx(je,{className:xe("body2 text-text",s),children:t})]}):null;ca.displayName="AlertCard";const ua=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()},da=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=xe((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()})(l),"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",s?"w-full":"w-auto"),o=xe((i||n)&&"cursor-not-allowed",n&&"pl-7");return xe(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"}[t]||"",o,a)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const h=`${f} ${p}`,m=e.jsxs(e.Fragment,{children:[n?e.jsx(De,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:xe(ua(l)),children:r}),o]}):o]});return"a"===c?e.jsx("a",{ref:d,className:xe(h),...u,children:m}):e.jsx("button",{ref:d,className:xe(h),disabled:i||n,...u,children:m})});da.displayName="BrandButton";const pa=t=>{const{className:n,...o}=t;return e.jsx("div",{className:xe("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};pa.displayName="Divider";const fa=t=>{const{name:n,value:o,label:r,subText:i,checked:s,onChange:a,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:f="",disabled:h,...m}=t,g=()=>null==a?void 0:a(o||n);return e.jsxs("label",{htmlFor:n,className:xe("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:o,checked:s,readOnly:!0,disabled:h,...m}),e.jsx(Fe,{type:"button",onClick:g,disabled:h,className:xe("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",h&&"opacity-50"),children:s&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(Fe,{type:"button",onClick:g,disabled:h,tabIndex:r?0:-1,children:[e.jsx("div",{className:xe("text-body2 font-normal",f),children:r}),e.jsx("div",{className:"text-body1 text-text-info",children:i})]})]})};fa.displayName="RadioButton";const ha=n=>{const{list:o,text:r}=n,[i,s]=t.useState(!0);return e.jsxs("div",{className:"mt-3",children:[e.jsxs(Fe,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e.jsx("span",{children:r||"See details"}),e.jsx(De,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(Vn,{open:i,children:e.jsx("div",{className:"pt-1",children:e.jsx(Le,{listItemClassName:"body3",items:o})})})]})};ha.displayName="SeeMore";const ma=({className:t="",count:n=1})=>e.jsx("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e.jsx("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});ma.displayName="Skeleton";function ga({tooltipMsg:t,className:n,children:o}){return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e.jsx("span",{className:`tooltip-custom ${n||""}`,"data-text":t,children:o})]})}ga.displayName="Tooltip";const ba=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),va=t.createContext({}),ya=t.createContext(null),xa="undefined"!=typeof document,Ia=xa?t.useLayoutEffect:t.useEffect,Ca=t.createContext({strict:!1});function Aa(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function wa(e){return"string"==typeof e||Array.isArray(e)}function Ea(e){return"object"==typeof e&&"function"==typeof e.start}const Na=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ga=["initial",...Na];function Ra(e){return Ea(e.animate)||Ga.some(t=>wa(e[t]))}function Ta(e){return Boolean(Ra(e)||e.variants)}function Sa(e){const{initial:n,animate:o}=function(e,t){if(Ra(e)){const{initial:t,animate:n}=e;return{initial:!1===t||wa(t)?t:void 0,animate:wa(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(va));return t.useMemo(()=>({initial:n,animate:o}),[Pa(n),Pa(o)])}function Pa(e){return Array.isArray(e)?e.join(" "):e}const Va={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ka={};for(const e in Va)ka[e]={isEnabled:t=>Va[e].some(e=>!!t[e])};const Ba=t.createContext({}),Oa=t.createContext({}),Ma=Symbol.for("motionComponentSymbol");function Da({preloadedFeatures:e,createVisualElement:n,useRender:o,useVisualState:r,Component:i}){e&&function(e){for(const t in e)ka[t]={...ka[t],...e[t]}}(e);const a=t.forwardRef(function(a,l){let c;const u={...t.useContext(ba),...a,layoutId:ja(a)},{isStatic:d}=u,p=Sa(a),f=r(a,d);if(!d&&xa){p.visualElement=function(e,n,o,r){const{visualElement:i}=t.useContext(va),s=t.useContext(Ca),a=t.useContext(ya),l=t.useContext(ba).reducedMotion,c=t.useRef();r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:n,parent:i,props:o,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(o,a)}),Ia(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Ia:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,f,u,n);const o=t.useContext(Oa),r=t.useContext(Ca).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,r,e,o))}return s.createElement(va.Provider,{value:p},c&&p.visualElement?s.createElement(c,{visualElement:p.visualElement,...u}):null,o(i,a,function(e,n,o){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),o&&("function"==typeof o?o(t):Aa(o)&&(o.current=t))},[n])}(f,p.visualElement,l),f,d,p.visualElement))});return a[Ma]=i,a}function ja({layoutId:e}){const n=t.useContext(Ba).id;return n&&void 0!==e?n+"-"+e:e}function La(e){function t(t,n={}){return Da(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const Xa=["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 Wa(e){return"string"==typeof e&&!e.includes("-")&&!!(Xa.indexOf(e)>-1||/[A-Z]/.test(e))}const Ha={};const Fa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Za=new Set(Fa);function za(e,{layout:t,layoutId:n}){return Za.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Ha[e]||"opacity"===e)}const Ya=e=>Boolean(e&&e.getVelocity),Ja={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ua=Fa.length;const _a=e=>t=>"string"==typeof t&&t.startsWith(e),Qa=_a("--"),$a=_a("var(--"),Ka=(e,t)=>t&&"number"==typeof e?t.transform(e):e,qa=(e,t,n)=>Math.min(Math.max(n,e),t),el={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},tl={...el,transform:e=>qa(0,1,e)},nl={...el,default:1},ol=e=>Math.round(1e5*e)/1e5,rl=/(-)?([\d]*\.?[\d])+/g,il=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,sl=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function al(e){return"string"==typeof e}const ll=e=>({test:t=>al(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),cl=ll("deg"),ul=ll("%"),dl=ll("px"),pl=ll("vh"),fl=ll("vw"),hl={...ul,parse:e=>ul.parse(e)/100,transform:e=>ul.transform(100*e)},ml={...el,transform:Math.round},gl={borderWidth:dl,borderTopWidth:dl,borderRightWidth:dl,borderBottomWidth:dl,borderLeftWidth:dl,borderRadius:dl,radius:dl,borderTopLeftRadius:dl,borderTopRightRadius:dl,borderBottomRightRadius:dl,borderBottomLeftRadius:dl,width:dl,maxWidth:dl,height:dl,maxHeight:dl,size:dl,top:dl,right:dl,bottom:dl,left:dl,padding:dl,paddingTop:dl,paddingRight:dl,paddingBottom:dl,paddingLeft:dl,margin:dl,marginTop:dl,marginRight:dl,marginBottom:dl,marginLeft:dl,rotate:cl,rotateX:cl,rotateY:cl,rotateZ:cl,scale:nl,scaleX:nl,scaleY:nl,scaleZ:nl,skew:cl,skewX:cl,skewY:cl,distance:dl,translateX:dl,translateY:dl,translateZ:dl,x:dl,y:dl,z:dl,perspective:dl,transformPerspective:dl,opacity:tl,originX:hl,originY:hl,originZ:dl,zIndex:ml,fillOpacity:tl,strokeOpacity:tl,numOctaves:ml};function bl(e,t,n,o){const{style:r,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Qa(e)){i[e]=n;continue}const o=gl[e],d=Ka(n,o);if(Za.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(o.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):r[e]=d}if(t.transform||(l||o?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,r){let i="";for(let t=0;t<Ua;t++){const n=Fa[t];void 0!==e[n]&&(i+=`${Ja[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),r?i=r(e,o?"":i):n&&o&&(i="none"),i}(e.transform,n,u,o):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const vl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function yl(e,t,n){for(const o in t)Ya(t[o])||za(o,n)||(e[o]=t[o])}function xl(e,n,o){const r={};return yl(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n,o){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return bl(t,n,{enableHardwareAcceleration:!o},e),Object.assign({},t.vars,t.style)},[n])}(e,n,o)),e.transformValues?e.transformValues(r):r}function Il(e,t,n){const o={},r=xl(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}const Cl=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 Al(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Cl.has(e)}let wl=e=>!Al(e);try{(El=require("@emotion/is-prop-valid").default)&&(wl=e=>e.startsWith("on")?!Al(e):El(e))}catch(Xe){}var El;function Nl(e,t,n){return"string"==typeof e?e:dl.transform(t+n*e)}const Gl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rl={offset:"strokeDashoffset",array:"strokeDasharray"};function Tl(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(bl(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:m}=e;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Nl(t,e.x,e.width)} ${Nl(n,e.y,e.height)}`}(m,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==o&&(f.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?Gl:Rl;e[i.offset]=dl.transform(-o);const s=dl.transform(t),a=dl.transform(n);e[i.array]=`${s} ${a}`}(f,s,a,l,!1)}const Sl=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Pl=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Vl(e,n,o,r){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Tl(t,n,{enableHardwareAcceleration:!1},Pl(r),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};yl(t,e.style,e),i.style={...t,...i.style}}return i}function kl(e=!1){return(n,o,r,{latestValues:i},s)=>{const a=(Wa(n)?Vl:Il)(o,i,s,n),l=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(wl(r)||!0===n&&Al(r)||!t&&!Al(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(o,"string"==typeof n,e),c={...l,...a,ref:r},{children:u}=o,d=t.useMemo(()=>Ya(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Bl=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ol(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const Ml=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 Dl(e,t,n,o){Ol(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Ml.has(n)?n:Bl(n),t.attrs[n])}function jl(e,t){const{style:n}=e,o={};for(const r in n)(Ya(n[r])||t.style&&Ya(t.style[r])||za(r,e))&&(o[r]=n[r]);return o}function Ll(e,t){const n=jl(e,t);for(const o in e)if(Ya(e[o])||Ya(t[o])){n[-1!==Fa.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function Xl(e,t,n,o={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),t}const Wl=e=>Array.isArray(e),Hl=e=>Wl(e)?e[e.length-1]||0:e;function Fl(e){const t=Ya(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Zl=e=>(n,o)=>{const r=t.useContext(va),i=t.useContext(ya),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,r,i){const s={latestValues:zl(o,r,i,e),renderState:t()};return n&&(s.mount=e=>n(o,e,s)),s}(e,n,r,i);return o?s():function(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}(s)};function zl(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Fl(i[e]);let{initial:s,animate:a}=e;const l=Ra(e),c=Ta(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Ea(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Xl(e,t);if(!n)return;const{transitionEnd:o,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in o)r[e]=o[e]})}return r}const Yl={useVisualState:Zl({scrapeMotionValuesFromProps:Ll,createRenderState:Sl,onMount:(e,t,{renderState:n,latestValues:o})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Tl(n,o,{enableHardwareAcceleration:!1},Pl(t.tagName),e.transformTemplate),Dl(t,n)}})},Jl={useVisualState:Zl({scrapeMotionValuesFromProps:jl,createRenderState:vl})};function Ul(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const _l=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ql(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function $l(e,t,n,o){return Ul(e,t,(e=>t=>_l(t)&&e(t,Ql(t)))(n),o)}const Kl=(e,t)=>n=>t(e(n)),ql=(...e)=>e.reduce(Kl);function ec(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const tc=ec("dragHorizontal"),nc=ec("dragVertical");function oc(e){let t=!1;if("y"===e)t=nc();else if("x"===e)t=tc();else{const e=tc(),n=nc();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function rc(){const e=oc(!0);return!e||(e(),!1)}class ic{constructor(e){this.isMounted=!1,this.node=e}update(){}}const sc={delta:0,timestamp:0,isProcessing:!1};let ac=!0,lc=!1;const cc=["read","update","preRender","render","postRender"],uc=cc.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,r=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&r,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(r)i=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let n=0;n<o;n++){const o=t[n];o(l),s.has(o)&&(a.schedule(o),e())}r=!1,i&&(i=!1,a.process(l))}}};return a}(()=>lc=!0),e),{}),dc=e=>uc[e].process(sc),pc=e=>{lc=!1,sc.delta=ac?1e3/60:Math.max(Math.min(e-sc.timestamp,40),1),sc.timestamp=e,sc.isProcessing=!0,cc.forEach(dc),sc.isProcessing=!1,lc&&(ac=!1,requestAnimationFrame(pc))},fc=cc.reduce((e,t)=>{const n=uc[t];return e[t]=(e,t=!1,o=!1)=>(lc||(lc=!0,ac=!0,sc.isProcessing||requestAnimationFrame(pc)),n.schedule(e,t,o)),e},{});function hc(e){cc.forEach(t=>uc[t].cancel(e))}function mc(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return $l(e.current,n,(n,r)=>{if("touch"===n.type||rc())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[o]&&fc.update(()=>i[o](n,r))},{passive:!e.getProps()[o]})}const gc=(e,t)=>!!t&&(e===t||gc(e,t.parentElement)),bc=e=>e;function vc(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ql(n))}const yc=new WeakMap,xc=new WeakMap,Ic=e=>{const t=yc.get(e.target);t&&t(e)},Cc=e=>{e.forEach(Ic)};function Ac(e,t,n){const o=function({root:e,...t}){const n=e||document;xc.has(n)||xc.set(n,{});const o=xc.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Cc,{root:e,...t})),o[r]}(t);return yc.set(e,n),o.observe(e),()=>{yc.delete(e),o.unobserve(e)}}const wc={some:0,all:1};const Ec={inView:{Feature:class extends ic{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:wc[o]};return Ac(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ic{constructor(){super(...arguments),this.removeStartListeners=bc,this.removeEndListeners=bc,this.removeAccessibleListeners=bc,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=$l(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();fc.update(()=>{gc(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=$l(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ql(o,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Ul(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Ul(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&vc("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&fc.update(()=>n(e,t))})}),vc("down",(e,t)=>{this.startPress(e,t)})}),t=Ul(this.node.current,"blur",()=>{this.isPressing&&vc("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ql(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&fc.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!rc()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&fc.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=$l(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Ul(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ql(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ic{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=ql(Ul(this.node.current,"focus",()=>this.onFocus()),Ul(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ic{mount(){this.unmount=ql(mc(this.node,!0),mc(this.node,!1))}unmount(){}}}};function Nc(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function Gc(e,t,n){const o=e.getProps();return Xl(o,t,void 0!==n?n:o.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Rc="data-"+Bl("framerAppearId");let Tc=bc,Sc=bc;"production"!==process.env.NODE_ENV&&(Tc=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Sc=(e,t)=>{if(!e)throw new Error(t)});const Pc=e=>1e3*e,Vc=e=>e/1e3,kc=!1,Bc=e=>Array.isArray(e)&&"number"==typeof e[0];function Oc(e){return Boolean(!e||"string"==typeof e&&Dc[e]||Bc(e)||Array.isArray(e)&&e.every(Oc))}const Mc=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,Dc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mc([0,.65,.55,1]),circOut:Mc([.55,0,1,.45]),backIn:Mc([.31,.01,.66,-.59]),backOut:Mc([.33,1.53,.69,.99])};function jc(e){if(e)return Bc(e)?Mc(e):Array.isArray(e)?e.map(jc):Dc[e]}const Lc={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Xc={},Wc={};for(const e in Lc)Wc[e]=()=>(void 0===Xc[e]&&(Xc[e]=Lc[e]()),Xc[e]);const Hc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Fc(e,t,n,o){if(e===t&&n===o)return bc;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=Hc(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Hc(r(e),t,o)}const Zc=Fc(.42,0,1,1),zc=Fc(0,0,.58,1),Yc=Fc(.42,0,.58,1),Jc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Uc=e=>t=>1-e(1-t),_c=e=>1-Math.sin(Math.acos(e)),Qc=Uc(_c),$c=Jc(Qc),Kc=Fc(.33,1.53,.69,.99),qc=Uc(Kc),eu=Jc(qc),tu={linear:bc,easeIn:Zc,easeInOut:Yc,easeOut:zc,circIn:_c,circInOut:$c,circOut:Qc,backIn:qc,backInOut:eu,backOut:Kc,anticipate:e=>(e*=2)<1?.5*qc(e):.5*(2-Math.pow(2,-10*(e-1)))},nu=e=>{if(Array.isArray(e)){Sc(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Fc(t,n,o,r)}return"string"==typeof e?(Sc(void 0!==tu[e],`Invalid easing type '${e}'`),tu[e]):e},ou=(e,t)=>n=>Boolean(al(n)&&sl.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ru=(e,t,n)=>o=>{if(!al(o))return o;const[r,i,s,a]=o.match(rl);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},iu={...el,transform:e=>Math.round((e=>qa(0,255,e))(e))},su={test:ou("rgb","red"),parse:ru("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+iu.transform(e)+", "+iu.transform(t)+", "+iu.transform(n)+", "+ol(tl.transform(o))+")"};const au={test:ou("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:su.transform},lu={test:ou("hsl","hue"),parse:ru("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ul.transform(ol(t))+", "+ul.transform(ol(n))+", "+ol(tl.transform(o))+")"},cu={test:e=>su.test(e)||au.test(e)||lu.test(e),parse:e=>su.test(e)?su.parse(e):lu.test(e)?lu.parse(e):au.parse(e),transform:e=>al(e)?e:e.hasOwnProperty("red")?su.transform(e):lu.transform(e)},uu=(e,t,n)=>-n*e+n*t+e;function du(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 pu=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},fu=[au,su,lu];function hu(e){const t=(n=e,fu.find(e=>e.test(n)));var n;Sc(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===lu&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=du(a,o,e+1/3),i=du(a,o,e),s=du(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const mu=(e,t)=>{const n=hu(e),o=hu(t),r={...n};return e=>(r.red=pu(n.red,o.red,e),r.green=pu(n.green,o.green,e),r.blue=pu(n.blue,o.blue,e),r.alpha=uu(n.alpha,o.alpha,e),su.transform(r))};const gu={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:bc},bu={regex:il,countKey:"Colors",token:"${c}",parse:cu.parse},vu={regex:rl,countKey:"Numbers",token:"${n}",parse:el.parse};function yu(e,{regex:t,countKey:n,token:o,parse:r}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(r)))}function xu(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&yu(n,gu),yu(n,bu),yu(n,vu),n}function Iu(e){return xu(e).values}function Cu(e){const{values:t,numColors:n,numVars:o,tokenised:r}=xu(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=r<o?t.replace(gu.token,e[r]):r<o+n?t.replace(bu.token,cu.transform(e[r])):t.replace(vu.token,ol(e[r]));return t}}const Au=e=>"number"==typeof e?0:e;const wu={test:function(e){var t,n;return isNaN(e)&&al(e)&&((null===(t=e.match(rl))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(il))||void 0===n?void 0:n.length)||0)>0},parse:Iu,createTransformer:Cu,getAnimatableNone:function(e){const t=Iu(e);return Cu(e)(t.map(Au))}},Eu=(e,t)=>n=>`${n>0?t:e}`;function Nu(e,t){return"number"==typeof e?n=>uu(e,t,n):cu.test(e)?mu(e,t):e.startsWith("var(")?Eu(e,t):Tu(e,t)}const Gu=(e,t)=>{const n=[...e],o=n.length,r=e.map((e,n)=>Nu(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}},Ru=(e,t)=>{const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=Nu(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}},Tu=(e,t)=>{const n=wu.createTransformer(t),o=xu(e),r=xu(t);return o.numVars===r.numVars&&o.numColors===r.numColors&&o.numNumbers>=r.numNumbers?ql(Gu(o.values,r.values),n):(Tc(!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.`),Eu(e,t))},Su=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},Pu=(e,t)=>n=>uu(e,t,n);function Vu(e,t,n){const o=[],r=n||("number"==typeof(i=e[0])?Pu:"string"==typeof i?cu.test(i)?mu:Tu:Array.isArray(i)?Gu:"object"==typeof i?Ru:Pu);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||bc:t;i=ql(e,i)}o.push(i)}return o}function ku(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(Sc(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Vu(t,o,r),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=Su(e[n],e[n+1],t);return s[n](o)};return n?t=>l(qa(e[0],e[i-1],t)):l}function Bu(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=Su(0,t,o);e.push(uu(n,1,r))}}(t,e.length-1),t}function Ou({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(nu):nu(o),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Bu(t),e),a=ku(s,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Yc).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Mu(e,t){return t?e*(1e3/t):0}function Du(e,t,n){const o=Math.max(t-5,0);return Mu(n-e(o),t-o)}const ju=.001;function Lu({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i;Tc(e<=Pc(10),"Spring duration must be 10 seconds or less");let s=1-t;s=qa(.05,1,s),e=qa(.01,10,Vc(e)),s<1?(r=t=>{const o=t*s,r=o*e,i=o-n,a=Wu(t,s),l=Math.exp(-r);return ju-i/a*l},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=Wu(Math.pow(t,2),s);return(-r(t)+ju>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<Xu;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=Pc(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const Xu=12;function Wu(e,t){return e*Math.sqrt(1-t*t)}const Hu=["duration","bounce"],Fu=["stiffness","damping","mass"];function Zu(e,t){return t.some(t=>void 0!==e[t])}function zu({keyframes:e,restDelta:t,restSpeed:n,...o}){const r=e[0],i=e[e.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Zu(e,Fu)&&Zu(e,Hu)){const n=Lu(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),f=u?-Vc(u):0,h=l/(2*Math.sqrt(a*c)),m=i-r,g=Vc(Math.sqrt(a/c)),b=Math.abs(m)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Wu(g,h);v=t=>{const n=Math.exp(-h*g*t);return i-n*((f+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)v=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),o=Math.min(e*t,300);return i-n*((f+h*g*m)*Math.sinh(o)+e*m*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)s.done=e>=d;else{let r=f;0!==e&&(r=h<1?Du(v,e,o):0);const a=Math.abs(r)<=n,l=Math.abs(i-o)<=t;s.done=a&&l}return s.value=s.done?i:o,s}}}function Yu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const m=d+h,g=void 0===s?m:s(m);g!==m&&(h=g-d);const b=e=>-h*Math.exp(-e/o),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let x,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,I=zu({keyframes:[p.value,f(p.value)],velocity:Du(v,e,p.value),damping:r,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 Ju=e=>{const t=({timestamp:t})=>e(t);return{start:()=>fc.update(t,!0),stop:()=>hc(t),now:()=>sc.isProcessing?sc.timestamp:performance.now()}};function Uu(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 _u={decay:Yu,inertia:Yu,tween:Ou,keyframes:Ou,spring:zu};function Qu({autoplay:e=!0,delay:t=0,driver:n=Ju,keyframes:o,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,h,m=1,g=!1;const b=()=>{f&&f(),h=new Promise(e=>{f=e})};let v;b();const y=_u[r]||Ou;let x;y!==Ou&&"number"!=typeof o[0]&&(x=ku([0,100],o,{clamp:!1}),o=[0,100]);const I=y({...p,keyframes:o});let C;"mirror"===a&&(C=y({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let A="idle",w=null,E=null,N=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=Uu(I));const{calculatedDuration:G}=I;let R=1/0,T=1/0;null!==G&&(R=G+s,T=R*(i+1)-s);let S=0;const P=e=>{if(null===E)return;m>0&&(E=Math.min(E,e)),S=null!==w?w:(e-E)*m;const n=S-t,r=n<0;S=Math.max(n,0),"finished"===A&&null===w&&(S=T);let l=S,c=I;if(i){const e=S/R;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const o=Boolean(t%2);o&&("reverse"===a?(n=1-n,s&&(n-=s/R)):"mirror"===a&&(c=C));let r=qa(0,1,n);S>T&&(r="reverse"===a&&o?1:0),l=r*R}const u=r?{done:!1,value:o[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;r||null===G||(p=S>=T);const f=null===w&&("finished"===A||"running"===A&&p||m<0&&S<=0);return d&&d(u.value),f&&B(),u},V=()=>{v&&v.stop(),v=void 0},k=()=>{A="idle",V(),b(),E=N=null},B=()=>{A="finished",u&&u(),V(),b()},O=()=>{if(g)return;v||(v=n(P));const e=v.now();l&&l(),null!==w?E=e-w:E&&"finished"!==A||(E=e),N=E,w=null,A="running",v.start()};e&&O();const M={then:(e,t)=>h.then(e,t),get time(){return Vc(S)},set time(e){e=Pc(e),S=e,null===w&&v&&0!==m?E=v.now()-e/m:w=e},get duration(){const e=null===I.calculatedDuration?Uu(I):I.calculatedDuration;return Vc(e)},get speed(){return m},set speed(e){e!==m&&v&&(m=e,M.time=Vc(S))},get state(){return A},play:O,pause:()=>{A="paused",w=S},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),k())},cancel:()=>{null!==N&&P(N),k()},complete:()=>{A="finished"},sample:e=>(E=0,P(e))};return M}const $u=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ku(e,t,{onUpdate:n,onComplete:o,...r}){if(!(Wc.waapi()&&$u.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Oc(t.ease))(t,r)){const e=Qu({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let o=0;for(;!t.done&&o<2e4;)t=e.sample(o),n.push(t.value),o+=10;p=void 0,c=n,u=o-10,d="linear"}const f=function(e,t,n,{delay:o=0,duration:r,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=jc(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),h=()=>f.cancel(),m=()=>{fc.update(h),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),o&&o(),m()},{then:(e,t)=>s.then(e,t),get time(){return Vc(f.currentTime||0)},set time(e){f.currentTime=Pc(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return Vc(u)},play:()=>{a||(f.play(),hc(h))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=Qu({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>f.finish(),cancel:m}}const qu={type:"spring",stiffness:500,damping:25,restSpeed:10},ed={type:"keyframes",duration:.8},td={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nd=(e,{keyframes:t})=>t.length>2?ed:Za.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:qu:td,od=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!wu.test(t)&&"0"!==t||t.startsWith("url("))),rd=new Set(["brightness","contrast","saturate","opacity"]);function id(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(rl)||[];if(!o)return e;const r=n.replace(o,"");let i=rd.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const sd=/([a-z-]*)\(.*?\)/g,ad={...wu,getAnimatableNone:e=>{const t=e.match(sd);return t?t.map(id).join(" "):e}},ld={...gl,color:cu,backgroundColor:cu,outlineColor:cu,fill:cu,stroke:cu,borderColor:cu,borderTopColor:cu,borderRightColor:cu,borderBottomColor:cu,borderLeftColor:cu,filter:ad,WebkitFilter:ad},cd=e=>ld[e];function ud(e,t){let n=cd(e);return n!==ad&&(n=wu),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const dd=e=>/^0[^.\s]+$/.test(e);function pd(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||dd(e):void 0}function fd(e,t){return e[t]||e.default||e}const hd=(e,t,n,o={})=>r=>{const i=fd(o,e)||{},s=i.delay||o.delay||0;let{elapsed:a=0}=o;a-=Pc(s);const l=function(e,t,n,o){const r=od(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==o.from?o.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),pd(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=ud(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=od(e,c),p=od(e,u);Tc(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{r(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...nd(e,f)}),f.duration&&(f.duration=Pc(f.duration)),f.repeatDelay&&(f.repeatDelay=Pc(f.repeatDelay)),!d||!p||kc||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const r=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:bc,pause:bc,stop:bc,then:e=>(e(),Promise.resolve()),cancel:bc,complete:bc});return t?Qu({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ku(t,e,f);if(n)return n}return Qu(f)};function md(e){return Boolean(Ya(e)&&e.add)}const gd=e=>/^\-?\d*\.?\d+$/.test(e);function bd(e,t){-1===e.indexOf(t)&&e.push(t)}function vd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class yd{constructor(){this.subscriptions=[]}add(e){return bd(this.subscriptions,e),()=>vd(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xd=new Set;function Id(e,t,n){e||xd.has(t)||(console.warn(t),xd.add(t))}class Cd{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:o}=sc;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,fc.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=()=>fc.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&&Id(!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 yd);const n=this.events[e].add(t);return"change"===e?()=>{n(),fc.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?Mu(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 Ad(e,t){return new Cd(e,t)}const wd=e=>t=>t.test(e),Ed=[el,dl,ul,cl,fl,pl,{test:e=>"auto"===e,parse:e=>e}],Nd=e=>Ed.find(wd(e)),Gd=[...Ed,cu,wu],Rd=e=>Gd.find(wd(e));function Td(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ad(n))}function Sd(e,t){if(!t)return;return(t[e]||t.default||t).from}function Pd({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Vd(e,t,{delay:n=0,transitionOverride:o,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(i=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const o=e.getValue(t),r=a[t];if(!o||void 0===r||u&&Pd(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[Rc];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,o,fc))}o.start(hd(t,o,r,e.shouldReduceMotion&&Za.has(t)?{type:!1}:s));const d=o.animation;md(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Gc(e,t);let{transitionEnd:o={},transition:r={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...o};for(const t in i)Td(e,t,Hl(i[t]))}(e,s)}),c}function kd(e,t,n={}){const o=Gc(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const i=o?()=>Promise.all(Vd(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(Bd).forEach((e,o)=>{e.notify("AnimationStart",t),s.push(kd(e,t,{...i,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+o,s,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Bd(e,t){return e.sortNodePosition(t)}const Od=[...Na].reverse(),Md=Na.length;function Dd(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>kd(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=kd(e,t,n);else{const r="function"==typeof t?Gc(e,t,n.custom):t;o=Promise.all(Vd(e,r,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function jd(e){let t=Dd(e);const n={animate:Xd(!0),whileInView:Xd(),whileHover:Xd(),whileTap:Xd(),whileDrag:Xd(),whileFocus:Xd(),exit:Xd()};let o=!0;const r=(t,n)=>{const o=Gc(e,n);if(o){const{transition:e,transitionEnd:n,...r}=o;t={...t,...r,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Md;t++){const f=Od[t],h=n[f],m=void 0!==a[f]?a[f]:l[f],g=wa(m),b=f===s?h.isActive:null;!1===b&&(p=t);let v=m===l[f]&&m!==a[f]&&g;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!m&&!h.prevProp||Ea(m)||"boolean"==typeof m)continue;const y=Ld(h.prevProp,m);let x=y||f===s&&h.isActive&&!v&&g||t>p&&g;const I=Array.isArray(m)?m:[m];let C=I.reduce(r,{});!1===b&&(C={});const{prevResolvedValues:A={}}=h,w={...A,...C},E=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in w){const t=C[e],n=A[e];d.hasOwnProperty(e)||(t!==n?Wl(t)&&Wl(n)?!Nc(t,n)||y?E(e):h.protectedKeys[e]=!0:void 0!==t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):h.protectedKeys[e]=!0)}h.prevProp=m,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),o&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let f=Boolean(c.length);return o&&!1===a.initial&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,o,r){var s;if(n[t].isActive===o)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)}),n[t].isActive=o;const a=i(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Ld(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Nc(t,e)}function Xd(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Wd=0;const Hd={animation:{Feature:class extends ic{constructor(e){super(e),e.animationState||(e.animationState=jd(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ea(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 ic{constructor(){super(...arguments),this.id=Wd++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Fd=(e,t)=>Math.abs(e-t);class Zd{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=Jd(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Fd(e.x,t.x),o=Fd(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=sc;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=zd(t,this.transformPagePoint),fc.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,r=Jd("pointercancel"===e.type?this.lastMoveEventInfo:zd(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!_l(e))return;this.handlers=t,this.transformPagePoint=n;const o=zd(Ql(e),this.transformPagePoint),{point:r}=o,{timestamp:i}=sc;this.history=[{...r,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,Jd(o,this.history)),this.removeListeners=ql($l(window,"pointermove",this.handlePointerMove),$l(window,"pointerup",this.handlePointerUp),$l(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),hc(this.updatePoint)}}function zd(e,t){return t?{point:t(e.point)}:e}function Yd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Jd({point:e},t){return{point:e,delta:Yd(e,_d(t)),offset:Yd(e,Ud(t)),velocity:Qd(t,.1)}}function Ud(e){return e[0]}function _d(e){return e[e.length-1]}function Qd(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=_d(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>Pc(t)));)n--;if(!o)return{x:0,y:0};const i=Vc(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function $d(e){return e.max-e.min}function Kd(e,t=0,n=.01){return Math.abs(e-t)<=n}function qd(e,t,n,o=.5){e.origin=o,e.originPoint=uu(t.min,t.max,e.origin),e.scale=$d(n)/$d(t),(Kd(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=uu(n.min,n.max,e.origin)-e.originPoint,(Kd(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ep(e,t,n,o){qd(e.x,t.x,n.x,o?o.originX:void 0),qd(e.y,t.y,n.y,o?o.originY:void 0)}function tp(e,t,n){e.min=n.min+t.min,e.max=e.min+$d(t)}function np(e,t,n){e.min=t.min-n.min,e.max=e.min+$d(t)}function op(e,t,n){np(e.x,t.x,n.x),np(e.y,t.y,n.y)}function rp(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 ip(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const sp=.35;function ap(e,t,n){return{min:lp(e,t),max:lp(e,n)}}function lp(e,t){return"number"==typeof e?e:e[t]||0}const cp=()=>({x:{min:0,max:0},y:{min:0,max:0}});function up(e){return[e("x"),e("y")]}function dp({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function pp(e){return void 0===e||1===e}function fp({scale:e,scaleX:t,scaleY:n}){return!pp(e)||!pp(t)||!pp(n)}function hp(e){return fp(e)||mp(e)||e.z||e.rotate||e.rotateX||e.rotateY}function mp(e){return gp(e.x)||gp(e.y)}function gp(e){return e&&"0%"!==e}function bp(e,t,n){return n+t*(e-n)}function vp(e,t,n,o,r){return void 0!==r&&(e=bp(e,r,o)),bp(e,n,o)+t}function yp(e,t=0,n=1,o,r){e.min=vp(e.min,t,n,o,r),e.max=vp(e.max,t,n,o,r)}function xp(e,{x:t,y:n}){yp(e.x,t.translate,t.scale,t.originPoint),yp(e.y,n.translate,n.scale,n.originPoint)}function Ip(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Cp(e,t){e.min=e.min+t,e.max=e.max+t}function Ap(e,t,[n,o,r]){const i=void 0!==t[r]?t[r]:.5,s=uu(e.min,e.max,i);yp(e,t[n],t[o],s,t.scale)}const wp=["x","scaleX","originX"],Ep=["y","scaleY","originY"];function Np(e,t){Ap(e.x,t,wp),Ap(e.y,t,Ep)}function Gp(e,t){return dp(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const Rp=new WeakMap;class Tp{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 Zd(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ql(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=oc(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),up(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ul.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=$d(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&fc.update(()=>r(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&fc.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!Sp(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?uu(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?uu(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&Aa(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:rp(e.x,n,r),y:rp(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=sp){return!1===e?e=0:!0===e&&(e=sp),{x:ap(e,"left","right"),y:ap(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&up(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||!Aa(e))return!1;const n=e.current;Sc(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=Gp(e,n),{scroll:r}=t;return r&&(Cp(o.x,r.offset.x),Cp(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:ip(e.x,t.x),y:ip(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=dp(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=up(s=>{if(!Sp(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(hd(e,n,0,t))}stopAnimation(){up(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){up(t=>{const{drag:n}=this.getProps();if(!Sp(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-uu(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Aa(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};up(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=$d(e),r=$d(t);return r>o?n=Su(t.min,t.max-o,e.min):o>r&&(n=Su(e.min,e.max-r,t.min)),qa(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),up(t=>{if(!Sp(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(uu(r,i,o[t]))})}addListeners(){if(!this.visualElement.current)return;Rp.set(this.visualElement,this);const e=$l(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Aa(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=Ul(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(up(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=sp,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function Sp(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Pp=e=>(t,n)=>{e&&fc.update(()=>e(t,n))};const Vp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Bp={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!dl.test(e))return e;e=parseFloat(e)}return`${kp(e,t.target.x)}% ${kp(e,t.target.y)}%`}},Op={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=wu.parse(e);if(r.length>5)return o;const i=wu.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=uu(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class Mp extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;var i;i=jp,Object.assign(Ha,i),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Vp.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||fc.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Dp(e){const[n,o]=function(){const e=t.useContext(ya);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,i=t.useId();return t.useEffect(()=>r(i),[]),!n&&o?[!1,()=>o&&o(i)]:[!0]}(),r=t.useContext(Ba);return t.createElement(Mp,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(Oa),isPresent:n,safeToRemove:o})}const jp={borderRadius:{...Bp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Bp,borderTopRightRadius:Bp,borderBottomLeftRadius:Bp,borderBottomRightRadius:Bp,boxShadow:Op},Lp=["TopLeft","TopRight","BottomLeft","BottomRight"],Xp=Lp.length,Wp=e=>"string"==typeof e?parseFloat(e):e,Hp=e=>"number"==typeof e||dl.test(e);function Fp(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Zp=Yp(0,.5,Qc),zp=Yp(.5,.95,bc);function Yp(e,t,n){return o=>o<e?0:o>t?1:n(Su(e,t,o))}function Jp(e,t){e.min=t.min,e.max=t.max}function Up(e,t){Jp(e.x,t.x),Jp(e.y,t.y)}function _p(e,t,n,o,r){return e=bp(e-=t,1/n,o),void 0!==r&&(e=bp(e,1/r,o)),e}function Qp(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){ul.test(t)&&(t=parseFloat(t),t=uu(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=uu(i.min,i.max,o);e===i&&(a-=t),e.min=_p(e.min,t,n,a,r),e.max=_p(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const $p=["x","scaleX","originX"],Kp=["y","scaleY","originY"];function qp(e,t,n,o){Qp(e.x,t,$p,n?n.x:void 0,o?o.x:void 0),Qp(e.y,t,Kp,n?n.y:void 0,o?o.y:void 0)}function ef(e){return 0===e.translate&&1===e.scale}function tf(e){return ef(e.x)&&ef(e.y)}function nf(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 of(e){return $d(e.x)/$d(e.y)}class rf{constructor(){this.members=[]}add(e){bd(this.members,e),e.scheduleRender()}remove(e){if(vd(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function sf(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y;if((r||i)&&(o=`translate3d(${r}px, ${i}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),r&&(o+=`rotateY(${r}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(o+=`scale(${s}, ${a})`),o||"none"}const af=(e,t)=>e.depth-t.depth;class lf{constructor(){this.children=[],this.isDirty=!1}add(e){bd(this.children,e),this.isDirty=!0}remove(e){vd(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(af),this.isDirty=!1,this.children.forEach(e)}}const cf=["","X","Y","Z"];let uf=0;const df={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function pf({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=uf++,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;df.totalNodes=df.resolvedTargetDeltas=df.recalculatedProjection=0,this.nodes.forEach(mf),this.nodes.forEach(Cf),this.nodes.forEach(Af),this.nodes.forEach(gf),e=df,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 lf)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new yd),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(hc(o),e(i-t))};return fc.read(o,!0),()=>hc(o)}(o,250),Vp.hasAnimatedSinceResize&&(Vp.hasAnimatedSinceResize=!1,this.nodes.forEach(If))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||Tf,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!nf(this.targetLayout,o)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...fd(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||If(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,hc(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(wf),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(vf);this.isUpdating||this.nodes.forEach(yf),this.isUpdating=!1,this.nodes.forEach(xf),this.nodes.forEach(ff),this.nodes.forEach(hf),this.clearAllSnapshots();const e=performance.now();sc.delta=qa(0,1e3/60,e-sc.timestamp),sc.timestamp=e,sc.isProcessing=!0,uc.update.process(sc),uc.preRender.process(sc),uc.render.process(sc),sc.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(bf),this.sharedNodes.forEach(Ef)}scheduleUpdateProjection(){fc.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){fc.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!tf(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||hp(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),Sf((o=n).x),Sf(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Cp(t.x,n.offset.x),Cp(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Up(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:r,options:i}=o;if(o!==this.root&&r&&i.layoutScroll){if(r.isRoot){Up(t,e);const{scroll:n}=this.root;n&&(Cp(t.x,-n.offset.x),Cp(t.y,-n.offset.y))}Cp(t.x,r.offset.x),Cp(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Up(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Np(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),hp(o.latestValues)&&Np(n,o.latestValues)}return hp(this.latestValues)&&Np(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Up(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!hp(n.latestValues))continue;fp(n.latestValues)&&n.updateSnapshot();const o=cp();Up(o,n.measurePageBox()),qp(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return hp(this.latestValues)&&qp(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!==sc.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=sc.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}},op(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Up(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,tp(s.x,a.x,l.x),tp(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Up(this.target,this.layout.layoutBox),xp(this.target,this.targetDelta)):Up(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}},op(this.relativeTargetOrigin,this.target,e.target),Up(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}df.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!fp(this.parent.latestValues)&&!mp(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===sc.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;Up(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const r=i.instance;r&&r.style&&"contents"===r.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Np(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,xp(e,s)),o&&hp(i.latestValues)&&Np(e,i.latestValues))}t.x=Ip(t.x),t.y=Ip(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;ep(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=sf(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),df.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Rf));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Nf(i.x,e.x,n),Nf(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(op(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){Gf(e.x,t.x,n.x,o),Gf(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&nf(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Up(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=uu(0,void 0!==n.opacity?n.opacity:1,Zp(o)),e.opacityExit=uu(void 0!==t.opacity?t.opacity:1,0,zp(o))):i&&(e.opacity=uu(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<Xp;r++){const i=`border${Lp[r]}Radius`;let s=Fp(t,i),a=Fp(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Hp(s)===Hp(a)?(e[i]=Math.max(uu(Wp(s),Wp(a),o),0),(ul.test(a)||ul.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=uu(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(hc(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fc.update(()=>{Vp.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=Ya(e)?e:Ad(e);return o.start(hd("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&Pf(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=$d(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=$d(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Up(t,n),Np(t,r),ep(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rf);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const o={};for(let t=0;t<cf.length;t++){const r="rotate"+cf[t];n[r]&&(o[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in o)e.setStaticValue(t,o[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Fl(e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Fl(e.pointerEvents)||""),this.hasProjected&&!hp(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=sf(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Ha){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Ha[e],r="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?Fl(e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(vf),this.root.sharedNodes.clear()}}}function ff(e){e.updateLayout()}function hf(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?up(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=$d(o);o.min=t[e].min,o.max=o.min+r}):Pf(r,n.layoutBox,t)&&up(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=$d(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ep(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?ep(a,e.applyTransform(o,!0),n.measuredBox):ep(a,t,n.layoutBox);const l=!tf(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};op(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};op(a,t,i.layoutBox),nf(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function mf(e){df.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 gf(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bf(e){e.clearSnapshot()}function vf(e){e.clearMeasurements()}function yf(e){e.isLayoutDirty=!1}function xf(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function If(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cf(e){e.resolveTargetDelta()}function Af(e){e.calcProjection()}function wf(e){e.resetRotation()}function Ef(e){e.removeLeadSnapshot()}function Nf(e,t,n){e.translate=uu(t.translate,0,n),e.scale=uu(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Gf(e,t,n,o){e.min=uu(t.min,n.min,o),e.max=uu(t.max,n.max,o)}function Rf(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Tf={duration:.45,ease:[.4,0,.1,1]};function Sf(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Pf(e,t,n){return"position"===e||"preserve-aspect"===e&&!Kd(of(t),of(n),.2)}const Vf=pf({attachResizeListener:(e,t)=>Ul(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kf={current:void 0},Bf=pf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!kf.current){const e=new Vf({});e.mount(window),e.setOptions({layoutScroll:!0}),kf.current=e}return kf.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Of={pan:{Feature:class extends ic{constructor(){super(...arguments),this.removePointerDownListener=bc}onPointerDown(e){this.session=new Zd(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Pp(e),onStart:Pp(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&fc.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=$l(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 ic{constructor(e){super(e),this.removeGroupControls=bc,this.removeListeners=bc,this.controls=new Tp(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bc}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Bf,MeasureLayout:Dp}},Mf=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Df(e,t,n=1){Sc(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=Mf.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():$a(r)?Df(r,t,n+1):r}const jf=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Lf=e=>jf.has(e),Xf=e=>e===el||e===dl,Wf=(e,t)=>parseFloat(e.split(", ")[t]),Hf=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/);if(r)return Wf(r[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?Wf(t[1],e):0}},Ff=new Set(["x","y","z"]),Zf=Fa.filter(e=>!Ff.has(e));const zf={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:Hf(4,13),y:Hf(5,14)},Yf=(e,t,n={},o={})=>{t={...t},o={...o};const r=Object.keys(t).filter(Lf);let i=[],s=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=Nd(c);const d=t[r];let p;if(Wl(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Nd(c);for(let n=t;n<e&&null!==d[n];n++)p?Sc(Nd(d[n])===p,"All keyframes must be of the same type"):(p=Nd(d[n]),Sc(p===u||Xf(u)&&Xf(p),"Keyframes must be of the same dimension as the current value"))}else p=Nd(d);if(u!==p)if(Xf(u)&&Xf(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===dl&&(t[r]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[r]=u.transform(d):(s||(i=function(e){const t=[];return Zf.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),o[r]=void 0!==o[r]?o[r]:t[r],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const o=t.measureViewportBox(),r=t.current,i=getComputedStyle(r),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=zf[e](o,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(a[n]),e[n]=zf[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),xa&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:t,transitionEnd:o}};function Jf(e,t,n,o){return(e=>Object.keys(e).some(Lf))(t)?Yf(e,t,n,o):{target:t,transitionEnd:o}}const Uf=(e,t,n,o)=>{const r=function(e,{...t},n){const o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!$a(t))return;const n=Df(t,o);n&&e.set(n)});for(const e in t){const r=t[e];if(!$a(r))continue;const i=Df(r,o);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,o);return Jf(e,t=r.target,n,o=r.transitionEnd)},_f={current:null},Qf={current:!1};function $f(){if(Qf.current=!0,xa)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>_f.current=e.matches;e.addListener(t),t()}else _f.current=!1}const Kf=new WeakMap,qf=Object.keys(ka),eh=qf.length,th=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nh=Ga.length;class oh{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>fc.render(this.render,!1,!0);const{latestValues:s,renderState:a}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Ra(t),this.isVariantNode=Ta(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&Ya(t)&&(t.set(s[e],!1),md(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Kf.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)),Qf.current||$f(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||_f.current),"production"!==process.env.NODE_ENV&&Id(!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(){Kf.delete(this.current),this.projection&&this.projection.unmount(),hc(this.notifyUpdate),hc(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=Za.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&fc.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,r){let i,s;if("production"!==process.env.NODE_ENV&&o&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Tc(!1,e):Sc(!1,e)}for(let e=0;e<eh;e++){const n=qf[e],{isEnabled:o,Feature:r,ProjectionNode:a,MeasureLayout:l}=ka[n];a&&(i=a),o(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:o,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(o)||s&&Aa(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<th.length;t++){const n=th[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){const{willChange:o}=t;for(const r in t){const i=t[r],s=n[r];if(Ya(i))e.addValue(r,i),md(o)&&o.add(r),"development"===process.env.NODE_ENV&&Id("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Ya(s))e.addValue(r,Ad(i,{owner:e})),md(o)&&o.remove(r);else if(s!==i)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,Ad(void 0!==t?t:i,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<nh;e++){const n=Ga[e],o=this.props[n];(wa(o)||!1===o)&&(t[n]=o)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Ad(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,o="string"==typeof n||"object"==typeof n?null===(t=Xl(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Ya(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new yd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class rh extends oh{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:o},r){let i=function(e,t,n){const o={};for(const r in e){const e=Sd(r,t);if(void 0!==e)o[r]=e;else{const e=n.getValue(r);e&&(o[r]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),i&&(i=o(i))),r){!function(e,t,n){var o,r;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(o=n[s])&&void 0!==o?o:e.readValue(s))&&void 0!==r?r:t[s]),null!=c&&("string"==typeof c&&(gd(c)||dd(c))?c=parseFloat(c):!Rd(c)&&wu.test(l)&&(c=ud(s,l)),e.addValue(s,Ad(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=Uf(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class ih extends rh{readValueFromInstance(e,t){if(Za.has(t)){const e=cd(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Qa(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Gp(e,t)}build(e,t,n,o){bl(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return jl(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ya(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){Ol(e,t,n,o)}}class sh extends rh{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Za.has(t)){const e=cd(t);return e&&e.default||0}return t=Ml.has(t)?t:Bl(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Ll(e,t)}build(e,t,n,o){Tl(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){Dl(e,t,0,o)}mount(e){this.isSVGTag=Pl(e.tagName),super.mount(e)}}const ah=(e,t)=>Wa(e)?new sh(t,{enableHardwareAcceleration:!1}):new ih(t,{enableHardwareAcceleration:!0}),lh={...Hd,...Ec,...Of,...{layout:{ProjectionNode:Bf,MeasureLayout:Dp}}},ch=La((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...Wa(e)?Yl:Jl,preloadedFeatures:n,useRender:kl(t),createVisualElement:o,Component:e}}(e,t,lh,ah));function uh(){!Qf.current&&$f();const[e]=t.useState(_f.current);return"production"!==process.env.NODE_ENV&&Id(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const dh={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 ph({children:n,animationType:o,disableAnimation:r=!0,whileHover:i,whileTap:s,transition:a,...l}){const c=uh(),u=t.Children.only(n);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=dh[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}(o),p=d?{...d.whileHover,...i}:i,f=(null==d?void 0:d.whileTap)||s?{...null==d?void 0:d.whileTap,...s}:void 0,h=d?{...d.transition,...a}:a;if("string"==typeof u.type){const t=ch[u.type];return e.jsx(t,{...u.props,whileHover:p,whileTap:f,transition:h,...l})}return e.jsx(ch.div,{whileHover:p,whileTap:f,transition:h,...l,children:u})}ph.displayName="AnimationWrapper";exports.Accordion=kn,exports.AlertCard=ca,exports.AnimationWrapper=ph,exports.BrandButton=da,exports.Button=Fe,exports.CallButton=$e,exports.Checkbox=Bn,exports.Checklist=Le,exports.Collapse=Vn,exports.Divider=pa,exports.Image=Ye,exports.Input=ze,exports.InputField=Ze,exports.Link=He,exports.List=Me,exports.ListItem=Oe,exports.MaterialIcon=De,exports.Modal=Pn,exports.NextImage=_e,exports.PageSkeleton=()=>e.jsxs("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e.jsx("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]}),exports.RadioButton=fa,exports.SeeMore=ha,exports.Select=la,exports.SelectPlanButton=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!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 ${r?" 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"} `,h=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:o,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Fe,{onClick:()=>{p(!0),n()},className:xe(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.jsx("span",{children:"Select plan"}),e.jsx(De,{className:xe(a,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),h]})},exports.Skeleton=ma,exports.Spinner=Qe,exports.Text=je,exports.TextInput=ze,exports.Tooltip=ga,exports.ViewCartButton=t=>{const{cartTotalText:n,onClick:o,isOpen:r,...i}=t;return e.jsx(Fe,{className:xe("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:o,...i,children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-2",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(je,{className:"label4 -mb-1 text-text",children:"View cart"}),e.jsx(je,{className:"label3 text-text md:label1","data-testid":"cart-total",children:n})]}),e.jsx(De,{name:"keyboard_arrow_up",size:24,fill:0,className:xe("h-6 w-6 transition-transform",r?"rotate-180":"rotate-0")})]})})},exports.clsx=l,exports.cx=xe,exports.useBodyScrollLock=Ke,exports.useCarouselSwipe=function(e){const{itemCount:n,cardOffsetPercentage:o=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[h,m]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),x=t.useRef(null),I={CARD_OFFSET_PERCENTAGE:o,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;m((null===(e=x.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),A=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),w=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),E=t.useCallback(e=>{y.current=e.touches[0].clientX,f(!0),v.current&&clearInterval(v.current)},[]),N=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-y.current;d(t)},[p]),G=t.useCallback(()=>{f(!1);const e=h*r;u>e?A():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,h,r,A,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:h,containerRef:x,nextSlide:C,prevSlide:A,goToSlide:w,handleTouchStart:E,handleTouchMove:N,handleTouchEnd:G,constants:I}};
31
31
  //# sourceMappingURL=index.js.map