@windstream/react-shared-components 0.1.72 → 0.1.73
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.
- package/README.md +635 -635
- package/dist/contentful/index.d.ts +2 -2
- package/dist/contentful/index.esm.js +2 -4
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -4
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +5 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +1 -3
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +1 -3
- package/dist/next/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -3
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +185 -185
- package/src/components/accordion/Accordion.stories.tsx +230 -230
- package/src/components/accordion/index.tsx +70 -70
- package/src/components/accordion/types.ts +12 -12
- package/src/components/alert-card/AlertCard.stories.tsx +171 -171
- package/src/components/alert-card/index.tsx +41 -41
- package/src/components/alert-card/types.ts +13 -13
- package/src/components/brand-button/BrandButton.stories.tsx +223 -223
- package/src/components/brand-button/helpers.ts +35 -35
- package/src/components/brand-button/index.tsx +120 -120
- package/src/components/brand-button/types.ts +38 -38
- package/src/components/button/Button.stories.tsx +108 -108
- package/src/components/button/index.tsx +27 -27
- package/src/components/button/types.ts +14 -14
- package/src/components/call-button/CallButton.stories.tsx +324 -324
- package/src/components/call-button/index.tsx +106 -106
- package/src/components/call-button/types.ts +16 -16
- package/src/components/checkbox/Checkbox.stories.tsx +247 -247
- package/src/components/checkbox/index.tsx +197 -197
- package/src/components/checkbox/types.ts +27 -27
- package/src/components/checklist/Checklist.stories.tsx +150 -150
- package/src/components/checklist/index.tsx +61 -61
- package/src/components/checklist/types.ts +17 -17
- package/src/components/collapse/Collapse.stories.tsx +255 -255
- package/src/components/collapse/index.tsx +46 -46
- package/src/components/collapse/types.ts +6 -6
- package/src/components/divider/Divider.stories.tsx +205 -205
- package/src/components/divider/index.tsx +22 -22
- package/src/components/divider/type.ts +3 -3
- package/src/components/image/Image.stories.tsx +113 -113
- package/src/components/image/index.tsx +25 -25
- package/src/components/image/types.ts +40 -40
- package/src/components/input/Input.stories.tsx +325 -325
- package/src/components/input/index.tsx +177 -177
- package/src/components/input/types.ts +37 -37
- package/src/components/link/Link.stories.tsx +163 -163
- package/src/components/link/index.tsx +116 -116
- package/src/components/link/types.ts +25 -25
- package/src/components/list/List.stories.tsx +272 -272
- package/src/components/list/index.tsx +88 -88
- package/src/components/list/list-item/index.tsx +38 -38
- package/src/components/list/list-item/types.ts +13 -13
- package/src/components/list/types.ts +29 -29
- package/src/components/material-icon/MaterialIcon.stories.tsx +322 -322
- package/src/components/material-icon/constants.ts +99 -99
- package/src/components/material-icon/index.tsx +47 -47
- package/src/components/material-icon/types.ts +31 -31
- package/src/components/modal/Modal.stories.tsx +171 -171
- package/src/components/modal/index.tsx +164 -164
- package/src/components/modal/types.ts +24 -24
- package/src/components/next-image/index.tsx +74 -74
- package/src/components/next-image/types.ts +1 -1
- package/src/components/pagination/index.tsx +91 -91
- package/src/components/pagination/types.ts +6 -6
- package/src/components/radio-button/RadioButton.stories.tsx +307 -307
- package/src/components/radio-button/index.tsx +75 -75
- package/src/components/radio-button/types.ts +21 -21
- package/src/components/see-more/SeeMore.stories.tsx +181 -181
- package/src/components/see-more/index.tsx +44 -44
- package/src/components/see-more/types.ts +4 -4
- package/src/components/select/Select.stories.tsx +411 -411
- package/src/components/select/index.tsx +155 -155
- package/src/components/select/types.ts +36 -36
- package/src/components/select-plan-button/SelectPlanButton.stories.tsx +184 -184
- package/src/components/select-plan-button/index.tsx +63 -63
- package/src/components/select-plan-button/types.ts +17 -17
- package/src/components/skeleton/Skeleton.stories.tsx +179 -179
- package/src/components/skeleton/index.tsx +61 -61
- package/src/components/skeleton/types.ts +4 -4
- package/src/components/spinner/Spinner.stories.tsx +335 -335
- package/src/components/spinner/index.tsx +44 -44
- package/src/components/spinner/types.ts +5 -5
- package/src/components/text/Text.stories.tsx +321 -321
- package/src/components/text/index.tsx +25 -25
- package/src/components/text/types.ts +45 -45
- package/src/components/tooltip/Tooltip.stories.tsx +219 -219
- package/src/components/tooltip/index.tsx +74 -74
- package/src/components/tooltip/types.ts +7 -7
- package/src/components/view-cart-button/ViewCartButton.stories.tsx +252 -252
- package/src/components/view-cart-button/index.tsx +42 -42
- package/src/components/view-cart-button/types.ts +5 -5
- package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +128 -128
- package/src/contentful/blocks/accordion/Accordion.stories.tsx +98 -98
- package/src/contentful/blocks/accordion/index.tsx +112 -112
- package/src/contentful/blocks/accordion/types.ts +34 -34
- package/src/contentful/blocks/address-input-banner/index.tsx +52 -52
- package/src/contentful/blocks/address-input-banner/types.ts +14 -14
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +181 -181
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +13 -13
- package/src/contentful/blocks/blogs-grid/index.tsx +134 -134
- package/src/contentful/blocks/blogs-grid/types.ts +26 -26
- package/src/contentful/blocks/blogs-grid-base/index.tsx +119 -119
- package/src/contentful/blocks/blogs-grid-base/types.ts +36 -36
- package/src/contentful/blocks/breadcrumbs/index.tsx +81 -81
- package/src/contentful/blocks/breadcrumbs/types.ts +6 -6
- package/src/contentful/blocks/button/Button.stories.tsx +40 -40
- package/src/contentful/blocks/button/index.tsx +131 -131
- package/src/contentful/blocks/button/types.ts +39 -39
- package/src/contentful/blocks/callout/Callout.stories.tsx +23 -23
- package/src/contentful/blocks/callout/index.tsx +252 -252
- package/src/contentful/blocks/callout/types.ts +68 -68
- package/src/contentful/blocks/cards/Cards.stories.tsx +23 -23
- package/src/contentful/blocks/cards/blog-card/index.tsx +129 -129
- package/src/contentful/blocks/cards/blog-card/types.ts +34 -34
- package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -119
- package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -30
- package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -130
- package/src/contentful/blocks/cards/full-image-card/types.ts +29 -29
- package/src/contentful/blocks/cards/index.tsx +13 -13
- package/src/contentful/blocks/cards/product-card/index.tsx +251 -251
- package/src/contentful/blocks/cards/product-card/types.ts +28 -28
- package/src/contentful/blocks/cards/simple-card/index.tsx +325 -325
- package/src/contentful/blocks/cards/simple-card/types.ts +71 -71
- package/src/contentful/blocks/cards/testimonial-card/index.tsx +90 -90
- package/src/contentful/blocks/cards/testimonial-card/types.tsx +12 -12
- package/src/contentful/blocks/cards/types.ts +1 -1
- package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -23
- package/src/contentful/blocks/carousel/helper.tsx +440 -440
- package/src/contentful/blocks/carousel/index.tsx +85 -85
- package/src/contentful/blocks/carousel/types.ts +144 -144
- package/src/contentful/blocks/cart-retention-banner/index.tsx +105 -105
- package/src/contentful/blocks/cart-retention-banner/types.ts +11 -11
- package/src/contentful/blocks/comparison-table/index.tsx +29 -29
- package/src/contentful/blocks/comparison-table/types.ts +6 -6
- package/src/contentful/blocks/cookiebanner/index.tsx +146 -146
- package/src/contentful/blocks/cookiebanner/type.ts +7 -7
- package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -46
- package/src/contentful/blocks/cta-callout/index.tsx +71 -71
- package/src/contentful/blocks/cta-callout/types.ts +26 -26
- package/src/contentful/blocks/dynamic-tabs/index.tsx +204 -204
- package/src/contentful/blocks/dynamic-tabs/types.ts +21 -21
- package/src/contentful/blocks/email-input-block/index.tsx +116 -116
- package/src/contentful/blocks/email-input-block/types.ts +16 -16
- package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
- package/src/contentful/blocks/find-kinetic/index.tsx +130 -130
- package/src/contentful/blocks/find-kinetic/types.ts +19 -19
- package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +34 -34
- package/src/contentful/blocks/floating-banner/index.tsx +97 -97
- package/src/contentful/blocks/floating-banner/types.ts +22 -22
- package/src/contentful/blocks/footer/Footer.stories.tsx +317 -317
- package/src/contentful/blocks/footer/index.tsx +91 -91
- package/src/contentful/blocks/footer/types.ts +13 -13
- package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -23
- package/src/contentful/blocks/image-promo-bar/helper.tsx +28 -28
- package/src/contentful/blocks/image-promo-bar/index.tsx +246 -246
- package/src/contentful/blocks/image-promo-bar/types.ts +44 -44
- package/src/contentful/blocks/image-promo-bar/vimeo-embed.tsx +93 -93
- package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +46 -46
- package/src/contentful/blocks/modal/constants.ts +53 -53
- package/src/contentful/blocks/modal/index.tsx +107 -107
- package/src/contentful/blocks/modal/types.ts +12 -12
- package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +124 -124
- package/src/contentful/blocks/navigation/index.tsx +462 -462
- package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +82 -82
- package/src/contentful/blocks/navigation/types.ts +64 -64
- package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -23
- package/src/contentful/blocks/primary-hero/index.tsx +236 -236
- package/src/contentful/blocks/primary-hero/types.ts +37 -37
- package/src/contentful/blocks/search-block/index.tsx +90 -90
- package/src/contentful/blocks/search-block/types.ts +15 -15
- package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -26
- package/src/contentful/blocks/shape-background-wrapper/index.tsx +124 -124
- package/src/contentful/blocks/shape-background-wrapper/types.ts +36 -36
- package/src/contentful/blocks/text/Text.stories.tsx +23 -23
- package/src/contentful/blocks/text/index.tsx +12 -12
- package/src/contentful/blocks/text/types.ts +1 -1
- package/src/contentful/index.ts +105 -105
- package/src/hooks/contentful/use-contentful-rich-text.tsx +309 -309
- package/src/hooks/contentful/use-processed-check-list.ts +63 -63
- package/src/hooks/use-body-scroll-lock.ts +34 -34
- package/src/hooks/use-carousel-swipe.ts +264 -264
- package/src/hooks/use-outside-click.ts +17 -17
- package/src/index.ts +101 -101
- package/src/next/index.ts +5 -5
- package/src/setupTests.ts +46 -46
- package/src/stories/DocsTemplate.tsx +24 -24
- package/src/styles/globals.css +343 -343
- package/src/types/global.d.ts +9 -9
- package/src/types/micro-components.ts +99 -99
- package/src/types/utm.ts +49 -49
- package/src/utils/contentful/to-document.ts +24 -24
- package/src/utils/cookie.ts +84 -84
- package/src/utils/cx.ts +49 -49
- package/src/utils/index.ts +41 -41
- package/src/utils/speed-card-bg.ts +24 -24
- package/src/utils/utm.ts +221 -221
package/dist/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),o=require("react-dom");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var a=i(t);function s(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=s(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function l(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=s(e))&&(r&&(r+=" "),r+=t);return r}const c=e=>{const t=f(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=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 o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},u=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?u(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},d=/^\[(.+)\]$/,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,r={nextPart:new Map,validators:[]};for(const e in n)b(n[e],r,e,t);return r},b=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:m(t,e)).classGroupId=n)}if("function"==typeof e)return g(e)?void b(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{b(o,m(t,e),n,r)})})},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,h=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},v=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===o){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(i),s=y(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},y=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,I=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},C=/\s+/;function x(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=A(e))&&(r&&(r+=" "),r+=t);return r}const A=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=A(e[r]))&&(n&&(n+=" "),n+=t);return n};function E(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:h(e.cacheSize),parseClassName:v(e),sortModifiers:I(e),...c(e)}))(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(C);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let b=!!f,m=r(b?p.substring(0,f):p);if(!m){if(!b){l=t+(l.length>0?" "+l:l);continue}if(m=r(p),!m){l=t+(l.length>0?" "+l:l);continue}b=!1}const g=i(u).join(":"),h=d?g+"!":g,v=h+m;if(a.includes(v))continue;a.push(v);const y=o(m,b);for(let e=0;e<y.length;++e){const t=y[e];a.push(h+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(x.apply(null,arguments))}}const w=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},O=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,N=/^\((?:(\w[\w-]*):)?(.+)\)$/i,S=/^\d+\/\d+$/,G=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\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$/,B=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>S.test(e),P=e=>!!e&&!Number.isNaN(Number(e)),j=e=>!!e&&Number.isInteger(Number(e)),M=e=>e.endsWith("%")&&P(e.slice(0,-1)),D=e=>G.test(e),V=()=>!0,H=e=>R.test(e)&&!B.test(e),X=()=>!1,W=e=>T.test(e),Z=e=>L.test(e),F=e=>!Y(e)&&!$(e),z=e=>ie(e,ce,X),Y=e=>O.test(e),_=e=>ie(e,ue,H),J=e=>ie(e,de,P),U=e=>ie(e,se,X),K=e=>ie(e,le,Z),Q=e=>ie(e,fe,W),$=e=>N.test(e),q=e=>ae(e,ue),ee=e=>ae(e,pe),te=e=>ae(e,se),ne=e=>ae(e,ce),re=e=>ae(e,le),oe=e=>ae(e,fe,!0),ie=(e,t,n)=>{const r=O.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ae=(e,t,n=!1)=>{const r=N.exec(e);return!!r&&(r[1]?t(r[1]):n)},se=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,be=()=>{const e=w("color"),t=w("font"),n=w("text"),r=w("font-weight"),o=w("tracking"),i=w("leading"),a=w("breakpoint"),s=w("container"),l=w("spacing"),c=w("radius"),u=w("shadow"),d=w("inset-shadow"),p=w("text-shadow"),f=w("drop-shadow"),b=w("blur"),m=w("perspective"),g=w("aspect"),h=w("ease"),v=w("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",$,Y],I=()=>[$,Y,l],C=()=>[k,"full","auto",...I()],x=()=>[j,"none","subgrid",$,Y],A=()=>["auto",{span:["full",j,$,Y]},j,$,Y],E=()=>[j,"auto",$,Y],O=()=>["auto","min","max","fr",$,Y],N=()=>["auto",...I()],S=()=>[k,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],G=()=>[e,$,Y],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",te,U,{position:[$,Y]}],B=()=>["auto","cover","contain",ne,z,{size:[$,Y]}],T=()=>[M,q,_],L=()=>["","none","full",c,$,Y],H=()=>["",P,q,_],X=()=>[P,M,te,U],W=()=>["","none",b,$,Y],Z=()=>["none",P,$,Y],ie=()=>["none",P,$,Y],ae=()=>[P,$,Y],se=()=>[k,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[D],breakpoint:[D],color:[V],container:[D],"drop-shadow":[D],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[D],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[D],shadow:[D],spacing:["px",P],text:[D],"text-shadow":[D],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",k,Y,$,g]}],container:["container"],columns:[{columns:[P,Y,$,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[j,"auto",$,Y]}],basis:[{basis:[k,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[P,k,"auto","initial","none",Y]}],grow:[{grow:["",P,$,Y]}],shrink:[{shrink:["",P,$,Y]}],order:[{order:[j,"first","last","none",$,Y]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[s,"screen",...S()]}],"min-w":[{"min-w":[s,"screen","none",...S()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,q,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,$,J]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",M,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:[o,$,Y]}],"line-clamp":[{"line-clamp":[P,"none",$,J]}],leading:[{leading:[i,...I()]}],"list-image":[{"list-image":["none",$,Y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$,Y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[P,"from-font","auto",$,_]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[P,"auto",$,Y]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$,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",$,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:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},j,$,Y],radial:["",$,Y],conic:[j,$,Y]},re,K]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"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:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[P,$,Y]}],"outline-w":[{outline:["",P,q,_]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",u,oe,Q]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",d,oe,Q]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[P,_]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",p,oe,Q]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[P,$,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":[P]}],"mask-image-linear-from-pos":[{"mask-linear-from":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[$,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":[P]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$,Y]}],filter:[{filter:["","none",$,Y]}],blur:[{blur:W()}],brightness:[{brightness:[P,$,Y]}],contrast:[{contrast:[P,$,Y]}],"drop-shadow":[{"drop-shadow":["","none",f,oe,Q]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",P,$,Y]}],"hue-rotate":[{"hue-rotate":[P,$,Y]}],invert:[{invert:["",P,$,Y]}],saturate:[{saturate:[P,$,Y]}],sepia:[{sepia:["",P,$,Y]}],"backdrop-filter":[{"backdrop-filter":["","none",$,Y]}],"backdrop-blur":[{"backdrop-blur":W()}],"backdrop-brightness":[{"backdrop-brightness":[P,$,Y]}],"backdrop-contrast":[{"backdrop-contrast":[P,$,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",P,$,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[P,$,Y]}],"backdrop-invert":[{"backdrop-invert":["",P,$,Y]}],"backdrop-opacity":[{"backdrop-opacity":[P,$,Y]}],"backdrop-saturate":[{"backdrop-saturate":[P,$,Y]}],"backdrop-sepia":[{"backdrop-sepia":["",P,$,Y]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$,Y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[P,"initial",$,Y]}],ease:[{ease:["linear","initial",h,$,Y]}],delay:[{delay:[P,$,Y]}],animate:[{animate:["none",v,$,Y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,$,Y]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[$,Y,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",$,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":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$,Y]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[P,q,_,J]}],stroke:[{stroke:["none",...G()]}],"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])},he=(e,t)=>{if(t)for(const n in t)ve(e,t,n)},ve=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ye=((e,...t)=>"function"==typeof e?E(be,e,...t):E(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(me(e,"cacheSize",t),me(e,"prefix",n),me(e,"experimentalParseClassName",r),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),he(e.theme,o.theme),he(e.classGroups,o.classGroups),he(e.conflictingClassGroups,o.conflictingClassGroups),he(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),ve(e,o,"orderSensitiveModifiers"),e))(be(),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"]}}}),Ie=(...e)=>ye(l(...e));
|
|
4
|
-
/*! js-cookie v3.0.5 | MIT */
|
|
5
|
-
function Ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function xe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ae(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}!function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=Ce({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in o)o[a]&&(i+="; "+a,!0!==o[a]&&(i+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",Ce({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ce({},this.attributes,t))},withConverter:function(t){return e(Ce({},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 Ee,we={},Oe={},Ne={};function Se(){return Ee||(Ee=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(Ne)),Ne}var Ge,Re={};function Be(){return Ge||(Ge=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(Re)),Re}var Te,Le={};function ke(){return Te||(Te=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(Le)),Le}var Pe,je={};function Me(){return Pe||(Pe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return f},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return b},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return m},get VOID_BLOCKS(){return d}});var t=Se(),n=Be(),r=ke();function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(i(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),i(a,t.BLOCKS.LIST_ITEM,c),i(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),i(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),i(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),i(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),i(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),f=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],b=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(s=f)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(je)),je}var De,Ve={};var He,Xe={};var We,Ze={};var Fe,ze={};function Ye(){return Fe||(Fe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=Se(),n=Be();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function i(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=Object.keys(e)[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){if(t===e[i.value])return!0}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return!1}function a(e){return i(n.INLINES,e.nodeType)}function s(e){return i(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?o(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(ze)),ze}var _e,Je,Ue={},Ke={};function Qe(){return Je?_e:(Je=1,_e=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var $e,qe,et={};function tt(){return $e||($e=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return a},get maxSizeError(){return i},get minSizeError(){return o},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return s}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,o=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:o}},o=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},i=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},a=function(e){var t=e.expected,r=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:o.toArray(),value:r}},s=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(et)),et}function nt(){return qe||(qe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(Qe()),n=tt();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){function e(r,o){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"obj",void 0),i(this,"path",void 0),i(this,"_errors",void 0),i(this,"catch",void 0),i(this,"exists",void 0),i(this,"object",void 0),i(this,"string",void 0),i(this,"number",void 0),i(this,"array",void 0),i(this,"enum",void 0),i(this,"empty",void 0),i(this,"minLength",void 0),i(this,"noAdditionalProperties",void 0),i(this,"each",void 0),this.obj=r,this.path=o,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,n.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var r=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(r))return!0;var o,i=e?a.path.of(e):a.path,s=null!==(o=null!=e?e:a.path.last())&&void 0!==o?o:"value";return a.catch((0,n.typeMismatchError)({typeName:"Object",property:s,path:i,value:r})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var r=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(a.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:r})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=a.obj[e];return!("string"!=typeof r||!t.includes(r))||(a.catch((0,n.enumError)({expected:t,value:r,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,n.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var r=a.obj[e];return r.length>=t||(a.catch((0,n.minSizeError)({min:t,value:r,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,n.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var n=a.obj[e],r=!1;n.forEach(function(n,o){if(!r){var i=t(n,a.path.of(e).of(o));i.length>0&&(r=!0),a.catch.apply(a,s(i))}})}}}return o(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(Ke)),Ke}var rt,ot={};function it(){return rt||(rt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return m},get HyperLinkAssertion(){return g},get NodeAssertion(){return b},get VOID_CONTENT(){return f},get assert(){return h},get assertLink(){return v}});var t=nt();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var f=[],b=function(){function e(t,n){i(this,e),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return a(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),i=o.nodeTypes,a=o.min,s=void 0===a?0:a;if(0===i.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===i.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",i),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),m=function(e){function n(e,a){var l;return i(this,n),l=o(this,n,[a,function(e,t){return r(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var o,i=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));i.object()&&(i.enum("type",[l.type]),i.enum("linkType",[l.linkType]),"Link"===l.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=r).catch.apply(o,d(i.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(b),g=function(e){function n(){var e;return i(this,n),e=o(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),s(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(b),h=function(e,t){return new b(e,t)},v=function(e,t){return new m(e,t)}}(ot)),ot}var at,st={};function lt(){return at||(at=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return o}});var o=function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=o,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(st)),st}var ct,ut,dt,pt,ft={};function bt(){return ut||(ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=Se(),n=Be(),r=Me(),o=nt(),i=it(),a=lt(),s=(ct||(ct=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=nt();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(ft)),ft);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,p=(0,i.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),f=(0,i.assert)([t.BLOCKS.LIST_ITEM]),b=(0,i.assertLink)("Entry",i.VOID_CONTENT),m=(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new o.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,i.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,i.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,b),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,i.assertLink)("Asset",i.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,i.assert)(i.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,f),c(d,t.BLOCKS.UL_LIST,f),c(d,t.BLOCKS.LIST_ITEM,(0,i.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,m),c(d,t.BLOCKS.TABLE_HEADER_CELL,m),c(d,n.INLINES.HYPERLINK,new i.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,b),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,i.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,i.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,i.assertLink)("Contentful:Entry",["text"])),d);function h(e,t){if("text"===e.nodeType)return(0,s.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new o.ObjectAssertion(e,t);return r.each("content",function(e,t){return h(e,t)}),r.errors}var v=function(e){var n=new a.Path,r=new o.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:h(e,n)}}(Ue)),Ue}function mt(){return dt||(dt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return i},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=Se(),n=Be(),r=ke();s(Me(),e),s((De||(De=1,Object.defineProperty(Ve,"__esModule",{value:!0})),Ve),e),s((He||(He=1,Object.defineProperty(Xe,"__esModule",{value:!0})),Xe),e);var o=(We||(We=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Se(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(Ze)),Ze),i=c(Ye()),a=bt();function s(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}}(Oe)),Oe}!function(){if(pt)return we;pt=1;var e=t,n=mt();function r(t,n){return t.map((t,r)=>{return i=o(t,n),a=r,e.isValidElement(i)&&null===i.key?e.cloneElement(i,{key:a}):i;var i,a})}function o(t,o){const{renderNode:i,renderMark:a,renderText:s,preserveWhitespace:l}=o;if(n.helpers.isText(t)){let n=s?s(t.value):t.value;if(l&&!s){n=n.replace(/ {2,}/g,e=>" ".repeat(e.length));const t=n.split("\n"),r=[];t.forEach((n,o)=>{r.push(n),o!==t.length-1&&r.push(e.createElement("br",null))}),n=r}return t.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,n)}{const n=r(t.content,o);return t.nodeType&&i[t.nodeType]?i[t.nodeType](t,n):e.createElement(e.Fragment,null,n)}}const i={[n.BLOCKS.DOCUMENT]:(e,t)=>t,[n.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[n.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[n.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[n.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[n.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[n.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[n.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[n.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[n.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[n.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[n.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[n.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[n.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[n.BLOCKS.HR]:()=>e.createElement("hr",null),[n.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[n.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[n.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[n.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[n.INLINES.ASSET_HYPERLINK]:e=>s(n.INLINES.ASSET_HYPERLINK,e),[n.INLINES.ENTRY_HYPERLINK]:e=>s(n.INLINES.ENTRY_HYPERLINK,e),[n.INLINES.RESOURCE_HYPERLINK]:e=>l(n.INLINES.RESOURCE_HYPERLINK,e),[n.INLINES.EMBEDDED_ENTRY]:e=>s(n.INLINES.EMBEDDED_ENTRY,e),[n.INLINES.EMBEDDED_RESOURCE]:(e,t)=>l(n.INLINES.EMBEDDED_RESOURCE,e),[n.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},a={[n.MARKS.BOLD]:t=>e.createElement("b",null,t),[n.MARKS.ITALIC]:t=>e.createElement("i",null,t),[n.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[n.MARKS.CODE]:t=>e.createElement("code",null,t),[n.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[n.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[n.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function l(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}we.documentToReactComponents=function(e,t={}){if(!e)return null;let r=e;return t.stripEmptyTrailingParagraph&&(r=n.helpers.stripEmptyTrailingParagraphFromDocument(e)),o(r,{renderNode:{...i,...t.renderNode},renderMark:{...a,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}}();var gt=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),ht=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});function vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var It,Ct=[gt.PARAGRAPH,gt.HEADING_1,gt.HEADING_2,gt.HEADING_3,gt.HEADING_4,gt.HEADING_5,gt.HEADING_6,gt.OL_LIST,gt.UL_LIST,gt.HR,gt.QUOTE,gt.EMBEDDED_ENTRY,gt.EMBEDDED_ASSET,gt.EMBEDDED_RESOURCE,gt.TABLE],xt=[gt.PARAGRAPH,gt.HEADING_1,gt.HEADING_2,gt.HEADING_3,gt.HEADING_4,gt.HEADING_5,gt.HEADING_6,gt.OL_LIST,gt.UL_LIST,gt.HR,gt.QUOTE,gt.EMBEDDED_ENTRY,gt.EMBEDDED_ASSET,gt.EMBEDDED_RESOURCE];gt.TABLE,gt.TABLE_ROW,gt.TABLE_CELL,gt.TABLE_HEADER_CELL,gt.HR,gt.EMBEDDED_ENTRY,gt.EMBEDDED_ASSET,gt.EMBEDDED_RESOURCE;var At,Et=(yt(It={},gt.OL_LIST,[gt.LIST_ITEM]),yt(It,gt.UL_LIST,[gt.LIST_ITEM]),yt(It,gt.LIST_ITEM,xt),yt(It,gt.QUOTE,[gt.PARAGRAPH]),yt(It,gt.TABLE,[gt.TABLE_ROW]),yt(It,gt.TABLE_ROW,[gt.TABLE_CELL,gt.TABLE_HEADER_CELL]),yt(It,gt.TABLE_CELL,[gt.PARAGRAPH,gt.UL_LIST,gt.OL_LIST]),yt(It,gt.TABLE_HEADER_CELL,[gt.PARAGRAPH]),It),wt=[gt.HEADING_1,gt.HEADING_2,gt.HEADING_3,gt.HEADING_4,gt.HEADING_5,gt.HEADING_6];[gt.PARAGRAPH].concat(function(e){if(Array.isArray(e))return vt(e)}(At=wt)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(At)||function(e,t){if(e){if("string"==typeof e)return vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vt(e,t):void 0}}(At)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),gt.DOCUMENT,gt.PARAGRAPH,gt.HEADING_1,gt.HEADING_2,gt.HEADING_3,gt.HEADING_4,gt.HEADING_5,gt.HEADING_6,gt.OL_LIST,gt.UL_LIST,gt.LIST_ITEM,gt.HR,gt.QUOTE,gt.EMBEDDED_ENTRY,gt.EMBEDDED_ASSET,ht.HYPERLINK,ht.ENTRY_HYPERLINK,ht.ASSET_HYPERLINK,ht.EMBEDDED_ENTRY,gt.DOCUMENT,gt.PARAGRAPH;var Ot=xe(Qe());function Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function St(e){return function(e){if(Array.isArray(e))return Nt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Nt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Gt=function(e){var t=e.path,n=e.property,r=e.typeName,o=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:o}};function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bt(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(e){return function(e){if(Array.isArray(e))return Rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Rt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var kt=function(){function e(t,n){var r=this,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Tt(this,"obj",void 0),Tt(this,"path",void 0),Tt(this,"_errors",void 0),Tt(this,"catch",void 0),Tt(this,"exists",void 0),Tt(this,"object",void 0),Tt(this,"string",void 0),Tt(this,"number",void 0),Tt(this,"array",void 0),Tt(this,"enum",void 0),Tt(this,"empty",void 0),Tt(this,"minLength",void 0),Tt(this,"noAdditionalProperties",void 0),Tt(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=o._errors).push.apply(r,Lt(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(Ot(t))return!0;var n,o=e?r.path.of(e):r.path,i=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(Gt({typeName:"Object",property:i,path:o,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(Gt({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(Gt({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(Gt({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:St(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],o=!1;n.forEach(function(n,i){if(!o){var a=t(n,r.path.of(e).of(i));a.length>0&&(o=!0),r.catch.apply(r,Lt(a))}})}}}return Bt(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mt(e,t,n){return t=Xt(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return jt(e)}(e,zt()?Reflect.construct(t,n||[],Xt(e).constructor):t.apply(e,n))}function Dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xt(e)}function Wt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zt(e,t)}function Ft(e){return function(e){if(Array.isArray(e))return Pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Pt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zt=function(){return!!e})()}var Yt=[],_t=function(){function e(t,n){Dt(this,e),Ht(this,"contentRule",void 0),Ht(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Vt(e,[{key:"assert",value:function(e,t){var n=new kt(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),o=r.nodeTypes,i=r.min,a=void 0===i?0:i;if(0===o.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(n.minLength("content",a),0===o.length?n.empty("content"):n.each("content",function(e,t){var n=new kt(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=n).catch.apply(s,Ft(u))}return n.errors}}]),e}(),Jt=function(e){function t(e,n){var r;return Dt(this,t),r=Mt(this,t,[n,function(e,t){return jt(r).assertLink(e,t)}]),Ht(r,"linkType",void 0),Ht(r,"type",void 0),Ht(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new kt(e,t);if(n.object("target")){var o,i=new kt(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[r.type]),i.enum("linkType",[r.linkType]),"Link"===r.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=n).catch.apply(o,Ft(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Wt(t,e),t}(_t),Ut=function(e){function t(){var e;return Dt(this,t),e=Mt(this,t,[["text"],function(t,n){return jt(e).assertLink(t,n)}]),Ht(e,"assertLink",function(e,t){var n=new kt(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Wt(t,e),t}(_t),Kt=function(e,t){return new _t(e,t)},Qt=function(e,t){return new Jt(e,t)};function $t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function en(e){return function(e){if(Array.isArray(e))return $t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $t(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var tn,nn=Kt(en(Object.values(ht)).concat(["text"]).sort()),rn=Kt([gt.LIST_ITEM]),on=Qt("Entry",Yt),an=Kt(function(){return{nodeTypes:[gt.PARAGRAPH],min:1}},function(e,t){var n=new kt(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});qt(tn={},gt.DOCUMENT,Kt(Ct)),qt(tn,gt.PARAGRAPH,nn),qt(tn,gt.HEADING_1,nn),qt(tn,gt.HEADING_2,nn),qt(tn,gt.HEADING_3,nn),qt(tn,gt.HEADING_4,nn),qt(tn,gt.HEADING_5,nn),qt(tn,gt.HEADING_6,nn),qt(tn,gt.QUOTE,Kt(Et[gt.QUOTE])),qt(tn,gt.EMBEDDED_ENTRY,on),qt(tn,gt.EMBEDDED_ASSET,Qt("Asset",Yt)),qt(tn,gt.EMBEDDED_RESOURCE,Qt("Contentful:Entry",Yt)),qt(tn,gt.HR,Kt(Yt)),qt(tn,gt.OL_LIST,rn),qt(tn,gt.UL_LIST,rn),qt(tn,gt.LIST_ITEM,Kt(en(xt).sort())),qt(tn,gt.TABLE,Kt(function(){return{nodeTypes:[gt.TABLE_ROW],min:1}})),qt(tn,gt.TABLE_ROW,Kt(function(){return{nodeTypes:[gt.TABLE_CELL,gt.TABLE_HEADER_CELL],min:1}})),qt(tn,gt.TABLE_CELL,an),qt(tn,gt.TABLE_HEADER_CELL,an),qt(tn,ht.HYPERLINK,new Ut),qt(tn,ht.EMBEDDED_ENTRY,on),qt(tn,ht.EMBEDDED_RESOURCE,Qt("Contentful:Entry",Yt)),qt(tn,ht.ENTRY_HYPERLINK,Qt("Entry",["text"])),qt(tn,ht.ASSET_HYPERLINK,Qt("Asset",["text"])),qt(tn,ht.RESOURCE_HYPERLINK,Qt("Contentful:Entry",["text"]));const sn={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},ln=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:o,...i},a)=>{const s=Ie("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:a,className:s,style:o,...i,children:t})});ln.displayName="ListItem";const cn=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ie(u,`list--${t}`,`list--${a}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e.jsx(ln,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});cn.displayName="List";const un=({name:t,fill:n=0,opticalSize:r="48dp",weight:o="200",emphasis:i=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${i}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e.jsx("span",{style:p,className:Ie("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};un.displayName="MaterialIcon";const dn=t.forwardRef(({children:e,as:n,className:r="",style:o,...i},a)=>{const s=n||"p";return t.createElement(s,{ref:a,className:r,style:o,...i},e)});dn.displayName="Text";const pn=t=>{const{items:n,listIconName:r="check",listItemClassName:o,listContainerClassName:i,iconSize:a=20,iconPosition:s="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==r;return(null==n?void 0:n.length)?e.jsx(cn,{className:Ie("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(ln,{variant:u?"unstyled":"default",className:Ie(`${u?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(un,{name:r,size:a,color:sn[l],weight:"600",className:Ie("block","top"===s?"mt-1":"",c)})}),e.jsx(dn,{as:"div",children:t})]},n))}):null};var fn;pn.displayName="Checklist";const bn="function"==typeof n?n:null!==(fn=n.default)&&void 0!==fn?fn:n,mn=t.forwardRef(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==o||o(e)},f=Ie(d,`link--${i}`,l&&"link--disabled",r),b={...c,ref:u,className:f,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...b,children:t}):e.jsx(bn,{href:n||"#",className:f,onClick:p,...c,children:t})});mn.displayName="Link",gt.PARAGRAPH,gt.HEADING_1,gt.HEADING_2,gt.HEADING_3,gt.HEADING_4,gt.HEADING_5,gt.HEADING_6,gt.QUOTE,gt.UL_LIST,gt.OL_LIST,gt.LIST_ITEM,gt.EMBEDDED_ASSET,gt.EMBEDDED_ENTRY;const gn=t.forwardRef(({children:t,className:n="",style:r,disabled:o,...i},a)=>e.jsx("button",{ref:a,className:Ie(n),style:r,disabled:o,...i,children:t}));gn.displayName="Button";const hn=(n,r)=>{const{className:o,size:i,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:b=24,suffixIconName:m,suffixIconSize:g=24,containerClassName:h,prefixIconClassName:v,loading:y,hasError:I,type:C,...x}=n,A=I?"error":c,[E,w]=t.useState(!1),[O,N]=t.useState(!1),[S,G]=t.useState(C||"text"),R=t.useCallback(e=>{e.stopPropagation(),G(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ie("inline-block pb-1"),children:e.jsxs(dn,{as:"span",className:"footnote text-text",children:[l,a?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ie("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"],h,(E||"hover"===A)&&!O&&"error"!==A&&"border-input-border-hover",(O||"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:b,height:b,overflow:"hidden"},children:e.jsx(un,{name:d,fill:p?1:0,size:b,className:Ie(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:y||x.disabled,className:Ie("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",o),placeholder:s,type:S,...x,onMouseOver:()=>w(!0),onMouseOut:()=>w(!1),onFocus:e=>{var t;null===(t=x.onFocus)||void 0===t||t.call(x,e),N(!0)},onBlur:e=>{var t;null===(t=x.onBlur)||void 0===t||t.call(x,e),N(!1)}}),m?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:R,children:e.jsx(un,{name:"text"===S?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===A&&u&&""!=u?e.jsxs(dn,{className:Ie("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(un,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})},vn=t.forwardRef(hn);vn.displayName="Input";const yn=t.forwardRef(({as:t,className:n="",...r},o)=>{const i=Ie(n);if(t){const n=t;return e.jsx(n,{ref:o,className:i,...r})}return e.jsx("img",{ref:o,className:i,...r})});yn.displayName="Image";const In=(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})(r),Cn=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},xn=t.forwardRef(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:Cn,unoptimized:!1}:{unoptimized:s};return e.jsx(In,{ref:r,className:Ie(t),...n,...l})});xn.displayName="NextImage";const An=t=>{const{color:n="#fff",size:r="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:Ie("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[r],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..."})]})};An.displayName="Spinner";const En=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:o="md",children:i,className:a,prefix:s,containerClassName:l,...c}=t,u=e.jsxs(mn,{...c,className:Ie("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"}[o],{primary:"border-[0.727px] border-border text-text"}[r],a),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:Ie("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"}[o]),children:e.jsx(un,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]});return null==s||!1===s||""===s?u:e.jsxs("span",{className:Ie("flex items-center gap-2",l),children:["string"==typeof s||"number"==typeof s?e.jsx("span",{className:"text-sm font-normal text-text",children:s}):s,u]})};function wn(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])}En.displayName="CallButton";var On,Nn={exports:{}},Sn={},Gn={exports:{}},Rn={exports:{}},Bn={};var Tn,Ln,kn,Pn,jn,Mn,Dn,Vn,Hn,Xn,Wn,Zn,Fn,zn,Yn,_n={};
|
|
3
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react");require("js-base64"),require("js-cookie"),require("@contentful/rich-text-react-renderer");var n=require("@contentful/rich-text-types"),o=require("next/link"),r=require("next/image"),i=require("react-dom");function a(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=a(t);function l(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=l(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function c(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=l(e))&&(o&&(o+=" "),o+=t);return o}const u=e=>{const t=b(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),d(n,t)||f(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},d=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?d(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},p=/^\[(.+)\]$/,f=e=>{if(p.test(e)){const t=p.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},b=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)m(n[e],o,e,t);return o},m=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:g(t,e)).classGroupId=n)}if("function"==typeof e)return h(e)?void m(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{m(r,g(t,e),n,o)})})},g=(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},h=e=>e.isThemeGetter,v=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)}}},y=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===o&&0===r){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){n=a;continue}}"["===s?o++:"]"===s?o--:"("===s?r++:")"===s&&r--}const a=0===t.length?e:e.substring(i),s=I(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,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},I=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}},C=/\s+/;function w(){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 G(e,...t){let n,o,r,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:v(e.cacheSize),parseClassName:y(e),sortModifiers:x(e),...u(e)}))(l),o=n.cache.get,r=n.cache.set,i=a,a(s)};function a(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,a=[],s=e.trim().split(C);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let b=!!f,m=o(b?p.substring(0,f):p);if(!m){if(!b){l=t+(l.length>0?" "+l:l);continue}if(m=o(p),!m){l=t+(l.length>0?" "+l:l);continue}b=!1}const g=i(u).join(":"),h=d?g+"!":g,v=h+m;if(a.includes(v))continue;a.push(v);const y=r(m,b);for(let e=0;e<y.length;++e){const t=y[e];a.push(h+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,i),i}return function(){return i(w.apply(null,arguments))}}const N=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},O=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,S=/^\((?:(\w[\w-]*):)?(.+)\)$/i,R=/^\d+\/\d+$/,k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B=/\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$/,V=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,X=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>R.test(e),M=e=>!!e&&!Number.isNaN(Number(e)),T=e=>!!e&&Number.isInteger(Number(e)),P=e=>e.endsWith("%")&&M(e.slice(0,-1)),j=e=>k.test(e),Z=()=>!0,H=e=>B.test(e)&&!V.test(e),F=()=>!1,z=e=>E.test(e),L=e=>X.test(e),J=e=>!D(e)&&!q(e),Y=e=>ae(e,ue,F),D=e=>O.test(e),U=e=>ae(e,de,H),Q=e=>ae(e,pe,M),_=e=>ae(e,le,F),$=e=>ae(e,ce,L),K=e=>ae(e,be,z),q=e=>S.test(e),ee=e=>se(e,de),te=e=>se(e,fe),ne=e=>se(e,le),oe=e=>se(e,ue),re=e=>se(e,ce),ie=e=>se(e,be,!0),ae=(e,t,n)=>{const o=O.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},se=(e,t,n=!1)=>{const o=S.exec(e);return!!o&&(o[1]?t(o[1]):n)},le=e=>"position"===e||"percentage"===e,ce=e=>"image"===e||"url"===e,ue=e=>"length"===e||"size"===e||"bg-size"===e,de=e=>"length"===e,pe=e=>"number"===e,fe=e=>"family-name"===e,be=e=>"shadow"===e,me=()=>{const e=N("color"),t=N("font"),n=N("text"),o=N("font-weight"),r=N("tracking"),i=N("leading"),a=N("breakpoint"),s=N("container"),l=N("spacing"),c=N("radius"),u=N("shadow"),d=N("inset-shadow"),p=N("text-shadow"),f=N("drop-shadow"),b=N("blur"),m=N("perspective"),g=N("aspect"),h=N("ease"),v=N("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",q,D],I=()=>[q,D,l],x=()=>[W,"full","auto",...I()],C=()=>[T,"none","subgrid",q,D],w=()=>["auto",{span:["full",T,q,D]},T,q,D],A=()=>[T,"auto",q,D],G=()=>["auto","min","max","fr",q,D],O=()=>["auto",...I()],S=()=>[W,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],R=()=>[e,q,D],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ne,_,{position:[q,D]}],B=()=>["auto","cover","contain",oe,Y,{size:[q,D]}],V=()=>[P,ee,U],E=()=>["","none","full",c,q,D],X=()=>["",M,ee,U],H=()=>[M,P,ne,_],F=()=>["","none",b,q,D],z=()=>["none",M,q,D],L=()=>["none",M,q,D],ae=()=>[M,q,D],se=()=>[W,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[j],breakpoint:[j],color:[Z],container:[j],"drop-shadow":[j],ease:["in","out","in-out"],font:[J],"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",M],text:[j],"text-shadow":[j],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",W,D,q,g]}],container:["container"],columns:[{columns:[M,D,q,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[T,"auto",q,D]}],basis:[{basis:[W,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[M,W,"auto","initial","none",D]}],grow:[{grow:["",M,q,D]}],shrink:[{shrink:["",M,q,D]}],order:[{order:[T,"first","last","none",q,D]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[s,"screen",...S()]}],"min-w":[{"min-w":[s,"screen","none",...S()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,ee,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,q,Q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",P,D]}],"font-family":[{font:[te,D,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,q,D]}],"line-clamp":[{"line-clamp":[M,"none",q,Q]}],leading:[{leading:[i,...I()]}],"list-image":[{"list-image":["none",q,D]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[M,"from-font","auto",q,U]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[M,"auto",q,D]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,D]}],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",q,D]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},T,q,D],radial:["",q,D],conic:[T,q,D]},re,$]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"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:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[M,q,D]}],"outline-w":[{outline:["",M,ee,U]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",u,ie,K]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",d,ie,K]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[M,U]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",p,ie,K]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[M,q,D]}],"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":[M]}],"mask-image-linear-from-pos":[{"mask-linear-from":H()}],"mask-image-linear-to-pos":[{"mask-linear-to":H()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":H()}],"mask-image-t-to-pos":[{"mask-t-to":H()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":H()}],"mask-image-r-to-pos":[{"mask-r-to":H()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":H()}],"mask-image-b-to-pos":[{"mask-b-to":H()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":H()}],"mask-image-l-to-pos":[{"mask-l-to":H()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":H()}],"mask-image-x-to-pos":[{"mask-x-to":H()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":H()}],"mask-image-y-to-pos":[{"mask-y-to":H()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[q,D]}],"mask-image-radial-from-pos":[{"mask-radial-from":H()}],"mask-image-radial-to-pos":[{"mask-radial-to":H()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"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":[M]}],"mask-image-conic-from-pos":[{"mask-conic-from":H()}],"mask-image-conic-to-pos":[{"mask-conic-to":H()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,D]}],filter:[{filter:["","none",q,D]}],blur:[{blur:F()}],brightness:[{brightness:[M,q,D]}],contrast:[{contrast:[M,q,D]}],"drop-shadow":[{"drop-shadow":["","none",f,ie,K]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",M,q,D]}],"hue-rotate":[{"hue-rotate":[M,q,D]}],invert:[{invert:["",M,q,D]}],saturate:[{saturate:[M,q,D]}],sepia:[{sepia:["",M,q,D]}],"backdrop-filter":[{"backdrop-filter":["","none",q,D]}],"backdrop-blur":[{"backdrop-blur":F()}],"backdrop-brightness":[{"backdrop-brightness":[M,q,D]}],"backdrop-contrast":[{"backdrop-contrast":[M,q,D]}],"backdrop-grayscale":[{"backdrop-grayscale":["",M,q,D]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,q,D]}],"backdrop-invert":[{"backdrop-invert":["",M,q,D]}],"backdrop-opacity":[{"backdrop-opacity":[M,q,D]}],"backdrop-saturate":[{"backdrop-saturate":[M,q,D]}],"backdrop-sepia":[{"backdrop-sepia":["",M,q,D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,D]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[M,"initial",q,D]}],ease:[{ease:["linear","initial",h,q,D]}],delay:[{delay:[M,q,D]}],animate:[{animate:["none",v,q,D]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,q,D]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:z()}],"rotate-x":[{"rotate-x":z()}],"rotate-y":[{"rotate-y":z()}],"rotate-z":[{"rotate-z":z()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[q,D,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"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",q,D]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q,D]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[M,ee,U,Q]}],stroke:[{stroke:["none",...R()]}],"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"]}},ge=(e,t,n)=>{void 0!==n&&(e[t]=n)},he=(e,t)=>{if(t)for(const n in t)ge(e,n,t[n])},ve=(e,t)=>{if(t)for(const n in t)ye(e,t,n)},ye=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},Ie=((e,...t)=>"function"==typeof e?G(me,e,...t):G(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(ge(e,"cacheSize",t),ge(e,"prefix",n),ge(e,"experimentalParseClassName",o),he(e.theme,i.theme),he(e.classGroups,i.classGroups),he(e.conflictingClassGroups,i.conflictingClassGroups),he(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ge(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),ve(e.theme,r.theme),ve(e.classGroups,r.classGroups),ve(e.conflictingClassGroups,r.conflictingClassGroups),ve(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ye(e,r,"orderSensitiveModifiers"),e))(me(),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)=>Ie(c(...e)),Ce={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},we=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},a)=>{const s=xe("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:a,className:s,style:r,...i,children:t})});we.displayName="ListItem";const Ae=t.forwardRef(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=xe(u,`list--${t}`,`list--${a}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(we,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});Ae.displayName="List";const Ge=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"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})};Ge.displayName="MaterialIcon";const Ne=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},a)=>{const s=n||"p";return t.createElement(s,{ref:a,className:o,style:r,...i},e)});Ne.displayName="Text";const Oe=t=>{const{items:n,listIconName:o="check",listItemClassName:r,listContainerClassName:i,iconSize:a=20,iconPosition:s="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==o;return(null==n?void 0:n.length)?e.jsx(Ae,{className:xe("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(we,{variant:u?"unstyled":"default",className:xe(`${u?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Ge,{name:o,size:a,color:Ce[l],weight:"600",className:xe("block","top"===s?"mt-1":"",c)})}),e.jsx(Ne,{as:"div",children:t})]},n))}):null};var Se;Oe.displayName="Checklist";const Re="function"==typeof o?o:null!==(Se=o.default)&&void 0!==Se?Se:o,ke=t.forwardRef(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},f=xe(d,`link--${i}`,l&&"link--disabled",o),b={...c,ref:u,className:f,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...b,children:t}):e.jsx(Re,{href:n||"#",className:f,onClick:p,...c,children:t})});ke.displayName="Link",n.MARKS.BOLD,n.MARKS.ITALIC,n.MARKS.UNDERLINE,n.MARKS.CODE,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.QUOTE,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST,n.BLOCKS.LIST_ITEM,n.INLINES.HYPERLINK,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_ENTRY,n.INLINES.EMBEDDED_ENTRY,n.MARKS.BOLD;const Be=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},a)=>e.jsx("button",{ref:a,className:xe(n),style:o,disabled:r,...i,children:t}));Be.displayName="Button";const Ve=(n,o)=>{const{className:r,size:i,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:b=24,suffixIconName:m,suffixIconSize:g=24,containerClassName:h,prefixIconClassName:v,loading:y,hasError:I,type:x,...C}=n,w=I?"error":c,[A,G]=t.useState(!1),[N,O]=t.useState(!1),[S,R]=t.useState(x||"text"),k=t.useCallback(e=>{e.stopPropagation(),R(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(Ne,{as:"span",className:"footnote text-text",children:[l,a?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"],h,(A||"hover"===w)&&!N&&"error"!==w&&"border-input-border-hover",(N||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:b,height:b,overflow:"hidden"},children:e.jsx(Ge,{name:d,fill:p?1:0,size:b,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:s,type:S,...C,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),O(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),O(!1)}}),m?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:k,children:e.jsx(Ge,{name:"text"===S?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(Ne,{className:xe("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Ge,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})},Ee=t.forwardRef(Ve);Ee.displayName="Input";const Xe=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})});Xe.displayName="Image";const We=(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})(r),Me=({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()},Te=t.forwardRef(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",a=r.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:Me,unoptimized:!1}:{unoptimized:s};return e.jsx(We,{ref:o,className:xe(t),...n,...l})});Te.displayName="NextImage";const Pe=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..."})]})};Pe.displayName="Spinner";const je=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:a,prefix:s,containerClassName:l,...c}=t,u=e.jsxs(ke,{...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],a),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(Ge,{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==s||!1===s||""===s?u:e.jsxs("span",{className:xe("flex items-center gap-2",l),children:["string"==typeof s||"number"==typeof s?e.jsx("span",{className:"text-sm font-normal text-text",children:s}):s,u]})};function Ze(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 He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fe(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}je.displayName="CallButton";var ze,Le={exports:{}},Je={},Ye={exports:{}},De={exports:{}},Ue={};var Qe,_e,$e,Ke,qe,et,tt,nt,ot,rt,it,at,st,lt,ct,ut={};
|
|
6
4
|
/** @license React v16.13.1
|
|
7
5
|
* react-is.development.js
|
|
8
6
|
*
|
|
@@ -10,12 +8,12 @@ function Ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
|
|
|
10
8
|
*
|
|
11
9
|
* This source code is licensed under the MIT license found in the
|
|
12
10
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/function
|
|
11
|
+
*/function dt(){return _e||(_e=1,"production"===process.env.NODE_ENV?De.exports=function(){if(ze)return Ue;ze=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case b:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return y(e)===c}return Ue.AsyncMode=l,Ue.ConcurrentMode=c,Ue.ContextConsumer=s,Ue.ContextProvider=a,Ue.Element=t,Ue.ForwardRef=u,Ue.Fragment=o,Ue.Lazy=b,Ue.Memo=f,Ue.Portal=n,Ue.Profiler=i,Ue.StrictMode=r,Ue.Suspense=d,Ue.isAsyncMode=function(e){return I(e)||y(e)===l},Ue.isConcurrentMode=I,Ue.isContextConsumer=function(e){return y(e)===s},Ue.isContextProvider=function(e){return y(e)===a},Ue.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ue.isForwardRef=function(e){return y(e)===u},Ue.isFragment=function(e){return y(e)===o},Ue.isLazy=function(e){return y(e)===b},Ue.isMemo=function(e){return y(e)===f},Ue.isPortal=function(e){return y(e)===n},Ue.isProfiler=function(e){return y(e)===i},Ue.isStrictMode=function(e){return y(e)===r},Ue.isSuspense=function(e){return y(e)===d},Ue.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},Ue.typeOf=y,Ue}():De.exports=(Qe||(Qe=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case o:case i:case r:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case b:case f:case a:return g;default:return p}}case n:return p}}}var I=l,x=c,C=s,w=a,A=t,G=u,N=o,O=b,S=f,R=n,k=i,B=r,V=d,E=!1;function X(e){return y(e)===c}ut.AsyncMode=I,ut.ConcurrentMode=x,ut.ContextConsumer=C,ut.ContextProvider=w,ut.Element=A,ut.ForwardRef=G,ut.Fragment=N,ut.Lazy=O,ut.Memo=S,ut.Portal=R,ut.Profiler=k,ut.StrictMode=B,ut.Suspense=V,ut.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),X(e)||y(e)===l},ut.isConcurrentMode=X,ut.isContextConsumer=function(e){return y(e)===s},ut.isContextProvider=function(e){return y(e)===a},ut.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ut.isForwardRef=function(e){return y(e)===u},ut.isFragment=function(e){return y(e)===o},ut.isLazy=function(e){return y(e)===b},ut.isMemo=function(e){return y(e)===f},ut.isPortal=function(e){return y(e)===n},ut.isProfiler=function(e){return y(e)===i},ut.isStrictMode=function(e){return y(e)===r},ut.isSuspense=function(e){return y(e)===d},ut.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},ut.typeOf=y}()),ut)),De.exports}
|
|
14
12
|
/*
|
|
15
13
|
object-assign
|
|
16
14
|
(c) Sindre Sorhus
|
|
17
15
|
@license MIT
|
|
18
|
-
*/function Un(){if(Pn)return kn;Pn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return kn=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},kn}function Kn(){if(Mn)return jn;Mn=1;return jn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Qn(){return Vn?Dn:(Vn=1,Dn=Function.call.bind(Object.prototype.hasOwnProperty))}function $n(){if(Xn)return Hn;Xn=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Kn(),n={},r=Qn();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Hn=o}function qn(){if(Zn)return Wn;Zn=1;var e=Jn(),t=Un(),n=Kn(),r=Qn(),o=$n(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Wn=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:b(a),arrayOf:function(e){return b(function(t,r,o,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new f("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,o,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:b(function(e,t,n,r,o){var i=e[t];return s(i)?null:new f("Invalid "+r+" `"+o+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:b(function(t,n,r,o,i){var a=t[n];return e.isValidElementType(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return b(function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+o+" `"+i+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var s;return null})},node:b(function(e,t,n,r,o){return h(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return b(function(t,o,i,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new f("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(r(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return b(function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(o)+" at index "+t+"."),a}return b(function(t,o,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,i,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return b(function(t,r,o,i,a){var s=t[r],l=v(s);if("object"!==l)return new f("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,i,a,c,y(u));var d=u(s,c,o,i,a+"."+c,n);if(d)return d}return null})},exact:function(e){return b(function(o,i,a,s,l){var c=o[i],u=v(c);if("object"!==u)return new f("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},o[i],e);for(var p in d){var b=e[p];if(r(e,p)&&"function"!=typeof b)return g(a,s,l,p,y(b));if(!b)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=b(c,p,a,s,l+"."+p,n);if(m)return m}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function b(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,a,s,c,d,p,b){if(c=c||u,p=p||s,b!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,r++)}}return null==a[s]?o?null===a[s]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function m(e){return b(function(t,n,r,o,i,a){var s=t[n];return v(s)!==e?new f("Invalid "+o+" `"+i+"` of type `"+y(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,r,o){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!h(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function I(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},Wn}function er(){if(zn)return Fn;zn=1;var e=Kn();function t(){}function n(){}return n.resetWarningCache=t,Fn=function(){function r(t,n,r,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function tr(){if(Yn)return Gn.exports;if(Yn=1,"production"!==process.env.NODE_ENV){var e=Jn();Gn.exports=qn()(e.isElement,true)}else Gn.exports=er()();return Gn.exports}var nr,rr,or={exports:{}},ir={},ar={exports:{}};function sr(){return nr||(nr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};
|
|
16
|
+
*/function pt(){if(Ke)return $e;Ke=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return $e=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},$e}function ft(){if(et)return qe;et=1;return qe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function bt(){return nt?tt:(nt=1,tt=Function.call.bind(Object.prototype.hasOwnProperty))}function mt(){if(rt)return ot;rt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ft(),n={},o=bt();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ot=r}function gt(){if(at)return it;at=1;var e=dt(),t=pt(),n=ft(),o=bt(),r=mt(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),it=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:b(a),arrayOf:function(e){return b(function(t,o,r,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new f("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:b(function(e,t,n,o,r){var i=e[t];return s(i)?null:new f("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:b(function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+v(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return b(function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+r+" `"+i+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+o+"`, expected instance of `"+a+"`.")}var s;return null})},node:b(function(e,t,n,o,r){return h(e[t])?null:new f("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return b(function(t,r,i,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new f("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return b(function(t,n,o,r,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new f("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(r)+" at index "+t+"."),a}return b(function(t,r,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,s,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return b(function(t,o,r,i,a){var s=t[o],l=v(s);if("object"!==l)return new f("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,a,c,y(u));var d=u(s,c,r,i,a+"."+c,n);if(d)return d}return null})},exact:function(e){return b(function(r,i,a,s,l){var c=r[i],u=v(c);if("object"!==u)return new f("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var b=e[p];if(o(e,p)&&"function"!=typeof b)return g(a,s,l,p,y(b));if(!b)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=b(c,p,a,s,l+"."+p,n);if(m)return m}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function b(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,s,c,d,p,b){if(c=c||u,p=p||s,b!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==a[s]?r?null===a[s]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function m(e){return b(function(t,n,o,r,i,a){var s=t[n];return v(s)!==e?new f("Invalid "+r+" `"+i+"` of type `"+y(s)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,o,r){return new f((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!h(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!h(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function I(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},it}function ht(){if(lt)return st;lt=1;var e=ft();function t(){}function n(){}return n.resetWarningCache=t,st=function(){function o(t,n,o,r,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function vt(){if(ct)return Ye.exports;if(ct=1,"production"!==process.env.NODE_ENV){var e=dt();Ye.exports=gt()(e.isElement,true)}else Ye.exports=ht()();return Ye.exports}var yt,It,xt={exports:{}},Ct={},wt={exports:{}};function At(){return yt||(yt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};
|
|
19
17
|
/*!
|
|
20
18
|
* Adapted from jQuery UI core
|
|
21
19
|
*
|
|
@@ -27,7 +25,7 @@ object-assign
|
|
|
27
25
|
*
|
|
28
26
|
* http://api.jqueryui.com/category/ui-core/
|
|
29
27
|
*/
|
|
30
|
-
var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(ar,ar.exports)),ar.exports}function lr(){if(rr)return ir;rr=1,Object.defineProperty(ir,"__esModule",{value:!0}),ir.resetState=function(){r=[]},ir.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),r.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},ir.handleBlur=a,ir.handleFocus=s,ir.markForFocusLater=function(){r.push(document.activeElement)},ir.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==r.length&&(t=r.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},ir.popWithoutFocus=function(){r.length>0&&r.pop()},ir.setupScopedFocus=function(e){o=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},ir.teardownScopedFocus=function(){o=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=sr(),n=(e=t)&&e.__esModule?e:{default:e};var r=[],o=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!o)return;setTimeout(function(){o.contains(document.activeElement)||((0,n.default)(o)[0]||o).focus()},0)}}return ir}var cr,ur={exports:{}};function dr(){return cr||(cr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;r=l}l!==c||a||(r=s);s===c&&a&&(r=l);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(r=n[d],void 0===r)return t.preventDefault(),void(r=a?l:s).focus();t.preventDefault(),r.focus()};var n,r=sr(),o=(n=r)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(ur,ur.exports)),ur.exports}var pr,fr,br={};function mr(){if(fr)return pr;fr=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,r){var o=arguments.length;r=new Array(o>2?o-2:0);for(var i=2;i<o;i++)r[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(r))}}return pr=e}var gr,hr,vr,yr={},Ir={exports:{}};function Cr(){if(hr)return yr;hr=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.canUseDOM=yr.SafeNodeList=yr.SafeHTMLCollection=void 0;var e,t,n=(gr||(gr=1,e=Ir,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}()),Ir.exports);var r=((t=n)&&t.__esModule?t:{default:t}).default,o=r.canUseDOM?window.HTMLElement:{};return yr.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},yr.SafeNodeList=r.canUseDOM?window.NodeList:{},yr.canUseDOM=r.canUseDOM,yr.default=o,yr}function xr(){if(vr)return br;vr=1,Object.defineProperty(br,"__esModule",{value:!0}),br.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")}));o=null},br.log=function(){if("production"!==process.env.NODE_ENV){var e=o||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},br.assertNodeList=i,br.setElement=function(e){var t=e;if("string"==typeof t&&r.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return o=t||o},br.validateElement=a,br.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=a(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},br.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=a(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},br.documentNotReadyOrSSRTesting=function(){o=null};var e,t=mr(),n=(e=t)&&e.__esModule?e:{default:e},r=Cr();var o=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return br}var Ar,Er={};function wr(){if(Ar)return Er;Ar=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.resetState=function(){var r=document.getElementsByTagName("html")[0];for(var o in e)n(r,e[o]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Er.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,r="Show tracked classes:\n\n";for(var o in r+="<html /> ("+n+"):\n ",e)r+=" "+o+" "+e[o]+"\n ";for(var i in r+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)r+=" "+i+" "+t[i]+"\n ";r+="\n",console.log(r)}};var e={},t={};function n(e,t){e.classList.remove(t)}return Er.add=function(n,r){return o=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void r.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)});var o,i},Er.remove=function(n,r){return o=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void r.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)});var o,i},Er}var Or,Nr={};function Sr(){if(Or)return Nr;Or=1,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Nr.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 Nr.default=t,Nr}var Gr,Rr,Br={};function Tr(){return Rr||(Rr=1,function(e,n){Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t,s=g(tr()),l=m(lr()),c=g(dr()),u=m(xr()),d=m(wr()),p=Cr(),f=g(p),b=g(Sr());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(Gr)return Br;Gr=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.resetState=function(){for(var e=[r,o],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}r=o=null,i=[]},Br.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[r,o],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=Sr(),n=(e=t)&&e.__esModule?e:{default:e},r=void 0,o=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){r||o||((r=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),r.style.position="absolute",r.style.opacity="0",r.setAttribute("tabindex","0"),r.addEventListener("focus",a),(o=r.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==r&&document.body.insertBefore(r,document.body.firstChild),document.body.lastChild!==o&&document.body.appendChild(o)):(r.parentElement&&r.parentElement.removeChild(r),o.parentElement&&o.parentElement.removeChild(o))})}();var h={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,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),o&&d.remove(s.getElementsByTagName("html")[0],o),r&&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(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&d.add(a.body,o),r&&d.add(a.getElementsByTagName("html")[0],r),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=o?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,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",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},n.default=y,e.exports=n.default}(or,or.exports)),or.exports}function Lr(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function kr(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Pr(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}Lr.__suppressDeprecationWarning=!0,kr.__suppressDeprecationWarning=!0,Pr.__suppressDeprecationWarning=!0;var jr,Mr,Dr=Ae(Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=Lr,t.componentWillReceiveProps=kr),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Pr;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}}));function Vr(){if(jr)return Sn;jr=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.bodyOpenClassName=Sn.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=t,i=f(r),a=f(o),s=f(tr()),l=f(Tr()),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}(xr()),u=Cr(),d=f(u),p=Dr;function f(e){return e&&e.__esModule?e:{default:e}}function b(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=Sn.portalClassName="ReactModalPortal",g=Sn.bodyOpenClassName="ReactModal__Body--open",h=u.canUseDOM&&void 0!==a.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(t){function r(){var t,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=o=b(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),o.removePortal=function(){!h&&a.default.unmountComponentAtNode(o.node);var e=I(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.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.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(t){var n=y()(o,i.default.createElement(l.default,e({defaultStyles:r.defaultStyles},t)),o.node);o.portalRef(n)},b(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),n(r,[{key:"componentDidMount",value:function(){u.canUseDOM&&(h||(this.node=v("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!h&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(u.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!h&&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&&h?(!this.node&&h&&(this.node=v("div")),y()(i.default.createElement(l.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),r}(r.Component);return C.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(u.SafeHTMLCollection),s.default.instanceOf(u.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},C.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)}},C.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)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return v=e}),Sn.default=C,Sn}var Hr=xe((Mr||(Mr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=Vr(),o=(n=r)&&n.__esModule?n:{default:n};t.default=o.default,e.exports=t.default}(Nn,Nn.exports)),Nn.exports));function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xr.apply(null,arguments)}function Wr(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function Zr(e,t){return Zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zr(e,t)}var Fr=xe(tr()),zr=!1,Yr="production"!==process.env.NODE_ENV?Fr.oneOfType([Fr.number,Fr.shape({enter:Fr.number,exit:Fr.number,appear:Fr.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Fr.oneOfType([Fr.string,Fr.shape({enter:Fr.string,exit:Fr.string,active:Fr.string}),Fr.shape({enter:Fr.string,enterDone:Fr.string,enterActive:Fr.string,exit:Fr.string,exitDone:Fr.string,exitActive:Fr.string})]);var _r=t.createContext(null),Jr="unmounted",Ur="exited",Kr="entering",Qr="entered",$r="exiting",qr=function(e){var n,r;function i(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Ur,r.appearStatus=Kr):o=Qr:o=t.unmountOnExit||t.mountOnEnter?Jr:Ur,r.state={status:o},r.nextCallback=null,r}r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,Zr(n,r),i.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Jr?{status:Ur}:null};var a=i.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Kr&&n!==Qr&&(t=Kr):n!==Kr&&n!==Qr||(t=$r)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Kr){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ur&&this.setState({status:Jr})},a.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[o.findDOMNode(this),r],a=i[0],s=i[1],l=this.getTimeouts(),c=r?l.appear:l.enter;!e&&!n||zr?this.safeSetState({status:Qr},function(){t.props.onEntered(a)}):(this.props.onEnter(a,s),this.safeSetState({status:Kr},function(){t.props.onEntering(a,s),t.onTransitionEnd(c,function(){t.safeSetState({status:Qr},function(){t.props.onEntered(a,s)})})}))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:o.findDOMNode(this);t&&!zr?(this.props.onExit(r),this.safeSetState({status:$r},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Ur},function(){e.props.onExited(r)})})})):this.safeSetState({status:Ur},function(){e.props.onExited(r)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===Jr)return null;var n=this.props,r=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 o=Wr(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(_r.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},i}(t.Component);function eo(){}qr.contextType=_r,qr.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Fr.shape({current:"undefined"==typeof Element?Fr.any:function(e,t,n,r,o,i){var a=e[t];return Fr.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:Fr.oneOfType([Fr.func.isRequired,Fr.element.isRequired]).isRequired,in:Fr.bool,mountOnEnter:Fr.bool,unmountOnExit:Fr.bool,appear:Fr.bool,enter:Fr.bool,exit:Fr.bool,timeout:function(e){var t=Yr;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:Fr.func,onEnter:Fr.func,onEntering:Fr.func,onEntered:Fr.func,onExit:Fr.func,onExiting:Fr.func,onExited:Fr.func}:{},qr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:eo,onEntering:eo,onEntered:eo,onExit:eo,onExiting:eo,onExited:eo},qr.UNMOUNTED=Jr,qr.EXITED=Ur,qr.ENTERING=Kr,qr.ENTERED=Qr,qr.EXITING=$r;const to=({size:n="md",shape:r="default",animation:o="popper",centered:i,title:a,isOpen:s,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:b,closeWrapperClassName:m,onRequestClose:g,parentSelector:h,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:y=!1,...I})=>{wn(s,v);const[C,x]=t.useState(!1);t.useEffect(()=>{x(s)},[s]);const A=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return h&&(e=document.querySelector(h)||document.body),e},[h]);if(!A)return null;if(!s)return null;const E=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]),w=(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(qr,{enter:!0,exit:!0,in:C,timeout:0,children:t=>e.jsxs(Hr,{ariaHideApp:!1,isOpen:s,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>A,className:Ie("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",E(n),"rounded"===r&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",w(o,t),u),portalClassName:Ie("z-80",p),overlayClassName:Ie("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",f),...I,children:[!y&&e.jsx("div",{className:Ie(m),children:e.jsx(gn,{className:Ie("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),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(un,{name:"close",size:24})})}),a?e.jsx("div",{className:Ie("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:a}):null,e.jsx("div",{className:Ie("p-5",d),style:c,"data-testid":I["data-testid"],"data-cy":I["data-cy"],children:l})]})})};to.displayName="Modal";const no=n=>{const{open:r,children:o}=n,i=t.useRef(null),[a,s]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{s(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,o]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:a,opacity:r?1:0},"aria-hidden":!r,children:e.jsx("div",{ref:i,children:o})})};no.displayName="Collapse";const ro=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,b]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;b(e)}else b(Boolean(o))},[d,o]),e.jsxs("div",{className:Ie(p?"rounded-none border":"rounded-surface-xs border",a),children:[e.jsxs(gn,{type:"button",className:Ie(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>b(e=>!e),children:[e.jsx("span",{className:Ie("label5 flex-1",s),children:r}),e.jsx(un,{className:Ie("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(no,{open:f,children:e.jsx("div",{className:Ie("px-4 py-4",l),children:i})})]})};ro.displayName="Accordion";const oo=({state:n,checked:r=!1,onChange:o,className:i,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:f=!1,error:b=!1,"data-cy":m,renderInfoIcon:g,...h})=>{const v=p||"disabled"===n,y=d||c,I=Ie("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),C=t.useCallback(e=>{v||o&&(1===o.length?o(e.target.checked):o())},[v,o]);return e.jsxs("div",{className:Ie("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:r,onChange:C,disabled:v,required:f,className:"peer sr-only","data-cy":m,...h}),e.jsx("label",{htmlFor:y,className:Ie("peer-focus:outline",I),style:{pointerEvents:v?"none":"auto"},children:r?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:Ie(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:Ie(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"})]})})]}),a&&e.jsx("label",{htmlFor:y,className:Ie("cursor-pointer",b&&"text-text-critical",s),children:a}),g&&e.jsx(gn,{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 io(e){return io="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},io(e)}function ao(e){var t=function(e,t){if("object"!=io(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=io(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==io(t)?t:t+""}function so(e,t,n){return(t=ao(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach(function(t){so(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function po(e,t){if(e){if("string"==typeof e)return uo(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)?uo(e,t):void 0}}function fo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||po(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 bo(e,t){if(null==e)return{};var n,r,o=Wr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}oo.displayName="Checkbox";var mo=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function go(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ao(r.key),r)}}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ho(e)}function vo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!e})()}function yo(e,t){if(t&&("object"==io(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 Io(e){return function(e){if(Array.isArray(e))return uo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||po(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 Co=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}(),xo="-ms-",Ao="-moz-",Eo="-webkit-",wo="comm",Oo="rule",No="decl",So="@keyframes",Go=Math.abs,Ro=String.fromCharCode,Bo=Object.assign;function To(e){return e.trim()}function Lo(e,t,n){return e.replace(t,n)}function ko(e,t){return e.indexOf(t)}function Po(e,t){return 0|e.charCodeAt(t)}function jo(e,t,n){return e.slice(t,n)}function Mo(e){return e.length}function Do(e){return e.length}function Vo(e,t){return t.push(e),e}var Ho=1,Xo=1,Wo=0,Zo=0,Fo=0,zo="";function Yo(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ho,column:Xo,length:a,return:""}}function _o(e,t){return Bo(Yo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Jo(){return Fo=Zo>0?Po(zo,--Zo):0,Xo--,10===Fo&&(Xo=1,Ho--),Fo}function Uo(){return Fo=Zo<Wo?Po(zo,Zo++):0,Xo++,10===Fo&&(Xo=1,Ho++),Fo}function Ko(){return Po(zo,Zo)}function Qo(){return Zo}function $o(e,t){return jo(zo,e,t)}function qo(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 ei(e){return Ho=Xo=1,Wo=Mo(zo=e),Zo=0,[]}function ti(e){return zo="",e}function ni(e){return To($o(Zo-1,ii(91===e?e+2:40===e?e+1:e)))}function ri(e){for(;(Fo=Ko())&&Fo<33;)Uo();return qo(e)>2||qo(Fo)>3?"":" "}function oi(e,t){for(;--t&&Uo()&&!(Fo<48||Fo>102||Fo>57&&Fo<65||Fo>70&&Fo<97););return $o(e,Qo()+(t<6&&32==Ko()&&32==Uo()))}function ii(e){for(;Uo();)switch(Fo){case e:return Zo;case 34:case 39:34!==e&&39!==e&&ii(Fo);break;case 40:41===e&&ii(e);break;case 92:Uo()}return Zo}function ai(e,t){for(;Uo()&&e+Fo!==57&&(e+Fo!==84||47!==Ko()););return"/*"+$o(t,Zo-1)+"*"+Ro(47===e?e:Uo())}function si(e){for(;!qo(Ko());)Uo();return $o(e,Zo)}function li(e){return ti(ci("",null,null,null,[""],e=ei(e),0,[0],e))}function ci(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=o,C=i,x=r,A=y;g;)switch(b=v,v=Uo()){case 40:if(108!=b&&58==Po(A,d-1)){-1!=ko(A+=Lo(ni(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=ni(v);break;case 9:case 10:case 13:case 32:A+=ri(b);break;case 92:A+=oi(Qo()-1,7);continue;case 47:switch(Ko()){case 42:case 47:Vo(di(ai(Uo(),Qo()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=Mo(A)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(A=Lo(A,/\f/g,"")),f>0&&Mo(A)-d&&Vo(f>32?pi(A+";",r,n,d-1):pi(Lo(A," ","")+";",r,n,d-2),l);break;case 59:A+=";";default:if(Vo(x=ui(A,t,n,c,u,o,s,y,I=[],C=[],d),i),123===v)if(0===u)ci(A,t,x,x,I,i,d,s,C);else switch(99===p&&110===Po(A,3)?100:p){case 100:case 108:case 109:case 115:ci(e,x,x,r&&Vo(ui(e,x,x,0,0,o,s,y,o,I=[],d),C),o,C,d,s,r?I:C);break;default:ci(A,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=A="",d=a;break;case 58:d=1+Mo(A),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Jo())continue;switch(A+=Ro(v),v*m){case 38:h=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(Mo(A)-1)*h,h=1;break;case 64:45===Ko()&&(A+=ni(Uo())),p=Ko(),u=d=Mo(y=A+=si(Qo())),v++;break;case 45:45===b&&2==Mo(A)&&(m=0)}}return i}function ui(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],f=Do(p),b=0,m=0,g=0;b<r;++b)for(var h=0,v=jo(e,d+1,d=Go(m=a[b])),y=e;h<f;++h)(y=To(m>0?p[h]+" "+v:Lo(v,/&\f/g,p[h])))&&(l[g++]=y);return Yo(e,t,n,0===o?Oo:s,l,c,u)}function di(e,t,n){return Yo(e,t,n,wo,Ro(Fo),jo(e,2,-2),0)}function pi(e,t,n,r){return Yo(e,t,n,No,jo(e,0,r),jo(e,r+1,-1),r)}function fi(e,t){for(var n="",r=Do(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function bi(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case No:return e.return=e.return||e.value;case wo:return"";case So:return e.return=e.value+"{"+fi(e.children,r)+"}";case Oo:e.value=e.props.join(",")}return Mo(n=fi(e.children,r))?e.return=e.value+"{"+n+"}":""}function mi(e){var t=Do(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var gi="undefined"!=typeof document,hi=function(e,t,n){for(var r=0,o=0;r=o,o=Ko(),38===r&&12===o&&(t[n]=1),!qo(o);)Uo();return $o(e,Zo)},vi=function(e,t){return ti(function(e,t){var n=-1,r=44;do{switch(qo(r)){case 0:38===r&&12===Ko()&&(t[n]=1),e[n]+=hi(Zo-1,t,n);break;case 2:e[n]+=ni(r);break;case 4:if(44===r){e[++n]=58===Ko()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ro(r)}}while(r=Uo());return e}(ei(e),t))},yi=new WeakMap,Ii=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||yi.get(n))&&!r){yi.set(e,!0);for(var o=[],i=vi(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Ci=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function xi(e,t){switch(function(e,t){return 45^Po(e,0)?(((t<<2^Po(e,0))<<2^Po(e,1))<<2^Po(e,2))<<2^Po(e,3):0}(e,t)){case 5103:return Eo+"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 Eo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Eo+e+Ao+e+xo+e+e;case 6828:case 4268:return Eo+e+xo+e+e;case 6165:return Eo+e+xo+"flex-"+e+e;case 5187:return Eo+e+Lo(e,/(\w+).+(:[^]+)/,Eo+"box-$1$2"+xo+"flex-$1$2")+e;case 5443:return Eo+e+xo+"flex-item-"+Lo(e,/flex-|-self/,"")+e;case 4675:return Eo+e+xo+"flex-line-pack"+Lo(e,/align-content|flex-|-self/,"")+e;case 5548:return Eo+e+xo+Lo(e,"shrink","negative")+e;case 5292:return Eo+e+xo+Lo(e,"basis","preferred-size")+e;case 6060:return Eo+"box-"+Lo(e,"-grow","")+Eo+e+xo+Lo(e,"grow","positive")+e;case 4554:return Eo+Lo(e,/([^-])(transform)/g,"$1"+Eo+"$2")+e;case 6187:return Lo(Lo(Lo(e,/(zoom-|grab)/,Eo+"$1"),/(image-set)/,Eo+"$1"),e,"")+e;case 5495:case 3959:return Lo(e,/(image-set\([^]*)/,Eo+"$1$`$1");case 4968:return Lo(Lo(e,/(.+:)(flex-)?(.*)/,Eo+"box-pack:$3"+xo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Eo+e+e;case 4095:case 3583:case 4068:case 2532:return Lo(e,/(.+)-inline(.+)/,Eo+"$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(Mo(e)-1-t>6)switch(Po(e,t+1)){case 109:if(45!==Po(e,t+4))break;case 102:return Lo(e,/(.+:)(.+)-([^]+)/,"$1"+Eo+"$2-$3$1"+Ao+(108==Po(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ko(e,"stretch")?xi(Lo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Po(e,t+1))break;case 6444:switch(Po(e,Mo(e)-3-(~ko(e,"!important")&&10))){case 107:return Lo(e,":",":"+Eo)+e;case 101:return Lo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Eo+(45===Po(e,14)?"inline-":"")+"box$3$1"+Eo+"$2$3$1"+xo+"$2box$3")+e}break;case 5936:switch(Po(e,t+11)){case 114:return Eo+e+xo+Lo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Eo+e+xo+Lo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Eo+e+xo+Lo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Eo+e+xo+e+e}return e}var Ai,Ei,wi,Oi=gi?void 0:(Ai=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Ei=new WeakMap,function(e){if(Ei.has(e))return Ei.get(e);var t=Ai(e);return Ei.set(e,t),t}),Ni=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case No:e.return=xi(e.value,e.length);break;case So:return fi([_o(e,{value:Lo(e.value,"@","@"+Eo)})],r);case Oo: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 fi([_o(e,{props:[Lo(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return fi([_o(e,{props:[Lo(t,/:(plac\w+)/,":"+Eo+"input-$1")]}),_o(e,{props:[Lo(t,/:(plac\w+)/,":-moz-$1")]}),_o(e,{props:[Lo(t,/:(plac\w+)/,xo+"input-$1")]})],r)}return""})}}],Si=function(e){var t=e.key;if(gi&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Ni,a={},s=[];gi&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Ii,Ci];if(Oi){var u=[bi],d=mi(c.concat(i,u)),p=Oi(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=fi(li(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=f(e,t);return void 0===h.compat?(r&&(h.inserted[o]=!0),i):r?void(h.inserted[o]=i):i}}else{var b,m=[bi,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=mi(c.concat(i,m));o=function(e,t,n,r){b=n,fi(li(e?e+"{"+t.styles+"}":t.styles),g),r&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Co({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},Gi={exports:{}},Ri={};var Bi,Ti,Li,ki,Pi={};
|
|
28
|
+
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 a(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 s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(wt,wt.exports)),wt.exports}function Gt(){if(It)return Ct;It=1,Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.resetState=function(){o=[]},Ct.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 ----------"))},Ct.handleBlur=a,Ct.handleFocus=s,Ct.markForFocusLater=function(){o.push(document.activeElement)},Ct.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(" "))}},Ct.popWithoutFocus=function(){o.length>0&&o.pop()},Ct.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},Ct.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=At(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Ct}var Nt,Ot={exports:{}};function St(){return Nt||(Nt=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,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(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+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=At(),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}(Ot,Ot.exports)),Ot.exports}var Rt,kt,Bt={};function Vt(){if(kt)return Rt;kt=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 Rt=e}var Et,Xt,Wt,Mt={},Tt={exports:{}};function Pt(){if(Xt)return Mt;Xt=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.canUseDOM=Mt.SafeNodeList=Mt.SafeHTMLCollection=void 0;var e,t,n=(Et||(Et=1,e=Tt,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}()),Tt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Mt.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Mt.SafeNodeList=o.canUseDOM?window.NodeList:{},Mt.canUseDOM=o.canUseDOM,Mt.default=r,Mt}function jt(){if(Wt)return Bt;Wt=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.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},Bt.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 ----------")}},Bt.assertNodeList=i,Bt.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},Bt.validateElement=a,Bt.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(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}}},Bt.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(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}}},Bt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Vt(),n=(e=t)&&e.__esModule?e:{default:e},o=Pt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||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 Bt}var Zt,Ht={};function Ft(){if(Zt)return Ht;Zt=1,Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Ht.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 Ht.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},Ht.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},Ht}var zt,Lt={};function Jt(){if(zt)return Lt;zt=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Lt.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 Lt.default=t,Lt}var Yt,Dt,Ut={};function Qt(){return Dt||(Dt=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}}(),a=t,s=g(vt()),l=m(Gt()),c=g(St()),u=m(jt()),d=m(Ft()),p=Pt(),f=g(p),b=g(Jt());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(Yt)return Ut;Yt=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.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=[]},Ut.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=Jt(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){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",a),(r=o.cloneNode()).addEventListener("focus",a)),(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 h={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,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.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(),b.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:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[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,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=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({},s,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,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},n.default=y,e.exports=n.default}(xt,xt.exports)),xt.exports}function _t(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function $t(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Kt(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}}_t.__suppressDeprecationWarning=!0,$t.__suppressDeprecationWarning=!0,Kt.__suppressDeprecationWarning=!0;var qt,en,tn=Fe(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,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==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=_t,t.componentWillReceiveProps=$t),"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=Kt;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}));function nn(){if(qt)return Je;qt=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.bodyOpenClassName=Je.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,r=f(o),a=f(i),s=f(vt()),l=f(Qt()),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}(jt()),u=Pt(),d=f(u),p=tn;function f(e){return e&&e.__esModule?e:{default:e}}function b(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=Je.portalClassName="ReactModalPortal",g=Je.bodyOpenClassName="ReactModal__Body--open",h=u.canUseDOM&&void 0!==a.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var x=function(t){function o(){var t,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=i=b(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),i.removePortal=function(){!h&&a.default.unmountComponentAtNode(i.node);var e=I(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.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.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(t){var n=y()(i,r.default.createElement(l.default,e({defaultStyles:o.defaultStyles},t)),i.node);i.portalRef(n)},b(i,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&&(h||(this.node=v("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!h&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(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 a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!h&&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&&h?(!this.node&&h&&(this.node=v("div")),y()(r.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 x.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(u.SafeHTMLCollection),s.default.instanceOf(u.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},x.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 r.default.createElement("div",e,t)},contentElement:function(e,t){return r.default.createElement("div",e,t)}},x.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)(x),"production"!==process.env.NODE_ENV&&(x.setCreateHTMLElement=function(e){return v=e}),Je.default=x,Je}var on=He((en||(en=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=nn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(Le,Le.exports)),Le.exports));function rn(){return rn=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},rn.apply(null,arguments)}function an(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 sn(e,t){return sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sn(e,t)}var ln=He(vt()),cn=!1,un="production"!==process.env.NODE_ENV?ln.oneOfType([ln.number,ln.shape({enter:ln.number,exit:ln.number,appear:ln.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&ln.oneOfType([ln.string,ln.shape({enter:ln.string,exit:ln.string,active:ln.string}),ln.shape({enter:ln.string,enterDone:ln.string,enterActive:ln.string,exit:ln.string,exitDone:ln.string,exitActive:ln.string})]);var dn=t.createContext(null),pn="unmounted",fn="exited",bn="entering",mn="entered",gn="exiting",hn=function(e){var n,o;function r(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=fn,o.appearStatus=bn):r=mn:r=t.unmountOnExit||t.mountOnEnter?pn:fn,o.state={status:r},o.nextCallback=null,o}o=e,(n=r).prototype=Object.create(o.prototype),n.prototype.constructor=n,sn(n,o),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===pn?{status:fn}:null};var a=r.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==bn&&n!==mn&&(t=bn):n!==bn&&n!==mn||(t=gn)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.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}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===bn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fn&&this.setState({status:pn})},a.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[i.findDOMNode(this),o],a=r[0],s=r[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!n||cn?this.safeSetState({status:mn},function(){t.props.onEntered(a)}):(this.props.onEnter(a,s),this.safeSetState({status:bn},function(){t.props.onEntering(a,s),t.onTransitionEnd(c,function(){t.safeSetState({status:mn},function(){t.props.onEntered(a,s)})})}))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:i.findDOMNode(this);t&&!cn?(this.props.onExit(o),this.safeSetState({status:gn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:fn},function(){e.props.onExited(o)})})})):this.safeSetState({status:fn},function(){e.props.onExited(o)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.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},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=r[0],s=r[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===pn)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=an(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(dn.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},r}(t.Component);function vn(){}hn.contextType=dn,hn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:ln.shape({current:"undefined"==typeof Element?ln.any:function(e,t,n,o,r,i){var a=e[t];return ln.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:ln.oneOfType([ln.func.isRequired,ln.element.isRequired]).isRequired,in:ln.bool,mountOnEnter:ln.bool,unmountOnExit:ln.bool,appear:ln.bool,enter:ln.bool,exit:ln.bool,timeout:function(e){var t=un;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:ln.func,onEnter:ln.func,onEntering:ln.func,onEntered:ln.func,onExit:ln.func,onExiting:ln.func,onExited:ln.func}:{},hn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:vn,onEntering:vn,onEntered:vn,onExit:vn,onExiting:vn,onExited:vn},hn.UNMOUNTED=pn,hn.EXITED=fn,hn.ENTERING=bn,hn.ENTERED=mn,hn.EXITING=gn;const yn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:a,isOpen:s,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:b,closeWrapperClassName:m,onRequestClose:g,parentSelector:h,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:y=!1,...I})=>{Ze(s,v);const[x,C]=t.useState(!1);t.useEffect(()=>{C(s)},[s]);const w=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return h&&(e=document.querySelector(h)||document.body),e},[h]);if(!w)return null;if(!s)return null;const A=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]),G=(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(hn,{enter:!0,exit:!0,in:x,timeout:0,children:t=>e.jsxs(on,{ariaHideApp:!1,isOpen:s,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>w,className:xe("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",A(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",G(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),...I,children:[!y&&e.jsx("div",{className:xe(m),children:e.jsx(Be,{className:xe("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),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(Ge,{name:"close",size:24})})}),a?e.jsx("div",{className:xe("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:a}):null,e.jsx("div",{className:xe("p-5",d),style:c,"data-testid":I["data-testid"],"data-cy":I["data-cy"],children:l})]})})};yn.displayName="Modal";const In=n=>{const{open:o,children:r}=n,i=t.useRef(null),[a,s]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{s(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:a,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};In.displayName="Collapse";const xn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,b]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;b(e)}else b(Boolean(r))},[d,r]),e.jsxs("div",{className:xe(p?"rounded-none border":"rounded-surface-xs border",a),children:[e.jsxs(Be,{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:()=>b(e=>!e),children:[e.jsx("span",{className:xe("label5 flex-1",s),children:o}),e.jsx(Ge,{className:xe("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(In,{open:f,children:e.jsx("div",{className:xe("px-4 py-4",l),children:i})})]})};xn.displayName="Accordion";const Cn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:f=!1,error:b=!1,"data-cy":m,renderInfoIcon:g,...h})=>{const v=p||"disabled"===n,y=d||c,I=xe("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=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:x,disabled:v,required:f,className:"peer sr-only","data-cy":m,...h}),e.jsx("label",{htmlFor:y,className:xe("peer-focus:outline",I),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"})]})})]}),a&&e.jsx("label",{htmlFor:y,className:xe("cursor-pointer",b&&"text-text-critical",s),children:a}),g&&e.jsx(Be,{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 wn(e){return wn="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},wn(e)}function An(e){var t=function(e,t){if("object"!=wn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=wn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wn(t)?t:t+""}function Gn(e,t,n){return(t=An(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(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 On(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach(function(t){Gn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Sn(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 Rn(e,t){if(e){if("string"==typeof e)return Sn(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)?Sn(e,t):void 0}}function kn(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,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||Rn(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 Bn(e,t){if(null==e)return{};var n,o,r=an(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}Cn.displayName="Checkbox";var Vn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function En(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,An(o.key),o)}}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xn(e)}function Wn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wn=function(){return!!e})()}function Mn(e,t){if(t&&("object"==wn(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 Tn(e){return function(e){if(Array.isArray(e))return Sn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rn(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 Pn=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}(),jn="-ms-",Zn="-moz-",Hn="-webkit-",Fn="comm",zn="rule",Ln="decl",Jn="@keyframes",Yn=Math.abs,Dn=String.fromCharCode,Un=Object.assign;function Qn(e){return e.trim()}function _n(e,t,n){return e.replace(t,n)}function $n(e,t){return e.indexOf(t)}function Kn(e,t){return 0|e.charCodeAt(t)}function qn(e,t,n){return e.slice(t,n)}function eo(e){return e.length}function to(e){return e.length}function no(e,t){return t.push(e),e}var oo=1,ro=1,io=0,ao=0,so=0,lo="";function co(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:oo,column:ro,length:a,return:""}}function uo(e,t){return Un(co("",null,null,"",null,null,0),e,{length:-e.length},t)}function po(){return so=ao>0?Kn(lo,--ao):0,ro--,10===so&&(ro=1,oo--),so}function fo(){return so=ao<io?Kn(lo,ao++):0,ro++,10===so&&(ro=1,oo++),so}function bo(){return Kn(lo,ao)}function mo(){return ao}function go(e,t){return qn(lo,e,t)}function ho(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 vo(e){return oo=ro=1,io=eo(lo=e),ao=0,[]}function yo(e){return lo="",e}function Io(e){return Qn(go(ao-1,wo(91===e?e+2:40===e?e+1:e)))}function xo(e){for(;(so=bo())&&so<33;)fo();return ho(e)>2||ho(so)>3?"":" "}function Co(e,t){for(;--t&&fo()&&!(so<48||so>102||so>57&&so<65||so>70&&so<97););return go(e,mo()+(t<6&&32==bo()&&32==fo()))}function wo(e){for(;fo();)switch(so){case e:return ao;case 34:case 39:34!==e&&39!==e&&wo(so);break;case 40:41===e&&wo(e);break;case 92:fo()}return ao}function Ao(e,t){for(;fo()&&e+so!==57&&(e+so!==84||47!==bo()););return"/*"+go(t,ao-1)+"*"+Dn(47===e?e:fo())}function Go(e){for(;!ho(bo());)fo();return go(e,ao)}function No(e){return yo(Oo("",null,null,null,[""],e=vo(e),0,[0],e))}function Oo(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,x=i,C=o,w=y;g;)switch(b=v,v=fo()){case 40:if(108!=b&&58==Kn(w,d-1)){-1!=$n(w+=_n(Io(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:w+=Io(v);break;case 9:case 10:case 13:case 32:w+=xo(b);break;case 92:w+=Co(mo()-1,7);continue;case 47:switch(bo()){case 42:case 47:no(Ro(Ao(fo(),mo()),t,n),l);break;default:w+="/"}break;case 123*m:s[c++]=eo(w)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(w=_n(w,/\f/g,"")),f>0&&eo(w)-d&&no(f>32?ko(w+";",o,n,d-1):ko(_n(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(no(C=So(w,t,n,c,u,r,s,y,I=[],x=[],d),i),123===v)if(0===u)Oo(w,t,C,C,I,i,d,s,x);else switch(99===p&&110===Kn(w,3)?100:p){case 100:case 108:case 109:case 115:Oo(e,C,C,o&&no(So(e,C,C,0,0,r,s,y,r,I=[],d),x),r,x,d,s,o?I:x);break;default:Oo(w,C,C,C,[""],x,0,s,x)}}c=u=f=0,m=h=1,y=w="",d=a;break;case 58:d=1+eo(w),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==po())continue;switch(w+=Dn(v),v*m){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(eo(w)-1)*h,h=1;break;case 64:45===bo()&&(w+=Io(fo())),p=bo(),u=d=eo(y=w+=Go(mo())),v++;break;case 45:45===b&&2==eo(w)&&(m=0)}}return i}function So(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=to(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=qn(e,d+1,d=Yn(m=a[b])),y=e;h<f;++h)(y=Qn(m>0?p[h]+" "+v:_n(v,/&\f/g,p[h])))&&(l[g++]=y);return co(e,t,n,0===r?zn:s,l,c,u)}function Ro(e,t,n){return co(e,t,n,Fn,Dn(so),qn(e,2,-2),0)}function ko(e,t,n,o){return co(e,t,n,Ln,qn(e,0,o),qn(e,o+1,-1),o)}function Bo(e,t){for(var n="",o=to(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Vo(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ln:return e.return=e.return||e.value;case Fn:return"";case Jn:return e.return=e.value+"{"+Bo(e.children,o)+"}";case zn:e.value=e.props.join(",")}return eo(n=Bo(e.children,o))?e.return=e.value+"{"+n+"}":""}function Eo(e){var t=to(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}var Xo="undefined"!=typeof document,Wo=function(e,t,n){for(var o=0,r=0;o=r,r=bo(),38===o&&12===r&&(t[n]=1),!ho(r);)fo();return go(e,ao)},Mo=function(e,t){return yo(function(e,t){var n=-1,o=44;do{switch(ho(o)){case 0:38===o&&12===bo()&&(t[n]=1),e[n]+=Wo(ao-1,t,n);break;case 2:e[n]+=Io(o);break;case 4:if(44===o){e[++n]=58===bo()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Dn(o)}}while(o=fo());return e}(vo(e),t))},To=new WeakMap,Po=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)||To.get(n))&&!o){To.set(e,!0);for(var r=[],i=Mo(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},jo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Zo(e,t){switch(function(e,t){return 45^Kn(e,0)?(((t<<2^Kn(e,0))<<2^Kn(e,1))<<2^Kn(e,2))<<2^Kn(e,3):0}(e,t)){case 5103:return Hn+"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 Hn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Hn+e+Zn+e+jn+e+e;case 6828:case 4268:return Hn+e+jn+e+e;case 6165:return Hn+e+jn+"flex-"+e+e;case 5187:return Hn+e+_n(e,/(\w+).+(:[^]+)/,Hn+"box-$1$2"+jn+"flex-$1$2")+e;case 5443:return Hn+e+jn+"flex-item-"+_n(e,/flex-|-self/,"")+e;case 4675:return Hn+e+jn+"flex-line-pack"+_n(e,/align-content|flex-|-self/,"")+e;case 5548:return Hn+e+jn+_n(e,"shrink","negative")+e;case 5292:return Hn+e+jn+_n(e,"basis","preferred-size")+e;case 6060:return Hn+"box-"+_n(e,"-grow","")+Hn+e+jn+_n(e,"grow","positive")+e;case 4554:return Hn+_n(e,/([^-])(transform)/g,"$1"+Hn+"$2")+e;case 6187:return _n(_n(_n(e,/(zoom-|grab)/,Hn+"$1"),/(image-set)/,Hn+"$1"),e,"")+e;case 5495:case 3959:return _n(e,/(image-set\([^]*)/,Hn+"$1$`$1");case 4968:return _n(_n(e,/(.+:)(flex-)?(.*)/,Hn+"box-pack:$3"+jn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Hn+e+e;case 4095:case 3583:case 4068:case 2532:return _n(e,/(.+)-inline(.+)/,Hn+"$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(eo(e)-1-t>6)switch(Kn(e,t+1)){case 109:if(45!==Kn(e,t+4))break;case 102:return _n(e,/(.+:)(.+)-([^]+)/,"$1"+Hn+"$2-$3$1"+Zn+(108==Kn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~$n(e,"stretch")?Zo(_n(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Kn(e,t+1))break;case 6444:switch(Kn(e,eo(e)-3-(~$n(e,"!important")&&10))){case 107:return _n(e,":",":"+Hn)+e;case 101:return _n(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Hn+(45===Kn(e,14)?"inline-":"")+"box$3$1"+Hn+"$2$3$1"+jn+"$2box$3")+e}break;case 5936:switch(Kn(e,t+11)){case 114:return Hn+e+jn+_n(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Hn+e+jn+_n(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Hn+e+jn+_n(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Hn+e+jn+e+e}return e}var Ho,Fo,zo,Lo=Xo?void 0:(Ho=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Fo=new WeakMap,function(e){if(Fo.has(e))return Fo.get(e);var t=Ho(e);return Fo.set(e,t),t}),Jo=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case Ln:e.return=Zo(e.value,e.length);break;case Jn:return Bo([uo(e,{value:_n(e.value,"@","@"+Hn)})],o);case zn: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 Bo([uo(e,{props:[_n(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Bo([uo(e,{props:[_n(t,/:(plac\w+)/,":"+Hn+"input-$1")]}),uo(e,{props:[_n(t,/:(plac\w+)/,":-moz-$1")]}),uo(e,{props:[_n(t,/:(plac\w+)/,jn+"input-$1")]})],o)}return""})}}],Yo=function(e){var t=e.key;if(Xo&&"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||Jo,a={},s=[];Xo&&(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++)a[t[n]]=!0;s.push(e)}));var l,c=[Po,jo];if(Lo){var u=[Vo],d=Eo(c.concat(i,u)),p=Lo(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Bo(No(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===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[Vo,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Eo(c.concat(i,m));r=function(e,t,n,o){b=n,Bo(No(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Pn({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h},Do={exports:{}},Uo={};var Qo,_o,$o,Ko,qo={};
|
|
31
29
|
/** @license React v16.13.1
|
|
32
30
|
* react-is.development.js
|
|
33
31
|
*
|
|
@@ -35,5 +33,5 @@ var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;fun
|
|
|
35
33
|
*
|
|
36
34
|
* This source code is licensed under the MIT license found in the
|
|
37
35
|
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/function ji(){return Ti||(Ti=1,"production"===process.env.NODE_ENV?Gi.exports=function(){if(wi)return Ri;wi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case b:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return y(e)===c}return Ri.AsyncMode=l,Ri.ConcurrentMode=c,Ri.ContextConsumer=s,Ri.ContextProvider=a,Ri.Element=t,Ri.ForwardRef=u,Ri.Fragment=r,Ri.Lazy=b,Ri.Memo=f,Ri.Portal=n,Ri.Profiler=i,Ri.StrictMode=o,Ri.Suspense=d,Ri.isAsyncMode=function(e){return I(e)||y(e)===l},Ri.isConcurrentMode=I,Ri.isContextConsumer=function(e){return y(e)===s},Ri.isContextProvider=function(e){return y(e)===a},Ri.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ri.isForwardRef=function(e){return y(e)===u},Ri.isFragment=function(e){return y(e)===r},Ri.isLazy=function(e){return y(e)===b},Ri.isMemo=function(e){return y(e)===f},Ri.isPortal=function(e){return y(e)===n},Ri.isProfiler=function(e){return y(e)===i},Ri.isStrictMode=function(e){return y(e)===o},Ri.isSuspense=function(e){return y(e)===d},Ri.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},Ri.typeOf=y,Ri}():Gi.exports=(Bi||(Bi=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case r:case i:case o:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case b:case f:case a:return g;default:return p}}case n:return p}}}var I=l,C=c,x=s,A=a,E=t,w=u,O=r,N=b,S=f,G=n,R=i,B=o,T=d,L=!1;function k(e){return y(e)===c}Pi.AsyncMode=I,Pi.ConcurrentMode=C,Pi.ContextConsumer=x,Pi.ContextProvider=A,Pi.Element=E,Pi.ForwardRef=w,Pi.Fragment=O,Pi.Lazy=N,Pi.Memo=S,Pi.Portal=G,Pi.Profiler=R,Pi.StrictMode=B,Pi.Suspense=T,Pi.isAsyncMode=function(e){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(e)||y(e)===l},Pi.isConcurrentMode=k,Pi.isContextConsumer=function(e){return y(e)===s},Pi.isContextProvider=function(e){return y(e)===a},Pi.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Pi.isForwardRef=function(e){return y(e)===u},Pi.isFragment=function(e){return y(e)===r},Pi.isLazy=function(e){return y(e)===b},Pi.isMemo=function(e){return y(e)===f},Pi.isPortal=function(e){return y(e)===n},Pi.isProfiler=function(e){return y(e)===i},Pi.isStrictMode=function(e){return y(e)===o},Pi.isSuspense=function(e){return y(e)===d},Pi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},Pi.typeOf=y}()),Pi)),Gi.exports}!function(){if(ki)return Li;ki=1;var e=ji(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Li=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var f=s(r);l&&(f=f.concat(l(r)));for(var b=i(t),m=i(r),g=0;g<f.length;++g){var h=f[g];if(!(n[h]||o&&o[h]||m&&m[h]||b&&b[h])){var v=c(r,h);try{a(t,h,v)}catch(e){}}}}return t}}();var Mi="undefined"!=typeof document;var Di=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Mi&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Vi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Hi(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Xi=/[A-Z]|^ms/g,Wi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zi=function(e){return 45===e.charCodeAt(1)},Fi=function(e){return null!=e&&"boolean"!=typeof e},zi=Hi(function(e){return Zi(e)?e:e.replace(Xi,"-$&").toLowerCase()}),Yi=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Wi,function(e,t,n){return Ji={name:t,styles:n,next:Ji},t})}return 1===Vi[e]||Zi(e)||"number"!=typeof t||0===t?t:t+"px"};function _i(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ji={name:o.name,styles:o.styles,next:Ji},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ji={name:a.name,styles:a.styles,next:Ji},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=_i(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;Fi(s)&&(r+=zi(i)+":"+Yi(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Fi(a[l])&&(r+=zi(i)+":"+Yi(i,a[l])+";");else{var c=_i(e,t,a);switch(i){case"animation":case"animationName":r+=zi(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Ji,l=n(e);return Ji=s,_i(e,t,l)}}return n}var Ji,Ui=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ki(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ji=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=_i(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=_i(n,t,e[a]),r)o+=i[a]}Ui.lastIndex=0;for(var s,l="";null!==(s=Ui.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Ji}}var Qi="undefined"!=typeof document,$i=function(e){return e()},qi=!!a.useInsertionEffect&&a.useInsertionEffect,ea=Qi&&qi||$i,ta="undefined"!=typeof document,na=a.createContext("undefined"!=typeof HTMLElement?Si({key:"css"}):null);na.Provider;var ra=function(e){return t.forwardRef(function(n,r){var o=t.useContext(na);return e(n,o,r)})};ta||(ra=function(e){return function(n){var r=t.useContext(na);return null===r?(r=Si({key:"css"}),a.createElement(na.Provider,{value:r},e(n,r))):e(n,r)}});var oa,ia,aa=a.createContext({}),sa={}.hasOwnProperty,la="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ca=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Di(t,n,r);var o=ea(function(){return function(e,t,n){Di(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);Mi||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!Mi&&0!==o.length)return o}}(t,n,r)});if(!ta&&void 0!==o){for(var i,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return a.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},ua=ra(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[la],i=[r],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=Ki(i,void 0,a.useContext(aa));s+=t.key+"-"+l.name;var c={};for(var u in e)sa.call(e,u)&&"css"!==u&&u!==la&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),a.createElement(a.Fragment,null,a.createElement(ca,{cache:t,serialized:l,isStringTag:"string"==typeof o}),a.createElement(o,c))}),da=ua,pa=function(e,t){var n=arguments;if(null==t||!sa.call(t,"css"))return a.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=da,o[1]=function(e,t){var n={};for(var r in t)sa.call(t,r)&&(n[r]=t[r]);return n[la]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return a.createElement.apply(null,o)};function fa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ki(t)}oa=pa||(pa={}),ia||(ia=oa.JSX||(oa.JSX={}));const ba=Math.min,ma=Math.max,ga=Math.round,ha=Math.floor,va=e=>({x:e,y:e});function ya(){return"undefined"!=typeof window}function Ia(e){return Aa(e)?(e.nodeName||"").toLowerCase():"#document"}function Ca(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function xa(e){var t;return null==(t=(Aa(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Aa(e){return!!ya()&&(e instanceof Node||e instanceof Ca(e).Node)}function Ea(e){return!!ya()&&(e instanceof HTMLElement||e instanceof Ca(e).HTMLElement)}function wa(e){return!(!ya()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ca(e).ShadowRoot)}const Oa=new Set(["inline","contents"]);function Na(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ga(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Oa.has(o)}const Sa=new Set(["html","body","#document"]);function Ga(e){return Ca(e).getComputedStyle(e)}function Ra(e){const t=function(e){if("html"===Ia(e))return e;const t=e.assignedSlot||e.parentNode||wa(e)&&e.host||xa(e);return wa(t)?t.host:t}(e);return function(e){return Sa.has(Ia(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ea(t)&&Na(t)?t:Ra(t)}function Ba(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ra(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Ca(o);if(i){const e=Ta(a);return t.concat(a,a.visualViewport||[],Na(o)?o:[],e&&n?Ba(e):[])}return t.concat(o,Ba(o,[],n))}function Ta(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function La(e){return t=e,ya()&&(t instanceof Element||t instanceof Ca(t).Element)?e:e.contextElement;var t}function ka(e){const t=La(e);if(!Ea(t))return va(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=Ga(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ea(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=ga(n)!==i||ga(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}(t);let a=(i?ga(n.width):n.width)/r,s=(i?ga(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Pa(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=La(e);let a=va(1);t&&(a=ka(e));const s=va(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=r;let t=Ca(i),n=Ta(t);for(;n&&r&&e!==t;){const e=ka(n),r=n.getBoundingClientRect(),o=Ga(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=Ca(n),n=Ta(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function ja(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ma(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=La(e),u=o||i?[...c?Ba(c):[],...Ba(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const o=xa(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const b={rootMargin:-ha(d)+"px "+-ha(o.clientWidth-(u+p))+"px "+-ha(o.clientHeight-(d+f))+"px "+-ha(u)+"px",threshold:ma(0,ba(1,l))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ja(c,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...b,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,b)}r.observe(e)}(!0),i}(c,n):null;let p,f=-1,b=null;a&&(b=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&b&&(b.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),c&&!l&&b.observe(c),b.observe(t));let m=l?Pa(e):null;return l&&function t(){const r=Pa(e);m&&!ja(m,r)&&n();m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=b)||e.disconnect(),b=null,l&&cancelAnimationFrame(p)}}var Da="undefined"!=typeof document?t.useLayoutEffect:function(){},Va=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ha=function(){};function Xa(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Wa(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Xa(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Za=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===io(e)&&null!==e?[e]:[];var t},Fa=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,co({},bo(e,Va))},za=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function Ya(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function _a(e){return Ya(e)?window.pageYOffset:e.scrollTop}function Ja(e,t){Ya(e)?window.scrollTo(0,t):e.scrollTop=t}function Ua(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ha,o=_a(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;Ja(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Ka(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Ja(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Ja(e,Math.max(t.offsetTop-o,0))}function Qa(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var $a=!1,qa={get passive(){return $a=!0}},es="undefined"!=typeof window?window:{};es.addEventListener&&es.removeEventListener&&(es.addEventListener("p",Ha,qa),es.removeEventListener("p",Ha,!1));var ts=$a;function ns(e){return null!=e}function rs(e,t,n){return e?t:n}var os=["children","innerProps"],is=["children","innerProps"];function as(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,b=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,h=a?window.innerHeight:Ya(u=l)?window.innerHeight:u.clientHeight,v=_a(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),C=g-I,x=h-m,A=C+v,E=d-v-m,w=f-h+v+y,O=v+m-I,N=160;switch(o){case"auto":case"bottom":if(x>=b)return{placement:"bottom",maxHeight:t};if(E>=b&&!a)return i&&Ua(l,w,N),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&x>=r)return i&&Ua(l,w,N),{placement:"bottom",maxHeight:a?x-y:E-y};if("auto"===o||a){var S=t,G=a?C:A;return G>=r&&(S=Math.min(G-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===o)return i&&Ja(l,w),{placement:"bottom",maxHeight:t};break;case"top":if(C>=b)return{placement:"top",maxHeight:t};if(A>=b&&!a)return i&&Ua(l,O,N),{placement:"top",maxHeight:t};if(!a&&A>=r||a&&C>=r){var R=t;return(!a&&A>=r||a&&C>=r)&&(R=a?C-I:A-I),i&&Ua(l,O,N),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var ss,ls=function(e){return"auto"===e?"bottom":e},cs=t.createContext(null),us=function(e){var n=e.children,r=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(cs)||{}).setPortalPlacement,u=t.useRef(null),d=fo(t.useState(o),2),p=d[0],f=d[1],b=fo(t.useState(null),2),m=b[0],g=b[1],h=l.spacing.controlHeight;return Da(function(){var e=u.current;if(e){var t="fixed"===a,n=as({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:h});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[o,i,a,s,r,c,h]),n({ref:u,placerProps:co(co({},e),{},{placement:m||ls(i),maxHeight:p})})},ds=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return pa("div",Xr({},za(e,"menu",{menu:!0}),{ref:n},r),t)},ps=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return co({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},fs=ps,bs=ps,ms=["size"],gs=["innerProps","isRtl","size"];var hs,vs,ys="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi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4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Is=function(e){var t=e.size,n=bo(e,ms);return pa("svg",Xr({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ys},n))},Cs=function(e){return pa(Is,Xr({size:20},e),pa("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"}))},xs=function(e){return pa(Is,Xr({size:20},e),pa("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},As=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return co({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},Es=As,ws=As,Os=function(){var e=fa.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_"}}}(ss||(hs=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],vs||(vs=hs.slice(0)),ss=Object.freeze(Object.defineProperties(hs,{raw:{value:Object.freeze(vs)}})))),Ns=function(e){var t=e.delay,n=e.offset;return pa("span",{css:fa({animation:"".concat(Os," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljY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gJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Ss=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return pa("div",Xr({ref:o},za(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Gs=["data"],Rs=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return pa("div",Xr({},za(e,"group",{group:!0}),s),pa(i,Xr({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),pa("div",null,t))},Bs=["innerRef","isDisabled","isHidden","inputClassName"],Ts={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ls={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":co({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ts)},ks=function(e){return co({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ts)},Ps=function(e){var t=e.cx,n=e.value,r=Fa(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=bo(r,Bs);return pa("div",Xr({},za(e,"input",{"input-container":!0}),{"data-value":n||""}),pa("input",Xr({className:t({input:!0},s),ref:o,style:ks(a),disabled:i},l)))},js=function(e){var t=e.children,n=e.innerProps;return pa("div",n,t)};var Ms=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return pa(l,{data:r,innerProps:co(co({},za(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},pa(c,{data:r,innerProps:co({},za(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),pa(u,{data:r,innerProps:co(co({},za(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Ds={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return pa("div",Xr({},za(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||pa(Cs,null))},Control:Ss,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return pa("div",Xr({},za(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||pa(xs,null))},DownChevron:xs,CrossIcon:Cs,Group:Rs,GroupHeading:function(e){var t=Fa(e);t.data;var n=bo(t,Gs);return pa("div",Xr({},za(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return pa("div",Xr({},za(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return pa("span",Xr({},t,za(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Ps,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=bo(e,gs);return pa("div",Xr({},za(co(co({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),pa(Ns,{delay:0,offset:n}),pa(Ns,{delay:160,offset:!0}),pa(Ns,{delay:320,offset:!n}))},Menu:ds,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return pa("div",Xr({},za(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,i=e.controlElement,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=fo(t.useState(ls(s)),2),p=d[0],f=d[1],b=t.useMemo(function(){return{setPortalPlacement:f}},[]),m=fo(t.useState(null),2),g=m[0],h=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)||h({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]);Da(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=Ma(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);Da(function(){y()},[y]);var I=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var C=pa("div",Xr({ref:I},za(co(co({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),r);return pa(cs.Provider,{value:b},n?o.createPortal(C,n):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=bo(e,is);return pa("div",Xr({},za(co(co({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=bo(e,os);return pa("div",Xr({},za(co(co({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Ms,MultiValueContainer:js,MultiValueLabel:js,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return pa("div",Xr({role:"button"},n),t||pa(Cs,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return pa("div",Xr({},za(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return pa("div",Xr({},za(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return pa("div",Xr({},za(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return pa("div",Xr({},za(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return pa("div",Xr({},za(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},Vs=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Hs(e,t){return e===t||!(!Vs(e)||!Vs(t))}function Xs(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Hs(e[n],t[n]))return!1;return!0}for(var Ws="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)."}},Zs=function(e){return pa("span",Xr({css:Ws},e))},Fs={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},zs=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,b=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,h=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,C=l.isLoading,x=l["aria-label"],A=l["aria-live"],E=t.useMemo(function(){return co(co({},Fs),d||{})},[d]),w=t.useMemo(function(){var e,t="";if(n&&E.onChange){var r=n.option,o=n.options,i=n.removedValue,a=n.removedValues,l=n.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||a||void 0,f=d?d.map(p):[],b=co({isDisabled:c&&m(c,s),label:u,labels:f},n);t=E.onChange(b)}return t},[n,E,m,s,p]),O=t.useMemo(function(){var e="",t=r||o,n=!!(r&&s&&s.includes(r));if(t&&E.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:s,isAppleDevice:u};e=E.onFocus(a)}return e},[r,o,p,m,E,i,s,u]),N=t.useMemo(function(){var e="";if(h&&v.length&&!C&&E.onFilter){var t=y({count:i.length});e=E.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,h,E,v,y,C]),S="initial-input-focus"===(null==n?void 0:n.action),G=t.useMemo(function(){var e="";if(E.guidance){var t=o?"value":h?"menu":"input";e=E.guidance({"aria-label":x,context:t,isDisabled:r&&m(r,s),isMulti:b,isSearchable:g,tabSelectsValue:I,isInitialFocus:S})}return e},[x,r,o,b,m,g,h,E,s,I,S]),R=pa(t.Fragment,null,pa("span",{id:"aria-selection"},w),pa("span",{id:"aria-focused"},O),pa("span",{id:"aria-results"},N),pa("span",{id:"aria-guidance"},G));return pa(t.Fragment,null,pa(Zs,{id:c},S&&R),pa(Zs,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!S&&R))},Ys=[{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źẑżžẓẕƶȥɀⱬꝣ"}],_s=new RegExp("["+Ys.map(function(e){return e.letters}).join("")+"]","g"),Js={},Us=0;Us<Ys.length;Us++)for(var Ks=Ys[Us],Qs=0;Qs<Ks.letters.length;Qs++)Js[Ks.letters[Qs]]=Ks.base;var $s=function(e){return e.replace(_s,function(e){return Js[e]})},qs=function(e,t){void 0===t&&(t=Xs);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}($s),el=function(e){return e.replace(/^\s+|\s+$/g,"")},tl=function(e){return"".concat(e.label," ").concat(e.value)},nl=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=co({ignoreCase:!0,ignoreAccents:!0,stringify:tl,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?el(n):n,u=s?el(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=qs(c),u=$s(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},rl=["innerRef"];function ol(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter(function(e){var t=fo(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=fo(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(bo(e,rl),"onExited","in","enter","exit","appear");return pa("input",Xr({ref:t},n,{css:fa({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 il=["boxSizing","height","overflow","paddingRight","position"],al={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function sl(e){e.cancelable&&e.preventDefault()}function ll(e){e.stopPropagation()}function cl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ul(){return"ontouchstart"in window||navigator.maxTouchPoints}var dl=!("undefined"==typeof window||!window.document||!window.document.createElement),pl=0,fl={capture:!1,passive:!1};var bl=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},ml="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9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cHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 gl(e){var n=e.children,r=e.lockEnabled,o=e.captureEnabled,i=function(e){var n=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=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,b=t>0,m=d-p-c,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),b&&l.current&&(a&&a(e),l.current=!1),b&&t>m?(r&&!s.current&&r(e),f.scrollTop=d,g=!0,s.current=!0):!b&&-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)}},[r,o,i,a]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),b=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=!!ts&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",b,t)}},[b,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",b,!1))},[b,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===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,r=e.accountForScrollbars,o=void 0===r||r,i=t.useRef({}),a=t.useRef(null),s=t.useCallback(function(e){if(dl){var t=document.body,n=t&&t.style;if(o&&il.forEach(function(e){var t=n&&n[e];i.current[e]=t}),o&&pl<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(al).forEach(function(e){var t=al[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&ul()&&(t.addEventListener("touchmove",sl,fl),e&&(e.addEventListener("touchstart",cl,fl),e.addEventListener("touchmove",ll,fl))),pl+=1}},[o]),l=t.useCallback(function(e){if(dl){var t=document.body,n=t&&t.style;pl=Math.max(pl-1,0),o&&pl<1&&il.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&ul()&&(t.removeEventListener("touchmove",sl,fl),e&&(e.removeEventListener("touchstart",cl,fl),e.removeEventListener("touchmove",ll,fl)))}},[o]);return t.useEffect(function(){if(n){var e=a.current;return s(e),function(){l(e)}}},[n,s,l]),function(e){a.current=e}}({isEnabled:r});return pa(t.Fragment,null,r&&pa("div",{onClick:bl,css:ml}),n(function(e){i(e),a(e)}))}var hl="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)."}},vl=function(e){var t=e.name,n=e.onFocus;return pa("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:hl,value:"",onChange:function(){}})};function yl(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 Il(){return yl(/^Mac/i)}function Cl(){return yl(/^iPhone/i)||yl(/^iPad/i)||Il()&&navigator.maxTouchPoints>1}var xl={clearIndicator:ws,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return co({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:Es,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return co({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return co({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return co(co({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ls),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return co({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:bs,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return co((so(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),so(n,"position","absolute"),so(n,"width","100%"),so(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return co({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return co({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return co({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return co({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:fs,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return co({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return co({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return co({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return co({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Al={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}},El={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qa(),captureMenuScroll:!Qa(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:nl(),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 wl(e,t,n,r){return{type:"option",data:t,isDisabled:Ll(e,t,n),isSelected:kl(e,t,n),label:Bl(e,t),value:Tl(e,t),index:r}}function Ol(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return wl(e,n,t,r)}).filter(function(t){return Gl(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=wl(e,n,t,r);return Gl(e,i)?i:void 0}).filter(ns)}function Nl(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Io(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Sl(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Io(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 Gl(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!jl(e)||!i)&&Pl(e,{label:a,value:s,data:o},r)}var Rl=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Bl=function(e,t){return e.getOptionLabel(t)},Tl=function(e,t){return e.getOptionValue(t)};function Ll(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function kl(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Tl(e,t);return n.some(function(t){return Tl(e,t)===r})}function Pl(e,t,n){return!e.filterOption||e.filterOption(t,n)}var jl=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Ml=1,Dl=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&&Zr(e,t)}(n,t.Component);var e=function(e){var t=vo();return function(){var n,r=ho(e);if(t){var o=ho(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yo(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=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},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Io(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),a=rs(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(rs(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=rs(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Rl(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Sl(Ol(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Wa.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Bl(r.props,e)},r.getOptionValue=function(e){return Tl(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=xl[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,co(co({},Ds),e.components);var e},r.buildCategorizedOptions=function(){return Ol(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Nl(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:co({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ya(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return jl(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=r.state,b=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!b||p&&r.isOptionSelected(b,g))return;r.selectOption(b);break;case"Enter":if(229===e.keyCode)break;if(c){if(!b)return;if(r.isComposing)return;r.selectOption(b);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!b)return;r.selectOption(b);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Ml),r.state.selectValue=Za(t.value),t.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=Rl(o,i[a])}return r}return function(e,t,n){t&&go(e.prototype,t),n&&go(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&&Ka(this.menuListRef,this.focusedOptionRef),(Il()||Cl())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ka(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Al):co(co({},Al),this.props.theme):Al}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Ll(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return kl(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Pl(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,b=this.commonProps,m=r||this.getElementId("input"),g=co(co(co({"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?a.createElement(u,Xr({},b,{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:s,type:"text",value:o},g)):a.createElement(ol,Xr({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ha,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,b=u.inputValue,m=u.placeholder,g=this.state,h=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return b?null:a.createElement(l,Xr({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return h.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return a.createElement(n,Xr({},c,{components:{Container:r,Label:o,Remove:i},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(b)return null;var I=h[0];return a.createElement(s,Xr({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,Xr({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return a.createElement(e,Xr({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return a.createElement(n,Xr({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,Xr({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,b=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,h=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,I=f.menuIsOpen,C=f.menuPlacement,x=f.menuPosition,A=f.menuPortalTarget,E=f.menuShouldBlockScroll,w=f.menuShouldScrollIntoView,O=f.noOptionsMessage,N=f.onMenuScrollToTop,S=f.onMenuScrollToBottom;if(!I)return null;var G,R=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===o,b=i?void 0:function(){return e.onOptionHover(o)},m=i?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),h={id:g,onClick:m,onMouseMove:b,onMouseOver:b,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return a.createElement(u,Xr({},d,{innerProps:h,data:o,isDisabled:i,isSelected:s,key:g,label:l,type:r,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())G=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return a.createElement(n,Xr({},d,{key:l,data:o,options:i,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return R(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return R(t,"".concat(t.index))});else if(g){var B=h({inputValue:m});if(null===B)return null;G=a.createElement(l,d,B)}else{var T=O({inputValue:m});if(null===T)return null;G=a.createElement(c,d,T)}var L={minMenuHeight:v,maxMenuHeight:y,menuPlacement:C,menuPosition:x,menuShouldScrollIntoView:w},k=a.createElement(us,Xr({},d,L),function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return a.createElement(o,Xr({},d,L,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),a.createElement(gl,{captureEnabled:b,onTopArrive:N,onBottomArrive:S,lockEnabled:E},function(t){return a.createElement(i,Xr({},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}),G)}))});return A||"fixed"===x?a.createElement(s,Xr({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:C,menuPosition:x}),k):k}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return a.createElement(vl,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return a.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):a.createElement("input",{name:i,type:"hidden",value:""});return a.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return a.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return a.createElement(zs,Xr({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,s=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return a.createElement(r,Xr({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),a.createElement(t,Xr({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),a.createElement(o,Xr({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),a.createElement(n,Xr({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,b=Za(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Nl(Ol(e,t))}(e,b):[],h=d?Sl(Ol(e,b),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,b):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:b,focusedOption:y,focusedOptionId:Rl(h,y),focusableOptionsWithIds:h,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},C=i,x=a&&s;return a&&!x&&(C={value:rs(f,b,b[0]||null),options:b,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),co(co(co({},m),I),{},{prevProps:e,ariaSelection:C,prevWasFocused:x})}}]),n}();Dl.defaultProps=El;var Vl=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,o=e.defaultMenuIsOpen,i=void 0!==o&&o,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,b=e.value,m=bo(e,mo),g=fo(t.useState(void 0!==l?l:r),2),h=g[0],v=g[1],y=fo(t.useState(void 0!==c?c:i),2),I=y[0],C=y[1],x=fo(t.useState(void 0!==b?b:s),2),A=x[0],E=x[1],w=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),E(e)},[u]),O=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),N=t.useCallback(function(){"function"==typeof f&&f(),C(!0)},[f]),S=t.useCallback(function(){"function"==typeof p&&p(),C(!1)},[p]),G=void 0!==l?l:h,R=void 0!==c?c:I,B=void 0!==b?b:A;return co(co({},m),{},{inputValue:G,menuIsOpen:R,onChange:w,onInputChange:O,onMenuClose:S,onMenuOpen:N,value:B})}(e);return a.createElement(Dl,Xr({ref:n},r))}),Hl=Vl;const Xl=t.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:b,label:m,labelClassName:g,size:h="md",variant:v="default","data-cy":y,"data-testid":I,...C})=>{const x=t.useMemo(()=>nl(u),[u]),A=t.useMemo(()=>({control:({isFocused:e})=>Ie("sm"===h?"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},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ie(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ie("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ie("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,o,f,n,d,h]);return"unstyled"===v?e.jsx(Hl,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:x,className:Ie("rounded-xl",r),classNames:A,"data-cy":y,"data-testid":I,...C}):e.jsxs("div",{className:"w-full",children:[m&&e.jsx("label",{className:Ie("mb-1 block text-sm font-medium text-text-secondary",g),children:m}),e.jsx(Hl,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:x,className:Ie("rounded-xl",r),classNames:A,"data-cy":y,"data-testid":I,...C}),p&&e.jsx(dn,{className:"footnote mt-1 text-text-critical",children:p}),!p&&b&&e.jsx(dn,{className:"footnote mt-1 text-text-info",children:b})]})});Xl.displayName="Select";const Wl=({errorMessage:t,className:n,iconClassName:r,iconSize:o=52,iconName:i="dangerous",textVariant:a})=>t?e.jsxs("div",{className:Ie("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(un,{name:i,size:o,className:Ie("text-icon-critical",r)})}),e.jsx(dn,{className:Ie("body2 text-text",a),children:t})]}):null;Wl.displayName="AlertCard";const Zl=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()},Fl=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:o,disabled:i,fullWidth:a,buttonClassName:s,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ie((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",a?"w-full":"w-auto"),r=Ie((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ie(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]||"",r,s)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const b=`${f} ${p}`,m=e.jsxs(e.Fragment,{children:[n?e.jsx(un,{name:"progress_activity",className:"animate-spin"}):null,o?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ie(Zl(l)),children:o}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Ie(b),...u,children:m}):e.jsx("button",{ref:d,className:Ie(b),disabled:i||n,...u,children:m})});Fl.displayName="BrandButton";const zl=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ie("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};zl.displayName="Divider";const Yl=t=>{const{name:n,value:r,label:o,subText:i,checked:a,onChange:s,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:f="",disabled:b,...m}=t,g=()=>null==s?void 0:s(r||n);return e.jsxs("label",{htmlFor:n,className:Ie("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:r,checked:a,readOnly:!0,disabled:b,...m}),e.jsx(gn,{type:"button",onClick:g,disabled:b,className:Ie("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",a&&"border-[1px] border-solid border-border-brand",b&&"opacity-50"),children:a&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(gn,{type:"button",onClick:g,disabled:b,tabIndex:o?0:-1,children:[e.jsx("div",{className:Ie("text-body2 font-normal",f),children:o}),e.jsx("div",{className:"text-body1 text-text-info",children:i})]})]})};Yl.displayName="RadioButton";const _l=n=>{const{list:r,text:o}=n,[i,a]=t.useState(!0);return e.jsxs("div",{className:"mt-3",children:[e.jsxs(gn,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),a(e=>!e)},children:[e.jsx("span",{children:o||"See details"}),e.jsx(un,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(no,{open:i,children:e.jsx("div",{className:"pt-1",children:e.jsx(pn,{listItemClassName:"body3",items:r})})})]})};_l.displayName="SeeMore";const Jl=({className:t="",count:n=1})=>e.jsx("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,r)=>e.jsx("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*r}},r))});Jl.displayName="Skeleton";function Ul({tooltipMsg:t,className:n,children:r}){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:r})]})}Ul.displayName="Tooltip";exports.Accordion=ro,exports.AlertCard=Wl,exports.BrandButton=Fl,exports.Button=gn,exports.CallButton=En,exports.Checkbox=oo,exports.Checklist=pn,exports.Collapse=no,exports.Divider=zl,exports.Image=yn,exports.Input=vn,exports.InputField=hn,exports.Link=mn,exports.List=cn,exports.ListItem=ln,exports.MaterialIcon=un,exports.Modal=to,exports.NextImage=xn,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=Yl,exports.SeeMore=_l,exports.Select=Xl,exports.SelectPlanButton=({onSelect:n,speed:r,isSelected:o=!1,renderCheckPlans:i,iconSize:a=24,iconClassName:s,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 ${o?" 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"} `,b=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(gn,{onClick:()=>{p(!0),n()},className:Ie(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(un,{className:Ie(s,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:a})]}),b]})},exports.Skeleton=Jl,exports.Spinner=An,exports.Text=dn,exports.TextInput=vn,exports.Tooltip=Ul,exports.ViewCartButton=t=>{const{cartTotalText:n,onClick:r,isOpen:o,...i}=t;return e.jsx(gn,{className:Ie("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:r,...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(dn,{className:"label4 -mb-1 text-text",children:"View cart"}),e.jsx(dn,{className:"label3 text-text md:label1","data-testid":"cart-total",children:n})]}),e.jsx(un,{name:"keyboard_arrow_up",size:24,fill:0,className:Ie("h-6 w-6 transition-transform",o?"rotate-180":"rotate-0")})]})})},exports.clsx=l,exports.cx=Ie,exports.useBodyScrollLock=wn,exports.useCarouselSwipe=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:o=.15,mobileBreakpoint:i=768,autoScrollInterval:a=8e3,enableAutoScroll:s=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[b,m]=t.useState(window.innerWidth),[g,h]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),I=t.useRef(null),C={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:a};t.useEffect(()=>{const e=()=>{var e;m((null===(e=I.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const x=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),A=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),E=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),w=t.useCallback(e=>{y.current=e.touches[0].clientX,f(!0),v.current&&clearInterval(v.current)},[]),O=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-y.current;d(t)},[p]),N=t.useCallback(()=>{f(!1);const e=b*o;u>e?A():u<-e&&x(),d(0),s&&a>0&&(v.current=setInterval(()=>{x()},a))},[u,b,o,A,x,s,a]);return t.useEffect(()=>{const e=()=>{h(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(s&&0!==n&&0!==a)return v.current=setInterval(()=>{x()},a),()=>{v.current&&clearInterval(v.current)}},[x,n,s,a]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:b,containerRef:I,nextSlide:x,prevSlide:A,goToSlide:E,handleTouchStart:w,handleTouchMove:O,handleTouchEnd:N,constants:C}};
|
|
36
|
+
*/function er(){return _o||(_o=1,"production"===process.env.NODE_ENV?Do.exports=function(){if(zo)return Uo;zo=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case b:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return y(e)===c}return Uo.AsyncMode=l,Uo.ConcurrentMode=c,Uo.ContextConsumer=s,Uo.ContextProvider=a,Uo.Element=t,Uo.ForwardRef=u,Uo.Fragment=o,Uo.Lazy=b,Uo.Memo=f,Uo.Portal=n,Uo.Profiler=i,Uo.StrictMode=r,Uo.Suspense=d,Uo.isAsyncMode=function(e){return I(e)||y(e)===l},Uo.isConcurrentMode=I,Uo.isContextConsumer=function(e){return y(e)===s},Uo.isContextProvider=function(e){return y(e)===a},Uo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Uo.isForwardRef=function(e){return y(e)===u},Uo.isFragment=function(e){return y(e)===o},Uo.isLazy=function(e){return y(e)===b},Uo.isMemo=function(e){return y(e)===f},Uo.isPortal=function(e){return y(e)===n},Uo.isProfiler=function(e){return y(e)===i},Uo.isStrictMode=function(e){return y(e)===r},Uo.isSuspense=function(e){return y(e)===d},Uo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},Uo.typeOf=y,Uo}():Do.exports=(Qo||(Qo=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case o:case i:case r:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case b:case f:case a:return g;default:return p}}case n:return p}}}var I=l,x=c,C=s,w=a,A=t,G=u,N=o,O=b,S=f,R=n,k=i,B=r,V=d,E=!1;function X(e){return y(e)===c}qo.AsyncMode=I,qo.ConcurrentMode=x,qo.ContextConsumer=C,qo.ContextProvider=w,qo.Element=A,qo.ForwardRef=G,qo.Fragment=N,qo.Lazy=O,qo.Memo=S,qo.Portal=R,qo.Profiler=k,qo.StrictMode=B,qo.Suspense=V,qo.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),X(e)||y(e)===l},qo.isConcurrentMode=X,qo.isContextConsumer=function(e){return y(e)===s},qo.isContextProvider=function(e){return y(e)===a},qo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qo.isForwardRef=function(e){return y(e)===u},qo.isFragment=function(e){return y(e)===o},qo.isLazy=function(e){return y(e)===b},qo.isMemo=function(e){return y(e)===f},qo.isPortal=function(e){return y(e)===n},qo.isProfiler=function(e){return y(e)===i},qo.isStrictMode=function(e){return y(e)===r},qo.isSuspense=function(e){return y(e)===d},qo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},qo.typeOf=y}()),qo)),Do.exports}!function(){if(Ko)return $o;Ko=1;var e=er(),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 a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;$o=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=s(o);l&&(f=f.concat(l(o)));for(var b=i(t),m=i(o),g=0;g<f.length;++g){var h=f[g];if(!(n[h]||r&&r[h]||m&&m[h]||b&&b[h])){var v=c(o,h);try{a(t,h,v)}catch(e){}}}}return t}}();var tr="undefined"!=typeof document;var nr=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===tr&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var or={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function rr(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ir=/[A-Z]|^ms/g,ar=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(e){return 45===e.charCodeAt(1)},lr=function(e){return null!=e&&"boolean"!=typeof e},cr=rr(function(e){return sr(e)?e:e.replace(ir,"-$&").toLowerCase()}),ur=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ar,function(e,t,n){return pr={name:t,styles:n,next:pr},t})}return 1===or[e]||sr(e)||"number"!=typeof t||0===t?t:t+"px"};function dr(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 pr={name:r.name,styles:r.styles,next:pr},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)pr={name:a.name,styles:a.styles,next:pr},a=a.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=dr(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;lr(s)&&(o+=cr(i)+":"+ur(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)lr(a[l])&&(o+=cr(i)+":"+ur(i,a[l])+";");else{var c=dr(e,t,a);switch(i){case"animation":case"animationName":o+=cr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var s=pr,l=n(e);return pr=s,dr(e,t,l)}}return n}var pr,fr=/label:\s*([^\s;{]+)\s*(;|$)/g;function br(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="";pr=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=dr(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=dr(n,t,e[a]),o)r+=i[a]}fr.lastIndex=0;for(var s,l="";null!==(s=fr.exec(r));)l+="-"+s[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:pr}}var mr="undefined"!=typeof document,gr=function(e){return e()},hr=!!s.useInsertionEffect&&s.useInsertionEffect,vr=mr&&hr||gr,yr="undefined"!=typeof document,Ir=s.createContext("undefined"!=typeof HTMLElement?Yo({key:"css"}):null);Ir.Provider;var xr=function(e){return t.forwardRef(function(n,o){var r=t.useContext(Ir);return e(n,r,o)})};yr||(xr=function(e){return function(n){var o=t.useContext(Ir);return null===o?(o=Yo({key:"css"}),s.createElement(Ir.Provider,{value:o},e(n,o))):e(n,o)}});var Cr,wr,Ar=s.createContext({}),Gr={}.hasOwnProperty,Nr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Or=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;nr(t,n,o);var r=vr(function(){return function(e,t,n){nr(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var a=e.insert(t===i?"."+o:"",i,e.sheet,!0);tr||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!tr&&0!==r.length)return r}}(t,n,o)});if(!yr&&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},Sr=xr(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Nr],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=br(i,void 0,s.useContext(Ar));a+=t.key+"-"+l.name;var c={};for(var u in e)Gr.call(e,u)&&"css"!==u&&u!==Nr&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),s.createElement(s.Fragment,null,s.createElement(Or,{cache:t,serialized:l,isStringTag:"string"==typeof r}),s.createElement(r,c))}),Rr=Sr,kr=function(e,t){var n=arguments;if(null==t||!Gr.call(t,"css"))return s.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Rr,r[1]=function(e,t){var n={};for(var o in t)Gr.call(t,o)&&(n[o]=t[o]);return n[Nr]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return s.createElement.apply(null,r)};function Br(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return br(t)}Cr=kr||(kr={}),wr||(wr=Cr.JSX||(Cr.JSX={}));const Vr=Math.min,Er=Math.max,Xr=Math.round,Wr=Math.floor,Mr=e=>({x:e,y:e});function Tr(){return"undefined"!=typeof window}function Pr(e){return Hr(e)?(e.nodeName||"").toLowerCase():"#document"}function jr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Zr(e){var t;return null==(t=(Hr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Hr(e){return!!Tr()&&(e instanceof Node||e instanceof jr(e).Node)}function Fr(e){return!!Tr()&&(e instanceof HTMLElement||e instanceof jr(e).HTMLElement)}function zr(e){return!(!Tr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof jr(e).ShadowRoot)}const Lr=new Set(["inline","contents"]);function Jr(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Dr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Lr.has(r)}const Yr=new Set(["html","body","#document"]);function Dr(e){return jr(e).getComputedStyle(e)}function Ur(e){const t=function(e){if("html"===Pr(e))return e;const t=e.assignedSlot||e.parentNode||zr(e)&&e.host||Zr(e);return zr(t)?t.host:t}(e);return function(e){return Yr.has(Pr(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fr(t)&&Jr(t)?t:Ur(t)}function Qr(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Ur(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=jr(r);if(i){const e=_r(a);return t.concat(a,a.visualViewport||[],Jr(r)?r:[],e&&n?Qr(e):[])}return t.concat(r,Qr(r,[],n))}function _r(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $r(e){return t=e,Tr()&&(t instanceof Element||t instanceof jr(t).Element)?e:e.contextElement;var t}function Kr(e){const t=$r(e);if(!Fr(t))return Mr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Dr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Fr(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Xr(n)!==i||Xr(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}(t);let a=(i?Xr(n.width):n.width)/o,s=(i?Xr(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function qr(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=$r(e);let a=Mr(1);t&&(a=Kr(e));const s=Mr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const e=o;let t=jr(i),n=_r(t);for(;n&&o&&e!==t;){const e=Kr(n),o=n.getBoundingClientRect(),r=Dr(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=jr(n),n=_r(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 ei(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ti(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=$r(e),u=r||i?[...c?Qr(c):[],...Qr(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?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 a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const b={rootMargin:-Wr(d)+"px "+-Wr(r.clientWidth-(u+p))+"px "+-Wr(r.clientHeight-(d+f))+"px "+-Wr(u)+"px",threshold:Er(0,Vr(1,l))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||ei(c,e.getBoundingClientRect())||a(),m=!1}try{o=new IntersectionObserver(g,{...b,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,b)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,b=null;a&&(b=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&b&&(b.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),c&&!l&&b.observe(c),b.observe(t));let m=l?qr(e):null;return l&&function t(){const o=qr(e);m&&!ei(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=b)||e.disconnect(),b=null,l&&cancelAnimationFrame(p)}}var ni="undefined"!=typeof document?t.useLayoutEffect:function(){},oi=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ri=function(){};function ii(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ai(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 a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(ii(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var si=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===wn(e)&&null!==e?[e]:[];var t},li=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,On({},Bn(e,oi))},ci=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,a=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),a)}};function ui(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function di(e){return ui(e)?window.pageYOffset:e.scrollTop}function pi(e,t){ui(e)?window.scrollTo(0,t):e.scrollTop=t}function fi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ri,r=di(e),i=t-r,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+r;pi(e,l),a<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?pi(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&pi(e,Math.max(t.offsetTop-r,0))}function mi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var gi=!1,hi={get passive(){return gi=!0}},vi="undefined"!=typeof window?window:{};vi.addEventListener&&vi.removeEventListener&&(vi.addEventListener("p",ri,hi),vi.removeEventListener("p",ri,!1));var yi=gi;function Ii(e){return null!=e}function xi(e,t,n){return e?t:n}var Ci=["children","innerProps"],wi=["children","innerProps"];function Ai(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=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,b=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,h=a?window.innerHeight:ui(u=l)?window.innerHeight:u.clientHeight,v=di(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=h-m,w=x+v,A=d-v-m,G=f-h+v+y,N=v+m-I,O=160;switch(r){case"auto":case"bottom":if(C>=b)return{placement:"bottom",maxHeight:t};if(A>=b&&!a)return i&&fi(l,G,O),{placement:"bottom",maxHeight:t};if(!a&&A>=o||a&&C>=o)return i&&fi(l,G,O),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===r||a){var S=t,R=a?x:w;return R>=o&&(S=Math.min(R-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===r)return i&&pi(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(x>=b)return{placement:"top",maxHeight:t};if(w>=b&&!a)return i&&fi(l,N,O),{placement:"top",maxHeight:t};if(!a&&w>=o||a&&x>=o){var k=t;return(!a&&w>=o||a&&x>=o)&&(k=a?x-I:w-I),i&&fi(l,N,O),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Gi,Ni=function(e){return"auto"===e?"bottom":e},Oi=t.createContext(null),Si=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Oi)||{}).setPortalPlacement,u=t.useRef(null),d=kn(t.useState(r),2),p=d[0],f=d[1],b=kn(t.useState(null),2),m=b[0],g=b[1],h=l.spacing.controlHeight;return ni(function(){var e=u.current;if(e){var t="fixed"===a,n=Ai({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:h});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,a,s,o,c,h]),n({ref:u,placerProps:On(On({},e),{},{placement:m||Ni(i),maxHeight:p})})},Ri=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return kr("div",rn({},ci(e,"menu",{menu:!0}),{ref:n},o),t)},ki=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return On({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Bi=ki,Vi=ki,Ei=["size"],Xi=["innerProps","isRtl","size"];var Wi,Mi,Ti="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:"/*# sourceMappingUR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XG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},Pi=function(e){var t=e.size,n=Bn(e,Ei);return kr("svg",rn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ti},n))},ji=function(e){return kr(Pi,rn({size:20},e),kr("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Zi=function(e){return kr(Pi,rn({size:20},e),kr("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Hi=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return On({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},Fi=Hi,zi=Hi,Li=function(){var e=Br.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_"}}}(Gi||(Wi=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Mi||(Mi=Wi.slice(0)),Gi=Object.freeze(Object.defineProperties(Wi,{raw:{value:Object.freeze(Mi)}})))),Ji=function(e){var t=e.delay,n=e.offset;return kr("span",{css:Br({animation:"".concat(Li," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQg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gdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Yi=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return kr("div",rn({ref:r},ci(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Di=["data"],Ui=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return kr("div",rn({},ci(e,"group",{group:!0}),s),kr(i,rn({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),kr("div",null,t))},Qi=["innerRef","isDisabled","isHidden","inputClassName"],_i={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$i={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":On({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},_i)},Ki=function(e){return On({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},_i)},qi=function(e){var t=e.cx,n=e.value,o=li(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,s=o.inputClassName,l=Bn(o,Qi);return kr("div",rn({},ci(e,"input",{"input-container":!0}),{"data-value":n||""}),kr("input",rn({className:t({input:!0},s),ref:r,style:Ki(a),disabled:i},l)))},ea=function(e){var t=e.children,n=e.innerProps;return kr("div",n,t)};var ta=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return kr(l,{data:o,innerProps:On(On({},ci(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:s},kr(c,{data:o,innerProps:On({},ci(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),kr(u,{data:o,innerProps:On(On({},ci(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},na={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return kr("div",rn({},ci(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||kr(ji,null))},Control:Yi,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return kr("div",rn({},ci(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||kr(Zi,null))},DownChevron:Zi,CrossIcon:ji,Group:Ui,GroupHeading:function(e){var t=li(e);t.data;var n=Bn(t,Di);return kr("div",rn({},ci(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return kr("div",rn({},ci(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return kr("span",rn({},t,ci(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:qi,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Bn(e,Xi);return kr("div",rn({},ci(On(On({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),kr(Ji,{delay:0,offset:n}),kr(Ji,{delay:160,offset:!0}),kr(Ji,{delay:320,offset:!n}))},Menu:Ri,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return kr("div",rn({},ci(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,r=e.controlElement,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=kn(t.useState(Ni(s)),2),p=d[0],f=d[1],b=t.useMemo(function(){return{setPortalPlacement:f}},[]),m=kn(t.useState(null),2),g=m[0],h=m[1],v=t.useCallback(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===l?0:window.pageYOffset,n=e[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)||h({offset:n,rect:e})}},[r,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);ni(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&c.current&&(u.current=ti(r,c.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);ni(function(){y()},[y]);var I=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var x=kr("div",rn({ref:I},ci(On(On({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),o);return kr(Oi.Provider,{value:b},n?i.createPortal(x,n):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Bn(e,wi);return kr("div",rn({},ci(On(On({},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=Bn(e,Ci);return kr("div",rn({},ci(On(On({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:ta,MultiValueContainer:ea,MultiValueLabel:ea,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return kr("div",rn({role:"button"},n),t||kr(ji,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,a=e.innerProps;return kr("div",rn({},ci(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return kr("div",rn({},ci(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return kr("div",rn({},ci(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return kr("div",rn({},ci(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return kr("div",rn({},ci(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},oa=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ra(e,t){return e===t||!(!oa(e)||!oa(t))}function ia(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ra(e[n],t[n]))return!1;return!0}for(var aa="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)."}},sa=function(e){return kr("span",rn({css:aa},e))},la={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,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ca=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,b=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,h=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,x=l.isLoading,C=l["aria-label"],w=l["aria-live"],A=t.useMemo(function(){return On(On({},la),d||{})},[d]),G=t.useMemo(function(){var e,t="";if(n&&A.onChange){var o=n.option,r=n.options,i=n.removedValue,a=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,f=d?d.map(p):[],b=On({isDisabled:c&&m(c,s),label:u,labels:f},n);t=A.onChange(b)}return t},[n,A,m,s,p]),N=t.useMemo(function(){var e="",t=o||r,n=!!(o&&s&&s.includes(o));if(t&&A.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:s,isAppleDevice:u};e=A.onFocus(a)}return e},[o,r,p,m,A,i,s,u]),O=t.useMemo(function(){var e="";if(h&&v.length&&!x&&A.onFilter){var t=y({count:i.length});e=A.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,h,A,v,y,x]),S="initial-input-focus"===(null==n?void 0:n.action),R=t.useMemo(function(){var e="";if(A.guidance){var t=r?"value":h?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:o&&m(o,s),isMulti:b,isSearchable:g,tabSelectsValue:I,isInitialFocus:S})}return e},[C,o,r,b,m,g,h,A,s,I,S]),k=kr(t.Fragment,null,kr("span",{id:"aria-selection"},G),kr("span",{id:"aria-focused"},N),kr("span",{id:"aria-results"},O),kr("span",{id:"aria-guidance"},R));return kr(t.Fragment,null,kr(sa,{id:c},S&&k),kr(sa,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!S&&k))},ua=[{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źẑżžẓẕƶȥɀⱬꝣ"}],da=new RegExp("["+ua.map(function(e){return e.letters}).join("")+"]","g"),pa={},fa=0;fa<ua.length;fa++)for(var ba=ua[fa],ma=0;ma<ba.letters.length;ma++)pa[ba.letters[ma]]=ba.base;var ga=function(e){return e.replace(da,function(e){return pa[e]})},ha=function(e,t){void 0===t&&(t=ia);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}(ga),va=function(e){return e.replace(/^\s+|\s+$/g,"")},ya=function(e){return"".concat(e.label," ").concat(e.value)},Ia=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=On({ignoreCase:!0,ignoreAccents:!0,stringify:ya,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,a=o.stringify,s=o.trim,l=o.matchFrom,c=s?va(n):n,u=s?va(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=ha(c),u=ga(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},xa=["innerRef"];function Ca(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=kn(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=kn(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(Bn(e,xa),"onExited","in","enter","exit","appear");return kr("input",rn({ref:t},n,{css:Br({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEd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4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var wa=["boxSizing","height","overflow","paddingRight","position"],Aa={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ga(e){e.cancelable&&e.preventDefault()}function Na(e){e.stopPropagation()}function Oa(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Sa(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ra=!("undefined"==typeof window||!window.document||!window.document.createElement),ka=0,Ba={capture:!1,passive:!1};var Va=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ea="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=ut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B9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Xa(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,a=e.onTopLeave,s=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,b=t>0,m=d-p-c,g=!1;m>t&&s.current&&(r&&r(e),s.current=!1),b&&l.current&&(a&&a(e),l.current=!1),b&&t>m?(o&&!s.current&&o(e),f.scrollTop=d,g=!0,s.current=!0):!b&&-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,a]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),b=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=!!yi&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",b,t)}},[b,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",b,!1))},[b,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}),a=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),a=t.useRef(null),s=t.useCallback(function(e){if(Ra){var t=document.body,n=t&&t.style;if(r&&wa.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&ka<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(Aa).forEach(function(e){var t=Aa[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Sa()&&(t.addEventListener("touchmove",Ga,Ba),e&&(e.addEventListener("touchstart",Oa,Ba),e.addEventListener("touchmove",Na,Ba))),ka+=1}},[r]),l=t.useCallback(function(e){if(Ra){var t=document.body,n=t&&t.style;ka=Math.max(ka-1,0),r&&ka<1&&wa.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Sa()&&(t.removeEventListener("touchmove",Ga,Ba),e&&(e.removeEventListener("touchstart",Oa,Ba),e.removeEventListener("touchmove",Na,Ba)))}},[r]);return t.useEffect(function(){if(n){var e=a.current;return s(e),function(){l(e)}}},[n,s,l]),function(e){a.current=e}}({isEnabled:o});return kr(t.Fragment,null,o&&kr("div",{onClick:Va,css:Ea}),n(function(e){i(e),a(e)}))}var Wa="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)."}},Ma=function(e){var t=e.name,n=e.onFocus;return kr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Wa,value:"",onChange:function(){}})};function Ta(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 Pa(){return Ta(/^Mac/i)}function ja(){return Ta(/^iPhone/i)||Ta(/^iPad/i)||Pa()&&navigator.maxTouchPoints>1}var Za={clearIndicator:zi,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,a=r.borderRadius;return On({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:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:Fi,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 On({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 On({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,a=r.colors;return On(On({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},$i),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,a=r.spacing.baseUnit;return On({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*a})},loadingMessage:Vi,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return On((Gn(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Gn(n,"position","absolute"),Gn(n,"width","100%"),Gn(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return On({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 On({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 On({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,a=e.isFocused;return On({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:a?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,a=i.spacing,s=i.colors;return On({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:r?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return On({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 On({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 On({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")})}},Ha={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}},Fa={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:mi(),captureMenuScroll:!mi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ia(),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 za(e,t,n,o){return{type:"option",data:t,isDisabled:$a(e,t,n),isSelected:Ka(e,t,n),label:Qa(e,t),value:_a(e,t),index:o}}function La(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return za(e,n,t,o)}).filter(function(t){return Da(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=za(e,n,t,o);return Da(e,i)?i:void 0}).filter(Ii)}function Ja(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Tn(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ya(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Tn(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 Da(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,s=t.value;return(!es(e)||!i)&&qa(e,{label:a,value:s,data:r},o)}var Ua=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Qa=function(e,t){return e.getOptionLabel(t)},_a=function(e,t){return e.getOptionValue(t)};function $a(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ka(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=_a(e,t);return n.some(function(t){return _a(e,t)===o})}function qa(e,t,n){return!e.filterOption||e.filterOption(t,n)}var es=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ts=1,ns=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&&sn(e,t)}(n,t.Component);var e=function(e){var t=Wn();return function(){var n,o=Xn(e);if(t){var r=Xn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Mn(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,a=r.isMulti,s=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),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,a=o.state.selectValue,s=r&&o.isOptionSelected(e,a),l=o.isOptionDisabled(e,a);if(s){var c=o.getOptionValue(e);o.setValue(a.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(Tn(a),[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}),a=xi(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(xi(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=xi(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return Ua(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return Ya(La(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 ai.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Qa(o.props,e)},o.getOptionValue=function(e){return _a(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Za[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,On(On({},na),e.components);var e},o.buildCategorizedOptions=function(){return La(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Ja(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:On({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&&ui(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 es(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,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,b=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||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!b||p&&o.isOptionSelected(b,g))return;o.selectOption(b);break;case"Enter":if(229===e.keyCode)break;if(c){if(!b)return;if(o.isComposing)return;o.selectOption(b);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(a)return;if(!c){o.openMenu("first");break}if(!b)return;o.selectOption(b);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||++ts),o.state.selectValue=si(t.value),t.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),a=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[a],o.state.focusedOptionId=Ua(r,i[a])}return o}return function(e,t,n){t&&En(e.prototype,t),n&&En(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),(Pa()||ja())&&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(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,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(Ha):On(On({},Ha),this.props.theme):Ha}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return $a(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ka(this.props,e,t)}},{key:"filterOption",value:function(e,t){return qa(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,b=this.commonProps,m=o||this.getElementId("input"),g=On(On(On({"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,rn({},b,{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(Ca,rn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ri,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,b=u.inputValue,m=u.placeholder,g=this.state,h=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return b?null:s.createElement(l,rn({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return h.map(function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return s.createElement(n,rn({},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(b)return null;var I=h[0];return s.createElement(a,rn({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,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,rn({},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,rn({},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,rn({},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,rn({},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,b=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,h=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,I=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,w=f.menuPortalTarget,A=f.menuShouldBlockScroll,G=f.menuShouldScrollIntoView,N=f.noOptionsMessage,O=f.onMenuScrollToTop,S=f.onMenuScrollToBottom;if(!I)return null;var R,k=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,b=i?void 0:function(){return e.onOptionHover(r)},m=i?void 0:function(){return e.selectOption(r)},g="".concat(e.getElementId("option"),"-").concat(n),h={id:g,onClick:m,onMouseMove:b,onMouseOver:b,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return s.createElement(u,rn({},d,{innerProps:h,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())R=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,rn({},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 k(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return k(t,"".concat(t.index))});else if(g){var B=h({inputValue:m});if(null===B)return null;R=s.createElement(l,d,B)}else{var V=N({inputValue:m});if(null===V)return null;R=s.createElement(c,d,V)}var E={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:G},X=s.createElement(Si,rn({},d,E),function(t){var n=t.ref,o=t.placerProps,a=o.placement,l=o.maxHeight;return s.createElement(r,rn({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),s.createElement(Xa,{captureEnabled:b,onTopArrive:O,onBottomArrive:S,lockEnabled:A},function(t){return s.createElement(i,rn({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),R)}))});return w||"fixed"===C?s.createElement(a,rn({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),X):X}},{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(Ma,{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(ca,rn({},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,rn({},p,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),s.createElement(t,rn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),s.createElement(r,rn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),s.createElement(n,rn({},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,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,b=si(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Ja(La(e,t))}(e,b):[],h=d?Ya(La(e,b),"".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,b):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:b,focusedOption:y,focusedOptionId:Ua(h,y),focusableOptionsWithIds:h,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&s;return a&&!C&&(x={value:xi(f,b,b[0]||null),options:b,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),On(On(On({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),n}();ns.defaultProps=Fa;var os=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,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,b=e.value,m=Bn(e,Vn),g=kn(t.useState(void 0!==l?l:o),2),h=g[0],v=g[1],y=kn(t.useState(void 0!==c?c:i),2),I=y[0],x=y[1],C=kn(t.useState(void 0!==b?b:s),2),w=C[0],A=C[1],G=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),O=t.useCallback(function(){"function"==typeof f&&f(),x(!0)},[f]),S=t.useCallback(function(){"function"==typeof p&&p(),x(!1)},[p]),R=void 0!==l?l:h,k=void 0!==c?c:I,B=void 0!==b?b:w;return On(On({},m),{},{inputValue:R,menuIsOpen:k,onChange:G,onInputChange:N,onMenuClose:S,onMenuOpen:O,value:B})}(e);return s.createElement(ns,rn({ref:n},o))}),rs=os;const is=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:b,label:m,labelClassName:g,size:h="md",variant:v="default","data-cy":y,"data-testid":I,...x})=>{const C=t.useMemo(()=>Ia(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>xe("sm"===h?"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})=>a?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>xe(a?"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",a?"text-body1 text-text":"",a&&(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"}),[a,r,f,n,d,h]);return"unstyled"===v?e.jsx(rs,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:C,className:xe("rounded-xl",o),classNames:w,"data-cy":y,"data-testid":I,...x}):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(rs,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:C,className:xe("rounded-xl",o),classNames:w,"data-cy":y,"data-testid":I,...x}),p&&e.jsx(Ne,{className:"footnote mt-1 text-text-critical",children:p}),!p&&b&&e.jsx(Ne,{className:"footnote mt-1 text-text-info",children:b})]})});is.displayName="Select";const as=({errorMessage:t,className:n,iconClassName:o,iconSize:r=52,iconName:i="dangerous",textVariant:a})=>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(Ge,{name:i,size:r,className:xe("text-icon-critical",o)})}),e.jsx(Ne,{className:xe("body2 text-text",a),children:t})]}):null;as.displayName="AlertCard";const ss=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()},ls=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:a,buttonClassName:s,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",a?"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,s)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const b=`${f} ${p}`,m=e.jsxs(e.Fragment,{children:[n?e.jsx(Ge,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:xe(ss(l)),children:r}),o]}):o]});return"a"===c?e.jsx("a",{ref:d,className:xe(b),...u,children:m}):e.jsx("button",{ref:d,className:xe(b),disabled:i||n,...u,children:m})});ls.displayName="BrandButton";const cs=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})};cs.displayName="Divider";const us=t=>{const{name:n,value:o,label:r,subText:i,checked:a,onChange:s,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:f="",disabled:b,...m}=t,g=()=>null==s?void 0:s(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:a,readOnly:!0,disabled:b,...m}),e.jsx(Be,{type:"button",onClick:g,disabled:b,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",a&&"border-[1px] border-solid border-border-brand",b&&"opacity-50"),children:a&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(Be,{type:"button",onClick:g,disabled:b,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})]})]})};us.displayName="RadioButton";const ds=n=>{const{list:o,text:r}=n,[i,a]=t.useState(!0);return e.jsxs("div",{className:"mt-3",children:[e.jsxs(Be,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),a(e=>!e)},children:[e.jsx("span",{children:r||"See details"}),e.jsx(Ge,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(In,{open:i,children:e.jsx("div",{className:"pt-1",children:e.jsx(Oe,{listItemClassName:"body3",items:o})})})]})};ds.displayName="SeeMore";const ps=({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))});ps.displayName="Skeleton";function fs({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})]})}fs.displayName="Tooltip";exports.Accordion=xn,exports.AlertCard=as,exports.BrandButton=ls,exports.Button=Be,exports.CallButton=je,exports.Checkbox=Cn,exports.Checklist=Oe,exports.Collapse=In,exports.Divider=cs,exports.Image=Xe,exports.Input=Ee,exports.InputField=Ve,exports.Link=ke,exports.List=Ae,exports.ListItem=we,exports.MaterialIcon=Ge,exports.Modal=yn,exports.NextImage=Te,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=us,exports.SeeMore=ds,exports.Select=is,exports.SelectPlanButton=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,iconSize:a=24,iconClassName:s,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"} `,b=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(Be,{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(Ge,{className:xe(s,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:a})]}),b]})},exports.Skeleton=ps,exports.Spinner=Pe,exports.Text=Ne,exports.TextInput=Ee,exports.Tooltip=fs,exports.ViewCartButton=t=>{const{cartTotalText:n,onClick:o,isOpen:r,...i}=t;return e.jsx(Be,{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(Ne,{className:"label4 -mb-1 text-text",children:"View cart"}),e.jsx(Ne,{className:"label3 text-text md:label1","data-testid":"cart-total",children:n})]}),e.jsx(Ge,{name:"keyboard_arrow_up",size:24,fill:0,className:xe("h-6 w-6 transition-transform",r?"rotate-180":"rotate-0")})]})})},exports.clsx=c,exports.cx=xe,exports.useBodyScrollLock=Ze,exports.useCarouselSwipe=function(e){const{itemCount:n,cardOffsetPercentage:o=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:a=8e3,enableAutoScroll:s=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[b,m]=t.useState(window.innerWidth),[g,h]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),I=t.useRef(null),x={CARD_OFFSET_PERCENTAGE:o,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:a};t.useEffect(()=>{const e=()=>{var e;m((null===(e=I.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]),w=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),A=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),G=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]),O=t.useCallback(()=>{f(!1);const e=b*r;u>e?w():u<-e&&C(),d(0),s&&a>0&&(v.current=setInterval(()=>{C()},a))},[u,b,r,w,C,s,a]);return t.useEffect(()=>{const e=()=>{h(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(s&&0!==n&&0!==a)return v.current=setInterval(()=>{C()},a),()=>{v.current&&clearInterval(v.current)}},[C,n,s,a]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:b,containerRef:I,nextSlide:C,prevSlide:w,goToSlide:A,handleTouchStart:G,handleTouchMove:N,handleTouchEnd:O,constants:x}};
|
|
39
37
|
//# sourceMappingURL=index.js.map
|