UNPKG

133 kBSource Map (JSON)View Raw
1{"version":3,"sources":["webpack:///./packages/mdc-switch/styles.scss","webpack:///./packages/material-components-web/node_modules/@material/theme/_css.scss","webpack:///./packages/material-components-web/node_modules/@material/theme/_gss.scss","webpack:///styles.scss","webpack:///./packages/mdc-switch/_switch.scss","webpack:///./packages/material-components-web/node_modules/@material/dom/_dom.scss","webpack:///./packages/material-components-web/node_modules/@material/rtl/_rtl.scss","webpack:///./packages/material-components-web/node_modules/@material/ripple/_ripple.scss","webpack:///./packages/material-components-web/node_modules/@material/animation/_animation.scss","webpack:///./packages/material-components-web/node_modules/@material/focus-ring/_focus-ring.scss","webpack:///./stdin","webpack:///./packages/mdc-switch/_switch-theme.scss","webpack:///./packages/material-components-web/node_modules/@material/ripple/_ripple-theme.scss","webpack:///./packages/material-components-web/node_modules/@material/elevation/_elevation-theme.scss"],"names":[],"mappings":";;;;;;;AA4DE;EAGM;EACA;EACA;ECCF;ECZF;EDwBA;EDFI;ECVF;ECZF;EDwBA;AEnEJ;;AC2DE;EA8DA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ADrHF;ACgDI;EAyEF;EACA;ADtHF;;ACiDE;EAyEA;EACA;EACA;ADtHF;ACwHE;EAEE;EACA;EACA;EACA;EACA;EFtGA;EAAc;EEwGd;EACA;EACA;ADtHJ;AE+CI;ED6DF;IAeI;EDvHJ;AACF;AC2IE;EACE;EAAA;EAAA;EACA;UAAA;ADzIJ;AC4IE;EACE;EAAA;EAAA;EACA;UAAA;AD1IJ;AGoBM;EACE;EFuHF;UAAA;EErHE;AHlBR;;AC+GE;EACE;EAAA;EAAA;EACA;UAAA;AD5GJ;AGUM;EACE;EFmGF;UAAA;EEjGE;AHRR;;AC6GE;EACE;EAAA;EAAA;EACA;UAAA;AD1GJ;;ACOE;EAuHA;EAIA;EACA;EACA;EACA;EAAA;EAAA;EF1JE;EAAc;EDmBd;ECnBA;EAAc;EDmBd;EGqJF;UAAA;ADpIF;AGfM;EACE;EJtBJ;EAAc;EDmBd;ECnBA;EAAc;EDmBd;EKKI;AHsBR;;ACdI;EAgIF;UAAA;AD9GF;AG7BM;EACE;EF6IJ;UAAA;EE3II;AH+BR;;AClBE;EAuIA;EACA;EACA;EACA;EACA;UAAA;EFhLE;EAAc;EDmBd;ECnBA;EAAc;EDmBd;AEkDJ;AGhDM;EACE;EJtBJ;EAAc;EDmBd;ECnBA;EAAc;EDmBd;EKKI;AHuDR;;ACqGE;EAEE;EACA;EACA;EACA;EACA;EACA;EF3LA;EAAc;EE6Ld;EACA;EACA;EACA;EAMA;ADvGJ;AE5DI;EDiJF;IAuBI;EDxGJ;AACF;;AC3DE;EAwKA;EACA;EFlNE;EAAc;EEoNhB;EACA;EFrNE;EAAc;EEuNhB;EACA;ADvGF;;ACpEE;EA+KA;EF5NE;EAAc;EE8NhB;EF9NE;EAAc;EEgOhB;EACA;ADrGF;;AC3EE;EFjDE;EAAc;EEsOhB;EACA;EACA;EACA;UAAA;EAGA;ADtGF;AClFI;EA4LF;ADvGF;;AChFE;EA2LA;EACA;EACA;EACA;ADvGF;;ACnFE;EA8LA;EF3PE;EAAc;EE6PhB;EAGA;EACA;EFjQE;EAAc;EEmQhB;EACA;EAIA;EACA;AD1GF;;AC7FE;;EA2MA;EACA;ADzGF;;ACtLE;EGwEE;EACA;EACA;EACA;EACA;EACA;EAEA;EAGE;AJ+GN;AIqEE;EACE;IACE,+DC3R2B;YD2R3B,uDC3R2B;IDgS3B;YAAA;EJvEJ;EI0EE;IACE;YAAA;EJxEJ;AACF;AI4DE;EACE;IACE,+DC3R2B;YD2R3B,uDC3R2B;IDgS3B;YAAA;EJvEJ;EI0EE;IACE;YAAA;EJxEJ;AACF;AI4EE;EACE;IACE;YAAA;IACA;EJ1EJ;EI6EE;IACE;EJ3EJ;AACF;AImEE;EACE;IACE;YAAA;IACA;EJ1EJ;EI6EE;IACE;EJ3EJ;AACF;AI8EE;EACE;IACE;YAAA;IACA;EJ5EJ;EI+EE;IACE;EJ7EJ;AACF;AIqEE;EACE;IACE;YAAA;IACA;EJ5EJ;EI+EE;IACE;EJ7EJ;AACF;AItIE;;EAGI;EACA;EACA;EACA;EACA;AJuIN;AInIE;EAGI;EN5EA;ECZF;EDwBA;AEsMJ;AIzHE;ENzFI;ECZF;EDwBA;AE2MJ;AIlHI;EAEI;UAAA;AJmHR;AI/GI;EAEI;ELpHJ;EAAc;EKsHV;EACA;UAAA;EACA;UAAA;AJiHR;AI3GI;EAEI;ELhIJ;EAAc;EKkIV;AJ6GR;AIvGI;EAEI;UAAA;AJwGR;AIhGI;EAEI;UAAA;EAKA;UAAA;AJ6FR;AInDE;;EAGI;ELtMF;EAAc;EKwMZ;EACA,WAZK;EAaL,YAbK;AJkEX;AIhDI;;EAGI;ELlNJ;EAAc;EKoNV;EACA;EACA;AJkDR;AI9CI;EAEI;EACA;AJ+CR;ACxRI;EACE;EACA;EAEA;EFQF;EAAc;EENZ;EFMF;EAAc;EEJZ;UAAA;AD2RN;ACtRM;EKUF;EACA;EACA;EACA;EACA;EACA;EPhBA;EAAc;EOkBd;EPlBA;EAAc;EOoBd;UAAA;EACA;;KAzB0B;EA0B1B;;KApB4B;ANyShC;AExQI;EDlCE;IKwBA;ENsRJ;AACF;AMpRI;EACE;EACA;EACA,kBAhEgB;EAiEhB;EACA;EACA;EPlCF;EAAc;EOoCZ;EPpCF;EAAc;EOsCZ;UAAA;EACA,wBA/BgB;EAgChB,uBAhCgB;ANwTtB;AE7RI;EIPA;IAeI;ENyRN;AACF;;AOjWA;ETmCM;ECZF;EDwBA;AEwTJ;AQ1BI;EV1SE;ECZF;EDwBA;AE6TJ;;AQ/BI;EV1SE;ECZF;EDwBA;AEmUJ;;AQrCI;EV1SE;ECZF;EDwBA;AEyUJ;;AQ3CI;EV1SE;ECZF;EDwBA;AE+UJ;;AQjDI;EV1SE;ECZF;EDwBA;AEqVJ;;AQvDI;EV1SE;ECZF;EDwBA;AE2VJ;;AQ7DI;EV1SE;ECZF;EDwBA;AEiWJ;;AQnEI;EV1SE;ECZF;EDwBA;AEuWJ;;AQzEI;EV1SE;ECZF;EDwBA;AE6WJ;;AQ/EI;EV1SE;ECZF;EDwBA;AEmXJ;;AQ9DI;EVjUE;ECZF;EDwBA;AEyXJ;AQ3CE;EV9UE;EAZE;ECZF;EDwBA;AE+XJ;AQjDE;EV9UE;EAZE;ECZF;EDwBA;AEqYJ;AQjDE;;EVhWI;ECZF;EDwBA;AE2YJ;AQtCI;EVjXE;ECZF;EDwBA;AEgZJ;;AQpCE;EVxXI;ECZF;EDwBA;AEsZJ;AQpCE;EV9XI;ECZF;EDwBA;AE2ZJ;AQrCE;EVlYI;ECZF;EDwBA;AEgaJ;AQtBE;EVtZI;ECZF;EDwBA;AEqaJ;;AQ3BE;EVtZI;ECZF;EDwBA;AE2aJ;;AQjCE;EVtZI;ECZF;EDwBA;AEibJ;;AQvCE;EVtZI;ECZF;EDwBA;AEubJ;;AQrBE;EV9aI;ECZF;EDwBA;AE6bJ;;AQ3BE;EV9aI;ECZF;EDwBA;AEmcJ;;AQfE;EVhcI;ECZF;EDwBA;EAZE;ECZF;EDwBA;AE4cJ;;AQxBE;EVhcI;ECZF;EDwBA;EAZE;ECZF;EDwBA;AEqdJ;;ASzYI;;EXxFE;ECZF;EDwBA;AE4dJ;;AShZI;;EXxFE;ECZF;EDwBA;AEmeJ;;ASvZI;;EXxFE;ECZF;EDwBA;AE0eJ;;AS9ZI;;EXxFE;ECZF;EDwBA;AEifJ;;ASraI;;EXxFE;ECZF;EDwBA;AEwfJ;;AS5aI;;EXxFE;ECZF;EDwBA;AE+fJ;;AS1CE;EXjeI;ECZF;EDwBA;AEqgBJ;;AShDE;EA9QI;EXnNA;ECZF;EDwBA;AE4gBJ;;AS3SM;EAEI;AT6SV;ASxSQ;EAEI,yBAhRO;EX0Bb;ECZF;EDwBA;AEshBJ;ASjSI;EXrPA;AEyhBJ;;ASpEE;EXjeI;ECZF;EDwBA;AE+hBJ;;AS1EE;EA9QI;EXnNA;ECZF;EDwBA;AEsiBJ;;ASrUM;EAEI;ATuUV;ASlUQ;EAEI,yBAhRO;EX0Bb;ECZF;EDwBA;AEgjBJ;AS3TI;EXrPA;AEmjBJ;;AQlCE;EV7hBI;ECZF;EDwBA;EAZE;ECZF;EDwBA;AE4jBJ;AQpCE;EVpiBI;ECZF;EDwBA;AEikBJ;AQ7BE;EVhjBI;ECZF;EDwBA;AEskBJ;;AQNE;EV5kBI;ECZF;EDwBA;AE4kBJ;;AQZE;EV5kBI;ECZF;EDwBA;AEklBJ;;AQlBE;EV5kBI;ECZF;EDwBA;AEwlBJ;;AQxBE;EV5kBI;ECZF;EDwBA;AE8lBJ;;AQ9BE;EV5kBI;ECZF;EDwBA;AEomBJ;;AQRE;EVxmBI;ECZF;EDwBA;AE0mBJ;;AQdE;EVxmBI;ECZF;EDwBA;AEgnBJ;;AQpBE;EVxmBI;ECZF;EDwBA;AEsnBJ;;AQ1BE;EVxmBI;ECZF;EDwBA;AE4nBJ;;AQhCE;EVxmBI;ECZF;EDwBA;AEkoBJ;;AQhCE;EV9mBI;ECZF;EDwBA;AEwoBJ;;AEpnBI;EM0TF;IErHI;EVobJ;EQ/TA;IErHI;EVubJ;EQ3SE;IVjXE;ICZF;IDwBA;EEqpBF;;EQ3QA;IVtZI;ICZF;IDwBA;EE2pBF;;EQjRA;IVtZI;ICZF;IDwBA;EEiqBF;;EQvRA;IVtZI;ICZF;IDwBA;EEuqBF;;EQ7RA;IVtZI;ICZF;IDwBA;EE6qBF;;EQ3QA;IV9aI;ICZF;IDwBA;EEmrBF;;EQjRA;IV9aI;ICZF;IDwBA;EEyrBF;;EQrJA;IVhjBI;ICZF;IDwBA;EE+rBF;AACF,C","file":"mdc.switch.css","sourcesContent":["//\n// Copyright 2017 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use '@material/theme/custom-properties';\n@use '@material/base/mixins' as base-mixins;\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/theme/theme';\n@use '@material/theme/theme-color';\n@use './elevation-theme';\n\n@mixin core-styles($query: feature-targeting.all()) {\n $feat-animation: feature-targeting.create-target($query, animation);\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @for $z-value from 0 through 24 {\n .mdc-elevation--z#{$z-value} {\n @include elevation-theme.elevation($z-value, $query: $query);\n }\n }\n\n .mdc-elevation-transition {\n @include feature-targeting.targets($feat-animation) {\n transition: elevation-theme.transition-value();\n }\n\n @include feature-targeting.targets($feat-structure) {\n will-change: elevation-theme.$property;\n }\n }\n}\n\n///\n/// Called once per application to set up the global default elevation styles.\n///\n@mixin overlay-common($query: feature-targeting.all()) {\n $feat-animation: feature-targeting.create-target($query, animation);\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-elevation-overlay {\n @include feature-targeting.targets($feat-structure) {\n @include base-mixins.emit-once('mdc-elevation/common/structure') {\n position: absolute;\n border-radius: inherit;\n pointer-events: none;\n\n @include theme.property(\n opacity,\n custom-properties.create(--mdc-elevation-overlay-opacity, 0)\n );\n }\n }\n\n @include feature-targeting.targets($feat-animation) {\n @include base-mixins.emit-once('mdc-elevation/common/animation') {\n transition: elevation-theme.overlay-transition-value();\n }\n }\n\n @include base-mixins.emit-once('mdc-elevation/common/color') {\n $fill-color: custom-properties.create(\n --mdc-elevation-overlay-color,\n elevation-theme.$overlay-color\n );\n @include elevation-theme.overlay-fill-color($fill-color, $query: $query);\n }\n }\n}\n","//\n// Copyright 2020 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n@use 'sass:list';\n@use 'sass:map';\n@use 'sass:meta';\n@use './gss';\n\n/// When true, add an additional property/value declaration before declarations\n/// that use advanced features such as custom properties or CSS functions. This\n/// adds fallback support for older browsers such as IE11 that do not support\n/// these features at the cost of additional CSS. Set this variable to false to\n/// disable generating fallback declarations.\n$enable-fallback-declarations: true !default;\n\n/// Writes a CSS property/value declaration. This mixin is used throughout the\n/// theme package for consistency for dynamically setting CSS property values.\n///\n/// This mixin may optionally take a fallback value. For advanced features such\n/// as custom properties or CSS functions like min and max, a fallback value is\n/// recommended to support older browsers.\n///\n/// @param {String} $property - The CSS property of the declaration.\n/// @param {*} $value - The value of the CSS declaration. The value should be\n/// resolved by other theme functions first (i.e. custom property Maps and\n/// Material theme keys are not supported in this mixin). If the value is\n/// null, no declarations will be emitted.\n/// @param {*} $fallback - An optional fallback value for older browsers. If\n/// provided, a second property/value declaration will be added before the\n/// main property/value declaration.\n/// @param {Map} $gss - An optional Map of GSS annotations to add.\n/// @param {Bool} $important - If true, add `!important` to the declaration.\n@mixin declaration(\n $property,\n $value,\n $fallback-value: null,\n $gss: (),\n $important: false\n) {\n // Normally setting a null value to a property will not emit CSS, so mixins\n // wouldn't need to check this. However, Sass will throw an error if the\n // interpolated property is a custom property.\n @if $value != null {\n $important-rule: if($important, ' !important', '');\n\n @if $fallback-value and $enable-fallback-declarations {\n @include gss.annotate($gss);\n #{$property}: #{$fallback-value} #{$important-rule};\n\n // Add @alternate to annotations.\n $gss: map.merge(\n $gss,\n (\n alternate: true,\n )\n );\n }\n\n @include gss.annotate($gss);\n #{$property}: #{$value}#{$important-rule};\n }\n}\n\n/// Unpacks shorthand values for CSS properties (i.e. lists of 1-3 values).\n/// If a list of 4 values is given, it is returned as-is.\n///\n/// Examples:\n///\n/// unpack-value(4px) => 4px 4px 4px 4px\n/// unpack-value(4px 2px) => 4px 2px 4px 2px\n/// unpack-value(4px 2px 2px) => 4px 2px 2px 2px\n/// unpack-value(4px 2px 0 2px) => 4px 2px 0 2px\n///\n/// @param {Number | Map | List} $value - List of 1 to 4 value numbers.\n/// @return {List} a List of 4 value numbers.\n@function unpack-value($value) {\n @if meta.type-of($value) == 'map' or list.length($value) == 1 {\n @return $value $value $value $value;\n } @else if list.length($value) == 4 {\n @return $value;\n } @else if list.length($value) == 3 {\n @return list.nth($value, 1) list.nth($value, 2) list.nth($value, 3)\n list.nth($value, 2);\n } @else if list.length($value) == 2 {\n @return list.nth($value, 1) list.nth($value, 2) list.nth($value, 1)\n list.nth($value, 2);\n }\n\n @error \"Invalid CSS property value: '#{$value}' is more than 4 values\";\n}\n","//\n// Copyright 2020 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n@use 'sass:list';\n@use 'sass:map';\n@use 'sass:meta';\n\n/// Adds optional GSS annotation comments. Useful for theme mixins where one or\n/// more properties are set indirectly.\n///\n/// Annotations may be provided as a Map of annotations or as named arguments.\n///\n/// @example - scss\n/// @include annotate((noflip: true));\n/// left: 0;\n///\n/// @example - scss\n/// @include annotate($noflip: true);\n/// left: 0;\n///\n/// @example - css\n/// /* @noflip */ /*rtl:ignore*/\n/// left: 0;\n///\n/// @param {Map} $annotations - Map of annotations. Values must be set to `true`\n/// for an annotation to be added.\n@mixin annotate($annotations...) {\n $keywords: meta.keywords($annotations);\n @if list.length($annotations) > 0 {\n $annotations: list.nth($annotations, 1);\n } @else {\n $annotations: $keywords;\n }\n\n @if (map.get($annotations, alternate) == true) {\n /* @alternate */\n }\n\n // noflip must be the last tag right before the property\n @if (map.get($annotations, noflip) == true) {\n /* @noflip */ /*rtl:ignore*/\n }\n}\n",".mdc-elevation-overlay {\n position: absolute;\n border-radius: inherit;\n pointer-events: none;\n opacity: 0;\n /* @alternate */\n opacity: var(--mdc-elevation-overlay-opacity, 0);\n transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-elevation-overlay-color, #fff);\n}\n\n.mdc-switch {\n align-items: center;\n background: none;\n border: none;\n cursor: pointer;\n display: inline-flex;\n flex-shrink: 0;\n margin: 0;\n outline: none;\n overflow: visible;\n padding: 0;\n position: relative;\n}\n.mdc-switch:disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-switch__track {\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.mdc-switch__track::before, .mdc-switch__track::after {\n border: 1px solid transparent;\n border-radius: inherit;\n box-sizing: border-box;\n content: \"\";\n height: 100%;\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n position: absolute;\n width: 100%;\n}\n@media screen and (forced-colors: active) {\n .mdc-switch__track::before, .mdc-switch__track::after {\n border-color: currentColor;\n }\n}\n.mdc-switch__track::before {\n transition: transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transform: translateX(0);\n}\n.mdc-switch__track::after {\n transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transform: translateX(-100%);\n}\n[dir=rtl] .mdc-switch__track::after, .mdc-switch__track[dir=rtl]::after {\n /*rtl:begin:ignore*/\n transform: translateX(100%);\n /*rtl:end:ignore*/\n}\n\n.mdc-switch--selected .mdc-switch__track::before {\n transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transform: translateX(100%);\n}\n[dir=rtl] .mdc-switch--selected .mdc-switch__track::before, .mdc-switch--selected .mdc-switch__track[dir=rtl]::before {\n /*rtl:begin:ignore*/\n transform: translateX(-100%);\n /*rtl:end:ignore*/\n}\n\n.mdc-switch--selected .mdc-switch__track::after {\n transition: transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transform: translateX(0);\n}\n\n.mdc-switch__handle-track {\n height: 100%;\n pointer-events: none;\n position: absolute;\n top: 0;\n transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n /* @noflip */\n /*rtl:ignore*/\n right: auto;\n transform: translateX(0);\n}\n[dir=rtl] .mdc-switch__handle-track, .mdc-switch__handle-track[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */\n /*rtl:ignore*/\n left: auto;\n /* @noflip */\n /*rtl:ignore*/\n right: 0;\n /*rtl:end:ignore*/\n}\n\n.mdc-switch--selected .mdc-switch__handle-track {\n transform: translateX(100%);\n}\n[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track, .mdc-switch--selected .mdc-switch__handle-track[dir=rtl] {\n /*rtl:begin:ignore*/\n transform: translateX(-100%);\n /*rtl:end:ignore*/\n}\n\n.mdc-switch__handle {\n display: flex;\n pointer-events: auto;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n /* @noflip */\n /*rtl:ignore*/\n right: auto;\n}\n[dir=rtl] .mdc-switch__handle, .mdc-switch__handle[dir=rtl] {\n /*rtl:begin:ignore*/\n /* @noflip */\n /*rtl:ignore*/\n left: auto;\n /* @noflip */\n /*rtl:ignore*/\n right: 0;\n /*rtl:end:ignore*/\n}\n\n.mdc-switch__handle::before, .mdc-switch__handle::after {\n border: 1px solid transparent;\n border-radius: inherit;\n box-sizing: border-box;\n content: \"\";\n width: 100%;\n height: 100%;\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n position: absolute;\n top: 0;\n transition: background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);\n z-index: -1;\n}\n@media screen and (forced-colors: active) {\n .mdc-switch__handle::before, .mdc-switch__handle::after {\n border-color: currentColor;\n }\n}\n\n.mdc-switch__shadow {\n border-radius: inherit;\n bottom: 0;\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n position: absolute;\n /* @noflip */\n /*rtl:ignore*/\n right: 0;\n top: 0;\n}\n\n.mdc-elevation-overlay {\n bottom: 0;\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n /* @noflip */\n /*rtl:ignore*/\n right: 0;\n top: 0;\n}\n\n.mdc-switch__ripple {\n /* @noflip */\n /*rtl:ignore*/\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n z-index: -1;\n}\n.mdc-switch:disabled .mdc-switch__ripple {\n display: none;\n}\n\n.mdc-switch__icons {\n height: 100%;\n position: relative;\n width: 100%;\n z-index: 1;\n}\n\n.mdc-switch__icon {\n bottom: 0;\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n margin: auto;\n position: absolute;\n /* @noflip */\n /*rtl:ignore*/\n right: 0;\n top: 0;\n opacity: 0;\n transition: opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1);\n}\n\n.mdc-switch--selected .mdc-switch__icon--on,\n.mdc-switch--unselected .mdc-switch__icon--off {\n opacity: 1;\n transition: opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-switch {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n@keyframes mdc-ripple-fg-radius-in {\n from {\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-switch .mdc-switch__ripple::before,\n.mdc-switch .mdc-switch__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: \"\";\n}\n.mdc-switch .mdc-switch__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-switch .mdc-switch__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before {\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after {\n top: 0;\n /* @noflip */\n /*rtl:ignore*/\n left: 0;\n transform: scale(0);\n transform-origin: center center;\n}\n.mdc-switch.mdc-ripple-upgraded--unbounded .mdc-switch__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n /*rtl:ignore*/\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-switch.mdc-ripple-upgraded--foreground-activation .mdc-switch__ripple::after {\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-switch.mdc-ripple-upgraded--foreground-deactivation .mdc-switch__ripple::after {\n animation: mdc-ripple-fg-opacity-out 150ms;\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-switch .mdc-switch__ripple::before,\n.mdc-switch .mdc-switch__ripple::after {\n top: calc(50% - 50%);\n /* @noflip */\n /*rtl:ignore*/\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::before,\n.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n /*rtl:ignore*/\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-switch.mdc-ripple-upgraded .mdc-switch__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-switch .mdc-switch__focus-ring-wrapper {\n width: 100%;\n position: absolute;\n top: 50%;\n /* @noflip */\n /*rtl:ignore*/\n left: 50%;\n /* @noflip */\n /*rtl:ignore*/\n transform: translate(-50%, -50%);\n}\n.mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring, .mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring {\n pointer-events: none;\n border: 2px solid transparent;\n border-radius: 6px;\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n /* @noflip */\n /*rtl:ignore*/\n left: 50%;\n /* @noflip */\n /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: calc(\n 100% + 4px\n );\n width: calc(\n 100% + 4px\n );\n}\n@media screen and (forced-colors: active) {\n .mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring, .mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring {\n border-color: CanvasText;\n }\n}\n.mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring::after, .mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring::after {\n content: \"\";\n border: 2px solid transparent;\n border-radius: 8px;\n display: block;\n position: absolute;\n top: 50%;\n /* @noflip */\n /*rtl:ignore*/\n left: 50%;\n /* @noflip */\n /*rtl:ignore*/\n transform: translate(-50%, -50%);\n height: calc(100% + 4px);\n width: calc(100% + 4px);\n}\n@media screen and (forced-colors: active) {\n .mdc-switch.mdc-ripple-upgraded--background-focused .mdc-switch__focus-ring::after, .mdc-switch:not(.mdc-ripple-upgraded):focus .mdc-switch__focus-ring::after {\n border-color: CanvasText;\n }\n}\n\n.mdc-switch {\n width: 36px;\n /* @alternate */\n width: var(--mdc-switch-track-width, 36px);\n}\n.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after {\n background: #6200ee;\n /* @alternate */\n background: var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee));\n}\n\n.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after {\n background: #310077;\n /* @alternate */\n background: var(--mdc-switch-selected-hover-handle-color, #310077);\n}\n\n.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after {\n background: #310077;\n /* @alternate */\n background: var(--mdc-switch-selected-focus-handle-color, #310077);\n}\n\n.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after {\n background: #310077;\n /* @alternate */\n background: var(--mdc-switch-selected-pressed-handle-color, #310077);\n}\n\n.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after {\n background: #424242;\n /* @alternate */\n background: var(--mdc-switch-disabled-selected-handle-color, #424242);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after {\n background: #616161;\n /* @alternate */\n background: var(--mdc-switch-unselected-handle-color, #616161);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after {\n background: #212121;\n /* @alternate */\n background: var(--mdc-switch-unselected-hover-handle-color, #212121);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after {\n background: #212121;\n /* @alternate */\n background: var(--mdc-switch-unselected-focus-handle-color, #212121);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after {\n background: #212121;\n /* @alternate */\n background: var(--mdc-switch-unselected-pressed-handle-color, #212121);\n}\n\n.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after {\n background: #424242;\n /* @alternate */\n background: var(--mdc-switch-disabled-unselected-handle-color, #424242);\n}\n\n.mdc-switch .mdc-switch__handle::before {\n background: #fff;\n /* @alternate */\n background: var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff));\n}\n.mdc-switch:enabled .mdc-switch__shadow {\n --mdc-elevation-box-shadow-for-gss: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-switch-handle-elevation, var(--mdc-elevation-box-shadow-for-gss));\n}\n.mdc-switch:disabled .mdc-switch__shadow {\n --mdc-elevation-box-shadow-for-gss: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n /* @alternate */\n box-shadow: var(--mdc-switch-disabled-handle-elevation, var(--mdc-elevation-box-shadow-for-gss));\n}\n.mdc-switch .mdc-switch__focus-ring-wrapper,\n.mdc-switch .mdc-switch__handle {\n height: 20px;\n /* @alternate */\n height: var(--mdc-switch-handle-height, 20px);\n}\n.mdc-switch:disabled .mdc-switch__handle::after {\n opacity: 0.38;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-handle-opacity, 0.38);\n}\n\n.mdc-switch .mdc-switch__handle {\n border-radius: 10px;\n /* @alternate */\n border-radius: var(--mdc-switch-handle-shape, 10px);\n}\n.mdc-switch .mdc-switch__handle {\n width: 20px;\n /* @alternate */\n width: var(--mdc-switch-handle-width, 20px);\n}\n.mdc-switch .mdc-switch__handle-track {\n width: calc(100% - 20px);\n /* @alternate */\n width: calc(100% - var(--mdc-switch-handle-width, 20px));\n}\n.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon {\n fill: #fff;\n /* @alternate */\n fill: var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff));\n}\n\n.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon {\n fill: #fff;\n /* @alternate */\n fill: var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff));\n}\n\n.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon {\n fill: #fff;\n /* @alternate */\n fill: var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff));\n}\n\n.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon {\n fill: #fff;\n /* @alternate */\n fill: var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff));\n}\n\n.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons {\n opacity: 0.38;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-selected-icon-opacity, 0.38);\n}\n\n.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons {\n opacity: 0.38;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-unselected-icon-opacity, 0.38);\n}\n\n.mdc-switch.mdc-switch--selected .mdc-switch__icon {\n width: 18px;\n /* @alternate */\n width: var(--mdc-switch-selected-icon-size, 18px);\n height: 18px;\n /* @alternate */\n height: var(--mdc-switch-selected-icon-size, 18px);\n}\n\n.mdc-switch.mdc-switch--unselected .mdc-switch__icon {\n width: 18px;\n /* @alternate */\n width: var(--mdc-switch-unselected-icon-size, 18px);\n height: 18px;\n /* @alternate */\n height: var(--mdc-switch-unselected-icon-size, 18px);\n}\n\n.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,\n.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee));\n}\n\n.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,\n.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee));\n}\n\n.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,\n.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee));\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,\n.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after {\n background-color: #424242;\n /* @alternate */\n background-color: var(--mdc-switch-unselected-hover-state-layer-color, #424242);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,\n.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after {\n background-color: #424242;\n /* @alternate */\n background-color: var(--mdc-switch-unselected-focus-state-layer-color, #424242);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,\n.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after {\n background-color: #424242;\n /* @alternate */\n background-color: var(--mdc-switch-unselected-pressed-state-layer-color, #424242);\n}\n\n.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before, .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-switch-selected-hover-state-layer-opacity, 0.04);\n}\n\n.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before, .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-switch-selected-focus-state-layer-opacity, 0.12);\n}\n\n.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after {\n transition-duration: 75ms;\n opacity: 0.1;\n /* @alternate */\n opacity: var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1);\n}\n.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before, .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before, .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12);\n}\n\n.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after {\n transition-duration: 75ms;\n opacity: 0.1;\n /* @alternate */\n opacity: var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1);\n}\n.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1);\n}\n\n.mdc-switch .mdc-switch__ripple {\n height: 48px;\n /* @alternate */\n height: var(--mdc-switch-state-layer-size, 48px);\n width: 48px;\n /* @alternate */\n width: var(--mdc-switch-state-layer-size, 48px);\n}\n.mdc-switch .mdc-switch__track {\n height: 14px;\n /* @alternate */\n height: var(--mdc-switch-track-height, 14px);\n}\n.mdc-switch:disabled .mdc-switch__track {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-track-opacity, 0.12);\n}\n\n.mdc-switch:enabled .mdc-switch__track::after {\n background: #d7bbff;\n /* @alternate */\n background: var(--mdc-switch-selected-track-color, #d7bbff);\n}\n\n.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after {\n background: #d7bbff;\n /* @alternate */\n background: var(--mdc-switch-selected-hover-track-color, #d7bbff);\n}\n\n.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after {\n background: #d7bbff;\n /* @alternate */\n background: var(--mdc-switch-selected-focus-track-color, #d7bbff);\n}\n\n.mdc-switch:enabled:active .mdc-switch__track::after {\n background: #d7bbff;\n /* @alternate */\n background: var(--mdc-switch-selected-pressed-track-color, #d7bbff);\n}\n\n.mdc-switch:disabled .mdc-switch__track::after {\n background: #424242;\n /* @alternate */\n background: var(--mdc-switch-disabled-selected-track-color, #424242);\n}\n\n.mdc-switch:enabled .mdc-switch__track::before {\n background: #e0e0e0;\n /* @alternate */\n background: var(--mdc-switch-unselected-track-color, #e0e0e0);\n}\n\n.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before {\n background: #e0e0e0;\n /* @alternate */\n background: var(--mdc-switch-unselected-hover-track-color, #e0e0e0);\n}\n\n.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before {\n background: #e0e0e0;\n /* @alternate */\n background: var(--mdc-switch-unselected-focus-track-color, #e0e0e0);\n}\n\n.mdc-switch:enabled:active .mdc-switch__track::before {\n background: #e0e0e0;\n /* @alternate */\n background: var(--mdc-switch-unselected-pressed-track-color, #e0e0e0);\n}\n\n.mdc-switch:disabled .mdc-switch__track::before {\n background: #424242;\n /* @alternate */\n background: var(--mdc-switch-disabled-unselected-track-color, #424242);\n}\n\n.mdc-switch .mdc-switch__track {\n border-radius: 7px;\n /* @alternate */\n border-radius: var(--mdc-switch-track-shape, 7px);\n}\n\n@media screen and (forced-colors: active), (-ms-high-contrast: active) {\n .mdc-switch:enabled .mdc-switch__shadow {\n /* @alternate */\n }\n .mdc-switch:disabled .mdc-switch__shadow {\n /* @alternate */\n }\n .mdc-switch:disabled .mdc-switch__handle::after {\n opacity: 1;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-handle-opacity, 1);\n }\n\n .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon {\n fill: ButtonText;\n /* @alternate */\n fill: var(--mdc-switch-selected-icon-color, ButtonText);\n }\n\n .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon {\n fill: GrayText;\n /* @alternate */\n fill: var(--mdc-switch-disabled-selected-icon-color, GrayText);\n }\n\n .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon {\n fill: ButtonText;\n /* @alternate */\n fill: var(--mdc-switch-unselected-icon-color, ButtonText);\n }\n\n .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon {\n fill: GrayText;\n /* @alternate */\n fill: var(--mdc-switch-disabled-unselected-icon-color, GrayText);\n }\n\n .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons {\n opacity: 1;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-selected-icon-opacity, 1);\n }\n\n .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons {\n opacity: 1;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-unselected-icon-opacity, 1);\n }\n\n .mdc-switch:disabled .mdc-switch__track {\n opacity: 1;\n /* @alternate */\n opacity: var(--mdc-switch-disabled-track-opacity, 1);\n }\n}","//\n// Copyright 2021 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use '@material/animation/animation';\n@use '@material/dom/dom';\n@use '@material/elevation/elevation';\n@use '@material/ripple/ripple-theme';\n@use '@material/ripple/ripple';\n@use '@material/focus-ring/focus-ring';\n@use '@material/rtl/rtl';\n@use '@material/theme/gss';\n\n$animation-duration: 75ms;\n$icon-exit-duration: 0.4 * $animation-duration;\n$icon-enter-duration: $animation-duration - $icon-exit-duration;\n$ripple-target: '.mdc-switch__ripple';\n\n@mixin static-styles() {\n @include static-styles-without-ripple();\n\n .mdc-switch {\n @include ripple.common; // COPYBARA_COMMENT_THIS_LINE\n @include ripple.surface($ripple-target: $ripple-target);\n @include ripple.radius-unbounded($ripple-target: $ripple-target);\n\n .mdc-switch__focus-ring-wrapper {\n width: 100%;\n position: absolute;\n // IE11 hacks\n top: 50%;\n @include rtl.ignore-next-line();\n left: 50%;\n @include rtl.ignore-next-line();\n transform: translate(-50%, -50%);\n // end IE11 hacks\n }\n\n @include ripple-theme.focus {\n .mdc-switch__focus-ring {\n @include focus-ring.focus-ring();\n }\n }\n }\n}\n\n@mixin static-styles-without-ripple() {\n @include elevation.overlay-common; // COPYBARA_COMMENT_THIS_LINE\n\n .mdc-switch {\n @include root;\n\n &:disabled {\n @include disabled;\n }\n }\n\n .mdc-switch__track {\n @include track;\n @include track-off;\n\n .mdc-switch--selected & {\n @include track-on;\n }\n }\n\n .mdc-switch__handle-track {\n @include handle-track;\n @include handle-track-off;\n\n .mdc-switch--selected & {\n @include handle-track-on;\n }\n }\n\n .mdc-switch__handle {\n @include handle;\n }\n\n .mdc-switch__shadow {\n @include shadow;\n }\n\n .mdc-elevation-overlay {\n @include overlay;\n }\n\n .mdc-switch__ripple {\n @include ripple;\n\n .mdc-switch:disabled & {\n @include ripple-disabled;\n }\n }\n\n .mdc-switch__icons {\n @include icons;\n }\n\n .mdc-switch__icon {\n @include icon;\n @include icon-hidden;\n }\n\n .mdc-switch--selected .mdc-switch__icon--on,\n .mdc-switch--unselected .mdc-switch__icon--off {\n @include icon-visible;\n }\n}\n\n@mixin root() {\n align-items: center;\n background: none;\n border: none;\n cursor: pointer;\n display: inline-flex;\n flex-shrink: 0; // Stop from collapsing in flex containers\n margin: 0;\n outline: none;\n overflow: visible;\n padding: 0;\n position: relative;\n}\n\n@mixin disabled() {\n cursor: default;\n pointer-events: none;\n}\n\n@mixin track() {\n overflow: hidden;\n position: relative;\n width: 100%;\n\n &::before,\n &::after {\n border: 1px solid transparent; // high contrast mode\n border-radius: inherit;\n box-sizing: border-box;\n content: '';\n height: 100%;\n @include gss.annotate($noflip: true);\n left: 0;\n position: absolute;\n width: 100%;\n\n // Added for Firefox 94 which broke transparent borders in Windows HCM.\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=1740924.\n @include dom.forced-colors-mode($exclude-ie11: true) {\n border-color: currentColor;\n }\n }\n}\n\n@mixin track-on() {\n &::before {\n transition: animation.exit-temporary(transform, $animation-duration);\n transform: translateX(100%);\n @include rtl.rtl {\n transform: translateX(-100%);\n }\n }\n\n &::after {\n transition: animation.enter(transform, $animation-duration);\n transform: translateX(0);\n }\n}\n\n@mixin track-off() {\n &::before {\n transition: animation.enter(transform, $animation-duration);\n transform: translateX(0);\n }\n\n &::after {\n transition: animation.exit-temporary(transform, $animation-duration);\n transform: translateX(-100%);\n @include rtl.rtl {\n transform: translateX(100%);\n }\n }\n}\n\n@mixin handle-track() {\n height: 100%;\n // The handle track is used to move the handle across the width of the switch\n // and may overflow the bounds of the component. It should not be used for\n // pointer events.\n pointer-events: none;\n position: absolute;\n top: 0; // Needed for IE11\n transition: animation.standard(transform, $animation-duration);\n // IE11 needs explicit left/right\n @include rtl.reflexive(left, 0, right, auto);\n}\n\n@mixin handle-track-on() {\n transform: translateX(100%);\n\n @include rtl.rtl {\n transform: translateX(-100%);\n }\n}\n\n@mixin handle-track-off() {\n transform: translateX(0);\n}\n\n@mixin handle() {\n display: flex;\n pointer-events: auto;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n // IE11 needs explicit left/right\n @include rtl.reflexive(left, 0, right, auto);\n\n &::before,\n &::after {\n border: 1px solid transparent; // high contrast mode\n border-radius: inherit;\n box-sizing: border-box;\n content: '';\n width: 100%;\n height: 100%;\n @include gss.annotate($noflip: true);\n left: 0;\n position: absolute;\n top: 0; // IE11 fix\n transition: animation.standard(background-color, $animation-duration),\n animation.standard(border-color, $animation-duration);\n // Move the handle background colors beneath the shadow overlay color,\n // rather than move the overlay on top of the handle with a positive\n // z-index, which would require moving all other content on top of the\n // overlay with an even greater z-index.\n z-index: -1;\n\n // Added for Firefox 94 which broke transparent borders in Windows HCM.\n // See https://bugzilla.mozilla.org/show_bug.cgi?id=1740924.\n @include dom.forced-colors-mode($exclude-ie11: true) {\n border-color: currentColor;\n }\n }\n}\n\n@mixin shadow() {\n border-radius: inherit;\n bottom: 0;\n @include gss.annotate($noflip: true);\n left: 0;\n position: absolute;\n @include gss.annotate($noflip: true);\n right: 0;\n top: 0;\n}\n\n@mixin overlay() {\n bottom: 0;\n @include gss.annotate($noflip: true);\n left: 0;\n @include gss.annotate($noflip: true);\n right: 0;\n top: 0;\n}\n\n@mixin ripple() {\n @include gss.annotate($noflip: true);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n // Move ripple beneath shadow overlay and handle background colors (see\n // handle() mixin for explanation).\n z-index: -1;\n}\n\n@mixin ripple-disabled {\n display: none;\n}\n\n@mixin icons() {\n height: 100%;\n position: relative;\n width: 100%;\n z-index: 1;\n}\n\n@mixin icon() {\n bottom: 0;\n @include gss.annotate($noflip: true);\n left: 0;\n // IE11 needs top/right/bottom/left + margin instead of translate(-50%, -50%)\n // because of SVG centering issues\n margin: auto;\n position: absolute;\n @include gss.annotate($noflip: true);\n right: 0;\n top: 0;\n}\n\n@mixin icon-hidden() {\n opacity: 0;\n transition: animation.exit-permanent(opacity, $icon-exit-duration);\n}\n\n@mixin icon-visible() {\n opacity: 1;\n transition: animation.enter(\n opacity,\n $icon-enter-duration,\n $delay: $icon-exit-duration\n );\n}\n","// Copyright 2020 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n@use '@material/feature-targeting/feature-targeting';\n///\n/// Emits necessary layout styles to set a transparent border around an element\n/// without interfering with the rest of its component layout. The border is\n/// only visible in high-contrast mode. The target element should be a child of\n/// a relatively positioned top-level element (i.e. a ::before pseudo-element).\n///\n/// @param {number} $border-width - The width of the transparent border.\n/// @param {string} $border-style - The style of the transparent border.\n///\n@mixin transparent-border(\n $border-width: 1px,\n $border-style: solid,\n $query: feature-targeting.all()\n) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: $border-width $border-style transparent;\n border-radius: inherit;\n content: '';\n pointer-events: none;\n }\n\n // Used to satisfy Firefox v94 which does not render transparent borders in HCM (b/206440838).\n @include forced-colors-mode($exclude-ie11: true) {\n @include feature-targeting.targets($feat-structure) {\n border-color: CanvasText;\n }\n }\n}\n\n///\n/// Visually hides text content for accessibility. This text should only be\n/// visible to screen reader users.\n/// See https://a11yproject.com/posts/how-to-hide-content/\n///\n@mixin visually-hidden($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap; /* added line */\n width: 1px;\n }\n}\n\n/// Selects for IE11 support.\n///\n/// @content styles to emit for IE11 support\n@mixin ie11-support {\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n @content;\n }\n}\n\n/// Selects for `forced-colors` high contrast mode.\n///\n/// While in `forced-colors` mode, only system colors should be used.\n///\n/// @link https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#system_colors\n/// @link https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors\n/// @content styles to emit in `forced-colors` mode\n@mixin forced-colors-mode($exclude-ie11: false) {\n @if $exclude-ie11 {\n @media screen and (forced-colors: active) {\n @content;\n }\n } @else {\n @media screen and (forced-colors: active), (-ms-high-contrast: active) {\n @content;\n }\n }\n}\n","//\n// Copyright 2017 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n@use 'sass:list';\n@use 'sass:meta';\n@use 'sass:selector';\n@use '@material/theme/gss';\n@use '@material/theme/selector-ext';\n@use '@material/theme/theme';\n\n$include: true !default;\n\n/// Creates a rule that will be applied when a component is within the context\n/// of an RTL layout.\n///\n/// @example - scss\n/// .mdc-foo {\n/// padding-left: 4px;\n///\n/// @include rtl {\n/// padding-left: auto;\n/// padding-right: 4px;\n/// }\n/// }\n///\n/// @example - css\n/// .mdc-foo {\n/// padding-left: 4px;\n/// }\n///\n/// [dir=\"rtl\"] .mdc-foo,\n/// .mdc-foo[dir=\"rtl\"] {\n/// padding-left: auto;\n/// padding-right: 4px;\n/// }\n///\n/// Note that this mixin works by checking for an ancestor element with\n/// `[dir=\"rtl\"]`. As a result, nested `dir` values are not supported:\n///\n/// @example - html\n/// <html dir=\"rtl\">\n/// <!-- ... -->\n/// <div dir=\"ltr\">\n/// <div class=\"mdc-foo\">Styled incorrectly as RTL!</div>\n/// </div>\n/// </html>\n///\n/// In the future, selectors such as the `:dir` pseudo-class\n/// (http://mdn.io/css/:dir) will help us mitigate this.\n///\n/// @content Content to be styled in an RTL context.\n@mixin rtl() {\n @if ($include) {\n $dir-rtl: '[dir=rtl]';\n\n $rtl-selectors: list.join(\n selector.nest($dir-rtl, &),\n selector-ext.append-strict(&, $dir-rtl)\n );\n\n @at-root {\n #{$rtl-selectors} {\n /*rtl:begin:ignore*/\n @content;\n /*rtl:end:ignore*/\n }\n }\n }\n}\n\n// Takes a base box-model property name (`margin`, `border`, `padding`, etc.) along with a\n// default direction (`left` or `right`) and value, and emits rules which apply the given value to the\n// specified direction by default and the opposite direction in RTL.\n//\n// For example:\n//\n// ```scss\n// .mdc-foo {\n// @include rtl-reflexive-box(margin, left, 8px);\n// }\n// ```\n//\n// is equivalent to:\n//\n// ```scss\n// .mdc-foo {\n// margin-left: 8px;\n// margin-right: 0;\n//\n// @include rtl {\n// margin-left: 0;\n// margin-right: 8px;\n// }\n// }\n// ```\n//\n// whereas:\n//\n// ```scss\n// .mdc-foo {\n// @include rtl-reflexive-box(margin, right, 8px);\n// }\n// ```\n//\n// is equivalent to:\n//\n// ```scss\n// .mdc-foo {\n// margin-left: 0;\n// margin-right: 8px;\n//\n// @include rtl {\n// margin-left: 8px;\n// margin-right: 0;\n// }\n// }\n// ```\n//\n// You can also pass an optional 4th `$root-selector` argument which will be forwarded to `mdc-rtl`,\n// e.g. `@include rtl-reflexive-box(margin, left, 8px, '.mdc-component')`.\n//\n// Note that this function will always zero out the original value in an RTL context.\n// If you're trying to flip the values, use `mdc-rtl-reflexive-property()` instead.\n@mixin reflexive-box(\n $base-property,\n $default-direction,\n $value,\n $replace: null\n) {\n @if (list.index((right, left), $default-direction) == null) {\n @error \"Invalid default direction: '#{$default-direction}'. Please specifiy either 'right' or 'left'.\";\n }\n\n $left-value: $value;\n $right-value: 0;\n\n @if ($default-direction == right) {\n $left-value: 0;\n $right-value: $value;\n }\n\n @include reflexive-property(\n $base-property,\n $left-value,\n $right-value,\n $replace: $replace\n );\n}\n\n// Takes a base property and emits rules that assign <base-property>-left to <left-value> and\n// <base-property>-right to <right-value> in a LTR context, and vice versa in a RTL context.\n// For example:\n//\n// ```scss\n// .mdc-foo {\n// @include rtl-reflexive-property(margin, auto, 12px);\n// }\n// ```\n//\n// is equivalent to:\n//\n// ```scss\n// .mdc-foo {\n// margin-left: auto;\n// margin-right: 12px;\n//\n// @include rtl {\n// margin-left: 12px;\n// margin-right: auto;\n// }\n// }\n// ```\n//\n// An optional 4th `$root-selector` argument can be given, which will be passed to `mdc-rtl`.\n@mixin reflexive-property(\n $base-property,\n $left-value,\n $right-value,\n $replace: null\n) {\n $prop-left: #{$base-property}-left;\n $prop-right: #{$base-property}-right;\n\n @include reflexive(\n $prop-left,\n $left-value,\n $prop-right,\n $right-value,\n $replace: $replace\n );\n}\n\n// Takes an argument specifying a horizontal position property (either 'left' or 'right') as well\n// as a value, and applies that value to the specified position in a LTR context, and flips it in a\n// RTL context. For example:\n//\n// ```scss\n// .mdc-foo {\n// @include rtl-reflexive-position(left, 0);\n// }\n// ```\n//\n// is equivalent to:\n//\n// ```scss\n// .mdc-foo {\n// left: 0;\n// right: initial;\n//\n// @include rtl {\n// left: initial;\n// right: 0;\n// }\n// }\n// ```\n//\n// An optional third $root-selector argument may also be given, which is passed to `mdc-rtl`.\n@mixin reflexive-position($position-property, $value, $replace: null) {\n @if (list.index((right, left), $position-property) == null) {\n @error \"Invalid position #{position-property}. Please specifiy either right or left\";\n }\n\n // TODO: 'initial' is not supported in IE 11. https://caniuse.com/#feat=css-initial-value\n $left-value: $value;\n $right-value: initial;\n\n @if ($position-property == right) {\n $right-value: $value;\n $left-value: initial;\n }\n\n @include reflexive(\n left,\n $left-value,\n right,\n $right-value,\n $replace: $replace\n );\n}\n\n// Takes pair of properties with values as arguments and flips it in RTL context.\n// For example:\n//\n// ```scss\n// .mdc-foo {\n// @include rtl-reflexive(left, 2px, right, 5px);\n// }\n// ```\n//\n// is equivalent to:\n//\n// ```scss\n// .mdc-foo {\n// left: 2px;\n// right: 5px;\n//\n// @include rtl {\n// right: 2px;\n// left: 5px;\n// }\n// }\n// ```\n//\n// An optional fifth `$root-selector` argument may also be given, which is passed to `mdc-rtl`.\n@mixin reflexive(\n $left-property,\n $left-value,\n $right-property,\n $right-value,\n $replace: null\n) {\n $left-replace: null;\n $right-replace: null;\n @if $replace {\n @if meta.type-of($left-value) == 'string' {\n $left-replace: $replace;\n }\n\n @if meta.type-of($right-value) == 'string' {\n $right-replace: $replace;\n }\n\n @if $left-replace == null and $right-replace == null {\n @error 'mdc-rtl: $replace may only be used with strings but neither left nor right values are strings.';\n }\n\n // If any replacements are null, treat the entire value as null (do not\n // emit anything).\n @each $name, $replacement in $replace {\n @if $replacement == null {\n $left-value: null;\n $right-value: null;\n }\n }\n }\n\n // Do not emit if either value are null\n @if $left-value and $right-value {\n @include _property($left-property, $left-value, $replace: $left-replace);\n @include _property($right-property, $right-value, $replace: $right-replace);\n\n @include rtl {\n @include _property(\n $left-property,\n $right-value,\n $replace: $right-replace\n );\n @include _property($right-property, $left-value, $replace: $left-replace);\n }\n }\n}\n\n///\n/// Adds RTL ignore annotation when `$mdc-rtl-include` is true.\n///\n@mixin ignore-next-line() {\n @include gss.annotate(\n (\n noflip: $include,\n )\n );\n}\n\n///\n/// Adds `@noflip` annotation when `$mdc-rtl-include` is true.\n///\n/// @param {String} $property\n/// @param {String} $value\n/// @param {Map} $replace\n///\n@mixin _property($property, $value, $replace: null) {\n @include theme.property(\n $property,\n $value,\n $replace: $replace,\n $gss: (noflip: $include)\n );\n}\n","//\n// Copyright 2016 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use 'sass:math';\n@use 'sass:color';\n@use 'sass:map';\n@use '@material/animation/functions' as functions2;\n@use '@material/animation/variables' as variables2;\n@use '@material/base/mixins' as base-mixins;\n@use '@material/theme/custom-properties';\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/rtl/rtl';\n@use '@material/theme/theme';\n@use './ripple-theme';\n\n@mixin core-styles($query: feature-targeting.all()) {\n @include static-styles($query: $query);\n\n .mdc-ripple-surface {\n @include ripple-theme.states($query: $query);\n }\n}\n\n@mixin static-styles($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-ripple-surface {\n @include surface($query: $query);\n @include radius-bounded($query: $query);\n @include surface-styles($query: $query);\n }\n\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded],\n .mdc-ripple-upgraded--unbounded {\n @include radius-unbounded($query: $query);\n @include unbounded-styles($query: $query);\n }\n}\n\n/// Sets all states (including hover, focus, press, activated and selected) with\n/// given color as base color.\n///\n/// This mixin is for internal use only. Use `ripple-theme.states($color)` mixin\n/// to set interactive states (hover, focus & press) color.\n///\n/// @param {Color|String} $color - Target base color. Can be valid CSS color or\n/// a color string literal (i.e., `primary`, `secondary`, etc).\n@mixin states-for-color($color, $query: feature-targeting.all()) {\n @include ripple-theme.states($color, $query: $query);\n @include ripple-theme.states-activated($color, $query: $query);\n @include ripple-theme.states-selected($color, $query: $query);\n}\n\n@mixin surface-styles($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n position: relative;\n outline: none;\n overflow: hidden;\n }\n}\n\n@mixin unbounded-styles($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n @include feature-targeting.targets($feat-structure) {\n overflow: visible;\n }\n}\n\n@mixin common($query: feature-targeting.all()) {\n $feat-animation: feature-targeting.create-target($query, animation);\n\n // Ensure that styles needed by any component using MDC Ripple are emitted, but only once.\n // (Every component using MDC Ripple imports these mixins, but doesn't necessarily import\n // mdc-ripple.scss.)\n @include feature-targeting.targets($feat-animation) {\n @include base-mixins.emit-once('mdc-ripple/common/animation') {\n @include keyframes_;\n }\n }\n}\n\n@mixin surface(\n $query: feature-targeting.all(),\n $ripple-target: '&',\n $include-will-change: true // TODO(b/151931961): Remove once resolved\n) {\n $feat-animation: feature-targeting.create-target($query, animation);\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n // TODO(b/151931961): Remove the following block once resolved\n @if $include-will-change {\n will-change: transform, opacity;\n }\n }\n\n #{$ripple-target}::before,\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-structure) {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: '';\n }\n }\n\n #{$ripple-target}::before {\n @include feature-targeting.targets($feat-animation) {\n // Also transition background-color to avoid unnatural color flashes when toggling activated/selected state\n transition: opacity ripple-theme.$states-wash-duration linear,\n background-color ripple-theme.$states-wash-duration linear;\n }\n\n @include feature-targeting.targets($feat-structure) {\n // Ensure that the ripple wash for hover/focus states is displayed on top of positioned child elements\n @include theme.property(\n z-index,\n custom-properties.create(--mdc-ripple-z-index, 1)\n );\n }\n }\n\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-structure) {\n @include theme.property(\n z-index,\n custom-properties.create(--mdc-ripple-z-index, 0)\n );\n }\n }\n\n // Common styles for upgraded surfaces (some of these depend on custom properties set via JS or other mixins)\n\n &.mdc-ripple-upgraded {\n #{$ripple-target}::before {\n @include feature-targeting.targets($feat-structure) {\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n }\n }\n\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-structure) {\n top: 0;\n @include rtl.ignore-next-line();\n left: 0;\n transform: scale(0);\n transform-origin: center center;\n }\n }\n }\n\n &.mdc-ripple-upgraded--unbounded {\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-structure) {\n top: var(--mdc-ripple-top, 0);\n @include rtl.ignore-next-line();\n left: var(--mdc-ripple-left, 0);\n }\n }\n }\n\n &.mdc-ripple-upgraded--foreground-activation {\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-animation) {\n animation: mdc-ripple-fg-radius-in ripple-theme.$translate-duration\n forwards,\n mdc-ripple-fg-opacity-in ripple-theme.$fade-in-duration forwards;\n }\n }\n }\n\n &.mdc-ripple-upgraded--foreground-deactivation {\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-animation) {\n animation: mdc-ripple-fg-opacity-out ripple-theme.$fade-out-duration;\n }\n\n @include feature-targeting.targets($feat-structure) {\n // Retain transform from mdc-ripple-fg-radius-in activation\n transform: translate(var(--mdc-ripple-fg-translate-end, 0))\n scale(var(--mdc-ripple-fg-scale, 1));\n }\n }\n }\n}\n\n@mixin radius-bounded(\n $radius: 100%,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-struture: feature-targeting.create-target($query, structure);\n\n #{$ripple-target}::before,\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-struture) {\n top: calc(50% - #{$radius});\n @include rtl.ignore-next-line();\n left: calc(50% - #{$radius});\n width: $radius * 2;\n height: $radius * 2;\n }\n }\n\n &.mdc-ripple-upgraded {\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-struture) {\n width: var(--mdc-ripple-fg-size, $radius);\n height: var(--mdc-ripple-fg-size, $radius);\n }\n }\n }\n}\n\n@mixin radius-unbounded(\n $radius: 100%,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-struture: feature-targeting.create-target($query, structure);\n\n #{$ripple-target}::before,\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-struture) {\n top: calc(50% - #{math.div($radius, 2)});\n @include rtl.ignore-next-line();\n left: calc(50% - #{math.div($radius, 2)});\n width: $radius;\n height: $radius;\n }\n }\n\n &.mdc-ripple-upgraded {\n #{$ripple-target}::before,\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-struture) {\n top: var(--mdc-ripple-top, calc(50% - #{math.div($radius, 2)}));\n @include rtl.ignore-next-line();\n left: var(--mdc-ripple-left, calc(50% - #{math.div($radius, 2)}));\n width: var(--mdc-ripple-fg-size, $radius);\n height: var(--mdc-ripple-fg-size, $radius);\n }\n }\n\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-struture) {\n width: var(--mdc-ripple-fg-size, $radius);\n height: var(--mdc-ripple-fg-size, $radius);\n }\n }\n }\n}\n\n// Common styles for a ripple target element.\n// Used for components which have an inner ripple target element.\n@mixin target-common($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n // Necessary for clicks on other inner elements (e.g. close icon in chip)\n // to go through.\n pointer-events: none;\n }\n}\n\n@mixin keyframes_ {\n @keyframes mdc-ripple-fg-radius-in {\n from {\n animation-timing-function: variables2.$standard-curve-timing-function;\n // NOTE: For these keyframes, we do not need custom property fallbacks because they are only\n // used in conjunction with `.mdc-ripple-upgraded`. Since MDCRippleFoundation checks to ensure\n // that custom properties are supported within the browser before adding this class, we can\n // safely use them without a fallback.\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n\n to {\n transform: translate(var(--mdc-ripple-fg-translate-end, 0))\n scale(var(--mdc-ripple-fg-scale, 1));\n }\n }\n\n @keyframes mdc-ripple-fg-opacity-in {\n from {\n animation-timing-function: linear;\n opacity: 0;\n }\n\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n }\n\n @keyframes mdc-ripple-fg-opacity-out {\n from {\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n\n to {\n opacity: 0;\n }\n }\n}\n","//\n// Copyright 2017 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n$deceleration-curve-timing-function: cubic-bezier(0, 0, 0.2, 1) !default;\n$standard-curve-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !default;\n$acceleration-curve-timing-function: cubic-bezier(0.4, 0, 1, 1) !default;\n$sharp-curve-timing-function: cubic-bezier(0.4, 0, 0.6, 1) !default;\n\n@function enter($name, $duration, $delay: 0ms) {\n @return $name $duration $delay $deceleration-curve-timing-function;\n}\n\n@function exit-permanent($name, $duration, $delay: 0ms) {\n @return $name $duration $delay $acceleration-curve-timing-function;\n}\n\n@function exit-temporary($name, $duration, $delay: 0ms) {\n @return $name $duration $delay $sharp-curve-timing-function;\n}\n\n@function standard($name, $duration, $delay: 0ms) {\n @return $name $duration $delay $standard-curve-timing-function;\n}\n\n@function linear($name, $duration, $delay: 0ms) {\n @return $name $duration $delay linear;\n}\n","//\n// Copyright 2021 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/rtl/rtl';\n@use '@material/dom/dom';\n\n$ring-radius-default: 8px !default;\n$inner-ring-width-default: 2px !default;\n$inner-ring-color-default: transparent !default;\n$outer-ring-width-default: 2px !default;\n$outer-ring-color-default: transparent !default;\n$container-outer-padding-default: 2px !default;\n\n/// Styles applied to the component's inner focus ring element.\n///\n/// @param $ring-radius [$ring-radius-default] - Focus ring radius.\n/// @param $inner-ring-width [$inner-ring-width-default] - Inner focus ring width.\n/// @param $inner-ring-color [$inner-ring-color-default] - Inner focus ring color.\n/// @param $outer-ring-width [$outer-ring-width-default] - Outer focus ring width.\n/// @param $outer-ring-color [$outer-ring-color-default] - Outer focus ring color.\n/// @param $container-outer-padding [$container-outer-padding-default] - The\n/// distance between the focus ring and the container.\n@mixin focus-ring(\n $query: feature-targeting.all(),\n $ring-radius: $ring-radius-default,\n $inner-ring-width: $inner-ring-width-default,\n $inner-ring-color: $inner-ring-color-default,\n $outer-ring-width: $outer-ring-width-default,\n $outer-ring-color: $outer-ring-color-default,\n $container-outer-padding-vertical: $container-outer-padding-default,\n $container-outer-padding-horizontal: $container-outer-padding-default\n) {\n $feat-structure: feature-targeting.create-target($query, structure);\n $container-size-vertical: 100%;\n @if $container-outer-padding-vertical != 0 {\n $container-size-vertical: calc(\n 100% + #{$container-outer-padding-vertical * 2}\n );\n }\n $container-size-horizontal: 100%;\n @if $container-outer-padding-horizontal != 0 {\n $container-size-horizontal: calc(\n 100% + #{$container-outer-padding-horizontal * 2}\n );\n }\n $outer-ring-size: 100%;\n @if $outer-ring-width > 0 {\n $outer-ring-size: calc(100% + #{$outer-ring-width * 2});\n }\n @include feature-targeting.targets($feat-structure) {\n pointer-events: none;\n border: $inner-ring-width solid $inner-ring-color;\n border-radius: $ring-radius - $outer-ring-width;\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n @include rtl.ignore-next-line();\n left: 50%;\n @include rtl.ignore-next-line();\n transform: translate(-50%, -50%);\n height: $container-size-vertical;\n width: $container-size-horizontal;\n\n @include dom.forced-colors-mode($exclude-ie11: true) {\n border-color: CanvasText;\n }\n\n &::after {\n content: '';\n border: $outer-ring-width solid $outer-ring-color;\n border-radius: $ring-radius;\n display: block;\n position: absolute;\n top: 50%;\n @include rtl.ignore-next-line();\n left: 50%;\n @include rtl.ignore-next-line();\n transform: translate(-50%, -50%);\n height: $outer-ring-size;\n width: $outer-ring-size;\n\n @include dom.forced-colors-mode($exclude-ie11: true) {\n border-color: CanvasText;\n }\n }\n }\n}\n/// Customizes the color of the button focus ring.\n///\n/// @param $inner-ring-color [$inner-ring-color-default] - Inner focus ring color.\n/// @param $outer-ring-width [$outer-ring-width-default] - Outer focus ring width.\n@mixin focus-ring-color(\n $inner-ring-color: $inner-ring-color-default,\n $outer-ring-color: $outer-ring-color-default\n) {\n border-color: $inner-ring-color;\n\n &::after {\n border-color: $outer-ring-color;\n }\n}\n\n/// Customizes the border radius of the button focus ring.\n///\n/// @param {Number} $ring-radius - The border radius of the focus ring.\n/// @param {Number} $outer-ring-width [$outer-ring-width] - Width of the outer\n/// ring, required to compute the radius for the inner ring.\n@mixin focus-ring-radius(\n $ring-radius,\n $outer-ring-width: $outer-ring-width-default,\n $query: feature-targeting.all()\n) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n border-radius: $ring-radius - $outer-ring-width;\n\n &::after {\n border-radius: $ring-radius;\n }\n }\n}\n","//\n// Copyright 2021 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use '@material/dom/dom';\n@use './switch-theme';\n@use './switch';\n\n@include switch.static-styles();\n\n.mdc-switch {\n @include switch-theme.theme-styles(switch-theme.$light-theme);\n}\n\n@include dom.forced-colors-mode {\n .mdc-switch {\n @include switch-theme.theme-styles(switch-theme.$forced-colors-theme);\n }\n}\n","//\n// Copyright 2021 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use 'sass:color';\n@use 'sass:map';\n@use 'sass:meta';\n@use '@material/density/density';\n@use '@material/dom/dom';\n@use '@material/elevation/elevation-theme';\n@use '@material/ripple/ripple-theme';\n@use '@material/theme/color-palette';\n@use '@material/theme/custom-properties';\n@use '@material/theme/keys';\n@use '@material/theme/shadow-dom';\n@use '@material/theme/state';\n@use '@material/theme/theme-color';\n@use '@material/theme/theme';\n@use '@material/tokens/resolvers';\n@use '@material/shape/shape';\n@use './switch';\n\n$_density-config: (\n size: (\n minimum: 28px,\n default: 48px,\n maximum: 48px,\n ),\n);\n$_hairline: color-palette.$grey-300;\n$_inverse-primary: color.scale(\n theme-color.prop-value(primary),\n $lightness: 75%\n);\n\n$_on-surface: color-palette.$grey-800;\n$_on-surface-variant: color-palette.$grey-700;\n$_on-surface-state-content: color-palette.$grey-900;\n$_primary-state-content: color.scale(\n theme-color.prop-value(primary),\n $blackness: 50%\n);\n\n/// TODO: Change to private when MWC has better access\n/// @access private\n$selectors: (\n disabled: ':disabled',\n focus: ':focus',\n hover: ':hover',\n pressed: ':active',\n selected: '.mdc-switch--selected',\n unselected: '.mdc-switch--unselected',\n);\n\n$light-theme: (\n disabled-handle-elevation: 0,\n disabled-handle-opacity: 0.38,\n disabled-selected-handle-color: $_on-surface,\n disabled-selected-icon-color: on-primary,\n disabled-selected-icon-opacity: 0.38,\n disabled-selected-track-color: $_on-surface,\n disabled-track-opacity: 0.12,\n disabled-unselected-handle-color: $_on-surface,\n disabled-unselected-icon-color: on-primary,\n disabled-unselected-icon-opacity: 0.38,\n disabled-unselected-track-color: $_on-surface,\n handle-elevation: 1,\n handle-height: 20px,\n handle-shadow-color: elevation-theme.$baseline-color,\n handle-shape: 10px,\n handle-surface-color: surface,\n handle-width: 20px,\n selected-focus-handle-color: $_primary-state-content,\n selected-focus-state-layer-color: primary,\n selected-focus-state-layer-opacity: 0.12,\n selected-focus-track-color: $_inverse-primary,\n selected-handle-color: primary,\n selected-hover-handle-color: $_primary-state-content,\n selected-hover-state-layer-color: primary,\n selected-hover-state-layer-opacity: 0.04,\n selected-hover-track-color: $_inverse-primary,\n selected-icon-color: on-primary,\n selected-icon-size: 18px,\n selected-pressed-handle-color: $_primary-state-content,\n selected-pressed-state-layer-color: primary,\n selected-pressed-state-layer-opacity: 0.1,\n selected-pressed-track-color: $_inverse-primary,\n selected-track-color: $_inverse-primary,\n state-layer-size: 48px,\n track-height: 14px,\n track-shape: 7px,\n track-width: 36px,\n unselected-focus-handle-color: $_on-surface-state-content,\n unselected-focus-state-layer-color: $_on-surface,\n unselected-focus-state-layer-opacity: 0.12,\n unselected-focus-track-color: $_hairline,\n unselected-handle-color: $_on-surface-variant,\n unselected-hover-handle-color: $_on-surface-state-content,\n unselected-hover-state-layer-color: $_on-surface,\n unselected-hover-state-layer-opacity: 0.04,\n unselected-hover-track-color: $_hairline,\n unselected-icon-color: on-primary,\n unselected-icon-size: 18px,\n unselected-pressed-handle-color: $_on-surface-state-content,\n unselected-pressed-state-layer-color: $_on-surface,\n unselected-pressed-state-layer-opacity: 0.1,\n unselected-pressed-track-color: $_hairline,\n unselected-track-color: $_hairline,\n);\n\n$forced-colors-theme: (\n disabled-handle-opacity: 1,\n disabled-selected-icon-color: GrayText,\n disabled-selected-icon-opacity: 1,\n disabled-track-opacity: 1,\n disabled-unselected-icon-color: GrayText,\n disabled-unselected-icon-opacity: 1,\n selected-icon-color: ButtonText,\n unselected-icon-color: ButtonText,\n);\n\n@function density($density-scale) {\n $size: density.prop-value(\n $density-config: $_density-config,\n $density-scale: $density-scale,\n $property-name: size,\n );\n\n @return (state-layer-size: $size);\n}\n\n@mixin theme($theme, $resolvers: resolvers.$material) {\n @include theme.validate-theme($light-theme, $theme);\n\n // TODO(b/185172301): replace with improved feature targeting\n // IE11 Fallback\n @if shadow-dom.$css-selector-fallback-declarations {\n @include custom-properties.configure($emit-custom-properties: false) {\n @include dom.ie11-support {\n @include theme-styles($theme, $resolvers: $resolvers);\n }\n }\n }\n\n $theme: _resolve-theme($theme, $resolvers);\n @include keys.declare-custom-properties($theme, switch);\n}\n\n@function _resolve-theme($theme, $resolvers) {\n @return map.merge(\n $theme,\n _resolve-theme-handle-elevation(\n $theme,\n map.get($resolvers, elevation),\n disabled-handle-elevation,\n handle-elevation\n )\n );\n}\n\n@function _resolve-theme-handle-elevation($theme, $resolver, $keys...) {\n @if $resolver == null {\n @return $theme;\n }\n\n @each $key in $keys {\n // Resolve the value for each state key.\n $resolved-value: meta.call(\n $resolver,\n $elevation: map.get($theme, $key),\n $shadow-color: map.get($theme, handle-shadow-color)\n );\n\n // Update the theme with the resolved value.\n $theme: map.set($theme, $key, $resolved-value);\n }\n\n @return $theme;\n}\n\n@mixin theme-styles($theme, $resolvers: resolvers.$material) {\n @include theme.validate-theme-keys($light-theme, $theme);\n\n $theme: keys.create-theme-properties($theme, switch);\n\n @include _selected-handle-color(\n (\n default: map.get($theme, selected-handle-color),\n disabled: map.get($theme, disabled-selected-handle-color),\n focus: map.get($theme, selected-focus-handle-color),\n hover: map.get($theme, selected-hover-handle-color),\n pressed: map.get($theme, selected-pressed-handle-color),\n )\n );\n\n @include _unselected-handle-color(\n (\n default: map.get($theme, unselected-handle-color),\n disabled: map.get($theme, disabled-unselected-handle-color),\n focus: map.get($theme, unselected-focus-handle-color),\n hover: map.get($theme, unselected-hover-handle-color),\n pressed: map.get($theme, unselected-pressed-handle-color),\n )\n );\n\n @include _handle-surface-color(map.get($theme, handle-surface-color));\n\n @include _handle-elevation(\n map.get($resolvers, elevation),\n map.get($theme, handle-shadow-color),\n (\n default: map.get($theme, handle-elevation),\n disabled: map.get($theme, disabled-handle-elevation),\n )\n );\n\n @include _handle-height(map.get($theme, handle-height));\n @include _handle-opacity(\n (\n disabled: map.get($theme, disabled-handle-opacity),\n )\n );\n\n @include _handle-shape(map.get($theme, handle-shape));\n @include _handle-width(map.get($theme, handle-width));\n\n @include _selected-icon-color(\n (\n default: map.get($theme, selected-icon-color),\n disabled: map.get($theme, disabled-selected-icon-color),\n )\n );\n\n @include _unselected-icon-color(\n (\n default: map.get($theme, unselected-icon-color),\n disabled: map.get($theme, disabled-unselected-icon-color),\n )\n );\n\n @include _selected-icon-opacity(\n (\n disabled: map.get($theme, disabled-selected-icon-opacity),\n )\n );\n\n @include _unselected-icon-opacity(\n (\n disabled: map.get($theme, disabled-unselected-icon-opacity),\n )\n );\n\n @include _selected-icon-size(map.get($theme, selected-icon-size));\n @include _unselected-icon-size(map.get($theme, unselected-icon-size));\n\n @include _selected-ripple-color(\n (\n focus: map.get($theme, selected-focus-state-layer-color),\n hover: map.get($theme, selected-hover-state-layer-color),\n pressed: map.get($theme, selected-pressed-state-layer-color),\n )\n );\n\n @include _unselected-ripple-color(\n (\n focus: map.get($theme, unselected-focus-state-layer-color),\n hover: map.get($theme, unselected-hover-state-layer-color),\n pressed: map.get($theme, unselected-pressed-state-layer-color),\n )\n );\n\n @include _selected-ripple-opacity(\n (\n focus: map.get($theme, selected-focus-state-layer-opacity),\n hover: map.get($theme, selected-hover-state-layer-opacity),\n pressed: map.get($theme, selected-pressed-state-layer-opacity),\n )\n );\n\n @include _unselected-ripple-opacity(\n (\n focus: map.get($theme, unselected-focus-state-layer-opacity),\n hover: map.get($theme, unselected-hover-state-layer-opacity),\n pressed: map.get($theme, unselected-pressed-state-layer-opacity),\n )\n );\n\n @include _state-layer-size(map.get($theme, state-layer-size));\n @include _track-height(map.get($theme, track-height));\n @include _track-opacity(\n (\n disabled: map.get($theme, disabled-track-opacity),\n )\n );\n\n @include _track-selected-color(\n (\n default: map.get($theme, selected-track-color),\n disabled: map.get($theme, disabled-selected-track-color),\n focus: map.get($theme, selected-focus-track-color),\n hover: map.get($theme, selected-hover-track-color),\n pressed: map.get($theme, selected-pressed-track-color),\n )\n );\n\n @include _track-unselected-color(\n (\n default: map.get($theme, unselected-track-color),\n disabled: map.get($theme, disabled-unselected-track-color),\n focus: map.get($theme, unselected-focus-track-color),\n hover: map.get($theme, unselected-hover-track-color),\n pressed: map.get($theme, unselected-pressed-track-color),\n )\n );\n\n @include _track-shape(map.get($theme, track-shape));\n @include _track-width(map.get($theme, track-width));\n}\n\n@mixin _handle-color($colors) {\n @include state.default($selectors) {\n @include _set-handle-color(state.get-default-state($colors));\n }\n\n @include state.hover($selectors) {\n @include _set-handle-color(state.get-hover-state($colors));\n }\n\n @include state.focus($selectors) {\n @include _set-handle-color(state.get-focus-state($colors));\n }\n\n @include state.pressed($selectors) {\n @include _set-handle-color(state.get-pressed-state($colors));\n }\n\n @include state.disabled($selectors) {\n @include _set-handle-color(state.get-disabled-state($colors));\n }\n}\n\n@mixin _set-handle-color($color) {\n .mdc-switch__handle {\n &::after {\n @include theme.property(background, $color);\n }\n }\n}\n\n@mixin _selected-handle-color($colors) {\n @include state.selected($selectors) {\n @include _handle-color($colors);\n }\n}\n\n@mixin _unselected-handle-color($colors) {\n @include state.unselected($selectors) {\n @include _handle-color($colors);\n }\n}\n\n@mixin _handle-surface-color($color) {\n .mdc-switch__handle {\n // Sets the surface color for the handle. This is used so that when an\n // opacity is applied to the \"main\" handle color, it will not bleed through\n // and appear transparent on top of the track.\n &::before {\n @include theme.property(background, $color);\n }\n }\n}\n\n@mixin _handle-elevation($resolver, $shadow-color, $elevations) {\n @include state.default($selectors) {\n @include _set-handle-elevation(\n $resolver,\n $elevation: state.get-default-state($elevations),\n $shadow-color: $shadow-color\n );\n }\n\n @include state.disabled($selectors) {\n @include _set-handle-elevation(\n $resolver,\n $elevation: state.get-disabled-state($elevations),\n $shadow-color: $shadow-color\n );\n }\n}\n\n@mixin _set-handle-elevation($resolver, $args...) {\n .mdc-switch__shadow {\n @include elevation-theme.with-resolver($resolver, $args...);\n }\n}\n\n@mixin _handle-height($height) {\n .mdc-switch__focus-ring-wrapper,\n .mdc-switch__handle {\n @include theme.property(height, $height);\n }\n}\n\n@mixin _handle-opacity($opacities) {\n @include state.disabled($selectors) {\n @include _set-handle-opacity(state.get-disabled-state($opacities));\n }\n}\n\n@mixin _set-handle-opacity($opacity) {\n .mdc-switch__handle {\n // Only apply to the ::after pseudo element, which is the handle's \"main\"\n // color. The ::before pseudo element is the surface color, which prevents\n // the handle from bleeding through on the track.\n &::after {\n @include theme.property(opacity, $opacity);\n }\n }\n}\n\n@mixin _handle-shape($shape) {\n .mdc-switch__handle {\n @include shape.radius($shape);\n }\n}\n\n@mixin _handle-width($width) {\n .mdc-switch__handle {\n @include theme.property(width, $width);\n }\n\n .mdc-switch__handle-track {\n @include theme.property(\n width,\n 'calc(100% - width)',\n $replace: (width: $width)\n );\n }\n}\n\n@mixin _icon-color($colors) {\n @include state.default($selectors) {\n @include _set-icon-color(state.get-default-state($colors));\n }\n\n @include state.disabled($selectors) {\n @include _set-icon-color(state.get-disabled-state($colors));\n }\n}\n\n@mixin _set-icon-color($color) {\n .mdc-switch__icon {\n @include theme.property(fill, $color);\n }\n}\n\n@mixin _selected-icon-color($colors) {\n @include state.selected($selectors) {\n @include _icon-color($colors);\n }\n}\n\n@mixin _unselected-icon-color($colors) {\n @include state.unselected($selectors) {\n @include _icon-color($colors);\n }\n}\n\n@mixin _icon-opacity($opacities) {\n @include state.disabled($selectors) {\n @include _set-icon-opacity(state.get-disabled-state($opacities));\n }\n}\n\n@mixin _set-icon-opacity($opacity) {\n .mdc-switch__icons {\n @include theme.property(opacity, $opacity);\n }\n}\n\n@mixin _selected-icon-opacity($opacities) {\n @include state.selected($selectors) {\n @include _icon-opacity($opacities);\n }\n}\n\n@mixin _unselected-icon-opacity($opacities) {\n @include state.unselected($selectors) {\n @include _icon-opacity($opacities);\n }\n}\n\n@mixin _icon-size($size) {\n .mdc-switch__icon {\n @include theme.property(width, $size);\n @include theme.property(height, $size);\n }\n}\n\n@mixin _selected-icon-size($size) {\n @include state.selected($selectors) {\n @include _icon-size($size);\n }\n}\n\n@mixin _unselected-icon-size($size) {\n @include state.unselected($selectors) {\n @include _icon-size($size);\n }\n}\n\n@mixin _ripple-color($colors) {\n @include state.independent-elements(pressed) {\n @include state.hover($selectors) {\n @include ripple-theme.states-base-color(\n state.get-hover-state($colors),\n $ripple-target: switch.$ripple-target\n );\n }\n\n @include state.focus($selectors) {\n @include ripple-theme.states-base-color(\n state.get-focus-state($colors),\n $ripple-target: switch.$ripple-target\n );\n }\n\n @include state.pressed($selectors) {\n @include ripple-theme.states-base-color(\n state.get-pressed-state($colors),\n $ripple-target: switch.$ripple-target\n );\n }\n }\n}\n\n@mixin _selected-ripple-color($colors) {\n @include state.selected($selectors) {\n @include _ripple-color($colors);\n }\n}\n\n@mixin _unselected-ripple-color($colors) {\n @include state.unselected($selectors) {\n @include _ripple-color($colors);\n }\n}\n\n@mixin _ripple-opacity($opacities) {\n @include state.independent-elements(pressed) {\n @include state.hover($selectors) {\n @include ripple-theme.states-hover-opacity(\n state.get-hover-state($opacities),\n $ripple-target: switch.$ripple-target\n );\n }\n\n @include state.focus($selectors) {\n @include ripple-theme.states-focus-opacity(\n state.get-focus-state($opacities),\n $ripple-target: switch.$ripple-target\n );\n }\n\n @include state.pressed($selectors) {\n @include ripple-theme.states-press-opacity(\n state.get-pressed-state($opacities),\n $ripple-target: switch.$ripple-target\n );\n }\n }\n}\n\n@mixin _selected-ripple-opacity($opacities) {\n @include state.selected($selectors) {\n @include _ripple-opacity($opacities);\n }\n}\n\n@mixin _unselected-ripple-opacity($opacities) {\n @include state.unselected($selectors) {\n @include _ripple-opacity($opacities);\n }\n}\n\n@mixin _state-layer-size($size) {\n .mdc-switch__ripple {\n @include theme.property(height, $size);\n @include theme.property(width, $size);\n }\n}\n\n@mixin _track-height($height) {\n .mdc-switch__track {\n @include theme.property(height, $height);\n }\n}\n\n@mixin _track-opacity($opacities) {\n @include state.disabled($selectors) {\n @include _set-track-opacity(state.get-disabled-state($opacities));\n }\n}\n\n@mixin _set-track-opacity($opacity) {\n .mdc-switch__track {\n @include theme.property(opacity, $opacity);\n }\n}\n\n@mixin _track-selected-color($colors) {\n @include state.default($selectors) {\n @include _set-track-selected-color(state.get-default-state($colors));\n }\n\n @include state.hover($selectors) {\n @include _set-track-selected-color(state.get-hover-state($colors));\n }\n\n @include state.focus($selectors) {\n @include _set-track-selected-color(state.get-focus-state($colors));\n }\n\n @include state.pressed($selectors) {\n @include _set-track-selected-color(state.get-pressed-state($colors));\n }\n\n @include state.disabled($selectors) {\n @include _set-track-selected-color(state.get-disabled-state($colors));\n }\n}\n\n@mixin _set-track-selected-color($color) {\n .mdc-switch__track::after {\n @include theme.property(background, $color);\n }\n}\n\n@mixin _track-unselected-color($colors) {\n @include state.default($selectors) {\n @include _set-track-unselected-color(state.get-default-state($colors));\n }\n\n @include state.hover($selectors) {\n @include _set-track-unselected-color(state.get-hover-state($colors));\n }\n\n @include state.focus($selectors) {\n @include _set-track-unselected-color(state.get-focus-state($colors));\n }\n\n @include state.pressed($selectors) {\n @include _set-track-unselected-color(state.get-pressed-state($colors));\n }\n\n @include state.disabled($selectors) {\n @include _set-track-unselected-color(state.get-disabled-state($colors));\n }\n}\n\n@mixin _set-track-unselected-color($color) {\n .mdc-switch__track::before {\n @include theme.property(background, $color);\n }\n}\n\n@mixin _track-shape($shape) {\n .mdc-switch__track {\n @include shape.radius($shape);\n }\n}\n\n@mixin _track-width($width) {\n @include theme.property(width, $width);\n}\n","//\n// Copyright 2016 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use 'sass:color';\n@use 'sass:map';\n@use '@material/animation/functions' as functions2;\n@use '@material/animation/variables' as variables2;\n@use '@material/base/mixins' as base-mixins;\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/theme/css';\n@use '@material/theme/custom-properties';\n@use '@material/theme/theme';\n@use '@material/theme/keys';\n@use '@material/theme/shadow-dom';\n@use '@material/theme/theme-color';\n\n$custom-property-prefix: 'ripple';\n\n$fade-in-duration: 75ms !default;\n$fade-out-duration: 150ms !default;\n$translate-duration: 225ms !default;\n$states-wash-duration: 15ms !default;\n\n// Notes on states:\n// * focus takes precedence over hover (i.e. if an element is both focused and hovered, only focus value applies)\n// * press state applies to a separate pseudo-element, so it has an additive effect on top of other states\n// * selected/activated are applied additively to hover/focus via calculations at preprocessing time\n\n$dark-ink-opacities: (\n hover: 0.04,\n focus: 0.12,\n press: 0.12,\n selected: 0.08,\n activated: 0.12,\n) !default;\n\n$light-ink-opacities: (\n hover: 0.08,\n focus: 0.24,\n press: 0.24,\n selected: 0.16,\n activated: 0.24,\n) !default;\n\n// Legacy\n\n$pressed-dark-ink-opacity: 0.16 !default;\n$pressed-light-ink-opacity: 0.32 !default;\n\n// State selector variables used for state selector mixins below.\n$_hover-selector: '&:hover';\n$_focus-selector: '&.mdc-ripple-upgraded--background-focused, &:not(.mdc-ripple-upgraded):focus';\n$_active-selector: '&:not(:disabled):active';\n\n$light-theme: (\n focus-state-layer-color: theme-color.$on-surface,\n focus-state-layer-opacity: map.get($dark-ink-opacities, focus),\n hover-state-layer-color: theme-color.$on-surface,\n hover-state-layer-opacity: map.get($dark-ink-opacities, hover),\n pressed-state-layer-color: theme-color.$on-surface,\n pressed-state-layer-opacity: map.get($dark-ink-opacities, press),\n);\n\n@mixin theme($theme) {\n @include keys.declare-custom-properties(\n $theme,\n $prefix: $custom-property-prefix\n );\n\n @if shadow-dom.$css-selector-fallback-declarations {\n .mdc-ripple-surface {\n @include theme-styles($theme);\n }\n }\n}\n\n$_ripple-theme: (\n hover-state-layer-color: null,\n focus-state-layer-color: null,\n pressed-state-layer-color: null,\n hover-state-layer-opacity: null,\n focus-state-layer-opacity: null,\n pressed-state-layer-opacity: null,\n);\n\n@mixin theme-styles($theme, $ripple-target: '&') {\n $theme: keys.create-theme-properties(\n $theme,\n $prefix: $custom-property-prefix\n );\n\n // TODO(b/191298796): Support states layer color for every interactive states.\n // Use only hover state layer color, ignoring focus and pressed color.\n @include internal-theme-styles($theme, $ripple-target);\n}\n\n@mixin internal-theme-styles($theme, $ripple-target: '&') {\n @include theme.validate-theme-keys($_ripple-theme, $theme);\n\n @include states-base-color(\n map.get($theme, hover-state-layer-color),\n $ripple-target: $ripple-target\n );\n @include states-hover-opacity(\n map.get($theme, hover-state-layer-opacity),\n $ripple-target: $ripple-target\n );\n @include states-focus-opacity(\n map.get($theme, focus-state-layer-opacity),\n $ripple-target: $ripple-target\n );\n @include states-press-opacity(\n map.get($theme, pressed-state-layer-opacity),\n $ripple-target: $ripple-target\n );\n}\n\n@mixin states-base-color(\n $color,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @if $color {\n @if not custom-properties.is-custom-prop($color) {\n $color: custom-properties.create(\n ripple-color,\n theme-color.get-custom-property($color)\n );\n }\n\n #{$ripple-target}::before,\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(background-color, $color);\n }\n }\n }\n}\n\n///\n/// Customizes ripple opacities in `hover`, `focus`, or `press` states\n/// @param {map} $opacity-map - map specifying custom opacity of zero or more states\n/// @param {bool} $has-nested-focusable-element - whether the component contains a focusable element in the root\n/// @param {string} $ripple-target - the optional selector for the ripple element\n///\n@mixin states-opacities(\n $opacity-map: (),\n $has-nested-focusable-element: false,\n $ripple-target: '&',\n $query: feature-targeting.all()\n) {\n // Ensure sufficient specificity to override base state opacities\n @if map.get($opacity-map, hover) {\n @include states-hover-opacity(\n map.get($opacity-map, hover),\n $ripple-target: $ripple-target,\n $query: $query\n );\n }\n\n @if map.get($opacity-map, focus) {\n @include states-focus-opacity(\n map.get($opacity-map, focus),\n $ripple-target: $ripple-target,\n $has-nested-focusable-element: $has-nested-focusable-element,\n $query: $query\n );\n }\n\n @if map.get($opacity-map, press) {\n @include states-press-opacity(\n map.get($opacity-map, press),\n $ripple-target: $ripple-target,\n $query: $query\n );\n }\n}\n\n@mixin states-hover-opacity(\n $opacity,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @if $opacity and not custom-properties.is-custom-prop($opacity) {\n $opacity: custom-properties.create(ripple-hover-opacity, $opacity);\n }\n\n // Background wash styles, for both CSS-only and upgraded stateful surfaces\n &:hover,\n &.mdc-ripple-surface--hover {\n @include states-background-selector($ripple-target) {\n // Opacity falls under color because the chosen opacity is color-dependent in typical usage\n @include feature-targeting.targets($feat-color) {\n @include theme.property(opacity, $opacity);\n }\n }\n }\n}\n\n@mixin states-focus-opacity(\n $opacity,\n $has-nested-focusable-element: false,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n // Focus overrides hover by reusing the ::before pseudo-element.\n // :focus-within generally works on non-MS browsers and matches when a *child* of the element has focus.\n // It is useful for cases where a component has a focusable element within the root node, e.g. text field,\n // but undesirable in general in case of nested stateful components.\n // We use a modifier class for JS-enabled surfaces to support all use cases in all browsers.\n @if $has-nested-focusable-element {\n // JS-enabled selectors.\n &.mdc-ripple-upgraded--background-focused,\n &.mdc-ripple-upgraded:focus-within,\n // CSS-only selectors.\n &:not(.mdc-ripple-upgraded):focus,\n &:not(.mdc-ripple-upgraded):focus-within {\n @include states-background-selector($ripple-target) {\n @include states-focus-opacity-properties_(\n $opacity: $opacity,\n $query: $query\n );\n }\n }\n } @else {\n // JS-enabled selectors.\n &.mdc-ripple-upgraded--background-focused,\n // CSS-only selectors.\n &:not(.mdc-ripple-upgraded):focus {\n @include states-background-selector($ripple-target) {\n @include states-focus-opacity-properties_(\n $opacity: $opacity,\n $query: $query\n );\n }\n }\n }\n}\n\n@mixin states-focus-opacity-properties_($opacity, $query) {\n $feat-animation: feature-targeting.create-target($query, animation);\n // Opacity falls under color because the chosen opacity is color-dependent in typical usage\n $feat-color: feature-targeting.create-target($query, color);\n\n @if $opacity {\n @if not custom-properties.is-custom-prop($opacity) {\n $opacity: custom-properties.create(ripple-focus-opacity, $opacity);\n }\n\n // Note that this duration is only effective on focus, not blur\n @include feature-targeting.targets($feat-animation) {\n transition-duration: 75ms;\n }\n\n @include feature-targeting.targets($feat-color) {\n @include theme.property(opacity, $opacity);\n }\n }\n}\n\n@mixin states-press-opacity(\n $opacity,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-animation: feature-targeting.create-target($query, animation);\n $feat-color: feature-targeting.create-target($query, color);\n\n // Styles for non-upgraded (CSS-only) stateful surfaces\n\n @if $opacity {\n @if not custom-properties.is-custom-prop($opacity) {\n $opacity: custom-properties.create(ripple-press-opacity, $opacity);\n }\n\n &:not(.mdc-ripple-upgraded) {\n // Apply press additively by using the ::after pseudo-element\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-animation) {\n transition: opacity $fade-out-duration linear;\n }\n }\n\n &:active {\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-animation) {\n transition-duration: $fade-in-duration;\n }\n\n // Opacity falls under color because the chosen opacity is color-dependent in typical usage\n @include feature-targeting.targets($feat-color) {\n @include theme.property(opacity, $opacity);\n }\n }\n }\n }\n\n &.mdc-ripple-upgraded {\n @include feature-targeting.targets($feat-color) {\n // Upgraded ripple should always emit custom property, regardless of\n // configuration, since ripple itself feature detects custom property\n // support at runtime.\n @include custom-properties.configure($emit-custom-properties: true) {\n @include theme.property(\n custom-properties.create(ripple-fg-opacity, $opacity)\n );\n }\n }\n }\n }\n}\n\n// Simple mixin for base states which automatically selects opacity values based on whether the ink color is\n// light or dark.\n@mixin states(\n $color: theme-color.prop-value(on-surface),\n $has-nested-focusable-element: false,\n $query: feature-targeting.all(),\n $ripple-target: '&',\n $opacity-map: null\n) {\n @include states-interactions_(\n $color: $color,\n $has-nested-focusable-element: $has-nested-focusable-element,\n $query: $query,\n $ripple-target: $ripple-target,\n $opacity-map: $opacity-map\n );\n}\n\n// Simple mixin for activated states which automatically selects opacity values based on whether the ink color is\n// light or dark.\n@mixin states-activated(\n $color,\n $has-nested-focusable-element: false,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-color: feature-targeting.create-target($query, color);\n $activated-opacity: states-opacity($color, activated);\n\n &--activated {\n // Stylelint seems to think that '&' qualifies as a type selector here?\n @include states-background-selector($ripple-target) {\n // Opacity falls under color because the chosen opacity is color-dependent.\n @include feature-targeting.targets($feat-color) {\n @include theme.property(\n opacity,\n custom-properties.create(\n --mdc-ripple-activated-opacity,\n $activated-opacity\n )\n );\n }\n }\n\n @include states-interactions_(\n $color: $color,\n $has-nested-focusable-element: $has-nested-focusable-element,\n $opacity-modifier: $activated-opacity,\n $query: $query,\n $ripple-target: $ripple-target\n );\n }\n}\n\n// Simple mixin for selected states which automatically selects opacity values based on whether the ink color is\n// light or dark.\n@mixin states-selected(\n $color,\n $has-nested-focusable-element: false,\n $query: feature-targeting.all(),\n $ripple-target: '&'\n) {\n $feat-color: feature-targeting.create-target($query, color);\n $selected-opacity: states-opacity($color, selected);\n\n &--selected {\n @include states-background-selector($ripple-target) {\n // Opacity falls under color because the chosen opacity is color-dependent.\n @include feature-targeting.targets($feat-color) {\n @include theme.property(\n opacity,\n custom-properties.create(\n --mdc-ripple-selected-opacity,\n $selected-opacity\n )\n );\n }\n }\n\n @include states-interactions_(\n $color: $color,\n $has-nested-focusable-element: $has-nested-focusable-element,\n $opacity-modifier: $selected-opacity,\n $query: $query,\n $ripple-target: $ripple-target\n );\n }\n}\n\n@mixin states-interactions_(\n $color,\n $has-nested-focusable-element,\n $opacity-modifier: 0,\n $query: feature-targeting.all(),\n $ripple-target: '&',\n $opacity-map: null\n) {\n @include target-selector($ripple-target) {\n @include states-base-color($color, $query);\n }\n\n @if $opacity-map == null {\n $opacity-map: (\n hover: states-opacity($color, hover) + $opacity-modifier,\n focus: states-opacity($color, focus) + $opacity-modifier,\n press: states-opacity($color, press) + $opacity-modifier,\n );\n }\n\n @include states-opacities(\n $opacity-map,\n $has-nested-focusable-element: $has-nested-focusable-element,\n $ripple-target: $ripple-target,\n $query: $query\n );\n}\n\n// Wraps content in the `ripple-target` selector if it exists.\n@mixin target-selector($ripple-target: '&') {\n @if $ripple-target == '&' {\n @content;\n } @else {\n #{$ripple-target} {\n @content;\n }\n }\n}\n\n/// Selector for hover, active and focus states.\n@mixin states-selector() {\n #{$_hover-selector},\n #{$_focus-selector},\n #{$_active-selector} {\n @content;\n }\n}\n\n@mixin hover() {\n #{$_hover-selector} {\n @content;\n }\n}\n\n// Selector for focus state. Using ':not(.mdc-ripple-upgraded)' to continue\n// applying focus styles on JS-disabled components, and control focus\n// on JS-enabled components with '.mdc-ripple-upgraded--background-focused'.\n@mixin focus() {\n #{$_focus-selector} {\n @content;\n }\n}\n\n// Selector for active state. Using `:active:active` to override focus styles.\n@mixin pressed() {\n #{$_active-selector} {\n @content;\n }\n}\n\n// @deprecated Use `pressed()` mixin - renamed for consistency.\n@mixin active() {\n @include pressed() {\n @content;\n }\n}\n\n/// Keep the ripple (State overlay) behind the content.\n@mixin behind-content(\n $ripple-target,\n $content-root-selector: '&',\n $query: feature-targeting.all()\n) {\n // Needed for IE11. Without this, IE11 renders the state layer completely\n // underneath the container, making it invisible.\n $feat-structure: feature-targeting.create-target($query, structure);\n\n #{$content-root-selector} {\n @include feature-targeting.targets($feat-structure) {\n z-index: 0;\n }\n }\n\n #{$ripple-target}::before,\n #{$ripple-target}::after {\n @include feature-targeting.targets($feat-structure) {\n @include theme.property(\n z-index,\n custom-properties.create(--mdc-ripple-z-index, -1)\n );\n }\n }\n}\n\n@function states-opacity($color, $state) {\n $color-value: theme-color.prop-value($color);\n $opacity-map: if(\n theme-color.tone($color-value) == 'light',\n $light-ink-opacities,\n $dark-ink-opacities\n );\n\n @if not map.has-key($opacity-map, $state) {\n @error \"Invalid state: '#{$state}'. Choose one of: #{map.keys($opacity-map)}\";\n }\n\n @return map.get($opacity-map, $state);\n}\n\n@mixin states-background-selector($ripple-target) {\n #{$ripple-target}::before {\n @content;\n }\n}\n","//\n// Copyright 2017 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// stylelint-disable selector-class-pattern --\n// Selector '.mdc-*' should only be used in this project.\n\n@use 'sass:map';\n@use 'sass:math';\n@use 'sass:meta';\n@use '@material/animation/variables' as animation-variables;\n@use '@material/theme/custom-properties';\n@use '@material/base/mixins' as base-mixins;\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/rtl/rtl';\n@use '@material/theme/css';\n@use '@material/theme/theme';\n@use '@material/theme/theme-color';\n\n$baseline-color: black !default;\n$umbra-opacity: 0.2 !default;\n$penumbra-opacity: 0.14 !default;\n$ambient-opacity: 0.12 !default;\n\n$umbra-map: (\n 0: '0px 0px 0px 0px',\n 1: '0px 2px 1px -1px',\n 2: '0px 3px 1px -2px',\n 3: '0px 3px 3px -2px',\n 4: '0px 2px 4px -1px',\n 5: '0px 3px 5px -1px',\n 6: '0px 3px 5px -1px',\n 7: '0px 4px 5px -2px',\n 8: '0px 5px 5px -3px',\n 9: '0px 5px 6px -3px',\n 10: '0px 6px 6px -3px',\n 11: '0px 6px 7px -4px',\n 12: '0px 7px 8px -4px',\n 13: '0px 7px 8px -4px',\n 14: '0px 7px 9px -4px',\n 15: '0px 8px 9px -5px',\n 16: '0px 8px 10px -5px',\n 17: '0px 8px 11px -5px',\n 18: '0px 9px 11px -5px',\n 19: '0px 9px 12px -6px',\n 20: '0px 10px 13px -6px',\n 21: '0px 10px 13px -6px',\n 22: '0px 10px 14px -6px',\n 23: '0px 11px 14px -7px',\n 24: '0px 11px 15px -7px',\n) !default;\n\n$penumbra-map: (\n 0: '0px 0px 0px 0px',\n 1: '0px 1px 1px 0px',\n 2: '0px 2px 2px 0px',\n 3: '0px 3px 4px 0px',\n 4: '0px 4px 5px 0px',\n 5: '0px 5px 8px 0px',\n 6: '0px 6px 10px 0px',\n 7: '0px 7px 10px 1px',\n 8: '0px 8px 10px 1px',\n 9: '0px 9px 12px 1px',\n 10: '0px 10px 14px 1px',\n 11: '0px 11px 15px 1px',\n 12: '0px 12px 17px 2px',\n 13: '0px 13px 19px 2px',\n 14: '0px 14px 21px 2px',\n 15: '0px 15px 22px 2px',\n 16: '0px 16px 24px 2px',\n 17: '0px 17px 26px 2px',\n 18: '0px 18px 28px 2px',\n 19: '0px 19px 29px 2px',\n 20: '0px 20px 31px 3px',\n 21: '0px 21px 33px 3px',\n 22: '0px 22px 35px 3px',\n 23: '0px 23px 36px 3px',\n 24: '0px 24px 38px 3px',\n) !default;\n\n$ambient-map: (\n 0: '0px 0px 0px 0px',\n 1: '0px 1px 3px 0px',\n 2: '0px 1px 5px 0px',\n 3: '0px 1px 8px 0px',\n 4: '0px 1px 10px 0px',\n 5: '0px 1px 14px 0px',\n 6: '0px 1px 18px 0px',\n 7: '0px 2px 16px 1px',\n 8: '0px 3px 14px 2px',\n 9: '0px 3px 16px 2px',\n 10: '0px 4px 18px 3px',\n 11: '0px 4px 20px 3px',\n 12: '0px 5px 22px 4px',\n 13: '0px 5px 24px 4px',\n 14: '0px 5px 26px 4px',\n 15: '0px 6px 28px 5px',\n 16: '0px 6px 30px 5px',\n 17: '0px 6px 32px 5px',\n 18: '0px 7px 34px 6px',\n 19: '0px 7px 36px 6px',\n 20: '0px 8px 38px 7px',\n 21: '0px 8px 40px 7px',\n 22: '0px 8px 42px 7px',\n 23: '0px 9px 44px 8px',\n 24: '0px 9px 46px 8px',\n) !default;\n\n// The css property used for elevation. In most cases this should not be changed. It is exposed\n// as a variable for abstraction / easy use when needing to reference the property directly, for\n// example in a `will-change` rule.\n$property: box-shadow !default;\n\n// The default color for the elevation overlay.\n$overlay-color: #fff;\n\n// The css property used for elevation overlay transitions. In most cases this should not be changed. It is exposed\n// as a variable for abstraction / easy use when needing to reference the property directly, for\n// example in a `will-change` rule.\n$overlay-property: opacity !default;\n\n// The default duration value for elevation transitions.\n$transition-duration: 280ms !default;\n\n// The default easing value for elevation transitions.\n$transition-timing-function: animation-variables.$standard-curve-timing-function !default;\n\n///\n/// Sets the elevation transition value.\n///\n/// @param {String} $duration - The duration of the transition.\n/// @param {String} $easing - The easing function for the transition.\n/// @return {String}\n///\n@function transition-value(\n $duration: $transition-duration,\n $easing: $transition-timing-function\n) {\n @return #{$property} #{$duration} #{$easing};\n}\n\n///\n/// Sets the elevation overlay transition value.\n///\n/// @param {String} $duration - The duration of the transition.\n/// @param {String} $easing - The easing function for the transition.\n/// @return {String}\n///\n@function overlay-transition-value(\n $duration: $transition-duration,\n $easing: $transition-timing-function\n) {\n @return #{$overlay-property} #{$duration} #{$easing};\n}\n\n///\n/// Creates a box-shadow from the Material elevation system.\n/// @param {Number} $level - the level of the Material elevation system.\n/// @param {String} $color - the color of the shadow.\n/// @param {Number} $opacity-boost [0] - optional opacity boost for the shadow.\n/// @return {List} the complete box shadow.\n///\n@function _box-shadow($level, $color, $opacity-boost: 0) {\n $color: theme-color.prop-value($color);\n $umbra-z-value: map.get($umbra-map, $level);\n $penumbra-z-value: map.get($penumbra-map, $level);\n $ambient-z-value: map.get($ambient-map, $level);\n\n $umbra-color: rgba($color, $umbra-opacity + $opacity-boost);\n $penumbra-color: rgba($color, $penumbra-opacity + $opacity-boost);\n $ambient-color: rgba($color, $ambient-opacity + $opacity-boost);\n\n @return (\n #{'#{$umbra-z-value} #{$umbra-color}'},\n #{'#{$penumbra-z-value} #{$penumbra-color}'},\n #{$ambient-z-value} $ambient-color\n );\n}\n\n// Returns the correct box-shadow specified by $z-value.\n// The $z-value must be between 0 and 24.\n// If $color has an alpha channel, it will be ignored and overridden. To increase the opacity of the shadow, use\n// $opacity-boost.\n@function elevation-box-shadow(\n $z-value,\n $color: $baseline-color,\n $opacity-boost: 0\n) {\n @if meta.type-of($z-value) != number or not math.is-unitless($z-value) {\n @error \"$z-value must be a unitless number, but received '#{$z-value}'\";\n }\n\n @if $z-value < 0 or $z-value > 24 {\n @error \"$z-value must be between 0 and 24, but received '#{$z-value}'\";\n }\n\n @return _box-shadow($z-value, $color, $opacity-boost);\n}\n\n///\n/// Returns a shadow or null if params are invalid.\n/// @param {Number} $level - the level of the Material elevation system.\n/// @param {String} $color - the color of the shadow.\n/// @return {List|null} the complete box shadow or null.\n///\n@function _shadow($level, $color) {\n @if $level == null and $color == null {\n // Do not emit a warning if both are null, which means the user did not\n // provide tokens.\n @return null;\n }\n\n @if $level == null or $color == null {\n // If one of the tokens is null, emit a warning: the user may not realize\n // that both are required.\n @warn \"both $level and $color are required; received $level: '#{$level}', $color: '#{$color}'\";\n @return null;\n }\n\n @if $level < 0 or $level > 24 {\n @warn \"$level must be between 0 and 24; received '#{$level}'\";\n @return null;\n }\n\n @return _box-shadow($level, $color);\n}\n\n@function get-elevation($level) {\n @return (box-shadow: elevation-box-shadow($level));\n}\n\n///\n/// Sets the shadow of the element.\n///\n/// @param {String} $box-shadow - The shadow to apply to the element.\n///\n@mixin _box-shadow($shadow, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @include feature-targeting.targets($feat-color) {\n @include theme.property(box-shadow, $shadow);\n }\n}\n\n///\n/// Sets the shadow of the element.\n///\n/// @param {String} $box-shadow - The shadow to apply to the element.\n///\n@mixin shadow($box-shadow, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @include feature-targeting.targets($feat-color) {\n @if custom-properties.is-custom-prop($box-shadow) {\n // TODO(b/185188458): Use theme.property() once resolved.\n $fallback: custom-properties.get-fallback($box-shadow);\n\n // var(--<box-shadow-prop>, var(--m-elevation-box-shadow-for-gss))\n $gss-custom-prop: custom-properties.create(\n custom-properties.get-varname($box-shadow),\n custom-properties.create(elevation-box-shadow-for-gss)\n );\n\n $value: custom-properties.create-var($gss-custom-prop);\n @if $value == null {\n // Custom properties are disabled, since $gss-custom-prop\n // does not have a fallback. Avoid emitting two non-custom\n // prop declarations by setting $fallback to null.\n $value: $fallback;\n $fallback: null;\n }\n\n @include custom-properties.declaration(\n custom-properties.create(elevation-box-shadow-for-gss, $fallback)\n );\n @include css.declaration(box-shadow, $value, $fallback-value: $fallback);\n } @else {\n /* @alternate */\n box-shadow: $box-shadow;\n }\n }\n}\n\n///\n/// Sets the elevation overlay surface required positioning.\n///\n@mixin overlay-surface-position($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n /* @alternate */\n position: relative;\n }\n}\n\n///\n/// Sets the dimensions of the elevation overlay, including positioning and sizing.\n///\n/// @param {Number} $width - The width of the elevation overlay\n/// @param {Number} [$height] - The height of the elevation overlay\n/// @param {Boolean} [$has-content-sizing] - Set to false if the container has no content sizing\n///\n@mixin overlay-dimensions(\n $width,\n $height: $width,\n $has-content-sizing: true,\n $query: feature-targeting.all()\n) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-elevation-overlay {\n @include feature-targeting.targets($feat-structure) {\n @include theme.property(width, $width);\n @include theme.property(height, $height);\n\n @if $has-content-sizing {\n top: 0;\n @include rtl.ignore-next-line();\n left: 0;\n } @else {\n top: 50%;\n @include rtl.ignore-next-line();\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n }\n}\n\n///\n/// Sets the elevation overlay fill color.\n/// Expected to be called directly on the elevation overlay element.\n///\n/// @param {Color} $color - The color of the elevation overlay.\n///\n@mixin overlay-fill-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @include feature-targeting.targets($feat-color) {\n @include theme.property(background-color, $color);\n }\n}\n\n///\n/// Applies the given color to the container of the overlay.\n/// @param {color} $color - the color of the overlay container\n///\n@mixin overlay-container-color($color, $query: feature-targeting.all()) {\n .mdc-elevation-overlay {\n @include overlay-fill-color($color, $query: $query);\n }\n}\n\n///\n/// Sets the elevation overlay opacity.\n/// Expected to be called from a parent element.\n///\n/// @param {Number} $opacity - The opacity of the elevation overlay.\n///\n@mixin overlay-opacity($opacity, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n .mdc-elevation-overlay {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(opacity, $opacity);\n }\n }\n}\n\n// Applies the correct CSS rules to an element to give it the elevation specified by $z-value.\n// The $z-value must be between 0 and 24.\n// If $color has an alpha channel, it will be ignored and overridden. To increase the opacity of the shadow, use\n// $opacity-boost.\n@mixin elevation(\n $z-value,\n $color: $baseline-color,\n $opacity-boost: 0,\n $query: feature-targeting.all()\n) {\n $box-shadow: elevation-box-shadow(\n $z-value,\n $color: $color,\n $opacity-boost: $opacity-boost\n );\n\n @include shadow($box-shadow, $query: $query);\n}\n\n///\n/// Represents the configurable values of the elevation theme.\n///\n$_theme-values: (\n shadow: null,\n overlay-opacity: null,\n overlay-color: null,\n);\n\n///\n/// Applies the shadow theme with the given $resolver function.\n/// @param {Function} $resolver - a function that returns a valid theme config.\n/// @see resolver for an example and expected arguments and return value.\n/// Accepts the following optional keyword args:\n/// @param {Number} $elevation - the level in the elevation system.\n/// @param {String} $shadow-color - the color used for the shadow.\n///\n@mixin with-resolver($resolver, $query: feature-targeting.all(), $args...) {\n @if $resolver {\n @include _theme(meta.call($resolver, $args...), $query: $query);\n }\n}\n\n///\n/// Applies the given theme with validation.\n/// @param {Map} $theme - @see $_theme-values for accepted theme properties.\n///\n@mixin theme($theme: (), $query: feature-targeting.all()) {\n @include theme.validate-theme($_theme-values, $theme);\n @include _theme($theme, $query: $query);\n}\n\n///\n/// Applies the given theme.\n/// @param {Map} $theme - @see $_theme-values for accepted theme properties.\n///\n@mixin _theme($theme: (), $query: feature-targeting.all()) {\n @include shadow(map.get($theme, shadow), $query: $query);\n @include overlay-opacity(map.get($theme, overlay-opacity), $query: $query);\n @include overlay-container-color(\n map.get($theme, overlay-color),\n $query: $query\n );\n}\n\n///\n/// Transforms the following optional parameters into a theme config.\n/// @param {Number} $elevation - the level of the elevation system in Material.\n/// @param {String} $shadow-color - the color to be used by the shadow.\n/// @return {Map} @see $_theme-values for accepted theme properties.\n///\n@function resolver($args...) {\n $opts: meta.keywords($args);\n $elevation: map.get($opts, elevation);\n $shadow-color: map.get($opts, shadow-color);\n @if custom-properties.is-custom-prop($elevation) {\n @return _resolve-custom-props($elevation, $shadow-color);\n }\n\n @return (shadow: _shadow($elevation, $shadow-color));\n}\n\n@function _resolve-custom-props($elevation, $shadow-color) {\n $fallback-dp: custom-properties.get-fallback($elevation);\n $fallback-shadow-color: custom-properties.get-fallback($shadow-color);\n $shadow: custom-properties.set-fallback(\n $elevation,\n _shadow($fallback-dp, $fallback-shadow-color)\n );\n @return (shadow: $shadow);\n}\n"],"sourceRoot":""}
\No newline at end of file