@lifesg/react-design-system 1.0.0-alpha.3 → 1.0.0-alpha.5
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/accordion/index.css +1 -0
- package/accordion/index.js +70 -73
- package/accordion/index.js.map +1 -1
- package/alert/index.css +1 -0
- package/alert/index.js +48 -51
- package/alert/index.js.map +1 -1
- package/animations/index.css +1 -0
- package/box-container/index.css +1 -0
- package/box-container/index.js +58 -61
- package/box-container/index.js.map +1 -1
- package/breadcrumb/index.css +1 -0
- package/breadcrumb/index.js +52 -55
- package/breadcrumb/index.js.map +1 -1
- package/button/index.css +1 -0
- package/button/index.js +48 -51
- package/button/index.js.map +1 -1
- package/checkbox/index.css +1 -0
- package/checkbox/index.js +5 -8
- package/checkbox/index.js.map +1 -1
- package/cjs/index.css +1 -0
- package/cjs/index.js +676 -82
- package/cjs/index.js.map +1 -1
- package/color/index.css +1 -0
- package/color/index.js.map +1 -1
- package/date-input/index.css +1 -0
- package/date-input/index.js +53 -68
- package/date-input/index.js.map +1 -1
- package/footer/footer-download-app.d.ts +2 -0
- package/footer/footer-download-app.style.d.ts +6 -0
- package/footer/footer-helper.d.ts +12 -0
- package/footer/footer.d.ts +3 -0
- package/footer/footer.style.d.ts +12 -0
- package/footer/index.css +1 -0
- package/footer/index.d.ts +2 -0
- package/footer/index.js +361 -0
- package/footer/index.js.map +1 -0
- package/footer/package.json +7 -0
- package/footer/types.d.ts +31 -0
- package/form/form-label.d.ts +1 -1
- package/form/form-label.style.d.ts +1 -0
- package/form/index.css +1 -0
- package/form/index.d.ts +1 -1
- package/form/index.js +194 -191
- package/form/index.js.map +1 -1
- package/form/types.d.ts +2 -0
- package/icon/cross-icon.d.ts +3 -0
- package/icon/index.css +1 -0
- package/icon/index.js +3 -6
- package/icon/index.js.map +1 -1
- package/icon/play-icon.d.ts +3 -0
- package/icon-button/index.css +1 -0
- package/icon-button/index.js +7 -10
- package/icon-button/index.js.map +1 -1
- package/index.css +1 -0
- package/index.d.ts +5 -0
- package/index.js +677 -83
- package/index.js.map +1 -1
- package/input/index.css +1 -0
- package/input/index.js +15 -3
- package/input/index.js.map +1 -1
- package/input/input.style.d.ts +2 -0
- package/input-group/index.css +1 -0
- package/input-group/index.js +128 -119
- package/input-group/index.js.map +1 -1
- package/input-group/input-group.style.d.ts +1 -0
- package/input-select/index.css +1 -0
- package/input-select/index.js +98 -104
- package/input-select/index.js.map +1 -1
- package/input-textarea/index.css +1 -0
- package/input-textarea/index.js +118 -111
- package/input-textarea/index.js.map +1 -1
- package/input-textarea/textarea-counter.d.ts +2 -1
- package/input-textarea/types.d.ts +1 -0
- package/layout/container.d.ts +3 -0
- package/layout/content.d.ts +3 -0
- package/layout/index.css +1 -0
- package/layout/index.d.ts +7 -0
- package/layout/index.js +51 -0
- package/layout/index.js.map +1 -0
- package/layout/package.json +7 -0
- package/layout/section.d.ts +3 -0
- package/layout/types.d.ts +15 -0
- package/link-list/index.css +1 -0
- package/link-list/index.js +55 -58
- package/link-list/index.js.map +1 -1
- package/masonry/index.css +1 -0
- package/masonry/index.js.map +1 -1
- package/masthead/index.css +1 -0
- package/masthead/index.d.ts +1 -0
- package/masthead/index.js +5 -0
- package/masthead/index.js.map +1 -0
- package/masthead/masthead.d.ts +3 -0
- package/masthead/package.json +7 -0
- package/media/index.css +1 -0
- package/media/index.js +1 -1
- package/media/index.js.map +1 -1
- package/media/media.d.ts +2 -1
- package/modal/index.css +1 -0
- package/modal/index.js +12 -15
- package/modal/index.js.map +1 -1
- package/navbar/brand.d.ts +10 -0
- package/navbar/brand.styles.d.ts +5 -0
- package/navbar/drawer.d.ts +3 -0
- package/navbar/drawer.styles.d.ts +12 -0
- package/navbar/index.css +1 -0
- package/navbar/index.d.ts +6 -0
- package/navbar/index.js +659 -0
- package/navbar/index.js.map +1 -0
- package/navbar/navbar-action-buttons.d.ts +10 -0
- package/navbar/navbar-action-buttons.styles.d.ts +9 -0
- package/navbar/navbar-items.d.ts +11 -0
- package/navbar/navbar-items.styles.d.ts +10 -0
- package/navbar/navbar.d.ts +3 -0
- package/navbar/navbar.styles.d.ts +14 -0
- package/navbar/package.json +7 -0
- package/navbar/types.d.ts +56 -0
- package/notification-banner/index.css +1 -0
- package/notification-banner/index.d.ts +3 -0
- package/notification-banner/index.js +262 -0
- package/notification-banner/index.js.map +1 -0
- package/notification-banner/notification-banner-hoc.d.ts +3 -0
- package/notification-banner/notification-banner-label.d.ts +3 -0
- package/notification-banner/notification-banner.d.ts +6 -0
- package/notification-banner/notification-banner.styles.d.ts +12 -0
- package/notification-banner/package.json +7 -0
- package/notification-banner/types.d.ts +22 -0
- package/overlay/index.css +1 -0
- package/package.json +1 -1
- package/popover/index.css +1 -0
- package/popover/index.js +55 -58
- package/popover/index.js.map +1 -1
- package/radio-button/index.css +1 -0
- package/radio-button/index.js.map +1 -1
- package/text/index.css +1 -0
- package/text/index.js +25 -28
- package/text/index.js.map +1 -1
- package/text-list/index.css +1 -0
- package/text-list/index.js.map +1 -1
- package/theme/index.css +1 -0
- package/theme/index.js.map +1 -1
- package/theme/types.d.ts +2 -2
- package/timeline/index.css +1 -0
- package/timeline/index.js +52 -55
- package/timeline/index.js.map +1 -1
- package/timepicker/index.css +1 -0
- package/timepicker/index.js +88 -91
- package/timepicker/index.js.map +1 -1
- package/toggle-button/index.css +1 -0
- package/toggle-button/index.js +110 -113
- package/toggle-button/index.js.map +1 -1
- package/tooltip/index.css +1 -0
- package/tooltip/index.js +51 -54
- package/tooltip/index.js.map +1 -1
- package/transition/index.css +1 -0
- package/icon/play-alt-icon.d.ts +0 -3
package/input-group/index.js
CHANGED
|
@@ -1,35 +1,32 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from"react";import i,{useEffect as o,useState as a,useRef as s,forwardRef as l,useCallback as c,useContext as u,useMemo as d}from"react";import h,{css as p,keyframes as f}from"styled-components";import{unstable_batchedUpdates as g}from"react-dom";var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=Array.isArray,v="object"==typeof m&&m&&m.Object===Object&&m,b=v,w="object"==typeof self&&self&&self.Object===Object&&self,_=b||w||Function("return this")(),$=_.Symbol,x=$,S=Object.prototype,k=S.hasOwnProperty,F=S.toString,O=x?x.toStringTag:void 0;var j=function(e){var t=k.call(e,O),r=e[O];try{e[O]=void 0;var n=!0}catch(e){}var i=F.call(e);return n&&(t?e[O]=r:delete e[O]),i},B=Object.prototype.toString;var z=j,
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from"react";import i,{useEffect as o,useState as a,useRef as s,forwardRef as l,useCallback as c,useContext as u,useMemo as d}from"react";import h,{css as p,keyframes as f}from"styled-components";import{unstable_batchedUpdates as g}from"react-dom";var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=Array.isArray,v="object"==typeof m&&m&&m.Object===Object&&m,b=v,w="object"==typeof self&&self&&self.Object===Object&&self,_=b||w||Function("return this")(),$=_.Symbol,x=$,S=Object.prototype,k=S.hasOwnProperty,F=S.toString,O=x?x.toStringTag:void 0;var j=function(e){var t=k.call(e,O),r=e[O];try{e[O]=void 0;var n=!0}catch(e){}var i=F.call(e);return n&&(t?e[O]=r:delete e[O]),i},B=Object.prototype.toString;var z=j,C=function(e){return B.call(e)},A=$?$.toStringTag:void 0;var P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":A&&A in Object(e)?z(e):C(e)};var N=function(e){return null!=e&&"object"==typeof e},D=P,E=N;var I=function(e){return"symbol"==typeof e||E(e)&&"[object Symbol]"==D(e)},H=y,M=I,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,R=/^\w*$/;var L=function(e,t){if(H(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!M(e))||(R.test(e)||!V.test(e)||null!=t&&e in Object(t))};var T=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},W=P,q=T;var U,Q=function(e){if(!q(e))return!1;var t=W(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=_["__core-js_shared__"],X=(U=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"";var Z=function(e){return!!X&&X in e},K=Function.prototype.toString;var Y=function(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""},J=Q,ee=Z,te=T,re=Y,ne=/^\[object .+?Constructor\]$/,ie=Function.prototype,oe=Object.prototype,ae=ie.toString,se=oe.hasOwnProperty,le=RegExp("^"+ae.call(se).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ce=function(e){return!(!te(e)||ee(e))&&(J(e)?le:ne).test(re(e))},ue=function(e,t){return null==e?void 0:e[t]};var de=function(e,t){var r=ue(e,t);return ce(r)?r:void 0},he=de(Object,"create"),pe=he;var fe=function(){this.__data__=pe?pe(null):{},this.size=0};var ge=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},me=he,ye=Object.prototype.hasOwnProperty;var ve=function(e){var t=this.__data__;if(me){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ye.call(t,e)?t[e]:void 0},be=he,we=Object.prototype.hasOwnProperty;var _e=he;var $e=fe,xe=ge,Se=ve,ke=function(e){var t=this.__data__;return be?void 0!==t[e]:we.call(t,e)},Fe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=_e&&void 0===t?"__lodash_hash_undefined__":t,this};function Oe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=$e,Oe.prototype.delete=xe,Oe.prototype.get=Se,Oe.prototype.has=ke,Oe.prototype.set=Fe;var je=Oe;var Be=function(){this.__data__=[],this.size=0};var ze=function(e,t){return e===t||e!=e&&t!=t},Ce=ze;var Ae=function(e,t){for(var r=e.length;r--;)if(Ce(e[r][0],t))return r;return-1},Pe=Ae,Ne=Array.prototype.splice;var De=Ae;var Ee=Ae;var Ie=Ae;var He=Be,Me=function(e){var t=this.__data__,r=Pe(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ne.call(t,r,1),--this.size,!0)},Ve=function(e){var t=this.__data__,r=De(t,e);return r<0?void 0:t[r][1]},Re=function(e){return Ee(this.__data__,e)>-1},Le=function(e,t){var r=this.__data__,n=Ie(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Te(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Te.prototype.clear=He,Te.prototype.delete=Me,Te.prototype.get=Ve,Te.prototype.has=Re,Te.prototype.set=Le;var We=Te,qe=de(_,"Map"),Ue=je,Qe=We,Ge=qe;var Xe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ze=function(e,t){var r=e.__data__;return Xe(t)?r["string"==typeof t?"string":"hash"]:r.map},Ke=Ze;var Ye=Ze;var Je=Ze;var et=Ze;var tt=function(){this.size=0,this.__data__={hash:new Ue,map:new(Ge||Qe),string:new Ue}},rt=function(e){var t=Ke(this,e).delete(e);return this.size-=t?1:0,t},nt=function(e){return Ye(this,e).get(e)},it=function(e){return Je(this,e).has(e)},ot=function(e,t){var r=et(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function at(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}at.prototype.clear=tt,at.prototype.delete=rt,at.prototype.get=nt,at.prototype.has=it,at.prototype.set=ot;var st=at,lt=st;function ct(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(ct.Cache||lt),r}ct.Cache=lt;var ut=ct;var dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ht=/\\(\\)?/g,pt=function(e){var t=ut(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(dt,(function(e,r,n,i){t.push(n?i.replace(ht,"$1"):r||e)})),t}));var ft=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i},gt=y,mt=I,yt=$?$.prototype:void 0,vt=yt?yt.toString:void 0;var bt=function e(t){if("string"==typeof t)return t;if(gt(t))return ft(t,e)+"";if(mt(t))return vt?vt.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},wt=bt;var _t=y,$t=L,xt=pt,St=function(e){return null==e?"":wt(e)};var kt=function(e,t){return _t(e)?e:$t(e,t)?[e]:xt(St(e))},Ft=I;var Ot=function(e){if("string"==typeof e||Ft(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},jt=kt,Bt=Ot;var zt=function(e,t){for(var r=0,n=(t=jt(t,e)).length;null!=e&&r<n;)e=e[Bt(t[r++])];return r&&r==n?e:void 0},Ct=zt;var At=function(e,t,r){var n=null==e?void 0:Ct(e,t);return void 0===n?r:n};const Pt=(e,t,r)=>t?At(r,t)||At(e,t):r||e,Nt=(e,t)=>{const r=t||e.defaultValue;return At(e.collections,r)};var Dt;!function(e){e.colorScheme="colorScheme",e.layout="layout",e.textStyleScheme="textStyleScheme"}(Dt||(Dt={}));const Et={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}}},defaultValue:"base"},It=e=>t=>{const r=t.theme,n=Nt(Et,r[Dt.colorScheme]);return r.options&&r.options.color?Pt(n,e,r.options.color):Pt(n,e)},Ht={Brand:{1:It("Brand.1"),2:It("Brand.2"),3:It("Brand.3"),4:It("Brand.4"),5:It("Brand.5"),6:It("Brand.6")},Primary:It("Primary"),PrimaryDark:It("PrimaryDark"),Secondary:It("Secondary"),Accent:{Light:{1:It("Accent.Light.1"),2:It("Accent.Light.2"),3:It("Accent.Light.3"),4:It("Accent.Light.4"),5:It("Accent.Light.5"),6:It("Accent.Light.6")},Dark:{1:It("Accent.Dark.1"),2:It("Accent.Dark.2"),3:It("Accent.Dark.3")}},Neutral:{1:It("Neutral.1"),2:It("Neutral.2"),3:It("Neutral.3"),4:It("Neutral.4"),5:It("Neutral.5"),6:It("Neutral.6"),7:It("Neutral.7"),8:It("Neutral.8")},Validation:{Green:{Text:It("Validation.Green.Text"),Icon:It("Validation.Green.Icon"),Border:It("Validation.Green.Border"),Background:It("Validation.Green.Background")},Orange:{Text:It("Validation.Orange.Text"),Icon:It("Validation.Orange.Icon"),Border:It("Validation.Orange.Border"),Background:It("Validation.Orange.Background"),Badge:It("Validation.Orange.Badge")},Red:{Text:It("Validation.Red.Text"),Icon:It("Validation.Red.Icon"),Border:It("Validation.Red.Border"),Background:It("Validation.Red.Background")}}},Mt=h.svg`
|
|
2
2
|
height: 1rem;
|
|
3
3
|
width: 1rem;
|
|
4
4
|
vertical-align: text-top;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
fill: ${Ht.Neutral[8]};
|
|
8
|
-
}
|
|
9
|
-
`,Vt=t=>e(Mt,{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 16 16",...t,children:e("g",{fill:"none",fillRule:"evenodd",children:e("g",{id:"path",fillRule:"nonzero",children:e("g",{children:e("g",{children:e("g",{children:e("path",{d:"M8.706 14.603l6.075-6.075c.294-.29.294-.765 0-1.06L8.706 1.398c-.29-.294-.765-.294-1.06 0l-.693.694c-.3.297-.294.78.013 1.072L10.73 6.75H1.75c-.416 0-.75.334-.75.75v1c0 .416.334.75.75.75h8.981l-3.765 3.587c-.304.291-.31.775-.013 1.072l.694.694c.29.294.765.294 1.06 0z",transform:"translate(-2384.000000, -760.000000) translate(2253.000000, 692.000000) translate(16.000000, 64.000000) translate(115.000000, 4.000000) translate(0.000000, 0.000000)"})})})})})})}),Rt=t=>e(Mt,{width:"1rem",height:"1rem",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",...t,children:e("path",{id:"path",d:"M20\n\t\t8.639c-.934\n\t\t0-1.742.342-2.43 1.03-.684.684-1.03 1.495-1.03 2.429 0 .931.346 1.742 1.03 2.426.688.688 1.496 1.03 2.43 1.03.931 0 1.742-.342 2.43-1.03.684-.684 1.026-1.495 1.026-2.426 0-.934-.342-1.745-1.026-2.43-.688-.687-1.499-1.03-2.43-1.03m4.61 20.91v-1.976a.959.959 0 0 0-.287-.7.959.959 0 0 0-.7-.286h-.99v-8.232a.954.954 0 0 0-.287-.7.945.945 0 0 0-.7-.29h-5.269a.95.95 0 0 0-.7.29.954.954 0 0 0-.286.7v1.976c0 .271.095.506.286.7a.959.959 0 0 0 .7.287h.99v5.269h-.99a.959.959 0 0 0-.7.286.959.959 0 0 0-.286.7v1.977c0 .274.095.505.286.7a.959.959 0 0 0 .7.286h7.246a.959.959 0 0 0 .7-.287.959.959 0 0 0 .286-.7M20 2.5c3.15 0 6.068.788 8.75 2.365a17.67 17.67 0 0 1 6.385 6.386C36.71 13.933 37.5 16.848 37.5 20c0 3.15-.79 6.068-2.365 8.751a17.71 17.71 0 0 1-6.385 6.385C26.068 36.712 23.15 37.5 20 37.5c-3.153 0-6.068-.788-8.75-2.363a17.71 17.71 0 0 1-6.385-6.385c-1.575-2.683-2.365-5.6-2.365-8.75 0-3.154.79-6.069 2.365-8.751a17.67 17.67 0 0 1 6.385-6.386C13.932 3.288 16.847 2.5 20 2.5",fillRule:"nonzero"})}),Tt=t=>e(Mt,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 64 64",id:"play-icon",...t,children:e("path",{id:"path",d:"M52.762 37.237 20.474 53.38A5.856 5.856 0 0 1 12 48.143V15.856a5.856 5.856 0 0 1 8.474-5.238l32.288 16.144a5.856 5.856 0 0 1 0 10.475z",fillRule:"nonzero"})}),Lt=t=>e(Mt,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 32 32",fill:"none",...t,children:e("g",{id:"search",children:e("path",{id:"path",fillRule:"evenodd",clipRule:"evenodd",d:"M7.60986 7.60986C5.86994 9.34977 5 11.445 5 13.8956C5 16.3462 5.86994 18.4414 7.60986 20.1813C9.34977 21.9212 11.445 22.7911 13.8956 22.7911C15.6355 22.7911 17.2345 22.3133 18.6926 21.3576L24.2063 26.8713C24.3044 26.9571 24.4146 27 24.5372 27C24.6597 27 24.77 26.9571 24.868 26.8713L26.8713 24.868C26.9571 24.77 27 24.6597 27 24.5372C27 24.4146 26.9571 24.3044 26.8713 24.2063L21.3576 18.6926C22.3133 17.2345 22.7911 15.6355 22.7911 13.8956C22.7911 11.445 21.9212 9.34977 20.1813 7.60986C18.4414 5.86994 16.3462 5 13.8956 5C11.445 5 9.34977 5.86994 7.60986 7.60986ZM9.59484 18.178C8.4063 16.9894 7.81205 15.562 7.81205 13.8956C7.81205 12.2292 8.4063 10.8017 9.59484 9.61321C10.7834 8.42468 12.2169 7.83042 13.8956 7.83042C15.5742 7.83042 17.0047 8.42162 18.1872 9.60403C19.3696 10.7864 19.9608 12.2169 19.9608 13.8956C19.9608 15.5742 19.3696 17.0047 18.1872 18.1872C17.0047 19.3696 15.5742 19.9608 13.8956 19.9608C12.2169 19.9608 10.7834 19.3665 9.59484 18.178Z"})})}),Wt=({type:t,...r})=>{switch(t){case"arrow-right":return e(Vt,{...r});case"info":return e(Rt,{...r});case"search":return e(Lt,{...r});case"play-alt":return e(Tt,{...r});default:{const n=`sgds-icon sgds-icon-${t}`,i=r.className?`${n} ${r.className}`:n;return e(qt,{...r,className:i})}}},qt=h.span`
|
|
5
|
+
color: ${Ht.Primary};
|
|
6
|
+
`,Vt=t=>e(Mt,{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 16 16",...t,children:e("path",{fill:"currentColor",d:"M8.706 14.603l6.075-6.075c.294-.29.294-.765 0-1.06L8.706 1.398c-.29-.294-.765-.294-1.06 0l-.693.694c-.3.297-.294.78.013 1.072L10.73 6.75H1.75c-.416 0-.75.334-.75.75v1c0 .416.334.75.75.75h8.981l-3.765 3.587c-.304.291-.31.775-.013 1.072l.694.694c.29.294.765.294 1.06 0z",transform:"translate(-2384.000000, -760.000000) translate(2253.000000, 692.000000) translate(16.000000, 64.000000) translate(115.000000, 4.000000) translate(0.000000, 0.000000)"})}),Rt=t=>e(Mt,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e("path",{fill:"currentColor",d:"M23.8785 5.13337C24.0563 4.95554 24.3408 4.95554 24.5186 5.13337L26.8666 7.48184C27.0444 7.65572 27.0444 7.9442 26.8666 8.11808L19.3082 15.6819C19.1304 15.8558 19.1304 16.1442 19.3082 16.3221L26.8666 23.8819C27.0444 24.0558 27.0444 24.3443 26.8666 24.5182L24.5186 26.8666C24.3408 27.0445 24.0563 27.0445 23.8785 26.8666L16.32 19.3068C16.1422 19.129 15.8578 19.129 15.68 19.3068L8.12148 26.8666C7.94368 27.0445 7.65919 27.0445 7.48139 26.8666L5.13335 24.5182C4.95555 24.3443 4.95555 24.0558 5.13335 23.8819L12.6918 16.3221C12.8696 16.1442 12.8696 15.8558 12.6918 15.6819L5.13335 8.11808C4.95555 7.9442 4.95555 7.65572 5.13335 7.48184L7.48139 5.13337C7.65919 4.95554 7.94368 4.95554 8.12148 5.13337L15.68 12.6932C15.8578 12.871 16.1422 12.871 16.32 12.6932L23.8785 5.13337Z"})}),Lt=t=>e(Mt,{width:"1rem",height:"1rem",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",...t,children:e("path",{fill:"currentColor",id:"path",d:"M20\n\t\t8.639c-.934\n\t\t0-1.742.342-2.43 1.03-.684.684-1.03 1.495-1.03 2.429 0 .931.346 1.742 1.03 2.426.688.688 1.496 1.03 2.43 1.03.931 0 1.742-.342 2.43-1.03.684-.684 1.026-1.495 1.026-2.426 0-.934-.342-1.745-1.026-2.43-.688-.687-1.499-1.03-2.43-1.03m4.61 20.91v-1.976a.959.959 0 0 0-.287-.7.959.959 0 0 0-.7-.286h-.99v-8.232a.954.954 0 0 0-.287-.7.945.945 0 0 0-.7-.29h-5.269a.95.95 0 0 0-.7.29.954.954 0 0 0-.286.7v1.976c0 .271.095.506.286.7a.959.959 0 0 0 .7.287h.99v5.269h-.99a.959.959 0 0 0-.7.286.959.959 0 0 0-.286.7v1.977c0 .274.095.505.286.7a.959.959 0 0 0 .7.286h7.246a.959.959 0 0 0 .7-.287.959.959 0 0 0 .286-.7M20 2.5c3.15 0 6.068.788 8.75 2.365a17.67 17.67 0 0 1 6.385 6.386C36.71 13.933 37.5 16.848 37.5 20c0 3.15-.79 6.068-2.365 8.751a17.71 17.71 0 0 1-6.385 6.385C26.068 36.712 23.15 37.5 20 37.5c-3.153 0-6.068-.788-8.75-2.363a17.71 17.71 0 0 1-6.385-6.385c-1.575-2.683-2.365-5.6-2.365-8.75 0-3.154.79-6.069 2.365-8.751a17.67 17.67 0 0 1 6.385-6.386C13.932 3.288 16.847 2.5 20 2.5",fillRule:"nonzero"})}),Tt=t=>e(Mt,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 64 64",id:"play-icon",...t,children:e("path",{fill:"currentColor",fillRule:"nonzero",d:"M52.762 37.237 20.474 53.38A5.856 5.856 0 0 1 12 48.143V15.856a5.856 5.856 0 0 1 8.474-5.238l32.288 16.144a5.856 5.856 0 0 1 0 10.475z"})}),Wt=t=>e(Mt,{xmlns:"http://www.w3.org/2000/svg",width:"2rem",height:"2rem",viewBox:"0 0 32 32",...t,children:e("path",{id:"path",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M7.60986 7.60986C5.86994 9.34977 5 11.445 5 13.8956C5 16.3462 5.86994 18.4414 7.60986 20.1813C9.34977 21.9212 11.445 22.7911 13.8956 22.7911C15.6355 22.7911 17.2345 22.3133 18.6926 21.3576L24.2063 26.8713C24.3044 26.9571 24.4146 27 24.5372 27C24.6597 27 24.77 26.9571 24.868 26.8713L26.8713 24.868C26.9571 24.77 27 24.6597 27 24.5372C27 24.4146 26.9571 24.3044 26.8713 24.2063L21.3576 18.6926C22.3133 17.2345 22.7911 15.6355 22.7911 13.8956C22.7911 11.445 21.9212 9.34977 20.1813 7.60986C18.4414 5.86994 16.3462 5 13.8956 5C11.445 5 9.34977 5.86994 7.60986 7.60986ZM9.59484 18.178C8.4063 16.9894 7.81205 15.562 7.81205 13.8956C7.81205 12.2292 8.4063 10.8017 9.59484 9.61321C10.7834 8.42468 12.2169 7.83042 13.8956 7.83042C15.5742 7.83042 17.0047 8.42162 18.1872 9.60403C19.3696 10.7864 19.9608 12.2169 19.9608 13.8956C19.9608 15.5742 19.3696 17.0047 18.1872 18.1872C17.0047 19.3696 15.5742 19.9608 13.8956 19.9608C12.2169 19.9608 10.7834 19.3665 9.59484 18.178Z"})}),qt=({type:t,...r})=>{switch(t){case"arrow-right":return e(Vt,{...r});case"info":return e(Lt,{...r});case"cross":return e(Rt,{...r});case"play":return e(Tt,{...r});case"search":return e(Wt,{...r});default:{const n=`sgds-icon sgds-icon-${t}`,i=r.className?`${n} ${r.className}`:n;return e(Ut,{...r,className:i})}}},Ut=h.span`
|
|
10
7
|
font-size: 1rem;
|
|
11
|
-
`;var
|
|
12
|
-
font-family: ${
|
|
8
|
+
`;var Qt;!function(e){e.transformWithSpaces=(e,t)=>{const r="(.{"+t+"})";return e.replace(/[^\dA-Z]/gi,"").replace(new RegExp(r,"g"),"$1 ").trim()},e.padValue=(e,t)=>{if("0"===e)return t?e:e.padStart(2,"0");if(""===e)return e;return parseInt(e).toString().padStart(2,"0")},e.shouldTruncateToTwoLines=(e,t)=>{const r=Math.floor(t/9);return e.length>=2*r||1===e.split(" ").length&&e.length>r},e.truncateOneLine=(e,t,r,n)=>{let i=0;t>r&&(i=Math.floor((t-r)/8));const o=n+i;if(o<e.length){const t=Math.floor(o/2);return e.substring(0,t)+" ... "+e.substring(e.length-t,e.length)}return e}}(Qt||(Qt={}));const Gt={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},Xt={collections:{base:{D1:{fontFamily:Gt.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:Gt.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:Gt.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:Gt.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:Gt.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:Gt.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:Gt.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:Gt.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:Gt.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:Gt.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:Gt.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:Gt.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:Gt.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:Gt.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Zt=e=>t=>{const r=t.theme,n=Nt(Xt,r[Dt.textStyleScheme]);return r.options&&r.options.textStyle?Pt(n,e,r.options.textStyle):Pt(n,e)},Kt={D1:{fontFamily:Zt("D1.fontFamily"),fontSize:Zt("D1.fontSize"),fontWeight:Zt("D1.fontWeight"),lineHeight:Zt("D1.lineHeight"),letterSpacing:Zt("D1.letterSpacing")},D2:{fontFamily:Zt("D2.fontFamily"),fontSize:Zt("D2.fontSize"),fontWeight:Zt("D2.fontWeight"),lineHeight:Zt("D2.lineHeight"),letterSpacing:Zt("D2.letterSpacing")},D3:{fontFamily:Zt("D3.fontFamily"),fontSize:Zt("D3.fontSize"),fontWeight:Zt("D3.fontWeight"),lineHeight:Zt("D3.lineHeight"),letterSpacing:Zt("D3.letterSpacing")},D4:{fontFamily:Zt("D4.fontFamily"),fontSize:Zt("D4.fontSize"),fontWeight:Zt("D4.fontWeight"),lineHeight:Zt("D4.lineHeight"),letterSpacing:Zt("D4.letterSpacing")},DBody:{fontFamily:Zt("DBody.fontFamily"),fontSize:Zt("DBody.fontSize"),fontWeight:Zt("DBody.fontWeight"),lineHeight:Zt("DBody.lineHeight"),letterSpacing:Zt("DBody.letterSpacing")},H1:{fontFamily:Zt("H1.fontFamily"),fontSize:Zt("H1.fontSize"),fontWeight:Zt("H1.fontWeight"),lineHeight:Zt("H1.lineHeight"),letterSpacing:Zt("H1.letterSpacing")},H2:{fontFamily:Zt("H2.fontFamily"),fontSize:Zt("H2.fontSize"),fontWeight:Zt("H2.fontWeight"),lineHeight:Zt("H2.lineHeight"),letterSpacing:Zt("H2.letterSpacing")},H3:{fontFamily:Zt("H3.fontFamily"),fontSize:Zt("H3.fontSize"),fontWeight:Zt("H3.fontWeight"),lineHeight:Zt("H3.lineHeight"),letterSpacing:Zt("H3.letterSpacing")},H4:{fontFamily:Zt("H4.fontFamily"),fontSize:Zt("H4.fontSize"),fontWeight:Zt("H4.fontWeight"),lineHeight:Zt("H4.lineHeight"),letterSpacing:Zt("H4.letterSpacing")},H5:{fontFamily:Zt("H5.fontFamily"),fontSize:Zt("H5.fontSize"),fontWeight:Zt("H5.fontWeight"),lineHeight:Zt("H5.lineHeight"),letterSpacing:Zt("H5.letterSpacing")},H6:{fontFamily:Zt("H6.fontFamily"),fontSize:Zt("H6.fontSize"),fontWeight:Zt("H6.fontWeight"),lineHeight:Zt("H6.lineHeight"),letterSpacing:Zt("H6.letterSpacing")},Body:{fontFamily:Zt("Body.fontFamily"),fontSize:Zt("Body.fontSize"),fontWeight:Zt("Body.fontWeight"),lineHeight:Zt("Body.lineHeight"),letterSpacing:Zt("Body.letterSpacing")},BodySmall:{fontFamily:Zt("BodySmall.fontFamily"),fontSize:Zt("BodySmall.fontSize"),fontWeight:Zt("BodySmall.fontWeight"),lineHeight:Zt("BodySmall.lineHeight"),letterSpacing:Zt("BodySmall.letterSpacing")},XSmall:{fontFamily:Zt("XSmall.fontFamily"),fontSize:Zt("XSmall.fontSize"),fontWeight:Zt("XSmall.fontWeight"),lineHeight:Zt("XSmall.lineHeight"),letterSpacing:Zt("XSmall.letterSpacing")}},Yt=e=>{switch(e){case 700:case"bold":return Gt.Bold;case 600:case"semibold":return Gt.Semibold;case 300:case"light":return Gt.Light;case 400:case"regular":return Gt.Regular;default:return""}},Jt=(e,t)=>r=>{const n=Kt[e].fontFamily(r),i=Kt[e].fontWeight(r);return Object.values(Gt).includes(n)?p`
|
|
9
|
+
font-family: ${Yt(t)||Yt(i)||n};
|
|
13
10
|
font-weight: normal !important;
|
|
14
11
|
`:p`
|
|
15
12
|
font-family: ${n};
|
|
16
|
-
font-weight: ${(
|
|
17
|
-
`},
|
|
18
|
-
${
|
|
13
|
+
font-weight: ${(er(t)||i)??"normal"};
|
|
14
|
+
`},er=e=>{switch(e){case 300:case"light":return 300;case 400:case"regular":return 400;case 600:case"semibold":return 600;case 700:case"bold":return 700;case 900:case"black":return 900;default:return""}},tr=(e,t,r=!1)=>n=>{const i=Kt[e],o=i.fontSize(n);return p`
|
|
15
|
+
${Jt(e,t)}
|
|
19
16
|
font-size: ${o}rem !important;
|
|
20
17
|
line-height: ${i.lineHeight}rem !important;
|
|
21
18
|
letter-spacing: ${i.letterSpacing(n)||0}rem !important;
|
|
22
19
|
${p`
|
|
23
20
|
margin-bottom: ${o*(r?1.05:0)}rem;
|
|
24
21
|
`}
|
|
25
|
-
`},
|
|
22
|
+
`},rr=(e=!1,t=!1)=>t?p`
|
|
26
23
|
display: block;
|
|
27
24
|
`:e?p`
|
|
28
25
|
display: inline;
|
|
29
26
|
`:p`
|
|
30
27
|
display: block;
|
|
31
|
-
`,
|
|
32
|
-
${
|
|
28
|
+
`,nr=h.input`
|
|
29
|
+
${tr("Body","regular")}
|
|
33
30
|
border: 1px solid ${Ht.Neutral[5]};
|
|
34
31
|
border-radius: 4px;
|
|
35
32
|
display: block;
|
|
@@ -51,6 +48,18 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
51
48
|
color: ${Ht.Neutral[3]};
|
|
52
49
|
}
|
|
53
50
|
|
|
51
|
+
${e=>{if("number"===e.type)return p`
|
|
52
|
+
// Chrome, Safari, Edge, Opera
|
|
53
|
+
::-webkit-outer-spin-button,
|
|
54
|
+
::-webkit-inner-spin-button {
|
|
55
|
+
-webkit-appearance: none;
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Firefox
|
|
60
|
+
-moz-appearance: textfield;
|
|
61
|
+
`}}
|
|
62
|
+
|
|
54
63
|
${e=>e.readOnly?p`
|
|
55
64
|
border: none;
|
|
56
65
|
padding-left: 0rem;
|
|
@@ -80,93 +89,93 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
80
89
|
box-shadow: inset 0 0 4px 1px rgba(221, 102, 102, 0.8);
|
|
81
90
|
}
|
|
82
91
|
`:void 0}
|
|
83
|
-
`,
|
|
92
|
+
`,ir=i.forwardRef((({value:t,spacing:r,type:n,error:i,disabled:o,onChange:a,...s},l)=>{const c=()=>"tel"===n&&r,u=e=>{const t=e.target,r=t.value,n=t.value.replace(/\s/g,"");t.value=n,a(e),t.value=r},d=t?(e=>e?c()?Qt.transformWithSpaces(e,r):e:"")(t):t;return e(nr,{"data-testid":"input",ref:l,disabled:o,value:d,error:i,onChange:a?e=>{c()?u(e):a(e)}:void 0,type:n,readOnly:"readonly"===n,...s})}));var or;!function(e){e.D1=h.h1`
|
|
84
93
|
${e=>p`
|
|
85
|
-
${
|
|
94
|
+
${tr("D1",e.weight,e.paragraph)}
|
|
86
95
|
color: ${Ht.Neutral[1]};
|
|
87
|
-
${
|
|
96
|
+
${rr(e.inline,e.paragraph)}
|
|
88
97
|
`}
|
|
89
98
|
`,e.D2=h.h1`
|
|
90
99
|
${e=>p`
|
|
91
|
-
${
|
|
100
|
+
${tr("D2",e.weight,e.paragraph)}
|
|
92
101
|
color: ${Ht.Neutral[1]};
|
|
93
|
-
${
|
|
102
|
+
${rr(e.inline,e.paragraph)}
|
|
94
103
|
`}
|
|
95
104
|
`,e.D3=h.h1`
|
|
96
105
|
${e=>p`
|
|
97
|
-
${
|
|
106
|
+
${tr("D3",e.weight,e.paragraph)}
|
|
98
107
|
color: ${Ht.Neutral[1]};
|
|
99
|
-
${
|
|
108
|
+
${rr(e.inline,e.paragraph)}
|
|
100
109
|
`}
|
|
101
110
|
`,e.D4=h.h1`
|
|
102
111
|
${e=>p`
|
|
103
|
-
${
|
|
112
|
+
${tr("D4",e.weight,e.paragraph)}
|
|
104
113
|
color: ${Ht.Neutral[1]};
|
|
105
|
-
${
|
|
114
|
+
${rr(e.inline,e.paragraph)}
|
|
106
115
|
`}
|
|
107
116
|
`,e.DBody=h.h1`
|
|
108
117
|
${e=>p`
|
|
109
|
-
${
|
|
118
|
+
${tr("DBody",e.weight,e.paragraph)}
|
|
110
119
|
color: ${Ht.Neutral[1]};
|
|
111
|
-
${
|
|
120
|
+
${rr(e.inline,e.paragraph)}
|
|
112
121
|
`}
|
|
113
122
|
`,e.H1=h.h1`
|
|
114
123
|
${e=>p`
|
|
115
|
-
${
|
|
124
|
+
${tr("H1",e.weight,e.paragraph)}
|
|
116
125
|
color: ${Ht.Neutral[1]};
|
|
117
|
-
${
|
|
126
|
+
${rr(e.inline,e.paragraph)}
|
|
118
127
|
`}
|
|
119
128
|
`,e.H2=h.h2`
|
|
120
129
|
${e=>p`
|
|
121
|
-
${
|
|
130
|
+
${tr("H2",e.weight,e.paragraph)}
|
|
122
131
|
color: ${Ht.Neutral[1]};
|
|
123
|
-
${
|
|
132
|
+
${rr(e.inline,e.paragraph)}
|
|
124
133
|
`}
|
|
125
134
|
`,e.H3=h.h3`
|
|
126
135
|
${e=>p`
|
|
127
|
-
${
|
|
136
|
+
${tr("H3",e.weight,e.paragraph)}
|
|
128
137
|
color: ${Ht.Neutral[1]};
|
|
129
|
-
${
|
|
138
|
+
${rr(e.inline,e.paragraph)}
|
|
130
139
|
`}
|
|
131
140
|
`,e.H4=h.h4`
|
|
132
141
|
${e=>p`
|
|
133
|
-
${
|
|
142
|
+
${tr("H4",e.weight,e.paragraph)}
|
|
134
143
|
color: ${Ht.Neutral[1]};
|
|
135
|
-
${
|
|
144
|
+
${rr(e.inline,e.paragraph)}
|
|
136
145
|
`}
|
|
137
146
|
`,e.H5=h.h5`
|
|
138
147
|
${e=>p`
|
|
139
|
-
${
|
|
148
|
+
${tr("H5",e.weight,e.paragraph)}
|
|
140
149
|
color: ${Ht.Neutral[1]};
|
|
141
|
-
${
|
|
150
|
+
${rr(e.inline,e.paragraph)}
|
|
142
151
|
`}
|
|
143
152
|
`,e.H6=h.h6`
|
|
144
153
|
${e=>p`
|
|
145
|
-
${
|
|
154
|
+
${tr("H6",e.weight,e.paragraph)}
|
|
146
155
|
color: ${Ht.Neutral[1]};
|
|
147
|
-
${
|
|
156
|
+
${rr(e.inline,e.paragraph)}
|
|
148
157
|
`}
|
|
149
158
|
`,e.Body=h.p`
|
|
150
159
|
${e=>p`
|
|
151
|
-
${
|
|
160
|
+
${tr("Body",e.weight,e.paragraph)}
|
|
152
161
|
color: ${Ht.Neutral[1]};
|
|
153
|
-
${
|
|
162
|
+
${rr(e.inline,e.paragraph)}
|
|
154
163
|
`}
|
|
155
164
|
`,e.BodySmall=h.p`
|
|
156
165
|
${e=>p`
|
|
157
|
-
${
|
|
166
|
+
${tr("BodySmall",e.weight,e.paragraph)}
|
|
158
167
|
color: ${Ht.Neutral[1]};
|
|
159
|
-
${
|
|
168
|
+
${rr(e.inline,e.paragraph)}
|
|
160
169
|
`}
|
|
161
170
|
`,e.XSmall=h.span`
|
|
162
171
|
${e=>p`
|
|
163
|
-
${
|
|
172
|
+
${tr("XSmall",e.weight,e.paragraph)}
|
|
164
173
|
color: ${Ht.Neutral[1]};
|
|
165
|
-
${
|
|
174
|
+
${rr(e.inline,e.paragraph)}
|
|
166
175
|
`}
|
|
167
|
-
`,e.Hyperlink={Default:e=>
|
|
176
|
+
`,e.Hyperlink={Default:e=>lr({...e,textStyle:"Body"}),Small:e=>lr({...e,textStyle:"BodySmall"})}}(or||(or={}));const ar=h.a`
|
|
168
177
|
${e=>p`
|
|
169
|
-
${
|
|
178
|
+
${tr(e.textStyle,e.weight)}
|
|
170
179
|
color: ${Ht.Primary};
|
|
171
180
|
text-decoration: none;
|
|
172
181
|
|
|
@@ -176,9 +185,9 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
176
185
|
color: ${Ht.Secondary};
|
|
177
186
|
}
|
|
178
187
|
`}
|
|
179
|
-
`,
|
|
188
|
+
`,sr=h(qt)`
|
|
180
189
|
margin-left: 0.4rem;
|
|
181
|
-
`,
|
|
190
|
+
`,lr=({external:r=!1,children:n,...i})=>t(ar,{...i,children:[n,r&&e(sr,{type:"external"})]});var cr;!function(e){e[e.Subpage=0]="Subpage",e[e.Domain=1]="Domain"}(cr||(cr={}));const ur=h.div`
|
|
182
191
|
display: flex;
|
|
183
192
|
position: relative;
|
|
184
193
|
border: 1px solid ${Ht.Neutral[5]};
|
|
@@ -186,15 +195,14 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
186
195
|
background: ${Ht.Neutral[8]};
|
|
187
196
|
height: 3rem;
|
|
188
197
|
width: 100%;
|
|
198
|
+
flex-direction: ${e=>"right"===e.$position?"row-reverse":"row"};
|
|
189
199
|
|
|
190
200
|
:focus-within {
|
|
191
201
|
border: 1px solid ${Ht.Accent.Light[1]};
|
|
192
202
|
box-shadow: inset 0 0 5px 1px rgba(87, 169, 255, 0.5);
|
|
193
203
|
}
|
|
194
204
|
|
|
195
|
-
${e=>
|
|
196
|
-
flex-direction: row-reverse;
|
|
197
|
-
`:e.$readOnly?p`
|
|
205
|
+
${e=>e.$readOnly?p`
|
|
198
206
|
border: none;
|
|
199
207
|
padding-left: 0rem;
|
|
200
208
|
background: transparent !important;
|
|
@@ -221,7 +229,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
221
229
|
box-shadow: inset 0 0 4px 1px rgba(221, 102, 102, 0.8);
|
|
222
230
|
}
|
|
223
231
|
`:void 0}
|
|
224
|
-
`,
|
|
232
|
+
`,dr=h(ir)`
|
|
225
233
|
// overwrite default styles
|
|
226
234
|
background: transparent;
|
|
227
235
|
border: none;
|
|
@@ -232,12 +240,14 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
232
240
|
box-shadow: none;
|
|
233
241
|
}
|
|
234
242
|
|
|
235
|
-
${e=>
|
|
243
|
+
${e=>e.$readOnly?p`
|
|
244
|
+
padding-left: 0rem;
|
|
245
|
+
`:"right"===e.$position?p`
|
|
236
246
|
padding: 0.2rem 0 0.3rem 1rem; // Input text appears lower hence the higher lower padding
|
|
237
247
|
`:p`
|
|
238
248
|
padding: 0.2rem 1rem 0.3rem 0; // Input text appears lower hence the higher lower padding
|
|
239
249
|
`}
|
|
240
|
-
`,
|
|
250
|
+
`,hr=h.div`
|
|
241
251
|
position: relative;
|
|
242
252
|
display: flex;
|
|
243
253
|
align-items: center;
|
|
@@ -245,7 +255,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
245
255
|
border-bottom-left-radius: 4px;
|
|
246
256
|
padding: 0 0.6875rem 0 1rem;
|
|
247
257
|
|
|
248
|
-
${
|
|
258
|
+
${tr("Body","regular")}
|
|
249
259
|
color: ${Ht.Neutral[1]};
|
|
250
260
|
|
|
251
261
|
/* SVG Icon */
|
|
@@ -257,30 +267,32 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
257
267
|
}
|
|
258
268
|
}
|
|
259
269
|
|
|
260
|
-
${e=>
|
|
270
|
+
${e=>e.$readOnly?p`
|
|
271
|
+
padding-left: 0rem;
|
|
272
|
+
`:e.disabled?p`
|
|
261
273
|
color: ${Ht.Neutral[4](e)};
|
|
262
274
|
svg {
|
|
263
275
|
#path {
|
|
264
276
|
fill: ${Ht.Neutral[4](e)};
|
|
265
277
|
}
|
|
266
278
|
}
|
|
267
|
-
|
|
268
|
-
`;h(
|
|
279
|
+
`:void 0}
|
|
280
|
+
`;h(qt)`
|
|
269
281
|
padding-left: 0.5rem;
|
|
270
282
|
color: ${Ht.Neutral[4]};
|
|
271
|
-
`;var hr=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1},pr=We;var fr=We,gr=qe,mr=st;var yr=We,vr=function(){this.__data__=new pr,this.size=0},br=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},wr=function(e){return this.__data__.get(e)},_r=function(e){return this.__data__.has(e)},$r=function(e,t){var r=this.__data__;if(r instanceof fr){var n=r.__data__;if(!gr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new mr(n)}return r.set(e,t),this.size=r.size,this};function xr(e){var t=this.__data__=new yr(e);this.size=t.size}xr.prototype.clear=vr,xr.prototype.delete=br,xr.prototype.get=wr,xr.prototype.has=_r,xr.prototype.set=$r;var Sr=xr;var kr=st,Fr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Or=function(e){return this.__data__.has(e)};function jr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new kr;++t<r;)this.add(e[t])}jr.prototype.add=jr.prototype.push=Fr,jr.prototype.has=Or;var Br=jr,zr=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1},Ar=function(e,t){return e.has(t)};var Pr=function(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&r?new Br:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var f=e[d],g=t[d];if(n)var m=a?n(g,f,d,t,e,o):n(f,g,d,e,t,o);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!zr(t,(function(e,t){if(!Ar(p,t)&&(f===e||i(f,e,r,n,o)))return p.push(t)}))){h=!1;break}}else if(f!==g&&!i(f,g,r,n,o)){h=!1;break}}return o.delete(e),o.delete(t),h};var Cr=_.Uint8Array,Nr=ze,Dr=Pr,Er=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r},Ir=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},Hr=$?$.prototype:void 0,Mr=Hr?Hr.valueOf:void 0;var Vr=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new Cr(e),new Cr(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Nr(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Er;case"[object Set]":var l=1&n;if(s||(s=Ir),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var u=Dr(s(e),s(t),n,i,o,a);return a.delete(e),u;case"[object Symbol]":if(Mr)return Mr.call(e)==Mr.call(t)}return!1};var Rr=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},Tr=y;var Lr=function(e,t,r){var n=t(e);return Tr(e)?n:Rr(n,r(e))};var Wr=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o},qr=function(){return[]},Ur=Object.prototype.propertyIsEnumerable,Qr=Object.getOwnPropertySymbols,Gr=Qr?function(e){return null==e?[]:(e=Object(e),Wr(Qr(e),(function(t){return Ur.call(e,t)})))}:qr;var Xr=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Zr=C,Kr=N;var Yr=function(e){return Kr(e)&&"[object Arguments]"==Zr(e)},Jr=N,en=Object.prototype,tn=en.hasOwnProperty,rn=en.propertyIsEnumerable,nn=Yr(function(){return arguments}())?Yr:function(e){return Jr(e)&&tn.call(e,"callee")&&!rn.call(e,"callee")},on={exports:{}};var an=function(){return!1};!function(e,t){var r=_,n=an,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=(a?a.isBuffer:void 0)||n;e.exports=s}(on,on.exports);var sn=/^(?:0|[1-9]\d*)$/;var ln=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&sn.test(e))&&e>-1&&e%1==0&&e<t};var cn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},un=C,dn=cn,hn=N,pn={};pn["[object Float32Array]"]=pn["[object Float64Array]"]=pn["[object Int8Array]"]=pn["[object Int16Array]"]=pn["[object Int32Array]"]=pn["[object Uint8Array]"]=pn["[object Uint8ClampedArray]"]=pn["[object Uint16Array]"]=pn["[object Uint32Array]"]=!0,pn["[object Arguments]"]=pn["[object Array]"]=pn["[object ArrayBuffer]"]=pn["[object Boolean]"]=pn["[object DataView]"]=pn["[object Date]"]=pn["[object Error]"]=pn["[object Function]"]=pn["[object Map]"]=pn["[object Number]"]=pn["[object Object]"]=pn["[object RegExp]"]=pn["[object Set]"]=pn["[object String]"]=pn["[object WeakMap]"]=!1;var fn=function(e){return hn(e)&&dn(e.length)&&!!pn[un(e)]};var gn=function(e){return function(t){return e(t)}},mn={exports:{}};!function(e,t){var r=v,n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(mn,mn.exports);var yn=fn,vn=gn,bn=mn.exports,wn=bn&&bn.isTypedArray,_n=wn?vn(wn):yn,$n=Xr,xn=nn,Sn=y,kn=on.exports,Fn=ln,On=_n,jn=Object.prototype.hasOwnProperty;var Bn=function(e,t){var r=Sn(e),n=!r&&xn(e),i=!r&&!n&&kn(e),o=!r&&!n&&!i&&On(e),a=r||n||i||o,s=a?$n(e.length,String):[],l=s.length;for(var c in e)!t&&!jn.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Fn(c,l))||s.push(c);return s},zn=Object.prototype;var An=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||zn)};var Pn=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Cn=An,Nn=Pn,Dn=Object.prototype.hasOwnProperty;var En=Q,In=cn;var Hn=Bn,Mn=function(e){if(!Cn(e))return Nn(e);var t=[];for(var r in Object(e))Dn.call(e,r)&&"constructor"!=r&&t.push(r);return t},Vn=function(e){return null!=e&&In(e.length)&&!En(e)};var Rn=function(e){return Vn(e)?Hn(e):Mn(e)},Tn=Lr,Ln=Gr,Wn=Rn;var qn=function(e){return Tn(e,Wn,Ln)},Un=Object.prototype.hasOwnProperty;var Qn=function(e,t,r,n,i,o){var a=1&r,s=qn(e),l=s.length;if(l!=qn(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Un.call(t,u)))return!1}var d=o.get(e),h=o.get(t);if(d&&h)return d==t&&h==e;var p=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var g=e[u=s[c]],m=t[u];if(n)var y=a?n(m,g,u,t,e,o):n(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,r,n,o):y)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(p=!1)}return o.delete(e),o.delete(t),p},Gn=de(_,"DataView"),Xn=qe,Zn=de(_,"Promise"),Kn=de(_,"Set"),Yn=de(_,"WeakMap"),Jn=C,ei=Y,ti=ei(Gn),ri=ei(Xn),ni=ei(Zn),ii=ei(Kn),oi=ei(Yn),ai=Jn;(Gn&&"[object DataView]"!=ai(new Gn(new ArrayBuffer(1)))||Xn&&"[object Map]"!=ai(new Xn)||Zn&&"[object Promise]"!=ai(Zn.resolve())||Kn&&"[object Set]"!=ai(new Kn)||Yn&&"[object WeakMap]"!=ai(new Yn))&&(ai=function(e){var t=Jn(e),r="[object Object]"==t?e.constructor:void 0,n=r?ei(r):"";if(n)switch(n){case ti:return"[object DataView]";case ri:return"[object Map]";case ni:return"[object Promise]";case ii:return"[object Set]";case oi:return"[object WeakMap]"}return t});var si=Sr,li=Pr,ci=Vr,ui=Qn,di=ai,hi=y,pi=on.exports,fi=_n,gi="[object Object]",mi=Object.prototype.hasOwnProperty;var yi=function(e,t,r,n,i,o){var a=hi(e),s=hi(t),l=a?"[object Array]":di(e),c=s?"[object Array]":di(t),u=(l="[object Arguments]"==l?gi:l)==gi,d=(c="[object Arguments]"==c?gi:c)==gi,h=l==c;if(h&&pi(e)){if(!pi(t))return!1;a=!0,u=!1}if(h&&!u)return o||(o=new si),a||fi(e)?li(e,t,r,n,i,o):ci(e,t,l,r,n,i,o);if(!(1&r)){var p=u&&mi.call(e,"__wrapped__"),f=d&&mi.call(t,"__wrapped__");if(p||f){var g=p?e.value():e,m=f?t.value():t;return o||(o=new si),i(g,m,r,n,o)}}return!!h&&(o||(o=new si),ui(e,t,r,n,i,o))},vi=N;var bi=function e(t,r,n,i,o){return t===r||(null==t||null==r||!vi(t)&&!vi(r)?t!=t&&r!=r:yi(t,r,n,i,e,o))},wi=Sr,_i=bi;var $i=L;var xi=function(e){return e==e&&!$i(e)},Si=xi,ki=Rn;var Fi=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},Oi=function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=r[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new wi;if(n)var h=n(c,u,l,e,t,d);if(!(void 0===h?_i(u,c,3,n,d):h))return!1}}return!0},ji=function(e){for(var t=ki(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Si(i)]}return t},Bi=Fi;var zi=kt,Ai=nn,Pi=y,Ci=ln,Ni=cn,Di=Ot;var Ei=function(e,t){return null!=e&&t in Object(e)},Ii=function(e,t,r){for(var n=-1,i=(t=zi(t,e)).length,o=!1;++n<i;){var a=Di(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Ni(i)&&Ci(a,i)&&(Pi(e)||Ai(e))};var Hi=bi,Mi=Pt,Vi=function(e,t){return null!=e&&Ii(e,t,Ei)},Ri=T,Ti=xi,Li=Fi,Wi=Ot;var qi=zt;var Ui=function(e){return function(t){return null==t?void 0:t[e]}},Qi=function(e){return function(t){return qi(t,e)}},Gi=T,Xi=Ot;var Zi=function(e){var t=ji(e);return 1==t.length&&t[0][2]?Bi(t[0][0],t[0][1]):function(r){return r===e||Oi(r,e,t)}},Ki=function(e,t){return Ri(e)&&Ti(t)?Li(Wi(e),t):function(r){var n=Mi(r,e);return void 0===n&&n===t?Vi(r,e):Hi(t,n,3)}},Yi=function(e){return e},Ji=y,eo=function(e){return Gi(e)?Ui(Xi(e)):Qi(e)};var to=/\s/;var ro=function(e){for(var t=e.length;t--&&to.test(e.charAt(t)););return t},no=/^\s+/;var io=function(e){return e?e.slice(0,ro(e)+1).replace(no,""):e},oo=L,ao=I,so=/^[-+]0x[0-9a-f]+$/i,lo=/^0b[01]+$/i,co=/^0o[0-7]+$/i,uo=parseInt;var ho=function(e){if("number"==typeof e)return e;if(ao(e))return NaN;if(oo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=oo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=io(e);var r=lo.test(e);return r||co.test(e)?uo(e.slice(2),r?2:8):so.test(e)?NaN:+e};var po=function(e){return e?Infinity===(e=ho(e))||-Infinity===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var fo=hr,go=function(e){return"function"==typeof e?e:null==e?Yi:"object"==typeof e?Ji(e)?Ki(e[0],e[1]):Zi(e):eo(e)},mo=function(e){var t=po(e),r=t%1;return t==t?r?t-r:t:0},yo=Math.max;var vo=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:mo(r);return i<0&&(i=yo(n+i,0)),fo(e,go(t),i)},bo={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},wo=i.createContext&&i.createContext(bo),_o=function(){return _o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},_o.apply(this,arguments)},$o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function xo(e){return e&&e.map((function(e,t){return i.createElement(e.tag,_o({key:t},e.attr),xo(e.child))}))}function So(e){return function(t){return i.createElement(ko,_o({attr:_o({},e.attr)},t),xo(e.child))}}function ko(e){var t=function(t){var r,n=e.attr,o=e.size,a=e.title,s=$o(e,["attr","size","title"]),l=o||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),i.createElement("svg",_o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,s,{className:r,style:_o(_o({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&i.createElement("title",null,a),e.children)};return void 0!==wo?i.createElement(wo.Consumer,null,(function(e){return t(e)})):t(bo)}function Fo(e){return So({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.6 48 48 141.601 48 256s93.6 208 208 208 208-93.601 208-208S370.4 48 256 48zm24 312h-48v-40h48v40zm0-88h-48V144h48v128z"}}]})(e)}let Oo=Lo();const jo=e=>Mo(e,Oo);let Bo=Lo();jo.write=e=>Mo(e,Bo);let zo=Lo();jo.onStart=e=>Mo(e,zo);let Ao=Lo();jo.onFrame=e=>Mo(e,Ao);let Po=Lo();jo.onFinish=e=>Mo(e,Po);let Co=[];jo.setTimeout=(e,t)=>{let r=jo.now()+t,n=()=>{let e=Co.findIndex((e=>e.cancel==n));~e&&Co.splice(e,1),Io-=~e?1:0},i={time:r,handler:e,cancel:n};return Co.splice(No(r),0,i),Io+=1,Vo(),i};let No=e=>~(~Co.findIndex((t=>t.time>e))||~Co.length);jo.cancel=e=>{zo.delete(e),Ao.delete(e),Oo.delete(e),Bo.delete(e),Po.delete(e)},jo.sync=e=>{Ho=!0,jo.batchedUpdates(e),Ho=!1},jo.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...e){t=e,jo.onStart(r)}return n.handler=e,n.cancel=()=>{zo.delete(r),t=null},n};let Do="undefined"!=typeof window?window.requestAnimationFrame:()=>{};jo.use=e=>Do=e,jo.now="undefined"!=typeof performance?()=>performance.now():Date.now,jo.batchedUpdates=e=>e(),jo.catch=console.error,jo.frameLoop="always",jo.advance=()=>{"demand"!==jo.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):To()};let Eo=-1,Io=0,Ho=!1;function Mo(e,t){Ho?(t.delete(e),e(0)):(t.add(e),Vo())}function Vo(){Eo<0&&(Eo=0,"demand"!==jo.frameLoop&&Do(Ro))}function Ro(){~Eo&&(Do(Ro),jo.batchedUpdates(To))}function To(){let e=Eo;Eo=jo.now();let t=No(Eo);t&&(Wo(Co.splice(0,t),(e=>e.handler())),Io-=t),zo.flush(),Oo.flush(e?Math.min(64,Eo-e):16.667),Ao.flush(),Bo.flush(),Po.flush(),Io||(Eo=-1)}function Lo(){let e=new Set,t=e;return{add(r){Io+=t!=e||e.has(r)?0:1,e.add(r)},delete:r=>(Io-=t==e&&e.has(r)?1:0,e.delete(r)),flush(r){t.size&&(e=new Set,Io-=t.size,Wo(t,(t=>t(r)&&e.add(t))),Io+=e.size,t=e)}}}function Wo(e,t){e.forEach((e=>{try{t(e)}catch(e){jo.catch(e)}}))}function qo(){}const Uo={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function Qo(e,t){if(Uo.arr(e)){if(!Uo.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}const Go=(e,t)=>e.forEach(t);function Xo(e,t,r){if(Uo.arr(e))for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);else for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}const Zo=e=>Uo.und(e)?[]:Uo.arr(e)?e:[e];function Ko(e,t){if(e.size){const r=Array.from(e);e.clear(),Go(r,t)}}const Yo=(e,...t)=>Ko(e,(e=>e(...t))),Jo=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let ea,ta,ra=null,na=!1,ia=qo;var oa=Object.freeze({__proto__:null,get createStringInterpolator(){return ea},get to(){return ta},get colors(){return ra},get skipAnimation(){return na},get willAdvance(){return ia},assign:e=>{e.to&&(ta=e.to),e.now&&(jo.now=e.now),void 0!==e.colors&&(ra=e.colors),null!=e.skipAnimation&&(na=e.skipAnimation),e.createStringInterpolator&&(ea=e.createStringInterpolator),e.requestAnimationFrame&&jo.use(e.requestAnimationFrame),e.batchedUpdates&&(jo.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ia=e.willAdvance),e.frameLoop&&(jo.frameLoop=e.frameLoop)}});const aa=new Set;let sa=[],la=[],ca=0;const ua={get idle(){return!aa.size&&!sa.length},start(e){ca>e.priority?(aa.add(e),jo.onStart(da)):(ha(e),jo(fa))},advance:fa,sort(e){if(ca)jo.onFrame((()=>ua.sort(e)));else{const t=sa.indexOf(e);~t&&(sa.splice(t,1),pa(e))}},clear(){sa=[],aa.clear()}};function da(){aa.forEach(ha),aa.clear(),jo(fa)}function ha(e){sa.includes(e)||pa(e)}function pa(e){sa.splice(function(e,t){const r=e.findIndex(t);return r<0?e.length:r}(sa,(t=>t.priority>e.priority)),0,e)}function fa(e){const t=la;for(let r=0;r<sa.length;r++){const n=sa[r];ca=n.priority,n.idle||(ia(n),n.advance(e),n.idle||t.push(n))}return ca=0,la=sa,la.length=0,sa=t,sa.length>0}const ga="[-+]?\\d*\\.?\\d+";function ma(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const ya=new RegExp("rgb"+ma(ga,ga,ga)),va=new RegExp("rgba"+ma(ga,ga,ga,ga)),ba=new RegExp("hsl"+ma(ga,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),wa=new RegExp("hsla"+ma(ga,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",ga)),_a=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,$a=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,xa=/^#([0-9a-fA-F]{6})$/,Sa=/^#([0-9a-fA-F]{8})$/;function ka(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Fa(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,o=ka(i,n,e+1/3),a=ka(i,n,e),s=ka(i,n,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Oa(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ja(e){return(parseFloat(e)%360+360)%360/360}function Ba(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function za(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Aa(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=xa.exec(e))?parseInt(t[1]+"ff",16)>>>0:ra&&void 0!==ra[e]?ra[e]:(t=ya.exec(e))?(Oa(t[1])<<24|Oa(t[2])<<16|Oa(t[3])<<8|255)>>>0:(t=va.exec(e))?(Oa(t[1])<<24|Oa(t[2])<<16|Oa(t[3])<<8|Ba(t[4]))>>>0:(t=_a.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Sa.exec(e))?parseInt(t[1],16)>>>0:(t=$a.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ba.exec(e))?(255|Fa(ja(t[1]),za(t[2]),za(t[3])))>>>0:(t=wa.exec(e))?(Fa(ja(t[1]),za(t[2]),za(t[3]))|Ba(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Pa=(e,t,r)=>{if(Uo.fun(e))return e;if(Uo.arr(e))return Pa({range:e,output:t,extrapolate:r});if(Uo.str(e.output[0]))return ea(e);const n=e,i=n.output,o=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(e=>e);return e=>{const t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,o);return function(e,t,r,n,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>r){if("identity"===s)return c;"clamp"===s&&(c=r)}if(n===i)return n;if(t===r)return e<=t?n:i;t===-1/0?c=-c:r===1/0?c-=t:c=(c-t)/(r-t);c=o(c),n===-1/0?c=-c:i===1/0?c+=n:c=c*(i-n)+n;return c}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,n.map)}};function Ca(){return Ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ca.apply(this,arguments)}const Na=Symbol.for("FluidValue.get"),Da=Symbol.for("FluidValue.observers"),Ea=e=>Boolean(e&&e[Na]),Ia=e=>e&&e[Na]?e[Na]():e,Ha=e=>e[Da]||null;function Ma(e,t){let r=e[Da];r&&r.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}class Va{constructor(e){if(this[Na]=void 0,this[Da]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");Ra(this,e)}}const Ra=(e,t)=>Wa(e,Na,t);function Ta(e,t){if(e[Na]){let r=e[Da];r||Wa(e,Da,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function La(e,t){let r=e[Da];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[Da]=null,e.observerRemoved&&e.observerRemoved(n,t)}}const Wa=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),qa=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ua=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Qa=new RegExp(`(${qa.source})(%|[a-z]+)`,"i"),Ga=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Xa=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Za=e=>{const[t,r]=Ka(e);if(!t||Jo())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(r);return t||e}return r&&Xa.test(r)?Za(r):r||e},Ka=e=>{const t=Xa.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]};let Ya;const Ja=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,es=e=>{Ya||(Ya=ra?new RegExp(`(${Object.keys(ra).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ia(e).replace(Xa,Za).replace(Ua,Aa).replace(Ya,Aa))),r=t.map((e=>e.match(qa).map(Number))),n=r[0].map(((e,t)=>r.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>Pa(Ca({},e,{output:t}))));return e=>{var r;const i=!Qa.test(t[0])&&(null==(r=t.find((e=>Qa.test(e))))?void 0:r.replace(qa,""));let o=0;return t[0].replace(qa,(()=>`${n[o++](e)}${i||""}`)).replace(Ga,Ja)}},ts="react-spring: ",rs=e=>{const t=e;let r=!1;if("function"!=typeof t)throw new TypeError(`${ts}once requires a function parameter`);return(...e)=>{r||(t(...e),r=!0)}},ns=rs(console.warn);const is=rs(console.warn);function os(e){return Uo.str(e)&&("#"==e[0]||/\d/.test(e)||!Jo()&&Xa.test(e)||e in(ra||{}))}const as="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect;function ss(){const e=a()[1],t=(()=>{const e=s(!1);return as((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}const ls=e=>o(e,cs),cs=[];function us(e){const t=s();return o((()=>{t.current=e})),t.current}const ds=Symbol.for("Animated:node"),hs=e=>e&&e[ds],ps=(e,t)=>{return r=e,n=ds,i=t,Object.defineProperty(r,n,{value:i,writable:!0,configurable:!0});var r,n,i},fs=e=>e&&e[ds]&&e[ds].getPayload();class gs{constructor(){this.payload=void 0,ps(this,this)}getPayload(){return this.payload||[]}}class ms extends gs{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,Uo.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ms(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Uo.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Uo.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class ys extends ms{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Pa({output:[e,e]})}static create(e){return new ys(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Uo.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Pa({output:[this.getValue(),e]})),this._value=0,super.reset()}}const vs={dependencies:null};class bs extends gs{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Xo(this.source,((r,n)=>{var i;(i=r)&&i[ds]===i?t[n]=r.getValue(e):Ea(r)?t[n]=Ia(r):e||(t[n]=r)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Go(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Xo(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){vs.dependencies&&Ea(e)&&vs.dependencies.add(e);const t=fs(e);t&&Go(t,(e=>this.add(e)))}}class ws extends bs{constructor(e){super(e)}static create(e){return new ws(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,r)=>t.setValue(e[r]))).some(Boolean):(super.setValue(e.map(_s)),!0)}}function _s(e){return(os(e)?ys:ms).create(e)}function $s(e){const t=hs(e);return t?t.constructor:Uo.arr(e)?ws:os(e)?ys:ms}function xs(){return xs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xs.apply(this,arguments)}const Ss=(e,t)=>{const r=!Uo.fun(e)||e.prototype&&e.prototype.isReactComponent;return l(((i,a)=>{const l=s(null),u=r&&c((e=>{l.current=function(e,t){e&&(Uo.fun(e)?e(t):e.current=t);return t}(a,e)}),[a]),[d,h]=function(e,t){const r=new Set;vs.dependencies=r,e.style&&(e=xs({},e,{style:t.createAnimatedStyle(e.style)}));return e=new bs(e),vs.dependencies=null,[e,r]}(i,t),p=ss(),f=()=>{const e=l.current;if(r&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,d.getValue(!0)))&&p()},g=new ks(f,h),m=s();as((()=>(m.current=g,Go(h,(e=>Ta(e,g))),()=>{m.current&&(Go(m.current.deps,(e=>La(e,m.current))),jo.cancel(m.current.update))}))),o(f,[]),ls((()=>()=>{const e=m.current;Go(e.deps,(t=>La(t,e)))}));const y=t.getComponentProps(d.getValue());return n.createElement(e,xs({},y,{ref:u}))}))};class ks{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&jo.write(this.update)}}const Fs=Symbol.for("AnimatedComponent"),Os=e=>Uo.str(e)?e:e&&Uo.str(e.displayName)?e.displayName:Uo.fun(e)&&e.name||null;function js(){return js=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},js.apply(this,arguments)}function Bs(e,...t){return Uo.fun(e)?e(...t):e}const zs=(e,t)=>!0===e||!!(t&&e&&(Uo.fun(e)?e(t):Zo(e).includes(t))),As=(e,t)=>Uo.obj(e)?t&&e[t]:e,Ps=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Cs=e=>e,Ns=(e,t=Cs)=>{let r=Ds;e.default&&!0!==e.default&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const r=t(e[i],i);Uo.und(r)||(n[i]=r)}return n},Ds=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Es={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Is(e){const t=function(e){const t={};let r=0;if(Xo(e,((e,n)=>{Es[n]||(t[n]=e,r++)})),r)return t}(e);if(t){const r={to:t};return Xo(e,((e,n)=>n in t||(r[n]=e))),r}return js({},e)}function Hs(e){return e=Ia(e),Uo.arr(e)?e.map(Hs):os(e)?oa.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Ms(e){for(const t in e)return!0;return!1}function Vs(e){return Uo.fun(e)||Uo.arr(e)&&Uo.obj(e[0])}function Rs(e,t){var r;null==(r=e.ref)||r.delete(e),null==t||t.delete(e)}function Ts(e,t){var r;t&&e.ref!==t&&(null==(r=e.ref)||r.delete(e),t.add(e),e.ref=t)}const Ls=1.70158,Ws=1.525*Ls,qs=2*Math.PI/3,Us=2*Math.PI/4.5,Qs=e=>{const t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?t*(e-=1.5/r)*e+.75:e<2.5/r?t*(e-=2.25/r)*e+.9375:t*(e-=2.625/r)*e+.984375},Gs=js({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-Ls*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+Ls*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Ws)/2:(Math.pow(2*e-2,2)*((Ws+1)*(2*e-2)+Ws)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*qs),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*qs)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Us)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Us)/2+1,easeInBounce:e=>1-Qs(1-e),easeOutBounce:Qs,easeInOutBounce:e=>e<.5?(1-Qs(1-2*e))/2:(1+Qs(2*e-1))/2}.linear,clamp:!1});class Xs{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,Gs)}}function Zs(e,t){if(Uo.und(t.decay)){const r=!Uo.und(t.tension)||!Uo.und(t.friction);!r&&Uo.und(t.frequency)&&Uo.und(t.damping)&&Uo.und(t.mass)||(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}else e.duration=void 0}const Ks=[];class Ys{constructor(){this.changed=!1,this.values=Ks,this.toValues=null,this.fromValues=Ks,this.to=void 0,this.from=void 0,this.config=new Xs,this.immediate=!1}}function Js(e,{key:t,props:r,defaultProps:n,state:i,actions:o}){return new Promise(((a,s)=>{var l;let c,u,d=zs(null!=(l=r.cancel)?l:null==n?void 0:n.cancel,t);if(d)f();else{Uo.und(r.pause)||(i.paused=zs(r.pause,t));let e=null==n?void 0:n.pause;!0!==e&&(e=i.paused||zs(e,t)),c=Bs(r.delay||0,t),e?(i.resumeQueue.add(p),o.pause()):(o.resume(),p())}function h(){i.resumeQueue.add(p),i.timeouts.delete(u),u.cancel(),c=u.time-jo.now()}function p(){c>0&&!oa.skipAnimation?(i.delayed=!0,u=jo.setTimeout(f,c),i.pauseQueue.add(h),i.timeouts.add(u)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),e<=(i.cancelId||0)&&(d=!0);try{o.start(js({},r,{callId:e,cancel:d}),a)}catch(e){s(e)}}}))}const el=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?nl(e.get()):t.every((e=>e.noop))?tl(e.get()):rl(e.get(),t.every((e=>e.finished))),tl=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),rl=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),nl=e=>({value:e,cancelled:!0,finished:!1});function il(e,t,r,n){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=r;return o||e!==s||t.reset?r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const c=Ns(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const h=new Promise(((e,t)=>(u=e,d=t))),p=e=>{const t=i<=(r.cancelId||0)&&nl(n)||i!==r.asyncId&&rl(n,!1);if(t)throw e.result=t,d(e),e},f=(e,t)=>{const o=new al,a=new sl;return(async()=>{if(oa.skipAnimation)throw ol(r),a.result=rl(n,!1),d(a),a;p(o);const s=Uo.obj(e)?js({},e):js({},t,{to:e});s.parentId=i,Xo(c,((e,t)=>{Uo.und(s[t])&&(s[t]=e)}));const l=await n.start(s);return p(o),r.paused&&await new Promise((e=>{r.resumeQueue.add(e)})),l})()};let g;if(oa.skipAnimation)return ol(r),rl(n,!1);try{let t;t=Uo.arr(e)?(async e=>{for(const t of e)await f(t)})(e):Promise.resolve(e(f,n.stop.bind(n))),await Promise.all([t.then(u),h]),g=rl(n.get(),!0,!1)}catch(e){if(e instanceof al)g=e.result;else{if(!(e instanceof sl))throw e;g=e.result}}finally{i==r.asyncId&&(r.asyncId=o,r.asyncTo=o?s:void 0,r.promise=o?l:void 0)}return Uo.fun(a)&&jo.batchedUpdates((()=>{a(g,n,n.item)})),g})():l}function ol(e,t){Ko(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class al extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class sl extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const ll=e=>e instanceof ul;let cl=1;class ul extends Va{constructor(...e){super(...e),this.id=cl++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=hs(this);return e&&e.getValue()}to(...e){return oa.to(this,e)}interpolate(...e){return ns(`${ts}The "interpolate" function is deprecated in v9 (use "to" instead)`),oa.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Ma(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ua.sort(this),Ma(this,{type:"priority",parent:this,priority:e})}}const dl=Symbol.for("SpringPhase"),hl=e=>(1&e[dl])>0,pl=e=>(2&e[dl])>0,fl=e=>(4&e[dl])>0,gl=(e,t)=>t?e[dl]|=3:e[dl]&=-3,ml=(e,t)=>t?e[dl]|=4:e[dl]&=-5;class yl extends ul{constructor(e,t){if(super(),this.key=void 0,this.animation=new Ys,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Uo.und(e)||!Uo.und(t)){const r=Uo.obj(e)?js({},e):js({},t,{from:e});Uo.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(pl(this)||this._state.asyncTo)||fl(this)}get goal(){return Ia(this.animation.to)}get velocity(){const e=hs(this);return e instanceof ms?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return hl(this)}get isAnimating(){return pl(this)}get isPaused(){return fl(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1;const n=this.animation;let{config:i,toValues:o}=n;const a=fs(n.to);!a&&Ea(n.to)&&(o=Zo(Ia(n.to))),n.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==ys?1:a?a[l].lastPosition:o[l];let u=n.immediate,d=c;if(!u){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const r=n.fromValues[l],o=null!=s.v0?s.v0:s.v0=Uo.arr(i.velocity)?i.velocity[l]:i.velocity;let a;if(Uo.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,n=Math.exp(-(1-e)*t);d=r+o/(1-e)*(1-n),u=Math.abs(s.lastPosition-d)<.1,a=o*n}else{a=null==s.lastVelocity?o:s.lastVelocity;const t=i.precision||(r==c?.005:Math.min(1,.001*Math.abs(c-r))),n=i.restVelocity||t/10,l=i.clamp?0:i.bounce,h=!Uo.und(l),p=r==c?s.v0>0:r<c;let f,g=!1;const m=1,y=Math.ceil(e/m);for(let e=0;e<y&&(f=Math.abs(a)>n,f||(u=Math.abs(c-d)<=t,!u));++e){h&&(g=d==c||d>c==p,g&&(a=-a*l,d=c));a+=(1e-6*-i.tension*(d-c)+.001*-i.friction*a)/i.mass*m,d+=a*m}}else{let n=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),n=(i.progress||0)+t/this._memoizedDuration,n=n>1?1:n<0?0:n,s.durationProgress=n),d=r+i.easing(n)*(c-r),a=(d-s.lastPosition)/e,u=1==n}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,i.round)&&(r=!0)}));const s=hs(this),l=s.getValue();if(t){const e=Ia(n.to);l===e&&!r||i.decay?r&&i.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else r&&this._onChange(l)}set(e){return jo.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(pl(this)){const{to:e,config:t}=this.animation;jo.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return Uo.und(e)?(r=this.queue||[],this.queue=[]):r=[Uo.obj(e)?e:js({},t,{to:e})],Promise.all(r.map((e=>this._update(e)))).then((e=>el(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),ol(this._state,e&&this._lastCallId),jo.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:r,from:n}=e;r=Uo.obj(r)?r[t]:r,(null==r||Vs(r))&&(r=void 0),n=Uo.obj(n)?n[t]:n,null==n&&(n=void 0);const i={to:r,from:n};return hl(this)||(e.reverse&&([r,n]=[n,r]),n=Ia(n),Uo.und(n)?hs(this)||this._set(r):this._set(n)),i}_update(e,t){let r=js({},e);const{key:n,defaultProps:i}=this;r.default&&Object.assign(i,Ns(r,((e,t)=>/^on/.test(t)?As(e,n):e))),Sl(this,r,"onProps"),kl(this,"onProps",r,this);const o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return Js(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{fl(this)||(ml(this,!0),Yo(a.pauseQueue),kl(this,"onPause",rl(this,vl(this,this.animation.to)),this))},resume:()=>{fl(this)&&(ml(this,!1),pl(this)&&this._resume(),Yo(a.resumeQueue),kl(this,"onResume",rl(this,vl(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((e=>{if(r.loop&&e.finished&&(!t||!e.noop)){const e=bl(r);if(e)return this._update(e,!0)}return e}))}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(nl(this));const n=!Uo.und(e.to),i=!Uo.und(e.from);if(n||i){if(!(t.callId>this._lastToId))return r(nl(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||n||t.default&&!Uo.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const h=!Qo(d,c);h&&(s.from=d),d=Ia(d);const p=!Qo(u,l);p&&this._focus(u);const f=Vs(t.to),{config:g}=s,{decay:m,velocity:y}=g;(n||i)&&(g.velocity=0),t.config&&!f&&function(e,t,r){r&&(Zs(r=js({},r),t),t=js({},r,t)),Zs(e,t),Object.assign(e,t);for(const t in Gs)null==e[t]&&(e[t]=Gs[t]);let{mass:n,frequency:i,damping:o}=e;Uo.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*n,e.friction=4*Math.PI*o*n/i)}(g,Bs(t.config,o),t.config!==a.config?Bs(a.config,o):void 0);let v=hs(this);if(!v||Uo.und(u))return r(rl(this,!0));const b=Uo.und(t.reset)?i&&!t.default:!Uo.und(d)&&zs(t.reset,o),w=b?d:this.get(),_=Hs(u),$=Uo.num(_)||Uo.arr(_)||os(_),x=!f&&(!$||zs(a.immediate||t.immediate,o));if(p){const e=$s(u);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(_)}}const S=v.constructor;let k=Ea(u),F=!1;if(!k){const e=b||!hl(this)&&h;(p||e)&&(F=Qo(Hs(w),_),k=!F),(Qo(s.immediate,x)||x)&&Qo(g.decay,m)&&Qo(g.velocity,y)||(k=!0)}if(F&&pl(this)&&(s.changed&&!b?k=!0:k||this._stop(l)),!f&&((k||Ea(l))&&(s.values=v.getPayload(),s.toValues=Ea(u)?null:S==ys?[1]:Zo(_)),s.immediate!=x&&(s.immediate=x,x||b||this._set(l)),k)){const{onRest:e}=s;Go(xl,(e=>Sl(this,t,e)));const n=rl(this,vl(this,l));Yo(this._pendingCalls,n),this._pendingCalls.add(r),s.changed&&jo.batchedUpdates((()=>{s.changed=!b,null==e||e(n,this),b?Bs(a.onRest,n):null==s.onStart||s.onStart(n,this)}))}b&&this._set(w),f?r(il(t.to,t,this._state,this)):k?this._start():pl(this)&&!p?this._pendingCalls.add(r):r(tl(w))}_focus(e){const t=this.animation;e!==t.to&&(Ha(this)&&this._detach(),t.to=e,Ha(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ea(t)&&(Ta(t,this),ll(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ea(e)&&La(e,this)}_set(e,t=!0){const r=Ia(e);if(!Uo.und(r)){const e=hs(this);if(!e||!Qo(r,e.getValue())){const n=$s(r);e&&e.constructor==n?e.setValue(r):ps(this,n.create(r)),e&&jo.batchedUpdates((()=>{this._onChange(r,t)}))}}return hs(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,kl(this,"onStart",rl(this,vl(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Bs(this.animation.onChange,e,this)),Bs(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;hs(this).reset(Ia(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),pl(this)||(gl(this,!0),fl(this)||this._resume())}_resume(){oa.skipAnimation?this.finish():ua.start(this)}_stop(e,t){if(pl(this)){gl(this,!1);const r=this.animation;Go(r.values,(e=>{e.done=!0})),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Ma(this,{type:"idle",parent:this});const n=t?nl(this.get()):rl(this.get(),vl(this,null!=e?e:r.to));Yo(this._pendingCalls,n),r.changed&&(r.changed=!1,kl(this,"onRest",n,this))}}}function vl(e,t){const r=Hs(t);return Qo(Hs(e.get()),r)}function bl(e,t=e.loop,r=e.to){let n=Bs(t);if(n){const i=!0!==n&&Is(n),o=(i||e).reverse,a=!i||i.reset;return wl(js({},e,{loop:t,default:!1,pause:void 0,to:!o||Vs(r)?r:void 0,from:a?e.from:void 0,reset:a},i))}}function wl(e){const{to:t,from:r}=e=Is(e),n=new Set;return Uo.obj(t)&&$l(t,n),Uo.obj(r)&&$l(r,n),e.keys=n.size?Array.from(n):null,e}function _l(e){const t=wl(e);return Uo.und(t.default)&&(t.default=Ns(t)),t}function $l(e,t){Xo(e,((e,r)=>null!=e&&t.add(r)))}const xl=["onStart","onRest","onChange","onPause","onResume"];function Sl(e,t,r){e.animation[r]=t[r]!==Ps(t,r)?As(t[r],e.key):void 0}function kl(e,t,...r){var n,i,o,a;null==(n=(i=e.animation)[t])||n.call(i,...r),null==(o=(a=e.defaultProps)[t])||o.call(a,...r)}const Fl=["onStart","onChange","onRest"];let Ol=1;class jl{constructor(e,t){this.id=Ol++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(js({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,r)=>e[r]=t.get())),e}set(e){for(const t in e){const r=e[t];Uo.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(wl(e)),this}start(e){let{queue:t}=this;return e?t=Zo(e).map(wl):this.queue=[],this._flush?this._flush(this,t):(Dl(this,t),Bl(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const r=this.springs;Go(Zo(t),(t=>r[t].stop(!!e)))}else ol(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Uo.und(e))this.start({pause:!0});else{const t=this.springs;Go(Zo(e),(e=>t[e].pause()))}return this}resume(e){if(Uo.und(e))this.start({pause:!1});else{const t=this.springs;Go(Zo(e),(e=>t[e].resume()))}return this}each(e){Xo(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,Ko(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const o=!n&&this._started,a=i||o&&r.size?this.get():null;i&&t.size&&Ko(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,Ko(r,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}jo.onFrame(this._onFrame)}}function Bl(e,t){return Promise.all(t.map((t=>zl(e,t)))).then((t=>el(e,t)))}async function zl(e,t,r){const{keys:n,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=Uo.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Uo.arr(i)||Uo.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Go(Fl,(r=>{const n=t[r];if(Uo.fun(n)){const i=e._events[r];t[r]=({finished:e,cancelled:t})=>{const r=i.get(n);r?(e||(r.finished=!1),t&&(r.cancelled=!0)):i.set(n,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[r]=t[r])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Yo(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const h=(n||Object.keys(e.springs)).map((r=>e.springs[r].start(t))),p=!0===t.cancel||!0===Ps(t,"cancel");(u||p&&d.asyncId)&&h.push(Js(++e._lastAsyncId,{props:t,state:d,actions:{pause:qo,resume:qo,start(t,r){p?(ol(d,e._lastAsyncId),r(nl(e))):(t.onRest=s,r(il(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const f=el(e,await Promise.all(h));if(a&&f.finished&&(!r||!f.noop)){const r=bl(t,a,i);if(r)return Dl(e,[r]),zl(e,r,!0)}return l&&jo.batchedUpdates((()=>l(f,e,e.item))),f}function Al(e,t){const r=js({},e.springs);return t&&Go(Zo(t),(e=>{Uo.und(e.keys)&&(e=wl(e)),Uo.obj(e.to)||(e=js({},e,{to:void 0})),Nl(r,e,(e=>Cl(e)))})),Pl(e,r),r}function Pl(e,t){Xo(t,((t,r)=>{e.springs[r]||(e.springs[r]=t,Ta(t,e))}))}function Cl(e,t){const r=new yl;return r.key=e,t&&Ta(r,t),r}function Nl(e,t,r){t.keys&&Go(t.keys,(n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)}))}function Dl(e,t){Go(t,(t=>{Nl(e.springs,t,(t=>Cl(t,e)))}))}const El=["children"],Il=e=>{let{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,El);const i=u(Hl),l=r.pause||!!i.pause,c=r.immediate||!!i.immediate;r=function(e,t){const[r]=a((()=>({inputs:t,result:e()}))),n=s(),i=n.current;let l=i;l?Boolean(t&&l.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,l.inputs))||(l={inputs:t,result:e()}):l=r;return o((()=>{n.current=l,i==r&&(r.inputs=r.result=void 0)}),[l]),l.result}((()=>({pause:l,immediate:c})),[l,c]);const{Provider:d}=Hl;return n.createElement(d,{value:r},t)},Hl=(Ml=Il,Vl={},Object.assign(Ml,n.createContext(Vl)),Ml.Provider._context=Ml,Ml.Consumer._context=Ml,Ml);var Ml,Vl;Il.Provider=Hl.Provider,Il.Consumer=Hl.Consumer;const Rl=()=>{const e=[],t=function(t){is(`${ts}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const n=[];return Go(e,((e,i)=>{if(Uo.und(t))n.push(e.start());else{const o=r(t,e,i);o&&n.push(e.start(o))}})),n};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const r=e.indexOf(t);~r&&e.splice(r,1)},t.pause=function(){return Go(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Go(e,(e=>e.resume(...arguments))),this},t.set=function(t){Go(e,(e=>e.set(t)))},t.start=function(t){const r=[];return Go(e,((e,n)=>{if(Uo.und(t))r.push(e.start());else{const i=this._getProps(t,e,n);i&&r.push(e.start(i))}})),r},t.stop=function(){return Go(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Go(e,((e,r)=>e.update(this._getProps(t,e,r)))),this};const r=function(e,t,r){return Uo.fun(e)?e(r,t):e};return t._getProps=r,t};function Tl(e,t,r){const n=Uo.fun(t)&&t;n&&!r&&(r=[]);const i=d((()=>n||3==arguments.length?Rl():void 0),[]),o=s(0),a=ss(),l=d((()=>({ctrls:[],queue:[],flush(e,t){const r=Al(e,t);return o.current>0&&!l.queue.length&&!Object.keys(r).some((t=>!e.springs[t]))?Bl(e,t):new Promise((n=>{Pl(e,r),l.queue.push((()=>{n(Bl(e,t))})),a()}))}})),[]),c=s([...l.ctrls]),h=[],p=us(e)||0;function f(e,r){for(let i=e;i<r;i++){const e=c.current[i]||(c.current[i]=new jl(null,l.flush)),r=n?n(i,e):t[i];r&&(h[i]=_l(r))}}d((()=>{Go(c.current.slice(e,p),(e=>{Rs(e,i),e.stop(!0)})),c.current.length=e,f(p,e)}),[e]),d((()=>{f(0,Math.min(p,e))}),r);const g=c.current.map(((e,t)=>Al(e,h[t]))),m=u(Il),y=us(m),v=m!==y&&Ms(m);as((()=>{o.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],Go(e,(e=>e()))),Go(c.current,((e,t)=>{null==i||i.add(e),v&&e.start({default:m});const r=h[t];r&&(Ts(e,r.ref),e.ref?e.queue.push(r):e.start(r))}))})),ls((()=>()=>{Go(l.ctrls,(e=>e.stop(!0)))}));const b=g.map((e=>js({},e)));return i?[b,i]:b}let Ll;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(Ll||(Ll={}));class Wl extends ul{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Pa(...t);const r=this._get(),n=$s(r);ps(this,n.create(r))}advance(e){const t=this._get();Qo(t,this.get())||(hs(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ul(this._active)&&Ql(this)}_get(){const e=Uo.arr(this.source)?this.source.map(Ia):Zo(Ia(this.source));return this.calc(...e)}_start(){this.idle&&!Ul(this._active)&&(this.idle=!1,Go(fs(this),(e=>{e.done=!1})),oa.skipAnimation?(jo.batchedUpdates((()=>this.advance())),Ql(this)):ua.start(this))}_attach(){let e=1;Go(Zo(this.source),(t=>{Ea(t)&&Ta(t,this),ll(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Go(Zo(this.source),(e=>{Ea(e)&&La(e,this)})),this._active.clear(),Ql(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Zo(this.source).reduce(((e,t)=>Math.max(e,(ll(t)?t.priority:0)+1)),0))}}function ql(e){return!1!==e.idle}function Ul(e){return!e.size||Array.from(e).every(ql)}function Ql(e){e.idle||(e.idle=!0,Go(fs(e),(e=>{e.done=!0})),Ma(e,{type:"idle",parent:e}))}function Gl(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}oa.assign({createStringInterpolator:es,to:(e,t)=>new Wl(e,t)});const Xl=["style","children","scrollTop","scrollLeft"],Zl=/^--/;function Kl(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Zl.test(e)||Jl.hasOwnProperty(e)&&Jl[e]?(""+t).trim():t+"px"}const Yl={};let Jl={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const ec=["Webkit","Ms","Moz","O"];Jl=Object.keys(Jl).reduce(((e,t)=>(ec.forEach((r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t])),e)),Jl);const tc=["x","y","z"],rc=/^(matrix|translate|scale|rotate|skew)/,nc=/^(translate)/,ic=/^(rotate|skew)/,oc=(e,t)=>Uo.num(e)&&0!==e?e+t:e,ac=(e,t)=>Uo.arr(e)?e.every((e=>ac(e,t))):Uo.num(e)?e===t:parseFloat(e)===t;class sc extends bs{constructor(e){let{x:t,y:r,z:n}=e,i=Gl(e,tc);const o=[],a=[];(t||r||n)&&(o.push([t||0,r||0,n||0]),a.push((e=>[`translate3d(${e.map((e=>oc(e,"px"))).join(",")})`,ac(e,0)]))),Xo(i,((e,t)=>{if("transform"===t)o.push([e||""]),a.push((e=>[e,""===e]));else if(rc.test(t)){if(delete i[t],Uo.und(e))return;const r=nc.test(t)?"px":ic.test(t)?"deg":"";o.push(Zo(e)),a.push("rotate3d"===t?([e,t,n,i])=>[`rotate3d(${e},${t},${n},${oc(i,r)})`,ac(i,0)]:e=>[`${t}(${e.map((e=>oc(e,r))).join(",")})`,ac(e,t.startsWith("scale")?1:0)])}})),o.length&&(i.transform=new lc(o,a)),super(i)}}class lc extends Va{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Go(this.inputs,((r,n)=>{const i=Ia(r[0]),[o,a]=this.transforms[n](Uo.arr(i)?i:r.map(Ia));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Go(this.inputs,(e=>Go(e,(e=>Ea(e)&&Ta(e,this)))))}observerRemoved(e){0==e&&Go(this.inputs,(e=>Go(e,(e=>Ea(e)&&La(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Ma(this,e)}}const cc=["scrollTop","scrollLeft"];oa.assign({batchedUpdates:g,createStringInterpolator:es,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});const uc=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:r=(e=>new bs(e)),getComponentProps:n=(e=>e)}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},o=e=>{const t=Os(e)||"Anonymous";return(e=Uo.str(e)?o[e]||(o[e]=Ss(e,i)):e[Fs]||(e[Fs]=Ss(e,i))).displayName=`Animated(${t})`,e};return Xo(e,((t,r)=>{Uo.arr(e)&&(r=Os(t)),o[r]=o(t)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,n=t,{style:i,children:o,scrollTop:a,scrollLeft:s}=n,l=Gl(n,Xl),c=Object.values(l),u=Object.keys(l).map((t=>r||e.hasAttribute(t)?t:Yl[t]||(Yl[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(let t in i)if(i.hasOwnProperty(t)){const r=Kl(t,i[t]);Zl.test(t)?e.style.setProperty(t,r):e.style[t]=r}u.forEach(((t,r)=>{e.setAttribute(t,c[r])})),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new sc(e),getComponentProps:e=>Gl(e,cc)}),dc=uc.animated,hc={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},pc=e=>Object.keys(hc).reduce(((t,r)=>{const n=hc[r];return t[r]=`@media screen and (${e}: ${n}px)`,t}),{}),fc=pc("max-width"),gc=(pc("min-width"),h.div`
|
|
283
|
+
`;var pr=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1},fr=We;var gr=We,mr=qe,yr=st;var vr=We,br=function(){this.__data__=new fr,this.size=0},wr=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},_r=function(e){return this.__data__.get(e)},$r=function(e){return this.__data__.has(e)},xr=function(e,t){var r=this.__data__;if(r instanceof gr){var n=r.__data__;if(!mr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new yr(n)}return r.set(e,t),this.size=r.size,this};function Sr(e){var t=this.__data__=new vr(e);this.size=t.size}Sr.prototype.clear=br,Sr.prototype.delete=wr,Sr.prototype.get=_r,Sr.prototype.has=$r,Sr.prototype.set=xr;var kr=Sr;var Fr=st,Or=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},jr=function(e){return this.__data__.has(e)};function Br(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Fr;++t<r;)this.add(e[t])}Br.prototype.add=Br.prototype.push=Or,Br.prototype.has=jr;var zr=Br,Cr=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1},Ar=function(e,t){return e.has(t)};var Pr=function(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&r?new zr:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var f=e[d],g=t[d];if(n)var m=a?n(g,f,d,t,e,o):n(f,g,d,e,t,o);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!Cr(t,(function(e,t){if(!Ar(p,t)&&(f===e||i(f,e,r,n,o)))return p.push(t)}))){h=!1;break}}else if(f!==g&&!i(f,g,r,n,o)){h=!1;break}}return o.delete(e),o.delete(t),h};var Nr=_.Uint8Array,Dr=ze,Er=Pr,Ir=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r},Hr=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},Mr=$?$.prototype:void 0,Vr=Mr?Mr.valueOf:void 0;var Rr=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new Nr(e),new Nr(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Dr(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Ir;case"[object Set]":var l=1&n;if(s||(s=Hr),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var u=Er(s(e),s(t),n,i,o,a);return a.delete(e),u;case"[object Symbol]":if(Vr)return Vr.call(e)==Vr.call(t)}return!1};var Lr=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},Tr=y;var Wr=function(e,t,r){var n=t(e);return Tr(e)?n:Lr(n,r(e))};var qr=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o},Ur=function(){return[]},Qr=Object.prototype.propertyIsEnumerable,Gr=Object.getOwnPropertySymbols,Xr=Gr?function(e){return null==e?[]:(e=Object(e),qr(Gr(e),(function(t){return Qr.call(e,t)})))}:Ur;var Zr=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Kr=P,Yr=N;var Jr=function(e){return Yr(e)&&"[object Arguments]"==Kr(e)},en=N,tn=Object.prototype,rn=tn.hasOwnProperty,nn=tn.propertyIsEnumerable,on=Jr(function(){return arguments}())?Jr:function(e){return en(e)&&rn.call(e,"callee")&&!nn.call(e,"callee")},an={exports:{}};var sn=function(){return!1};!function(e,t){var r=_,n=sn,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=(a?a.isBuffer:void 0)||n;e.exports=s}(an,an.exports);var ln=/^(?:0|[1-9]\d*)$/;var cn=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&ln.test(e))&&e>-1&&e%1==0&&e<t};var un=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},dn=P,hn=un,pn=N,fn={};fn["[object Float32Array]"]=fn["[object Float64Array]"]=fn["[object Int8Array]"]=fn["[object Int16Array]"]=fn["[object Int32Array]"]=fn["[object Uint8Array]"]=fn["[object Uint8ClampedArray]"]=fn["[object Uint16Array]"]=fn["[object Uint32Array]"]=!0,fn["[object Arguments]"]=fn["[object Array]"]=fn["[object ArrayBuffer]"]=fn["[object Boolean]"]=fn["[object DataView]"]=fn["[object Date]"]=fn["[object Error]"]=fn["[object Function]"]=fn["[object Map]"]=fn["[object Number]"]=fn["[object Object]"]=fn["[object RegExp]"]=fn["[object Set]"]=fn["[object String]"]=fn["[object WeakMap]"]=!1;var gn=function(e){return pn(e)&&hn(e.length)&&!!fn[dn(e)]};var mn=function(e){return function(t){return e(t)}},yn={exports:{}};!function(e,t){var r=v,n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(yn,yn.exports);var vn=gn,bn=mn,wn=yn.exports,_n=wn&&wn.isTypedArray,$n=_n?bn(_n):vn,xn=Zr,Sn=on,kn=y,Fn=an.exports,On=cn,jn=$n,Bn=Object.prototype.hasOwnProperty;var zn=function(e,t){var r=kn(e),n=!r&&Sn(e),i=!r&&!n&&Fn(e),o=!r&&!n&&!i&&jn(e),a=r||n||i||o,s=a?xn(e.length,String):[],l=s.length;for(var c in e)!t&&!Bn.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||On(c,l))||s.push(c);return s},Cn=Object.prototype;var An=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Cn)};var Pn=function(e,t){return function(r){return e(t(r))}}(Object.keys,Object),Nn=An,Dn=Pn,En=Object.prototype.hasOwnProperty;var In=Q,Hn=un;var Mn=zn,Vn=function(e){if(!Nn(e))return Dn(e);var t=[];for(var r in Object(e))En.call(e,r)&&"constructor"!=r&&t.push(r);return t},Rn=function(e){return null!=e&&Hn(e.length)&&!In(e)};var Ln=function(e){return Rn(e)?Mn(e):Vn(e)},Tn=Wr,Wn=Xr,qn=Ln;var Un=function(e){return Tn(e,qn,Wn)},Qn=Object.prototype.hasOwnProperty;var Gn=function(e,t,r,n,i,o){var a=1&r,s=Un(e),l=s.length;if(l!=Un(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Qn.call(t,u)))return!1}var d=o.get(e),h=o.get(t);if(d&&h)return d==t&&h==e;var p=!0;o.set(e,t),o.set(t,e);for(var f=a;++c<l;){var g=e[u=s[c]],m=t[u];if(n)var y=a?n(m,g,u,t,e,o):n(g,m,u,e,t,o);if(!(void 0===y?g===m||i(g,m,r,n,o):y)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(p=!1)}return o.delete(e),o.delete(t),p},Xn=de(_,"DataView"),Zn=qe,Kn=de(_,"Promise"),Yn=de(_,"Set"),Jn=de(_,"WeakMap"),ei=P,ti=Y,ri=ti(Xn),ni=ti(Zn),ii=ti(Kn),oi=ti(Yn),ai=ti(Jn),si=ei;(Xn&&"[object DataView]"!=si(new Xn(new ArrayBuffer(1)))||Zn&&"[object Map]"!=si(new Zn)||Kn&&"[object Promise]"!=si(Kn.resolve())||Yn&&"[object Set]"!=si(new Yn)||Jn&&"[object WeakMap]"!=si(new Jn))&&(si=function(e){var t=ei(e),r="[object Object]"==t?e.constructor:void 0,n=r?ti(r):"";if(n)switch(n){case ri:return"[object DataView]";case ni:return"[object Map]";case ii:return"[object Promise]";case oi:return"[object Set]";case ai:return"[object WeakMap]"}return t});var li=kr,ci=Pr,ui=Rr,di=Gn,hi=si,pi=y,fi=an.exports,gi=$n,mi="[object Object]",yi=Object.prototype.hasOwnProperty;var vi=function(e,t,r,n,i,o){var a=pi(e),s=pi(t),l=a?"[object Array]":hi(e),c=s?"[object Array]":hi(t),u=(l="[object Arguments]"==l?mi:l)==mi,d=(c="[object Arguments]"==c?mi:c)==mi,h=l==c;if(h&&fi(e)){if(!fi(t))return!1;a=!0,u=!1}if(h&&!u)return o||(o=new li),a||gi(e)?ci(e,t,r,n,i,o):ui(e,t,l,r,n,i,o);if(!(1&r)){var p=u&&yi.call(e,"__wrapped__"),f=d&&yi.call(t,"__wrapped__");if(p||f){var g=p?e.value():e,m=f?t.value():t;return o||(o=new li),i(g,m,r,n,o)}}return!!h&&(o||(o=new li),di(e,t,r,n,i,o))},bi=N;var wi=function e(t,r,n,i,o){return t===r||(null==t||null==r||!bi(t)&&!bi(r)?t!=t&&r!=r:vi(t,r,n,i,e,o))},_i=kr,$i=wi;var xi=T;var Si=function(e){return e==e&&!xi(e)},ki=Si,Fi=Ln;var Oi=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},ji=function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var l=(s=r[i])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new _i;if(n)var h=n(c,u,l,e,t,d);if(!(void 0===h?$i(u,c,3,n,d):h))return!1}}return!0},Bi=function(e){for(var t=Fi(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,ki(i)]}return t},zi=Oi;var Ci=kt,Ai=on,Pi=y,Ni=cn,Di=un,Ei=Ot;var Ii=function(e,t){return null!=e&&t in Object(e)},Hi=function(e,t,r){for(var n=-1,i=(t=Ci(t,e)).length,o=!1;++n<i;){var a=Ei(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Di(i)&&Ni(a,i)&&(Pi(e)||Ai(e))};var Mi=wi,Vi=At,Ri=function(e,t){return null!=e&&Hi(e,t,Ii)},Li=L,Ti=Si,Wi=Oi,qi=Ot;var Ui=zt;var Qi=function(e){return function(t){return null==t?void 0:t[e]}},Gi=function(e){return function(t){return Ui(t,e)}},Xi=L,Zi=Ot;var Ki=function(e){var t=Bi(e);return 1==t.length&&t[0][2]?zi(t[0][0],t[0][1]):function(r){return r===e||ji(r,e,t)}},Yi=function(e,t){return Li(e)&&Ti(t)?Wi(qi(e),t):function(r){var n=Vi(r,e);return void 0===n&&n===t?Ri(r,e):Mi(t,n,3)}},Ji=function(e){return e},eo=y,to=function(e){return Xi(e)?Qi(Zi(e)):Gi(e)};var ro=/\s/;var no=function(e){for(var t=e.length;t--&&ro.test(e.charAt(t)););return t},io=/^\s+/;var oo=function(e){return e?e.slice(0,no(e)+1).replace(io,""):e},ao=T,so=I,lo=/^[-+]0x[0-9a-f]+$/i,co=/^0b[01]+$/i,uo=/^0o[0-7]+$/i,ho=parseInt;var po=function(e){if("number"==typeof e)return e;if(so(e))return NaN;if(ao(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ao(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=oo(e);var r=co.test(e);return r||uo.test(e)?ho(e.slice(2),r?2:8):lo.test(e)?NaN:+e};var fo=function(e){return e?Infinity===(e=po(e))||-Infinity===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var go=pr,mo=function(e){return"function"==typeof e?e:null==e?Ji:"object"==typeof e?eo(e)?Yi(e[0],e[1]):Ki(e):to(e)},yo=function(e){var t=fo(e),r=t%1;return t==t?r?t-r:t:0},vo=Math.max;var bo=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:yo(r);return i<0&&(i=vo(n+i,0)),go(e,mo(t),i)},wo={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},_o=i.createContext&&i.createContext(wo),$o=function(){return $o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},$o.apply(this,arguments)},xo=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function So(e){return e&&e.map((function(e,t){return i.createElement(e.tag,$o({key:t},e.attr),So(e.child))}))}function ko(e){return function(t){return i.createElement(Fo,$o({attr:$o({},e.attr)},t),So(e.child))}}function Fo(e){var t=function(t){var r,n=e.attr,o=e.size,a=e.title,s=xo(e,["attr","size","title"]),l=o||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),i.createElement("svg",$o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,s,{className:r,style:$o($o({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&i.createElement("title",null,a),e.children)};return void 0!==_o?i.createElement(_o.Consumer,null,(function(e){return t(e)})):t(wo)}function Oo(e){return ko({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.6 48 48 141.601 48 256s93.6 208 208 208 208-93.601 208-208S370.4 48 256 48zm24 312h-48v-40h48v40zm0-88h-48V144h48v128z"}}]})(e)}let jo=Wo();const Bo=e=>Vo(e,jo);let zo=Wo();Bo.write=e=>Vo(e,zo);let Co=Wo();Bo.onStart=e=>Vo(e,Co);let Ao=Wo();Bo.onFrame=e=>Vo(e,Ao);let Po=Wo();Bo.onFinish=e=>Vo(e,Po);let No=[];Bo.setTimeout=(e,t)=>{let r=Bo.now()+t,n=()=>{let e=No.findIndex((e=>e.cancel==n));~e&&No.splice(e,1),Ho-=~e?1:0},i={time:r,handler:e,cancel:n};return No.splice(Do(r),0,i),Ho+=1,Ro(),i};let Do=e=>~(~No.findIndex((t=>t.time>e))||~No.length);Bo.cancel=e=>{Co.delete(e),Ao.delete(e),jo.delete(e),zo.delete(e),Po.delete(e)},Bo.sync=e=>{Mo=!0,Bo.batchedUpdates(e),Mo=!1},Bo.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...e){t=e,Bo.onStart(r)}return n.handler=e,n.cancel=()=>{Co.delete(r),t=null},n};let Eo="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Bo.use=e=>Eo=e,Bo.now="undefined"!=typeof performance?()=>performance.now():Date.now,Bo.batchedUpdates=e=>e(),Bo.catch=console.error,Bo.frameLoop="always",Bo.advance=()=>{"demand"!==Bo.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):To()};let Io=-1,Ho=0,Mo=!1;function Vo(e,t){Mo?(t.delete(e),e(0)):(t.add(e),Ro())}function Ro(){Io<0&&(Io=0,"demand"!==Bo.frameLoop&&Eo(Lo))}function Lo(){~Io&&(Eo(Lo),Bo.batchedUpdates(To))}function To(){let e=Io;Io=Bo.now();let t=Do(Io);t&&(qo(No.splice(0,t),(e=>e.handler())),Ho-=t),Co.flush(),jo.flush(e?Math.min(64,Io-e):16.667),Ao.flush(),zo.flush(),Po.flush(),Ho||(Io=-1)}function Wo(){let e=new Set,t=e;return{add(r){Ho+=t!=e||e.has(r)?0:1,e.add(r)},delete:r=>(Ho-=t==e&&e.has(r)?1:0,e.delete(r)),flush(r){t.size&&(e=new Set,Ho-=t.size,qo(t,(t=>t(r)&&e.add(t))),Ho+=e.size,t=e)}}}function qo(e,t){e.forEach((e=>{try{t(e)}catch(e){Bo.catch(e)}}))}function Uo(){}const Qo={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function Go(e,t){if(Qo.arr(e)){if(!Qo.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}const Xo=(e,t)=>e.forEach(t);function Zo(e,t,r){if(Qo.arr(e))for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);else for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}const Ko=e=>Qo.und(e)?[]:Qo.arr(e)?e:[e];function Yo(e,t){if(e.size){const r=Array.from(e);e.clear(),Xo(r,t)}}const Jo=(e,...t)=>Yo(e,(e=>e(...t))),ea=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let ta,ra,na=null,ia=!1,oa=Uo;var aa=Object.freeze({__proto__:null,get createStringInterpolator(){return ta},get to(){return ra},get colors(){return na},get skipAnimation(){return ia},get willAdvance(){return oa},assign:e=>{e.to&&(ra=e.to),e.now&&(Bo.now=e.now),void 0!==e.colors&&(na=e.colors),null!=e.skipAnimation&&(ia=e.skipAnimation),e.createStringInterpolator&&(ta=e.createStringInterpolator),e.requestAnimationFrame&&Bo.use(e.requestAnimationFrame),e.batchedUpdates&&(Bo.batchedUpdates=e.batchedUpdates),e.willAdvance&&(oa=e.willAdvance),e.frameLoop&&(Bo.frameLoop=e.frameLoop)}});const sa=new Set;let la=[],ca=[],ua=0;const da={get idle(){return!sa.size&&!la.length},start(e){ua>e.priority?(sa.add(e),Bo.onStart(ha)):(pa(e),Bo(ga))},advance:ga,sort(e){if(ua)Bo.onFrame((()=>da.sort(e)));else{const t=la.indexOf(e);~t&&(la.splice(t,1),fa(e))}},clear(){la=[],sa.clear()}};function ha(){sa.forEach(pa),sa.clear(),Bo(ga)}function pa(e){la.includes(e)||fa(e)}function fa(e){la.splice(function(e,t){const r=e.findIndex(t);return r<0?e.length:r}(la,(t=>t.priority>e.priority)),0,e)}function ga(e){const t=ca;for(let r=0;r<la.length;r++){const n=la[r];ua=n.priority,n.idle||(oa(n),n.advance(e),n.idle||t.push(n))}return ua=0,ca=la,ca.length=0,la=t,la.length>0}const ma="[-+]?\\d*\\.?\\d+";function ya(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const va=new RegExp("rgb"+ya(ma,ma,ma)),ba=new RegExp("rgba"+ya(ma,ma,ma,ma)),wa=new RegExp("hsl"+ya(ma,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),_a=new RegExp("hsla"+ya(ma,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",ma)),$a=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,xa=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Sa=/^#([0-9a-fA-F]{6})$/,ka=/^#([0-9a-fA-F]{8})$/;function Fa(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Oa(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,o=Fa(i,n,e+1/3),a=Fa(i,n,e),s=Fa(i,n,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function ja(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ba(e){return(parseFloat(e)%360+360)%360/360}function za(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ca(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Aa(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Sa.exec(e))?parseInt(t[1]+"ff",16)>>>0:na&&void 0!==na[e]?na[e]:(t=va.exec(e))?(ja(t[1])<<24|ja(t[2])<<16|ja(t[3])<<8|255)>>>0:(t=ba.exec(e))?(ja(t[1])<<24|ja(t[2])<<16|ja(t[3])<<8|za(t[4]))>>>0:(t=$a.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ka.exec(e))?parseInt(t[1],16)>>>0:(t=xa.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=wa.exec(e))?(255|Oa(Ba(t[1]),Ca(t[2]),Ca(t[3])))>>>0:(t=_a.exec(e))?(Oa(Ba(t[1]),Ca(t[2]),Ca(t[3]))|za(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Pa=(e,t,r)=>{if(Qo.fun(e))return e;if(Qo.arr(e))return Pa({range:e,output:t,extrapolate:r});if(Qo.str(e.output[0]))return ta(e);const n=e,i=n.output,o=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(e=>e);return e=>{const t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,o);return function(e,t,r,n,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>r){if("identity"===s)return c;"clamp"===s&&(c=r)}if(n===i)return n;if(t===r)return e<=t?n:i;t===-1/0?c=-c:r===1/0?c-=t:c=(c-t)/(r-t);c=o(c),n===-1/0?c=-c:i===1/0?c+=n:c=c*(i-n)+n;return c}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,n.map)}};function Na(){return Na=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Na.apply(this,arguments)}const Da=Symbol.for("FluidValue.get"),Ea=Symbol.for("FluidValue.observers"),Ia=e=>Boolean(e&&e[Da]),Ha=e=>e&&e[Da]?e[Da]():e,Ma=e=>e[Ea]||null;function Va(e,t){let r=e[Ea];r&&r.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}class Ra{constructor(e){if(this[Da]=void 0,this[Ea]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");La(this,e)}}const La=(e,t)=>qa(e,Da,t);function Ta(e,t){if(e[Da]){let r=e[Ea];r||qa(e,Ea,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function Wa(e,t){let r=e[Ea];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[Ea]=null,e.observerRemoved&&e.observerRemoved(n,t)}}const qa=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),Ua=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Qa=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ga=new RegExp(`(${Ua.source})(%|[a-z]+)`,"i"),Xa=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Za=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Ka=e=>{const[t,r]=Ya(e);if(!t||ea())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(r);return t||e}return r&&Za.test(r)?Ka(r):r||e},Ya=e=>{const t=Za.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]};let Ja;const es=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,ts=e=>{Ja||(Ja=na?new RegExp(`(${Object.keys(na).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ha(e).replace(Za,Ka).replace(Qa,Aa).replace(Ja,Aa))),r=t.map((e=>e.match(Ua).map(Number))),n=r[0].map(((e,t)=>r.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>Pa(Na({},e,{output:t}))));return e=>{var r;const i=!Ga.test(t[0])&&(null==(r=t.find((e=>Ga.test(e))))?void 0:r.replace(Ua,""));let o=0;return t[0].replace(Ua,(()=>`${n[o++](e)}${i||""}`)).replace(Xa,es)}},rs="react-spring: ",ns=e=>{const t=e;let r=!1;if("function"!=typeof t)throw new TypeError(`${rs}once requires a function parameter`);return(...e)=>{r||(t(...e),r=!0)}},is=ns(console.warn);const os=ns(console.warn);function as(e){return Qo.str(e)&&("#"==e[0]||/\d/.test(e)||!ea()&&Za.test(e)||e in(na||{}))}const ss="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect;function ls(){const e=a()[1],t=(()=>{const e=s(!1);return ss((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}const cs=e=>o(e,us),us=[];function ds(e){const t=s();return o((()=>{t.current=e})),t.current}const hs=Symbol.for("Animated:node"),ps=e=>e&&e[hs],fs=(e,t)=>{return r=e,n=hs,i=t,Object.defineProperty(r,n,{value:i,writable:!0,configurable:!0});var r,n,i},gs=e=>e&&e[hs]&&e[hs].getPayload();class ms{constructor(){this.payload=void 0,fs(this,this)}getPayload(){return this.payload||[]}}class ys extends ms{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,Qo.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ys(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Qo.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Qo.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class vs extends ys{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Pa({output:[e,e]})}static create(e){return new vs(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Qo.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Pa({output:[this.getValue(),e]})),this._value=0,super.reset()}}const bs={dependencies:null};class ws extends ms{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Zo(this.source,((r,n)=>{var i;(i=r)&&i[hs]===i?t[n]=r.getValue(e):Ia(r)?t[n]=Ha(r):e||(t[n]=r)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Xo(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Zo(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){bs.dependencies&&Ia(e)&&bs.dependencies.add(e);const t=gs(e);t&&Xo(t,(e=>this.add(e)))}}class _s extends ws{constructor(e){super(e)}static create(e){return new _s(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,r)=>t.setValue(e[r]))).some(Boolean):(super.setValue(e.map($s)),!0)}}function $s(e){return(as(e)?vs:ys).create(e)}function xs(e){const t=ps(e);return t?t.constructor:Qo.arr(e)?_s:as(e)?vs:ys}function Ss(){return Ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ss.apply(this,arguments)}const ks=(e,t)=>{const r=!Qo.fun(e)||e.prototype&&e.prototype.isReactComponent;return l(((i,a)=>{const l=s(null),u=r&&c((e=>{l.current=function(e,t){e&&(Qo.fun(e)?e(t):e.current=t);return t}(a,e)}),[a]),[d,h]=function(e,t){const r=new Set;bs.dependencies=r,e.style&&(e=Ss({},e,{style:t.createAnimatedStyle(e.style)}));return e=new ws(e),bs.dependencies=null,[e,r]}(i,t),p=ls(),f=()=>{const e=l.current;if(r&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,d.getValue(!0)))&&p()},g=new Fs(f,h),m=s();ss((()=>(m.current=g,Xo(h,(e=>Ta(e,g))),()=>{m.current&&(Xo(m.current.deps,(e=>Wa(e,m.current))),Bo.cancel(m.current.update))}))),o(f,[]),cs((()=>()=>{const e=m.current;Xo(e.deps,(t=>Wa(t,e)))}));const y=t.getComponentProps(d.getValue());return n.createElement(e,Ss({},y,{ref:u}))}))};class Fs{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Bo.write(this.update)}}const Os=Symbol.for("AnimatedComponent"),js=e=>Qo.str(e)?e:e&&Qo.str(e.displayName)?e.displayName:Qo.fun(e)&&e.name||null;function Bs(){return Bs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bs.apply(this,arguments)}function zs(e,...t){return Qo.fun(e)?e(...t):e}const Cs=(e,t)=>!0===e||!!(t&&e&&(Qo.fun(e)?e(t):Ko(e).includes(t))),As=(e,t)=>Qo.obj(e)?t&&e[t]:e,Ps=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Ns=e=>e,Ds=(e,t=Ns)=>{let r=Es;e.default&&!0!==e.default&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const r=t(e[i],i);Qo.und(r)||(n[i]=r)}return n},Es=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Is={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Hs(e){const t=function(e){const t={};let r=0;if(Zo(e,((e,n)=>{Is[n]||(t[n]=e,r++)})),r)return t}(e);if(t){const r={to:t};return Zo(e,((e,n)=>n in t||(r[n]=e))),r}return Bs({},e)}function Ms(e){return e=Ha(e),Qo.arr(e)?e.map(Ms):as(e)?aa.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Vs(e){for(const t in e)return!0;return!1}function Rs(e){return Qo.fun(e)||Qo.arr(e)&&Qo.obj(e[0])}function Ls(e,t){var r;null==(r=e.ref)||r.delete(e),null==t||t.delete(e)}function Ts(e,t){var r;t&&e.ref!==t&&(null==(r=e.ref)||r.delete(e),t.add(e),e.ref=t)}const Ws=1.70158,qs=1.525*Ws,Us=2*Math.PI/3,Qs=2*Math.PI/4.5,Gs=e=>{const t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?t*(e-=1.5/r)*e+.75:e<2.5/r?t*(e-=2.25/r)*e+.9375:t*(e-=2.625/r)*e+.984375},Xs=Bs({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-Ws*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+Ws*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-qs)/2:(Math.pow(2*e-2,2)*((qs+1)*(2*e-2)+qs)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Us),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Us)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Qs)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Qs)/2+1,easeInBounce:e=>1-Gs(1-e),easeOutBounce:Gs,easeInOutBounce:e=>e<.5?(1-Gs(1-2*e))/2:(1+Gs(2*e-1))/2}.linear,clamp:!1});class Zs{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,Xs)}}function Ks(e,t){if(Qo.und(t.decay)){const r=!Qo.und(t.tension)||!Qo.und(t.friction);!r&&Qo.und(t.frequency)&&Qo.und(t.damping)&&Qo.und(t.mass)||(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}else e.duration=void 0}const Ys=[];class Js{constructor(){this.changed=!1,this.values=Ys,this.toValues=null,this.fromValues=Ys,this.to=void 0,this.from=void 0,this.config=new Zs,this.immediate=!1}}function el(e,{key:t,props:r,defaultProps:n,state:i,actions:o}){return new Promise(((a,s)=>{var l;let c,u,d=Cs(null!=(l=r.cancel)?l:null==n?void 0:n.cancel,t);if(d)f();else{Qo.und(r.pause)||(i.paused=Cs(r.pause,t));let e=null==n?void 0:n.pause;!0!==e&&(e=i.paused||Cs(e,t)),c=zs(r.delay||0,t),e?(i.resumeQueue.add(p),o.pause()):(o.resume(),p())}function h(){i.resumeQueue.add(p),i.timeouts.delete(u),u.cancel(),c=u.time-Bo.now()}function p(){c>0&&!aa.skipAnimation?(i.delayed=!0,u=Bo.setTimeout(f,c),i.pauseQueue.add(h),i.timeouts.add(u)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),e<=(i.cancelId||0)&&(d=!0);try{o.start(Bs({},r,{callId:e,cancel:d}),a)}catch(e){s(e)}}}))}const tl=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?il(e.get()):t.every((e=>e.noop))?rl(e.get()):nl(e.get(),t.every((e=>e.finished))),rl=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),nl=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),il=e=>({value:e,cancelled:!0,finished:!1});function ol(e,t,r,n){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=r;return o||e!==s||t.reset?r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const c=Ds(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const h=new Promise(((e,t)=>(u=e,d=t))),p=e=>{const t=i<=(r.cancelId||0)&&il(n)||i!==r.asyncId&&nl(n,!1);if(t)throw e.result=t,d(e),e},f=(e,t)=>{const o=new sl,a=new ll;return(async()=>{if(aa.skipAnimation)throw al(r),a.result=nl(n,!1),d(a),a;p(o);const s=Qo.obj(e)?Bs({},e):Bs({},t,{to:e});s.parentId=i,Zo(c,((e,t)=>{Qo.und(s[t])&&(s[t]=e)}));const l=await n.start(s);return p(o),r.paused&&await new Promise((e=>{r.resumeQueue.add(e)})),l})()};let g;if(aa.skipAnimation)return al(r),nl(n,!1);try{let t;t=Qo.arr(e)?(async e=>{for(const t of e)await f(t)})(e):Promise.resolve(e(f,n.stop.bind(n))),await Promise.all([t.then(u),h]),g=nl(n.get(),!0,!1)}catch(e){if(e instanceof sl)g=e.result;else{if(!(e instanceof ll))throw e;g=e.result}}finally{i==r.asyncId&&(r.asyncId=o,r.asyncTo=o?s:void 0,r.promise=o?l:void 0)}return Qo.fun(a)&&Bo.batchedUpdates((()=>{a(g,n,n.item)})),g})():l}function al(e,t){Yo(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class sl extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class ll extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const cl=e=>e instanceof dl;let ul=1;class dl extends Ra{constructor(...e){super(...e),this.id=ul++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=ps(this);return e&&e.getValue()}to(...e){return aa.to(this,e)}interpolate(...e){return is(`${rs}The "interpolate" function is deprecated in v9 (use "to" instead)`),aa.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Va(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||da.sort(this),Va(this,{type:"priority",parent:this,priority:e})}}const hl=Symbol.for("SpringPhase"),pl=e=>(1&e[hl])>0,fl=e=>(2&e[hl])>0,gl=e=>(4&e[hl])>0,ml=(e,t)=>t?e[hl]|=3:e[hl]&=-3,yl=(e,t)=>t?e[hl]|=4:e[hl]&=-5;class vl extends dl{constructor(e,t){if(super(),this.key=void 0,this.animation=new Js,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Qo.und(e)||!Qo.und(t)){const r=Qo.obj(e)?Bs({},e):Bs({},t,{from:e});Qo.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(fl(this)||this._state.asyncTo)||gl(this)}get goal(){return Ha(this.animation.to)}get velocity(){const e=ps(this);return e instanceof ys?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return pl(this)}get isAnimating(){return fl(this)}get isPaused(){return gl(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1;const n=this.animation;let{config:i,toValues:o}=n;const a=gs(n.to);!a&&Ia(n.to)&&(o=Ko(Ha(n.to))),n.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==vs?1:a?a[l].lastPosition:o[l];let u=n.immediate,d=c;if(!u){if(d=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const r=n.fromValues[l],o=null!=s.v0?s.v0:s.v0=Qo.arr(i.velocity)?i.velocity[l]:i.velocity;let a;if(Qo.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,n=Math.exp(-(1-e)*t);d=r+o/(1-e)*(1-n),u=Math.abs(s.lastPosition-d)<.1,a=o*n}else{a=null==s.lastVelocity?o:s.lastVelocity;const t=i.precision||(r==c?.005:Math.min(1,.001*Math.abs(c-r))),n=i.restVelocity||t/10,l=i.clamp?0:i.bounce,h=!Qo.und(l),p=r==c?s.v0>0:r<c;let f,g=!1;const m=1,y=Math.ceil(e/m);for(let e=0;e<y&&(f=Math.abs(a)>n,f||(u=Math.abs(c-d)<=t,!u));++e){h&&(g=d==c||d>c==p,g&&(a=-a*l,d=c));a+=(1e-6*-i.tension*(d-c)+.001*-i.friction*a)/i.mass*m,d+=a*m}}else{let n=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),n=(i.progress||0)+t/this._memoizedDuration,n=n>1?1:n<0?0:n,s.durationProgress=n),d=r+i.easing(n)*(c-r),a=(d-s.lastPosition)/e,u=1==n}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,i.round)&&(r=!0)}));const s=ps(this),l=s.getValue();if(t){const e=Ha(n.to);l===e&&!r||i.decay?r&&i.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else r&&this._onChange(l)}set(e){return Bo.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(fl(this)){const{to:e,config:t}=this.animation;Bo.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return Qo.und(e)?(r=this.queue||[],this.queue=[]):r=[Qo.obj(e)?e:Bs({},t,{to:e})],Promise.all(r.map((e=>this._update(e)))).then((e=>tl(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),al(this._state,e&&this._lastCallId),Bo.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:r,from:n}=e;r=Qo.obj(r)?r[t]:r,(null==r||Rs(r))&&(r=void 0),n=Qo.obj(n)?n[t]:n,null==n&&(n=void 0);const i={to:r,from:n};return pl(this)||(e.reverse&&([r,n]=[n,r]),n=Ha(n),Qo.und(n)?ps(this)||this._set(r):this._set(n)),i}_update(e,t){let r=Bs({},e);const{key:n,defaultProps:i}=this;r.default&&Object.assign(i,Ds(r,((e,t)=>/^on/.test(t)?As(e,n):e))),kl(this,r,"onProps"),Fl(this,"onProps",r,this);const o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return el(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{gl(this)||(yl(this,!0),Jo(a.pauseQueue),Fl(this,"onPause",nl(this,bl(this,this.animation.to)),this))},resume:()=>{gl(this)&&(yl(this,!1),fl(this)&&this._resume(),Jo(a.resumeQueue),Fl(this,"onResume",nl(this,bl(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((e=>{if(r.loop&&e.finished&&(!t||!e.noop)){const e=wl(r);if(e)return this._update(e,!0)}return e}))}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(il(this));const n=!Qo.und(e.to),i=!Qo.und(e.from);if(n||i){if(!(t.callId>this._lastToId))return r(il(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;!i||n||t.default&&!Qo.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const h=!Go(d,c);h&&(s.from=d),d=Ha(d);const p=!Go(u,l);p&&this._focus(u);const f=Rs(t.to),{config:g}=s,{decay:m,velocity:y}=g;(n||i)&&(g.velocity=0),t.config&&!f&&function(e,t,r){r&&(Ks(r=Bs({},r),t),t=Bs({},r,t)),Ks(e,t),Object.assign(e,t);for(const t in Xs)null==e[t]&&(e[t]=Xs[t]);let{mass:n,frequency:i,damping:o}=e;Qo.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*n,e.friction=4*Math.PI*o*n/i)}(g,zs(t.config,o),t.config!==a.config?zs(a.config,o):void 0);let v=ps(this);if(!v||Qo.und(u))return r(nl(this,!0));const b=Qo.und(t.reset)?i&&!t.default:!Qo.und(d)&&Cs(t.reset,o),w=b?d:this.get(),_=Ms(u),$=Qo.num(_)||Qo.arr(_)||as(_),x=!f&&(!$||Cs(a.immediate||t.immediate,o));if(p){const e=xs(u);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(_)}}const S=v.constructor;let k=Ia(u),F=!1;if(!k){const e=b||!pl(this)&&h;(p||e)&&(F=Go(Ms(w),_),k=!F),(Go(s.immediate,x)||x)&&Go(g.decay,m)&&Go(g.velocity,y)||(k=!0)}if(F&&fl(this)&&(s.changed&&!b?k=!0:k||this._stop(l)),!f&&((k||Ia(l))&&(s.values=v.getPayload(),s.toValues=Ia(u)?null:S==vs?[1]:Ko(_)),s.immediate!=x&&(s.immediate=x,x||b||this._set(l)),k)){const{onRest:e}=s;Xo(Sl,(e=>kl(this,t,e)));const n=nl(this,bl(this,l));Jo(this._pendingCalls,n),this._pendingCalls.add(r),s.changed&&Bo.batchedUpdates((()=>{s.changed=!b,null==e||e(n,this),b?zs(a.onRest,n):null==s.onStart||s.onStart(n,this)}))}b&&this._set(w),f?r(ol(t.to,t,this._state,this)):k?this._start():fl(this)&&!p?this._pendingCalls.add(r):r(rl(w))}_focus(e){const t=this.animation;e!==t.to&&(Ma(this)&&this._detach(),t.to=e,Ma(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ia(t)&&(Ta(t,this),cl(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ia(e)&&Wa(e,this)}_set(e,t=!0){const r=Ha(e);if(!Qo.und(r)){const e=ps(this);if(!e||!Go(r,e.getValue())){const n=xs(r);e&&e.constructor==n?e.setValue(r):fs(this,n.create(r)),e&&Bo.batchedUpdates((()=>{this._onChange(r,t)}))}}return ps(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Fl(this,"onStart",nl(this,bl(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),zs(this.animation.onChange,e,this)),zs(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;ps(this).reset(Ha(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),fl(this)||(ml(this,!0),gl(this)||this._resume())}_resume(){aa.skipAnimation?this.finish():da.start(this)}_stop(e,t){if(fl(this)){ml(this,!1);const r=this.animation;Xo(r.values,(e=>{e.done=!0})),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Va(this,{type:"idle",parent:this});const n=t?il(this.get()):nl(this.get(),bl(this,null!=e?e:r.to));Jo(this._pendingCalls,n),r.changed&&(r.changed=!1,Fl(this,"onRest",n,this))}}}function bl(e,t){const r=Ms(t);return Go(Ms(e.get()),r)}function wl(e,t=e.loop,r=e.to){let n=zs(t);if(n){const i=!0!==n&&Hs(n),o=(i||e).reverse,a=!i||i.reset;return _l(Bs({},e,{loop:t,default:!1,pause:void 0,to:!o||Rs(r)?r:void 0,from:a?e.from:void 0,reset:a},i))}}function _l(e){const{to:t,from:r}=e=Hs(e),n=new Set;return Qo.obj(t)&&xl(t,n),Qo.obj(r)&&xl(r,n),e.keys=n.size?Array.from(n):null,e}function $l(e){const t=_l(e);return Qo.und(t.default)&&(t.default=Ds(t)),t}function xl(e,t){Zo(e,((e,r)=>null!=e&&t.add(r)))}const Sl=["onStart","onRest","onChange","onPause","onResume"];function kl(e,t,r){e.animation[r]=t[r]!==Ps(t,r)?As(t[r],e.key):void 0}function Fl(e,t,...r){var n,i,o,a;null==(n=(i=e.animation)[t])||n.call(i,...r),null==(o=(a=e.defaultProps)[t])||o.call(a,...r)}const Ol=["onStart","onChange","onRest"];let jl=1;class Bl{constructor(e,t){this.id=jl++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(Bs({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,r)=>e[r]=t.get())),e}set(e){for(const t in e){const r=e[t];Qo.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(_l(e)),this}start(e){let{queue:t}=this;return e?t=Ko(e).map(_l):this.queue=[],this._flush?this._flush(this,t):(El(this,t),zl(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const r=this.springs;Xo(Ko(t),(t=>r[t].stop(!!e)))}else al(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Qo.und(e))this.start({pause:!0});else{const t=this.springs;Xo(Ko(e),(e=>t[e].pause()))}return this}resume(e){if(Qo.und(e))this.start({pause:!1});else{const t=this.springs;Xo(Ko(e),(e=>t[e].resume()))}return this}each(e){Zo(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,Yo(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const o=!n&&this._started,a=i||o&&r.size?this.get():null;i&&t.size&&Yo(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,Yo(r,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}Bo.onFrame(this._onFrame)}}function zl(e,t){return Promise.all(t.map((t=>Cl(e,t)))).then((t=>tl(e,t)))}async function Cl(e,t,r){const{keys:n,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=Qo.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Qo.arr(i)||Qo.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Xo(Ol,(r=>{const n=t[r];if(Qo.fun(n)){const i=e._events[r];t[r]=({finished:e,cancelled:t})=>{const r=i.get(n);r?(e||(r.finished=!1),t&&(r.cancelled=!0)):i.set(n,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[r]=t[r])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Jo(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const h=(n||Object.keys(e.springs)).map((r=>e.springs[r].start(t))),p=!0===t.cancel||!0===Ps(t,"cancel");(u||p&&d.asyncId)&&h.push(el(++e._lastAsyncId,{props:t,state:d,actions:{pause:Uo,resume:Uo,start(t,r){p?(al(d,e._lastAsyncId),r(il(e))):(t.onRest=s,r(ol(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const f=tl(e,await Promise.all(h));if(a&&f.finished&&(!r||!f.noop)){const r=wl(t,a,i);if(r)return El(e,[r]),Cl(e,r,!0)}return l&&Bo.batchedUpdates((()=>l(f,e,e.item))),f}function Al(e,t){const r=Bs({},e.springs);return t&&Xo(Ko(t),(e=>{Qo.und(e.keys)&&(e=_l(e)),Qo.obj(e.to)||(e=Bs({},e,{to:void 0})),Dl(r,e,(e=>Nl(e)))})),Pl(e,r),r}function Pl(e,t){Zo(t,((t,r)=>{e.springs[r]||(e.springs[r]=t,Ta(t,e))}))}function Nl(e,t){const r=new vl;return r.key=e,t&&Ta(r,t),r}function Dl(e,t,r){t.keys&&Xo(t.keys,(n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)}))}function El(e,t){Xo(t,(t=>{Dl(e.springs,t,(t=>Nl(t,e)))}))}const Il=["children"],Hl=e=>{let{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,Il);const i=u(Ml),l=r.pause||!!i.pause,c=r.immediate||!!i.immediate;r=function(e,t){const[r]=a((()=>({inputs:t,result:e()}))),n=s(),i=n.current;let l=i;l?Boolean(t&&l.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,l.inputs))||(l={inputs:t,result:e()}):l=r;return o((()=>{n.current=l,i==r&&(r.inputs=r.result=void 0)}),[l]),l.result}((()=>({pause:l,immediate:c})),[l,c]);const{Provider:d}=Ml;return n.createElement(d,{value:r},t)},Ml=(Vl=Hl,Rl={},Object.assign(Vl,n.createContext(Rl)),Vl.Provider._context=Vl,Vl.Consumer._context=Vl,Vl);var Vl,Rl;Hl.Provider=Ml.Provider,Hl.Consumer=Ml.Consumer;const Ll=()=>{const e=[],t=function(t){os(`${rs}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const n=[];return Xo(e,((e,i)=>{if(Qo.und(t))n.push(e.start());else{const o=r(t,e,i);o&&n.push(e.start(o))}})),n};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const r=e.indexOf(t);~r&&e.splice(r,1)},t.pause=function(){return Xo(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Xo(e,(e=>e.resume(...arguments))),this},t.set=function(t){Xo(e,(e=>e.set(t)))},t.start=function(t){const r=[];return Xo(e,((e,n)=>{if(Qo.und(t))r.push(e.start());else{const i=this._getProps(t,e,n);i&&r.push(e.start(i))}})),r},t.stop=function(){return Xo(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Xo(e,((e,r)=>e.update(this._getProps(t,e,r)))),this};const r=function(e,t,r){return Qo.fun(e)?e(r,t):e};return t._getProps=r,t};function Tl(e,t,r){const n=Qo.fun(t)&&t;n&&!r&&(r=[]);const i=d((()=>n||3==arguments.length?Ll():void 0),[]),o=s(0),a=ls(),l=d((()=>({ctrls:[],queue:[],flush(e,t){const r=Al(e,t);return o.current>0&&!l.queue.length&&!Object.keys(r).some((t=>!e.springs[t]))?zl(e,t):new Promise((n=>{Pl(e,r),l.queue.push((()=>{n(zl(e,t))})),a()}))}})),[]),c=s([...l.ctrls]),h=[],p=ds(e)||0;function f(e,r){for(let i=e;i<r;i++){const e=c.current[i]||(c.current[i]=new Bl(null,l.flush)),r=n?n(i,e):t[i];r&&(h[i]=$l(r))}}d((()=>{Xo(c.current.slice(e,p),(e=>{Ls(e,i),e.stop(!0)})),c.current.length=e,f(p,e)}),[e]),d((()=>{f(0,Math.min(p,e))}),r);const g=c.current.map(((e,t)=>Al(e,h[t]))),m=u(Hl),y=ds(m),v=m!==y&&Vs(m);ss((()=>{o.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],Xo(e,(e=>e()))),Xo(c.current,((e,t)=>{null==i||i.add(e),v&&e.start({default:m});const r=h[t];r&&(Ts(e,r.ref),e.ref?e.queue.push(r):e.start(r))}))})),cs((()=>()=>{Xo(l.ctrls,(e=>e.stop(!0)))}));const b=g.map((e=>Bs({},e)));return i?[b,i]:b}let Wl;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(Wl||(Wl={}));class ql extends dl{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Pa(...t);const r=this._get(),n=xs(r);fs(this,n.create(r))}advance(e){const t=this._get();Go(t,this.get())||(ps(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ql(this._active)&&Gl(this)}_get(){const e=Qo.arr(this.source)?this.source.map(Ha):Ko(Ha(this.source));return this.calc(...e)}_start(){this.idle&&!Ql(this._active)&&(this.idle=!1,Xo(gs(this),(e=>{e.done=!1})),aa.skipAnimation?(Bo.batchedUpdates((()=>this.advance())),Gl(this)):da.start(this))}_attach(){let e=1;Xo(Ko(this.source),(t=>{Ia(t)&&Ta(t,this),cl(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Xo(Ko(this.source),(e=>{Ia(e)&&Wa(e,this)})),this._active.clear(),Gl(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Ko(this.source).reduce(((e,t)=>Math.max(e,(cl(t)?t.priority:0)+1)),0))}}function Ul(e){return!1!==e.idle}function Ql(e){return!e.size||Array.from(e).every(Ul)}function Gl(e){e.idle||(e.idle=!0,Xo(gs(e),(e=>{e.done=!0})),Va(e,{type:"idle",parent:e}))}function Xl(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}aa.assign({createStringInterpolator:ts,to:(e,t)=>new ql(e,t)});const Zl=["style","children","scrollTop","scrollLeft"],Kl=/^--/;function Yl(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Kl.test(e)||ec.hasOwnProperty(e)&&ec[e]?(""+t).trim():t+"px"}const Jl={};let ec={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const tc=["Webkit","Ms","Moz","O"];ec=Object.keys(ec).reduce(((e,t)=>(tc.forEach((r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t])),e)),ec);const rc=["x","y","z"],nc=/^(matrix|translate|scale|rotate|skew)/,ic=/^(translate)/,oc=/^(rotate|skew)/,ac=(e,t)=>Qo.num(e)&&0!==e?e+t:e,sc=(e,t)=>Qo.arr(e)?e.every((e=>sc(e,t))):Qo.num(e)?e===t:parseFloat(e)===t;class lc extends ws{constructor(e){let{x:t,y:r,z:n}=e,i=Xl(e,rc);const o=[],a=[];(t||r||n)&&(o.push([t||0,r||0,n||0]),a.push((e=>[`translate3d(${e.map((e=>ac(e,"px"))).join(",")})`,sc(e,0)]))),Zo(i,((e,t)=>{if("transform"===t)o.push([e||""]),a.push((e=>[e,""===e]));else if(nc.test(t)){if(delete i[t],Qo.und(e))return;const r=ic.test(t)?"px":oc.test(t)?"deg":"";o.push(Ko(e)),a.push("rotate3d"===t?([e,t,n,i])=>[`rotate3d(${e},${t},${n},${ac(i,r)})`,sc(i,0)]:e=>[`${t}(${e.map((e=>ac(e,r))).join(",")})`,sc(e,t.startsWith("scale")?1:0)])}})),o.length&&(i.transform=new cc(o,a)),super(i)}}class cc extends Ra{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Xo(this.inputs,((r,n)=>{const i=Ha(r[0]),[o,a]=this.transforms[n](Qo.arr(i)?i:r.map(Ha));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Xo(this.inputs,(e=>Xo(e,(e=>Ia(e)&&Ta(e,this)))))}observerRemoved(e){0==e&&Xo(this.inputs,(e=>Xo(e,(e=>Ia(e)&&Wa(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Va(this,e)}}const uc=["scrollTop","scrollLeft"];aa.assign({batchedUpdates:g,createStringInterpolator:ts,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});const dc=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:r=(e=>new ws(e)),getComponentProps:n=(e=>e)}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},o=e=>{const t=js(e)||"Anonymous";return(e=Qo.str(e)?o[e]||(o[e]=ks(e,i)):e[Os]||(e[Os]=ks(e,i))).displayName=`Animated(${t})`,e};return Zo(e,((t,r)=>{Qo.arr(e)&&(r=js(t)),o[r]=o(t)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,n=t,{style:i,children:o,scrollTop:a,scrollLeft:s}=n,l=Xl(n,Zl),c=Object.values(l),u=Object.keys(l).map((t=>r||e.hasAttribute(t)?t:Jl[t]||(Jl[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(let t in i)if(i.hasOwnProperty(t)){const r=Yl(t,i[t]);Kl.test(t)?e.style.setProperty(t,r):e.style[t]=r}u.forEach(((t,r)=>{e.setAttribute(t,c[r])})),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new lc(e),getComponentProps:e=>Xl(e,uc)}),hc=dc.animated,pc={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},fc=e=>Object.keys(pc).reduce(((t,r)=>{const n=pc[r];return t[r]=`@media screen and (${e}: ${n}px)`,t}),{}),gc=fc("max-width"),mc=(fc("min-width"),h.div`
|
|
272
284
|
display: inline-block;
|
|
273
285
|
position: relative;
|
|
274
286
|
width: ${e=>e.$size}px;
|
|
275
287
|
height: ${e=>e.$size}px;
|
|
276
|
-
`),
|
|
288
|
+
`),yc=f`
|
|
277
289
|
0% {
|
|
278
290
|
transform: rotate(0deg);
|
|
279
291
|
}
|
|
280
292
|
100% {
|
|
281
293
|
transform: rotate(360deg);
|
|
282
294
|
}
|
|
283
|
-
`,
|
|
295
|
+
`,vc=h.div`
|
|
284
296
|
box-sizing: border-box;
|
|
285
297
|
display: block;
|
|
286
298
|
position: absolute;
|
|
@@ -292,12 +304,12 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
292
304
|
border-radius: 50%;
|
|
293
305
|
border-color: ${e=>e.$color||Ht.Neutral[8](e)}
|
|
294
306
|
transparent transparent transparent;
|
|
295
|
-
animation: ${
|
|
296
|
-
`,
|
|
307
|
+
animation: ${yc} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
308
|
+
`,bc=h(vc)`
|
|
297
309
|
animation-delay: -0.45s;
|
|
298
|
-
`,
|
|
310
|
+
`,wc=h(vc)`
|
|
299
311
|
animation-delay: -0.3s;
|
|
300
|
-
`,
|
|
312
|
+
`,_c=h(vc)`
|
|
301
313
|
animation-delay: -0.15s;
|
|
302
314
|
`;h.button`
|
|
303
315
|
padding: 0.5rem 1rem;
|
|
@@ -365,7 +377,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
365
377
|
background-color: ${Ht.Primary(e)};
|
|
366
378
|
border: 1px solid transparent;
|
|
367
379
|
|
|
368
|
-
${
|
|
380
|
+
${gc.mobileL} {
|
|
369
381
|
width: 100%;
|
|
370
382
|
}
|
|
371
383
|
|
|
@@ -380,23 +392,23 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
380
392
|
${e=>"small"===e.$buttonSizeStyle?p`
|
|
381
393
|
height: 2.5rem;
|
|
382
394
|
span {
|
|
383
|
-
${
|
|
395
|
+
${tr("H5","semibold")}
|
|
384
396
|
}
|
|
385
397
|
|
|
386
|
-
${
|
|
398
|
+
${gc.mobileS} {
|
|
387
399
|
height: auto;
|
|
388
400
|
}
|
|
389
401
|
`:p`
|
|
390
402
|
height: 3rem;
|
|
391
403
|
span {
|
|
392
|
-
${
|
|
404
|
+
${tr("H4","semibold")}
|
|
393
405
|
}
|
|
394
406
|
|
|
395
|
-
${
|
|
407
|
+
${gc.mobileS} {
|
|
396
408
|
height: auto;
|
|
397
409
|
}
|
|
398
410
|
`}
|
|
399
|
-
`;const
|
|
411
|
+
`;const $c=h((({color:r,className:n,size:i=18})=>t(mc,{className:n,$size:i,$color:r,children:[e(vc,{id:"inner1",$size:i-2,$borderWidth:2}),e(bc,{id:"inner2",$size:i-2,$borderWidth:2}),e(wc,{id:"inner3",$size:i-2,$borderWidth:2}),e(_c,{id:"inner4",$size:i-2,$borderWidth:2})]})))`
|
|
400
412
|
margin-right: 0.5rem;
|
|
401
413
|
${e=>{let t;switch(e.$buttonStyle){case"secondary":case"light":case"link":t=Ht.Primary(e);break;case"disabled":t=Ht.Neutral[3](e);break;default:t=Ht.Neutral[8](e)}return p`
|
|
402
414
|
#inner1,
|
|
@@ -406,7 +418,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
406
418
|
border-color: ${t} transparent transparent transparent;
|
|
407
419
|
}
|
|
408
420
|
`}}
|
|
409
|
-
|
|
421
|
+
`,xc=h.div`
|
|
410
422
|
display: flex;
|
|
411
423
|
justify-content: center;
|
|
412
424
|
align-items: center;
|
|
@@ -423,22 +435,22 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
423
435
|
background: transparent;
|
|
424
436
|
|
|
425
437
|
${e=>{let t,r;return e.selected&&(t=Ht.Primary(e),r=Ht.Primary(e)),e.disabled&&(t=Ht.Neutral[6](e),r=Ht.Neutral[6](e)),`\n\t\t\tborder: 1px solid ${t};\n\t\t\tbackground: ${r};\n\t\t`}}
|
|
426
|
-
`,
|
|
438
|
+
`,Sc=h.input`
|
|
427
439
|
position: absolute;
|
|
428
440
|
opacity: 0;
|
|
429
441
|
height: 100%;
|
|
430
442
|
width: 100%;
|
|
431
443
|
cursor: ${e=>e.disabled?"not-allowed":"pointer"};
|
|
432
|
-
`,
|
|
444
|
+
`,kc=h(qt)`
|
|
433
445
|
${e=>{let t;if("small"===e.$displaySize)t="1.3rem";else t="1.5rem";return p`
|
|
434
446
|
font-size: ${t};
|
|
435
447
|
`}}
|
|
436
448
|
font-weight: bold;
|
|
437
449
|
color: ${e=>e.disabled?Ht.Neutral[4]:Ht.Neutral[8]};
|
|
438
|
-
`,
|
|
450
|
+
`,Fc=h(hc.div)`
|
|
439
451
|
overflow: hidden;
|
|
440
452
|
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2);
|
|
441
|
-
`,
|
|
453
|
+
`,Oc=h.ul`
|
|
442
454
|
border-bottom-left-radius: 4px;
|
|
443
455
|
border-bottom-right-radius: 4px;
|
|
444
456
|
background: transparent;
|
|
@@ -462,10 +474,10 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
462
474
|
border-bottom-right-radius: 4px;
|
|
463
475
|
}
|
|
464
476
|
|
|
465
|
-
${
|
|
477
|
+
${gc.mobileL} {
|
|
466
478
|
max-height: 15rem;
|
|
467
479
|
}
|
|
468
|
-
`,
|
|
480
|
+
`,jc=h.li`
|
|
469
481
|
:hover,
|
|
470
482
|
:focus,
|
|
471
483
|
:active {
|
|
@@ -474,7 +486,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
474
486
|
${e=>{if(e.checked)return p`
|
|
475
487
|
background: ${Ht.Accent.Light[5]};
|
|
476
488
|
`}}
|
|
477
|
-
`,
|
|
489
|
+
`,Bc=h.button`
|
|
478
490
|
display: flex;
|
|
479
491
|
${e=>e.multiSelect?p`
|
|
480
492
|
padding: 0.5rem 1rem;
|
|
@@ -506,8 +518,8 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
506
518
|
justify-content: center;
|
|
507
519
|
align-items: center;
|
|
508
520
|
background: ${Ht.Neutral[8]};
|
|
509
|
-
`;const
|
|
510
|
-
${
|
|
521
|
+
`;const zc=h.div`
|
|
522
|
+
${tr("Body","regular")}
|
|
511
523
|
color: ${Ht.Neutral[1]};
|
|
512
524
|
text-align: left;
|
|
513
525
|
line-height: 1.375rem;
|
|
@@ -518,7 +530,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
518
530
|
-webkit-line-clamp: 2;
|
|
519
531
|
-webkit-box-orient: vertical;
|
|
520
532
|
`}}
|
|
521
|
-
`,
|
|
533
|
+
`,Cc=h.div`
|
|
522
534
|
display: flex;
|
|
523
535
|
flex-direction: column;
|
|
524
536
|
`,Ac=h.div`
|
|
@@ -533,7 +545,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
533
545
|
overflow: hidden;
|
|
534
546
|
direction: rtl;
|
|
535
547
|
text-align: right;
|
|
536
|
-
`;h(
|
|
548
|
+
`;h(or.Hyperlink.Default)`
|
|
537
549
|
color: ${Ht.Neutral[1]} !important;
|
|
538
550
|
padding: 1.25rem 1rem;
|
|
539
551
|
margin-bottom: 0;
|
|
@@ -545,16 +557,16 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
545
557
|
outline-color: ${Ht.Accent.Light[3]};
|
|
546
558
|
color: ${Ht.Neutral[1]};
|
|
547
559
|
}
|
|
548
|
-
`;const
|
|
560
|
+
`;const Nc=h((({className:r,checked:n,disabled:i,onClick:s,onKeyPress:l,displaySize:c="default",...u})=>{const[d,h]=a(n);o((()=>{h(n)}),[n]);const p=e=>{i||(s&&s(e),l&&l(e))};return t(xc,{selected:d,disabled:i,className:r,"data-testid":"checkbox",onKeyPress:p,tabIndex:i?-1:0,role:"checkbox",$displaySize:c,children:[e(Sc,{type:"checkbox","data-testid":"checkbox-input",onClick:p,disabled:i,tabIndex:-1,...u}),d&&e(kc,{type:"check",id:"checkmark","data-testid":"checkmark",disabled:i,$displaySize:c})]})}))`
|
|
549
561
|
flex: 0 0 1.5rem;
|
|
550
562
|
margin-right: 1rem;
|
|
551
|
-
`,
|
|
563
|
+
`,Dc=h.div`
|
|
552
564
|
width: 100%;
|
|
553
565
|
display: flex;
|
|
554
566
|
justify-content: flex-end;
|
|
555
567
|
padding: 1rem 0 0.5rem 0;
|
|
556
|
-
`,
|
|
557
|
-
${
|
|
568
|
+
`,Ec=h.button`
|
|
569
|
+
${tr("Body","semibold")}
|
|
558
570
|
background-color: transparent;
|
|
559
571
|
background-repeat: no-repeat;
|
|
560
572
|
border: none;
|
|
@@ -562,12 +574,12 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
562
574
|
overflow: hidden;
|
|
563
575
|
outline: none;
|
|
564
576
|
${e=>`\n\t\t\tcolor: ${Ht.Primary(e)};\n\t\t`}
|
|
565
|
-
`,
|
|
577
|
+
`,Ic=h.div`
|
|
566
578
|
width: 100%;
|
|
567
579
|
display: flex;
|
|
568
580
|
padding: 1rem 0.5rem;
|
|
569
581
|
align-items: center;
|
|
570
|
-
`,
|
|
582
|
+
`,Hc=h(or.Body)``,Mc=h.div`
|
|
571
583
|
display: flex;
|
|
572
584
|
align-items: center;
|
|
573
585
|
margin-right: 0.625rem;
|
|
@@ -581,13 +593,13 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
581
593
|
${e=>p`
|
|
582
594
|
color: ${Ht.Validation.Red.Icon(e)};
|
|
583
595
|
`}
|
|
584
|
-
`,
|
|
596
|
+
`,Vc=h.li`
|
|
585
597
|
background: ${Ht.Neutral[7]};
|
|
586
598
|
display: flex;
|
|
587
599
|
border-radius: 4px;
|
|
588
600
|
align-items: center;
|
|
589
|
-
`,
|
|
590
|
-
${
|
|
601
|
+
`,Rc=h.input`
|
|
602
|
+
${tr("Body","regular")}
|
|
591
603
|
height: 3.5rem;
|
|
592
604
|
border: none;
|
|
593
605
|
background: transparent;
|
|
@@ -603,24 +615,21 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
603
615
|
::-webkit-input-placeholder {
|
|
604
616
|
color: ${Ht.Neutral[3]};
|
|
605
617
|
}
|
|
606
|
-
`,
|
|
618
|
+
`,Lc=h(qt)`
|
|
607
619
|
height: 1.5rem;
|
|
608
620
|
width: 1.5rem;
|
|
609
621
|
margin: 0 0.5rem;
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
fill: ${Ht.Neutral[3]};
|
|
613
|
-
}
|
|
614
|
-
`,Tc=l(((r,n)=>t(Mc,{children:[e(Rc,{type:"search"}),e(Vc,{ref:n,...r})]},"search"))),Lc=({listItems:r,listExtractor:n,valueExtractor:i,onSelectItem:l,listStyleWidth:c,visible:u,enableSearch:d,searchPlaceholder:h="Search",onSearch:p,searchFunction:f,onDismiss:g,multiSelect:m,selectedItems:y,onSelectAll:v,onRetry:b,itemsLoadState:w="success",itemTruncationType:_="end",...$})=>{const[x,S]=a(0),[k,F]=a(""),[O,j]=a(r),[B,z]=a(0),A=function(e,t){const r=Uo.fun(e),[[n],i]=Tl(1,r?e:[e],r?t||[]:t);return r||2==arguments.length?[n,i]:n}({height:B}),P=s(),C=s(),N=s([]),D=s(),E=s(x),I=s(O),H=e=>{E.current=e,S(e)},M=e=>{I.current=e,j(e)};o((()=>(document.addEventListener("keydown",q),()=>{document.removeEventListener("keydown",q)})),[]),o((()=>{L(k)}),[k]),o((()=>{F(""),u?(z(W()),D&&D.current?(D.current.focus(),H(-1)):N.current[x]&&N.current[x].focus()):z(0)}),[u]),o((()=>{if(u){const e=W();z(e)}}),[O]),o((()=>{M(r),F(""),H(0)}),[r]);const V=e=>n?n(e):e.toString(),R=e=>{const t=n?n(e):e.toString();let r=0;return C&&C.current&&(r=C.current.getBoundingClientRect().width-100),Ut.shouldTruncateToTwoLines(t,r)},T=e=>vo(y,e)>-1,L=e=>{if(""===e)M(r);else if(f){const t=f(e);M(t)}else{const t=r.filter((t=>V(t).toLowerCase().includes(e.trim().toLowerCase())));M(t)}},W=()=>C&&C.current?C.current.getBoundingClientRect().height:0,q=e=>{if(P&&P.current.contains(e.target))switch(e.code){case"ArrowDown":if(E.current<I.current.length-1){const e=E.current+1;N.current[e].focus(),H(e)}break;case"ArrowUp":if(E.current>0){const e=E.current-1;N.current[e].focus(),H(E.current-1)}break;case"Escape":g&&g()}},U=(e,t)=>{e.preventDefault(),l&&l(t,(e=>i?i(e):e)(t))},Q=()=>{b&&b()},G=r=>{const i=n?n(r):r.toString();return t(zc,{"data-testid":"truncate-middle-container",children:[e(Ac,{children:i}),t(Pc,{children:[" ",i]})]})};return e(kc,{style:A,"data-testid":u?"dropdown-container":"dropdown-container-hidden",ref:P,children:t(Fc,{ref:C,"data-testid":"dropdown-list",width:c,role:"list",...$,children:[(d||f)&&"success"===w?e(Tc,{ref:D,onChange:e=>{const t=e.target.value;F(t),p&&p()},value:k,placeholder:h,"data-testid":"search-input","aria-label":"search-input",tabIndex:u?0:-1}):null,(()=>{if(m&&O.length>0&&!k&&"success"===w)return e(Nc,{children:e(Dc,{onClick:v,children:0===y.length?"Select all":"Unselect all"})},"selectAll")})(),(()=>{if(k&&0===O.length)return t(Ec,{"data-testid":"list-no-results",children:[e(Hc,{"data-testid":"no-result-icon",children:e(Fo,{})}),e(Ic,{children:"No results found."})]},"noResults")})(),(()=>{if(b&&"loading"===w)return t(Ec,{"data-testid":"list-loading",children:[e(_c,{$buttonStyle:"secondary",size:24}),e(Ic,{children:"Loading..."})]},"loading")})(),(()=>{if(b&&"fail"===w)return t(Ec,{"data-testid":"list-fail",children:[e(Hc,{"data-testid":"load-error-icon",children:e(Fo,{})}),e(Ic,{children:"Failed to load."}),e(Dc,{onClick:Q,children:"Try again."})]},"noResults")})(),(()=>{if(!b||b&&"success"===w)return O.map(((r,n)=>e(Oc,{checked:T(r)&&!m,children:t(jc,{onClick:e=>{U(e,r)},ref:e=>N.current[n]=e,"data-testid":"list-item",type:"button",tabIndex:u?0:-1,multiSelect:m,children:[m&&e(Cc,{checked:T(r),displaySize:"small"}),e(Bc,{truncateType:_,children:"middle"===_&&R(r)?G(r):V(r)})]})},((e,t)=>`item_${t}__${i?i(e):e}`)(r,n))))})()]})})},Wc="all 300ms cubic-bezier(0.21, 0.79, 0.53, 1)",qc=h.div`
|
|
622
|
+
color: ${Ht.Neutral[3]};
|
|
623
|
+
`,Tc=l(((r,n)=>t(Vc,{children:[e(Lc,{type:"search"}),e(Rc,{ref:n,...r})]},"search"))),Wc=({listItems:r,listExtractor:n,valueExtractor:i,onSelectItem:l,listStyleWidth:c,visible:u,enableSearch:d,searchPlaceholder:h="Search",onSearch:p,searchFunction:f,onDismiss:g,multiSelect:m,selectedItems:y,onSelectAll:v,onRetry:b,itemsLoadState:w="success",itemTruncationType:_="end",...$})=>{const[x,S]=a(0),[k,F]=a(""),[O,j]=a(r),[B,z]=a(0),C=function(e,t){const r=Qo.fun(e),[[n],i]=Tl(1,r?e:[e],r?t||[]:t);return r||2==arguments.length?[n,i]:n}({height:B}),A=s(),P=s(),N=s([]),D=s(),E=s(x),I=s(O),H=e=>{E.current=e,S(e)},M=e=>{I.current=e,j(e)};o((()=>(document.addEventListener("keydown",q),()=>{document.removeEventListener("keydown",q)})),[]),o((()=>{T(k)}),[k]),o((()=>{F(""),u?(z(W()),D&&D.current?(D.current.focus(),H(-1)):N.current[x]&&N.current[x].focus()):z(0)}),[u]),o((()=>{if(u){const e=W();z(e)}}),[O]),o((()=>{M(r),F(""),H(0)}),[r]);const V=e=>n?n(e):e.toString(),R=e=>{const t=n?n(e):e.toString();let r=0;return P&&P.current&&(r=P.current.getBoundingClientRect().width-100),Qt.shouldTruncateToTwoLines(t,r)},L=e=>bo(y,e)>-1,T=e=>{if(""===e)M(r);else if(f){const t=f(e);M(t)}else{const t=r.filter((t=>V(t).toLowerCase().includes(e.trim().toLowerCase())));M(t)}},W=()=>P&&P.current?P.current.getBoundingClientRect().height:0,q=e=>{if(A&&A.current.contains(e.target))switch(e.code){case"ArrowDown":if(E.current<I.current.length-1){const e=E.current+1;N.current[e].focus(),H(e)}break;case"ArrowUp":if(E.current>0){const e=E.current-1;N.current[e].focus(),H(E.current-1)}break;case"Escape":g&&g()}},U=(e,t)=>{e.preventDefault(),l&&l(t,(e=>i?i(e):e)(t))},Q=()=>{b&&b()},G=r=>{const i=n?n(r):r.toString();return t(Cc,{"data-testid":"truncate-middle-container",children:[e(Ac,{children:i}),t(Pc,{children:[" ",i]})]})};return e(Fc,{style:C,"data-testid":u?"dropdown-container":"dropdown-container-hidden",ref:A,children:t(Oc,{ref:P,"data-testid":"dropdown-list",width:c,role:"list",...$,children:[(d||f)&&"success"===w?e(Tc,{ref:D,onChange:e=>{const t=e.target.value;F(t),p&&p()},value:k,placeholder:h,"data-testid":"search-input","aria-label":"search-input",tabIndex:u?0:-1}):null,(()=>{if(m&&O.length>0&&!k&&"success"===w)return e(Dc,{children:e(Ec,{onClick:v,children:0===y.length?"Select all":"Unselect all"})},"selectAll")})(),(()=>{if(k&&0===O.length)return t(Ic,{"data-testid":"list-no-results",children:[e(Mc,{"data-testid":"no-result-icon",children:e(Oo,{})}),e(Hc,{children:"No results found."})]},"noResults")})(),(()=>{if(b&&"loading"===w)return t(Ic,{"data-testid":"list-loading",children:[e($c,{$buttonStyle:"secondary",size:24}),e(Hc,{children:"Loading..."})]},"loading")})(),(()=>{if(b&&"fail"===w)return t(Ic,{"data-testid":"list-fail",children:[e(Mc,{"data-testid":"load-error-icon",children:e(Oo,{})}),e(Hc,{children:"Failed to load."}),e(Ec,{onClick:Q,children:"Try again."})]},"noResults")})(),(()=>{if(!b||b&&"success"===w)return O.map(((r,n)=>e(jc,{checked:L(r)&&!m,children:t(Bc,{onClick:e=>{U(e,r)},ref:e=>N.current[n]=e,"data-testid":"list-item",type:"button",tabIndex:u?0:-1,multiSelect:m,children:[m&&e(Nc,{checked:L(r),displaySize:"small"}),e(zc,{truncateType:_,children:"middle"===_&&R(r)?G(r):V(r)})]})},((e,t)=>`item_${t}__${i?i(e):e}`)(r,n))))})()]})})},qc="all 300ms cubic-bezier(0.21, 0.79, 0.53, 1)",Uc=h.div`
|
|
615
624
|
position: relative;
|
|
616
625
|
min-height: 3rem;
|
|
617
626
|
height: 3rem;
|
|
618
627
|
width: 100%;
|
|
619
628
|
|
|
620
|
-
${
|
|
629
|
+
${gc.tablet} {
|
|
621
630
|
height: auto;
|
|
622
631
|
}
|
|
623
|
-
`,
|
|
632
|
+
`,Qc=h.button`
|
|
624
633
|
display: flex;
|
|
625
634
|
position: relative;
|
|
626
635
|
align-items: center;
|
|
@@ -636,7 +645,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
636
645
|
:active {
|
|
637
646
|
outline: none;
|
|
638
647
|
}
|
|
639
|
-
`,
|
|
648
|
+
`,Gc=f`
|
|
640
649
|
from {
|
|
641
650
|
position: absolute;
|
|
642
651
|
top: 0;
|
|
@@ -648,7 +657,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
648
657
|
to {
|
|
649
658
|
position: relative;
|
|
650
659
|
}
|
|
651
|
-
`,
|
|
660
|
+
`,Xc=h.div`
|
|
652
661
|
position: relative;
|
|
653
662
|
border: 1px solid ${Ht.Neutral[5]};
|
|
654
663
|
border-radius: ${"4px"};
|
|
@@ -666,13 +675,13 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
666
675
|
width: 100%;
|
|
667
676
|
z-index: 2;
|
|
668
677
|
`:p`
|
|
669
|
-
animation: ${
|
|
678
|
+
animation: ${Gc} 0.5s ease-in-out;
|
|
670
679
|
`}
|
|
671
680
|
|
|
672
681
|
${e=>e.disabled?p`
|
|
673
682
|
background: ${Ht.Neutral[6](e)};
|
|
674
683
|
|
|
675
|
-
${
|
|
684
|
+
${Qc} {
|
|
676
685
|
cursor: not-allowed;
|
|
677
686
|
}
|
|
678
687
|
|
|
@@ -690,11 +699,11 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
690
699
|
`:void 0}
|
|
691
700
|
`;h.div`
|
|
692
701
|
transform: rotate(${e=>e.expanded?180:0}deg);
|
|
693
|
-
transition: ${
|
|
702
|
+
transition: ${qc};
|
|
694
703
|
margin-left: 1rem;
|
|
695
|
-
`,h(
|
|
704
|
+
`,h(qt)`
|
|
696
705
|
color: ${Ht.Neutral[3]};
|
|
697
|
-
font-size: ${
|
|
706
|
+
font-size: ${Kt.Body.fontSize}rem;
|
|
698
707
|
font-weight: bold;
|
|
699
708
|
`,h.div`
|
|
700
709
|
height: 1px;
|
|
@@ -703,7 +712,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
703
712
|
`,h.div`
|
|
704
713
|
display: flex;
|
|
705
714
|
flex: 1;
|
|
706
|
-
`;const
|
|
715
|
+
`;const Zc=h(or.Body)`
|
|
707
716
|
text-align: left;
|
|
708
717
|
line-height: 1.375rem;
|
|
709
718
|
${e=>{if("middle"!==e.truncateType)return p`
|
|
@@ -713,9 +722,9 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
713
722
|
text-overflow: ellipsis;
|
|
714
723
|
`}}
|
|
715
724
|
overflow: hidden;
|
|
716
|
-
`;h(
|
|
725
|
+
`;h(Zc)`
|
|
717
726
|
color: ${Ht.Neutral[3]};
|
|
718
|
-
`;const
|
|
727
|
+
`;const Kc=Uc,Yc=h(Xc)``,Jc=h.div`
|
|
719
728
|
position: relative;
|
|
720
729
|
display: flex;
|
|
721
730
|
height: 3rem;
|
|
@@ -723,7 +732,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
723
732
|
${e=>{if(e.$expanded)return p`
|
|
724
733
|
border-bottom: 1px solid ${Ht.Neutral[5](e)};
|
|
725
734
|
`}}
|
|
726
|
-
`,
|
|
735
|
+
`,eu=h.button`
|
|
727
736
|
display: flex;
|
|
728
737
|
position: relative;
|
|
729
738
|
align-items: center;
|
|
@@ -739,18 +748,18 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
739
748
|
:active {
|
|
740
749
|
outline-color: ${Ht.Accent.Light[3]};
|
|
741
750
|
}
|
|
742
|
-
`,
|
|
751
|
+
`,tu=h.div`
|
|
743
752
|
transform: rotate(${e=>e.$expanded?180:0}deg);
|
|
744
|
-
transition: ${
|
|
753
|
+
transition: ${qc};
|
|
745
754
|
margin-left: 1rem;
|
|
746
|
-
`,
|
|
755
|
+
`,ru=h(qt)`
|
|
747
756
|
color: ${Ht.Neutral[3]};
|
|
748
|
-
font-size: ${
|
|
757
|
+
font-size: ${Kt.Body.fontSize}rem;
|
|
749
758
|
font-weight: bold;
|
|
750
|
-
`,
|
|
759
|
+
`,nu=h.div`
|
|
751
760
|
display: flex;
|
|
752
761
|
flex: 1 1 auto;
|
|
753
|
-
`,
|
|
762
|
+
`,iu=h(or.Body)`
|
|
754
763
|
text-align: left;
|
|
755
764
|
line-height: 1.375rem;
|
|
756
765
|
display: -webkit-box;
|
|
@@ -758,11 +767,11 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import*as n from
|
|
|
758
767
|
-webkit-box-orient: vertical;
|
|
759
768
|
overflow: hidden;
|
|
760
769
|
text-overflow: ellipsis;
|
|
761
|
-
`,
|
|
770
|
+
`,ou=h(iu)`
|
|
762
771
|
color: ${Ht.Neutral[3]};
|
|
763
|
-
`,
|
|
772
|
+
`,au=h.div`
|
|
764
773
|
margin: 1rem 1rem 1rem 0;
|
|
765
774
|
width: 1px;
|
|
766
775
|
background: ${Ht.Neutral[5]};
|
|
767
|
-
`,
|
|
776
|
+
`,su=({addon:n,error:i,...l})=>{const{value:c,placeholder:u,options:d,enableSearch:h,searchFunction:p,searchPlaceholder:f,valueExtractor:g,listExtractor:m,displayValueExtractor:y,onSelectOption:v,onHideOptions:b,onShowOptions:w,"data-selector-testid":_}=n.attributes,[$,x]=a(c),[S,k]=a(!1),F=s(),O=s();o((()=>{x(c)}),[c]),o((()=>(document.addEventListener("mousedown",B),()=>{document.removeEventListener("mousedown",B)})),[]);const j=e=>{!e&&b&&b(),e&&w&&w()},B=e=>{if(!l.disabled){if(F&&F.current.contains(e.target))return;k(!1),j(!1)}},z=e=>{e.preventDefault(),l.disabled||(k(!S),j(!S))},C=(e,t)=>{x(e),k(!1),j(!1),O&&O.current.focus(),v&&v(e,t)};return e(Kc,{children:t(Yc,{ref:F,disabled:l.disabled,error:i&&!S,expanded:S,children:[t(Jc,{$expanded:S,children:[e(eu,{ref:O,type:"button","data-testid":_||"addon-selector",onClick:z,children:t(r,{children:[t(nu,{children:[u&&!$&&e(ou,{children:u}),$&&e(iu,{"data-testid":"selector-label",children:y?y($):g?g($):$.toString()})]}),e(tu,{$expanded:S,children:e(ru,{type:"chevron-down"})})]})}),e(au,{}),e(dr,{...l,"data-testid":l["data-testid"]||"input"})]}),d&&d.length>0?e(Wc,{listItems:d,onSelectItem:C,valueExtractor:g,listExtractor:m,visible:S,enableSearch:h,searchFunction:p,searchPlaceholder:f,"data-testid":"dropdown-list"}):null]})})},lu=i.forwardRef((({addon:r,error:n,...i},o)=>{const a=()=>e(ur,{disabled:i.disabled,$error:n,$readOnly:"readonly"===i.type,"data-testid":i["data-testid"],children:e(dr,{ref:o,"data-testid":"input",...i})});if(!r)return a();{const{type:o="label",position:s="left"}=r;switch(o){case"list":{const t=r.attributes;return t.options&&t.options.length>0?e(su,{addon:r,error:n,...i}):a()}case"custom":{const o=r.attributes;return o.children?t(ur,{$error:n,disabled:i.disabled,$readOnly:"readonly"===i.type,"data-testid":i["data-testid"],$position:s,children:[e(hr,{"data-testid":"addon",disabled:i.disabled,$readOnly:"readonly"===i.type,children:o.children}),e(dr,{...i,$position:s,$readOnly:"readonly"===i.type,"data-testid":"input"})]}):a()}default:{const o=r.attributes;return o.value?t(ur,{disabled:i.disabled,$error:n,$readOnly:"readonly"===i.type,"data-testid":i["data-testid"],$position:s,children:[e(hr,{"data-testid":"addon",disabled:i.disabled,$readOnly:"readonly"===i.type,children:o.value}),e(dr,{...i,$position:s,$readOnly:"readonly"===i.type,"data-testid":"input"})]}):a()}}}}));export{lu as InputGroup};
|
|
768
777
|
//# sourceMappingURL=index.js.map
|