saby-customizer 0.0.0-pre.12 → 0.0.0-pre.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/material.js CHANGED
@@ -14,33 +14,33 @@ PERFORMANCE OF THIS SOFTWARE.
14
14
  ***************************************************************************** */
15
15
  /* global Reflect, Promise */
16
16
 
17
- var extendStatics = function(d, b) {
18
- extendStatics = Object.setPrototypeOf ||
17
+ var extendStatics$1 = function(d, b) {
18
+ extendStatics$1 = Object.setPrototypeOf ||
19
19
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
20
20
  function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
21
- return extendStatics(d, b);
21
+ return extendStatics$1(d, b);
22
22
  };
23
23
 
24
- function __extends(d, b) {
24
+ function __extends$1(d, b) {
25
25
  if (typeof b !== "function" && b !== null)
26
26
  throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
27
- extendStatics(d, b);
27
+ extendStatics$1(d, b);
28
28
  function __() { this.constructor = d; }
29
29
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30
30
  }
31
31
 
32
- var __assign = function() {
33
- __assign = Object.assign || function __assign(t) {
32
+ var __assign$1 = function() {
33
+ __assign$1 = Object.assign || function __assign(t) {
34
34
  for (var s, i = 1, n = arguments.length; i < n; i++) {
35
35
  s = arguments[i];
36
36
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
37
37
  }
38
38
  return t;
39
39
  };
40
- return __assign.apply(this, arguments);
40
+ return __assign$1.apply(this, arguments);
41
41
  };
42
42
 
43
- function __rest(s, e) {
43
+ function __rest$1(s, e) {
44
44
  var t = {};
45
45
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
46
46
  t[p] = s[p];
@@ -52,22 +52,22 @@ function __rest(s, e) {
52
52
  return t;
53
53
  }
54
54
 
55
- function __decorate(decorators, target, key, desc) {
55
+ function __decorate$1(decorators, target, key, desc) {
56
56
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
57
57
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
58
58
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
59
59
  return c > 3 && r && Object.defineProperty(target, key, r), r;
60
60
  }
61
61
 
62
- function __param(paramIndex, decorator) {
62
+ function __param$1(paramIndex, decorator) {
63
63
  return function (target, key) { decorator(target, key, paramIndex); }
64
64
  }
65
65
 
66
- function __metadata(metadataKey, metadataValue) {
66
+ function __metadata$1(metadataKey, metadataValue) {
67
67
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
68
68
  }
69
69
 
70
- function __awaiter(thisArg, _arguments, P, generator) {
70
+ function __awaiter$1(thisArg, _arguments, P, generator) {
71
71
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
72
72
  return new (P || (P = Promise))(function (resolve, reject) {
73
73
  function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -77,7 +77,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
77
77
  });
78
78
  }
79
79
 
80
- function __generator(thisArg, body) {
80
+ function __generator$1(thisArg, body) {
81
81
  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
82
82
  return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
83
83
  function verb(n) { return function (v) { return step([n, v]); }; }
@@ -105,7 +105,7 @@ function __generator(thisArg, body) {
105
105
  }
106
106
  }
107
107
 
108
- var __createBinding = Object.create ? (function(o, m, k, k2) {
108
+ var __createBinding$1 = Object.create ? (function(o, m, k, k2) {
109
109
  if (k2 === undefined) k2 = k;
110
110
  Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
111
111
  }) : (function(o, m, k, k2) {
@@ -113,11 +113,11 @@ var __createBinding = Object.create ? (function(o, m, k, k2) {
113
113
  o[k2] = m[k];
114
114
  });
115
115
 
116
- function __exportStar(m, o) {
117
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
116
+ function __exportStar$1(m, o) {
117
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding$1(o, m, p);
118
118
  }
119
119
 
120
- function __values(o) {
120
+ function __values$1(o) {
121
121
  var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
122
122
  if (m) return m.call(o);
123
123
  if (o && typeof o.length === "number") return {
@@ -129,7 +129,7 @@ function __values(o) {
129
129
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
130
130
  }
131
131
 
132
- function __read(o, n) {
132
+ function __read$1(o, n) {
133
133
  var m = typeof Symbol === "function" && o[Symbol.iterator];
134
134
  if (!m) return o;
135
135
  var i = m.call(o), r, ar = [], e;
@@ -147,14 +147,14 @@ function __read(o, n) {
147
147
  }
148
148
 
149
149
  /** @deprecated */
150
- function __spread() {
150
+ function __spread$1() {
151
151
  for (var ar = [], i = 0; i < arguments.length; i++)
152
- ar = ar.concat(__read(arguments[i]));
152
+ ar = ar.concat(__read$1(arguments[i]));
153
153
  return ar;
154
154
  }
155
155
 
156
156
  /** @deprecated */
157
- function __spreadArrays() {
157
+ function __spreadArrays$1() {
158
158
  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
159
159
  for (var r = Array(s), k = 0, i = 0; i < il; i++)
160
160
  for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
@@ -162,7 +162,7 @@ function __spreadArrays() {
162
162
  return r;
163
163
  }
164
164
 
165
- function __spreadArray(to, from, pack) {
165
+ function __spreadArray$1(to, from, pack) {
166
166
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
167
167
  if (ar || !(i in from)) {
168
168
  if (!ar) ar = Array.prototype.slice.call(from, 0, i);
@@ -172,66 +172,66 @@ function __spreadArray(to, from, pack) {
172
172
  return to.concat(ar || Array.prototype.slice.call(from));
173
173
  }
174
174
 
175
- function __await(v) {
176
- return this instanceof __await ? (this.v = v, this) : new __await(v);
175
+ function __await$1(v) {
176
+ return this instanceof __await$1 ? (this.v = v, this) : new __await$1(v);
177
177
  }
178
178
 
179
- function __asyncGenerator(thisArg, _arguments, generator) {
179
+ function __asyncGenerator$1(thisArg, _arguments, generator) {
180
180
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
181
181
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
182
182
  return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
183
183
  function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
184
184
  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
185
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
185
+ function step(r) { r.value instanceof __await$1 ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
186
186
  function fulfill(value) { resume("next", value); }
187
187
  function reject(value) { resume("throw", value); }
188
188
  function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
189
189
  }
190
190
 
191
- function __asyncDelegator(o) {
191
+ function __asyncDelegator$1(o) {
192
192
  var i, p;
193
193
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
194
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
194
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await$1(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
195
195
  }
196
196
 
197
- function __asyncValues(o) {
197
+ function __asyncValues$1(o) {
198
198
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
199
199
  var m = o[Symbol.asyncIterator], i;
200
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
200
+ return m ? m.call(o) : (o = typeof __values$1 === "function" ? __values$1(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
201
201
  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
202
202
  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
203
203
  }
204
204
 
205
- function __makeTemplateObject(cooked, raw) {
205
+ function __makeTemplateObject$1(cooked, raw) {
206
206
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
207
207
  return cooked;
208
208
  };
209
209
 
210
- var __setModuleDefault = Object.create ? (function(o, v) {
210
+ var __setModuleDefault$1 = Object.create ? (function(o, v) {
211
211
  Object.defineProperty(o, "default", { enumerable: true, value: v });
212
212
  }) : function(o, v) {
213
213
  o["default"] = v;
214
214
  };
215
215
 
216
- function __importStar(mod) {
216
+ function __importStar$1(mod) {
217
217
  if (mod && mod.__esModule) return mod;
218
218
  var result = {};
219
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
220
- __setModuleDefault(result, mod);
219
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding$1(result, mod, k);
220
+ __setModuleDefault$1(result, mod);
221
221
  return result;
222
222
  }
223
223
 
224
- function __importDefault(mod) {
224
+ function __importDefault$1(mod) {
225
225
  return (mod && mod.__esModule) ? mod : { default: mod };
226
226
  }
227
227
 
228
- function __classPrivateFieldGet(receiver, state, kind, f) {
228
+ function __classPrivateFieldGet$1(receiver, state, kind, f) {
229
229
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
230
230
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
231
231
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
232
232
  }
233
233
 
234
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
234
+ function __classPrivateFieldSet$1(receiver, state, value, kind, f) {
235
235
  if (kind === "m") throw new TypeError("Private method is not writable");
236
236
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
237
237
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
@@ -243,84 +243,84 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
243
243
  * Copyright 2019 Google LLC
244
244
  * SPDX-License-Identifier: BSD-3-Clause
245
245
  */
246
- const t$4=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$4=new Map;class s$3{constructor(t,n){if(this._$cssResult$=!0,n!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t;}get styleSheet(){let e=n$4.get(this.cssText);return t$4&&void 0===e&&(n$4.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const o$6=t=>new s$3("string"==typeof t?t:t+"",e$8),r$3=(t,...n)=>{const o=1===t.length?t[0]:n.reduce(((e,n,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[s+1]),t[0]);return new s$3(o,e$8)},i$5=(e,n)=>{t$4?e.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((t=>{const n=document.createElement("style"),s=window.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=t.cssText,e.appendChild(n);}));},S$1=t$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return o$6(e)})(t):t;
246
+ const t$9=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$h=Symbol(),n$9=new Map;class s$7{constructor(t,n){if(this._$cssResult$=!0,n!==e$h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t;}get styleSheet(){let e=n$9.get(this.cssText);return t$9&&void 0===e&&(n$9.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const o$d=t=>new s$7("string"==typeof t?t:t+"",e$h),r$7=(t,...n)=>{const o=1===t.length?t[0]:n.reduce(((e,n,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[s+1]),t[0]);return new s$7(o,e$h)},i$a=(e,n)=>{t$9?e.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((t=>{const n=document.createElement("style"),s=window.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=t.cssText,e.appendChild(n);}));},S$3=t$9?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return o$d(e)})(t):t;
247
247
 
248
248
  /**
249
249
  * @license
250
250
  * Copyright 2017 Google LLC
251
251
  * SPDX-License-Identifier: BSD-3-Clause
252
- */var s$2,e$7;const r$2={toAttribute(t,i){switch(i){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},h$2=(t,i)=>i!==t&&(i==i||t==t),o$5={attribute:!0,type:String,converter:r$2,reflect:!1,hasChanged:h$2};class n$3 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o();}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Eh(s,i);void 0!==e&&(this._$Eu.set(e,s),t.push(e));})),t}static createProperty(t,i=o$5){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||o$5}static finalize(){if(this.hasOwnProperty("finalized"))return !1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(S$1(i));}else void 0!==i&&s.push(S$1(i));return s}static _$Eh(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$Em)&&void 0!==i?i:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$Em)||void 0===i||i.splice(this._$Em.indexOf(t)>>>0,1);}_$Ep(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i$5(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$Eg(t,i,s=o$5){var e,h;const n=this.constructor._$Eh(t,s);if(void 0!==n&&!0===s.reflect){const o=(null!==(h=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==h?h:r$2.toAttribute)(i,s.type);this._$Ei=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$Ei=null;}}_$AK(t,i){var s,e,h;const o=this.constructor,n=o._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=o.getPropertyOptions(n),l=t.converter,a=null!==(h=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:"function"==typeof l?l:null)&&void 0!==h?h:r$2.fromAttribute;this._$Ei=n,this[n]=a(i,t.type),this._$Ei=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||h$2)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$Ev=this._$EC());}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$ET();}catch(t){throw i=!1,this._$ET(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$Em)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$ET(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return !0}update(t){void 0!==this._$ES&&(this._$ES.forEach(((t,i)=>this._$Eg(i,this[i],t))),this._$ES=void 0),this._$ET();}updated(t){}firstUpdated(t){}}n$3.finalized=!0,n$3.elementProperties=new Map,n$3.elementStyles=[],n$3.shadowRootOptions={mode:"open"},null===(s$2=globalThis.reactiveElementPolyfillSupport)||void 0===s$2||s$2.call(globalThis,{ReactiveElement:n$3}),(null!==(e$7=globalThis.reactiveElementVersions)&&void 0!==e$7?e$7:globalThis.reactiveElementVersions=[]).push("1.0.0");
252
+ */var s$6,e$g;const r$6={toAttribute(t,i){switch(i){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},h$5=(t,i)=>i!==t&&(i==i||t==t),o$c={attribute:!0,type:String,converter:r$6,reflect:!1,hasChanged:h$5};class n$8 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o();}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Eh(s,i);void 0!==e&&(this._$Eu.set(e,s),t.push(e));})),t}static createProperty(t,i=o$c){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||o$c}static finalize(){if(this.hasOwnProperty("finalized"))return !1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(S$3(i));}else void 0!==i&&s.push(S$3(i));return s}static _$Eh(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$Em)&&void 0!==i?i:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$Em)||void 0===i||i.splice(this._$Em.indexOf(t)>>>0,1);}_$Ep(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i$a(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$Eg(t,i,s=o$c){var e,h;const n=this.constructor._$Eh(t,s);if(void 0!==n&&!0===s.reflect){const o=(null!==(h=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==h?h:r$6.toAttribute)(i,s.type);this._$Ei=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$Ei=null;}}_$AK(t,i){var s,e,h;const o=this.constructor,n=o._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=o.getPropertyOptions(n),l=t.converter,a=null!==(h=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:"function"==typeof l?l:null)&&void 0!==h?h:r$6.fromAttribute;this._$Ei=n,this[n]=a(i,t.type),this._$Ei=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||h$5)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$Ev=this._$EC());}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$ET();}catch(t){throw i=!1,this._$ET(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$Em)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$ET(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return !0}update(t){void 0!==this._$ES&&(this._$ES.forEach(((t,i)=>this._$Eg(i,this[i],t))),this._$ES=void 0),this._$ET();}updated(t){}firstUpdated(t){}}n$8.finalized=!0,n$8.elementProperties=new Map,n$8.elementStyles=[],n$8.shadowRootOptions={mode:"open"},null===(s$6=globalThis.reactiveElementPolyfillSupport)||void 0===s$6||s$6.call(globalThis,{ReactiveElement:n$8}),(null!==(e$g=globalThis.reactiveElementVersions)&&void 0!==e$g?e$g:globalThis.reactiveElementVersions=[]).push("1.0.0");
253
253
 
254
254
  /**
255
255
  * @license
256
256
  * Copyright 2017 Google LLC
257
257
  * SPDX-License-Identifier: BSD-3-Clause
258
258
  */
259
- var t$3,i$4;const s$1=globalThis.trustedTypes,e$6=s$1?s$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$4=`lit$${(Math.random()+"").slice(9)}$`,n$2="?"+o$4,l$2=`<${n$2}>`,h$1=document,r$1=(t="")=>h$1.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,v=t=>{var i;return u(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a=/-->/g,f=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,g=/'/g,m=/"/g,$=/^(?:script|style|textarea)$/i,p=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),y=p(1),b=p(2),T=Symbol.for("lit-noChange"),x=Symbol.for("lit-nothing"),w=new WeakMap,A=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new S(i.insertBefore(r$1(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l},C=h$1.createTreeWalker(h$1,129,null,!1),P=(t,i)=>{const s=t.length-1,n=[];let h,r=2===i?"<svg>":"",d=c;for(let i=0;i<s;i++){const s=t[i];let e,u,v=-1,p=0;for(;p<s.length&&(d.lastIndex=p,u=d.exec(s),null!==u);)p=d.lastIndex,d===c?"!--"===u[1]?d=a:void 0!==u[1]?d=f:void 0!==u[2]?($.test(u[2])&&(h=RegExp("</"+u[2],"g")),d=_):void 0!==u[3]&&(d=_):d===_?">"===u[0]?(d=null!=h?h:c,v=-1):void 0===u[1]?v=-2:(v=d.lastIndex-u[2].length,e=u[1],d=void 0===u[3]?_:'"'===u[3]?m:g):d===m||d===g?d=_:d===a||d===f?d=c:(d=_,h=void 0);const y=d===_&&t[i+1].startsWith("/>")?" ":"";r+=d===c?s+l$2:v>=0?(n.push(e),s.slice(0,v)+"$lit$"+s.slice(v)+o$4+y):s+o$4+(-2===v?(n.push(void 0),i):y);}const u=r+(t[s]||"<?>")+(2===i?"</svg>":"");return [void 0!==e$6?e$6.createHTML(u):u,n]};class V{constructor({strings:t,_$litType$:i},e){let l;this.parts=[];let h=0,d=0;const u=t.length-1,v=this.parts,[c,a]=P(t,i);if(this.el=V.createElement(c,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(l=C.nextNode())&&v.length<u;){if(1===l.nodeType){if(l.hasAttributes()){const t=[];for(const i of l.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(o$4)){const s=a[d++];if(t.push(i),void 0!==s){const t=l.getAttribute(s.toLowerCase()+"$lit$").split(o$4),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:h,name:i[2],strings:t,ctor:"."===i[1]?k:"?"===i[1]?H:"@"===i[1]?I:M});}else v.push({type:6,index:h});}for(const i of t)l.removeAttribute(i);}if($.test(l.tagName)){const t=l.textContent.split(o$4),i=t.length-1;if(i>0){l.textContent=s$1?s$1.emptyScript:"";for(let s=0;s<i;s++)l.append(t[s],r$1()),C.nextNode(),v.push({type:2,index:++h});l.append(t[i],r$1());}}}else if(8===l.nodeType)if(l.data===n$2)v.push({type:2,index:h});else {let t=-1;for(;-1!==(t=l.data.indexOf(o$4,t+1));)v.push({type:7,index:h}),t+=o$4.length-1;}h++;}}static createElement(t,i){const s=h$1.createElement("template");return s.innerHTML=t,s}}function E(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Cl)||void 0===o?void 0:o[e]:s._$Cu;const u=d(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Cl)&&void 0!==l?l:h._$Cl=[])[e]=r:s._$Cu=r),void 0!==r&&(i=E(t,r._$AS(t,i.values),r,e)),i}class N{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:h$1).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,r=0,d=e[0];for(;void 0!==d;){if(l===d.index){let i;2===d.type?i=new S(n,n.nextSibling,this,t):1===d.type?i=new d.ctor(n,d.name,d.strings,this,t):6===d.type&&(i=new L(n,this,t)),this.v.push(i),d=e[++r];}l!==(null==d?void 0:d.index)&&(n=C.nextNode(),l++);}return o}m(t){let i=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class S{constructor(t,i,s,e){var o;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cg=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=E(this,t,i),d(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==T&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):v(t)?this.M(t):this.$(t);}A(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t));}$(t){this._$AH!==x&&d(this._$AH)?this._$AA.nextSibling.data=t:this.S(h$1.createTextNode(t)),this._$AH=t;}T(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=V.createElement(e.h,this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.m(s);else {const t=new N(o,this),i=t.p(this.options);t.m(s),this.S(i),this._$AH=t;}}_$AC(t){let i=w.get(t.strings);return void 0===i&&w.set(t.strings,i=new V(t)),i}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new S(this.A(r$1()),this.A(r$1()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class M{constructor(t,i,s,e,o){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=E(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=E(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===x?t=x:t!==x&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.k(t);}k(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class k extends M{constructor(){super(...arguments),this.type=3;}k(t){this.element[this.name]=t===x?void 0:t;}}class H extends M{constructor(){super(...arguments),this.type=4;}k(t){t&&t!==x?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name);}}class I extends M{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=E(this,t,i,0))&&void 0!==s?s:x)===T)return;const e=this._$AH,o=t===x&&e!==x||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==x&&(e===x||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class L{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t);}}const R={P:"$lit$",V:o$4,L:n$2,I:1,N:P,R:N,D:v,j:E,H:S,O:M,F:H,B:I,W:k,Z:L};null===(t$3=globalThis.litHtmlPolyfillSupport)||void 0===t$3||t$3.call(globalThis,V,S),(null!==(i$4=globalThis.litHtmlVersions)&&void 0!==i$4?i$4:globalThis.litHtmlVersions=[]).push("2.0.0");
259
+ var t$8,i$9;const s$5=globalThis.trustedTypes,e$f=s$5?s$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$b=`lit$${(Math.random()+"").slice(9)}$`,n$7="?"+o$b,l$4=`<${n$7}>`,h$4=document,r$5=(t="")=>h$4.createComment(t),d$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u$1=Array.isArray,v$1=t=>{var i;return u$1(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])},c$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a$1=/-->/g,f$1=/>/g,_$1=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,g$1=/'/g,m$1=/"/g,$$1=/^(?:script|style|textarea)$/i,p$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),y$1=p$1(1),b$1=p$1(2),T$1=Symbol.for("lit-noChange"),x$1=Symbol.for("lit-nothing"),w$1=new WeakMap,A$1=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new S$2(i.insertBefore(r$5(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l},C$1=h$4.createTreeWalker(h$4,129,null,!1),P$1=(t,i)=>{const s=t.length-1,n=[];let h,r=2===i?"<svg>":"",d=c$1;for(let i=0;i<s;i++){const s=t[i];let e,u,v=-1,p=0;for(;p<s.length&&(d.lastIndex=p,u=d.exec(s),null!==u);)p=d.lastIndex,d===c$1?"!--"===u[1]?d=a$1:void 0!==u[1]?d=f$1:void 0!==u[2]?($$1.test(u[2])&&(h=RegExp("</"+u[2],"g")),d=_$1):void 0!==u[3]&&(d=_$1):d===_$1?">"===u[0]?(d=null!=h?h:c$1,v=-1):void 0===u[1]?v=-2:(v=d.lastIndex-u[2].length,e=u[1],d=void 0===u[3]?_$1:'"'===u[3]?m$1:g$1):d===m$1||d===g$1?d=_$1:d===a$1||d===f$1?d=c$1:(d=_$1,h=void 0);const y=d===_$1&&t[i+1].startsWith("/>")?" ":"";r+=d===c$1?s+l$4:v>=0?(n.push(e),s.slice(0,v)+"$lit$"+s.slice(v)+o$b+y):s+o$b+(-2===v?(n.push(void 0),i):y);}const u=r+(t[s]||"<?>")+(2===i?"</svg>":"");return [void 0!==e$f?e$f.createHTML(u):u,n]};class V$1{constructor({strings:t,_$litType$:i},e){let l;this.parts=[];let h=0,d=0;const u=t.length-1,v=this.parts,[c,a]=P$1(t,i);if(this.el=V$1.createElement(c,e),C$1.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(l=C$1.nextNode())&&v.length<u;){if(1===l.nodeType){if(l.hasAttributes()){const t=[];for(const i of l.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(o$b)){const s=a[d++];if(t.push(i),void 0!==s){const t=l.getAttribute(s.toLowerCase()+"$lit$").split(o$b),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:h,name:i[2],strings:t,ctor:"."===i[1]?k$1:"?"===i[1]?H$1:"@"===i[1]?I$1:M$1});}else v.push({type:6,index:h});}for(const i of t)l.removeAttribute(i);}if($$1.test(l.tagName)){const t=l.textContent.split(o$b),i=t.length-1;if(i>0){l.textContent=s$5?s$5.emptyScript:"";for(let s=0;s<i;s++)l.append(t[s],r$5()),C$1.nextNode(),v.push({type:2,index:++h});l.append(t[i],r$5());}}}else if(8===l.nodeType)if(l.data===n$7)v.push({type:2,index:h});else {let t=-1;for(;-1!==(t=l.data.indexOf(o$b,t+1));)v.push({type:7,index:h}),t+=o$b.length-1;}h++;}}static createElement(t,i){const s=h$4.createElement("template");return s.innerHTML=t,s}}function E$1(t,i,s=t,e){var o,n,l,h;if(i===T$1)return i;let r=void 0!==e?null===(o=s._$Cl)||void 0===o?void 0:o[e]:s._$Cu;const u=d$1(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Cl)&&void 0!==l?l:h._$Cl=[])[e]=r:s._$Cu=r),void 0!==r&&(i=E$1(t,r._$AS(t,i.values),r,e)),i}class N$1{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:h$4).importNode(s,!0);C$1.currentNode=o;let n=C$1.nextNode(),l=0,r=0,d=e[0];for(;void 0!==d;){if(l===d.index){let i;2===d.type?i=new S$2(n,n.nextSibling,this,t):1===d.type?i=new d.ctor(n,d.name,d.strings,this,t):6===d.type&&(i=new L$1(n,this,t)),this.v.push(i),d=e[++r];}l!==(null==d?void 0:d.index)&&(n=C$1.nextNode(),l++);}return o}m(t){let i=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class S$2{constructor(t,i,s,e){var o;this.type=2,this._$AH=x$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cg=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=E$1(this,t,i),d$1(t)?t===x$1||null==t||""===t?(this._$AH!==x$1&&this._$AR(),this._$AH=x$1):t!==this._$AH&&t!==T$1&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):v$1(t)?this.M(t):this.$(t);}A(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t));}$(t){this._$AH!==x$1&&d$1(this._$AH)?this._$AA.nextSibling.data=t:this.S(h$4.createTextNode(t)),this._$AH=t;}T(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=V$1.createElement(e.h,this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.m(s);else {const t=new N$1(o,this),i=t.p(this.options);t.m(s),this.S(i),this._$AH=t;}}_$AC(t){let i=w$1.get(t.strings);return void 0===i&&w$1.set(t.strings,i=new V$1(t)),i}M(t){u$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new S$2(this.A(r$5()),this.A(r$5()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class M$1{constructor(t,i,s,e,o){this.type=1,this._$AH=x$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x$1;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=E$1(this,t,i,0),n=!d$1(t)||t!==this._$AH&&t!==T$1,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=E$1(this,e[s+l],i,l),h===T$1&&(h=this._$AH[l]),n||(n=!d$1(h)||h!==this._$AH[l]),h===x$1?t=x$1:t!==x$1&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.k(t);}k(t){t===x$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class k$1 extends M$1{constructor(){super(...arguments),this.type=3;}k(t){this.element[this.name]=t===x$1?void 0:t;}}class H$1 extends M$1{constructor(){super(...arguments),this.type=4;}k(t){t&&t!==x$1?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name);}}class I$1 extends M$1{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=E$1(this,t,i,0))&&void 0!==s?s:x$1)===T$1)return;const e=this._$AH,o=t===x$1&&e!==x$1||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==x$1&&(e===x$1||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class L$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){E$1(this,t);}}const R$1={P:"$lit$",V:o$b,L:n$7,I:1,N:P$1,R:N$1,D:v$1,j:E$1,H:S$2,O:M$1,F:H$1,B:I$1,W:k$1,Z:L$1};null===(t$8=globalThis.litHtmlPolyfillSupport)||void 0===t$8||t$8.call(globalThis,V$1,S$2),(null!==(i$9=globalThis.litHtmlVersions)&&void 0!==i$9?i$9:globalThis.litHtmlVersions=[]).push("2.0.0");
260
260
 
261
261
  /**
262
262
  * @license
263
263
  * Copyright 2017 Google LLC
264
264
  * SPDX-License-Identifier: BSD-3-Clause
265
- */var l$1,o$3,r;const s=n$3;class n$1 extends n$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=A(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1);}render(){return T}}n$1.finalized=!0,n$1._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:n$1}),null===(o$3=globalThis.litElementPolyfillSupport)||void 0===o$3||o$3.call(globalThis,{LitElement:n$1});const h={_$AK:(t,e,i)=>{t._$AK(e,i);},_$AL:t=>t._$AL};(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.0.0");
265
+ */var l$3,o$a,r$4;const s$4=n$8;class n$6 extends n$8{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=A$1(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1);}render(){return T$1}}n$6.finalized=!0,n$6._$litElement$=!0,null===(l$3=globalThis.litElementHydrateSupport)||void 0===l$3||l$3.call(globalThis,{LitElement:n$6}),null===(o$a=globalThis.litElementPolyfillSupport)||void 0===o$a||o$a.call(globalThis,{LitElement:n$6});const h$3={_$AK:(t,e,i)=>{t._$AK(e,i);},_$AL:t=>t._$AL};(null!==(r$4=globalThis.litElementVersions)&&void 0!==r$4?r$4:globalThis.litElementVersions=[]).push("3.0.0");
266
266
 
267
267
  /**
268
268
  * @license
269
269
  * Copyright 2017 Google LLC
270
270
  * SPDX-License-Identifier: BSD-3-Clause
271
271
  */
272
- const e$5=(e,t,o)=>{Object.defineProperty(t,o,e);},t$2=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),o$2=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n);}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n);}};
272
+ const e$e=(e,t,o)=>{Object.defineProperty(t,o,e);},t$7=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),o$9=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n);}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n);}};
273
273
 
274
274
  /**
275
275
  * @license
276
276
  * Copyright 2017 Google LLC
277
277
  * SPDX-License-Identifier: BSD-3-Clause
278
278
  */
279
- const n=n=>e=>"function"==typeof e?((n,e)=>(window.customElements.define(n,e),e))(n,e):((n,e)=>{const{kind:t,elements:i}=e;return {kind:t,elements:i,finisher(e){window.customElements.define(n,e);}}})(n,e);
279
+ const n$5=n=>e=>"function"==typeof e?((n,e)=>(window.customElements.define(n,e),e))(n,e):((n,e)=>{const{kind:t,elements:i}=e;return {kind:t,elements:i,finisher(e){window.customElements.define(n,e);}}})(n,e);
280
280
 
281
281
  /**
282
282
  * @license
283
283
  * Copyright 2017 Google LLC
284
284
  * SPDX-License-Identifier: BSD-3-Clause
285
285
  */
286
- const i$3=(i,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i);}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this));},finisher(n){n.createProperty(e.key,i);}};function e$4(e){return (n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i);})(e,n,t):i$3(e,n)}
286
+ const i$8=(i,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i);}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this));},finisher(n){n.createProperty(e.key,i);}};function e$d(e){return (n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i);})(e,n,t):i$8(e,n)}
287
287
 
288
288
  /**
289
289
  * @license
290
290
  * Copyright 2017 Google LLC
291
291
  * SPDX-License-Identifier: BSD-3-Clause
292
- */function t$1(t){return e$4({...t,state:!0})}
292
+ */function t$6(t){return e$d({...t,state:!0})}
293
293
 
294
294
  /**
295
295
  * @license
296
296
  * Copyright 2017 Google LLC
297
297
  * SPDX-License-Identifier: BSD-3-Clause
298
- */function e$3(e){return o$2({finisher:(r,t)=>{Object.assign(r.prototype[t],e);}})}
298
+ */function e$c(e){return o$9({finisher:(r,t)=>{Object.assign(r.prototype[t],e);}})}
299
299
 
300
300
  /**
301
301
  * @license
302
302
  * Copyright 2017 Google LLC
303
303
  * SPDX-License-Identifier: BSD-3-Clause
304
- */function i$2(i,n){return o$2({descriptor:o=>{const t={get(){var o,n;return null!==(n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(n){const n="symbol"==typeof o?Symbol():"__"+o;t.get=function(){var o,t;return void 0===this[n]&&(this[n]=null!==(t=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==t?t:null),this[n]};}return t}})}
304
+ */function i$7(i,n){return o$9({descriptor:o=>{const t={get(){var o,n;return null!==(n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(n){const n="symbol"==typeof o?Symbol():"__"+o;t.get=function(){var o,t;return void 0===this[n]&&(this[n]=null!==(t=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==t?t:null),this[n]};}return t}})}
305
305
 
306
306
  /**
307
307
  * @license
308
308
  * Copyright 2017 Google LLC
309
309
  * SPDX-License-Identifier: BSD-3-Clause
310
- */function e$2(e){return o$2({descriptor:r=>({get(){var r,o;return null!==(o=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelectorAll(e))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}
310
+ */function e$b(e){return o$9({descriptor:r=>({get(){var r,o;return null!==(o=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelectorAll(e))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}
311
311
 
312
312
  /**
313
313
  * @license
314
314
  * Copyright 2017 Google LLC
315
315
  * SPDX-License-Identifier: BSD-3-Clause
316
316
  */
317
- function e$1(e){return o$2({descriptor:r=>({async get(){var r;return await this.updateComplete,null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e)},enumerable:!0,configurable:!0})})}
317
+ function e$a(e){return o$9({descriptor:r=>({async get(){var r;return await this.updateComplete,null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e)},enumerable:!0,configurable:!0})})}
318
318
 
319
319
  /**
320
320
  * @license
321
321
  * Copyright 2017 Google LLC
322
322
  * SPDX-License-Identifier: BSD-3-Clause
323
- */function o$1(o="",n=!1,t=""){return o$2({descriptor:e=>({get(){var e,r,l;const i="slot"+(o?`[name=${o}]`:":not([name])");let u=null!==(l=null===(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(i))||void 0===r?void 0:r.assignedNodes({flatten:n}))&&void 0!==l?l:[];return t&&(u=u.filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t)))),u},enumerable:!0,configurable:!0})})}
323
+ */function o$8(o="",n=!1,t=""){return o$9({descriptor:e=>({get(){var e,r,l;const i="slot"+(o?`[name=${o}]`:":not([name])");let u=null!==(l=null===(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(i))||void 0===r?void 0:r.assignedNodes({flatten:n}))&&void 0!==l?l:[];return t&&(u=u.filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t)))),u},enumerable:!0,configurable:!0})})}
324
324
 
325
325
  /**
326
326
  * @license
@@ -1697,7 +1697,7 @@ var AnimationFrame = /** @class */ (function () {
1697
1697
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1698
1698
  * THE SOFTWARE.
1699
1699
  */
1700
- var MDCFoundation = /** @class */ (function () {
1700
+ var MDCFoundation$1 = /** @class */ (function () {
1701
1701
  function MDCFoundation(adapter) {
1702
1702
  if (adapter === void 0) { adapter = {}; }
1703
1703
  this.adapter = adapter;
@@ -1776,9 +1776,9 @@ var AnimationKeys;
1776
1776
  AnimationKeys["POLL_LAYOUT_CHANGE"] = "poll_layout_change";
1777
1777
  })(AnimationKeys || (AnimationKeys = {}));
1778
1778
  var MDCDialogFoundation = /** @class */ (function (_super) {
1779
- __extends(MDCDialogFoundation, _super);
1779
+ __extends$1(MDCDialogFoundation, _super);
1780
1780
  function MDCDialogFoundation(adapter) {
1781
- var _this = _super.call(this, __assign(__assign({}, MDCDialogFoundation.defaultAdapter), adapter)) || this;
1781
+ var _this = _super.call(this, __assign$1(__assign$1({}, MDCDialogFoundation.defaultAdapter), adapter)) || this;
1782
1782
  _this.dialogOpen = false;
1783
1783
  _this.isFullscreen = false;
1784
1784
  _this.animationFrame = 0;
@@ -2122,7 +2122,7 @@ var MDCDialogFoundation = /** @class */ (function (_super) {
2122
2122
  }
2123
2123
  };
2124
2124
  return MDCDialogFoundation;
2125
- }(MDCFoundation));
2125
+ }(MDCFoundation$1));
2126
2126
 
2127
2127
  /**
2128
2128
  * @license
@@ -2206,20 +2206,20 @@ function supportsPassiveOption(globalObj) {
2206
2206
  * @fileoverview A "ponyfill" is a polyfill that doesn't modify the global prototype chain.
2207
2207
  * This makes ponyfills safer than traditional polyfills, especially for libraries like MDC.
2208
2208
  */
2209
- function closest(element, selector) {
2209
+ function closest$1(element, selector) {
2210
2210
  if (element.closest) {
2211
2211
  return element.closest(selector);
2212
2212
  }
2213
2213
  var el = element;
2214
2214
  while (el) {
2215
- if (matches(el, selector)) {
2215
+ if (matches$1(el, selector)) {
2216
2216
  return el;
2217
2217
  }
2218
2218
  el = el.parentElement;
2219
2219
  }
2220
2220
  return null;
2221
2221
  }
2222
- function matches(element, selector) {
2222
+ function matches$1(element, selector) {
2223
2223
  var nativeMatches = element.matches
2224
2224
  || element.webkitMatchesSelector
2225
2225
  || element.msMatchesSelector;
@@ -2233,7 +2233,7 @@ function matches(element, selector) {
2233
2233
  * the element is hidden or returns the true width when the element is visble.
2234
2234
  * @param {Element} element the element whose width to estimate
2235
2235
  */
2236
- function estimateScrollWidth(element) {
2236
+ function estimateScrollWidth$1(element) {
2237
2237
  // Check the offsetParent. If the element inherits display: none from any
2238
2238
  // parent, the offsetParent property will be null (see
2239
2239
  // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).
@@ -2263,10 +2263,10 @@ function estimateScrollWidth(element) {
2263
2263
  *
2264
2264
  * @param node Node to check
2265
2265
  */
2266
- const isNodeElement = (node) => {
2266
+ const isNodeElement$1 = (node) => {
2267
2267
  return node.nodeType === Node.ELEMENT_NODE;
2268
2268
  };
2269
- function addHasRemoveClass(element) {
2269
+ function addHasRemoveClass$1(element) {
2270
2270
  return {
2271
2271
  addClass: (className) => {
2272
2272
  element.classList.add(className);
@@ -2277,21 +2277,21 @@ function addHasRemoveClass(element) {
2277
2277
  hasClass: (className) => element.classList.contains(className),
2278
2278
  };
2279
2279
  }
2280
- let supportsPassive = false;
2281
- const fn = () => { };
2282
- const optionsBlock = {
2280
+ let supportsPassive$1 = false;
2281
+ const fn$1 = () => { };
2282
+ const optionsBlock$1 = {
2283
2283
  get passive() {
2284
- supportsPassive = true;
2284
+ supportsPassive$1 = true;
2285
2285
  return false;
2286
2286
  }
2287
2287
  };
2288
- document.addEventListener('x', fn, optionsBlock);
2289
- document.removeEventListener('x', fn);
2288
+ document.addEventListener('x', fn$1, optionsBlock$1);
2289
+ document.removeEventListener('x', fn$1);
2290
2290
  /**
2291
2291
  * Do event listeners suport the `passive` option?
2292
2292
  */
2293
- const supportsPassiveEventListener = supportsPassive;
2294
- const deepActiveElementPath = (doc = window.document) => {
2293
+ const supportsPassiveEventListener$1 = supportsPassive$1;
2294
+ const deepActiveElementPath$1 = (doc = window.document) => {
2295
2295
  let activeElement = doc.activeElement;
2296
2296
  const path = [];
2297
2297
  if (!activeElement) {
@@ -2308,8 +2308,8 @@ const deepActiveElementPath = (doc = window.document) => {
2308
2308
  }
2309
2309
  return path;
2310
2310
  };
2311
- const doesElementContainFocus = (element) => {
2312
- const activePath = deepActiveElementPath();
2311
+ const doesElementContainFocus$1 = (element) => {
2312
+ const activePath = deepActiveElementPath$1();
2313
2313
  if (!activePath.length) {
2314
2314
  return false;
2315
2315
  }
@@ -2331,7 +2331,7 @@ const doesElementContainFocus = (element) => {
2331
2331
  * SPDX-License-Identifier: Apache-2.0
2332
2332
  */
2333
2333
  /** @soyCompatible */
2334
- class BaseElement extends n$1 {
2334
+ class BaseElement$1 extends n$6 {
2335
2335
  click() {
2336
2336
  if (this.mdcRoot) {
2337
2337
  this.mdcRoot.focus();
@@ -2366,7 +2366,7 @@ class BaseElement extends n$1 {
2366
2366
  * Specifies an observer callback that is run when the decorated property
2367
2367
  * changes. The observer receives the current and old value as arguments.
2368
2368
  */
2369
- const observer = (observer) =>
2369
+ const observer$1 = (observer) =>
2370
2370
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2371
2371
  (proto, propName) => {
2372
2372
  // if we haven't wrapped `updated` in this class, do so
@@ -2405,13 +2405,13 @@ const observer = (observer) =>
2405
2405
  * Copyright 2017 Google LLC
2406
2406
  * SPDX-License-Identifier: BSD-3-Clause
2407
2407
  */
2408
- const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i$1{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
2408
+ const t$5={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$9=t=>(...e)=>({_$litDirective$:t,values:e});class i$6{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
2409
2409
 
2410
2410
  /**
2411
2411
  * @license
2412
2412
  * Copyright 2018 Google LLC
2413
2413
  * SPDX-License-Identifier: BSD-3-Clause
2414
- */const o=e(class extends i$1{constructor(t$1){var i;if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||(null===(i=t$1.strings)||void 0===i?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((i=>t[i])).join(" ")+" "}update(i,[s]){var r,o;if(void 0===this.st){this.st=new Set,void 0!==i.strings&&(this.et=new Set(i.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!(null===(r=this.et)||void 0===r?void 0:r.has(t))&&this.st.add(t);return this.render(s)}const e=i.element.classList;this.st.forEach((t=>{t in s||(e.remove(t),this.st.delete(t));}));for(const t in s){const i=!!s[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(e.add(t),this.st.add(t)):(e.remove(t),this.st.delete(t)));}return T}});
2414
+ */const o$7=e$9(class extends i$6{constructor(t){var i;if(super(t),t.type!==t$5.ATTRIBUTE||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((i=>t[i])).join(" ")+" "}update(i,[s]){var r,o;if(void 0===this.st){this.st=new Set,void 0!==i.strings&&(this.et=new Set(i.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!(null===(r=this.et)||void 0===r?void 0:r.has(t))&&this.st.add(t);return this.render(s)}const e=i.element.classList;this.st.forEach((t=>{t in s||(e.remove(t),this.st.delete(t));}));for(const t in s){const i=!!s[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(e.add(t),this.st.add(t)):(e.remove(t),this.st.delete(t)));}return T$1}});
2415
2415
 
2416
2416
  /**
2417
2417
  * @license
@@ -2419,7 +2419,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
2419
2419
  * SPDX-License-Identifier: Apache-2.0
2420
2420
  */
2421
2421
  const blockingElements = document.$blockingElements;
2422
- class DialogBase extends BaseElement {
2422
+ class DialogBase extends BaseElement$1 {
2423
2423
  constructor() {
2424
2424
  super(...arguments);
2425
2425
  this.hideActions = false;
@@ -2507,16 +2507,16 @@ class DialogBase extends BaseElement {
2507
2507
  return null;
2508
2508
  }
2509
2509
  createAdapter() {
2510
- return Object.assign(Object.assign({}, addHasRemoveClass(this.mdcRoot)), { addBodyClass: () => document.body.style.overflow = 'hidden', removeBodyClass: () => document.body.style.overflow = '', areButtonsStacked: () => this.stacked, clickDefaultButton: () => {
2510
+ return Object.assign(Object.assign({}, addHasRemoveClass$1(this.mdcRoot)), { addBodyClass: () => document.body.style.overflow = 'hidden', removeBodyClass: () => document.body.style.overflow = '', areButtonsStacked: () => this.stacked, clickDefaultButton: () => {
2511
2511
  const primary = this.primaryButton;
2512
2512
  if (primary) {
2513
2513
  primary.click();
2514
2514
  }
2515
- }, eventTargetMatches: (target, selector) => target ? matches(target, selector) : false, getActionFromEvent: (e) => {
2515
+ }, eventTargetMatches: (target, selector) => target ? matches$1(target, selector) : false, getActionFromEvent: (e) => {
2516
2516
  if (!e.target) {
2517
2517
  return '';
2518
2518
  }
2519
- const element = closest(e.target, `[${this.actionAttribute}]`);
2519
+ const element = closest$1(e.target, `[${this.actionAttribute}]`);
2520
2520
  const action = element && element.getAttribute(this.actionAttribute);
2521
2521
  return action;
2522
2522
  }, getInitialFocusEl: () => {
@@ -2572,15 +2572,15 @@ class DialogBase extends BaseElement {
2572
2572
  const classes = {
2573
2573
  [cssClasses$5.STACKED]: this.stacked,
2574
2574
  };
2575
- let heading = y ``;
2575
+ let heading = y$1 ``;
2576
2576
  if (this.heading) {
2577
2577
  heading = this.renderHeading();
2578
2578
  }
2579
2579
  const actionsClasses = {
2580
2580
  'mdc-dialog__actions': !this.hideActions,
2581
2581
  };
2582
- return y `
2583
- <div class="mdc-dialog ${o(classes)}"
2582
+ return y$1 `
2583
+ <div class="mdc-dialog ${o$7(classes)}"
2584
2584
  role="alertdialog"
2585
2585
  aria-modal="true"
2586
2586
  aria-labelledby="title"
@@ -2593,7 +2593,7 @@ class DialogBase extends BaseElement {
2593
2593
  </div>
2594
2594
  <footer
2595
2595
  id="actions"
2596
- class="${o(actionsClasses)}">
2596
+ class="${o$7(actionsClasses)}">
2597
2597
  <span>
2598
2598
  <slot name="secondaryAction"></slot>
2599
2599
  </span>
@@ -2607,7 +2607,7 @@ class DialogBase extends BaseElement {
2607
2607
  </div>`;
2608
2608
  }
2609
2609
  renderHeading() {
2610
- return y `
2610
+ return y$1 `
2611
2611
  <h2 id="title" class="mdc-dialog__title">${this.heading}</h2>`;
2612
2612
  }
2613
2613
  firstUpdated() {
@@ -2712,51 +2712,51 @@ class DialogBase extends BaseElement {
2712
2712
  this.open = true;
2713
2713
  }
2714
2714
  }
2715
- __decorate([
2716
- i$2('.mdc-dialog')
2715
+ __decorate$1([
2716
+ i$7('.mdc-dialog')
2717
2717
  ], DialogBase.prototype, "mdcRoot", void 0);
2718
- __decorate([
2719
- i$2('slot[name="primaryAction"]')
2718
+ __decorate$1([
2719
+ i$7('slot[name="primaryAction"]')
2720
2720
  ], DialogBase.prototype, "primarySlot", void 0);
2721
- __decorate([
2722
- i$2('slot[name="secondaryAction"]')
2721
+ __decorate$1([
2722
+ i$7('slot[name="secondaryAction"]')
2723
2723
  ], DialogBase.prototype, "secondarySlot", void 0);
2724
- __decorate([
2725
- i$2('#contentSlot')
2724
+ __decorate$1([
2725
+ i$7('#contentSlot')
2726
2726
  ], DialogBase.prototype, "contentSlot", void 0);
2727
- __decorate([
2728
- i$2('.mdc-dialog__content')
2727
+ __decorate$1([
2728
+ i$7('.mdc-dialog__content')
2729
2729
  ], DialogBase.prototype, "contentElement", void 0);
2730
- __decorate([
2731
- i$2('.mdc-container')
2730
+ __decorate$1([
2731
+ i$7('.mdc-container')
2732
2732
  ], DialogBase.prototype, "conatinerElement", void 0);
2733
- __decorate([
2734
- e$4({ type: Boolean })
2733
+ __decorate$1([
2734
+ e$d({ type: Boolean })
2735
2735
  ], DialogBase.prototype, "hideActions", void 0);
2736
- __decorate([
2737
- e$4({ type: Boolean }),
2738
- observer(function () {
2736
+ __decorate$1([
2737
+ e$d({ type: Boolean }),
2738
+ observer$1(function () {
2739
2739
  this.forceLayout();
2740
2740
  })
2741
2741
  ], DialogBase.prototype, "stacked", void 0);
2742
- __decorate([
2743
- e$4({ type: String })
2742
+ __decorate$1([
2743
+ e$d({ type: String })
2744
2744
  ], DialogBase.prototype, "heading", void 0);
2745
- __decorate([
2746
- e$4({ type: String }),
2747
- observer(function (newAction) {
2745
+ __decorate$1([
2746
+ e$d({ type: String }),
2747
+ observer$1(function (newAction) {
2748
2748
  this.mdcFoundation.setScrimClickAction(newAction);
2749
2749
  })
2750
2750
  ], DialogBase.prototype, "scrimClickAction", void 0);
2751
- __decorate([
2752
- e$4({ type: String }),
2753
- observer(function (newAction) {
2751
+ __decorate$1([
2752
+ e$d({ type: String }),
2753
+ observer$1(function (newAction) {
2754
2754
  this.mdcFoundation.setEscapeKeyAction(newAction);
2755
2755
  })
2756
2756
  ], DialogBase.prototype, "escapeKeyAction", void 0);
2757
- __decorate([
2758
- e$4({ type: Boolean, reflect: true }),
2759
- observer(function (isOpen) {
2757
+ __decorate$1([
2758
+ e$d({ type: Boolean, reflect: true }),
2759
+ observer$1(function (isOpen) {
2760
2760
  // Check isConnected because we could have been disconnected before first
2761
2761
  // update. If we're now closed, then we shouldn't start the MDC foundation
2762
2762
  // opening animation. If we're now closed, then we've already closed the
@@ -2774,14 +2774,14 @@ __decorate([
2774
2774
  }
2775
2775
  })
2776
2776
  ], DialogBase.prototype, "open", void 0);
2777
- __decorate([
2778
- e$4()
2777
+ __decorate$1([
2778
+ e$d()
2779
2779
  ], DialogBase.prototype, "defaultAction", void 0);
2780
- __decorate([
2781
- e$4()
2780
+ __decorate$1([
2781
+ e$d()
2782
2782
  ], DialogBase.prototype, "actionAttribute", void 0);
2783
- __decorate([
2784
- e$4()
2783
+ __decorate$1([
2784
+ e$d()
2785
2785
  ], DialogBase.prototype, "initialFocusAttribute", void 0);
2786
2786
 
2787
2787
  /**
@@ -2789,7 +2789,7 @@ __decorate([
2789
2789
  * Copyright 2021 Google LLC
2790
2790
  * SPDX-LIcense-Identifier: Apache-2.0
2791
2791
  */
2792
- const styles$7 = r$3 `.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}@media(max-width: 960px)and (max-height: 1440px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;max-width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 1023px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:calc(100vw - 112px)}}@media(max-width: 720px)and (max-height: 1023px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:560px}}@media(max-width: 720px)and (max-height: 1023px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (max-height: 1023px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px)and (max-height: 1023px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100%;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px)and (max-height: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px)and (min-height: 1440px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){margin-left:0;margin-right:8px}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:.000000001px;margin-top:12px}`;
2792
+ const styles$7 = r$7 `.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}@media(max-width: 960px)and (max-height: 1440px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;max-width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 1023px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:calc(100vw - 112px)}}@media(max-width: 720px)and (max-height: 1023px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:560px}}@media(max-width: 720px)and (max-height: 1023px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (max-height: 1023px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px)and (max-height: 1023px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100%;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px)and (max-height: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px)and (min-height: 1440px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){margin-left:0;margin-right:8px}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:.000000001px;margin-top:12px}`;
2793
2793
 
2794
2794
  /**
2795
2795
  * @license
@@ -2799,170 +2799,750 @@ const styles$7 = r$3 `.mdc-dialog .mdc-dialog__surface{background-color:#fff;bac
2799
2799
  let Dialog = class Dialog extends DialogBase {
2800
2800
  };
2801
2801
  Dialog.styles = [styles$7];
2802
- Dialog = __decorate([
2803
- n('mwc-dialog')
2802
+ Dialog = __decorate$1([
2803
+ n$5('mwc-dialog')
2804
2804
  ], Dialog);
2805
2805
 
2806
- /**
2807
- * @license
2808
- * Copyright 2016 Google Inc.
2809
- *
2810
- * Permission is hereby granted, free of charge, to any person obtaining a copy
2811
- * of this software and associated documentation files (the "Software"), to deal
2812
- * in the Software without restriction, including without limitation the rights
2813
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2814
- * copies of the Software, and to permit persons to whom the Software is
2815
- * furnished to do so, subject to the following conditions:
2816
- *
2817
- * The above copyright notice and this permission notice shall be included in
2818
- * all copies or substantial portions of the Software.
2819
- *
2820
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2821
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2822
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2823
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2824
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2825
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2826
- * THE SOFTWARE.
2827
- */
2828
- var cssClasses$4 = {
2829
- // Ripple is a special case where the "root" component is really a "mixin" of sorts,
2830
- // given that it's an 'upgrade' to an existing component. That being said it is the root
2831
- // CSS class that all other CSS classes derive from.
2832
- BG_FOCUSED: 'mdc-ripple-upgraded--background-focused',
2833
- FG_ACTIVATION: 'mdc-ripple-upgraded--foreground-activation',
2834
- FG_DEACTIVATION: 'mdc-ripple-upgraded--foreground-deactivation',
2835
- ROOT: 'mdc-ripple-upgraded',
2836
- UNBOUNDED: 'mdc-ripple-upgraded--unbounded',
2837
- };
2838
- var strings$5 = {
2839
- VAR_FG_SCALE: '--mdc-ripple-fg-scale',
2840
- VAR_FG_SIZE: '--mdc-ripple-fg-size',
2841
- VAR_FG_TRANSLATE_END: '--mdc-ripple-fg-translate-end',
2842
- VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start',
2843
- VAR_LEFT: '--mdc-ripple-left',
2844
- VAR_TOP: '--mdc-ripple-top',
2845
- };
2846
- var numbers$2 = {
2847
- DEACTIVATION_TIMEOUT_MS: 225,
2848
- FG_DEACTIVATION_MS: 150,
2849
- INITIAL_ORIGIN_SCALE: 0.6,
2850
- PADDING: 10,
2851
- TAP_DELAY_MS: 300, // Delay between touch and simulated mouse events on touch devices
2852
- };
2853
-
2854
- /**
2855
- * Stores result from supportsCssVariables to avoid redundant processing to
2856
- * detect CSS custom variable support.
2857
- */
2858
- var supportsCssVariables_;
2859
- function supportsCssVariables(windowObj, forceRefresh) {
2860
- if (forceRefresh === void 0) { forceRefresh = false; }
2861
- var CSS = windowObj.CSS;
2862
- var supportsCssVars = supportsCssVariables_;
2863
- if (typeof supportsCssVariables_ === 'boolean' && !forceRefresh) {
2864
- return supportsCssVariables_;
2865
- }
2866
- var supportsFunctionPresent = CSS && typeof CSS.supports === 'function';
2867
- if (!supportsFunctionPresent) {
2868
- return false;
2869
- }
2870
- var explicitlySupportsCssVars = CSS.supports('--css-vars', 'yes');
2871
- // See: https://bugs.webkit.org/show_bug.cgi?id=154669
2872
- // See: README section on Safari
2873
- var weAreFeatureDetectingSafari10plus = (CSS.supports('(--css-vars: yes)') &&
2874
- CSS.supports('color', '#00000000'));
2875
- supportsCssVars =
2876
- explicitlySupportsCssVars || weAreFeatureDetectingSafari10plus;
2877
- if (!forceRefresh) {
2878
- supportsCssVariables_ = supportsCssVars;
2879
- }
2880
- return supportsCssVars;
2881
- }
2882
- function getNormalizedEventCoords(evt, pageOffset, clientRect) {
2883
- if (!evt) {
2884
- return { x: 0, y: 0 };
2885
- }
2886
- var x = pageOffset.x, y = pageOffset.y;
2887
- var documentX = x + clientRect.left;
2888
- var documentY = y + clientRect.top;
2889
- var normalizedX;
2890
- var normalizedY;
2891
- // Determine touch point relative to the ripple container.
2892
- if (evt.type === 'touchstart') {
2893
- var touchEvent = evt;
2894
- normalizedX = touchEvent.changedTouches[0].pageX - documentX;
2895
- normalizedY = touchEvent.changedTouches[0].pageY - documentY;
2896
- }
2897
- else {
2898
- var mouseEvent = evt;
2899
- normalizedX = mouseEvent.pageX - documentX;
2900
- normalizedY = mouseEvent.pageY - documentY;
2901
- }
2902
- return { x: normalizedX, y: normalizedY };
2903
- }
2904
-
2905
- /**
2906
- * @license
2907
- * Copyright 2016 Google Inc.
2908
- *
2909
- * Permission is hereby granted, free of charge, to any person obtaining a copy
2910
- * of this software and associated documentation files (the "Software"), to deal
2911
- * in the Software without restriction, including without limitation the rights
2912
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2913
- * copies of the Software, and to permit persons to whom the Software is
2914
- * furnished to do so, subject to the following conditions:
2915
- *
2916
- * The above copyright notice and this permission notice shall be included in
2917
- * all copies or substantial portions of the Software.
2918
- *
2919
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2920
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2921
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2922
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2923
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2924
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2925
- * THE SOFTWARE.
2926
- */
2927
- // Activation events registered on the root element of each instance for activation
2928
- var ACTIVATION_EVENT_TYPES = [
2929
- 'touchstart', 'pointerdown', 'mousedown', 'keydown',
2930
- ];
2931
- // Deactivation events registered on documentElement when a pointer-related down event occurs
2932
- var POINTER_DEACTIVATION_EVENT_TYPES = [
2933
- 'touchend', 'pointerup', 'mouseup', 'contextmenu',
2934
- ];
2935
- // simultaneous nested activations
2936
- var activatedTargets = [];
2937
- var MDCRippleFoundation = /** @class */ (function (_super) {
2938
- __extends(MDCRippleFoundation, _super);
2939
- function MDCRippleFoundation(adapter) {
2940
- var _this = _super.call(this, __assign(__assign({}, MDCRippleFoundation.defaultAdapter), adapter)) || this;
2941
- _this.activationAnimationHasEnded = false;
2942
- _this.activationTimer = 0;
2943
- _this.fgDeactivationRemovalTimer = 0;
2944
- _this.fgScale = '0';
2945
- _this.frame = { width: 0, height: 0 };
2946
- _this.initialSize = 0;
2947
- _this.layoutFrame = 0;
2948
- _this.maxRadius = 0;
2949
- _this.unboundedCoords = { left: 0, top: 0 };
2950
- _this.activationState = _this.defaultActivationState();
2951
- _this.activationTimerCallback = function () {
2952
- _this.activationAnimationHasEnded = true;
2953
- _this.runDeactivationUXLogicIfReady();
2954
- };
2955
- _this.activateHandler = function (e) {
2956
- _this.activateImpl(e);
2957
- };
2958
- _this.deactivateHandler = function () {
2959
- _this.deactivateImpl();
2960
- };
2961
- _this.focusHandler = function () {
2962
- _this.handleFocus();
2963
- };
2964
- _this.blurHandler = function () {
2965
- _this.handleBlur();
2806
+ /*! *****************************************************************************
2807
+ Copyright (c) Microsoft Corporation.
2808
+
2809
+ Permission to use, copy, modify, and/or distribute this software for any
2810
+ purpose with or without fee is hereby granted.
2811
+
2812
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2813
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2814
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2815
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2816
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2817
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2818
+ PERFORMANCE OF THIS SOFTWARE.
2819
+ ***************************************************************************** */
2820
+ /* global Reflect, Promise */
2821
+
2822
+ var extendStatics = function(d, b) {
2823
+ extendStatics = Object.setPrototypeOf ||
2824
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2825
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
2826
+ return extendStatics(d, b);
2827
+ };
2828
+
2829
+ function __extends(d, b) {
2830
+ if (typeof b !== "function" && b !== null)
2831
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2832
+ extendStatics(d, b);
2833
+ function __() { this.constructor = d; }
2834
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2835
+ }
2836
+
2837
+ var __assign = function() {
2838
+ __assign = Object.assign || function __assign(t) {
2839
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
2840
+ s = arguments[i];
2841
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
2842
+ }
2843
+ return t;
2844
+ };
2845
+ return __assign.apply(this, arguments);
2846
+ };
2847
+
2848
+ function __rest(s, e) {
2849
+ var t = {};
2850
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2851
+ t[p] = s[p];
2852
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
2853
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2854
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
2855
+ t[p[i]] = s[p[i]];
2856
+ }
2857
+ return t;
2858
+ }
2859
+
2860
+ function __decorate(decorators, target, key, desc) {
2861
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2862
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2863
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2864
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2865
+ }
2866
+
2867
+ function __param(paramIndex, decorator) {
2868
+ return function (target, key) { decorator(target, key, paramIndex); }
2869
+ }
2870
+
2871
+ function __metadata(metadataKey, metadataValue) {
2872
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
2873
+ }
2874
+
2875
+ function __awaiter(thisArg, _arguments, P, generator) {
2876
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
2877
+ return new (P || (P = Promise))(function (resolve, reject) {
2878
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
2879
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
2880
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
2881
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
2882
+ });
2883
+ }
2884
+
2885
+ function __generator(thisArg, body) {
2886
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
2887
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
2888
+ function verb(n) { return function (v) { return step([n, v]); }; }
2889
+ function step(op) {
2890
+ if (f) throw new TypeError("Generator is already executing.");
2891
+ while (_) try {
2892
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
2893
+ if (y = 0, t) op = [op[0] & 2, t.value];
2894
+ switch (op[0]) {
2895
+ case 0: case 1: t = op; break;
2896
+ case 4: _.label++; return { value: op[1], done: false };
2897
+ case 5: _.label++; y = op[1]; op = [0]; continue;
2898
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
2899
+ default:
2900
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
2901
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
2902
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
2903
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
2904
+ if (t[2]) _.ops.pop();
2905
+ _.trys.pop(); continue;
2906
+ }
2907
+ op = body.call(thisArg, _);
2908
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
2909
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
2910
+ }
2911
+ }
2912
+
2913
+ var __createBinding = Object.create ? (function(o, m, k, k2) {
2914
+ if (k2 === undefined) k2 = k;
2915
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
2916
+ }) : (function(o, m, k, k2) {
2917
+ if (k2 === undefined) k2 = k;
2918
+ o[k2] = m[k];
2919
+ });
2920
+
2921
+ function __exportStar(m, o) {
2922
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
2923
+ }
2924
+
2925
+ function __values(o) {
2926
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
2927
+ if (m) return m.call(o);
2928
+ if (o && typeof o.length === "number") return {
2929
+ next: function () {
2930
+ if (o && i >= o.length) o = void 0;
2931
+ return { value: o && o[i++], done: !o };
2932
+ }
2933
+ };
2934
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
2935
+ }
2936
+
2937
+ function __read(o, n) {
2938
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
2939
+ if (!m) return o;
2940
+ var i = m.call(o), r, ar = [], e;
2941
+ try {
2942
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
2943
+ }
2944
+ catch (error) { e = { error: error }; }
2945
+ finally {
2946
+ try {
2947
+ if (r && !r.done && (m = i["return"])) m.call(i);
2948
+ }
2949
+ finally { if (e) throw e.error; }
2950
+ }
2951
+ return ar;
2952
+ }
2953
+
2954
+ /** @deprecated */
2955
+ function __spread() {
2956
+ for (var ar = [], i = 0; i < arguments.length; i++)
2957
+ ar = ar.concat(__read(arguments[i]));
2958
+ return ar;
2959
+ }
2960
+
2961
+ /** @deprecated */
2962
+ function __spreadArrays() {
2963
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
2964
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
2965
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
2966
+ r[k] = a[j];
2967
+ return r;
2968
+ }
2969
+
2970
+ function __spreadArray(to, from, pack) {
2971
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
2972
+ if (ar || !(i in from)) {
2973
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
2974
+ ar[i] = from[i];
2975
+ }
2976
+ }
2977
+ return to.concat(ar || Array.prototype.slice.call(from));
2978
+ }
2979
+
2980
+ function __await(v) {
2981
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
2982
+ }
2983
+
2984
+ function __asyncGenerator(thisArg, _arguments, generator) {
2985
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
2986
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
2987
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
2988
+ function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
2989
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
2990
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
2991
+ function fulfill(value) { resume("next", value); }
2992
+ function reject(value) { resume("throw", value); }
2993
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
2994
+ }
2995
+
2996
+ function __asyncDelegator(o) {
2997
+ var i, p;
2998
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
2999
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
3000
+ }
3001
+
3002
+ function __asyncValues(o) {
3003
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3004
+ var m = o[Symbol.asyncIterator], i;
3005
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
3006
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
3007
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
3008
+ }
3009
+
3010
+ function __makeTemplateObject(cooked, raw) {
3011
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3012
+ return cooked;
3013
+ };
3014
+
3015
+ var __setModuleDefault = Object.create ? (function(o, v) {
3016
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
3017
+ }) : function(o, v) {
3018
+ o["default"] = v;
3019
+ };
3020
+
3021
+ function __importStar(mod) {
3022
+ if (mod && mod.__esModule) return mod;
3023
+ var result = {};
3024
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
3025
+ __setModuleDefault(result, mod);
3026
+ return result;
3027
+ }
3028
+
3029
+ function __importDefault(mod) {
3030
+ return (mod && mod.__esModule) ? mod : { default: mod };
3031
+ }
3032
+
3033
+ function __classPrivateFieldGet(receiver, state, kind, f) {
3034
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3035
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
3036
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
3037
+ }
3038
+
3039
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
3040
+ if (kind === "m") throw new TypeError("Private method is not writable");
3041
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
3042
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
3043
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
3044
+ }
3045
+
3046
+ /**
3047
+ * @license
3048
+ * Copyright 2019 Google LLC
3049
+ * SPDX-License-Identifier: BSD-3-Clause
3050
+ */
3051
+ const t$4=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$4=new Map;class s$3{constructor(t,n){if(this._$cssResult$=!0,n!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t;}get styleSheet(){let e=n$4.get(this.cssText);return t$4&&void 0===e&&(n$4.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const o$6=t=>new s$3("string"==typeof t?t:t+"",e$8),r$3=(t,...n)=>{const o=1===t.length?t[0]:n.reduce(((e,n,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[s+1]),t[0]);return new s$3(o,e$8)},i$5=(e,n)=>{t$4?e.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((t=>{const n=document.createElement("style"),s=window.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=t.cssText,e.appendChild(n);}));},S$1=t$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return o$6(e)})(t):t;
3052
+
3053
+ /**
3054
+ * @license
3055
+ * Copyright 2017 Google LLC
3056
+ * SPDX-License-Identifier: BSD-3-Clause
3057
+ */var s$2,e$7;const r$2={toAttribute(t,i){switch(i){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},h$2=(t,i)=>i!==t&&(i==i||t==t),o$5={attribute:!0,type:String,converter:r$2,reflect:!1,hasChanged:h$2};class n$3 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o();}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Eh(s,i);void 0!==e&&(this._$Eu.set(e,s),t.push(e));})),t}static createProperty(t,i=o$5){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||o$5}static finalize(){if(this.hasOwnProperty("finalized"))return !1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(S$1(i));}else void 0!==i&&s.push(S$1(i));return s}static _$Eh(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$Em)&&void 0!==i?i:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$Em)||void 0===i||i.splice(this._$Em.indexOf(t)>>>0,1);}_$Ep(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i$5(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$Eg(t,i,s=o$5){var e,h;const n=this.constructor._$Eh(t,s);if(void 0!==n&&!0===s.reflect){const o=(null!==(h=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==h?h:r$2.toAttribute)(i,s.type);this._$Ei=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$Ei=null;}}_$AK(t,i){var s,e,h;const o=this.constructor,n=o._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=o.getPropertyOptions(n),l=t.converter,a=null!==(h=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:"function"==typeof l?l:null)&&void 0!==h?h:r$2.fromAttribute;this._$Ei=n,this[n]=a(i,t.type),this._$Ei=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||h$2)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$Ev=this._$EC());}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$Em)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$ET();}catch(t){throw i=!1,this._$ET(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$Em)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$ET(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return !0}update(t){void 0!==this._$ES&&(this._$ES.forEach(((t,i)=>this._$Eg(i,this[i],t))),this._$ES=void 0),this._$ET();}updated(t){}firstUpdated(t){}}n$3.finalized=!0,n$3.elementProperties=new Map,n$3.elementStyles=[],n$3.shadowRootOptions={mode:"open"},null===(s$2=globalThis.reactiveElementPolyfillSupport)||void 0===s$2||s$2.call(globalThis,{ReactiveElement:n$3}),(null!==(e$7=globalThis.reactiveElementVersions)&&void 0!==e$7?e$7:globalThis.reactiveElementVersions=[]).push("1.0.0");
3058
+
3059
+ /**
3060
+ * @license
3061
+ * Copyright 2017 Google LLC
3062
+ * SPDX-License-Identifier: BSD-3-Clause
3063
+ */
3064
+ var t$3,i$4;const s$1=globalThis.trustedTypes,e$6=s$1?s$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$4=`lit$${(Math.random()+"").slice(9)}$`,n$2="?"+o$4,l$2=`<${n$2}>`,h$1=document,r$1=(t="")=>h$1.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,v=t=>{var i;return u(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a=/-->/g,f=/>/g,_=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,g=/'/g,m=/"/g,$=/^(?:script|style|textarea)$/i,p=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),y=p(1),b=p(2),T=Symbol.for("lit-noChange"),x=Symbol.for("lit-nothing"),w=new WeakMap,A=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new S(i.insertBefore(r$1(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l},C=h$1.createTreeWalker(h$1,129,null,!1),P=(t,i)=>{const s=t.length-1,n=[];let h,r=2===i?"<svg>":"",d=c;for(let i=0;i<s;i++){const s=t[i];let e,u,v=-1,p=0;for(;p<s.length&&(d.lastIndex=p,u=d.exec(s),null!==u);)p=d.lastIndex,d===c?"!--"===u[1]?d=a:void 0!==u[1]?d=f:void 0!==u[2]?($.test(u[2])&&(h=RegExp("</"+u[2],"g")),d=_):void 0!==u[3]&&(d=_):d===_?">"===u[0]?(d=null!=h?h:c,v=-1):void 0===u[1]?v=-2:(v=d.lastIndex-u[2].length,e=u[1],d=void 0===u[3]?_:'"'===u[3]?m:g):d===m||d===g?d=_:d===a||d===f?d=c:(d=_,h=void 0);const y=d===_&&t[i+1].startsWith("/>")?" ":"";r+=d===c?s+l$2:v>=0?(n.push(e),s.slice(0,v)+"$lit$"+s.slice(v)+o$4+y):s+o$4+(-2===v?(n.push(void 0),i):y);}const u=r+(t[s]||"<?>")+(2===i?"</svg>":"");return [void 0!==e$6?e$6.createHTML(u):u,n]};class V{constructor({strings:t,_$litType$:i},e){let l;this.parts=[];let h=0,d=0;const u=t.length-1,v=this.parts,[c,a]=P(t,i);if(this.el=V.createElement(c,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(l=C.nextNode())&&v.length<u;){if(1===l.nodeType){if(l.hasAttributes()){const t=[];for(const i of l.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(o$4)){const s=a[d++];if(t.push(i),void 0!==s){const t=l.getAttribute(s.toLowerCase()+"$lit$").split(o$4),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:h,name:i[2],strings:t,ctor:"."===i[1]?k:"?"===i[1]?H:"@"===i[1]?I:M});}else v.push({type:6,index:h});}for(const i of t)l.removeAttribute(i);}if($.test(l.tagName)){const t=l.textContent.split(o$4),i=t.length-1;if(i>0){l.textContent=s$1?s$1.emptyScript:"";for(let s=0;s<i;s++)l.append(t[s],r$1()),C.nextNode(),v.push({type:2,index:++h});l.append(t[i],r$1());}}}else if(8===l.nodeType)if(l.data===n$2)v.push({type:2,index:h});else {let t=-1;for(;-1!==(t=l.data.indexOf(o$4,t+1));)v.push({type:7,index:h}),t+=o$4.length-1;}h++;}}static createElement(t,i){const s=h$1.createElement("template");return s.innerHTML=t,s}}function E(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Cl)||void 0===o?void 0:o[e]:s._$Cu;const u=d(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Cl)&&void 0!==l?l:h._$Cl=[])[e]=r:s._$Cu=r),void 0!==r&&(i=E(t,r._$AS(t,i.values),r,e)),i}class N{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:h$1).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,r=0,d=e[0];for(;void 0!==d;){if(l===d.index){let i;2===d.type?i=new S(n,n.nextSibling,this,t):1===d.type?i=new d.ctor(n,d.name,d.strings,this,t):6===d.type&&(i=new L(n,this,t)),this.v.push(i),d=e[++r];}l!==(null==d?void 0:d.index)&&(n=C.nextNode(),l++);}return o}m(t){let i=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class S{constructor(t,i,s,e){var o;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cg=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=E(this,t,i),d(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==T&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):v(t)?this.M(t):this.$(t);}A(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t));}$(t){this._$AH!==x&&d(this._$AH)?this._$AA.nextSibling.data=t:this.S(h$1.createTextNode(t)),this._$AH=t;}T(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=V.createElement(e.h,this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.m(s);else {const t=new N(o,this),i=t.p(this.options);t.m(s),this.S(i),this._$AH=t;}}_$AC(t){let i=w.get(t.strings);return void 0===i&&w.set(t.strings,i=new V(t)),i}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new S(this.A(r$1()),this.A(r$1()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class M{constructor(t,i,s,e,o){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=E(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=E(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===x?t=x:t!==x&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.k(t);}k(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class k extends M{constructor(){super(...arguments),this.type=3;}k(t){this.element[this.name]=t===x?void 0:t;}}class H extends M{constructor(){super(...arguments),this.type=4;}k(t){t&&t!==x?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name);}}class I extends M{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=E(this,t,i,0))&&void 0!==s?s:x)===T)return;const e=this._$AH,o=t===x&&e!==x||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==x&&(e===x||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class L{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t);}}const R={P:"$lit$",V:o$4,L:n$2,I:1,N:P,R:N,D:v,j:E,H:S,O:M,F:H,B:I,W:k,Z:L};null===(t$3=globalThis.litHtmlPolyfillSupport)||void 0===t$3||t$3.call(globalThis,V,S),(null!==(i$4=globalThis.litHtmlVersions)&&void 0!==i$4?i$4:globalThis.litHtmlVersions=[]).push("2.0.0");
3065
+
3066
+ /**
3067
+ * @license
3068
+ * Copyright 2017 Google LLC
3069
+ * SPDX-License-Identifier: BSD-3-Clause
3070
+ */var l$1,o$3,r;const s=n$3;class n$1 extends n$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=A(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1);}render(){return T}}n$1.finalized=!0,n$1._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:n$1}),null===(o$3=globalThis.litElementPolyfillSupport)||void 0===o$3||o$3.call(globalThis,{LitElement:n$1});const h={_$AK:(t,e,i)=>{t._$AK(e,i);},_$AL:t=>t._$AL};(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.0.0");
3071
+
3072
+ /**
3073
+ * @license
3074
+ * Copyright 2017 Google LLC
3075
+ * SPDX-License-Identifier: BSD-3-Clause
3076
+ */
3077
+ const e$5=(e,t,o)=>{Object.defineProperty(t,o,e);},t$2=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),o$2=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n);}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n);}};
3078
+
3079
+ /**
3080
+ * @license
3081
+ * Copyright 2017 Google LLC
3082
+ * SPDX-License-Identifier: BSD-3-Clause
3083
+ */
3084
+ const n=n=>e=>"function"==typeof e?((n,e)=>(window.customElements.define(n,e),e))(n,e):((n,e)=>{const{kind:t,elements:i}=e;return {kind:t,elements:i,finisher(e){window.customElements.define(n,e);}}})(n,e);
3085
+
3086
+ /**
3087
+ * @license
3088
+ * Copyright 2017 Google LLC
3089
+ * SPDX-License-Identifier: BSD-3-Clause
3090
+ */
3091
+ const i$3=(i,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i);}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this));},finisher(n){n.createProperty(e.key,i);}};function e$4(e){return (n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i);})(e,n,t):i$3(e,n)}
3092
+
3093
+ /**
3094
+ * @license
3095
+ * Copyright 2017 Google LLC
3096
+ * SPDX-License-Identifier: BSD-3-Clause
3097
+ */function t$1(t){return e$4({...t,state:!0})}
3098
+
3099
+ /**
3100
+ * @license
3101
+ * Copyright 2017 Google LLC
3102
+ * SPDX-License-Identifier: BSD-3-Clause
3103
+ */function e$3(e){return o$2({finisher:(r,t)=>{Object.assign(r.prototype[t],e);}})}
3104
+
3105
+ /**
3106
+ * @license
3107
+ * Copyright 2017 Google LLC
3108
+ * SPDX-License-Identifier: BSD-3-Clause
3109
+ */function i$2(i,n){return o$2({descriptor:o=>{const t={get(){var o,n;return null!==(n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(n){const n="symbol"==typeof o?Symbol():"__"+o;t.get=function(){var o,t;return void 0===this[n]&&(this[n]=null!==(t=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==t?t:null),this[n]};}return t}})}
3110
+
3111
+ /**
3112
+ * @license
3113
+ * Copyright 2017 Google LLC
3114
+ * SPDX-License-Identifier: BSD-3-Clause
3115
+ */function e$2(e){return o$2({descriptor:r=>({get(){var r,o;return null!==(o=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelectorAll(e))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}
3116
+
3117
+ /**
3118
+ * @license
3119
+ * Copyright 2017 Google LLC
3120
+ * SPDX-License-Identifier: BSD-3-Clause
3121
+ */
3122
+ function e$1(e){return o$2({descriptor:r=>({async get(){var r;return await this.updateComplete,null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e)},enumerable:!0,configurable:!0})})}
3123
+
3124
+ /**
3125
+ * @license
3126
+ * Copyright 2017 Google LLC
3127
+ * SPDX-License-Identifier: BSD-3-Clause
3128
+ */function o$1(o="",n=!1,t=""){return o$2({descriptor:e=>({get(){var e,r,l;const i="slot"+(o?`[name=${o}]`:":not([name])");let u=null!==(l=null===(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(i))||void 0===r?void 0:r.assignedNodes({flatten:n}))&&void 0!==l?l:[];return t&&(u=u.filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.matches(t)))),u},enumerable:!0,configurable:!0})})}
3129
+
3130
+ /**
3131
+ * @license
3132
+ * Copyright 2017 Google LLC
3133
+ * SPDX-License-Identifier: BSD-3-Clause
3134
+ */console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.");
3135
+
3136
+ /**
3137
+ * @license
3138
+ * Copyright 2018 Google Inc.
3139
+ *
3140
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
3141
+ * of this software and associated documentation files (the "Software"), to deal
3142
+ * in the Software without restriction, including without limitation the rights
3143
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3144
+ * copies of the Software, and to permit persons to whom the Software is
3145
+ * furnished to do so, subject to the following conditions:
3146
+ *
3147
+ * The above copyright notice and this permission notice shall be included in
3148
+ * all copies or substantial portions of the Software.
3149
+ *
3150
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3151
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3152
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3153
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3154
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3155
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3156
+ * THE SOFTWARE.
3157
+ */
3158
+ /**
3159
+ * @fileoverview A "ponyfill" is a polyfill that doesn't modify the global prototype chain.
3160
+ * This makes ponyfills safer than traditional polyfills, especially for libraries like MDC.
3161
+ */
3162
+ function closest(element, selector) {
3163
+ if (element.closest) {
3164
+ return element.closest(selector);
3165
+ }
3166
+ var el = element;
3167
+ while (el) {
3168
+ if (matches(el, selector)) {
3169
+ return el;
3170
+ }
3171
+ el = el.parentElement;
3172
+ }
3173
+ return null;
3174
+ }
3175
+ function matches(element, selector) {
3176
+ var nativeMatches = element.matches
3177
+ || element.webkitMatchesSelector
3178
+ || element.msMatchesSelector;
3179
+ return nativeMatches.call(element, selector);
3180
+ }
3181
+ /**
3182
+ * Used to compute the estimated scroll width of elements. When an element is
3183
+ * hidden due to display: none; being applied to a parent element, the width is
3184
+ * returned as 0. However, the element will have a true width once no longer
3185
+ * inside a display: none context. This method computes an estimated width when
3186
+ * the element is hidden or returns the true width when the element is visble.
3187
+ * @param {Element} element the element whose width to estimate
3188
+ */
3189
+ function estimateScrollWidth(element) {
3190
+ // Check the offsetParent. If the element inherits display: none from any
3191
+ // parent, the offsetParent property will be null (see
3192
+ // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).
3193
+ // This check ensures we only clone the node when necessary.
3194
+ var htmlEl = element;
3195
+ if (htmlEl.offsetParent !== null) {
3196
+ return htmlEl.scrollWidth;
3197
+ }
3198
+ var clone = htmlEl.cloneNode(true);
3199
+ clone.style.setProperty('position', 'absolute');
3200
+ clone.style.setProperty('transform', 'translate(-9999px, -9999px)');
3201
+ document.documentElement.appendChild(clone);
3202
+ var scrollWidth = clone.scrollWidth;
3203
+ document.documentElement.removeChild(clone);
3204
+ return scrollWidth;
3205
+ }
3206
+
3207
+ /**
3208
+ * @license
3209
+ * Copyright 2018 Google LLC
3210
+ * SPDX-License-Identifier: Apache-2.0
3211
+ */
3212
+ // Style preference for leading underscores.
3213
+ // tslint:disable:strip-private-property-underscore
3214
+ /**
3215
+ * Determines whether a node is an element.
3216
+ *
3217
+ * @param node Node to check
3218
+ */
3219
+ const isNodeElement = (node) => {
3220
+ return node.nodeType === Node.ELEMENT_NODE;
3221
+ };
3222
+ function addHasRemoveClass(element) {
3223
+ return {
3224
+ addClass: (className) => {
3225
+ element.classList.add(className);
3226
+ },
3227
+ removeClass: (className) => {
3228
+ element.classList.remove(className);
3229
+ },
3230
+ hasClass: (className) => element.classList.contains(className),
3231
+ };
3232
+ }
3233
+ let supportsPassive = false;
3234
+ const fn = () => { };
3235
+ const optionsBlock = {
3236
+ get passive() {
3237
+ supportsPassive = true;
3238
+ return false;
3239
+ }
3240
+ };
3241
+ document.addEventListener('x', fn, optionsBlock);
3242
+ document.removeEventListener('x', fn);
3243
+ /**
3244
+ * Do event listeners suport the `passive` option?
3245
+ */
3246
+ const supportsPassiveEventListener = supportsPassive;
3247
+ const deepActiveElementPath = (doc = window.document) => {
3248
+ let activeElement = doc.activeElement;
3249
+ const path = [];
3250
+ if (!activeElement) {
3251
+ return path;
3252
+ }
3253
+ while (activeElement) {
3254
+ path.push(activeElement);
3255
+ if (activeElement.shadowRoot) {
3256
+ activeElement = activeElement.shadowRoot.activeElement;
3257
+ }
3258
+ else {
3259
+ break;
3260
+ }
3261
+ }
3262
+ return path;
3263
+ };
3264
+ const doesElementContainFocus = (element) => {
3265
+ const activePath = deepActiveElementPath();
3266
+ if (!activePath.length) {
3267
+ return false;
3268
+ }
3269
+ const deepActiveElement = activePath[activePath.length - 1];
3270
+ const focusEv = new Event('check-if-focused', { bubbles: true, composed: true });
3271
+ let composedPath = [];
3272
+ const listener = (ev) => {
3273
+ composedPath = ev.composedPath();
3274
+ };
3275
+ document.body.addEventListener('check-if-focused', listener);
3276
+ deepActiveElement.dispatchEvent(focusEv);
3277
+ document.body.removeEventListener('check-if-focused', listener);
3278
+ return composedPath.indexOf(element) !== -1;
3279
+ };
3280
+
3281
+ /**
3282
+ * @license
3283
+ * Copyright 2018 Google LLC
3284
+ * SPDX-License-Identifier: Apache-2.0
3285
+ */
3286
+ /** @soyCompatible */
3287
+ class BaseElement extends n$1 {
3288
+ click() {
3289
+ if (this.mdcRoot) {
3290
+ this.mdcRoot.focus();
3291
+ this.mdcRoot.click();
3292
+ return;
3293
+ }
3294
+ super.click();
3295
+ }
3296
+ /**
3297
+ * Create and attach the MDC Foundation to the instance
3298
+ */
3299
+ createFoundation() {
3300
+ if (this.mdcFoundation !== undefined) {
3301
+ this.mdcFoundation.destroy();
3302
+ }
3303
+ if (this.mdcFoundationClass) {
3304
+ this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter());
3305
+ this.mdcFoundation.init();
3306
+ }
3307
+ }
3308
+ firstUpdated() {
3309
+ this.createFoundation();
3310
+ }
3311
+ }
3312
+
3313
+ /**
3314
+ * @license
3315
+ * Copyright 2016 Google Inc.
3316
+ *
3317
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
3318
+ * of this software and associated documentation files (the "Software"), to deal
3319
+ * in the Software without restriction, including without limitation the rights
3320
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3321
+ * copies of the Software, and to permit persons to whom the Software is
3322
+ * furnished to do so, subject to the following conditions:
3323
+ *
3324
+ * The above copyright notice and this permission notice shall be included in
3325
+ * all copies or substantial portions of the Software.
3326
+ *
3327
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3328
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3329
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3330
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3331
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3332
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3333
+ * THE SOFTWARE.
3334
+ */
3335
+ var MDCFoundation = /** @class */ (function () {
3336
+ function MDCFoundation(adapter) {
3337
+ if (adapter === void 0) { adapter = {}; }
3338
+ this.adapter = adapter;
3339
+ }
3340
+ Object.defineProperty(MDCFoundation, "cssClasses", {
3341
+ get: function () {
3342
+ // Classes extending MDCFoundation should implement this method to return an object which exports every
3343
+ // CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}
3344
+ return {};
3345
+ },
3346
+ enumerable: false,
3347
+ configurable: true
3348
+ });
3349
+ Object.defineProperty(MDCFoundation, "strings", {
3350
+ get: function () {
3351
+ // Classes extending MDCFoundation should implement this method to return an object which exports all
3352
+ // semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}
3353
+ return {};
3354
+ },
3355
+ enumerable: false,
3356
+ configurable: true
3357
+ });
3358
+ Object.defineProperty(MDCFoundation, "numbers", {
3359
+ get: function () {
3360
+ // Classes extending MDCFoundation should implement this method to return an object which exports all
3361
+ // of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}
3362
+ return {};
3363
+ },
3364
+ enumerable: false,
3365
+ configurable: true
3366
+ });
3367
+ Object.defineProperty(MDCFoundation, "defaultAdapter", {
3368
+ get: function () {
3369
+ // Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient
3370
+ // way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter
3371
+ // validation.
3372
+ return {};
3373
+ },
3374
+ enumerable: false,
3375
+ configurable: true
3376
+ });
3377
+ MDCFoundation.prototype.init = function () {
3378
+ // Subclasses should override this method to perform initialization routines (registering events, etc.)
3379
+ };
3380
+ MDCFoundation.prototype.destroy = function () {
3381
+ // Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)
3382
+ };
3383
+ return MDCFoundation;
3384
+ }());
3385
+
3386
+ /**
3387
+ * @license
3388
+ * Copyright 2016 Google Inc.
3389
+ *
3390
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
3391
+ * of this software and associated documentation files (the "Software"), to deal
3392
+ * in the Software without restriction, including without limitation the rights
3393
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3394
+ * copies of the Software, and to permit persons to whom the Software is
3395
+ * furnished to do so, subject to the following conditions:
3396
+ *
3397
+ * The above copyright notice and this permission notice shall be included in
3398
+ * all copies or substantial portions of the Software.
3399
+ *
3400
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3401
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3402
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3403
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3404
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3405
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3406
+ * THE SOFTWARE.
3407
+ */
3408
+ var cssClasses$4 = {
3409
+ // Ripple is a special case where the "root" component is really a "mixin" of sorts,
3410
+ // given that it's an 'upgrade' to an existing component. That being said it is the root
3411
+ // CSS class that all other CSS classes derive from.
3412
+ BG_FOCUSED: 'mdc-ripple-upgraded--background-focused',
3413
+ FG_ACTIVATION: 'mdc-ripple-upgraded--foreground-activation',
3414
+ FG_DEACTIVATION: 'mdc-ripple-upgraded--foreground-deactivation',
3415
+ ROOT: 'mdc-ripple-upgraded',
3416
+ UNBOUNDED: 'mdc-ripple-upgraded--unbounded',
3417
+ };
3418
+ var strings$5 = {
3419
+ VAR_FG_SCALE: '--mdc-ripple-fg-scale',
3420
+ VAR_FG_SIZE: '--mdc-ripple-fg-size',
3421
+ VAR_FG_TRANSLATE_END: '--mdc-ripple-fg-translate-end',
3422
+ VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start',
3423
+ VAR_LEFT: '--mdc-ripple-left',
3424
+ VAR_TOP: '--mdc-ripple-top',
3425
+ };
3426
+ var numbers$2 = {
3427
+ DEACTIVATION_TIMEOUT_MS: 225,
3428
+ FG_DEACTIVATION_MS: 150,
3429
+ INITIAL_ORIGIN_SCALE: 0.6,
3430
+ PADDING: 10,
3431
+ TAP_DELAY_MS: 300, // Delay between touch and simulated mouse events on touch devices
3432
+ };
3433
+
3434
+ /**
3435
+ * Stores result from supportsCssVariables to avoid redundant processing to
3436
+ * detect CSS custom variable support.
3437
+ */
3438
+ var supportsCssVariables_;
3439
+ function supportsCssVariables(windowObj, forceRefresh) {
3440
+ if (forceRefresh === void 0) { forceRefresh = false; }
3441
+ var CSS = windowObj.CSS;
3442
+ var supportsCssVars = supportsCssVariables_;
3443
+ if (typeof supportsCssVariables_ === 'boolean' && !forceRefresh) {
3444
+ return supportsCssVariables_;
3445
+ }
3446
+ var supportsFunctionPresent = CSS && typeof CSS.supports === 'function';
3447
+ if (!supportsFunctionPresent) {
3448
+ return false;
3449
+ }
3450
+ var explicitlySupportsCssVars = CSS.supports('--css-vars', 'yes');
3451
+ // See: https://bugs.webkit.org/show_bug.cgi?id=154669
3452
+ // See: README section on Safari
3453
+ var weAreFeatureDetectingSafari10plus = (CSS.supports('(--css-vars: yes)') &&
3454
+ CSS.supports('color', '#00000000'));
3455
+ supportsCssVars =
3456
+ explicitlySupportsCssVars || weAreFeatureDetectingSafari10plus;
3457
+ if (!forceRefresh) {
3458
+ supportsCssVariables_ = supportsCssVars;
3459
+ }
3460
+ return supportsCssVars;
3461
+ }
3462
+ function getNormalizedEventCoords(evt, pageOffset, clientRect) {
3463
+ if (!evt) {
3464
+ return { x: 0, y: 0 };
3465
+ }
3466
+ var x = pageOffset.x, y = pageOffset.y;
3467
+ var documentX = x + clientRect.left;
3468
+ var documentY = y + clientRect.top;
3469
+ var normalizedX;
3470
+ var normalizedY;
3471
+ // Determine touch point relative to the ripple container.
3472
+ if (evt.type === 'touchstart') {
3473
+ var touchEvent = evt;
3474
+ normalizedX = touchEvent.changedTouches[0].pageX - documentX;
3475
+ normalizedY = touchEvent.changedTouches[0].pageY - documentY;
3476
+ }
3477
+ else {
3478
+ var mouseEvent = evt;
3479
+ normalizedX = mouseEvent.pageX - documentX;
3480
+ normalizedY = mouseEvent.pageY - documentY;
3481
+ }
3482
+ return { x: normalizedX, y: normalizedY };
3483
+ }
3484
+
3485
+ /**
3486
+ * @license
3487
+ * Copyright 2016 Google Inc.
3488
+ *
3489
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
3490
+ * of this software and associated documentation files (the "Software"), to deal
3491
+ * in the Software without restriction, including without limitation the rights
3492
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3493
+ * copies of the Software, and to permit persons to whom the Software is
3494
+ * furnished to do so, subject to the following conditions:
3495
+ *
3496
+ * The above copyright notice and this permission notice shall be included in
3497
+ * all copies or substantial portions of the Software.
3498
+ *
3499
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3500
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3501
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3502
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3503
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3504
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3505
+ * THE SOFTWARE.
3506
+ */
3507
+ // Activation events registered on the root element of each instance for activation
3508
+ var ACTIVATION_EVENT_TYPES = [
3509
+ 'touchstart', 'pointerdown', 'mousedown', 'keydown',
3510
+ ];
3511
+ // Deactivation events registered on documentElement when a pointer-related down event occurs
3512
+ var POINTER_DEACTIVATION_EVENT_TYPES = [
3513
+ 'touchend', 'pointerup', 'mouseup', 'contextmenu',
3514
+ ];
3515
+ // simultaneous nested activations
3516
+ var activatedTargets = [];
3517
+ var MDCRippleFoundation = /** @class */ (function (_super) {
3518
+ __extends(MDCRippleFoundation, _super);
3519
+ function MDCRippleFoundation(adapter) {
3520
+ var _this = _super.call(this, __assign(__assign({}, MDCRippleFoundation.defaultAdapter), adapter)) || this;
3521
+ _this.activationAnimationHasEnded = false;
3522
+ _this.activationTimer = 0;
3523
+ _this.fgDeactivationRemovalTimer = 0;
3524
+ _this.fgScale = '0';
3525
+ _this.frame = { width: 0, height: 0 };
3526
+ _this.initialSize = 0;
3527
+ _this.layoutFrame = 0;
3528
+ _this.maxRadius = 0;
3529
+ _this.unboundedCoords = { left: 0, top: 0 };
3530
+ _this.activationState = _this.defaultActivationState();
3531
+ _this.activationTimerCallback = function () {
3532
+ _this.activationAnimationHasEnded = true;
3533
+ _this.runDeactivationUXLogicIfReady();
3534
+ };
3535
+ _this.activateHandler = function (e) {
3536
+ _this.activateImpl(e);
3537
+ };
3538
+ _this.deactivateHandler = function () {
3539
+ _this.deactivateImpl();
3540
+ };
3541
+ _this.focusHandler = function () {
3542
+ _this.handleFocus();
3543
+ };
3544
+ _this.blurHandler = function () {
3545
+ _this.handleBlur();
2966
3546
  };
2967
3547
  _this.resizeHandler = function () {
2968
3548
  _this.layout();
@@ -3419,6 +3999,19 @@ var MDCRippleFoundation = /** @class */ (function (_super) {
3419
3999
  return MDCRippleFoundation;
3420
4000
  }(MDCFoundation));
3421
4001
 
4002
+ /**
4003
+ * @license
4004
+ * Copyright 2017 Google LLC
4005
+ * SPDX-License-Identifier: BSD-3-Clause
4006
+ */
4007
+ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i$1{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
4008
+
4009
+ /**
4010
+ * @license
4011
+ * Copyright 2018 Google LLC
4012
+ * SPDX-License-Identifier: BSD-3-Clause
4013
+ */const o=e(class extends i$1{constructor(t$1){var i;if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||(null===(i=t$1.strings)||void 0===i?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((i=>t[i])).join(" ")+" "}update(i,[s]){var r,o;if(void 0===this.st){this.st=new Set,void 0!==i.strings&&(this.et=new Set(i.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!(null===(r=this.et)||void 0===r?void 0:r.has(t))&&this.st.add(t);return this.render(s)}const e=i.element.classList;this.st.forEach((t=>{t in s||(e.remove(t),this.st.delete(t));}));for(const t in s){const i=!!s[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(e.add(t),this.st.add(t)):(e.remove(t),this.st.delete(t)));}return T}});
4014
+
3422
4015
  /**
3423
4016
  * @license
3424
4017
  * Copyright 2018 Google LLC
@@ -4242,6 +4835,49 @@ TabIndicator = __decorate([
4242
4835
  n('mwc-tab-indicator')
4243
4836
  ], TabIndicator);
4244
4837
 
4838
+ /**
4839
+ * @license
4840
+ * Copyright 2018 Google LLC
4841
+ * SPDX-License-Identifier: Apache-2.0
4842
+ */
4843
+ /**
4844
+ * Specifies an observer callback that is run when the decorated property
4845
+ * changes. The observer receives the current and old value as arguments.
4846
+ */
4847
+ const observer = (observer) =>
4848
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4849
+ (proto, propName) => {
4850
+ // if we haven't wrapped `updated` in this class, do so
4851
+ if (!proto.constructor
4852
+ ._observers) {
4853
+ proto.constructor._observers = new Map();
4854
+ const userUpdated = proto.updated;
4855
+ proto.updated = function (changedProperties) {
4856
+ userUpdated.call(this, changedProperties);
4857
+ changedProperties.forEach((v, k) => {
4858
+ const observers = this.constructor
4859
+ ._observers;
4860
+ const observer = observers.get(k);
4861
+ if (observer !== undefined) {
4862
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4863
+ observer.call(this, this[k], v);
4864
+ }
4865
+ });
4866
+ };
4867
+ // clone any existing observers (superclasses)
4868
+ // eslint-disable-next-line no-prototype-builtins
4869
+ }
4870
+ else if (!proto.constructor.hasOwnProperty('_observers')) {
4871
+ const observers = proto.constructor._observers;
4872
+ proto.constructor._observers = new Map();
4873
+ observers.forEach(
4874
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4875
+ (v, k) => proto.constructor._observers.set(k, v));
4876
+ }
4877
+ // set this method
4878
+ proto.constructor._observers.set(propName, observer);
4879
+ };
4880
+
4245
4881
  /**
4246
4882
  * @license
4247
4883
  * Copyright 2018 Google Inc.