@qasa/qds-ui 0.9.0-next.3 → 0.9.0-next.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/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/button/button-icon.d.ts +10 -0
- package/dist/cjs/types/components/button/button-styles.d.ts +7 -8
- package/dist/cjs/types/components/button/button-types.d.ts +43 -0
- package/dist/cjs/types/components/button/button.d.ts +1 -36
- package/dist/cjs/types/components/heading/heading.d.ts +2 -2
- package/dist/cjs/types/components/icon/icon.types.d.ts +4 -2
- package/dist/cjs/types/components/icon-button/icon-button-styles.d.ts +7 -10
- package/dist/cjs/types/components/label/label.d.ts +2 -2
- package/dist/cjs/types/components/loading-dots/loading-dots.d.ts +2 -2
- package/dist/cjs/types/components/paragraph/paragraph.d.ts +2 -2
- package/dist/cjs/types/styles/common-styles.d.ts +2 -2
- package/dist/cjs/types/theme/foundations/colors.d.ts +2 -2
- package/dist/cjs/types/theme/foundations/index.d.ts +2 -2
- package/dist/cjs/types/theme/theme-tools.d.ts +2 -2
- package/dist/cjs/types/theme/theme.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/button/button-icon.d.ts +10 -0
- package/dist/esm/types/components/button/button-styles.d.ts +7 -8
- package/dist/esm/types/components/button/button-types.d.ts +43 -0
- package/dist/esm/types/components/button/button.d.ts +1 -36
- package/dist/esm/types/components/heading/heading.d.ts +2 -2
- package/dist/esm/types/components/icon/icon.types.d.ts +4 -2
- package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +7 -10
- package/dist/esm/types/components/label/label.d.ts +2 -2
- package/dist/esm/types/components/loading-dots/loading-dots.d.ts +2 -2
- package/dist/esm/types/components/paragraph/paragraph.d.ts +2 -2
- package/dist/esm/types/styles/common-styles.d.ts +2 -2
- package/dist/esm/types/theme/foundations/colors.d.ts +2 -2
- package/dist/esm/types/theme/foundations/index.d.ts +2 -2
- package/dist/esm/types/theme/theme-tools.d.ts +2 -2
- package/dist/esm/types/theme/theme.d.ts +2 -2
- package/dist/index.d.ts +182 -178
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Global as t,css as y,CacheProvider as h,ThemeProvider as d,useTheme as k,keyframes as p}from"@emotion/react";import i,{createContext as r,useContext as n,useMemo as c,forwardRef as l,createElement as o,useState as M,useEffect as s,Children as x,useLayoutEffect as v,useCallback as m,useRef as u,isValidElement as g,Fragment as f}from"react";import w from"@emotion/styled";var b=function(){return b=Object.assign||function(e){for(var a,t=1,y=arguments.length;t<y;t++)for(var h in a=arguments[t])Object.prototype.hasOwnProperty.call(a,h)&&(e[h]=a[h]);return e},b.apply(this,arguments)};function z(e,a){var t={};for(var y in e)Object.prototype.hasOwnProperty.call(e,y)&&a.indexOf(y)<0&&(t[y]=e[y]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(y=Object.getOwnPropertySymbols(e);h<y.length;h++)a.indexOf(y[h])<0&&Object.prototype.propertyIsEnumerable.call(e,y[h])&&(t[y[h]]=e[y[h]])}return t}function q(e,a){return Object.defineProperty?Object.defineProperty(e,"raw",{value:a}):e.raw=a,e}var j=function(){function e(e){var a=this;this._insertTag=function(e){var t;t=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,t),a.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var t=64===e.charCodeAt(0)&&105===e.charCodeAt(1);t&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!t}if(this.isSpeedy){var y=function(e){if(e.sheet)return e.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===e)return document.styleSheets[a]}(a);try{y.insertRule(e,y.cssRules.length)}catch(a){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',a)}}else a.appendChild(document.createTextNode(e));this.ctr++},a.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),H=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(e){var a="-ms-",t="-moz-",y="-webkit-",h="comm",d="rule",k="decl",p="@page",i="@media",r="@import",n="@charset",c="@viewport",l="@supports",o="@document",M="@namespace",s="@keyframes",x="@font-face",v="@counter-style",m="@font-feature-values",u=Math.abs,g=String.fromCharCode,f=Object.assign;function w(e,a){return(((a<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3)}function b(e){return e.trim()}function z(e,a){return(e=a.exec(e))?e[0]:e}function q(e,a,t){return e.replace(a,t)}function j(e,a){return e.indexOf(a)}function H(e,a){return 0|e.charCodeAt(a)}function V(e,a,t){return e.slice(a,t)}function C(e){return e.length}function L(e){return e.length}function A(e,a){return a.push(e),e}function S(e,a){return e.map(a).join("")}function Z(a,t,y,h,d,k,p){return{value:a,root:t,parent:y,type:h,props:d,children:k,line:e.line,column:e.column,length:p,return:""}}function F(e,a){return f(Z("",null,null,"",null,null,0),e,{length:-e.length},a)}function P(){return e.character}function B(){return e.character=e.position>0?H(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function D(){return e.character=e.position<e.length?H(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function T(){return H(e.characters,e.position)}function R(){return e.position}function O(a,t){return V(e.characters,a,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function E(a){return e.line=e.column=1,e.length=C(e.characters=a),e.position=0,[]}function U(a){return e.characters="",a}function I(a){return b(O(e.position-1,_(91===a?a+2:40===a?a+1:a)))}function N(e){return U($(E(e)))}function G(a){for(;(e.character=T())&&e.character<33;)D();return W(a)>2||W(e.character)>3?"":" "}function $(a){for(;D();)switch(W(e.character)){case 0:A(Y(e.position-1),a);break;case 2:A(I(e.character),a);break;default:A(g(e.character),a)}return a}function X(a,t){for(;--t&&D()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return O(a,R()+(t<6&&32==T()&&32==D()))}function _(a){for(;D();)switch(e.character){case a:return e.position;case 34:case 39:34!==a&&39!==a&&_(e.character);break;case 40:41===a&&_(a);break;case 92:D()}return e.position}function K(a,t){for(;D()&&a+e.character!==57&&(a+e.character!==84||47!==T()););return"/*"+O(t,e.position-1)+"*"+g(47===a?a:D())}function Y(a){for(;!W(T());)D();return O(a,e.position)}function J(e){return U(Q("",null,null,null,[""],e=E(e),0,[0],e))}function Q(e,a,t,y,h,d,k,p,i){for(var r=0,n=0,c=k,l=0,o=0,M=0,s=1,x=1,v=1,m=0,u="",f=h,w=d,b=y,z=u;x;)switch(M=m,m=D()){case 40:if(108!=M&&58==z.charCodeAt(c-1)){-1!=j(z+=q(I(m),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:z+=I(m);break;case 9:case 10:case 13:case 32:z+=G(M);break;case 92:z+=X(R()-1,7);continue;case 47:switch(T()){case 42:case 47:A(ae(K(D(),R()),a,t),i);break;default:z+="/"}break;case 123*s:p[r++]=C(z)*v;case 125*s:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+n:o>0&&C(z)-c&&A(o>32?te(z+";",y,t,c-1):te(q(z," ","")+";",y,t,c-2),i);break;case 59:z+=";";default:if(A(b=ee(z,a,t,r,n,h,p,u,f=[],w=[],c),d),123===m)if(0===n)Q(z,a,b,b,f,d,c,p,w);else switch(l){case 100:case 109:case 115:Q(e,b,b,y&&A(ee(e,b,b,0,0,h,p,u,h,f=[],c),w),h,w,c,p,y?f:w);break;default:Q(z,b,b,b,[""],w,0,p,w)}}r=n=o=0,s=v=1,u=z="",c=k;break;case 58:c=1+C(z),o=M;default:if(s<1)if(123==m)--s;else if(125==m&&0==s++&&125==B())continue;switch(z+=g(m),m*s){case 38:v=n>0?1:(z+="\f",-1);break;case 44:p[r++]=(C(z)-1)*v,v=1;break;case 64:45===T()&&(z+=I(D())),l=T(),n=c=C(u=z+=Y(R())),m++;break;case 45:45===M&&2==C(z)&&(s=0)}}return d}function ee(e,a,t,y,h,k,p,i,r,n,c){for(var l=h-1,o=0===h?k:[""],M=L(o),s=0,x=0,v=0;s<y;++s)for(var m=0,g=V(e,l+1,l=u(x=p[s])),f=e;m<M;++m)(f=b(x>0?o[m]+" "+g:q(g,/&\f/g,o[m])))&&(r[v++]=f);return Z(e,a,t,0===h?d:i,r,n,c)}function ae(e,a,t){return Z(e,a,t,h,g(P()),V(e,2,-2),0)}function te(e,a,t,y){return Z(e,a,t,k,V(e,0,y),V(e,y+1,-1),y)}function ye(e,h){switch(w(e,h)){case 5103:return y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return y+e+t+e+a+e+e;case 6828:case 4268:return y+e+a+e+e;case 6165:return y+e+a+"flex-"+e+e;case 5187:return y+e+q(e,/(\w+).+(:[^]+)/,y+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return y+e+a+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return y+e+a+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return y+e+a+q(e,"shrink","negative")+e;case 5292:return y+e+a+q(e,"basis","preferred-size")+e;case 6060:return y+"box-"+q(e,"-grow","")+y+e+a+q(e,"grow","positive")+e;case 4554:return y+q(e,/([^-])(transform)/g,"$1"+y+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,y+"$1"),/(image-set)/,y+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,y+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,y+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+y+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-h>6)switch(H(e,h+1)){case 109:if(45!==H(e,h+4))break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+y+"$2-$3$1"+t+(108==H(e,h+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?ye(q(e,"stretch","fill-available"),h)+e:e}break;case 4949:if(115!==H(e,h+1))break;case 6444:switch(H(e,C(e)-3-(~j(e,"!important")&&10))){case 107:return q(e,":",":"+y)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+y+(45===H(e,14)?"inline-":"")+"box$3$1"+y+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(H(e,h+11)){case 114:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return y+e+a+e+e}return e}function he(e,a){for(var t="",y=L(e),h=0;h<y;h++)t+=a(e[h],h,e,a)||"";return t}function de(e,a,t,y){switch(e.type){case r:case k:return e.return=e.return||e.value;case h:return"";case s:return e.return=e.value+"{"+he(e.children,y)+"}";case d:e.value=e.props.join(",")}return C(t=he(e.children,y))?e.return=e.value+"{"+t+"}":""}function ke(e){var a=L(e);return function(t,y,h,d){for(var k="",p=0;p<a;p++)k+=e[p](t,y,h,d)||"";return k}}function pe(e){return function(a){a.root||(a=a.return)&&e(a)}}function ie(e,h,p,i){if(e.length>-1&&!e.return)switch(e.type){case k:e.return=ye(e.value,e.length);break;case s:return he([F(e,{value:q(e.value,"@","@"+y)})],i);case d:if(e.length)return S(e.props,(function(h){switch(z(h,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([F(e,{props:[q(h,/:(read-\w+)/,":"+t+"$1")]})],i);case"::placeholder":return he([F(e,{props:[q(h,/:(plac\w+)/,":"+y+"input-$1")]}),F(e,{props:[q(h,/:(plac\w+)/,":"+t+"$1")]}),F(e,{props:[q(h,/:(plac\w+)/,a+"input-$1")]})],i)}return""}))}}function re(e){e.type===d&&(e.props=e.props.map((function(a){return S(N(a),(function(a,t,y){switch(H(a,0)){case 12:return V(a,1,C(a));case 0:case 40:case 43:case 62:case 126:return a;case 58:"global"===y[++t]&&(y[t]="",y[++t]="\f"+V(y[t],t=1,-1));case 32:return 1===t?"":a;default:switch(t){case 0:return e=a,L(y)>1?"":a;case t=L(y)-1:case 2:return 2===t?a+e+e:a+e;default:return a}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=n,e.COMMENT=h,e.COUNTER_STYLE=v,e.DECLARATION=k,e.DOCUMENT=o,e.FONT_FACE=x,e.FONT_FEATURE_VALUES=m,e.IMPORT=r,e.KEYFRAMES=s,e.MEDIA=i,e.MOZ=t,e.MS=a,e.NAMESPACE=M,e.PAGE=p,e.RULESET=d,e.SUPPORTS=l,e.VIEWPORT=c,e.WEBKIT=y,e.abs=u,e.alloc=E,e.append=A,e.assign=f,e.caret=R,e.char=P,e.charat=H,e.combine=S,e.comment=ae,e.commenter=K,e.compile=J,e.copy=F,e.dealloc=U,e.declaration=te,e.delimit=I,e.delimiter=_,e.escaping=X,e.from=g,e.hash=w,e.identifier=Y,e.indexof=j,e.match=z,e.middleware=ke,e.namespace=re,e.next=D,e.node=Z,e.parse=Q,e.peek=T,e.prefix=ye,e.prefixer=ie,e.prev=B,e.replace=q,e.ruleset=ee,e.rulesheet=pe,e.serialize=he,e.sizeof=L,e.slice=O,e.stringify=de,e.strlen=C,e.substr=V,e.token=W,e.tokenize=N,e.tokenizer=$,e.trim=b,e.whitespace=G,Object.defineProperty(e,"__esModule",{value:!0})}(H.exports);function V(e){var a=Object.create(null);return function(t){return void 0===a[t]&&(a[t]=e(t)),a[t]}}var C,L,A,S=function(e,a,t){for(var y=0,h=0;y=h,h=H.exports.peek(),38===y&&12===h&&(a[t]=1),!H.exports.token(h);)H.exports.next();return H.exports.slice(e,H.exports.position)},Z=function(e,a){return H.exports.dealloc(function(e,a){var t=-1,y=44;do{switch(H.exports.token(y)){case 0:38===y&&12===H.exports.peek()&&(a[t]=1),e[t]+=S(H.exports.position-1,a,t);break;case 2:e[t]+=H.exports.delimit(y);break;case 4:if(44===y){e[++t]=58===H.exports.peek()?"&\f":"",a[t]=e[t].length;break}default:e[t]+=H.exports.from(y)}}while(y=H.exports.next());return e}(H.exports.alloc(e),a))},F=new WeakMap,P=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,t=e.parent,y=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||F.get(t))&&!y){F.set(e,!0);for(var h=[],d=Z(a,h),k=t.props,p=0,i=0;p<d.length;p++)for(var r=0;r<k.length;r++,i++)e.props[i]=h[p]?d[p].replace(/&\f/g,k[r]):k[r]+" "+d[p]}}},B=function(e){if("decl"===e.type){var a=e.value;108===a.charCodeAt(0)&&98===a.charCodeAt(2)&&(e.return="",e.value="")}},D=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},T=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},R=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},O=function(e,a,t){T(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),R(e)):function(e,a){for(var t=e-1;t>=0;t--)if(!T(a[t]))return!0;return!1}(a,t)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),R(e)))},W="undefined"!=typeof document,E=W?void 0:(C=function(){return V((function(){var e={};return function(a){return e[a]}}))},L=new WeakMap,function(e){if(L.has(e))return L.get(e);var a=C(e);return L.set(e,a),a}),U=[H.exports.prefixer],I=function(e){var a=e.key;if("production"!==process.env.NODE_ENV&&!a)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(W&&"css"===a){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var y=e.stylisPlugins||U;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(a))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+a+'" was passed');var h,d,k={},p=[];W&&(h=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),t=1;t<a.length;t++)k[a[t]]=!0;p.push(e)})));var i=[P,B];if("production"!==process.env.NODE_ENV&&i.push(function(e){return function(a,t,y){if("rule"===a.type&&!e.compat){var h=a.value.match(/(:first|:nth|:nth-last)-child/g);if(h){for(var d=a.parent===y[0]?y[0].children:y,k=d.length-1;k>=0;k--){var p=d[k];if(p.line<a.line)break;if(p.column<a.column){if(D(p))return;break}}h.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return x.compat}}),O),W){var r,n=[H.exports.stringify,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?r.insert(e.return):e.value&&e.type!==H.exports.COMMENT&&r.insert(e.value+"{}"))}:H.exports.rulesheet((function(e){r.insert(e)}))],c=H.exports.middleware(i.concat(y,n));d=function(e,a,t,y){var h;r=t,"production"!==process.env.NODE_ENV&&void 0!==a.map&&(r={insert:function(e){t.insert(e+a.map)}}),h=e?e+"{"+a.styles+"}":a.styles,H.exports.serialize(H.exports.compile(h),c),y&&(x.inserted[a.name]=!0)}}else{var l=[H.exports.stringify],o=H.exports.middleware(i.concat(y,l)),M=E(y)(a),s=function(e,a){var t,y=a.name;return void 0===M[y]&&(M[y]=(t=e?e+"{"+a.styles+"}":a.styles,H.exports.serialize(H.exports.compile(t),o))),M[y]};d=function(e,a,t,y){var h=a.name,d=s(e,a);return void 0===x.compat?(y&&(x.inserted[h]=!0),"development"===process.env.NODE_ENV&&void 0!==a.map?d+a.map:d):y?void(x.inserted[h]=d):d}}var x={key:a,sheet:new j({key:a,container:h,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:k,registered:{},insert:d};return x.sheet.hydrate(p),x},N=function(e){return y(A||(A=q(["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"],["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"])),e.typography.body.md.fontFamily,e.colors.text.default,e.colors.border.defaultSelected)};function G(){return e(t,{styles:N})}function $(e){return function(a){return e(a)}}function X(e){return function(a){return e(a)}}var _,K=function(e){return"".concat(e/16,"rem")},Y=X((function(e){var a=e.colors,t=e.radii,y=e.typography,h=e.spacing;return b(b({width:"100%",minWidth:0,appearance:"none",paddingLeft:h["4x"],paddingRight:h["4x"],border:"1px solid ".concat(a.border.default),borderRadius:t.sm,backgroundColor:a.bg.default,color:a.text.default,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent","&::-webkit-date-and-time-value":{textAlign:"left"},alignItems:"center"},y.body.md),{"&::placeholder":{color:a.text.disabled},"&:hover":{borderColor:a.border.defaultHover},"&:focus":{outline:0,borderColor:a.border.defaultSelected,boxShadow:"0 0 0 1px ".concat(a.border.defaultSelected)},"&[aria-invalid=true]":{borderColor:a.border.negative,"&:focus":{boxShadow:"0 0 0 1px ".concat(a.border.negative)}},"&[disabled]":{opacity:.4},transitionProperty:"opacity, border-color, box-shadow",transitionDuration:"120ms",transitionTimingFunction:"ease"})})),J={base:0,sm:480,md:768,lg:1024,xl:1280,"2xl":1536},Q={black:"#000000",white:"#ffffff",gray90:"#26261D",gray80:"#424236",gray70:"#545448",gray60:"#78786C",gray50:"#A3A396",gray40:"#D6D6CD",gray30:"#E5E5DF",gray20:"#F0F0EB",gray10:"#FBFBF9",uiPink:"#FF99C2",uiPinkDark:"#FF84B6",uiPinkLight:"#FFA3C8",brown:"#342620",brownDark:"#2A1E1A",brownLight:"#3C2F29",offWhite:"#F0F0EB",offWhiteDark:"#E0E0D6",offWhiteLight:"#F6F6F3",softPink:"#FFE8F0",warmYellow:"#FFD66C",softYellow:"#FFF8CC",red10:"#fff3f2",red20:"#fbd8d5",red30:"#f8b3ae",red40:"#f37d74",red50:"#ea4c41",red60:"#da281b",red70:"#c21b0f",red80:"#a9170d",red90:"#87170f",green90:"#00552f",green80:"#00703d",green70:"#007d45",green60:"#00a35a",green50:"#00cc70",green40:"#60efaa",green30:"#b2ffd7",green20:"#d6ffe9",green10:"#f0fff6",blue90:"#003870",blue80:"#0053a6",blue70:"#0064c8",blue60:"#007cf9",blue50:"#349aff",blue40:"#69b4ff",blue30:"#b9dcff",blue20:"#daecff",blue10:"#f2f8ff",yellow90:"#a06500",yellow80:"#cd8100",yellow70:"#ec9400",yellow60:"#ffa000",yellow50:"#ffae25",yellow40:"#ffbf52",yellow30:"#ffd081",yellow20:"#ffe2b1",yellow10:"#fff7eb",blackAlpha20:"rgba(0, 0, 0, 0.2)"},ee={core:Q,bg:{default:Q.white,brandPrimary:Q.uiPink,brandPrimaryHover:Q.uiPinkLight,brandPrimaryActive:Q.uiPinkDark,brandSecondary:Q.brown,brandSecondaryHover:Q.brownLight,brandSecondaryActive:Q.brownDark,brandTertiary:Q.offWhite,brandTertiaryHover:Q.offWhiteLight,brandTertiaryActive:Q.offWhiteDark,negative:Q.red60,warning:Q.yellow60,positive:Q.green60,inset:Q.gray10,backdrop:Q.blackAlpha20},text:{strong:Q.black,default:Q.brown,subtle:Q.gray60,disabled:Q.gray50,negative:Q.red60,warning:Q.yellow90,positive:Q.green70,onBrandPrimary:Q.brown,onBrandSecondary:Q.offWhite,onBrandTertiary:Q.brown},icon:{default:Q.brown,strong:Q.black,subtle:Q.gray60,disabled:Q.gray50,negative:Q.red60,warning:Q.yellow70,success:Q.green70,onBrandPrimary:Q.brown,onBrandSecondary:Q.offWhite,onBrandTertiary:Q.brown},border:{default:Q.gray30,defaultHover:Q.gray40,defaultSelected:Q.brown,strong:Q.gray40,subtle:Q.gray20,negative:Q.red60,warning:Q.yellow60,success:Q.green60}},ae={"0x":K(0),"1x":K(4),"2x":K(8),"3x":K(12),"4x":K(16),"5x":K(20),"6x":K(24),"8x":K(32),"12x":K(48),"16x":K(64),"20x":K(80),"24x":K(96)},te=b(b({},ae),{112:K(112),128:K(128),144:K(144),160:K(160),176:K(176),192:K(192),224:K(224),256:K(256),288:K(288),320:K(320),384:K(384),448:K(448),512:K(512),576:K(576),672:K(672),768:K(768),896:K(896),1024:K(1024)}),ye={display:['"Qasa Diatype Rounded Semi-Mono"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(","),sans:['"Qasa Diatype Rounded"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(",")},he={display:{"3xl":{fontFamily:ye.display,fontWeight:"700",fontSize:K(80),lineHeight:K(80),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},"2xl":{fontFamily:ye.display,fontWeight:"700",fontSize:K(72),lineHeight:K(72),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},xl:{fontFamily:ye.display,fontWeight:"700",fontSize:K(64),lineHeight:K(64),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},lg:{fontFamily:ye.display,fontWeight:"700",fontSize:K(56),lineHeight:K(56),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},md:{fontFamily:ye.display,fontWeight:"700",fontSize:K(48),lineHeight:K(48),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},sm:{fontFamily:ye.display,fontWeight:"700",fontSize:K(40),lineHeight:K(44),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},xs:{fontFamily:ye.display,fontWeight:"700",fontSize:K(32),lineHeight:K(36),letterSpacing:"-0.03em",fontFeatureSettings:"'ss05' on"}},title:{lg:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(32),lineHeight:K(36),letterSpacing:"-0.02em"},md:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(24),lineHeight:K(28),letterSpacing:"-0.02em"},sm:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(20),lineHeight:K(24),letterSpacing:"-0.02em"},xs:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(18),lineHeight:K(22),letterSpacing:"-0.015em"},"2xs":{fontFamily:ye.sans,fontWeight:"700",fontSize:K(16),lineHeight:K(20),letterSpacing:"-0.01em"},"3xs":{fontFamily:ye.sans,fontWeight:"700",fontSize:K(14),lineHeight:K(18),letterSpacing:"-0.005em"}},body:{xl:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(20),lineHeight:K(28),letterSpacing:"-0.02em"},lg:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(18),lineHeight:K(26),letterSpacing:"-0.02em"},md:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(16),lineHeight:K(24),letterSpacing:"-0.01em"},sm:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(14),lineHeight:K(20),letterSpacing:"-0.01em"},xs:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(12),lineHeight:K(16),letterSpacing:"0"}},label:{md:{fontFamily:ye.sans,fontWeight:"500",fontSize:K(16),lineHeight:K(20),letterSpacing:"-0.02em"},sm:{fontFamily:ye.sans,fontWeight:"500",fontSize:K(14),lineHeight:K(18),letterSpacing:"-0.01em"}},button:{md:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(16),lineHeight:K(18),letterSpacing:"-0.01em"},sm:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(14),lineHeight:K(16),letterSpacing:"-0.01em"}},caption:{md:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(12),lineHeight:K(12),letterSpacing:"0"},sm:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(10),lineHeight:K(10),letterSpacing:"0"}}},de={spacing:ae,breakpoints:J,zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},colors:ee,sizes:te,radii:{none:"0px","2xs":"4px",xs:"8px",sm:"12px",md:"16px",lg:"24px",xl:"32px",full:"9999px"},shadows:{none:"none",sm:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035)",md:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417)",lg:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503)",xl:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503), 0px 31px 75px 0px rgba(0, 0, 0, 0.07)"},typography:he},ke={smUp:"@media(min-width: ".concat(de.breakpoints.sm,"px)"),mdUp:"@media(min-width: ".concat(de.breakpoints.md,"px)"),lgUp:"@media(min-width: ".concat(de.breakpoints.lg,"px)"),xlUp:"@media(min-width: ".concat(de.breakpoints.xl,"px)"),"2xlUp":"@media(min-width: ".concat(de.breakpoints["2xl"],"px)")},pe=b(b({},de),{mediaQueries:ke}),ie=function(e){return Object.keys(e)},re=function(e,a){var t=Object.assign({},e);return ie(a).forEach((function(e){"object"==typeof a[e]?t[e]=re(t[e],a[e]):t[e]=a[e]})),t},ne=function(e){var a=pe.typography,t=pe.colors;return e.typography&&(a=function(e){var a=Object.assign({},pe.typography);return ie(a).forEach((function(t){var y=e[t];if(y){var h=a[t];ie(h).forEach((function(e){h[e].fontFamily=y.fontFamily||h[e].fontFamily,h[e].fontWeight=y.fontWeight||h[e].fontWeight}))}})),a}(e.typography)),e.colors&&(t=re(pe.colors,e.colors)),b(b({},pe),{typography:a,colors:t})},ce=y(_||(_=q(["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"],["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"])));function le(){return e(t,{styles:ce})}var oe=r(void 0);function Me(a){var t=a.language,y=a.children;return e(oe.Provider,b({value:{currentLanguage:t}},{children:y}))}function se(t){var y=t.children,k=t.themeOverrides,p=t.cacheOptions,i=t.locale,r=c((function(){var e;return I(b(b({},p),{key:null!==(e=null==p?void 0:p.key)&&void 0!==e?e:"qds"}))}),[p]),n=k?ne(k):pe;return e(Me,b({language:i||"en"},{children:e(h,b({value:r},{children:a(d,b({theme:n},{children:[e(le,{}),e(G,{}),y]}))}))}))}
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Global as t,css as y,CacheProvider as h,ThemeProvider as d,useTheme as k,keyframes as p}from"@emotion/react";import i,{createContext as r,useContext as n,useMemo as c,forwardRef as l,createElement as o,useState as M,useEffect as s,Fragment as x,Children as v,useLayoutEffect as m,useCallback as u,useRef as g,isValidElement as f}from"react";import w from"@emotion/styled";var b=function(){return b=Object.assign||function(e){for(var a,t=1,y=arguments.length;t<y;t++)for(var h in a=arguments[t])Object.prototype.hasOwnProperty.call(a,h)&&(e[h]=a[h]);return e},b.apply(this,arguments)};function z(e,a){var t={};for(var y in e)Object.prototype.hasOwnProperty.call(e,y)&&a.indexOf(y)<0&&(t[y]=e[y]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(y=Object.getOwnPropertySymbols(e);h<y.length;h++)a.indexOf(y[h])<0&&Object.prototype.propertyIsEnumerable.call(e,y[h])&&(t[y[h]]=e[y[h]])}return t}function q(e,a){return Object.defineProperty?Object.defineProperty(e,"raw",{value:a}):e.raw=a,e}var j=function(){function e(e){var a=this;this._insertTag=function(e){var t;t=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,t),a.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var t=64===e.charCodeAt(0)&&105===e.charCodeAt(1);t&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!t}if(this.isSpeedy){var y=function(e){if(e.sheet)return e.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===e)return document.styleSheets[a]}(a);try{y.insertRule(e,y.cssRules.length)}catch(a){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',a)}}else a.appendChild(document.createTextNode(e));this.ctr++},a.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),H=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(e){var a="-ms-",t="-moz-",y="-webkit-",h="comm",d="rule",k="decl",p="@page",i="@media",r="@import",n="@charset",c="@viewport",l="@supports",o="@document",M="@namespace",s="@keyframes",x="@font-face",v="@counter-style",m="@font-feature-values",u=Math.abs,g=String.fromCharCode,f=Object.assign;function w(e,a){return(((a<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3)}function b(e){return e.trim()}function z(e,a){return(e=a.exec(e))?e[0]:e}function q(e,a,t){return e.replace(a,t)}function j(e,a){return e.indexOf(a)}function H(e,a){return 0|e.charCodeAt(a)}function V(e,a,t){return e.slice(a,t)}function C(e){return e.length}function L(e){return e.length}function A(e,a){return a.push(e),e}function S(e,a){return e.map(a).join("")}function Z(a,t,y,h,d,k,p){return{value:a,root:t,parent:y,type:h,props:d,children:k,line:e.line,column:e.column,length:p,return:""}}function F(e,a){return f(Z("",null,null,"",null,null,0),e,{length:-e.length},a)}function P(){return e.character}function B(){return e.character=e.position>0?H(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function D(){return e.character=e.position<e.length?H(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function T(){return H(e.characters,e.position)}function R(){return e.position}function O(a,t){return V(e.characters,a,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function E(a){return e.line=e.column=1,e.length=C(e.characters=a),e.position=0,[]}function U(a){return e.characters="",a}function I(a){return b(O(e.position-1,_(91===a?a+2:40===a?a+1:a)))}function N(e){return U($(E(e)))}function G(a){for(;(e.character=T())&&e.character<33;)D();return W(a)>2||W(e.character)>3?"":" "}function $(a){for(;D();)switch(W(e.character)){case 0:A(Y(e.position-1),a);break;case 2:A(I(e.character),a);break;default:A(g(e.character),a)}return a}function X(a,t){for(;--t&&D()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return O(a,R()+(t<6&&32==T()&&32==D()))}function _(a){for(;D();)switch(e.character){case a:return e.position;case 34:case 39:34!==a&&39!==a&&_(e.character);break;case 40:41===a&&_(a);break;case 92:D()}return e.position}function K(a,t){for(;D()&&a+e.character!==57&&(a+e.character!==84||47!==T()););return"/*"+O(t,e.position-1)+"*"+g(47===a?a:D())}function Y(a){for(;!W(T());)D();return O(a,e.position)}function J(e){return U(Q("",null,null,null,[""],e=E(e),0,[0],e))}function Q(e,a,t,y,h,d,k,p,i){for(var r=0,n=0,c=k,l=0,o=0,M=0,s=1,x=1,v=1,m=0,u="",f=h,w=d,b=y,z=u;x;)switch(M=m,m=D()){case 40:if(108!=M&&58==z.charCodeAt(c-1)){-1!=j(z+=q(I(m),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:z+=I(m);break;case 9:case 10:case 13:case 32:z+=G(M);break;case 92:z+=X(R()-1,7);continue;case 47:switch(T()){case 42:case 47:A(ae(K(D(),R()),a,t),i);break;default:z+="/"}break;case 123*s:p[r++]=C(z)*v;case 125*s:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+n:o>0&&C(z)-c&&A(o>32?te(z+";",y,t,c-1):te(q(z," ","")+";",y,t,c-2),i);break;case 59:z+=";";default:if(A(b=ee(z,a,t,r,n,h,p,u,f=[],w=[],c),d),123===m)if(0===n)Q(z,a,b,b,f,d,c,p,w);else switch(l){case 100:case 109:case 115:Q(e,b,b,y&&A(ee(e,b,b,0,0,h,p,u,h,f=[],c),w),h,w,c,p,y?f:w);break;default:Q(z,b,b,b,[""],w,0,p,w)}}r=n=o=0,s=v=1,u=z="",c=k;break;case 58:c=1+C(z),o=M;default:if(s<1)if(123==m)--s;else if(125==m&&0==s++&&125==B())continue;switch(z+=g(m),m*s){case 38:v=n>0?1:(z+="\f",-1);break;case 44:p[r++]=(C(z)-1)*v,v=1;break;case 64:45===T()&&(z+=I(D())),l=T(),n=c=C(u=z+=Y(R())),m++;break;case 45:45===M&&2==C(z)&&(s=0)}}return d}function ee(e,a,t,y,h,k,p,i,r,n,c){for(var l=h-1,o=0===h?k:[""],M=L(o),s=0,x=0,v=0;s<y;++s)for(var m=0,g=V(e,l+1,l=u(x=p[s])),f=e;m<M;++m)(f=b(x>0?o[m]+" "+g:q(g,/&\f/g,o[m])))&&(r[v++]=f);return Z(e,a,t,0===h?d:i,r,n,c)}function ae(e,a,t){return Z(e,a,t,h,g(P()),V(e,2,-2),0)}function te(e,a,t,y){return Z(e,a,t,k,V(e,0,y),V(e,y+1,-1),y)}function ye(e,h){switch(w(e,h)){case 5103:return y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return y+e+t+e+a+e+e;case 6828:case 4268:return y+e+a+e+e;case 6165:return y+e+a+"flex-"+e+e;case 5187:return y+e+q(e,/(\w+).+(:[^]+)/,y+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return y+e+a+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return y+e+a+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return y+e+a+q(e,"shrink","negative")+e;case 5292:return y+e+a+q(e,"basis","preferred-size")+e;case 6060:return y+"box-"+q(e,"-grow","")+y+e+a+q(e,"grow","positive")+e;case 4554:return y+q(e,/([^-])(transform)/g,"$1"+y+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,y+"$1"),/(image-set)/,y+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,y+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,y+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+y+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(C(e)-1-h>6)switch(H(e,h+1)){case 109:if(45!==H(e,h+4))break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+y+"$2-$3$1"+t+(108==H(e,h+3)?"$3":"$2-$3"))+e;case 115:return~j(e,"stretch")?ye(q(e,"stretch","fill-available"),h)+e:e}break;case 4949:if(115!==H(e,h+1))break;case 6444:switch(H(e,C(e)-3-(~j(e,"!important")&&10))){case 107:return q(e,":",":"+y)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+y+(45===H(e,14)?"inline-":"")+"box$3$1"+y+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(H(e,h+11)){case 114:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return y+e+a+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return y+e+a+e+e}return e}function he(e,a){for(var t="",y=L(e),h=0;h<y;h++)t+=a(e[h],h,e,a)||"";return t}function de(e,a,t,y){switch(e.type){case r:case k:return e.return=e.return||e.value;case h:return"";case s:return e.return=e.value+"{"+he(e.children,y)+"}";case d:e.value=e.props.join(",")}return C(t=he(e.children,y))?e.return=e.value+"{"+t+"}":""}function ke(e){var a=L(e);return function(t,y,h,d){for(var k="",p=0;p<a;p++)k+=e[p](t,y,h,d)||"";return k}}function pe(e){return function(a){a.root||(a=a.return)&&e(a)}}function ie(e,h,p,i){if(e.length>-1&&!e.return)switch(e.type){case k:e.return=ye(e.value,e.length);break;case s:return he([F(e,{value:q(e.value,"@","@"+y)})],i);case d:if(e.length)return S(e.props,(function(h){switch(z(h,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([F(e,{props:[q(h,/:(read-\w+)/,":"+t+"$1")]})],i);case"::placeholder":return he([F(e,{props:[q(h,/:(plac\w+)/,":"+y+"input-$1")]}),F(e,{props:[q(h,/:(plac\w+)/,":"+t+"$1")]}),F(e,{props:[q(h,/:(plac\w+)/,a+"input-$1")]})],i)}return""}))}}function re(e){e.type===d&&(e.props=e.props.map((function(a){return S(N(a),(function(a,t,y){switch(H(a,0)){case 12:return V(a,1,C(a));case 0:case 40:case 43:case 62:case 126:return a;case 58:"global"===y[++t]&&(y[t]="",y[++t]="\f"+V(y[t],t=1,-1));case 32:return 1===t?"":a;default:switch(t){case 0:return e=a,L(y)>1?"":a;case t=L(y)-1:case 2:return 2===t?a+e+e:a+e;default:return a}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=n,e.COMMENT=h,e.COUNTER_STYLE=v,e.DECLARATION=k,e.DOCUMENT=o,e.FONT_FACE=x,e.FONT_FEATURE_VALUES=m,e.IMPORT=r,e.KEYFRAMES=s,e.MEDIA=i,e.MOZ=t,e.MS=a,e.NAMESPACE=M,e.PAGE=p,e.RULESET=d,e.SUPPORTS=l,e.VIEWPORT=c,e.WEBKIT=y,e.abs=u,e.alloc=E,e.append=A,e.assign=f,e.caret=R,e.char=P,e.charat=H,e.combine=S,e.comment=ae,e.commenter=K,e.compile=J,e.copy=F,e.dealloc=U,e.declaration=te,e.delimit=I,e.delimiter=_,e.escaping=X,e.from=g,e.hash=w,e.identifier=Y,e.indexof=j,e.match=z,e.middleware=ke,e.namespace=re,e.next=D,e.node=Z,e.parse=Q,e.peek=T,e.prefix=ye,e.prefixer=ie,e.prev=B,e.replace=q,e.ruleset=ee,e.rulesheet=pe,e.serialize=he,e.sizeof=L,e.slice=O,e.stringify=de,e.strlen=C,e.substr=V,e.token=W,e.tokenize=N,e.tokenizer=$,e.trim=b,e.whitespace=G,Object.defineProperty(e,"__esModule",{value:!0})}(H.exports);function V(e){var a=Object.create(null);return function(t){return void 0===a[t]&&(a[t]=e(t)),a[t]}}var C,L,A,S=function(e,a,t){for(var y=0,h=0;y=h,h=H.exports.peek(),38===y&&12===h&&(a[t]=1),!H.exports.token(h);)H.exports.next();return H.exports.slice(e,H.exports.position)},Z=function(e,a){return H.exports.dealloc(function(e,a){var t=-1,y=44;do{switch(H.exports.token(y)){case 0:38===y&&12===H.exports.peek()&&(a[t]=1),e[t]+=S(H.exports.position-1,a,t);break;case 2:e[t]+=H.exports.delimit(y);break;case 4:if(44===y){e[++t]=58===H.exports.peek()?"&\f":"",a[t]=e[t].length;break}default:e[t]+=H.exports.from(y)}}while(y=H.exports.next());return e}(H.exports.alloc(e),a))},F=new WeakMap,P=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,t=e.parent,y=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||F.get(t))&&!y){F.set(e,!0);for(var h=[],d=Z(a,h),k=t.props,p=0,i=0;p<d.length;p++)for(var r=0;r<k.length;r++,i++)e.props[i]=h[p]?d[p].replace(/&\f/g,k[r]):k[r]+" "+d[p]}}},B=function(e){if("decl"===e.type){var a=e.value;108===a.charCodeAt(0)&&98===a.charCodeAt(2)&&(e.return="",e.value="")}},D=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},T=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},R=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},O=function(e,a,t){T(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),R(e)):function(e,a){for(var t=e-1;t>=0;t--)if(!T(a[t]))return!0;return!1}(a,t)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),R(e)))},W="undefined"!=typeof document,E=W?void 0:(C=function(){return V((function(){var e={};return function(a){return e[a]}}))},L=new WeakMap,function(e){if(L.has(e))return L.get(e);var a=C(e);return L.set(e,a),a}),U=[H.exports.prefixer],I=function(e){var a=e.key;if("production"!==process.env.NODE_ENV&&!a)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(W&&"css"===a){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var y=e.stylisPlugins||U;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(a))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+a+'" was passed');var h,d,k={},p=[];W&&(h=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),t=1;t<a.length;t++)k[a[t]]=!0;p.push(e)})));var i=[P,B];if("production"!==process.env.NODE_ENV&&i.push(function(e){return function(a,t,y){if("rule"===a.type&&!e.compat){var h=a.value.match(/(:first|:nth|:nth-last)-child/g);if(h){for(var d=a.parent===y[0]?y[0].children:y,k=d.length-1;k>=0;k--){var p=d[k];if(p.line<a.line)break;if(p.column<a.column){if(D(p))return;break}}h.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return x.compat}}),O),W){var r,n=[H.exports.stringify,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?r.insert(e.return):e.value&&e.type!==H.exports.COMMENT&&r.insert(e.value+"{}"))}:H.exports.rulesheet((function(e){r.insert(e)}))],c=H.exports.middleware(i.concat(y,n));d=function(e,a,t,y){var h;r=t,"production"!==process.env.NODE_ENV&&void 0!==a.map&&(r={insert:function(e){t.insert(e+a.map)}}),h=e?e+"{"+a.styles+"}":a.styles,H.exports.serialize(H.exports.compile(h),c),y&&(x.inserted[a.name]=!0)}}else{var l=[H.exports.stringify],o=H.exports.middleware(i.concat(y,l)),M=E(y)(a),s=function(e,a){var t,y=a.name;return void 0===M[y]&&(M[y]=(t=e?e+"{"+a.styles+"}":a.styles,H.exports.serialize(H.exports.compile(t),o))),M[y]};d=function(e,a,t,y){var h=a.name,d=s(e,a);return void 0===x.compat?(y&&(x.inserted[h]=!0),"development"===process.env.NODE_ENV&&void 0!==a.map?d+a.map:d):y?void(x.inserted[h]=d):d}}var x={key:a,sheet:new j({key:a,container:h,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:k,registered:{},insert:d};return x.sheet.hydrate(p),x},N=function(e){return y(A||(A=q(["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"],["\n body {\n font-family: ",";\n line-height: 1.5;\n color: ",";\n }\n\n /** Remove focus outline on mouse hover */\n *:focus:not(:focus-visible) {\n outline: none;\n }\n\n /** Add focus outline on keyboard focus */\n button:focus-visible,\n a:focus-visible,\n [role='button']:focus-visible,\n input[type='checkbox']:focus-visible,\n input[type='radio']:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px white, 0 0 0 4px ",";\n }\n"])),e.typography.body.md.fontFamily,e.colors.text.default,e.colors.border.defaultSelected)};function G(){return e(t,{styles:N})}function $(e){return function(a){return e(a)}}function X(e){return function(a){return e(a)}}var _,K=function(e){return"".concat(e/16,"rem")},Y=X((function(e){var a=e.colors,t=e.radii,y=e.typography,h=e.spacing;return b(b({width:"100%",minWidth:0,appearance:"none",paddingLeft:h["4x"],paddingRight:h["4x"],border:"1px solid ".concat(a.border.default),borderRadius:t.sm,backgroundColor:a.bg.default,color:a.text.default,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent","&::-webkit-date-and-time-value":{textAlign:"left"},alignItems:"center"},y.body.md),{"&::placeholder":{color:a.text.disabled},"&:hover":{borderColor:a.border.defaultHover},"&:focus":{outline:0,borderColor:a.border.defaultSelected,boxShadow:"0 0 0 1px ".concat(a.border.defaultSelected)},"&[aria-invalid=true]":{borderColor:a.border.negative,"&:focus":{boxShadow:"0 0 0 1px ".concat(a.border.negative)}},"&[disabled]":{opacity:.4},transitionProperty:"opacity, border-color, box-shadow",transitionDuration:"120ms",transitionTimingFunction:"ease"})})),J={base:0,sm:480,md:768,lg:1024,xl:1280,"2xl":1536},Q={black:"#000000",white:"#ffffff",gray90:"#26261D",gray80:"#424236",gray70:"#545448",gray60:"#78786C",gray50:"#A3A396",gray40:"#D6D6CD",gray30:"#E5E5DF",gray20:"#F0F0EB",gray10:"#FBFBF9",uiPink:"#FF99C2",uiPinkDark:"#FF84B6",uiPinkLight:"#FFA3C8",brown:"#342620",brownDark:"#2A1E1A",brownLight:"#3C2F29",offWhite:"#F0F0EB",offWhiteDark:"#E0E0D6",offWhiteLight:"#F6F6F3",softPink:"#FFE8F0",warmYellow:"#FFD66C",softYellow:"#FFF8CC",red10:"#fff3f2",red20:"#fbd8d5",red30:"#f8b3ae",red40:"#f37d74",red50:"#ea4c41",red60:"#da281b",red70:"#c21b0f",red80:"#a9170d",red90:"#87170f",green90:"#00552f",green80:"#00703d",green70:"#007d45",green60:"#00a35a",green50:"#00cc70",green40:"#60efaa",green30:"#b2ffd7",green20:"#d6ffe9",green10:"#f0fff6",blue90:"#003870",blue80:"#0053a6",blue70:"#0064c8",blue60:"#007cf9",blue50:"#349aff",blue40:"#69b4ff",blue30:"#b9dcff",blue20:"#daecff",blue10:"#f2f8ff",yellow90:"#a06500",yellow80:"#cd8100",yellow70:"#ec9400",yellow60:"#ffa000",yellow50:"#ffae25",yellow40:"#ffbf52",yellow30:"#ffd081",yellow20:"#ffe2b1",yellow10:"#fff7eb",blackAlpha20:"rgba(0, 0, 0, 0.2)"},ee={core:Q,bg:{default:Q.white,brandPrimary:Q.uiPink,brandPrimaryHover:Q.uiPinkLight,brandPrimaryActive:Q.uiPinkDark,brandSecondary:Q.brown,brandSecondaryHover:Q.brownLight,brandSecondaryActive:Q.brownDark,brandTertiary:Q.offWhite,brandTertiaryHover:Q.offWhiteLight,brandTertiaryActive:Q.offWhiteDark,negative:Q.red60,warning:Q.yellow60,positive:Q.green60,inset:Q.gray10,backdrop:Q.blackAlpha20},text:{strong:Q.black,default:Q.brown,subtle:Q.gray60,disabled:Q.gray50,negative:Q.red60,warning:Q.yellow90,positive:Q.green70,onBrandPrimary:Q.brown,onBrandSecondary:Q.offWhite,onBrandTertiary:Q.brown},icon:{default:Q.brown,strong:Q.black,subtle:Q.gray60,disabled:Q.gray50,negative:Q.red60,warning:Q.yellow70,positive:Q.green70,onBrandPrimary:Q.brown,onBrandSecondary:Q.offWhite,onBrandTertiary:Q.brown},border:{default:Q.gray30,defaultHover:Q.gray40,defaultSelected:Q.brown,strong:Q.gray40,subtle:Q.gray20,negative:Q.red60,warning:Q.yellow60,positive:Q.green60}},ae={"0x":K(0),"1x":K(4),"2x":K(8),"3x":K(12),"4x":K(16),"5x":K(20),"6x":K(24),"8x":K(32),"12x":K(48),"16x":K(64),"20x":K(80),"24x":K(96)},te=b(b({},ae),{112:K(112),128:K(128),144:K(144),160:K(160),176:K(176),192:K(192),224:K(224),256:K(256),288:K(288),320:K(320),384:K(384),448:K(448),512:K(512),576:K(576),672:K(672),768:K(768),896:K(896),1024:K(1024)}),ye={display:['"Qasa Diatype Rounded Semi-Mono"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(","),sans:['"Qasa Diatype Rounded"',"Helvetica","-apple-system","BlinkMacSystemFont","Roboto",'"Helvetica Neue"',"sans-serif"].join(",")},he={display:{"3xl":{fontFamily:ye.display,fontWeight:"700",fontSize:K(80),lineHeight:K(80),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},"2xl":{fontFamily:ye.display,fontWeight:"700",fontSize:K(72),lineHeight:K(72),letterSpacing:"-0.06em",fontFeatureSettings:"'ss05' on"},xl:{fontFamily:ye.display,fontWeight:"700",fontSize:K(64),lineHeight:K(64),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},lg:{fontFamily:ye.display,fontWeight:"700",fontSize:K(56),lineHeight:K(56),letterSpacing:"-0.05em",fontFeatureSettings:"'ss05' on"},md:{fontFamily:ye.display,fontWeight:"700",fontSize:K(48),lineHeight:K(48),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},sm:{fontFamily:ye.display,fontWeight:"700",fontSize:K(40),lineHeight:K(44),letterSpacing:"-0.04em",fontFeatureSettings:"'ss05' on"},xs:{fontFamily:ye.display,fontWeight:"700",fontSize:K(32),lineHeight:K(36),letterSpacing:"-0.03em",fontFeatureSettings:"'ss05' on"}},title:{lg:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(32),lineHeight:K(36),letterSpacing:"-0.02em"},md:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(24),lineHeight:K(28),letterSpacing:"-0.02em"},sm:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(20),lineHeight:K(24),letterSpacing:"-0.02em"},xs:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(18),lineHeight:K(22),letterSpacing:"-0.015em"},"2xs":{fontFamily:ye.sans,fontWeight:"700",fontSize:K(16),lineHeight:K(20),letterSpacing:"-0.01em"},"3xs":{fontFamily:ye.sans,fontWeight:"700",fontSize:K(14),lineHeight:K(18),letterSpacing:"-0.005em"}},body:{xl:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(20),lineHeight:K(28),letterSpacing:"-0.02em"},lg:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(18),lineHeight:K(26),letterSpacing:"-0.02em"},md:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(16),lineHeight:K(24),letterSpacing:"-0.01em"},sm:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(14),lineHeight:K(20),letterSpacing:"-0.01em"},xs:{fontFamily:ye.sans,fontWeight:"400",fontSize:K(12),lineHeight:K(16),letterSpacing:"0"}},label:{md:{fontFamily:ye.sans,fontWeight:"500",fontSize:K(16),lineHeight:K(20),letterSpacing:"-0.02em"},sm:{fontFamily:ye.sans,fontWeight:"500",fontSize:K(14),lineHeight:K(18),letterSpacing:"-0.01em"}},button:{md:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(16),lineHeight:K(18),letterSpacing:"-0.01em"},sm:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(14),lineHeight:K(16),letterSpacing:"-0.01em"}},caption:{md:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(12),lineHeight:K(12),letterSpacing:"0"},sm:{fontFamily:ye.sans,fontWeight:"700",fontSize:K(10),lineHeight:K(10),letterSpacing:"0"}}},de={spacing:ae,breakpoints:J,zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},colors:ee,sizes:te,radii:{none:"0px","2xs":"4px",xs:"8px",sm:"12px",md:"16px",lg:"24px",xl:"32px",full:"9999px"},shadows:{none:"none",sm:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035)",md:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417)",lg:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503)",xl:"0px 0.9px 2.1px 0px rgba(0, 0, 0, 0.0197), 0px 2.1px 5px 0px rgba(0, 0, 0, 0.0283), 0px 3.9px 9.4px 0px rgba(0, 0, 0, 0.035), 0px 7px 16.8px 0px rgba(0, 0, 0, 0.0417), 0px 13px 31.3px 0px rgba(0, 0, 0, 0.0503), 0px 31px 75px 0px rgba(0, 0, 0, 0.07)"},typography:he},ke={smUp:"@media(min-width: ".concat(de.breakpoints.sm,"px)"),mdUp:"@media(min-width: ".concat(de.breakpoints.md,"px)"),lgUp:"@media(min-width: ".concat(de.breakpoints.lg,"px)"),xlUp:"@media(min-width: ".concat(de.breakpoints.xl,"px)"),"2xlUp":"@media(min-width: ".concat(de.breakpoints["2xl"],"px)")},pe=b(b({},de),{mediaQueries:ke}),ie=function(e){return Object.keys(e)},re=function(e,a){var t=Object.assign({},e);return ie(a).forEach((function(e){"object"==typeof a[e]?t[e]=re(t[e],a[e]):t[e]=a[e]})),t},ne=function(e){var a=pe.typography,t=pe.colors;return e.typography&&(a=function(e){var a=Object.assign({},pe.typography);return ie(a).forEach((function(t){var y=e[t];if(y){var h=a[t];ie(h).forEach((function(e){h[e].fontFamily=y.fontFamily||h[e].fontFamily,h[e].fontWeight=y.fontWeight||h[e].fontWeight}))}})),a}(e.typography)),e.colors&&(t=re(pe.colors,e.colors)),b(b({},pe),{typography:a,colors:t})},ce=y(_||(_=q(["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"],["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type='checkbox'],\n [type='radio'] {\n padding: 0;\n }\n\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n :disabled {\n cursor: not-allowed;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n"])));function le(){return e(t,{styles:ce})}var oe=r(void 0);function Me(a){var t=a.language,y=a.children;return e(oe.Provider,b({value:{currentLanguage:t}},{children:y}))}function se(t){var y=t.children,k=t.themeOverrides,p=t.cacheOptions,i=t.locale,r=c((function(){var e;return I(b(b({},p),{key:null!==(e=null==p?void 0:p.key)&&void 0!==e?e:"qds"}))}),[p]),n=k?ne(k):pe;return e(Me,b({language:i||"en"},{children:e(h,b({value:r},{children:a(d,b({theme:n},{children:[e(le,{}),e(G,{}),y]}))}))}))}
|
|
2
2
|
/**
|
|
3
3
|
* @license lucide-react v0.294.0 - ISC
|
|
4
4
|
*
|
|
@@ -9238,5 +9238,5 @@ ve("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2
|
|
|
9238
9238
|
* This source code is licensed under the ISC license.
|
|
9239
9239
|
* See the LICENSE file in the root directory of this source tree.
|
|
9240
9240
|
*/
|
|
9241
|
-
ve("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);var ia=function(e){var a=e.src,t=e.loading,y=M(a?"loading":"pending"),h=y[0],d=y[1];return s((function(){if(a){var e=function(e){return function(){d(e)}};d("loading");var y=new Image;y.onload=e("loaded"),y.onerror=e("error"),y.src=a,t&&(y.loading=t)}else d("pending")}),[t,a]),{loadingStatus:h}},ra={xs:32,sm:40,md:48,lg:64,xl:96,"2xl":128},na={xs:12,sm:16,md:20,lg:32,xl:48,"2xl":64},ca=w.span((function(e){var a=e.theme,t=e.size;return{width:ra[t],height:ra[t],borderRadius:a.radii.full,background:a.colors.core.gray20,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(a.colors.border.subtle)}})),la=w.img({width:"100%",height:"100%",objectFit:"cover"}),oa=l((function(a,t){var y=a.src,h=a.name,d=a.size,p=void 0===d?"md":d,i=z(a,["src","name","size"]),r=k(),n=ia({src:y,loading:"eager"}).loadingStatus,c=na[p];return e(ca,b({ref:t,size:p},i,{children:"loaded"===n?e(la,{src:y,alt:h}):e(da,{color:r.colors.icon.disabled,size:c,role:"img","aria-label":h,absoluteStrokeWidth:c<24})}))})),Ma=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,sa=V((function(e){return Ma.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),xa=$((function(){return{sm:{fontSize:K(8)},md:{fontSize:K(16)}}})),va=w.span((function(e){var a=e.theme,t=e.size;return b(b({color:a.colors.core.brown,display:"inline-flex"},xa(a)[t]),{gap:K(6)})})),ma=p({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}),ua=w.span({display:"block",width:"1em",height:"1em",background:"currentColor",borderRadius:999,animationDuration:"".concat(1200,"ms"),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationFillMode:"both","&:nth-of-type(2)":{animationDelay:"".concat(160,"ms")},"&:nth-of-type(3)":{animationDelay:"".concat(320,"ms")},animationName:ma}),ga=l((function(t,y){var h=t.size,d=void 0===h?"md":h,k=z(t,["size"]);return a(va,b({ref:y,size:d},k,{children:[e(ua,{}),e(ua,{}),e(ua,{})]}))})),fa=$((function(e){var a=e.typography,t=e.spacing;return{xs:b({height:K(32),minWidth:K(64),paddingLeft:t["4x"],paddingRight:t["4x"]},a.button.sm),sm:b({height:K(40),minWidth:K(80),paddingLeft:t["5x"],paddingRight:t["5x"]},a.button.sm),md:b({height:K(48),minWidth:K(96),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md),lg:b({height:K(56),minWidth:K(112),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md),xl:b({height:K(64),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md)}})),wa=$((function(e){var a,t,y,h=e.colors;return{primary:(a={background:h.bg.brandPrimary,color:h.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandPrimaryHover}},":active":{background:h.bg.brandPrimaryActive}},a),secondary:(t={background:h.bg.brandSecondary,color:h.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandSecondaryHover}},":active":{background:h.bg.brandSecondaryActive}},t),tertiary:(y={background:h.bg.brandTertiary,color:h.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandTertiaryHover}},":active":{background:h.bg.brandTertiaryActive}},y)}})),ba=w("button",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.variant,h=e.isFullWidth;return b(b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},fa(a)[t]),wa(a)[y]),h&&{width:"100%"})})),za=w(ga)({position:"absolute",color:"currentColor"}),qa=w.span((function(e){return{opacity:e.isHidden?0:1,transition:"opacity 120ms",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),ja=l((function(t,y){var h=t.as,d=t.children,k=t.type,p=void 0===k?h?void 0:"button":k,i=t.size,r=void 0===i?"md":i,n=t.variant,c=void 0===n?"secondary":n,l=t.isFullWidth,o=void 0!==l&&l,M=t.isLoading,s=void 0!==M&&M,x=t.isDisabled,v=void 0!==x&&x,m=t.disabled,u=z(t,["as","children","type","size","variant","isFullWidth","isLoading","isDisabled","disabled"]);return a(ba,b({as:h,ref:y,variant:c,size:r,isFullWidth:o,disabled:v||m||s,type:p},u,{children:[e(qa,b({isHidden:s},{children:d})),s&&e(za,{size:"sm","data-testid":"button-spinner"})]}))})),Ha=w.span((function(e){var a,t=e.theme,y=e.orientation,h="horizontal"===y?"borderTop":"borderLeft";return(a={display:"block"})["horizontal"===y?"width":"height"]="100%",a.flexShrink=0,a[h]="1px solid ".concat(t.colors.border.default),a})),Va=l((function(a,t){var y=a.orientation,h=void 0===y?"horizontal":y,d=z(a,["orientation"]);return e(Ha,b({ref:t,orientation:h,role:"separator"},d))})),Ca=$((function(e){var a=e.typography;return{lg:a.title.lg,md:a.title.md,sm:a.title.sm,xs:a.title.xs,"2xs":a.title["2xs"],"3xs":a.title["3xs"]}})),La=w("h2",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},Ca(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),Aa=l((function(a,t){var y=a.as,h=a.children,d=a.size,k=void 0===d?"md":d,p=a.color,i=void 0===p?"default":p,r=a.textAlign,n=void 0===r?"left":r,c=z(a,["as","children","size","color","textAlign"]);return e(La,b({as:y,ref:t,textAlign:n,size:k,color:i},c,{children:h}))})),Sa=w.aside((function(e){var a=e.theme;return b({backgroundColor:a.colors.bg.inset,borderRadius:a.radii.md,paddingInline:a.spacing["5x"],paddingBlock:a.spacing["4x"]},a.typography.body.sm)})),Za=w.p((function(e){var a=e.theme;return b(b({},a.typography.title["3xs"]),{marginBottom:a.spacing["1x"]})})),Fa=l((function(a,t){var y=a.children,h=z(a,["children"]);return e(Sa,b({ref:t},h,{children:y}))})),Pa=Object.assign(Fa,{Title:Za}),Ba=w.svg((function(e){var a=e.theme,t=e.color,y=void 0===t?"strong":t;return{color:"currentColor"===y?"currentcolor":a.colors.icon[y],display:"inline-block",lineHeight:"1em"}})),Da=function(a){var t=a.viewBox,y=a.d,h=a.displayName,d=void 0===h?"UnnamedIcon":h,k=x.toArray(a.path),p=l((function(a,h){var d=a.size,p=void 0===d?24:d,i=z(a,["size"]);return e(Ba,b({ref:h,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,focusable:"false",viewBox:t,fill:"currentColor"},i,{children:k.length?k:e("path",{fill:"currentColor",d:y})}))}));return p.displayName=d,p},Ta=function(a){var t=l((function(t,y){var h=t.size,d=void 0===h?24:h,p=t.color,i=void 0===p?"default":p,r=z(t,["size","color"]),n=k(),c="currentColor"===i?"currentcolor":n.colors.icon[i];return e(a,b({ref:y,size:d,strokeWidth:2,absoluteStrokeWidth:d<24,color:c},r))}));return t.displayName=a.displayName,t},Ra=Ta(me),Oa=Ta(ue),Wa=Ta(ge),Ea=Ta(fe),Ua=Ta(we),Ia=Ta(be),Na=Ta(qe),Ga=Ta(ze),$a=Ta(je),Xa=Ta(He),_a=Ta(Ve),Ka=Ta(Ce),Ya=Ta(Le),Ja=Ta(Ae),Qa=Ta(Se),et=Ta(Ze),at=Ta(Fe),tt=Ta(Pe),yt=Da({viewBox:"0 0 24 24",d:"M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z",displayName:"HeartFilledIcon"}),ht=Ta(Be),dt=Ta(De),kt=Ta(Te),pt=Ta(Re),it=Ta(Oe),rt=Ta(Ee),nt=Ta(We),ct=Ta(Ue),lt=Ta(Ne),ot=Ta(Ie),Mt=Ta(Ge),st=Ta($e),xt=Ta(Xe),vt=Ta(_e),mt=Ta(Ke),ut=Ta(Ye),gt=Ta(Je),ft=Ta(Qe),wt=Ta(aa),bt=Ta(ta),zt=Ta(ea),qt=Da({viewBox:"0 0 24 24",d:"M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z",displayName:"StarFilledIcon"}),jt=Ta(ya),Ht=Ta(ha),Vt=Ta(da),Ct=Ta(ka),Lt=Ta(pa),At=$((function(){return{xs:{width:K(32),height:K(32),fontSize:K(12)},sm:{width:K(40),height:K(40),fontSize:K(14)},md:{width:K(48),height:K(48),fontSize:K(16)}}})),St=$((function(e){var a,t,y,h,d=e.colors;return{primary:(a={background:d.bg.brandPrimary,color:d.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandPrimaryHover}},":active":{background:d.bg.brandPrimaryActive}},a),secondary:(t={background:d.bg.brandSecondary,color:d.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandSecondaryHover}},":active":{background:d.bg.brandSecondaryActive}},t),tertiary:(y={background:d.bg.brandTertiary,color:d.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandTertiaryHover}},":active":{background:d.bg.brandTertiaryActive}},y),ghost:(h={background:d.bg.default,color:d.text.default},h[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.core.gray20},":active":{background:d.core.gray20}}},h)}})),Zt=w("button",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.variant;return b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},At(a)[t]),St(a)[y])})),Ft=l((function(a,t){var y=a.as,h=a.icon,d=a.label,k=a["aria-label"],p=void 0===k?d:k,i=a.variant,r=void 0===i?"ghost":i,n=a.size,c=void 0===n?"md":n,l=a.type,M=void 0===l?"button":l,s=a.isDisabled,x=void 0!==s&&s,v=z(a,["as","icon","label","aria-label","variant","size","type","isDisabled"]);return e(Zt,b({as:y,ref:t,"aria-label":p,variant:r,size:c,disabled:x,type:M},v,{children:o(h,{"aria-hidden":!0,size:16,color:"currentColor"})}))})),Pt=p({"0%":{opacity:.5},"100%":{opacity:1}}),Bt=w.div((function(e){var a=e.theme,t=e.$width,y=e.$height,h=e.borderRadius,d=e.isLoading;return b(b({width:t,height:y,borderRadius:a.radii[h],overflow:"hidden",transition:"background-color 180ms",background:"transparent",border:"1px solid ".concat(a.colors.core.gray20)},d&&{background:a.colors.core.gray20,animationDuration:"0.8s",animationDirection:"alternate",animationIterationCount:"infinite"}),{animationName:d?Pt:void 0})})),Dt=w.img((function(e){return{width:"100%",height:"100%",objectFit:"cover",opacity:e.isVisible?1:0,transition:"opacity 180ms"}}));function Tt(a){var t=a.src,y=a.loading,h=void 0===y?"lazy":y,d=a.width,k=a.height,p=a.borderRadius,i=void 0===p?"md":p,r=z(a,["src","loading","width","height","borderRadius"]),n=ia({src:t,loading:h}).loadingStatus;return e(Bt,b({isLoading:"loading"===n,$width:d,$height:k,borderRadius:i},{children:e(Dt,b({src:t,isVisible:"loaded"===n,loading:h},r))}))}var Rt=Object.entries(pe.breakpoints).map((function(e){return{name:e[0],breakpoint:e[1]}})),Ot=Rt.map((function(e,a){var t,y=e.name,h=e.breakpoint,d=null===(t=null==Rt?void 0:Rt[a+1])||void 0===t?void 0:t.breakpoint;return{name:y,media:d?"(min-width: ".concat(h,"px) and (max-width: ").concat(d-1,"px)"):"(min-width: ".concat(h,"px)")}})),Wt=function(){var e=Ot.find((function(e){var a=e.media;return window.matchMedia(a).matches}));return(null==e?void 0:e.name)||"base"};function Et(e){var a=(e||{}).ssr,t=M(void 0!==a&&a?"base":Wt),y=t[0],h=t[1];return s((function(){var e=Ot.map((function(e){var a=e.media;return window.matchMedia(a)})),a=function(){h(Wt())};return a(),e.forEach((function(e){"function"==typeof e.addListener?e.addListener(a):e.addEventListener("change",a)})),function(){e.forEach((function(e){"function"==typeof e.addListener?e.removeListener(a):e.removeEventListener("change",a)}))}}),[]),{currentBreakpoint:y}}function Ut(e,a){var t,y=Et(a).currentBreakpoint;if(y in e)t=e[y];else for(var h=Object.keys(J),d=h.indexOf(y);d>=0;d--){var k=h[d];if(k in e){t=e[k];break}}return t}var It=(null===globalThis||void 0===globalThis?void 0:globalThis.document)?v:function(){},Nt=i["useId".toString()]||function(){},Gt=0;function $t(e){var a=M(Nt()),t=a[0],y=a[1];return It((function(){e||y((function(e){return null!=e?e:String(Gt++)}))}),[e]),e||(t?"qds-".concat(t):"")}var Xt=function(e){var a=e.id,t=e.isDisabled,y=e.helperText,h=e.errorMessage,d=e.isInvalid,k=e.isRequired,p=$t(a),i="".concat(p,"-error"),r="".concat(p,"-helper"),n=m((function(e){return b(b({},e),{htmlFor:p,"data-disabled":t?"":void 0})}),[p,t]),c=m((function(e){return b(b({},e),{id:r,"data-disabled":t?"":void 0})}),[r,t]),l=m((function(e){return b(b({},e),{id:i,"aria-live":"polite"})}),[i]);return{getLabelProps:n,getFieldProps:m((function(e){var a,n=[];return Boolean(h)&&d?n.push(i):y&&n.push(r),(null==e?void 0:e["aria-describedby"])&&n.push(e["aria-describedby"]),b(b({},e),{"aria-describedby":n.join(" ")||void 0,id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:p,isDisabled:t,isRequired:k,"aria-invalid":!!d||void 0})}),[h,i,y,r,p,t,d,k]),getHelperTextProps:c,getErrorMessageProps:l}},_t={en:{close:"Close",optional:"Optional"},sv:{close:"Stäng",optional:"Valfritt"},fi:{close:"Sulje",optional:"Valinnainen"},fr:{close:"Fermer",optional:"Facultatif"}};function Kt(){var e=function(){var e=n(oe);if(!e)throw new Error("useLocale must be used within a LocaleProvider");return e}().currentLanguage;return{t:function(a){return _t[e][a]}}}var Yt=$((function(e){var a=e.typography;return{sm:b({},a.label.sm),md:b({},a.label.md)}})),Jt=w("label",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.color,y=e.size;return b(b({display:"block",color:a.colors.text[t],cursor:"default",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},Yt(a)[y]),{"&[data-disabled]":{opacity:.4}})})),Qt=l((function(a,t){var y=a.as,h=a.children,d=a.color,k=void 0===d?"default":d,p=a.size,i=void 0===p?"md":p,r=a.onMouseDown,n=z(a,["as","children","color","size","onMouseDown"]);return e(Jt,b({as:y,ref:t},n,{size:i,color:k,onMouseDown:function(e){r&&r(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},{children:h}))})),ey=w("input")((function(e){var a=e.theme;return b(b({},Y(a)),{height:48})})),ay=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=z(a,["isInvalid","isDisabled","isRequired"]);return e(ey,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d},k))})),ty=w.div((function(e){return{position:"relative",display:"flex",flexDirection:"column",gap:e.theme.spacing["2x"],width:"100%"}}));function yy(a){var t=a.children;return e(ty,b({role:"group"},{children:t}))}var hy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.negative})})),dy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle,"&[data-disabled]":{opacity:.4}})})),ky=w.div((function(e){return{width:"100%",position:e.isPositionRelative?"relative":void 0}})),py=w.span((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle})})),iy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.md),{position:"absolute",height:"100%",top:0,right:0,display:"flex",alignItems:"center",paddingLeft:a.spacing["4x"],paddingRight:a.spacing["4x"],pointerEvents:"none","&[data-disabled]":{opacity:.4}})})),ry=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.isDisabled,p=t.isRequired,i=t.isOptional,r=t.errorMessage,n=t.helperText,c=t.suffix,l=z(t,["label","isInvalid","isDisabled","isRequired","isOptional","errorMessage","helperText","suffix"]),o=Xt(t),s=o.getLabelProps,x=o.getFieldProps,v=o.getErrorMessageProps,m=o.getHelperTextProps,g=M(void 0),f=g[0],w=g[1],q=u(null),j=Kt().t;It((function(){var e;w(null===(e=q.current)||void 0===e?void 0:e.offsetWidth)}),[c]);var H=n?e(dy,b({},m(),{children:n})):null,V=d&&r?e(hy,b({},v(),{children:r})):null,C=Boolean(c),L=Boolean(!p&&i);return a(yy,{children:[a(Qt,b({},s(),{children:[h,L&&e(py,{children:" (".concat(j("optional"),")")})]})),a(ky,b({isPositionRelative:C},{children:[e(ay,b({ref:y},x(b(b({},l),{style:{paddingRight:f}})))),C&&e(iy,b({ref:q,"aria-hidden":"true","data-disabled":k?"":void 0},{children:c}))]})),V||H]})})),ny=w("a",{shouldForwardProp:sa})((function(e){var a=e.theme;return b(b({WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},a.typography.body.md),{WebkitAppearance:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease",flexShrink:0,fontSize:"inherit",color:"inherit",textDecoration:"underline"})})),cy=l((function(a,t){var y=a.children,h=a.href,d=a.isExternal,k=void 0!==d&&d,p=z(a,["children","href","isExternal"]);return e(ny,b({ref:t,href:h},k?{target:"_blank",rel:"noopener noreferrer"}:{},p,{children:y}))})),ly=$((function(e){var a=e.typography;return{xs:a.body.xs,sm:a.body.sm,md:a.body.md,lg:a.body.lg,xl:a.body.xl}})),oy=w("p",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},ly(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),My=l((function(a,t){var y=a.children,h=a.size,d=void 0===h?"md":h,k=a.color,p=void 0===k?"default":k,i=a.textAlign,r=void 0===i?"left":i,n=z(a,["children","size","color","textAlign"]);return e(oy,b({ref:t,size:d,color:p,textAlign:r},n,{children:y}))})),sy=w.div({width:"100%",height:"fit-content",position:"relative"}),xy=w.div({pointerEvents:"none",position:"absolute",height:"100%",width:48,right:0,top:0,color:"currentcolor",display:"inline-flex",justifyContent:"center",alignItems:"center","&[data-disabled]":{opacity:.4}}),vy=w.select((function(e){var a=e.theme;return b(b({},Y(a)),{height:48,paddingRight:40})})),my=l((function(t,y){var h=t.placeholder,d=t.children,k=t.isInvalid,p=t.isDisabled,i=t.isRequired,r=z(t,["placeholder","children","isInvalid","isDisabled","isRequired"]);return a(sy,{children:[a(vy,b({ref:y,"aria-invalid":!!k||void 0,disabled:p,required:i},r,{children:[h&&e("option",b({value:""},{children:h})),d]})),e(xy,b({"data-disabled":p?"":void 0},{children:e(Ja,{role:"presentation","aria-hidden":"true",size:16})}))]})})),uy=w.textarea((function(e){var a=e.theme,t=e.resize,y=e.minRows,h=Y(a),d=a.spacing["3x"],k="calc(".concat(h.lineHeight," * ").concat(y," + ").concat(d," * 2 + 2px)");return b(b({},h),{paddingTop:d,paddingBottom:d,scrollPaddingBlockEnd:d,resize:t,minHeight:k})})),gy=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=a.resize,p=void 0===k?"vertical":k,i=a.minRows,r=void 0===i?3:i,n=z(a,["isInvalid","isDisabled","isRequired","resize","minRows"]);return e(uy,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d,resize:p,minRows:r},n))})),fy=l((function(a,t){var y=a.children,h=a.isDisabled,d=z(a,["children","isDisabled"]);return e("option",b({ref:t,disabled:h},d,{children:y}))})),wy=l((function(t,y){var h=t.children,d=t.label,k=t.isInvalid,p=t.errorMessage,i=t.helperText,r=z(t,["children","label","isInvalid","errorMessage","helperText"]),n=Xt(t),c=n.getLabelProps,l=n.getFieldProps,o=n.getErrorMessageProps,M=n.getHelperTextProps,s=i?e(dy,b({},M(),{children:i})):null,x=k&&p?e(hy,b({},o(),{children:p})):null;return a(yy,{children:[e(Qt,b({},c(),{children:d})),e(my,b({ref:y},l(r),{children:h})),x||s]})})),by=Object.assign(wy,{Option:fy}),zy=l((function(a,t){var y=a.axis,h=void 0===y?"y":y,d=a.size,p=z(a,["axis","size"]),i=k().spacing[d],r="y"===h?1:i,n="x"===h?1:i;return e("span",b({ref:t,"aria-hidden":"true"},p,{style:b({display:"block",width:r,minWidth:r,height:n,minHeight:n},p.style)}))}));var qy=w("div",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.direction,y=e.justifyContent,h=e.alignItems,d=e.wrap,k=e.gap;return{display:"flex",gap:a.spacing[k],flexDirection:t,justifyContent:y,alignItems:h,flexWrap:d}})),jy=l((function(t,y){var h=t.as,d=t.children,k=t.direction,p=void 0===k?"column":k,i=t.justifyContent,r=void 0===i?"flex-start":i,n=t.alignItems,c=void 0===n?"stretch":n,l=t.divider,o=t.gap,M=void 0===o?"0x":o,s=z(t,["as","children","direction","justifyContent","alignItems","divider","gap"]),v=Boolean(l)?function(e){return x.toArray(e).filter((function(e){return g(e)}))}(d).map((function(e,t,y){var h=void 0!==e.key?e.key:t,d=t+1===y.length;return a(f,{children:[e,d?null:l]},h)})):d;return e(qy,b({as:h,ref:y,direction:p,justifyContent:r,alignItems:c,gap:M},s,{children:v}))})),Hy=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.errorMessage,p=t.helperText,i=z(t,["label","isInvalid","errorMessage","helperText"]),r=Xt(t),n=r.getLabelProps,c=r.getFieldProps,l=r.getErrorMessageProps,o=r.getHelperTextProps,M=p?e(dy,b({},o(),{children:p})):null,s=d&&k?e(hy,b({},l(),{children:k})):null;return a(yy,{children:[e(Qt,b({},n(),{children:h})),e(gy,b({ref:y},c(i))),s||M]})}));export{Ra as AlertCircleIcon,Oa as AlertTriangleIcon,Wa as ArrowDownIcon,Ea as ArrowLeftIcon,Ua as ArrowRightIcon,Ia as ArrowUpIcon,oa as Avatar,Na as BellIcon,Ga as BellOffIcon,$a as BookmarkIcon,ja as Button,Xa as CalendarIcon,_a as CameraIcon,Ka as CheckCircleIcon,Ya as CheckIcon,Ja as ChevronDownIcon,Qa as ChevronLeftIcon,et as ChevronRightIcon,at as ChevronUpIcon,Va as Divider,G as GlobalStyles,tt as GlobeIcon,Aa as Heading,yt as HeartFilledIcon,ht as HeartIcon,dt as HelpCircleIcon,Pa as HintBox,kt as HistoryIcon,pt as HomeIcon,Ft as IconButton,Tt as Image,it as ImageIcon,ay as InputBase,Qt as Label,cy as Link,nt as ListFilterIcon,rt as ListIcon,ga as LoadingDots,ct as LogOutIcon,lt as MapIcon,ot as MapPinIcon,Mt as MenuIcon,st as MessageCircleIcon,xt as MinusIcon,vt as MoreHorizontalIcon,mt as MoreVerticalIcon,My as Paragraph,ut as PenIcon,gt as PlusIcon,se as QdsProvider,ft as SearchIcon,by as Select,my as SelectBase,wt as SettingsIcon,bt as ShareIcon,zt as SlidersIcon,zy as Spacer,jy as Stack,qt as StarFilledIcon,jt as StarIcon,ry as TextField,Hy as Textarea,gy as TextareaBase,Ht as TrashIcon,Vt as UserIcon,Ct as XCircleIcon,Lt as XIcon,Da as createIcon,Ta as createLucideIcon,X as createStyle,$ as createStyleVariants,Y as getFormFieldBaseStyles,ne as overrideTheme,K as pxToRem,pe as theme,Et as useBreakpoint,Ut as useBreakpointValue,Xt as useFormField,ia as useImage,It as useSafeLayoutEffect,$t as useStableId};
|
|
9241
|
+
ve("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);var ia=function(e){var a=e.src,t=e.loading,y=M(a?"loading":"pending"),h=y[0],d=y[1];return s((function(){if(a){var e=function(e){return function(){d(e)}};d("loading");var y=new Image;y.onload=e("loaded"),y.onerror=e("error"),y.src=a,t&&(y.loading=t)}else d("pending")}),[t,a]),{loadingStatus:h}},ra={xs:32,sm:40,md:48,lg:64,xl:96,"2xl":128},na={xs:12,sm:16,md:20,lg:32,xl:48,"2xl":64},ca=w.span((function(e){var a=e.theme,t=e.size;return{width:ra[t],height:ra[t],borderRadius:a.radii.full,background:a.colors.core.gray20,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid ".concat(a.colors.border.subtle)}})),la=w.img({width:"100%",height:"100%",objectFit:"cover"}),oa=l((function(a,t){var y=a.src,h=a.name,d=a.size,p=void 0===d?"md":d,i=z(a,["src","name","size"]),r=k(),n=ia({src:y,loading:"eager"}).loadingStatus,c=na[p];return e(ca,b({ref:t,size:p},i,{children:"loaded"===n?e(la,{src:y,alt:h}):e(da,{color:r.colors.icon.disabled,size:c,role:"img","aria-label":h,absoluteStrokeWidth:c<24})}))})),Ma=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,sa=V((function(e){return Ma.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),xa=$((function(){return{sm:{fontSize:K(8)},md:{fontSize:K(16)}}})),va=w.span((function(e){var a=e.theme,t=e.size;return b(b({color:a.colors.core.brown,display:"inline-flex"},xa(a)[t]),{gap:K(6)})})),ma=p({"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}),ua=w.span({display:"block",width:"1em",height:"1em",background:"currentColor",borderRadius:999,animationDuration:"".concat(1200,"ms"),animationTimingFunction:"ease-in-out",animationIterationCount:"infinite",animationFillMode:"both","&:nth-of-type(2)":{animationDelay:"".concat(160,"ms")},"&:nth-of-type(3)":{animationDelay:"".concat(320,"ms")},animationName:ma}),ga=l((function(t,y){var h=t.size,d=void 0===h?"md":h,k=z(t,["size"]);return a(va,b({ref:y,size:d},k,{children:[e(ua,{}),e(ua,{}),e(ua,{})]}))})),fa=$((function(e){var a=e.typography,t=e.spacing;return{xs:b({height:K(32),paddingLeft:t["4x"],paddingRight:t["4x"]},a.button.sm),sm:b({height:K(40),paddingLeft:t["5x"],paddingRight:t["5x"]},a.button.sm),md:b({height:K(48),paddingLeft:t["6x"],paddingRight:t["6x"]},a.button.md),lg:b({height:K(56),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md),xl:b({height:K(64),paddingLeft:t["8x"],paddingRight:t["8x"]},a.button.md)}})),wa=$((function(e){var a,t,y,h=e.colors;return{primary:(a={background:h.bg.brandPrimary,color:h.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandPrimaryHover}},":active":{background:h.bg.brandPrimaryActive}},a),secondary:(t={background:h.bg.brandSecondary,color:h.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandSecondaryHover}},":active":{background:h.bg.brandSecondaryActive}},t),tertiary:(y={background:h.bg.brandTertiary,color:h.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:h.bg.brandTertiaryHover}},":active":{background:h.bg.brandTertiaryActive}},y)}})),ba={xs:16,sm:16,md:20,lg:20,xl:20},za={xs:"2x",sm:"3x",md:"3x",lg:"4x",xl:"4x"},qa={xs:"1x",sm:"1x",md:"1x",lg:"2x",xl:"2x"},ja=w.span((function(e){var a=e.theme,t=e.buttonSize;return{flexShrink:0,marginLeft:"-".concat(a.spacing[qa[t]]),marginRight:a.spacing[za[t]]}})),Ha=w.span((function(e){var a=e.theme,t=e.buttonSize;return{flexShrink:0,marginRight:"-".concat(a.spacing[qa[t]]),marginLeft:a.spacing[za[t]]}}));function Va(a){var t=a.buttonSize,y=a.icon,h=a.placement;return e("left"===h?ja:Ha,b({buttonSize:t},{children:e(y,{"aria-hidden":"true",size:ba[t],color:"currentColor"})}))}var Ca=w("button",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.variant,h=e.isFullWidth;return b(b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},fa(a)[t]),wa(a)[y]),h&&{width:"100%"})})),La=w(ga)({position:"absolute",color:"currentColor"}),Aa=w.span({opacity:0,display:"flex",alignItems:"center"}),Sa=l((function(t,y){var h=t.as,d=t.children,k=t.type,p=void 0===k?h?void 0:"button":k,i=t.size,r=void 0===i?"md":i,n=t.variant,c=void 0===n?"secondary":n,l=t.isFullWidth,o=void 0!==l&&l,M=t.isLoading,s=void 0!==M&&M,v=t.isDisabled,m=void 0!==v&&v,u=t.disabled,g=t.iconLeft,f=t.iconRight,w=z(t,["as","children","type","size","variant","isFullWidth","isLoading","isDisabled","disabled","iconLeft","iconRight"]);return a(Ca,b({as:h,ref:y,variant:c,size:r,isFullWidth:o,disabled:m||u||s,type:p},w,{children:[a(s?Aa:x,{children:[g&&e(Va,{buttonSize:r,icon:g,placement:"left"}),d,f&&e(Va,{buttonSize:r,icon:f,placement:"right"})]}),s&&e(La,{size:"sm","data-testid":"button-spinner"})]}))})),Za=w.span((function(e){var a,t=e.theme,y=e.orientation,h="horizontal"===y?"borderTop":"borderLeft";return(a={display:"block"})["horizontal"===y?"width":"height"]="100%",a.flexShrink=0,a[h]="1px solid ".concat(t.colors.border.default),a})),Fa=l((function(a,t){var y=a.orientation,h=void 0===y?"horizontal":y,d=z(a,["orientation"]);return e(Za,b({ref:t,orientation:h,role:"separator"},d))})),Pa=$((function(e){var a=e.typography;return{lg:a.title.lg,md:a.title.md,sm:a.title.sm,xs:a.title.xs,"2xs":a.title["2xs"],"3xs":a.title["3xs"]}})),Ba=w("h2",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},Pa(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),Da=l((function(a,t){var y=a.as,h=a.children,d=a.size,k=void 0===d?"md":d,p=a.color,i=void 0===p?"default":p,r=a.textAlign,n=void 0===r?"left":r,c=z(a,["as","children","size","color","textAlign"]);return e(Ba,b({as:y,ref:t,textAlign:n,size:k,color:i},c,{children:h}))})),Ta=w.aside((function(e){var a=e.theme;return b({backgroundColor:a.colors.bg.inset,borderRadius:a.radii.md,paddingInline:a.spacing["5x"],paddingBlock:a.spacing["4x"]},a.typography.body.sm)})),Ra=w.p((function(e){var a=e.theme;return b(b({},a.typography.title["3xs"]),{marginBottom:a.spacing["1x"]})})),Oa=l((function(a,t){var y=a.children,h=z(a,["children"]);return e(Ta,b({ref:t},h,{children:y}))})),Wa=Object.assign(Oa,{Title:Ra}),Ea=w.svg((function(e){var a=e.theme,t=e.color,y=void 0===t?"default":t;return{color:"currentColor"===y?"currentcolor":a.colors.icon[y],display:"inline-block",lineHeight:"1em"}})),Ua=function(a){var t=a.viewBox,y=a.d,h=a.displayName,d=void 0===h?"UnnamedIcon":h,k=v.toArray(a.path),p=l((function(a,h){var d=a.size,p=void 0===d?24:d,i=z(a,["size"]);return e(Ea,b({ref:h,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,focusable:"false",viewBox:t,fill:"currentColor"},i,{children:k.length?k:e("path",{fill:"currentColor",d:y})}))}));return p.displayName=d,p},Ia=function(a){var t=l((function(t,y){var h=t.size,d=void 0===h?24:h,p=t.color,i=void 0===p?"default":p,r=z(t,["size","color"]),n=k(),c="currentColor"===i?"currentcolor":n.colors.icon[i];return e(a,b({ref:y,size:d,strokeWidth:2,absoluteStrokeWidth:d<24,color:c},r))}));return t.displayName=a.displayName,t},Na=Ia(me),Ga=Ia(ue),$a=Ia(ge),Xa=Ia(fe),_a=Ia(we),Ka=Ia(be),Ya=Ia(qe),Ja=Ia(ze),Qa=Ia(je),et=Ia(He),at=Ia(Ve),tt=Ia(Ce),yt=Ia(Le),ht=Ia(Ae),dt=Ia(Se),kt=Ia(Ze),pt=Ia(Fe),it=Ia(Pe),rt=Ua({viewBox:"0 0 24 24",d:"M2.90381 3.90381C4.12279 2.68482 5.77609 2 7.5 2C8.48018 2 9.37318 2.14018 10.2468 2.52068C10.8597 2.78762 11.4321 3.15937 12 3.63935C12.5679 3.15937 13.1403 2.78762 13.7532 2.52068C14.6268 2.14018 15.5198 2 16.5 2C18.2239 2 19.8772 2.68482 21.0962 3.90381C22.3152 5.12279 23 6.77609 23 8.5C23 11.2418 21.1906 13.2531 19.7035 14.7107L12.7071 21.7071C12.3166 22.0976 11.6834 22.0976 11.2929 21.7071L4.29885 14.7131C2.79442 13.258 1 11.2494 1 8.5C1 6.77609 1.68482 5.12279 2.90381 3.90381Z",displayName:"HeartFilledIcon"}),nt=Ia(Be),ct=Ia(De),lt=Ia(Te),ot=Ia(Re),Mt=Ia(Oe),st=Ia(Ee),xt=Ia(We),vt=Ia(Ue),mt=Ia(Ne),ut=Ia(Ie),gt=Ia(Ge),ft=Ia($e),wt=Ia(Xe),bt=Ia(_e),zt=Ia(Ke),qt=Ia(Ye),jt=Ia(Je),Ht=Ia(Qe),Vt=Ia(aa),Ct=Ia(ta),Lt=Ia(ea),At=Ua({viewBox:"0 0 24 24",d:"M12 1C12.3806 1 12.7282 1.21607 12.8967 1.55738L15.7543 7.34647L22.1446 8.28051C22.5212 8.33555 22.8339 8.59956 22.9512 8.96157C23.0686 9.32358 22.9703 9.72083 22.6977 9.98636L18.0745 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7677 21.8291C18.4598 22.0528 18.0515 22.0823 17.7145 21.9051L12 18.8998L6.28545 21.9051C5.94853 22.0823 5.54024 22.0528 5.23226 21.8291C4.92429 21.6053 4.77004 21.2261 4.83439 20.851L5.92548 14.4894L1.30227 9.98636C1.02965 9.72083 0.931375 9.32358 1.04875 8.96157C1.16613 8.59956 1.47881 8.33555 1.85537 8.28051L8.24574 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1Z",displayName:"StarFilledIcon"}),St=Ia(ya),Zt=Ia(ha),Ft=Ia(da),Pt=Ia(ka),Bt=Ia(pa),Dt=$((function(){return{xs:{width:K(32),height:K(32)},sm:{width:K(40),height:K(40)},md:{width:K(48),height:K(48)}}})),Tt=$((function(e){var a,t,y,h,d=e.colors;return{primary:(a={background:d.bg.brandPrimary,color:d.text.onBrandPrimary},a[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandPrimaryHover}},":active":{background:d.bg.brandPrimaryActive}},a),secondary:(t={background:d.bg.brandSecondary,color:d.text.onBrandSecondary},t[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandSecondaryHover}},":active":{background:d.bg.brandSecondaryActive}},t),tertiary:(y={background:d.bg.brandTertiary,color:d.text.onBrandTertiary},y[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.bg.brandTertiaryHover}},":active":{background:d.bg.brandTertiaryActive}},y),ghost:(h={background:d.bg.default,color:d.text.default},h[":not([disabled])"]={"@media(hover: hover)":{":hover":{background:d.core.gray20}},":active":{background:d.core.gray20}},h)}})),Rt={xs:16,sm:20,md:20},Ot=w("button",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.variant;return b(b({borderRadius:a.radii.full,display:"inline-flex",justifyContent:"center",alignItems:"center",position:"relative",flexShrink:0,WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",userSelect:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease","&[disabled]":{opacity:.4},"&:not([disabled]):active":{transform:"scale(0.97)"}},Dt(a)[t]),Tt(a)[y])})),Wt=l((function(a,t){var y=a.as,h=a.icon,d=a.label,k=a["aria-label"],p=void 0===k?d:k,i=a.variant,r=void 0===i?"ghost":i,n=a.size,c=void 0===n?"md":n,l=a.type,M=void 0===l?"button":l,s=a.isDisabled,x=void 0!==s&&s,v=z(a,["as","icon","label","aria-label","variant","size","type","isDisabled"]);return e(Ot,b({as:y,ref:t,"aria-label":p,variant:r,size:c,disabled:x,type:M},v,{children:o(h,{"aria-hidden":!0,size:Rt[c],color:"currentColor"})}))})),Et=p({"0%":{opacity:.5},"100%":{opacity:1}}),Ut=w.div((function(e){var a=e.theme,t=e.$width,y=e.$height,h=e.borderRadius,d=e.isLoading;return b(b({width:t,height:y,borderRadius:a.radii[h],overflow:"hidden",transition:"background-color 180ms",background:"transparent",border:"1px solid ".concat(a.colors.core.gray20)},d&&{background:a.colors.core.gray20,animationDuration:"0.8s",animationDirection:"alternate",animationIterationCount:"infinite"}),{animationName:d?Et:void 0})})),It=w.img((function(e){return{width:"100%",height:"100%",objectFit:"cover",opacity:e.isVisible?1:0,transition:"opacity 180ms"}}));function Nt(a){var t=a.src,y=a.loading,h=void 0===y?"lazy":y,d=a.width,k=a.height,p=a.borderRadius,i=void 0===p?"md":p,r=z(a,["src","loading","width","height","borderRadius"]),n=ia({src:t,loading:h}).loadingStatus;return e(Ut,b({isLoading:"loading"===n,$width:d,$height:k,borderRadius:i},{children:e(It,b({src:t,isVisible:"loaded"===n,loading:h},r))}))}var Gt=Object.entries(pe.breakpoints).map((function(e){return{name:e[0],breakpoint:e[1]}})),$t=Gt.map((function(e,a){var t,y=e.name,h=e.breakpoint,d=null===(t=null==Gt?void 0:Gt[a+1])||void 0===t?void 0:t.breakpoint;return{name:y,media:d?"(min-width: ".concat(h,"px) and (max-width: ").concat(d-1,"px)"):"(min-width: ".concat(h,"px)")}})),Xt=function(){var e=$t.find((function(e){var a=e.media;return window.matchMedia(a).matches}));return(null==e?void 0:e.name)||"base"};function _t(e){var a=(e||{}).ssr,t=M(void 0!==a&&a?"base":Xt),y=t[0],h=t[1];return s((function(){var e=$t.map((function(e){var a=e.media;return window.matchMedia(a)})),a=function(){h(Xt())};return a(),e.forEach((function(e){"function"==typeof e.addListener?e.addListener(a):e.addEventListener("change",a)})),function(){e.forEach((function(e){"function"==typeof e.addListener?e.removeListener(a):e.removeEventListener("change",a)}))}}),[]),{currentBreakpoint:y}}function Kt(e,a){var t,y=_t(a).currentBreakpoint;if(y in e)t=e[y];else for(var h=Object.keys(J),d=h.indexOf(y);d>=0;d--){var k=h[d];if(k in e){t=e[k];break}}return t}var Yt=(null===globalThis||void 0===globalThis?void 0:globalThis.document)?m:function(){},Jt=i["useId".toString()]||function(){},Qt=0;function ey(e){var a=M(Jt()),t=a[0],y=a[1];return Yt((function(){e||y((function(e){return null!=e?e:String(Qt++)}))}),[e]),e||(t?"qds-".concat(t):"")}var ay=function(e){var a=e.id,t=e.isDisabled,y=e.helperText,h=e.errorMessage,d=e.isInvalid,k=e.isRequired,p=ey(a),i="".concat(p,"-error"),r="".concat(p,"-helper"),n=u((function(e){return b(b({},e),{htmlFor:p,"data-disabled":t?"":void 0})}),[p,t]),c=u((function(e){return b(b({},e),{id:r,"data-disabled":t?"":void 0})}),[r,t]),l=u((function(e){return b(b({},e),{id:i,"aria-live":"polite"})}),[i]);return{getLabelProps:n,getFieldProps:u((function(e){var a,n=[];return Boolean(h)&&d?n.push(i):y&&n.push(r),(null==e?void 0:e["aria-describedby"])&&n.push(e["aria-describedby"]),b(b({},e),{"aria-describedby":n.join(" ")||void 0,id:null!==(a=null==e?void 0:e.id)&&void 0!==a?a:p,isDisabled:t,isRequired:k,"aria-invalid":!!d||void 0})}),[h,i,y,r,p,t,d,k]),getHelperTextProps:c,getErrorMessageProps:l}},ty={en:{close:"Close",optional:"Optional"},sv:{close:"Stäng",optional:"Valfritt"},fi:{close:"Sulje",optional:"Valinnainen"},fr:{close:"Fermer",optional:"Facultatif"}};function yy(){var e=function(){var e=n(oe);if(!e)throw new Error("useLocale must be used within a LocaleProvider");return e}().currentLanguage;return{t:function(a){return ty[e][a]}}}var hy=$((function(e){var a=e.typography;return{sm:b({},a.label.sm),md:b({},a.label.md)}})),dy=w("label",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.color,y=e.size;return b(b({display:"block",color:a.colors.text[t],cursor:"default",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},hy(a)[y]),{"&[data-disabled]":{opacity:.4}})})),ky=l((function(a,t){var y=a.as,h=a.children,d=a.color,k=void 0===d?"default":d,p=a.size,i=void 0===p?"md":p,r=a.onMouseDown,n=z(a,["as","children","color","size","onMouseDown"]);return e(dy,b({as:y,ref:t},n,{size:i,color:k,onMouseDown:function(e){r&&r(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},{children:h}))})),py=w("input")((function(e){var a=e.theme;return b(b({},Y(a)),{height:48})})),iy=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=z(a,["isInvalid","isDisabled","isRequired"]);return e(py,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d},k))})),ry=w.div((function(e){return{position:"relative",display:"flex",flexDirection:"column",gap:e.theme.spacing["2x"],width:"100%"}}));function ny(a){var t=a.children;return e(ry,b({role:"group"},{children:t}))}var cy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.negative})})),ly=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle,"&[data-disabled]":{opacity:.4}})})),oy=w.div((function(e){return{width:"100%",position:e.isPositionRelative?"relative":void 0}})),My=w.span((function(e){var a=e.theme;return b(b({},a.typography.body.sm),{color:a.colors.text.subtle})})),sy=w.div((function(e){var a=e.theme;return b(b({},a.typography.body.md),{position:"absolute",height:"100%",top:0,right:0,display:"flex",alignItems:"center",paddingLeft:a.spacing["4x"],paddingRight:a.spacing["4x"],pointerEvents:"none","&[data-disabled]":{opacity:.4}})})),xy=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.isDisabled,p=t.isRequired,i=t.isOptional,r=t.errorMessage,n=t.helperText,c=t.suffix,l=z(t,["label","isInvalid","isDisabled","isRequired","isOptional","errorMessage","helperText","suffix"]),o=ay(t),s=o.getLabelProps,x=o.getFieldProps,v=o.getErrorMessageProps,m=o.getHelperTextProps,u=M(void 0),f=u[0],w=u[1],q=g(null),j=yy().t;Yt((function(){var e;w(null===(e=q.current)||void 0===e?void 0:e.offsetWidth)}),[c]);var H=n?e(ly,b({},m(),{children:n})):null,V=d&&r?e(cy,b({},v(),{children:r})):null,C=Boolean(c),L=Boolean(!p&&i);return a(ny,{children:[a(ky,b({},s(),{children:[h,L&&e(My,{children:" (".concat(j("optional"),")")})]})),a(oy,b({isPositionRelative:C},{children:[e(iy,b({ref:y},x(b(b({},l),{style:{paddingRight:f}})))),C&&e(sy,b({ref:q,"aria-hidden":"true","data-disabled":k?"":void 0},{children:c}))]})),V||H]})})),vy=w("a",{shouldForwardProp:sa})((function(e){var a=e.theme;return b(b({WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent"},a.typography.body.md),{WebkitAppearance:"none",transitionProperty:"box-shadow, transform, opacity, background-color, color",transitionDuration:"150ms",transitionTimingFunction:"ease",flexShrink:0,fontSize:"inherit",color:"inherit",textDecoration:"underline"})})),my=l((function(a,t){var y=a.children,h=a.href,d=a.isExternal,k=void 0!==d&&d,p=z(a,["children","href","isExternal"]);return e(vy,b({ref:t,href:h},k?{target:"_blank",rel:"noopener noreferrer"}:{},p,{children:y}))})),uy=$((function(e){var a=e.typography;return{xs:a.body.xs,sm:a.body.sm,md:a.body.md,lg:a.body.lg,xl:a.body.xl}})),gy=w("p",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.size,y=e.color,h=e.numberOfLines,d=e.textAlign;return b(b(b({margin:0},uy(a)[t]),{color:a.colors.text[y],textAlign:d,overflowWrap:"break-word",wordWrap:"break-word"}),h&&{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:h,overflow:"hidden",textOverflow:"ellipsis"})})),fy=l((function(a,t){var y=a.children,h=a.size,d=void 0===h?"md":h,k=a.color,p=void 0===k?"default":k,i=a.textAlign,r=void 0===i?"left":i,n=z(a,["children","size","color","textAlign"]);return e(gy,b({ref:t,size:d,color:p,textAlign:r},n,{children:y}))})),wy=w.div({width:"100%",height:"fit-content",position:"relative"}),by=w.div({pointerEvents:"none",position:"absolute",height:"100%",width:48,right:0,top:0,color:"currentcolor",display:"inline-flex",justifyContent:"center",alignItems:"center","&[data-disabled]":{opacity:.4}}),zy=w.select((function(e){var a=e.theme;return b(b({},Y(a)),{height:48,paddingRight:40})})),qy=l((function(t,y){var h=t.placeholder,d=t.children,k=t.isInvalid,p=t.isDisabled,i=t.isRequired,r=z(t,["placeholder","children","isInvalid","isDisabled","isRequired"]);return a(wy,{children:[a(zy,b({ref:y,"aria-invalid":!!k||void 0,disabled:p,required:i},r,{children:[h&&e("option",b({value:""},{children:h})),d]})),e(by,b({"data-disabled":p?"":void 0},{children:e(ht,{role:"presentation","aria-hidden":"true",size:16})}))]})})),jy=w.textarea((function(e){var a=e.theme,t=e.resize,y=e.minRows,h=Y(a),d=a.spacing["3x"],k="calc(".concat(h.lineHeight," * ").concat(y," + ").concat(d," * 2 + 2px)");return b(b({},h),{paddingTop:d,paddingBottom:d,scrollPaddingBlockEnd:d,resize:t,minHeight:k})})),Hy=l((function(a,t){var y=a.isInvalid,h=a.isDisabled,d=a.isRequired,k=a.resize,p=void 0===k?"vertical":k,i=a.minRows,r=void 0===i?3:i,n=z(a,["isInvalid","isDisabled","isRequired","resize","minRows"]);return e(jy,b({ref:t,"aria-invalid":!!y||void 0,disabled:h,required:d,resize:p,minRows:r},n))})),Vy=l((function(a,t){var y=a.children,h=a.isDisabled,d=z(a,["children","isDisabled"]);return e("option",b({ref:t,disabled:h},d,{children:y}))})),Cy=l((function(t,y){var h=t.children,d=t.label,k=t.isInvalid,p=t.errorMessage,i=t.helperText,r=z(t,["children","label","isInvalid","errorMessage","helperText"]),n=ay(t),c=n.getLabelProps,l=n.getFieldProps,o=n.getErrorMessageProps,M=n.getHelperTextProps,s=i?e(ly,b({},M(),{children:i})):null,x=k&&p?e(cy,b({},o(),{children:p})):null;return a(ny,{children:[e(ky,b({},c(),{children:d})),e(qy,b({ref:y},l(r),{children:h})),x||s]})})),Ly=Object.assign(Cy,{Option:Vy}),Ay=l((function(a,t){var y=a.axis,h=void 0===y?"y":y,d=a.size,p=z(a,["axis","size"]),i=k().spacing[d],r="y"===h?1:i,n="x"===h?1:i;return e("span",b({ref:t,"aria-hidden":"true"},p,{style:b({display:"block",width:r,minWidth:r,height:n,minHeight:n},p.style)}))}));var Sy=w("div",{shouldForwardProp:sa})((function(e){var a=e.theme,t=e.direction,y=e.justifyContent,h=e.alignItems,d=e.wrap,k=e.gap;return{display:"flex",gap:a.spacing[k],flexDirection:t,justifyContent:y,alignItems:h,flexWrap:d}})),Zy=l((function(t,y){var h=t.as,d=t.children,k=t.direction,p=void 0===k?"column":k,i=t.justifyContent,r=void 0===i?"flex-start":i,n=t.alignItems,c=void 0===n?"stretch":n,l=t.divider,o=t.gap,M=void 0===o?"0x":o,s=z(t,["as","children","direction","justifyContent","alignItems","divider","gap"]),m=Boolean(l)?function(e){return v.toArray(e).filter((function(e){return f(e)}))}(d).map((function(e,t,y){var h=void 0!==e.key?e.key:t,d=t+1===y.length;return a(x,{children:[e,d?null:l]},h)})):d;return e(Sy,b({as:h,ref:y,direction:p,justifyContent:r,alignItems:c,gap:M},s,{children:m}))})),Fy=l((function(t,y){var h=t.label,d=t.isInvalid,k=t.errorMessage,p=t.helperText,i=z(t,["label","isInvalid","errorMessage","helperText"]),r=ay(t),n=r.getLabelProps,c=r.getFieldProps,l=r.getErrorMessageProps,o=r.getHelperTextProps,M=p?e(ly,b({},o(),{children:p})):null,s=d&&k?e(cy,b({},l(),{children:k})):null;return a(ny,{children:[e(ky,b({},n(),{children:h})),e(Hy,b({ref:y},c(i))),s||M]})}));export{Na as AlertCircleIcon,Ga as AlertTriangleIcon,$a as ArrowDownIcon,Xa as ArrowLeftIcon,_a as ArrowRightIcon,Ka as ArrowUpIcon,oa as Avatar,Ya as BellIcon,Ja as BellOffIcon,Qa as BookmarkIcon,Sa as Button,et as CalendarIcon,at as CameraIcon,tt as CheckCircleIcon,yt as CheckIcon,ht as ChevronDownIcon,dt as ChevronLeftIcon,kt as ChevronRightIcon,pt as ChevronUpIcon,Fa as Divider,G as GlobalStyles,it as GlobeIcon,Da as Heading,rt as HeartFilledIcon,nt as HeartIcon,ct as HelpCircleIcon,Wa as HintBox,lt as HistoryIcon,ot as HomeIcon,Wt as IconButton,Nt as Image,Mt as ImageIcon,iy as InputBase,ky as Label,my as Link,xt as ListFilterIcon,st as ListIcon,ga as LoadingDots,vt as LogOutIcon,mt as MapIcon,ut as MapPinIcon,gt as MenuIcon,ft as MessageCircleIcon,wt as MinusIcon,bt as MoreHorizontalIcon,zt as MoreVerticalIcon,fy as Paragraph,qt as PenIcon,jt as PlusIcon,se as QdsProvider,Ht as SearchIcon,Ly as Select,qy as SelectBase,Vt as SettingsIcon,Ct as ShareIcon,Lt as SlidersIcon,Ay as Spacer,Zy as Stack,At as StarFilledIcon,St as StarIcon,xy as TextField,Fy as Textarea,Hy as TextareaBase,Zt as TrashIcon,Ft as UserIcon,Pt as XCircleIcon,Bt as XIcon,Ua as createIcon,Ia as createLucideIcon,X as createStyle,$ as createStyleVariants,Y as getFormFieldBaseStyles,ne as overrideTheme,K as pxToRem,pe as theme,_t as useBreakpoint,Kt as useBreakpointValue,ay as useFormField,ia as useImage,Yt as useSafeLayoutEffect,ey as useStableId};
|
|
9242
9242
|
//# sourceMappingURL=index.js.map
|