@maggioli-design-system/magma 1.12.0 → 1.12.2
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/mds-button_3.cjs.entry.js +3 -2
- package/dist/cjs/mds-calendar_2.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date.cjs.entry.js +1 -1
- package/dist/cjs/mds-paginator.cjs.entry.js +24 -8
- package/dist/cjs/mds-text.cjs.entry.js +7 -4
- package/dist/collection/components/mds-button/mds-button.js +3 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +1 -1
- package/dist/collection/components/mds-paginator/mds-paginator.js +24 -8
- package/dist/collection/components/mds-text/mds-text.js +7 -4
- package/dist/components/mds-button2.js +3 -2
- package/dist/components/mds-calendar2.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-paginator.js +24 -8
- package/dist/components/mds-text2.js +7 -4
- package/dist/documentation.json +2 -2
- package/dist/esm/mds-button_3.entry.js +3 -2
- package/dist/esm/mds-calendar_2.entry.js +1 -1
- package/dist/esm/mds-input-date.entry.js +1 -1
- package/dist/esm/mds-paginator.entry.js +24 -8
- package/dist/esm/mds-text.entry.js +7 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm-es5/mds-button_3.entry.js +1 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +1 -1
- package/dist/esm-es5/mds-text.entry.js +1 -1
- package/dist/hydrate/index.js +36 -16
- package/dist/hydrate/index.mjs +36 -16
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/{p-20e0f9e3.entry.js → p-19522afa.entry.js} +1 -1
- package/dist/magma-components/p-25c84410.system.entry.js +1 -0
- package/dist/magma-components/p-26cd6ec8.system.js +1 -1
- package/dist/magma-components/{p-c6785782.entry.js → p-3183791a.entry.js} +1 -1
- package/dist/magma-components/p-3e72a9f4.entry.js +1 -0
- package/dist/magma-components/p-44889d04.system.entry.js +1 -0
- package/dist/magma-components/{p-1e686661.system.entry.js → p-4ece2e21.system.entry.js} +1 -1
- package/dist/magma-components/{p-ff8d8818.system.entry.js → p-68dde65c.system.entry.js} +1 -1
- package/dist/magma-components/{p-7262712f.system.entry.js → p-cae04975.system.entry.js} +1 -1
- package/dist/magma-components/p-e137eebd.entry.js +1 -0
- package/dist/magma-components/p-f3f64ecf.entry.js +1 -0
- package/dist/stats.json +404 -404
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -1
- package/package.json +6 -2
- package/dist/magma-components/p-3bf7d52c.entry.js +0 -1
- package/dist/magma-components/p-9c97817b.entry.js +0 -1
- package/dist/magma-components/p-a776c78c.system.entry.js +0 -1
- package/dist/magma-components/p-ca4ee5b5.system.entry.js +0 -1
- package/dist/magma-components/p-fe0446d4.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,r,o){function a(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,e){function s(t){try{i(o.next(t))}catch(t){e(t)}}function d(t){try{i(o["throw"](t))}catch(t){e(t)}}function i(t){t.done?r(t.value):a(t.value).then(s,d)}i((o=o.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},o,a,e,s;return s={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(t){return function(n){return i([t,n])}}function i(d){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,d[0]&&(r=0)),r)try{if(o=1,a&&(e=d[0]&2?a["return"]:d[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,d[1])).done)return e;if(a=0,e)d=[d[0]&2,e.value];switch(d[0]){case 0:case 1:e=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;a=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(e=r.trys,e=e.length>0&&e[e.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!e||d[1]>e[0]&&d[1]<e[3])){r.label=d[1];break}if(d[0]===6&&r.label<e[1]){r.label=e[1];e=d;break}if(e&&r.label<e[2]){r.label=e[2];r.ops.push(d);break}if(e[2])r.ops.pop();r.trys.pop();continue}d=n.call(t,r)}catch(t){d=[6,t];a=0}finally{o=e=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};System.register(["./p-2aef517c.system.js","./p-b2cebe50.system.js","./p-32f55263.system.js"],(function(t){"use strict";var n,r,o,a,e,s,d;return{setters:[function(t){n=t.r;r=t.h;o=t.H;a=t.g},function(t){e=t.K},function(t){s=t.u;d=t.s}],execute:function(){var i={sm:"action",md:"action",lg:"h6",xl:"h4"};var h="data:image/svg+xml;base64,";var c="<svg ";var b=function(t){if(!t){return false}return t.startsWith(h)};var u=function(t){if(!t){return false}return t.startsWith(c)};var m='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>';var v='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n';var l='@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@tailwind components;\n\n\n/**\n * @prop --mds-button-await-duration: Sets the duration of the rotation of the spinner await component\n * @prop --mds-button-background: Sets the background-color of the component\n * @prop --mds-button-border-color: Sets the color of the border of the component (based on box-shadow declaration)\n * @prop --mds-button-border-default-opacity: Sets the default opacity of the border color of the component (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-hover-width: Sets the width of the border when the component is hovered and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-width: Sets the width of the border of the component and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-hover-opacity: Sets the opacity of the border color when the component is hovered (based on box-shadow declaration)\n * @prop --mds-button-border-opacity: Sets the border opacity of the component (based on box-shadow declaration)\n * @prop --mds-button-border-tone-ghost-hover-width: Sets the width of the border when the component is hovered when the tone is set to `ghost` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-strong-hover-width: Sets the width of the border when the component is hovered when the tone is set to `strong` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-weak-hover-width: Sets the width of the border when the component is hovered when the tone is set to `weak` (based on box-shadow declaration)\n * @prop --mds-button-border-width: Sets the border width of the component (based on box-shadow declaration)\n * @prop --mds-button-color: Sets the text color of the component\n * @prop --mds-button-gap: Sets the distance betwen element inside the components, use it instead of setting gap property directly.\n * @prop --mds-button-radius: Sets the border-radius of the component\n */\n\n:host {\n --mds-button-await-duration: 0.725s;\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: 0 0 0;\n --mds-button-border-hover-opacity: 0.75;\n --mds-button-border-default-opacity: 0.5;\n --mds-button-border-tone-strong-hover-width: 0.0625rem;\n --mds-button-border-tone-ghost-hover-width: 3px;\n --mds-button-border-tone-weak-hover-width: 0.0625rem;\n --mds-button-border-high-contrast-width: 0.125rem;\n --mds-button-border-high-contrast-hover-width: 3px;\n --mds-button-border-opacity: 0;\n --mds-button-border-width: 0.125rem;\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-gap: 0.5rem;\n --mds-button-line-clamp: 1;\n --mds-button-radius: 0.5rem;\n -webkit-animation-duration: var(--magma-outline-animation-duration, 1s);\n animation-duration: var(--magma-outline-animation-duration, 1s);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: focus-bounce;\n animation-name: focus-bounce;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n outline: var(--magma-outline-blur);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n}\n\n:host:focus-visible {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n:host {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-button-background);\n border-radius: var(--mds-button-radius);\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: var(--mds-button-color);\n cursor: pointer;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: currentcolor;\n gap: var(--mds-button-gap);\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n -webkit-transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n:host(:focus-visible) {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n\n z-index: 10;\n }\n\n.text {\n --mds-text-line-clamp: var(--mds-button-line-clamp);\n}\n\n.text::first-letter {\n text-transform: uppercase;\n}\n\n.icon {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: inherit;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -ms-flex-pack: center;\n justify-content: center;\n pointer-events: none;\n -webkit-transition-property: fill;\n transition-property: fill;\n}\n\n:host-context(mds-button-group):host(:not(:first-child)) {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n\n:host-context(mds-button-group):host(:not(:last-child)) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n\n.await {\n height: 1.5rem;\n width: 1.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n display: none;\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n -webkit-transform: scale(0);\n transform: scale(0);\n transition-behavior: allow-discrete;\n -webkit-transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, transform, width;\n transition-property: display, margin-right, opacity, transform, width, -webkit-transform;\n}\n\n.spinner {\n height: 1.5rem;\n width: 1.5rem;\n\n --mds-spinner-duration: var(--mds-button-await-duration);\n\n color: currentcolor;\n}\n\n:host(:not([await])) .spinner,\n:host([await="false"]) .spinner {\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n:host([await]:not([await="false"])) .await {\n margin-right: 0rem;\n opacity: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -webkit-transform: scale(1);\n transform: scale(1);\n\n @starting-style {\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n opacity: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n}\n\n:host([await]:not([await="false"])) {\n pointer-events: none;\n}\n\n:host([disabled]:not([disabled="false"])) {\n opacity: 0.5;\n\n pointer-events: none;\n}\n\n:host([size="sm"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0rem;\n padding-bottom: 0rem;\n\n --mds-button-radius: 0.375rem;\n\n min-height: 1.75rem;\n min-width: 1.75rem;\n}\n\n:host([size="sm"]:not([has-text])) {\n padding: 0rem;\n}\n\n:host([size="sm"]) .text {\n font-weight: 500;\n}\n\n:host([size="sm"]) .icon {\n height: 1rem;\n width: 1rem;\n}\n\n:host([size="sm"][await]:not([await="false"]) ) .await {\n -webkit-transform: scale(.75);\n transform: scale(.75);\n}\n\n:host([size="md"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\n:host([size="md"]:not([has-text])) {\n padding: 0.25rem;\n}\n\n:host([size="lg"]) {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3rem;\n min-width: 3rem;\n}\n\n:host([size="lg"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host([size="xl"]) {\n padding-left: 2rem;\n padding-right: 2rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3.25rem;\n min-width: 3.25rem;\n}\n\n:host([size="xl"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host(:not([has-text])) .text {\n display: none;\n}\n\n:host([variant="dark"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral-04));\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="dark"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-05));\n --mds-button-border-color: var(--tone-neutral-05);\n}\n\n:host([variant="dark"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral-08));\n --mds-button-border-color: var(--tone-neutral-08);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-07));\n --mds-button-border-color: var(--tone-neutral-07);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral-04));\n}\n\n:host([variant="dark"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-ai-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n}\n\n:host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-05));\n --mds-button-border-color: var(--variant-ai-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-04));\n --mds-button-border-color: var(--variant-ai-04);\n}\n\n:host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-border-color: var(--variant-ai-09);\n --mds-button-color: rgb(var(--variant-ai-03));\n\n fill: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-border-color: var(--variant-ai-08);\n}\n\n:host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-04));\n}\n\n:host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-error-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n}\n\n:host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-05));\n --mds-button-border-color: var(--status-error-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-04));\n --mds-button-border-color: var(--status-error-04);\n}\n\n:host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-border-color: var(--status-error-09);\n --mds-button-color: rgb(var(--status-error-03));\n\n fill: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-border-color: var(--status-error-08);\n}\n\n:host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-04));\n}\n\n:host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-info-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n}\n\n:host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-05));\n --mds-button-border-color: var(--status-info-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-04));\n --mds-button-border-color: var(--status-info-04);\n}\n\n:host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-border-color: var(--status-info-09);\n --mds-button-color: rgb(var(--status-info-03));\n\n fill: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-border-color: var(--status-info-08);\n}\n\n:host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-04));\n}\n\n:host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host([variant="light"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n}\n\n:host([variant="light"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="light"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n}\n\n:host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-04));\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-border-color: var(--variant-primary-09);\n --mds-button-color: rgb(var(--variant-primary-03));\n\n fill: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-border-color: var(--variant-primary-08);\n}\n\n:host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-04));\n}\n\n:host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n}\n\n:host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-04));\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-border-color: var(--variant-secondary-09);\n --mds-button-color: rgb(var(--variant-secondary-03));\n\n fill: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-border-color: var(--variant-secondary-08);\n}\n\n:host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-04));\n}\n\n:host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-success-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n}\n\n:host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-05));\n --mds-button-border-color: var(--status-success-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-04));\n --mds-button-border-color: var(--status-success-04);\n}\n\n:host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-border-color: var(--status-success-09);\n --mds-button-color: rgb(var(--status-success-03));\n\n fill: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-border-color: var(--status-success-08);\n}\n\n:host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-04));\n}\n\n:host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-warning-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n}\n\n:host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-05));\n --mds-button-border-color: var(--status-warning-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-04));\n --mds-button-border-color: var(--status-warning-04);\n}\n\n:host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-border-color: var(--status-warning-09);\n --mds-button-color: rgb(var(--status-warning-03));\n\n fill: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-border-color: var(--status-warning-08);\n}\n\n:host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-04));\n}\n\n:host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host([tone="quiet"]),\n:host([tone="quiet"]:hover),\n:host([tone="ghost"]) {\n --mds-button-background: transparent;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]) {\n --mds-button-border-default-opacity: 1;\n --mds-button-border-width: 0;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]),\n:host([tone="ghost"]) {\n --mds-button-border-opacity: var(--mds-button-border-default-opacity);\n}\n\n:host([tone="strong"]:hover),\n:host([tone="strong"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-strong-hover-width);\n}\n\n:host([tone="weak"]:hover),\n:host([tone="weak"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-weak-hover-width);\n}\n\n:host([tone="ghost"]:hover),\n:host([tone="ghost"][active]) {\n --mds-button-background: transparent;\n --mds-button-border-width: var(--mds-button-border-tone-ghost-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="google"]),\n:host([variant="google"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-hover-opacity: 0.5;\n --mds-button-border-hover-width: 0.125rem;\n --mds-button-border-opacity: 0.2;\n --mds-button-border-width: 0.0625rem;\n --mds-button-color: rgb(var(--tone-neutral-03));\n --mds-button-border-color: var(--tone-neutral-01);\n\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n}\n\n:host([variant="google"]:hover),\n:host([variant="google"][tone]:hover) {\n --mds-button-border-width: var(--mds-button-border-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="apple"]),\n:host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-02));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-width: 0;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]),\n:host-context(.pref-theme-dark):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]:hover),\n:host-context(.pref-theme-dark):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n}\n\n:host-context(.pref-theme-dark):host([variant="apple"]),\n:host-context(.pref-theme-dark):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system):host([variant="apple"]),\n :host-context(.pref-theme-system):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n }\n\n :host-context(.pref-theme-system):host([variant="google"]),\n :host-context(.pref-theme-system):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n }\n\n :host-context(.pref-theme-system):host([variant="google"]:hover),\n :host-context(.pref-theme-system):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n }\n}\n\n:host-context(.pref-animation-reduce),\n:host-context(.pref-animation-reduce) .await,\n:host-context(.pref-animation-reduce) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n\n@media (prefers-reduced-motion) {\n :host-context(.pref-animation-system),\n :host-context(.pref-animation-system) .await,\n :host-context(.pref-animation-system) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';var y=l;var g=t("mds_button",function(){function t(t){var r=this;n(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.km=new e;this.iconPosition="left";this.type="submit";this.variant="primary";this.tone="strong";this.size="md";this.target="self";this.truncate="word";this.handleRequestSubmitForm=function(t){var n;t.preventDefault();(n=r.internals.form)===null||n===void 0?void 0:n.requestSubmit()};this.handleReset=function(t){var n;t.preventDefault();(n=r.internals.form)===null||n===void 0?void 0:n.reset()};this.mouseDown=function(){r.active=true};this.mouseUp=function(){r.active=false};this.redirectBlank=function(){if(typeof window!=="undefined"){window.open(r.href,"_blank");return}throw Error("Object window is not defined")};this.onSlotChangeHandler=function(){r.hasText=r.host.innerHTML.trim()!==""||r.host.children.length>0}}t.prototype.disabledChanged=function(t){if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior();this.disabled=undefined};t.prototype.awaitChanged=function(t){this.host.setAttribute("aria-busy",(!!t).toString());if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior()};t.prototype.handleTypeChange=function(t){if(!this.internals.form)return;if(t==="submit"){this.host.removeEventListener("click",this.handleReset);this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(t==="reset"){this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.addEventListener("click",this.handleReset)}else{this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.removeEventListener("click",this.handleReset)}};t.prototype.handleVariantChange=function(t){if(t==="google"){this.icon=v;return}if(t==="apple"){this.icon=m;return}};t.prototype.componentWillLoad=function(){var t=this;this.hasNotification=this.host.querySelector(':scope > [slot="notification"]')!==null;this.hasText=this.host.innerHTML.trim()!==""||this.host.children.length>0;this.handleVariantChange(this.variant);if(this.href){this.host.addEventListener("click",(function(n){var r;n.preventDefault();if(t.target==="blank"){t.redirectBlank();return}if(typeof window!=="undefined"){window.location.href=(r=t.href)!==null&&r!==void 0?r:""}}))}else if(this.internals.form){if(this.type==="submit"){this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(this.type==="reset"){this.host.addEventListener("click",this.handleReset)}}};t.prototype.componentDidLoad=function(){this.km.addElement(this.host);if(!this.await){this.km.attachClickBehavior()}this.host.setAttribute("aria-busy",this.await?"true":"false");if(this.autoFocus){this.host.focus()}if(b(this.icon)){return}if(u(this.icon)){return}if(!this.hasText&&this.icon){var t=s(this.icon);if(!this.host.hasAttribute("aria-label")){d(this.host,"title",t)}if(!this.host.hasAttribute("title")){d(this.host,"aria-label",t)}}d(this.host,"role","button")};t.prototype.handleAwaitChange=function(t){if(t===false){this.await=undefined;this.km.detachClickBehavior();return}this.km.attachClickBehavior()};t.prototype.connectedCallback=function(){if(!this.disabled)this.host.removeAttribute("disabled")};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){this.typography=i[this.size];return r(o,{key:"4686bd8d7cb9225f100a4127b6a126377b518d19",onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0"},r("div",{key:"df39bb0ebb2a804af20924648169709397af2c7e",class:"await"},r("mds-spinner",{key:"2815525a17ea474db3f4064a3bbdf6e953211b13",class:"spinner",running:this.await})),this.icon&&this.iconPosition==="left"&&r("mds-icon",{key:"f464e79898cfa4f68d05fefcb454c26e6088cfaf","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),r("mds-text",{key:"0f30b6ca2508f8928f4fc28c6deb28e93e963db5",class:"text",part:"label",typography:this.typography,truncate:this.truncate},r("slot",{key:"1d5d0ae7bcdf9abbc87ddbb4bea702971b618e9d",onSlotchange:this.onSlotChangeHandler})),this.hasNotification&&r("slot",{key:"0d9dca292a5cb40f51e4c517a399e85286047fc4",name:"notification"}),this.icon&&this.iconPosition==="right"&&r("mds-icon",{key:"f97aff53f85a69e3bd51517fb66f781123c37373","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"],await:["awaitChanged","handleAwaitChange"],type:["handleTypeChange"],variant:["handleVariantChange"]}},enumerable:false,configurable:true});return t}());g.style=y;function f(t){return new Promise((function(n,r){t.oncomplete=t.onsuccess=function(){return n(t.result)};t.onabort=t.onerror=function(){return r(t.error)}}))}function p(t,n){var r=indexedDB.open(t);r.onupgradeneeded=function(){return r.result.createObjectStore(n)};var o=f(r);return function(t,r){return o.then((function(o){return r(o.transaction(n,t).objectStore(n))}))}}var w;function k(){if(!w){w=p("keyval-store","keyval")}return w}function x(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:k();return n("readonly",(function(n){return f(n.get(t))}))}function q(t,n){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:k();return r("readwrite",(function(r){r.put(n,t);return f(r.transaction)}))}function z(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:k();return n("readwrite",(function(n){n.delete(t);return f(n.transaction)}))}var C=function(){function t(t,n,r){this.name=t;this.path=n;this._resolveIconName=r}t.prototype.resolveIconName=function(t){return this._resolveIconName(t,this.name,this.path)};Object.defineProperty(t.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return t}();var _=function(){function t(){var t=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=[];this.memoryCache={};this.isCacheAvailable=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,o;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,2,,3]);return[4,x("loader_".concat(n))];case 1:t=a.sent();if(!t){return[2,false]}r=JSON.parse(t);if(Date.now()<r.expiry){return[2,r.data]}z("loader_".concat(n));return[2,false];case 2:o=a.sent();console.error("isCacheAvailable error",o);return[2,false];case 3:return[2]}}))}))};this.setCache=function(n,r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,q("loader_".concat(n),JSON.stringify({data:r,expiry:Date.now()+this.cacheExp}))];case 1:o.sent();return[3,3];case 2:t=o.sent();console.error("setCache error",t);return[3,3];case 3:return[2]}}))}))};this.setUpListener()}t.prototype.addIconSet=function(t,n,r){var o=r;var a=this._iconsSets.get(t);if(!o&&a&&typeof a.resolver==="function"){o=a.resolver}else if(o&&typeof o!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!o){console.error("MdsIconSvg: the set ".concat(t," needs a resolve function for the icon names."));return false}this._iconsSets.set(t,new C(t,n,o));return true};t.prototype.getIconSet=function(t){if(!t)return{set:null};return{set:this._iconsSets.get(t.split("/")[0])}};t.prototype.setSvgPath=function(t){var n=/^(((https?:\/\/)?[.\w]+(:\d+)?)|\/)([\w/-]+)*/;var r=n.exec(t);if(!r){throw Error("Svg path not recognize ".concat(t,", ensure is a absolute path starting with '/' or a url"))}if(typeof window!=="undefined"){this._svgPath=r[1]?r[0]:window.location.origin.concat(r[0]);window.dispatchEvent(new Event(this._svgPathUpdate))}};t.prototype.getSvgPath=function(){return this._svgPath};t.prototype.registerListener=function(t){this.listeners.push(t)};t.prototype.setUpListener=function(){var t=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var n=0,r=t.listeners;n<r.length;n++){var o=r[n];o()}}))}};t.prototype.fetchSvg=function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,o,a,e,s,d;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,4,,5]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){this.setSvgPath((n=window.sessionStorage.getItem(S._svgPathKey))!==null&&n!==void 0?n:"")}r=this._svgPath&&!t.startsWith("http")?this._svgPath.concat(t,".svg"):t;return[4,this.isCacheAvailable(r)];case 1:o=i.sent();if(this.memoryCache[r]||o){return[2,this.memoryCache[r]||o]}return[4,fetch(r)];case 2:a=i.sent();if(!a.ok){throw Error("Request for '".concat(r,"' returned ").concat(a.status," (").concat(a.statusText,")"))}return[4,a.text()];case 3:e=i.sent();s=e.toLowerCase().trim();if(!(s.startsWith("<svg")||s.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,e);this.memoryCache[r]=e;return[2,e];case 4:d=i.sent();console.error("fetchSvg error",d);return[2,""];case 5:return[2]}}))}))};return t}();var S=new _;var M=":host{aspect-ratio:1/1;width:1.5rem;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-ms-flex-pack:center;justify-content:center;width:100%}.icon svg{height:auto;width:100%}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var j=M;var O=t("mds_icon",function(){function t(t){var r=this;n(this,t);this.convertBase64ToSvg=function(){var t=r.name.replace(h,"").replace(/\=/i,"");return atob(t)}}t.prototype.componentWillLoad=function(){var t=this;this.updateIcon();S.registerListener((function(){return t.updateIcon()}))};t.setSvgPathStatic=function(t){S.setSvgPath(t)};t.prototype.setSvgPath=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){S.setSvgPath(t);return[2]}))}))};t.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.name)return[2,Promise.resolve()];if(b(this.name)){this.svgHTML=this.convertBase64ToSvg();return[2,Promise.resolve()]}if(u(this.name)){this.svgHTML=this.name;return[2,Promise.resolve()]}t=this;return[4,S.fetchSvg(this.name)];case 1:t.svgHTML=n.sent();return[2]}}))}))};t.prototype.render=function(){return r(o,{key:"43b9527b1f2650abead16b06c90286fea09adb34"},this.svgHTML&&r("i",{key:"8527fafd0f60b6aa32a2d8e35cd33e9d2403d7b5","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:["updateIcon"]}},enumerable:false,configurable:true});return t}());O.style=j;var E='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n';var P=":host{--mds-spinner-duration:0.725s;height:3rem;width:3rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);-ms-flex-align:center;align-items:center;color:rgb(var(--variant-primary-03));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:opacity, transform;transition-property:opacity, transform, -webkit-transform}:host([running]){-webkit-transition-duration:700ms;transition-duration:700ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);opacity:1;-webkit-transform:scale(1);transform:scale(1)}.await-icon{aspect-ratio:1/1;width:100%}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.await-icon{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-webkit-animation-duration:var(--mds-spinner-duration);animation-duration:var(--mds-spinner-duration);-webkit-animation-play-state:paused;animation-play-state:paused;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;stroke:currentcolor;-webkit-transition-property:stroke;transition-property:stroke}.await-icon svg{width:100%}:host([running]) .await-icon{-webkit-animation-play-state:running;animation-play-state:running}:host-context(.pref-animation-reduce){--mds-spinner-duration:8s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-spinner-duration:8s}}:host-context(.pref-contrast-more){color:rgb(var(--variant-primary-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){color:rgb(var(--variant-primary-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var B=P;var D=t("mds_spinner",function(){function t(t){n(this,t);this.running=false}t.prototype.handleRunning=function(t){if(t===false){this.running=undefined}};t.prototype.render=function(){return r(o,{key:"26cc04164b95792fbabf4248eceff7b630d14171"},r("i",{key:"15a3883a3c6777b5475974269e1a946a955b315a",class:"await-icon",innerHTML:E}))};Object.defineProperty(t,"watchers",{get:function(){return{running:["handleRunning"]}},enumerable:false,configurable:true});return t}());D.style=B}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,r,o){function a(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,e){function s(t){try{i(o.next(t))}catch(t){e(t)}}function d(t){try{i(o["throw"](t))}catch(t){e(t)}}function i(t){t.done?r(t.value):a(t.value).then(s,d)}i((o=o.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},o,a,e,s;return s={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(t){return function(n){return i([t,n])}}function i(d){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,d[0]&&(r=0)),r)try{if(o=1,a&&(e=d[0]&2?a["return"]:d[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,d[1])).done)return e;if(a=0,e)d=[d[0]&2,e.value];switch(d[0]){case 0:case 1:e=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;a=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(e=r.trys,e=e.length>0&&e[e.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!e||d[1]>e[0]&&d[1]<e[3])){r.label=d[1];break}if(d[0]===6&&r.label<e[1]){r.label=e[1];e=d;break}if(e&&r.label<e[2]){r.label=e[2];r.ops.push(d);break}if(e[2])r.ops.pop();r.trys.pop();continue}d=n.call(t,r)}catch(t){d=[6,t];a=0}finally{o=e=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};System.register(["./p-2aef517c.system.js","./p-b2cebe50.system.js","./p-32f55263.system.js"],(function(t){"use strict";var n,r,o,a,e,s,d;return{setters:[function(t){n=t.r;r=t.h;o=t.H;a=t.g},function(t){e=t.K},function(t){s=t.u;d=t.s}],execute:function(){var i={sm:"action",md:"action",lg:"h6",xl:"h4"};var h="data:image/svg+xml;base64,";var c="<svg ";var b=function(t){if(!t){return false}return t.startsWith(h)};var u=function(t){if(!t){return false}return t.startsWith(c)};var m='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>';var v='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n';var l='@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@tailwind components;\n\n\n/**\n * @prop --mds-button-await-duration: Sets the duration of the rotation of the spinner await component\n * @prop --mds-button-background: Sets the background-color of the component\n * @prop --mds-button-border-color: Sets the color of the border of the component (based on box-shadow declaration)\n * @prop --mds-button-border-default-opacity: Sets the default opacity of the border color of the component (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-hover-width: Sets the width of the border when the component is hovered and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-high-contrast-width: Sets the width of the border of the component and the contrast is high (based on box-shadow declaration)\n * @prop --mds-button-border-hover-opacity: Sets the opacity of the border color when the component is hovered (based on box-shadow declaration)\n * @prop --mds-button-border-opacity: Sets the border opacity of the component (based on box-shadow declaration)\n * @prop --mds-button-border-tone-ghost-hover-width: Sets the width of the border when the component is hovered when the tone is set to `ghost` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-strong-hover-width: Sets the width of the border when the component is hovered when the tone is set to `strong` (based on box-shadow declaration)\n * @prop --mds-button-border-tone-weak-hover-width: Sets the width of the border when the component is hovered when the tone is set to `weak` (based on box-shadow declaration)\n * @prop --mds-button-border-width: Sets the border width of the component (based on box-shadow declaration)\n * @prop --mds-button-color: Sets the text color of the component\n * @prop --mds-button-gap: Sets the distance betwen element inside the components, use it instead of setting gap property directly.\n * @prop --mds-button-radius: Sets the border-radius of the component\n */\n\n:host {\n --mds-button-await-duration: 0.725s;\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: 0 0 0;\n --mds-button-border-hover-opacity: 0.75;\n --mds-button-border-default-opacity: 0.5;\n --mds-button-border-tone-strong-hover-width: 0.0625rem;\n --mds-button-border-tone-ghost-hover-width: 3px;\n --mds-button-border-tone-weak-hover-width: 0.0625rem;\n --mds-button-border-high-contrast-width: 0.125rem;\n --mds-button-border-high-contrast-hover-width: 3px;\n --mds-button-border-opacity: 0;\n --mds-button-border-width: 0.125rem;\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-gap: 0.5rem;\n --mds-button-line-clamp: 1;\n --mds-button-radius: 0.5rem;\n -webkit-animation-duration: var(--magma-outline-animation-duration, 1s);\n animation-duration: var(--magma-outline-animation-duration, 1s);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: focus-bounce;\n animation-name: focus-bounce;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n outline: var(--magma-outline-blur);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n}\n\n:host:focus-visible {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n:host {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-button-background);\n border-radius: var(--mds-button-radius);\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: var(--mds-button-color);\n cursor: pointer;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: currentcolor;\n gap: var(--mds-button-gap);\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n -webkit-transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, outline, outline-offset, padding-left, padding-right, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform;\n transition-property: background-color, border-color, box-shadow, color, outline, outline-offset, padding-left, padding-right, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n:host(:focus-visible) {\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n\n z-index: 10;\n }\n\n.text {\n --mds-text-line-clamp: var(--mds-button-line-clamp);\n}\n\n.text::first-letter {\n text-transform: uppercase;\n}\n\n.icon {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -ms-flex-align: center;\n\n align-items: center;\n display: -ms-inline-flexbox;\n display: inline-flex;\n fill: inherit;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -ms-flex-pack: center;\n justify-content: center;\n pointer-events: none;\n -webkit-transition-property: fill;\n transition-property: fill;\n}\n\n:host-context(mds-button-group):host(:not(:first-child)) {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n\n:host-context(mds-button-group):host(:not(:last-child)) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n\n.await {\n height: 1.5rem;\n width: 1.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n display: none;\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n -webkit-transform: scale(0);\n transform: scale(0);\n transition-behavior: allow-discrete;\n -webkit-transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, width, -webkit-transform;\n transition-property: display, margin-right, opacity, transform, width;\n transition-property: display, margin-right, opacity, transform, width, -webkit-transform;\n}\n\n.spinner {\n height: 1.5rem;\n width: 1.5rem;\n\n --mds-spinner-duration: var(--mds-button-await-duration);\n\n color: currentcolor;\n}\n\n:host(:not([await])) .spinner,\n:host([await="false"]) .spinner {\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n:host([await]:not([await="false"])) .await {\n margin-right: 0rem;\n opacity: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -webkit-transform: scale(1);\n transform: scale(1);\n\n @starting-style {\n margin-right: calc(calc(-1 * var(--mds-button-gap)) - 1.5rem);\n opacity: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n}\n\n:host([await]:not([await="false"])) {\n pointer-events: none;\n}\n\n:host([disabled]:not([disabled="false"])) {\n opacity: 0.5;\n\n pointer-events: none;\n}\n\n:host([size="sm"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0rem;\n padding-bottom: 0rem;\n\n --mds-button-radius: 0.375rem;\n\n min-height: 1.75rem;\n min-width: 1.75rem;\n}\n\n:host([size="sm"]:not([has-text])) {\n padding: 0rem;\n}\n\n:host([size="sm"]) .text {\n font-weight: 500;\n}\n\n:host([size="sm"]) .icon {\n height: 1rem;\n width: 1rem;\n}\n\n:host([size="sm"][await]:not([await="false"]) ) .await {\n -webkit-transform: scale(.75);\n transform: scale(.75);\n}\n\n:host([size="md"]) {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n\n min-height: 2.25rem;\n min-width: 2.25rem;\n}\n\n:host([size="md"]:not([has-text])) {\n padding: 0.25rem;\n}\n\n:host([size="lg"]) {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3rem;\n min-width: 3rem;\n}\n\n:host([size="lg"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host([size="xl"]) {\n padding-left: 2rem;\n padding-right: 2rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n min-height: 3.25rem;\n min-width: 3.25rem;\n}\n\n:host([size="xl"]:not([has-text])) {\n padding: 0.5rem;\n}\n\n:host(:not([has-text])) .text {\n display: none;\n}\n\n:host([variant="dark"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral-04));\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="dark"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-05));\n --mds-button-border-color: var(--tone-neutral-05);\n}\n\n:host([variant="dark"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral-08));\n --mds-button-border-color: var(--tone-neutral-08);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral-07));\n --mds-button-border-color: var(--tone-neutral-07);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="dark"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral-04);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="dark"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral-04));\n}\n\n:host([variant="dark"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-ai-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-color: rgb(var(--variant-ai-02));\n --mds-button-border-color: var(--variant-ai-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-10));\n --mds-button-color: rgb(var(--variant-ai-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-color: rgb(var(--variant-ai-01));\n\n fill: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-03);\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n }\n}\n\n:host([variant="ai"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-ai-05));\n --mds-button-border-color: var(--variant-ai-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="ai"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-04));\n --mds-button-border-color: var(--variant-ai-04);\n}\n\n:host([variant="ai"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-ai-09));\n --mds-button-border-color: var(--variant-ai-09);\n --mds-button-color: rgb(var(--variant-ai-03));\n\n fill: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-ai-08));\n --mds-button-border-color: var(--variant-ai-08);\n}\n\n:host([variant="ai"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-03));\n}\n\n:host([variant="ai"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-ai-04);\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-ai-02));\n}\n\n:host([variant="ai"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-ai-04));\n}\n\n:host([variant="ai"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-ai-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-error-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-color: rgb(var(--status-error-02));\n --mds-button-border-color: var(--status-error-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-10));\n --mds-button-color: rgb(var(--status-error-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-color: rgb(var(--status-error-01));\n\n fill: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-03);\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n }\n}\n\n:host([variant="error"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-error-05));\n --mds-button-border-color: var(--status-error-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="error"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-error-04));\n --mds-button-border-color: var(--status-error-04);\n}\n\n:host([variant="error"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-error-09));\n --mds-button-border-color: var(--status-error-09);\n --mds-button-color: rgb(var(--status-error-03));\n\n fill: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-error-08));\n --mds-button-border-color: var(--status-error-08);\n}\n\n:host([variant="error"][tone="ghost"]) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-03));\n}\n\n:host([variant="error"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-error-04);\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-error-02));\n}\n\n:host([variant="error"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-error-04));\n}\n\n:host([variant="error"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-error-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-info-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-color: rgb(var(--status-info-02));\n --mds-button-border-color: var(--status-info-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-10));\n --mds-button-color: rgb(var(--status-info-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-color: rgb(var(--status-info-01));\n\n fill: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-03);\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n }\n}\n\n:host([variant="info"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-info-05));\n --mds-button-border-color: var(--status-info-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="info"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-info-04));\n --mds-button-border-color: var(--status-info-04);\n}\n\n:host([variant="info"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-info-09));\n --mds-button-border-color: var(--status-info-09);\n --mds-button-color: rgb(var(--status-info-03));\n\n fill: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-info-08));\n --mds-button-border-color: var(--status-info-08);\n}\n\n:host([variant="info"][tone="ghost"]) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-03));\n}\n\n:host([variant="info"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-info-04);\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-info-02));\n}\n\n:host([variant="info"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-info-04));\n}\n\n:host([variant="info"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-info-01));\n}\n\n:host([variant="light"][tone="strong"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n}\n\n:host([variant="light"][tone="weak"]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-03));\n\n fill: rgb(var(--tone-neutral-03));\n}\n\n:host([variant="light"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral-02));\n}\n\n:host([variant="light"][tone="ghost"]) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--tone-neutral);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="light"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-color: rgb(var(--variant-primary-02));\n --mds-button-border-color: var(--variant-primary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-10));\n --mds-button-color: rgb(var(--variant-primary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-color: rgb(var(--variant-primary-01));\n\n fill: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-03);\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n }\n}\n\n:host([variant="primary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-primary-04));\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="primary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-03));\n --mds-button-border-color: var(--variant-primary-03);\n}\n\n:host([variant="primary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-primary-09));\n --mds-button-border-color: var(--variant-primary-09);\n --mds-button-color: rgb(var(--variant-primary-03));\n\n fill: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-primary-08));\n --mds-button-border-color: var(--variant-primary-08);\n}\n\n:host([variant="primary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-03));\n}\n\n:host([variant="primary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-primary-04);\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-primary-02));\n}\n\n:host([variant="primary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-primary-04));\n}\n\n:host([variant="primary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-primary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-color: rgb(var(--variant-secondary-02));\n --mds-button-border-color: var(--variant-secondary-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-10));\n --mds-button-color: rgb(var(--variant-secondary-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-color: rgb(var(--variant-secondary-01));\n\n fill: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-03);\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="ghost"][active]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n }\n}\n\n:host([variant="secondary"][tone="strong"]) {\n --mds-button-background: rgb(var(--variant-secondary-04));\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="secondary"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-03));\n --mds-button-border-color: var(--variant-secondary-03);\n}\n\n:host([variant="secondary"][tone="weak"]) {\n --mds-button-background: rgb(var(--variant-secondary-09));\n --mds-button-border-color: var(--variant-secondary-09);\n --mds-button-color: rgb(var(--variant-secondary-03));\n\n fill: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--variant-secondary-08));\n --mds-button-border-color: var(--variant-secondary-08);\n}\n\n:host([variant="secondary"][tone="ghost"]) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-03));\n}\n\n:host([variant="secondary"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--variant-secondary-04);\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]) {\n --mds-button-color: rgb(var(--variant-secondary-02));\n}\n\n:host([variant="secondary"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--variant-secondary-04));\n}\n\n:host([variant="secondary"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--variant-secondary-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-success-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-color: rgb(var(--status-success-02));\n --mds-button-border-color: var(--status-success-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-10));\n --mds-button-color: rgb(var(--status-success-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-color: rgb(var(--status-success-01));\n\n fill: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-03);\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n }\n}\n\n:host([variant="success"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-success-05));\n --mds-button-border-color: var(--status-success-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="success"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-success-04));\n --mds-button-border-color: var(--status-success-04);\n}\n\n:host([variant="success"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-success-09));\n --mds-button-border-color: var(--status-success-09);\n --mds-button-color: rgb(var(--status-success-03));\n\n fill: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-success-08));\n --mds-button-border-color: var(--status-success-08);\n}\n\n:host([variant="success"][tone="ghost"]) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-03));\n}\n\n:host([variant="success"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-success-04);\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-success-02));\n}\n\n:host([variant="success"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-success-04));\n}\n\n:host([variant="success"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-success-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-color: var(--status-warning-03);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"][active]),\n:host-context(.pref-contrast-more):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host-context(.pref-contrast-more):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n@media (prefers-contrast: more) {\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-03));\n --mds-button-color: rgb(var(--tone-neutral));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"][active]),\n :host-context(.pref-contrast-system):host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-02);\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-color: rgb(var(--status-warning-02));\n --mds-button-border-color: var(--status-warning-06);\n --mds-button-border-width: var(--mds-button-border-high-contrast-width);\n\n fill: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-10));\n --mds-button-color: rgb(var(--status-warning-01));\n --mds-button-border-width: var(--mds-button-border-high-contrast-hover-width);\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="weak"][active]) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-color: rgb(var(--status-warning-01));\n\n fill: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-03);\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="ghost"][active]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-03));\n }\n\n :host-context(.pref-contrast-system):host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n }\n}\n\n:host([variant="warning"][tone="strong"]) {\n --mds-button-background: rgb(var(--status-warning-05));\n --mds-button-border-color: var(--status-warning-05);\n --mds-button-color: rgb(var(--tone-neutral));\n}\n\n:host([variant="warning"][tone="strong"]:hover) {\n --mds-button-background: rgb(var(--status-warning-04));\n --mds-button-border-color: var(--status-warning-04);\n}\n\n:host([variant="warning"][tone="weak"]) {\n --mds-button-background: rgb(var(--status-warning-09));\n --mds-button-border-color: var(--status-warning-09);\n --mds-button-color: rgb(var(--status-warning-03));\n\n fill: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="weak"]:hover) {\n --mds-button-background: rgb(var(--status-warning-08));\n --mds-button-border-color: var(--status-warning-08);\n}\n\n:host([variant="warning"][tone="ghost"]) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-03));\n}\n\n:host([variant="warning"][tone="ghost"]:hover) {\n --mds-button-border-color: var(--status-warning-04);\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]) {\n --mds-button-color: rgb(var(--status-warning-02));\n}\n\n:host([variant="warning"][tone="quiet"]:hover) {\n --mds-button-color: rgb(var(--status-warning-04));\n}\n\n:host([variant="warning"][tone="quiet"][active]) {\n --mds-button-color: rgb(var(--status-warning-01));\n}\n\n:host([tone="quiet"]),\n:host([tone="quiet"]:hover),\n:host([tone="ghost"]) {\n --mds-button-background: transparent;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]) {\n --mds-button-border-default-opacity: 1;\n --mds-button-border-width: 0;\n}\n\n:host([tone="strong"]),\n:host([tone="weak"]),\n:host([tone="ghost"]) {\n --mds-button-border-opacity: var(--mds-button-border-default-opacity);\n}\n\n:host([tone="strong"]:hover),\n:host([tone="strong"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-strong-hover-width);\n}\n\n:host([tone="weak"]:hover),\n:host([tone="weak"][active]) {\n --mds-button-border-width: var(--mds-button-border-tone-weak-hover-width);\n}\n\n:host([tone="ghost"]:hover),\n:host([tone="ghost"][active]) {\n --mds-button-background: transparent;\n --mds-button-border-width: var(--mds-button-border-tone-ghost-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="google"]),\n:host([variant="google"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral));\n --mds-button-border-hover-opacity: 0.5;\n --mds-button-border-hover-width: 0.125rem;\n --mds-button-border-opacity: 0.2;\n --mds-button-border-width: 0.0625rem;\n --mds-button-color: rgb(var(--tone-neutral-03));\n --mds-button-border-color: var(--tone-neutral-01);\n\n -webkit-box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n\n box-shadow: 0 0 0 var(--mds-button-border-width) rgb(var(--mds-button-border-color) / var(--mds-button-border-opacity));\n}\n\n:host([variant="google"]:hover),\n:host([variant="google"][tone]:hover) {\n --mds-button-border-width: var(--mds-button-border-hover-width);\n --mds-button-border-opacity: var(--mds-button-border-hover-opacity);\n}\n\n:host([variant="apple"]),\n:host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-02));\n --mds-button-color: rgb(var(--tone-neutral));\n --mds-button-border-width: 0;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]),\n:host-context(.pref-theme-dark):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n}\n\n:host-context(.pref-theme-dark):host([variant="google"]:hover),\n:host-context(.pref-theme-dark):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n}\n\n:host-context(.pref-theme-dark):host([variant="apple"]),\n:host-context(.pref-theme-dark):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n}\n\n@media (prefers-color-scheme: dark) {\n :host-context(.pref-theme-system):host([variant="apple"]),\n :host-context(.pref-theme-system):host([variant="apple"][tone]) {\n --mds-button-background: rgb(var(--tone-neutral-01));\n }\n\n :host-context(.pref-theme-system):host([variant="google"]),\n :host-context(.pref-theme-system):host([variant="google"][tone]) {\n --mds-button-border-width: 0.125rem;\n --mds-button-border-opacity: 0.3;\n }\n\n :host-context(.pref-theme-system):host([variant="google"]:hover),\n :host-context(.pref-theme-system):host([variant="google"][tone]:hover) {\n --mds-button-border-opacity: 0.5;\n }\n}\n\n:host-context(.pref-animation-reduce),\n:host-context(.pref-animation-reduce) .await,\n:host-context(.pref-animation-reduce) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n\n@media (prefers-reduced-motion) {\n :host-context(.pref-animation-system),\n :host-context(.pref-animation-system) .await,\n :host-context(.pref-animation-system) .icon {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n';var y=l;var g=t("mds_button",function(){function t(t){var r=this;n(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.km=new e;this.iconPosition="left";this.type="submit";this.variant="primary";this.tone="strong";this.size="md";this.target="self";this.truncate="word";this.handleRequestSubmitForm=function(t){var n;t.preventDefault();(n=r.internals.form)===null||n===void 0?void 0:n.requestSubmit()};this.handleReset=function(t){var n;t.preventDefault();(n=r.internals.form)===null||n===void 0?void 0:n.reset()};this.mouseDown=function(){r.active=true};this.mouseUp=function(){r.active=false};this.redirectBlank=function(){if(typeof window!=="undefined"){window.open(r.href,"_blank");return}throw Error("Object window is not defined")};this.onSlotChangeHandler=function(){r.hasText=r.host.innerHTML.trim()!==""||r.host.children.length>0}}t.prototype.disabledChanged=function(t){if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior();this.disabled=undefined};t.prototype.awaitChanged=function(t){this.host.setAttribute("aria-busy",(!!t).toString());if(t){this.km.attachClickBehavior();return}this.km.detachClickBehavior()};t.prototype.handleTypeChange=function(t){if(!this.internals.form)return;if(t==="submit"){this.host.removeEventListener("click",this.handleReset);this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(t==="reset"){this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.addEventListener("click",this.handleReset)}else{this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.removeEventListener("click",this.handleReset)}};t.prototype.handleVariantChange=function(t){if(t==="google"){this.icon=v;return}if(t==="apple"){this.icon=m;return}};t.prototype.componentWillLoad=function(){var t=this;this.hasNotification=this.host.querySelector(':scope > [slot="notification"]')!==null;this.hasText=this.host.innerHTML.trim()!==""||this.host.children.length>0;this.handleVariantChange(this.variant);if(this.href){this.host.addEventListener("click",(function(n){var r;n.preventDefault();if(t.target==="blank"){t.redirectBlank();return}if(typeof window!=="undefined"){window.location.href=(r=t.href)!==null&&r!==void 0?r:""}}))}else if(this.internals.form){if(this.type==="submit"){this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(this.type==="reset"){this.host.addEventListener("click",this.handleReset)}}};t.prototype.componentDidLoad=function(){this.km.addElement(this.host);if(!this.await){this.km.attachClickBehavior()}this.host.setAttribute("aria-busy",this.await?"true":"false");if(this.autoFocus){this.host.focus()}if(b(this.icon)){return}if(u(this.icon)){return}if(!this.hasText&&this.icon){var t=s(this.icon);if(!this.host.hasAttribute("aria-label")){d(this.host,"title",t)}if(!this.host.hasAttribute("title")){d(this.host,"aria-label",t)}}d(this.host,"role","button")};t.prototype.handleAwaitChange=function(t){if(t===false){this.await=undefined;this.km.detachClickBehavior();return}this.km.attachClickBehavior()};t.prototype.connectedCallback=function(){if(!this.disabled)this.host.removeAttribute("disabled")};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t;this.typography=(t=i[this.size])!==null&&t!==void 0?t:i.md;return r(o,{key:"680ba324eacade3bbd8f36508574cb6dad57566b",onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0"},r("div",{key:"5136e1431685a185d32e9dc8493cd28e7281bb52",class:"await"},r("mds-spinner",{key:"a3760887578e2e69d1e429a253aab3c9624c6c91",class:"spinner",running:this.await})),this.icon&&this.iconPosition==="left"&&r("mds-icon",{key:"9007494247bb1890fafccd4029af9933fb6dcb56","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),r("mds-text",{key:"4103a169c1cd6cca7c698685d520cb4b9f178765",class:"text",part:"label",typography:this.typography,truncate:this.truncate},r("slot",{key:"41645942af98977c653ada8f65f12f00c55568e2",onSlotchange:this.onSlotChangeHandler})),this.hasNotification&&r("slot",{key:"8b98cd1f404b15b94c8e6e70bad62bda6dca3848",name:"notification"}),this.icon&&this.iconPosition==="right"&&r("mds-icon",{key:"e6d27b07a707896b25fb5728ad8c38cbbd8abee1","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"],await:["awaitChanged","handleAwaitChange"],type:["handleTypeChange"],variant:["handleVariantChange"]}},enumerable:false,configurable:true});return t}());g.style=y;function f(t){return new Promise((function(n,r){t.oncomplete=t.onsuccess=function(){return n(t.result)};t.onabort=t.onerror=function(){return r(t.error)}}))}function p(t,n){var r=indexedDB.open(t);r.onupgradeneeded=function(){return r.result.createObjectStore(n)};var o=f(r);return function(t,r){return o.then((function(o){return r(o.transaction(n,t).objectStore(n))}))}}var w;function k(){if(!w){w=p("keyval-store","keyval")}return w}function x(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:k();return n("readonly",(function(n){return f(n.get(t))}))}function q(t,n){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:k();return r("readwrite",(function(r){r.put(n,t);return f(r.transaction)}))}function z(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:k();return n("readwrite",(function(n){n.delete(t);return f(n.transaction)}))}var C=function(){function t(t,n,r){this.name=t;this.path=n;this._resolveIconName=r}t.prototype.resolveIconName=function(t){return this._resolveIconName(t,this.name,this.path)};Object.defineProperty(t.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return t}();var _=function(){function t(){var t=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=[];this.memoryCache={};this.isCacheAvailable=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,o;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,2,,3]);return[4,x("loader_".concat(n))];case 1:t=a.sent();if(!t){return[2,false]}r=JSON.parse(t);if(Date.now()<r.expiry){return[2,r.data]}z("loader_".concat(n));return[2,false];case 2:o=a.sent();console.error("isCacheAvailable error",o);return[2,false];case 3:return[2]}}))}))};this.setCache=function(n,r){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,q("loader_".concat(n),JSON.stringify({data:r,expiry:Date.now()+this.cacheExp}))];case 1:o.sent();return[3,3];case 2:t=o.sent();console.error("setCache error",t);return[3,3];case 3:return[2]}}))}))};this.setUpListener()}t.prototype.addIconSet=function(t,n,r){var o=r;var a=this._iconsSets.get(t);if(!o&&a&&typeof a.resolver==="function"){o=a.resolver}else if(o&&typeof o!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!o){console.error("MdsIconSvg: the set ".concat(t," needs a resolve function for the icon names."));return false}this._iconsSets.set(t,new C(t,n,o));return true};t.prototype.getIconSet=function(t){if(!t)return{set:null};return{set:this._iconsSets.get(t.split("/")[0])}};t.prototype.setSvgPath=function(t){var n=/^(((https?:\/\/)?[.\w]+(:\d+)?)|\/)([\w/-]+)*/;var r=n.exec(t);if(!r){throw Error("Svg path not recognize ".concat(t,", ensure is a absolute path starting with '/' or a url"))}if(typeof window!=="undefined"){this._svgPath=r[1]?r[0]:window.location.origin.concat(r[0]);window.dispatchEvent(new Event(this._svgPathUpdate))}};t.prototype.getSvgPath=function(){return this._svgPath};t.prototype.registerListener=function(t){this.listeners.push(t)};t.prototype.setUpListener=function(){var t=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var n=0,r=t.listeners;n<r.length;n++){var o=r[n];o()}}))}};t.prototype.fetchSvg=function(t){return __awaiter(this,void 0,void 0,(function(){var n,r,o,a,e,s,d;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,4,,5]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){this.setSvgPath((n=window.sessionStorage.getItem(S._svgPathKey))!==null&&n!==void 0?n:"")}r=this._svgPath&&!t.startsWith("http")?this._svgPath.concat(t,".svg"):t;return[4,this.isCacheAvailable(r)];case 1:o=i.sent();if(this.memoryCache[r]||o){return[2,this.memoryCache[r]||o]}return[4,fetch(r)];case 2:a=i.sent();if(!a.ok){throw Error("Request for '".concat(r,"' returned ").concat(a.status," (").concat(a.statusText,")"))}return[4,a.text()];case 3:e=i.sent();s=e.toLowerCase().trim();if(!(s.startsWith("<svg")||s.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,e);this.memoryCache[r]=e;return[2,e];case 4:d=i.sent();console.error("fetchSvg error",d);return[2,""];case 5:return[2]}}))}))};return t}();var S=new _;var M=":host{aspect-ratio:1/1;width:1.5rem;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}.icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-ms-flex-pack:center;justify-content:center;width:100%}.icon svg{height:auto;width:100%}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var j=M;var O=t("mds_icon",function(){function t(t){var r=this;n(this,t);this.convertBase64ToSvg=function(){var t=r.name.replace(h,"").replace(/\=/i,"");return atob(t)}}t.prototype.componentWillLoad=function(){var t=this;this.updateIcon();S.registerListener((function(){return t.updateIcon()}))};t.setSvgPathStatic=function(t){S.setSvgPath(t)};t.prototype.setSvgPath=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){S.setSvgPath(t);return[2]}))}))};t.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:if(!this.name)return[2,Promise.resolve()];if(b(this.name)){this.svgHTML=this.convertBase64ToSvg();return[2,Promise.resolve()]}if(u(this.name)){this.svgHTML=this.name;return[2,Promise.resolve()]}t=this;return[4,S.fetchSvg(this.name)];case 1:t.svgHTML=n.sent();return[2]}}))}))};t.prototype.render=function(){return r(o,{key:"43b9527b1f2650abead16b06c90286fea09adb34"},this.svgHTML&&r("i",{key:"8527fafd0f60b6aa32a2d8e35cd33e9d2403d7b5","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:["updateIcon"]}},enumerable:false,configurable:true});return t}());O.style=j;var E='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n';var P=":host{--mds-spinner-duration:0.725s;height:3rem;width:3rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function:cubic-bezier(0.77, 0, 0.175, 1);-ms-flex-align:center;align-items:center;color:rgb(var(--variant-primary-03));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:opacity, transform;transition-property:opacity, transform, -webkit-transform}:host([running]){-webkit-transition-duration:700ms;transition-duration:700ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);opacity:1;-webkit-transform:scale(1);transform:scale(1)}.await-icon{aspect-ratio:1/1;width:100%}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.await-icon{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-webkit-animation-duration:var(--mds-spinner-duration);animation-duration:var(--mds-spinner-duration);-webkit-animation-play-state:paused;animation-play-state:paused;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;stroke:currentcolor;-webkit-transition-property:stroke;transition-property:stroke}.await-icon svg{width:100%}:host([running]) .await-icon{-webkit-animation-play-state:running;animation-play-state:running}:host-context(.pref-animation-reduce){--mds-spinner-duration:8s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-spinner-duration:8s}}:host-context(.pref-contrast-more){color:rgb(var(--variant-primary-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){color:rgb(var(--variant-primary-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";var B=P;var D=t("mds_spinner",function(){function t(t){n(this,t);this.running=false}t.prototype.handleRunning=function(t){if(t===false){this.running=undefined}};t.prototype.render=function(){return r(o,{key:"26cc04164b95792fbabf4248eceff7b630d14171"},r("i",{key:"15a3883a3c6777b5475974269e1a946a955b315a",class:"await-icon",innerHTML:E}))};Object.defineProperty(t,"watchers",{get:function(){return{running:["handleRunning"]}},enumerable:false,configurable:true});return t}());D.style=B}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(t,e,a){if(a||arguments.length===2)for(var o=0,i=e.length,r;o<i;o++){if(r||!(o in e)){if(!r)r=Array.prototype.slice.call(e,0,o);r[o]=e[o]}}return t.concat(r||Array.prototype.slice.call(e))};System.register(["./p-2aef517c.system.js"],(function(t){"use strict";var e,a,o,i;return{setters:[function(t){e=t.r;a=t.h;o=t.H;i=t.g}],execute:function(){var r={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var s=2147483647;var n=function(t){return t*16807%s};var d=function(t){return n(t)/s};var h=function(t){return n(t)};var m=function(t){if(t===void 0){t=1}var e=t<1?1:t;var a=function(){e=h(e);return e};return{random:function(){return a()},randomFloat:function(){return d(a())},range:function(t,e){var o=t-.4999;var i=e+.4999;return Math.round(o+(i-o)*d(a()))},rangeFloat:function(t,e){return t+(e-t)*d(a())}}};var y=function(t){return t.split("").map((function(t){return t.charCodeAt(0)}))};var l=function(){return(Math.round(Math.random())-.5)*2};var f=function(t,e){return function(a){if(a>e)return t+(a-e);if(a<t)return e+(a-t);return a}};var g=m();var c=function(t,e){return function(){return(t+g.range(0,e))*l()}};var p=function(t,e){return function(a){return y(a).map(c(t,e))}};var u=function(t){var e=t.str,a=t.minCharCode,o=t.maxCharCode,i=t.placeholderChar,r=t.charStep;return function(t){return t.reduce((function(t,s,n){if(s!==0){if(Math.abs(s)>r){return t+i}return t+String.fromCharCode(f(a,o)(e.charCodeAt(n)+s))}return t+e.charAt(n)}),"")}};var b=function(){};var x=function(){function t(e){var a=this;this.start=function(){var t=a,e=t.frameOffset,o=t.charOffset,i=t.str,r=t.speed;var s=p(e,o)(i);a.stop();a.rafId=requestAnimationFrame((function(){a.step(s,r,r)}))};Object.assign(this,Object.assign(Object.assign({},t.defaults),e))}t.prototype.stop=function(){cancelAnimationFrame(this.rafId)};t.prototype.step=function(t,e,a){var o=this;var i=this,r=i.str,s=i.charStep,n=i.minCharCode,d=i.maxCharCode,h=i.placeholderChar,m=i.onProgress,y=i.onComplete;var l=t.slice(0,e);var f=l.map((function(t){if(t>0)return t-1;if(t<0)return t+1;return 0}));var g=u({str:r,minCharCode:n,maxCharCode:d,placeholderChar:h,charStep:s})(f);var c=__spreadArray(__spreadArray([],f,true),t.slice(e),true);m(g);if(g!==r){this.rafId=requestAnimationFrame((function(){o.step(c,e+a,a)}))}else{y(g)}};return t}();x.defaults={str:"",speed:2,placeholderChar:"_",frameOffset:30,charOffset:20,charStep:10,minCharCode:32,maxCharCode:122,onProgress:b,onComplete:b};var w=':host{--mds-text-selection-background:rgb(var(--label-sky-09));--mds-text-selection-color:rgb(var(--label-sky-01));--mds-text-line-clamp:3;--mds-text-animation-speed:0.5;--mds-text-animation-placeholder-char:" ";display:-ms-flexbox;display:flex;min-width:0}.text::-moz-selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text::selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text{cursor:inherit;display:inherit}:host([typography="snippet"]){min-height:1.5rem;font-family:\'Roboto Mono\', \'Courier New\', monospace;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="hack"]){min-height:1.25rem;font-family:\'Roboto Mono\', \'Courier New\', monospace;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h1"]){min-height:3rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:3rem;line-height:3rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h2"]){min-height:2.5rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:2.25rem;line-height:2.5rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h3"]){min-height:2.25rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.875rem;line-height:2.25rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h4"]){min-height:2rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.5rem;line-height:2rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h5"]){min-height:1.75rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.25rem;line-height:1.75rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h6"]){min-height:1.5rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1rem;line-height:1.5rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h1"]),:host([typography="h2"]),:host([typography="h3"]),:host([typography="h4"]),:host([typography="h5"]),:host([typography="h6"]){text-wrap:balance}:host([typography="action"]){min-height:1.5rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.875rem;line-height:1.5rem;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="paragraph"]){min-height:2rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="detail"]){min-height:1.5rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="caption"]){min-height:1.25rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="paragraph"]),:host([typography="detail"]),:host([typography="caption"]){text-wrap:pretty}:host([typography="label"]){min-height:1rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="tip"]){min-height:1rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="option"]){min-height:0.625rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.625rem;line-height:0.625rem;letter-spacing:-0.025em;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="paragraph"][variant="read"]){min-height:2rem;font-family:\'Merriweather\', Times, \'Times New Roman\', serif;font-size:1.25rem;line-height:2rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="detail"][variant="read"]){min-height:1.5rem;font-family:\'Merriweather\', Times, \'Times New Roman\', serif;font-size:1rem;line-height:1.5rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="caption"][variant="read"]){min-height:1.25rem;font-family:\'Merriweather\', Times, \'Times New Roman\', serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([tag="article"]),:host([tag="blockquote"]),:host([tag="dd"]),:host([tag="details"]),:host([tag="div"]),:host([tag="dl"]),:host([tag="dt"]),:host([tag="figcaption"]),:host([tag="h1"]),:host([tag="h2"]),:host([tag="h3"]),:host([tag="h4"]),:host([tag="h5"]),:host([tag="h6"]),:host([tag="label"]),:host([tag="legend"]),:host([tag="li"]),:host([tag="ol"]),:host([tag="p"]),:host([tag="pre"]),:host([tag="summary"]),:host([tag="ul"]){display:block}:host([tag="abbr"]),:host([tag="address"]),:host([tag="b"]),:host([tag="bdo"]),:host([tag="cite"]),:host([tag="code"]),:host([tag="del"]),:host([tag="dfn"]),:host([tag="em"]),:host([tag="i"]),:host([tag="ins"]),:host([tag="kbd"]),:host([tag="mark"]),:host([tag="q"]),:host([tag="rb"]),:host([tag="rt"]),:host([tag="ruby"]),:host([tag="s"]),:host([tag="samp"]),:host([tag="small"]),:host([tag="span"]),:host([tag="strong"]),:host([tag="sub"]),:host([tag="sup"]),:host([tag="time"]),:host([tag="u"]),:host([tag="var"]){display:inline}:host([tag="code"]){border-radius:0.25rem;padding-left:0.25rem;padding-right:0.25rem;padding-top:0.0625rem;padding-bottom:0.0625rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:rgb(var(--tone-neutral-09));-webkit-box-shadow:rgb(var(--tone-neutral-08)) 0 0 0 1px;box-shadow:rgb(var(--tone-neutral-08)) 0 0 0 1px;color:rgb(var(--tone-neutral-03));-webkit-transition-property:color, background-color;transition-property:color, background-color}:host([truncate]) .text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}:host([truncate="word"]) .text{white-space:nowrap}@supports (line-clamp: 1){:host([truncate="all"]) .text{line-clamp:var(--mds-text-line-clamp, 1)}}@supports (display: -webkit-box){:host([truncate="all"]) .text{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:var(--mds-text-line-clamp, 1)}}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var k=w;var v=t("mds_text",function(){function t(t){var a=this;e(this,t);this.cssTextAnimationSpeed=2;this.cssTextAnimationPlaceholderChar=" ";this.randomTextOptions={speed:this.cssTextAnimationSpeed,placeholderChar:this.cssTextAnimationPlaceholderChar,frameOffset:10,charOffset:20,charStep:15};this.animation="none";this.typography="detail";this.animateText=function(t){var e;var o=(e=a.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");a.randomTextOptions.speed=a.cssTextAnimationSpeed;a.randomTextOptions.placeholderChar=a.cssTextAnimationPlaceholderChar;a.randomText=new x(Object.assign({str:t,onProgress:function(t){o.innerHTML=t}},a.randomTextOptions));a.randomText.start()};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(a.host);a.cssTextAnimationSpeed=Number(t.getPropertyValue("--mds-text-animation-speed"));var e=t.getPropertyValue("--mds-text-animation-placeholder-char");if(e==='" "'||e==="' '"){a.cssTextAnimationPlaceholderChar=" ";return}a.cssTextAnimationPlaceholderChar=e}}t.prototype.componentWillRender=function(){var t;var e=r[this.typography].tag;this.tag=(t=this.tag)!==null&&t!==void 0?t:e};t.prototype.componentDidLoad=function(){if(this.animation==="yugop")this.updateCSSCustomProps()};t.prototype.textHandler=function(t){if(this.animation==="none"){return}if(this.randomText){this.randomText.stop()}if(t){this.animateText(t)}};t.prototype.render=function(){return a(o,{key:"c2b975a38997a1ed8f5a6d49817398356a94cfc7"},a(this.tag,{key:"830f1caa4906a64330278da005b0cd10b014d21f",class:"text"},!this.text?a("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:["textHandler"]}},enumerable:false,configurable:true});return t}());v.style=k}}}));
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(t,e,a){if(a||arguments.length===2)for(var o=0,i=e.length,r;o<i;o++){if(r||!(o in e)){if(!r)r=Array.prototype.slice.call(e,0,o);r[o]=e[o]}}return t.concat(r||Array.prototype.slice.call(e))};System.register(["./p-2aef517c.system.js"],(function(t){"use strict";var e,a,o,i;return{setters:[function(t){e=t.r;a=t.h;o=t.H;i=t.g}],execute:function(){var r={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var s=2147483647;var n=function(t){return t*16807%s};var d=function(t){return n(t)/s};var h=function(t){return n(t)};var m=function(t){if(t===void 0){t=1}var e=t<1?1:t;var a=function(){e=h(e);return e};return{random:function(){return a()},randomFloat:function(){return d(a())},range:function(t,e){var o=t-.4999;var i=e+.4999;return Math.round(o+(i-o)*d(a()))},rangeFloat:function(t,e){return t+(e-t)*d(a())}}};var l=function(t){return t.split("").map((function(t){return t.charCodeAt(0)}))};var y=function(){return(Math.round(Math.random())-.5)*2};var f=function(t,e){return function(a){if(a>e)return t+(a-e);if(a<t)return e+(a-t);return a}};var g=m();var c=function(t,e){return function(){return(t+g.range(0,e))*y()}};var p=function(t,e){return function(a){return l(a).map(c(t,e))}};var u=function(t){var e=t.str,a=t.minCharCode,o=t.maxCharCode,i=t.placeholderChar,r=t.charStep;return function(t){return t.reduce((function(t,s,n){if(s!==0){if(Math.abs(s)>r){return t+i}return t+String.fromCharCode(f(a,o)(e.charCodeAt(n)+s))}return t+e.charAt(n)}),"")}};var b=function(){};var x=function(){function t(e){var a=this;this.start=function(){var t=a,e=t.frameOffset,o=t.charOffset,i=t.str,r=t.speed;var s=p(e,o)(i);a.stop();a.rafId=requestAnimationFrame((function(){a.step(s,r,r)}))};Object.assign(this,Object.assign(Object.assign({},t.defaults),e))}t.prototype.stop=function(){cancelAnimationFrame(this.rafId)};t.prototype.step=function(t,e,a){var o=this;var i=this,r=i.str,s=i.charStep,n=i.minCharCode,d=i.maxCharCode,h=i.placeholderChar,m=i.onProgress,l=i.onComplete;var y=t.slice(0,e);var f=y.map((function(t){if(t>0)return t-1;if(t<0)return t+1;return 0}));var g=u({str:r,minCharCode:n,maxCharCode:d,placeholderChar:h,charStep:s})(f);var c=__spreadArray(__spreadArray([],f,true),t.slice(e),true);m(g);if(g!==r){this.rafId=requestAnimationFrame((function(){o.step(c,e+a,a)}))}else{l(g)}};return t}();x.defaults={str:"",speed:2,placeholderChar:"_",frameOffset:30,charOffset:20,charStep:10,minCharCode:32,maxCharCode:122,onProgress:b,onComplete:b};var w=':host{--mds-text-selection-background:rgb(var(--label-sky-09));--mds-text-selection-color:rgb(var(--label-sky-01));--mds-text-line-clamp:3;--mds-text-animation-speed:0.5;--mds-text-animation-placeholder-char:" ";display:-ms-flexbox;display:flex;min-width:0}.text::-moz-selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text::selection{background-color:var(--mds-text-selection-background);color:var(--mds-text-selection-color)}.text{cursor:inherit;display:inherit}:host([typography="snippet"]){min-height:1.5rem;font-family:\'Roboto Mono\', \'Courier New\', monospace;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="hack"]){min-height:1.25rem;font-family:\'Roboto Mono\', \'Courier New\', monospace;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h1"]){min-height:3rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:3rem;line-height:3rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h2"]){min-height:2.5rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:2.25rem;line-height:2.5rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h3"]){min-height:2.25rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.875rem;line-height:2.25rem;letter-spacing:-0.025em;font-weight:900;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h4"]){min-height:2rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.5rem;line-height:2rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h5"]){min-height:1.75rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.25rem;line-height:1.75rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h6"]){min-height:1.5rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1rem;line-height:1.5rem;letter-spacing:-0.025em;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="h1"]),:host([typography="h2"]),:host([typography="h3"]),:host([typography="h4"]),:host([typography="h5"]),:host([typography="h6"]){text-wrap:balance}:host([typography="action"]){min-height:1.5rem;font-family:Roboto, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.875rem;line-height:1.5rem;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="paragraph"]){min-height:2rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1.25rem;line-height:2rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="detail"]){min-height:1.5rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:1rem;line-height:1.5rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="caption"]){min-height:1.25rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="paragraph"]),:host([typography="detail"]),:host([typography="caption"]){text-wrap:pretty}:host([typography="label"]){min-height:1rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="tip"]){min-height:1rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.75rem;line-height:1rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="option"]){min-height:0.625rem;font-family:Karla, system-ui, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif;font-size:0.625rem;line-height:0.625rem;letter-spacing:-0.025em;font-weight:700;text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="paragraph"][variant="read"]){min-height:2rem;font-family:\'Merriweather\', Times, \'Times New Roman\', serif;font-size:1.25rem;line-height:2rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="detail"][variant="read"]){min-height:1.5rem;font-family:\'Merriweather\', Times, \'Times New Roman\', serif;font-size:1rem;line-height:1.5rem;font-weight:300;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography="caption"][variant="read"]){min-height:1.25rem;font-family:\'Merriweather\', Times, \'Times New Roman\', serif;font-size:0.875rem;line-height:1.25rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([tag="article"]),:host([tag="blockquote"]),:host([tag="dd"]),:host([tag="details"]),:host([tag="div"]),:host([tag="dl"]),:host([tag="dt"]),:host([tag="figcaption"]),:host([tag="h1"]),:host([tag="h2"]),:host([tag="h3"]),:host([tag="h4"]),:host([tag="h5"]),:host([tag="h6"]),:host([tag="label"]),:host([tag="legend"]),:host([tag="li"]),:host([tag="ol"]),:host([tag="p"]),:host([tag="pre"]),:host([tag="summary"]),:host([tag="ul"]){display:block}:host([tag="abbr"]),:host([tag="address"]),:host([tag="b"]),:host([tag="bdo"]),:host([tag="cite"]),:host([tag="code"]),:host([tag="del"]),:host([tag="dfn"]),:host([tag="em"]),:host([tag="i"]),:host([tag="ins"]),:host([tag="kbd"]),:host([tag="mark"]),:host([tag="q"]),:host([tag="rb"]),:host([tag="rt"]),:host([tag="ruby"]),:host([tag="s"]),:host([tag="samp"]),:host([tag="small"]),:host([tag="span"]),:host([tag="strong"]),:host([tag="sub"]),:host([tag="sup"]),:host([tag="time"]),:host([tag="u"]),:host([tag="var"]){display:inline}:host([tag="code"]){border-radius:0.25rem;padding-left:0.25rem;padding-right:0.25rem;padding-top:0.0625rem;padding-bottom:0.0625rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:rgb(var(--tone-neutral-09));-webkit-box-shadow:rgb(var(--tone-neutral-08)) 0 0 0 1px;box-shadow:rgb(var(--tone-neutral-08)) 0 0 0 1px;color:rgb(var(--tone-neutral-03));-webkit-transition-property:color, background-color;transition-property:color, background-color}:host([truncate]) .text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}:host([truncate="word"]) .text{white-space:nowrap}@supports (line-clamp: 1){:host([truncate="all"]) .text{line-clamp:var(--mds-text-line-clamp, 1)}}@supports (display: -webkit-box){:host([truncate="all"]) .text{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:var(--mds-text-line-clamp, 1)}}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var k=w;var v=t("mds_text",function(){function t(t){var a=this;e(this,t);this.cssTextAnimationSpeed=2;this.cssTextAnimationPlaceholderChar=" ";this.randomTextOptions={speed:this.cssTextAnimationSpeed,placeholderChar:this.cssTextAnimationPlaceholderChar,frameOffset:10,charOffset:20,charStep:15};this.animation="none";this.typography="detail";this.animateText=function(t){var e;var o=(e=a.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");a.randomTextOptions.speed=a.cssTextAnimationSpeed;a.randomTextOptions.placeholderChar=a.cssTextAnimationPlaceholderChar;a.randomText=new x(Object.assign({str:t,onProgress:function(t){o.innerHTML=t}},a.randomTextOptions));a.randomText.start()};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(a.host);a.cssTextAnimationSpeed=Number(t.getPropertyValue("--mds-text-animation-speed"));var e=t.getPropertyValue("--mds-text-animation-placeholder-char");if(e==='" "'||e==="' '"){a.cssTextAnimationPlaceholderChar=" ";return}a.cssTextAnimationPlaceholderChar=e}}t.prototype.componentWillRender=function(){var t,e;var a=((t=r[this.typography])!==null&&t!==void 0?t:r.detail).tag;this.tag=(e=this.tag)!==null&&e!==void 0?e:a};t.prototype.componentDidLoad=function(){if(this.animation==="yugop")this.updateCSSCustomProps()};t.prototype.textHandler=function(t){if(this.animation==="none"){return}if(this.randomText){this.randomText.stop()}if(t){this.animateText(t)}};t.prototype.render=function(){return a(o,{key:"d096756b0b83d56c456b7cbe31898f8f7163fe44"},a(this.tag,{key:"b13042971ea7d46f60cac8d0c119398bc36155fd",class:"text"},!this.text?a("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:["textHandler"]}},enumerable:false,configurable:true});return t}());v.style=k}}}));
|