/*! For license information please see 6CnJfZW5.js.LICENSE.txt */
export const id=811;export const ids=[811];export const modules={3605:(e,t,n)=>{n.d(t,{U:()=>f});var s=n(6513),i=(n(6395),n(5789)),r=n(1086),o=n(6584),a=n(523),l=n(4943),c={CHECKED:"mdc-switch--checked",DISABLED:"mdc-switch--disabled"},d={ARIA_CHECKED_ATTR:"aria-checked",NATIVE_CONTROL_SELECTOR:".mdc-switch__native-control",RIPPLE_SURFACE_SELECTOR:".mdc-switch__thumb-underlay"};const h=function(e){function t(n){return e.call(this,(0,s.Cl)((0,s.Cl)({},t.defaultAdapter),n))||this}return(0,s.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlChecked:function(){},setNativeControlDisabled:function(){},setNativeControlAttr:function(){}}},enumerable:!1,configurable:!0}),t.prototype.setChecked=function(e){this.adapter.setNativeControlChecked(e),this.updateAriaChecked(e),this.updateCheckedStyling(e)},t.prototype.setDisabled=function(e){this.adapter.setNativeControlDisabled(e),e?this.adapter.addClass(c.DISABLED):this.adapter.removeClass(c.DISABLED)},t.prototype.handleChange=function(e){var t=e.target;this.updateAriaChecked(t.checked),this.updateCheckedStyling(t.checked)},t.prototype.updateCheckedStyling=function(e){e?this.adapter.addClass(c.CHECKED):this.adapter.removeClass(c.CHECKED)},t.prototype.updateAriaChecked=function(e){this.adapter.setNativeControlAttr(d.ARIA_CHECKED_ATTR,""+!!e)},t}(l.I);var u=n(8597),p=n(993),_=n(9278);class f extends r.O{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.shouldRenderRipple=!1,this.mdcFoundationClass=h,this.rippleHandlers=new a.I((()=>(this.shouldRenderRipple=!0,this.ripple)))}changeHandler(e){this.mdcFoundation.handleChange(e),this.checked=this.formElement.checked}createAdapter(){return Object.assign(Object.assign({},(0,r.i)(this.mdcRoot)),{setNativeControlChecked:e=>{this.formElement.checked=e},setNativeControlDisabled:e=>{this.formElement.disabled=e},setNativeControlAttr:(e,t)=>{this.formElement.setAttribute(e,t)}})}renderRipple(){return this.shouldRenderRipple?u.qy`
        <mwc-ripple
          .accent="${this.checked}"
          .disabled="${this.disabled}"
          unbounded>
        </mwc-ripple>`:""}focus(){const e=this.formElement;e&&(this.rippleHandlers.startFocus(),e.focus())}blur(){const e=this.formElement;e&&(this.rippleHandlers.endFocus(),e.blur())}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(e=>{this.dispatchEvent(new Event("change",e))}))}render(){return u.qy`
      <div class="mdc-switch">
        <div class="mdc-switch__track"></div>
        <div class="mdc-switch__thumb-underlay">
          ${this.renderRipple()}
          <div class="mdc-switch__thumb">
            <input
              type="checkbox"
              id="basic-switch"
              class="mdc-switch__native-control"
              role="switch"
              aria-label="${(0,_.J)(this.ariaLabel)}"
              aria-labelledby="${(0,_.J)(this.ariaLabelledBy)}"
              @change="${this.changeHandler}"
              @focus="${this.handleRippleFocus}"
              @blur="${this.handleRippleBlur}"
              @mousedown="${this.handleRippleMouseDown}"
              @mouseenter="${this.handleRippleMouseEnter}"
              @mouseleave="${this.handleRippleMouseLeave}"
              @touchstart="${this.handleRippleTouchStart}"
              @touchend="${this.handleRippleDeactivate}"
              @touchcancel="${this.handleRippleDeactivate}">
          </div>
        </div>
      </div>`}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}(0,s.Cg)([(0,p.MZ)({type:Boolean}),(0,o.P)((function(e){this.mdcFoundation.setChecked(e)}))],f.prototype,"checked",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean}),(0,o.P)((function(e){this.mdcFoundation.setDisabled(e)}))],f.prototype,"disabled",void 0),(0,s.Cg)([i.T,(0,p.MZ)({attribute:"aria-label"})],f.prototype,"ariaLabel",void 0),(0,s.Cg)([i.T,(0,p.MZ)({attribute:"aria-labelledby"})],f.prototype,"ariaLabelledBy",void 0),(0,s.Cg)([(0,p.P)(".mdc-switch")],f.prototype,"mdcRoot",void 0),(0,s.Cg)([(0,p.P)("input")],f.prototype,"formElement",void 0),(0,s.Cg)([(0,p.nJ)("mwc-ripple")],f.prototype,"ripple",void 0),(0,s.Cg)([(0,p.wk)()],f.prototype,"shouldRenderRipple",void 0),(0,s.Cg)([(0,p.Ls)({passive:!0})],f.prototype,"handleRippleMouseDown",null),(0,s.Cg)([(0,p.Ls)({passive:!0})],f.prototype,"handleRippleTouchStart",null)},8354:(e,t,n)=>{n.d(t,{R:()=>s});const s=n(8597).AH`.mdc-switch__thumb-underlay{left:-14px;right:initial;top:-17px;width:48px;height:48px}[dir=rtl] .mdc-switch__thumb-underlay,.mdc-switch__thumb-underlay[dir=rtl]{left:initial;right:-14px}.mdc-switch__native-control{width:64px;height:48px}.mdc-switch{display:inline-block;position:relative;outline:none;user-select:none}.mdc-switch.mdc-switch--checked .mdc-switch__track{background-color:#018786;background-color:var(--mdc-theme-secondary, #018786)}.mdc-switch.mdc-switch--checked .mdc-switch__thumb{background-color:#018786;background-color:var(--mdc-theme-secondary, #018786);border-color:#018786;border-color:var(--mdc-theme-secondary, #018786)}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__track{background-color:#000;background-color:var(--mdc-theme-on-surface, #000)}.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb{background-color:#fff;background-color:var(--mdc-theme-surface, #fff);border-color:#fff;border-color:var(--mdc-theme-surface, #fff)}.mdc-switch__native-control{left:0;right:initial;position:absolute;top:0;margin:0;opacity:0;cursor:pointer;pointer-events:auto;transition:transform 90ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-switch__native-control,.mdc-switch__native-control[dir=rtl]{left:initial;right:0}.mdc-switch__track{box-sizing:border-box;width:36px;height:14px;border:1px solid transparent;border-radius:7px;opacity:.38;transition:opacity 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch__thumb-underlay{display:flex;position:absolute;align-items:center;justify-content:center;transform:translateX(0);transition:transform 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch__thumb{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);box-sizing:border-box;width:20px;height:20px;border:10px solid;border-radius:50%;pointer-events:none;z-index:1}.mdc-switch--checked .mdc-switch__track{opacity:.54}.mdc-switch--checked .mdc-switch__thumb-underlay{transform:translateX(16px)}[dir=rtl] .mdc-switch--checked .mdc-switch__thumb-underlay,.mdc-switch--checked .mdc-switch__thumb-underlay[dir=rtl]{transform:translateX(-16px)}.mdc-switch--checked .mdc-switch__native-control{transform:translateX(-16px)}[dir=rtl] .mdc-switch--checked .mdc-switch__native-control,.mdc-switch--checked .mdc-switch__native-control[dir=rtl]{transform:translateX(16px)}.mdc-switch--disabled{opacity:.38;pointer-events:none}.mdc-switch--disabled .mdc-switch__thumb{border-width:1px}.mdc-switch--disabled .mdc-switch__native-control{cursor:default;pointer-events:none}:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:transparent}`},2858:(e,t,n)=>{n.d(t,{D:()=>f});n(7397);var s={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},i={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},r={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},o=/[a-z0-9*]/,a=/U\+/,l=/^arrow/,c=/^space(bar)?/,d=/^escape$/;function h(e,t){var n="";if(e){var s=e.toLowerCase();" "===s||c.test(s)?n="space":d.test(s)?n="esc":1==s.length?t&&!o.test(s)||(n=s):n=l.test(s)?s.replace("arrow",""):"multiply"==s?"*":s}return n}function u(e,t){return e.key?h(e.key,t):e.detail&&e.detail.key?h(e.detail.key,t):(n=e.keyIdentifier,r="",n&&(n in s?r=s[n]:a.test(n)?(n=parseInt(n.replace("U+","0x"),16),r=String.fromCharCode(n).toLowerCase()):r=n.toLowerCase()),r||function(e){var t="";return Number(e)&&(t=e>=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112+1):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):i[e]),t}(e.keyCode)||"");var n,r}function p(e,t){return u(t,e.hasModifiers)===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function _(e){return e.trim().split(" ").map((function(e){return function(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce((function(e,t){var n=t.split(":"),s=n[0],i=n[1];return s in r?(e[r[s]]=!0,e.hasModifiers=!0):(e.key=s,e.event=i||"keydown"),e}),{combo:e.split(":").shift()})}(e)}))}const f={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var n=_(t),s=0;s<n.length;++s)if(p(n[s],e))return!0;return!1},_collectKeyBindings:function(){var e=this.behaviors.map((function(e){return e.keyBindings}));return-1===e.indexOf(this.keyBindings)&&e.push(this.keyBindings),e},_prepKeyBindings:function(){for(var e in this._keyBindings={},this._collectKeyBindings().forEach((function(e){for(var t in e)this._addKeyBinding(t,e[t])}),this),this._imperativeKeyBindings)this._addKeyBinding(e,this._imperativeKeyBindings[e]);for(var t in this._keyBindings)this._keyBindings[t].sort((function(e,t){var n=e[0].hasModifiers;return n===t[0].hasModifiers?0:n?-1:1}))},_addKeyBinding:function(e,t){_(e).forEach((function(e){this._keyBindings[e.event]=this._keyBindings[e.event]||[],this._keyBindings[e.event].push([e,t])}),this)},_resetKeyEventListeners:function(){this._unlistenKeyEventListeners(),this.isAttached&&this._listenKeyEventListeners()},_listenKeyEventListeners:function(){this.keyEventTarget&&Object.keys(this._keyBindings).forEach((function(e){var t=this._keyBindings[e],n=this._onKeyBindingEvent.bind(this,t);this._boundKeyHandlers.push([this.keyEventTarget,e,n]),this.keyEventTarget.addEventListener(e,n)}),this)},_unlistenKeyEventListeners:function(){for(var e,t,n,s;this._boundKeyHandlers.length;)t=(e=this._boundKeyHandlers.pop())[0],n=e[1],s=e[2],t.removeEventListener(n,s)},_onKeyBindingEvent:function(e,t){if(this.stopKeyboardEventPropagation&&t.stopPropagation(),!t.defaultPrevented)for(var n=0;n<e.length;n++){var s=e[n][0],i=e[n][1];if(p(s,t)&&(this._triggerKeyHandler(s,i,t),t.defaultPrevented))return}},_triggerKeyHandler:function(e,t,n){var s=Object.create(e);s.keyboardEvent=n;var i=new CustomEvent(e.event,{detail:s,cancelable:!0});this[t].call(this,i),i.defaultPrevented&&n.preventDefault()}}},68:(e,t,n)=>{n(7397);var s=n(4692);const i=s.q`
<custom-style>
  <style is="custom-style">
    [hidden] {
      display: none !important;
    }
  </style>
</custom-style>
<custom-style>
  <style is="custom-style">
    html {

      --layout: {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
      };

      --layout-inline: {
        display: -ms-inline-flexbox;
        display: -webkit-inline-flex;
        display: inline-flex;
      };

      --layout-horizontal: {
        @apply --layout;

        -ms-flex-direction: row;
        -webkit-flex-direction: row;
        flex-direction: row;
      };

      --layout-horizontal-reverse: {
        @apply --layout;

        -ms-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
      };

      --layout-vertical: {
        @apply --layout;

        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
      };

      --layout-vertical-reverse: {
        @apply --layout;

        -ms-flex-direction: column-reverse;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
      };

      --layout-wrap: {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
      };

      --layout-wrap-reverse: {
        -ms-flex-wrap: wrap-reverse;
        -webkit-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
      };

      --layout-flex-auto: {
        -ms-flex: 1 1 auto;
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
      };

      --layout-flex-none: {
        -ms-flex: none;
        -webkit-flex: none;
        flex: none;
      };

      --layout-flex: {
        -ms-flex: 1 1 0.000000001px;
        -webkit-flex: 1;
        flex: 1;
        -webkit-flex-basis: 0.000000001px;
        flex-basis: 0.000000001px;
      };

      --layout-flex-2: {
        -ms-flex: 2;
        -webkit-flex: 2;
        flex: 2;
      };

      --layout-flex-3: {
        -ms-flex: 3;
        -webkit-flex: 3;
        flex: 3;
      };

      --layout-flex-4: {
        -ms-flex: 4;
        -webkit-flex: 4;
        flex: 4;
      };

      --layout-flex-5: {
        -ms-flex: 5;
        -webkit-flex: 5;
        flex: 5;
      };

      --layout-flex-6: {
        -ms-flex: 6;
        -webkit-flex: 6;
        flex: 6;
      };

      --layout-flex-7: {
        -ms-flex: 7;
        -webkit-flex: 7;
        flex: 7;
      };

      --layout-flex-8: {
        -ms-flex: 8;
        -webkit-flex: 8;
        flex: 8;
      };

      --layout-flex-9: {
        -ms-flex: 9;
        -webkit-flex: 9;
        flex: 9;
      };

      --layout-flex-10: {
        -ms-flex: 10;
        -webkit-flex: 10;
        flex: 10;
      };

      --layout-flex-11: {
        -ms-flex: 11;
        -webkit-flex: 11;
        flex: 11;
      };

      --layout-flex-12: {
        -ms-flex: 12;
        -webkit-flex: 12;
        flex: 12;
      };

      /* alignment in cross axis */

      --layout-start: {
        -ms-flex-align: start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
      };

      --layout-center: {
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      };

      --layout-end: {
        -ms-flex-align: end;
        -webkit-align-items: flex-end;
        align-items: flex-end;
      };

      --layout-baseline: {
        -ms-flex-align: baseline;
        -webkit-align-items: baseline;
        align-items: baseline;
      };

      /* alignment in main axis */

      --layout-start-justified: {
        -ms-flex-pack: start;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
      };

      --layout-center-justified: {
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
      };

      --layout-end-justified: {
        -ms-flex-pack: end;
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
      };

      --layout-around-justified: {
        -ms-flex-pack: distribute;
        -webkit-justify-content: space-around;
        justify-content: space-around;
      };

      --layout-justified: {
        -ms-flex-pack: justify;
        -webkit-justify-content: space-between;
        justify-content: space-between;
      };

      --layout-center-center: {
        @apply --layout-center;
        @apply --layout-center-justified;
      };

      /* self alignment */

      --layout-self-start: {
        -ms-align-self: flex-start;
        -webkit-align-self: flex-start;
        align-self: flex-start;
      };

      --layout-self-center: {
        -ms-align-self: center;
        -webkit-align-self: center;
        align-self: center;
      };

      --layout-self-end: {
        -ms-align-self: flex-end;
        -webkit-align-self: flex-end;
        align-self: flex-end;
      };

      --layout-self-stretch: {
        -ms-align-self: stretch;
        -webkit-align-self: stretch;
        align-self: stretch;
      };

      --layout-self-baseline: {
        -ms-align-self: baseline;
        -webkit-align-self: baseline;
        align-self: baseline;
      };

      /* multi-line alignment in main axis */

      --layout-start-aligned: {
        -ms-flex-line-pack: start;  /* IE10 */
        -ms-align-content: flex-start;
        -webkit-align-content: flex-start;
        align-content: flex-start;
      };

      --layout-end-aligned: {
        -ms-flex-line-pack: end;  /* IE10 */
        -ms-align-content: flex-end;
        -webkit-align-content: flex-end;
        align-content: flex-end;
      };

      --layout-center-aligned: {
        -ms-flex-line-pack: center;  /* IE10 */
        -ms-align-content: center;
        -webkit-align-content: center;
        align-content: center;
      };

      --layout-between-aligned: {
        -ms-flex-line-pack: justify;  /* IE10 */
        -ms-align-content: space-between;
        -webkit-align-content: space-between;
        align-content: space-between;
      };

      --layout-around-aligned: {
        -ms-flex-line-pack: distribute;  /* IE10 */
        -ms-align-content: space-around;
        -webkit-align-content: space-around;
        align-content: space-around;
      };

      /*******************************
                Other Layout
      *******************************/

      --layout-block: {
        display: block;
      };

      --layout-invisible: {
        visibility: hidden !important;
      };

      --layout-relative: {
        position: relative;
      };

      --layout-fit: {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
      };

      --layout-scroll: {
        -webkit-overflow-scrolling: touch;
        overflow: auto;
      };

      --layout-fullbleed: {
        margin: 0;
        height: 100vh;
      };

      /* fixed position */

      --layout-fixed-top: {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
      };

      --layout-fixed-right: {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
      };

      --layout-fixed-bottom: {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
      };

      --layout-fixed-left: {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
      };

    }
  </style>
</custom-style>`;i.setAttribute("style","display: none;"),document.head.appendChild(i.content);var r=document.createElement("style");r.textContent="[hidden] { display: none !important; }",document.head.appendChild(r);const o=s.q`<custom-style>
  <style is="custom-style">
    html {

      /* Shared Styles */
      --paper-font-common-base: {
        font-family: 'Roboto', 'Noto', sans-serif;
        -webkit-font-smoothing: antialiased;
      };

      --paper-font-common-code: {
        font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
        -webkit-font-smoothing: antialiased;
      };

      --paper-font-common-expensive-kerning: {
        text-rendering: optimizeLegibility;
      };

      --paper-font-common-nowrap: {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      };

      /* Material Font Styles */

      --paper-font-display4: {
        @apply --paper-font-common-base;
        @apply --paper-font-common-nowrap;

        font-size: 112px;
        font-weight: 300;
        letter-spacing: -.044em;
        line-height: 120px;
      };

      --paper-font-display3: {
        @apply --paper-font-common-base;
        @apply --paper-font-common-nowrap;

        font-size: 56px;
        font-weight: 400;
        letter-spacing: -.026em;
        line-height: 60px;
      };

      --paper-font-display2: {
        @apply --paper-font-common-base;

        font-size: 45px;
        font-weight: 400;
        letter-spacing: -.018em;
        line-height: 48px;
      };

      --paper-font-display1: {
        @apply --paper-font-common-base;

        font-size: 34px;
        font-weight: 400;
        letter-spacing: -.01em;
        line-height: 40px;
      };

      --paper-font-headline: {
        @apply --paper-font-common-base;

        font-size: 24px;
        font-weight: 400;
        letter-spacing: -.012em;
        line-height: 32px;
      };

      --paper-font-title: {
        @apply --paper-font-common-base;
        @apply --paper-font-common-nowrap;

        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
      };

      --paper-font-subhead: {
        @apply --paper-font-common-base;

        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
      };

      --paper-font-body2: {
        @apply --paper-font-common-base;

        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
      };

      --paper-font-body1: {
        @apply --paper-font-common-base;

        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
      };

      --paper-font-caption: {
        @apply --paper-font-common-base;
        @apply --paper-font-common-nowrap;

        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.011em;
        line-height: 20px;
      };

      --paper-font-menu: {
        @apply --paper-font-common-base;
        @apply --paper-font-common-nowrap;

        font-size: 13px;
        font-weight: 500;
        line-height: 24px;
      };

      --paper-font-button: {
        @apply --paper-font-common-base;
        @apply --paper-font-common-nowrap;

        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.018em;
        line-height: 24px;
        text-transform: uppercase;
      };

      --paper-font-code2: {
        @apply --paper-font-common-code;

        font-size: 14px;
        font-weight: 700;
        line-height: 20px;
      };

      --paper-font-code1: {
        @apply --paper-font-common-code;

        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
      };

    }

  </style>
</custom-style>`;o.setAttribute("style","display: none;"),document.head.appendChild(o.content);const a=document.createElement("template");a.setAttribute("style","display: none;"),a.innerHTML="<dom-module id=\"paper-item-shared-styles\">\n  <template>\n    <style>\n      :host, .paper-item {\n        display: block;\n        position: relative;\n        min-height: var(--paper-item-min-height, 48px);\n        padding: 0px 16px;\n      }\n\n      .paper-item {\n        @apply --paper-font-subhead;\n        border:none;\n        outline: none;\n        background: white;\n        width: 100%;\n        text-align: left;\n      }\n\n      :host([hidden]), .paper-item[hidden] {\n        display: none !important;\n      }\n\n      :host(.iron-selected), .paper-item.iron-selected {\n        font-weight: var(--paper-item-selected-weight, bold);\n\n        @apply --paper-item-selected;\n      }\n\n      :host([disabled]), .paper-item[disabled] {\n        color: var(--paper-item-disabled-color, var(--disabled-text-color));\n\n        @apply --paper-item-disabled;\n      }\n\n      :host(:focus), .paper-item:focus {\n        position: relative;\n        outline: 0;\n\n        @apply --paper-item-focused;\n      }\n\n      :host(:focus):before, .paper-item:focus:before {\n        @apply --layout-fit;\n\n        background: currentColor;\n        content: '';\n        opacity: var(--dark-divider-opacity);\n        pointer-events: none;\n\n        @apply --paper-item-focused-before;\n      }\n    </style>\n  </template>\n</dom-module>",document.head.appendChild(a.content);var l=n(9758),c=n(957);const d={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:"_disabledChanged",reflectToAttribute:!0},_oldTabIndex:{type:String},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:["_changedControlState(focused, disabled)"],ready:function(){this.addEventListener("focus",this._boundFocusBlurHandler,!0),this.addEventListener("blur",this._boundFocusBlurHandler,!0)},_focusBlurHandler:function(e){this._setFocused("focus"===e.type)},_disabledChanged:function(e,t){this.setAttribute("aria-disabled",e?"true":"false"),this.style.pointerEvents=e?"none":"",e?(this._oldTabIndex=this.getAttribute("tabindex"),this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(null===this._oldTabIndex?this.removeAttribute("tabindex"):this.setAttribute("tabindex",this._oldTabIndex))},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}};var h=n(2858);const u={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(e){this._detectKeyboardFocus(e),e||this._setPressed(!1)},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,n=(0,c.tT)(t).localTarget;this.isLightDescendant(n)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,n=(0,c.tT)(t).localTarget;this.isLightDescendant(n)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async((function(){this.click()}),1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},p=[[h.D,u],d,{hostAttributes:{role:"option",tabindex:"0"}}];(0,l.b)({_template:s.q`
    <style include="paper-item-shared-styles">
      :host {
        @apply --layout-horizontal;
        @apply --layout-center;
        @apply --paper-font-subhead;

        @apply --paper-item;
      }
    </style>
    <slot></slot>
`,is:"paper-item",behaviors:[p]})},8685:(e,t,n)=>{n(7397);var s=n(2858),i=n(957),r=n(2559);class o{constructor(e){this.selection=[],this.selectCallback=e}get(){return this.multi?this.selection.slice():this.selection[0]}clear(e){this.selection.slice().forEach((function(t){(!e||e.indexOf(t)<0)&&this.setItemSelected(t,!1)}),this)}isSelected(e){return this.selection.indexOf(e)>=0}setItemSelected(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var n=this.selection.indexOf(e);n>=0&&this.selection.splice(n,1)}this.selectCallback&&this.selectCallback(e,t)}}select(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}toggle(e){this.setItemSelected(e,!this.isSelected(e))}}const a={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new o(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&(0,i.tT)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=(0,i.tT)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,n=0;t=this.items[n];n++)if(this._valueForItem(t)==e)return n},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var n=e[(0,r.I)(this.attrForSelected)];return null!=n?n:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return(0,i.tT)(e).observeNodes((function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})}))},_activateHandler:function(e){for(var t=e.target,n=this.items;t&&t!=this;){var s=n.indexOf(t);if(s>=0){var i=this._indexToValue(s);return void this._itemActivate(i,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}},l={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(e){this.multi?this._toggleSelected(e):this.selected=e},multiChanged:function(e){this._selection.multi=e,this._updateSelected()},get _shouldUpdateSelection(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi?this.selectedItems&&this.selectedItems.length>0&&(this.selectedValues=this.selectedItems.map((function(e){return this._indexToValue(this.indexOf(e))}),this).filter((function(e){return null!=e}),this)):a._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter((function(e){return null!=e}));this._selection.clear(t);for(var n=0;n<t.length;n++)this._selection.setItemSelected(t[n],!0);this.fallbackSelection&&!this._selection.get().length&&(this._valueToItem(this.fallbackSelection)&&this.select(this.fallbackSelection))},_selectionChange:function(){var e=this._selection.get();this.multi?(this._setSelectedItems(e),this._setSelectedItem(e.length?e[0]:null)):null!=e?(this._setSelectedItems([e]),this._setSelectedItem(e)):(this._setSelectedItems([]),this._setSelectedItem(null))},_toggleSelected:function(e){var t=this.selectedValues.indexOf(e);t<0?this.push("selectedValues",e):this.splice("selectedValues",t,1)},_valuesToItems:function(e){return null==e?null:e.map((function(e){return this._valueToItem(e)}),this)}},c={properties:{focusedItem:{observer:"_focusedItemChanged",readOnly:!0,type:Object},attrForItemTitle:{type:String},disabled:{type:Boolean,value:!1,observer:"_disabledChanged"}},_MODIFIER_KEYS:["Alt","AltGraph","CapsLock","Control","Fn","FnLock","Hyper","Meta","NumLock","OS","ScrollLock","Shift","Super","Symbol","SymbolLock"],_SEARCH_RESET_TIMEOUT_MS:1e3,_previousTabIndex:0,hostAttributes:{role:"menu"},observers:["_updateMultiselectable(multi)"],listeners:{focus:"_onFocus",keydown:"_onKeydown","iron-items-changed":"_onIronItemsChanged"},keyBindings:{up:"_onUpKey",down:"_onDownKey",esc:"_onEscKey","shift+tab:keydown":"_onShiftTabDown"},attached:function(){this._resetTabindices()},select:function(e){this._defaultFocusAsync&&(this.cancelAsync(this._defaultFocusAsync),this._defaultFocusAsync=null);var t=this._valueToItem(e);t&&t.hasAttribute("disabled")||(this._setFocusedItem(t),l.select.apply(this,arguments))},_resetTabindices:function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this.items.forEach((function(t){t.setAttribute("tabindex",t===e?"0":"-1"),t.setAttribute("aria-selected",this._selection.isSelected(t))}),this)},_updateMultiselectable:function(e){e?this.setAttribute("aria-multiselectable","true"):this.removeAttribute("aria-multiselectable")},_focusWithKeyboardEvent:function(e){if(-1===this._MODIFIER_KEYS.indexOf(e.key)){this.cancelDebouncer("_clearSearchText");for(var t,n=this._searchText||"",s=(n+=(e.key&&1==e.key.length?e.key:String.fromCharCode(e.keyCode)).toLocaleLowerCase()).length,i=0;t=this.items[i];i++)if(!t.hasAttribute("disabled")){var r=this.attrForItemTitle||"textContent",o=(t[r]||t.getAttribute(r)||"").trim();if(!(o.length<s)&&o.slice(0,s).toLocaleLowerCase()==n){this._setFocusedItem(t);break}}this._searchText=n,this.debounce("_clearSearchText",this._clearSearchText,this._SEARCH_RESET_TIMEOUT_MS)}},_clearSearchText:function(){this._searchText=""},_focusPrevious:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),n=1;n<e+1;n++){var s=this.items[(t-n+e)%e];if(!s.hasAttribute("disabled")){var r=(0,i.tT)(s).getOwnerRoot()||document;if(this._setFocusedItem(s),(0,i.tT)(r).activeElement==s)return}}},_focusNext:function(){for(var e=this.items.length,t=Number(this.indexOf(this.focusedItem)),n=1;n<e+1;n++){var s=this.items[(t+n)%e];if(!s.hasAttribute("disabled")){var r=(0,i.tT)(s).getOwnerRoot()||document;if(this._setFocusedItem(s),(0,i.tT)(r).activeElement==s)return}}},_applySelection:function(e,t){t?e.setAttribute("aria-selected","true"):e.setAttribute("aria-selected","false"),a._applySelection.apply(this,arguments)},_focusedItemChanged:function(e,t){t&&t.setAttribute("tabindex","-1"),!e||e.hasAttribute("disabled")||this.disabled||(e.setAttribute("tabindex","0"),e.focus())},_onIronItemsChanged:function(e){e.detail.addedNodes.length&&this._resetTabindices()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");c._shiftTabPressed=!0,this._setFocusedItem(null),this.setAttribute("tabindex","-1"),this.async((function(){this.setAttribute("tabindex",t),c._shiftTabPressed=!1}),1)},_onFocus:function(e){if(!c._shiftTabPressed){var t=(0,i.tT)(e).rootTarget;(t===this||void 0===t.tabIndex||this.isLightDescendant(t))&&(this._defaultFocusAsync=this.async((function(){var e=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this._setFocusedItem(null),e?this._setFocusedItem(e):this.items[0]&&this._focusNext()})))}},_onUpKey:function(e){this._focusPrevious(),e.detail.keyboardEvent.preventDefault()},_onDownKey:function(e){this._focusNext(),e.detail.keyboardEvent.preventDefault()},_onEscKey:function(e){var t=this.focusedItem;t&&t.blur()},_onKeydown:function(e){this.keyboardEventMatchesKeys(e,"up down esc")||this._focusWithKeyboardEvent(e),e.stopPropagation()},_activateHandler:function(e){a._activateHandler.call(this,e),e.stopPropagation()},_disabledChanged:function(e){e?(this._previousTabIndex=this.hasAttribute("tabindex")?this.tabIndex:0,this.removeAttribute("tabindex")):this.hasAttribute("tabindex")||this.setAttribute("tabindex",this._previousTabIndex)},_shiftTabPressed:!1},d=[[a,l],s.D,c];var h=n(9758),u=n(4692);(0,h.b)({_template:u.q`
    <style>
      :host {
        display: block;
        padding: 8px 0;

        background: var(--paper-listbox-background-color, var(--primary-background-color));
        color: var(--paper-listbox-color, var(--primary-text-color));

        @apply --paper-listbox;
      }
    </style>

    <slot></slot>
`,is:"paper-listbox",behaviors:[d],hostAttributes:{role:"listbox"}})},6853:(e,t,n)=>{n.d(t,{$:()=>c});n(6412);var s=n(9434),i=n(2393);let r={},o={};function a(e,t){r[e]=o[e.toLowerCase()]=t}function l(e){return r[e]||o[e.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(e,t){if(e){let n=l(e);return n&&t?n.querySelector(t):n}return null}attributeChangedCallback(e,t,n,s){t!==n&&this.register()}get assetpath(){if(!this.__assetpath){const e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,t=(0,s.O2)(this.getAttribute("assetpath")||"",e.baseURI);this.__assetpath=(0,s.rG)(t)}return this.__assetpath}register(e){if(e=e||this.id){if(i.yu&&void 0!==l(e))throw a(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,a(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}c.prototype.modules=r,customElements.define("dom-module",c)},6157:(e,t,n)=>{n.d(t,{r:()=>Se});var s=n(2146);class i{constructor(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""}}function r(e){return o(function(e){let t=new i;t.start=0,t.end=e.length;let n=t;for(let s=0,r=e.length;s<r;s++)if(e[s]===c){n.rules||(n.rules=[]);let e=n,t=e.rules[e.rules.length-1]||null;n=new i,n.start=s+1,n.parent=e,n.previous=t,e.rules.push(n)}else e[s]===d&&(n.end=s+1,n=n.parent||t);return t}(e=e.replace(h.comments,"").replace(h.port,"")),e)}function o(e,t){let n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent){let s=e.previous?e.previous.end:e.parent.start;n=t.substring(s,e.start-1),n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){let e=arguments[1],t=6-e.length;for(;t--;)e="0"+e;return"\\"+e}))}(n),n=n.replace(h.multipleSpaces," "),n=n.substring(n.lastIndexOf(";")+1);let i=e.parsedSelector=e.selector=n.trim();e.atRule=0===i.indexOf(_),e.atRule?0===i.indexOf(p)?e.type=l.MEDIA_RULE:i.match(h.keyframesRule)&&(e.type=l.KEYFRAMES_RULE,e.keyframesName=e.selector.split(h.multipleSpaces).pop()):0===i.indexOf(u)?e.type=l.MIXIN_RULE:e.type=l.STYLE_RULE}let s=e.rules;if(s)for(let i,r=0,a=s.length;r<a&&(i=s[r]);r++)o(i,t);return e}function a(e,t,n=""){let s="";if(e.cssText||e.rules){let n=e.rules;if(n&&!function(e){let t=e[0];return Boolean(t)&&Boolean(t.selector)&&0===t.selector.indexOf(u)}(n))for(let e,i=0,r=n.length;i<r&&(e=n[i]);i++)s=a(e,t,s);else s=t?e.cssText:function(e){return e=function(e){return e.replace(h.customProp,"").replace(h.mixinProp,"")}(e),function(e){return e.replace(h.mixinApply,"").replace(h.varApply,"")}(e)}(e.cssText),s=s.trim(),s&&(s="  "+s+"\n")}return s&&(e.selector&&(n+=e.selector+" "+c+"\n"),n+=s,e.selector&&(n+=d+"\n\n")),n}const l={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},c="{",d="}",h={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},u="--",p="@media",_="@";var f=n(6108);const m=new Set;function y(e){const t=e.textContent;if(!m.has(t)){m.add(t);const e=document.createElement("style");e.setAttribute("shady-unscoped",""),e.textContent=t,document.head.appendChild(e)}}function b(e){return e.hasAttribute("shady-unscoped")}function g(e,t){return e?("string"==typeof e&&(e=r(e)),t&&w(e,t),a(e,s.Us)):""}function v(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=r(e.textContent)),e.__cssRules||null}function w(e,t,n,s){if(!e)return;let i=!1,r=e.type;if(s&&r===l.MEDIA_RULE){let t=e.selector.match(f.tU);t&&(window.matchMedia(t[1]).matches||(i=!0))}r===l.STYLE_RULE?t(e):n&&r===l.KEYFRAMES_RULE?n(e):r===l.MIXIN_RULE&&(i=!0);let o=e.rules;if(o&&!i)for(let a,l=0,c=o.length;l<c&&(a=o[l]);l++)w(a,t,n,s)}function C(e,t){let n=0;for(let s=t,i=e.length;s<i;s++)if("("===e[s])n++;else if(")"===e[s]&&0==--n)return s;return-1}function P(e,t){let n=e.indexOf("var(");if(-1===n)return t(e,"","","");let s=C(e,n+3),i=e.substring(n+4,s),r=e.substring(0,n),o=P(e.substring(s+1),t),a=i.indexOf(",");return-1===a?t(r,i.trim(),"",o):t(r,i.substring(0,a).trim(),i.substring(a+1).trim(),o)}window.ShadyDOM&&window.ShadyDOM.wrap;const S="css-build";function x(e){if(void 0!==s.gp)return s.gp;if(void 0===e.__cssBuild){const t=e.getAttribute(S);if(t)e.__cssBuild=t;else{const t=function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;if(t instanceof Comment){const e=t.textContent.trim().split(":");if(e[0]===S)return e[1]}return""}(e);""!==t&&function(e){const t="template"===e.localName?e.content.firstChild:e.firstChild;t.parentNode.removeChild(t)}(e),e.__cssBuild=t}}return e.__cssBuild||""}function E(e){return""!==x(e)}var T=n(3790);const A=/;\s*/m,O=/^\s*(initial)|(inherit)\s*$/,I=/\s*!important/,k="_-_";class N{constructor(){this._map={}}set(e,t){e=e.trim(),this._map[e]={properties:t,dependants:{}}}get(e){return e=e.trim(),this._map[e]||null}}let L=null;class D{constructor(){this._currentElement=null,this._measureElement=null,this._map=new N}detectMixin(e){return(0,T.Rf)(e)}gatherStyles(e){const t=function(e){const t=[],n=e.querySelectorAll("style");for(let i=0;i<n.length;i++){const e=n[i];b(e)?s.Eu||(y(e),e.parentNode.removeChild(e)):(t.push(e.textContent),e.parentNode.removeChild(e))}return t.join("").trim()}(e.content);if(t){const n=document.createElement("style");return n.textContent=t,e.content.insertBefore(n,e.content.firstChild),n}return null}transformTemplate(e,t){void 0===e._gatheredStyle&&(e._gatheredStyle=this.gatherStyles(e));const n=e._gatheredStyle;return n?this.transformStyle(n,t):null}transformStyle(e,t=""){let n=v(e);return this.transformRules(n,t),e.textContent=g(n),n}transformCustomStyle(e){let t=v(e);return w(t,(e=>{":root"===e.selector&&(e.selector="html"),this.transformRule(e)})),e.textContent=g(t),t}transformRules(e,t){this._currentElement=t,w(e,(e=>{this.transformRule(e)})),this._currentElement=null}transformRule(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}transformCssText(e,t){return e=e.replace(f.u$,((e,n,s,i)=>this._produceCssProperties(e,n,s,i,t))),this._consumeCssProperties(e,t)}_getInitialValueForProperty(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}_fallbacksFromPreviousRules(e){let t=e;for(;t.parent;)t=t.parent;const n={};let s=!1;return w(t,(t=>{s=s||t===e,s||t.selector===e.selector&&Object.assign(n,this._cssTextToMap(t.parsedCssText))})),n}_consumeCssProperties(e,t){let n=null;for(;n=f.w3.exec(e);){let s=n[0],i=n[1],r=n.index,o=r+s.indexOf("@apply"),a=r+s.length,l=e.slice(0,o),c=e.slice(a),d=t?this._fallbacksFromPreviousRules(t):{};Object.assign(d,this._cssTextToMap(l));let h=this._atApplyToCssProperties(i,d);e=`${l}${h}${c}`,f.w3.lastIndex=r+h.length}return e}_atApplyToCssProperties(e,t){e=e.replace(A,"");let n=[],s=this._map.get(e);if(s||(this._map.set(e,{}),s=this._map.get(e)),s){let i,r,o;this._currentElement&&(s.dependants[this._currentElement]=!0);const a=s.properties;for(i in a)o=t&&t[i],r=[i,": var(",e,k,i],o&&r.push(",",o.replace(I,"")),r.push(")"),I.test(a[i])&&r.push(" !important"),n.push(r.join(""))}return n.join("; ")}_replaceInitialOrInherit(e,t){let n=O.exec(t);return n&&(t=n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}_cssTextToMap(e,t=!1){let n,s,i=e.split(";"),r={};for(let o,a,l=0;l<i.length;l++)o=i[l],o&&(a=o.split(":"),a.length>1&&(n=a[0].trim(),s=a.slice(1).join(":"),t&&(s=this._replaceInitialOrInherit(n,s)),r[n]=s));return r}_invalidateMixinEntry(e){if(L)for(let t in e.dependants)t!==this._currentElement&&L(t)}_produceCssProperties(e,t,n,s,i){if(n&&P(n,((e,t)=>{t&&this._map.get(t)&&(s=`@apply ${t};`)})),!s)return e;let r=this._consumeCssProperties(""+s,i),o=e.slice(0,e.indexOf("--")),a=this._cssTextToMap(r,!0),l=a,c=this._map.get(t),d=c&&c.properties;d?l=Object.assign(Object.create(d),a):this._map.set(t,l);let h,u,p=[],_=!1;for(h in l)u=a[h],void 0===u&&(u="initial"),d&&!(h in d)&&(_=!0),p.push(`${t}${k}${h}: ${u}`);return _&&this._invalidateMixinEntry(c),c&&(c.properties=l),n&&(o=`${e};${o}`),`${o}${p.join("; ")};`}}D.prototype.detectMixin=D.prototype.detectMixin,D.prototype.transformStyle=D.prototype.transformStyle,D.prototype.transformCustomStyle=D.prototype.transformCustomStyle,D.prototype.transformRules=D.prototype.transformRules,D.prototype.transformRule=D.prototype.transformRule,D.prototype.transformTemplate=D.prototype.transformTemplate,D.prototype._separator=k,Object.defineProperty(D.prototype,"invalidCallback",{get(){return L},set(e){L=e}});const M=D,R={},F="_applyShimCurrentVersion",H="_applyShimNextVersion",B="_applyShimValidatingVersion",z=Promise.resolve();function j(e){let t=R[e];t&&function(e){e[F]=e[F]||0,e[B]=e[B]||0,e[H]=(e[H]||0)+1}(t)}function K(e){return e[F]===e[H]}function U(e){return!K(e)&&e[B]===e[H]}function $(e){e[B]=e[H],e._validating||(e._validating=!0,z.then((function(){e[F]=e[H],e._validating=!1})))}n(6717);const q=new M;class V{constructor(){this.customStyleInterface=null,q.invalidCallback=j}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=e=>{q.transformCustomStyle(e)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame((()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()}))})}prepareTemplate(e,t){if(this.ensure(),E(e))return;R[t]=e;let n=q.transformTemplate(e,t);e._styleAst=n}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let e=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let t=0;t<e.length;t++){let n=e[t],s=this.customStyleInterface.getStyleForCustomStyle(n);s&&q.transformCustomStyle(s)}this.customStyleInterface.enqueued=!1}}styleSubtree(e,t){if(this.ensure(),t&&(0,T.U_)(e,t),e.shadowRoot){this.styleElement(e);let t=e.shadowRoot.children||e.shadowRoot.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}else{let t=e.children||e.childNodes;for(let e=0;e<t.length;e++)this.styleSubtree(t[e])}}styleElement(e){this.ensure();let{is:t}=function(e){let t=e.localName,n="",s="";return t?t.indexOf("-")>-1?n=t:(s=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,s=e.extends),{is:n,typeExtension:s}}(e),n=R[t];if((!n||!E(n))&&n&&!K(n)){U(n)||(this.prepareTemplate(n,t),$(n));let s=e.shadowRoot;if(s){let e=s.querySelector("style");e&&(e.__cssRules=n._styleAst,e.textContent=g(n._styleAst))}}}styleDocument(e){this.ensure(),this.styleSubtree(document.body,e)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const e=new V;let t=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(t,n,s){e.flushCustomStyles(),e.prepareTemplate(t,n)},prepareTemplateStyles(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom(e,t){},styleSubtree(t,n){e.flushCustomStyles(),e.styleSubtree(t,n)},styleElement(t){e.flushCustomStyles(),e.styleElement(t)},styleDocument(t){e.flushCustomStyles(),e.styleDocument(t)},getComputedStyleValue(e,t){return(0,T.yd)(e,t)},flushCustomStyles(){e.flushCustomStyles()},nativeCss:s.Us,nativeShadow:s.Eu,cssBuild:s.gp,disableRuntime:s.hS},t&&(window.ShadyCSS.CustomStyleInterface=t)}window.ShadyCSS.ApplyShim=q;var J=n(7182),Y=n(7217),X=n(3115),W=n(4719);const G=/:host\(:dir\((ltr|rtl)\)\)/g,Z=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,Q=/:dir\((?:ltr|rtl)\)/,ee=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),te=[];let ne=null,se="";function ie(){se=document.documentElement.getAttribute("dir")}function re(e){if(!e.__autoDirOptOut){e.setAttribute("dir",se)}}function oe(){ie(),se=document.documentElement.getAttribute("dir");for(let e=0;e<te.length;e++)re(te[e])}const ae=(0,W.y)((e=>{ee||ne||(ie(),ne=new MutationObserver(oe),ne.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const t=(0,X.W)(e);class n extends t{static _processStyleText(e,n){return e=t._processStyleText.call(this,e,n),!ee&&Q.test(e)&&(e=this._replaceDirInCssText(e),this.__activateDir=!0),e}static _replaceDirInCssText(e){let t=e;return t=t.replace(G,':host([dir="$1"])'),t=t.replace(Z,':host([dir="$2"]) $1'),t}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){t.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(ne&&ne.takeRecords().length&&oe(),te.push(this),re(this))}disconnectedCallback(){if(t.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const e=te.indexOf(this);e>-1&&te.splice(e,1)}}}return n.__activateDir=!1,n}));n(6412);function le(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?le():window.addEventListener("DOMContentLoaded",le);var ce=n(957),de=n(1944),he=n(4735),ue=n(526),pe=n(4347),_e=n(6920);const fe=window.ShadyDOM,me=window.ShadyCSS;function ye(e,t){return(0,_e.L)(e).getRootNode()===t}var be=n(2393);const ge="disable-upgrade",ve=e=>{for(;e;){const t=Object.getOwnPropertyDescriptor(e,"observedAttributes");if(t)return t.get;e=Object.getPrototypeOf(e.prototype).constructor}return()=>[]};(0,W.y)((e=>{const t=(0,J.q2)(e);let n=ve(t);return class extends t{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return n.call(this).concat(ge)}_initializeProperties(){this.hasAttribute(ge)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}attributeChangedCallback(e,t,n,s){e==ge?this.__isUpgradeDisabled&&null==n&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,(0,_e.L)(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(e,t,n,s)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}}));var we=n(9193);const Ce="disable-upgrade";let Pe=window.ShadyCSS;const Se=(0,W.y)((e=>{const t=(0,Y.b)((0,J.q2)(e)),n=J.IS?t:ae(t),s=ve(n),i={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class r extends n{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(e,t,n){(this.__dataAttributes&&this.__dataAttributes[e]||e===Ce)&&this.attributeChangedCallback(e,t,n,null)}setAttribute(e,t){if(be.CE&&!this._legacyForceObservedAttributes){const n=this.getAttribute(e);super.setAttribute(e,t),this.__attributeReaction(e,n,String(t))}else super.setAttribute(e,t)}removeAttribute(e){if(be.CE&&!this._legacyForceObservedAttributes){const t=this.getAttribute(e);super.removeAttribute(e),this.__attributeReaction(e,t,null)}else super.removeAttribute(e)}static get observedAttributes(){return be.CE&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],(0,we.kz)(this.prototype)),this.__observedAttributes):s.call(this).concat(Ce)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(e){return super._canApplyPropertyDefault(e)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(e))}connectedCallback(){this.__needsAttributesAtConnected&&this._takeAttributes(),this.__isUpgradeDisabled||(super.connectedCallback(),this.isAttached=!0,this.attached())}attached(){}disconnectedCallback(){this.__isUpgradeDisabled||(super.disconnectedCallback(),this.isAttached=!1,this.detached())}detached(){}attributeChangedCallback(e,t,n,s){t!==n&&(e==Ce?this.__isUpgradeDisabled&&null==n&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,(0,_e.L)(this).isConnected&&this.connectedCallback()):(super.attributeChangedCallback(e,t,n,s),this.attributeChanged(e,t,n)))}attributeChanged(e,t,n){}_initializeProperties(){if(be.IP&&this.hasAttribute(Ce))this.__isUpgradeDisabled=!0;else{let e=Object.getPrototypeOf(this);e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))||(this._registered(),e.__hasRegisterFinished=!0),super._initializeProperties(),this.root=this,this.created(),be.CE&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners()}}_takeAttributes(){const e=this.attributes;for(let t=0,n=e.length;t<n;t++){const n=e[t];this.__attributeReaction(n.name,null,n.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(e){return this._serializeValue(e)}deserialize(e,t){return this._deserializeValue(e,t)}reflectPropertyToAttribute(e,t,n){this._propertyToAttribute(e,t,n)}serializeValueToAttribute(e,t,n){this._valueToNodeAttribute(n||this,e,t)}extend(e,t){if(!e||!t)return e||t;let n=Object.getOwnPropertyNames(t);for(let s,i=0;i<n.length&&(s=n[i]);i++){let n=Object.getOwnPropertyDescriptor(t,s);n&&Object.defineProperty(e,s,n)}return e}mixin(e,t){for(let n in t)e[n]=t[n];return e}chainObject(e,t){return e&&t&&e!==t&&(e.__proto__=t),e}instanceTemplate(e){let t=this.constructor._contentForTemplate(e);return document.importNode(t,!0)}fire(e,t,n){n=n||{},t=null==t?{}:t;let s=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});s.detail=t;let i=n.node||this;return(0,_e.L)(i).dispatchEvent(s),s}listen(e,t,n){e=e||this;let s=this.__boundListeners||(this.__boundListeners=new WeakMap),i=s.get(e);i||(i={},s.set(e,i));let r=t+n;i[r]||(i[r]=this._addMethodEventListenerToNode(e,t,n,this))}unlisten(e,t,n){e=e||this;let s=this.__boundListeners&&this.__boundListeners.get(e),i=t+n,r=s&&s[i];r&&(this._removeEventListenerFromNode(e,t,r),s[i]=null)}setScrollDirection(e,t){(0,de.wB)(t||this,i[e]||"auto")}$$(e){return this.root.querySelector(e)}get domHost(){let e=(0,_e.L)(this).getRootNode();return e instanceof DocumentFragment?e.host:e}distributeContent(){const e=(0,ce.tT)(this);window.ShadyDOM&&e.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return(0,ce.tT)(this).getEffectiveChildNodes()}queryDistributedElements(e){return(0,ce.tT)(this).queryDistributedElements(e)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}getEffectiveTextContent(){let e=this.getEffectiveChildNodes(),t=[];for(let n,s=0;n=e[s];s++)n.nodeType!==Node.COMMENT_NODE&&t.push(n.textContent);return t.join("")}queryEffectiveChildren(e){let t=this.queryDistributedElements(e);return t&&t[0]}queryAllEffectiveChildren(e){return this.queryDistributedElements(e)}getContentChildNodes(e){let t=this.root.querySelector(e||"slot");return t?(0,ce.tT)(t).getDistributedNodes():[]}getContentChildren(e){return this.getContentChildNodes(e).filter((function(e){return e.nodeType===Node.ELEMENT_NODE}))}isLightDescendant(e){const t=this;return t!==e&&(0,_e.L)(t).contains(e)&&(0,_e.L)(t).getRootNode()===(0,_e.L)(e).getRootNode()}isLocalDescendant(e){return this.root===(0,_e.L)(e).getRootNode()}scopeSubtree(e,t=!1){return function(e,t=!1){if(!fe||!me)return null;if(!fe.handlesDynamicScoping)return null;const n=me.ScopingShim;if(!n)return null;const s=n.scopeForNode(e),i=(0,_e.L)(e).getRootNode(),r=e=>{if(!ye(e,i))return;const t=Array.from(fe.nativeMethods.querySelectorAll.call(e,"*"));t.push(e);for(let r=0;r<t.length;r++){const e=t[r];if(!ye(e,i))continue;const o=n.currentScopeForNode(e);o!==s&&(""!==o&&n.unscopeNode(e,o),n.scopeNode(e,s))}};if(r(e),t){const t=new MutationObserver((e=>{for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.addedNodes.length;e++){const t=n.addedNodes[e];t.nodeType===Node.ELEMENT_NODE&&r(t)}}}));return t.observe(e,{childList:!0,subtree:!0}),t}return null}(e,t)}getComputedStyleValue(e){return Pe.getComputedStyleValue(this,e)}debounce(e,t,n){return this._debouncers=this._debouncers||{},this._debouncers[e]=he.aq.debounce(this._debouncers[e],n>0?ue.EV.after(n):ue._3,t.bind(this))}isDebouncerActive(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];return!(!t||!t.isActive())}flushDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.flush()}cancelDebouncer(e){this._debouncers=this._debouncers||{};let t=this._debouncers[e];t&&t.cancel()}async(e,t){return t>0?ue.EV.run(e.bind(this),t):~ue._3.run(e.bind(this))}cancelAsync(e){e<0?ue._3.cancel(~e):ue.EV.cancel(e)}create(e,t){let n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(let s in t)n[s]=t[s];return n}elementMatches(e,t){return(0,ce.B5)(t||this,e)}toggleAttribute(e,t){let n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(t=!n.hasAttribute(e)),t?((0,_e.L)(n).setAttribute(e,""),!0):((0,_e.L)(n).removeAttribute(e),!1)}toggleClass(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?n.classList.add(e):n.classList.remove(e)}transform(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}translate3d(e,t,n,s){s=s||this,this.transform("translate3d("+e+","+t+","+n+")",s)}arrayDelete(e,t){let n;if(Array.isArray(e)){if(n=e.indexOf(t),n>=0)return e.splice(n,1)}else{if(n=(0,pe.Jt)(this,e).indexOf(t),n>=0)return this.splice(e,n,1)}return null}_logger(e,t){switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":console[e](...t)}}_log(...e){this._logger("log",e)}_warn(...e){this._logger("warn",e)}_error(...e){this._logger("error",e)}_logf(e,...t){return["[%s::%s]",this.is,e,...t]}}return r.prototype.is="",r}))},9758:(e,t,n)=>{n.d(t,{b:()=>p});var s=n(6157),i=n(2393);const r={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},o={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},a=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},o);function l(e,t,n,s){!function(e,t,n){const s=e._noAccessors,i=Object.getOwnPropertyNames(e);for(let r=0;r<i.length;r++){let o=i[r];if(!(o in n))if(s)t[o]=e[o];else{let n=Object.getOwnPropertyDescriptor(e,o);n&&(n.configurable=!0,Object.defineProperty(t,o,n))}}}(t,e,s);for(let i in r)t[i]&&(n[i]=n[i]||[],n[i].push(t[i]))}function c(e,t,n){t=t||[];for(let s=e.length-1;s>=0;s--){let i=e[s];i?Array.isArray(i)?c(i,t):t.indexOf(i)<0&&(!n||n.indexOf(i)<0)&&t.unshift(i):console.warn("behavior is null, check for missing or 404 import")}return t}function d(e,t){for(const n in t){const s=e[n],i=t[n];e[n]=!("value"in i)&&s&&"value"in s?Object.assign({value:s.value},i):i}}const h=(0,s.r)(HTMLElement);function u(e,t,n){let s;const r={};class h extends t{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(s)for(let e,t=0;t<s.length;t++)e=s[t],e.properties&&this.createProperties(e.properties),e.observers&&this.createObservers(e.observers,e.properties);e.properties&&this.createProperties(e.properties),e.observers&&this.createObservers(e.observers,e.properties),this._prepareTemplate()}else t._finalizeClass.call(this)}static get properties(){const t={};if(s)for(let e=0;e<s.length;e++)d(t,s[e].properties);return d(t,e.properties),t}static get observers(){let t=[];if(s)for(let e,n=0;n<s.length;n++)e=s[n],e.observers&&(t=t.concat(e.observers));return e.observers&&(t=t.concat(e.observers)),t}created(){super.created();const e=r.created;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}_registered(){const e=h.prototype;if(!e.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",e))){const t=Object.getPrototypeOf(this);t===e&&(e.__hasRegisterFinished=!0),super._registered(),i.IP&&!Object.hasOwnProperty(e,"__hasCopiedProperties")&&(e.__hasCopiedProperties=!0,u(e));let n=r.beforeRegister;if(n)for(let e=0;e<n.length;e++)n[e].call(t);if(n=r.registered,n)for(let e=0;e<n.length;e++)n[e].call(t)}}_applyListeners(){super._applyListeners();const e=r.listeners;if(e)for(let t=0;t<e.length;t++){const n=e[t];if(n)for(let e in n)this._addMethodEventListenerToNode(this,e,n[e])}}_ensureAttributes(){const e=r.hostAttributes;if(e)for(let t=e.length-1;t>=0;t--){const n=e[t];for(let e in n)this._ensureAttribute(e,n[e])}super._ensureAttributes()}ready(){super.ready();let e=r.ready;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}attached(){super.attached();let e=r.attached;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}detached(){super.detached();let e=r.detached;if(e)for(let t=0;t<e.length;t++)e[t].call(this)}attributeChanged(e,t,n){super.attributeChanged();let s=r.attributeChanged;if(s)for(let i=0;i<s.length;i++)s[i].call(this,e,t,n)}}if(n){Array.isArray(n)||(n=[n]);let e=t.prototype.behaviors;s=c(n,null,e),h.prototype.behaviors=e?e.concat(n):s}const u=t=>{s&&function(e,t,n){for(let s=0;s<t.length;s++)l(e,t[s],n,a)}(t,s,r),l(t,e,r,o)};return i.IP||u(h.prototype),h.generatedFrom=e,h}n(6412);const p=function(e){let t;return t="function"==typeof e?e:p.Class(e),e._legacyForceObservedAttributes&&(t.prototype._legacyForceObservedAttributes=e._legacyForceObservedAttributes),customElements.define(t.is,t),t};p.Class=function(e,t){e||console.warn("Polymer.Class requires `info` argument");let n=t?t(h):h;return n=u(e,n,e.behaviors),n.is=n.prototype.is=e.is,n}},957:(e,t,n)=>{n.d(t,{tT:()=>f,B5:()=>d});n(6412);var s=n(6920),i=(n(2393),n(5444)),r=n(526);function o(e){return"slot"===e.localName}let a=class{static getFlattenedNodes(e){const t=(0,s.L)(e);return o(e)?t.assignedNodes({flatten:!0}):Array.from(t.childNodes).map((e=>o(e)?(0,s.L)(e).assignedNodes({flatten:!0}):[e])).reduce(((e,t)=>e.concat(t)),[])}constructor(e,t){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=e,this.callback=t,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){o(this._target)?this._listenSlots([this._target]):(0,s.L)(this._target).children&&(this._listenSlots((0,s.L)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(e=>{this._processMutations(e)})):(this._nativeChildrenObserver=new MutationObserver((e=>{this._processMutations(e)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){o(this._target)?this._unlistenSlots([this._target]):(0,s.L)(this._target).children&&(this._unlistenSlots((0,s.L)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,r._3.run((()=>this.flush())))}_processMutations(e){this._processSlotMutations(e),this.flush()}_processSlotMutations(e){if(e)for(let t=0;t<e.length;t++){let n=e[t];n.addedNodes&&this._listenSlots(n.addedNodes),n.removedNodes&&this._unlistenSlots(n.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let e={target:this._target,addedNodes:[],removedNodes:[]},t=this.constructor.getFlattenedNodes(this._target),n=(0,i.k)(t,this._effectiveNodes);for(let i,r=0;r<n.length&&(i=n[r]);r++)for(let t,n=0;n<i.removed.length&&(t=i.removed[n]);n++)e.removedNodes.push(t);for(let i,r=0;r<n.length&&(i=n[r]);r++)for(let n=i.index;n<i.index+i.addedCount;n++)e.addedNodes.push(t[n]);this._effectiveNodes=t;let s=!1;return(e.addedNodes.length||e.removedNodes.length)&&(s=!0,this.callback.call(this._target,e)),s}_listenSlots(e){for(let t=0;t<e.length;t++){let n=e[t];o(n)&&n.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(e){for(let t=0;t<e.length;t++){let n=e[t];o(n)&&n.removeEventListener("slotchange",this._boundSchedule)}}};n(5436),n(4735);const l=Element.prototype,c=l.matches||l.matchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector,d=function(e,t){return c.call(e,t)};class h{constructor(e){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(e),this.node=e}observeNodes(e){return new a(this.node,e)}unobserveNodes(e){e.disconnect()}notifyObserver(){}deepContains(e){if((0,s.L)(this.node).contains(e))return!0;let t=e,n=e.ownerDocument;for(;t&&t!==n&&t!==this.node;)t=(0,s.L)(t).parentNode||(0,s.L)(t).host;return t===this.node}getOwnerRoot(){return(0,s.L)(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?(0,s.L)(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let e=[],t=(0,s.L)(this.node).assignedSlot;for(;t;)e.push(t),t=(0,s.L)(t).assignedSlot;return e}importNode(e,t){let n=this.node instanceof Document?this.node:this.node.ownerDocument;return(0,s.L)(n).importNode(e,t)}getEffectiveChildNodes(){return a.getFlattenedNodes(this.node)}queryDistributedElements(e){let t=this.getEffectiveChildNodes(),n=[];for(let s,i=0,r=t.length;i<r&&(s=t[i]);i++)s.nodeType===Node.ELEMENT_NODE&&d(s,e)&&n.push(s);return n}get activeElement(){let e=this.node;return void 0!==e._activeElement?e._activeElement:e.activeElement}}function u(e,t){for(let n=0;n<t.length;n++){let s=t[n];Object.defineProperty(e,s,{get:function(){return this.node[s]},configurable:!0})}}class p{constructor(e){this.event=e}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}h.prototype.cloneNode,h.prototype.appendChild,h.prototype.insertBefore,h.prototype.removeChild,h.prototype.replaceChild,h.prototype.setAttribute,h.prototype.removeAttribute,h.prototype.querySelector,h.prototype.querySelectorAll,h.prototype.parentNode,h.prototype.firstChild,h.prototype.lastChild,h.prototype.nextSibling,h.prototype.previousSibling,h.prototype.firstElementChild,h.prototype.lastElementChild,h.prototype.nextElementSibling,h.prototype.previousElementSibling,h.prototype.childNodes,h.prototype.children,h.prototype.classList,h.prototype.textContent,h.prototype.innerHTML;let _=h;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class e extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(h.prototype).forEach((t=>{"activeElement"!=t&&(e.prototype[t]=h.prototype[t])})),u(e.prototype,["classList"]),_=e,Object.defineProperties(p.prototype,{localTarget:{get(){const e=this.event.currentTarget,t=e&&f(e).getOwnerRoot(),n=this.path;for(let s=0;s<n.length;s++){const e=n[s];if(f(e).getOwnerRoot()===t)return e}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else!function(e,t){for(let n=0;n<t.length;n++){let s=t[n];e[s]=function(){return this.node[s].apply(this.node,arguments)}}}(h.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll","attachShadow"]),u(h.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList","shadowRoot"]),function(e,t){for(let n=0;n<t.length;n++){let s=t[n];Object.defineProperty(e,s,{get:function(){return this.node[s]},set:function(e){this.node[s]=e},configurable:!0})}}(h.prototype,["textContent","innerHTML","className"]);const f=function(e){if((e=e||document)instanceof _)return e;if(e instanceof p)return e;let t=e.__domApi;return t||(t=e instanceof Event?new p(e):new _(e),e.__domApi=t),t}},7182:(e,t,n)=>{n.d(t,{q2:()=>_,IS:()=>p});n(6412);var s=n(2393),i=n(4719),r=n(4791),o=n(9434),a=n(6853),l=n(4145),c=n(9193),d=n(9415);const h=(0,i.y)((e=>{const t=(0,d.e)(e);function n(e){const t=Object.getPrototypeOf(e);return t.prototype instanceof i?t:null}function s(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){let t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){const n=e.properties;n&&(t=function(e){const t={};for(let n in e){const s=e[n];t[n]="function"==typeof s?{type:s}:s}return t}(n))}e.__ownProperties=t}return e.__ownProperties}class i extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){(0,c.kz)(this.prototype);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((e=>this.prototype._addPropertyToAttributeMap(e))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const e=n(this);e&&e.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const e=s(this);e&&this.createProperties(e)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const e=n(this);this.__properties=Object.assign({},e&&e._properties,s(this))}return this.__properties}static typeForProperty(e){const t=this._properties[e];return t&&t.type}_initializeProperties(){(0,c.cn)(),this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i}));var u=n(6920);const p=window.ShadyCSS&&window.ShadyCSS.cssBuild,_=(0,i.y)((e=>{const t=h((0,l.s)(e));return class extends t{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){t._finalizeClass.call(this);const e=((n=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",n))||(n.__ownObservers=n.hasOwnProperty(JSCompiler_renameProperty("observers",n))?n.observers:null),n.__ownObservers);var n;e&&this.createObservers(e,this._properties),this._prepareTemplate()}static _prepareTemplate(){let e=this.template;e&&("string"==typeof e?(console.error("template getter must return HTMLTemplateElement"),e=null):s.IP||(e=e.cloneNode(!0))),this.prototype._template=e}static createProperties(e){for(let r in e)t=this.prototype,n=r,s=e[r],i=e,s.computed&&(s.readOnly=!0),s.computed&&(t._hasReadOnlyEffect(n)?console.warn(`Cannot redefine computed property '${n}'.`):t._createComputedProperty(n,s.computed,i)),s.readOnly&&!t._hasReadOnlyEffect(n)?t._createReadOnlyProperty(n,!s.computed):!1===s.readOnly&&t._hasReadOnlyEffect(n)&&console.warn(`Cannot make readOnly property '${n}' non-readOnly.`),s.reflectToAttribute&&!t._hasReflectEffect(n)?t._createReflectedProperty(n):!1===s.reflectToAttribute&&t._hasReflectEffect(n)&&console.warn(`Cannot make reflected property '${n}' non-reflected.`),s.notify&&!t._hasNotifyEffect(n)?t._createNotifyingProperty(n):!1===s.notify&&t._hasNotifyEffect(n)&&console.warn(`Cannot make notify property '${n}' non-notify.`),s.observer&&t._createPropertyObserver(n,s.observer,i[s.observer]),t._addPropertyToAttributeMap(n);var t,n,s,i}static createObservers(e,t){const n=this.prototype;for(let s=0;s<e.length;s++)n._createMethodObserver(e[s],t)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let e=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof e&&(e=e()),this._template=void 0!==e?e:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(e){let t=null;if(e&&(!s.yu||s.ek)&&(t=a.$.import(e,"template"),s.yu&&!t))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${e}`);return t}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(e){this._template=e}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const e=this.importMeta;if(e)this._importPath=(0,o.rG)(e.url);else{const e=a.$.import(this.is);this._importPath=e&&e.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=s.wA,this.importPath=this.constructor.importPath;let e=function(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",e))){e.__propertyDefaults=null;let t=e._properties;for(let n in t){let s=t[n];"value"in s&&(e.__propertyDefaults=e.__propertyDefaults||{},e.__propertyDefaults[n]=s)}}return e.__propertyDefaults}(this.constructor);if(e)for(let t in e){let n=e[t];if(this._canApplyPropertyDefault(t)){let e="function"==typeof n.value?n.value.call(this):n.value;this._hasAccessor(t)?this._setPendingProperty(t,e,!0):this[t]=e}}}_canApplyPropertyDefault(e){return!this.hasOwnProperty(e)}static _processStyleText(e,t){return(0,o.c0)(e,t)}static _finalizeTemplate(e){const t=this.prototype._template;if(t&&!t.__polymerFinalized){t.__polymerFinalized=!0;const n=this.importPath;!function(e,t,n,i){if(!p){const s=t.content.querySelectorAll("style"),o=(0,r.nX)(t),a=(0,r.Ho)(n),l=t.content.firstElementChild;for(let n=0;n<a.length;n++){let s=a[n];s.textContent=e._processStyleText(s.textContent,i),t.content.insertBefore(s,l)}let c=0;for(let t=0;t<o.length;t++){let n=o[t],r=s[c];r!==n?(n=n.cloneNode(!0),r.parentNode.insertBefore(n,r)):c++,n.textContent=e._processStyleText(n.textContent,i)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,n),s.vK&&p&&s.qM){const n=t.content.querySelectorAll("style");if(n){let t="";Array.from(n).forEach((e=>{t+=e.textContent,e.parentNode.removeChild(e)})),e._styleSheet=new CSSStyleSheet,e._styleSheet.replaceSync(t)}}}(this,t,e,n?(0,o.O2)(n):""),this.prototype._bindTemplate(t)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(e){const t=(0,u.L)(this);if(t.attachShadow)return e?(t.shadowRoot||(t.attachShadow({mode:"open",shadyUpgradeFragment:e}),t.shadowRoot.appendChild(e),this.constructor._styleSheet&&(t.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),s.Kp&&window.ShadyDOM&&window.ShadyDOM.flushInitial(t.shadowRoot),t.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(e){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,e)}resolveUrl(e,t){return!t&&this.importPath&&(t=(0,o.O2)(this.importPath)),(0,o.O2)(e,t)}static _parseTemplateContent(e,n,s){return n.dynamicFns=n.dynamicFns||this._properties,t._parseTemplateContent.call(this,e,n,s)}static _addTemplatePropertyEffect(e,n,i){return!s.F3||n in this._properties||i.info.part.signature&&i.info.part.signature.static||i.info.part.hostProp||e.nestedTemplate||console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,e,n,i)}}}))},7217:(e,t,n)=>{n.d(t,{b:()=>r});n(6412);var s=n(4719),i=n(1944);const r=(0,s.y)((e=>class extends e{_addEventListenerToNode(e,t,n){(0,i.ch)(e,t,n)||super._addEventListenerToNode(e,t,n)}_removeEventListenerFromNode(e,t,n){(0,i.pQ)(e,t,n)||super._removeEventListenerFromNode(e,t,n)}}))},9415:(e,t,n)=>{n.d(t,{e:()=>a});n(6412);var s=n(4719),i=n(526),r=n(6920);const o=i._3,a=(0,s.y)((e=>class extends e{static createProperties(e){const t=this.prototype;for(let n in e)n in t||t._createPropertyAccessor(n)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let t=this.__dataAttributes[e];return t||(t=this.constructor.attributeNameForProperty(e),this.__dataAttributes[t]=e),t}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this.__data[e]},set:t?function(){}:function(t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,n){let s=this.__data[e],i=this._shouldPropertyChange(e,t,s);return i&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=s),this.__data[e]=t,this.__dataPending[e]=t),i}_isPropertyPending(e){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(e))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,o.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const e=this.__data,t=this.__dataPending,n=this.__dataOld;this._shouldPropertiesChange(e,t,n)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,n)),this.__dataCounter--}_shouldPropertiesChange(e,t,n){return Boolean(t)}_propertiesChanged(e,t,n){}_shouldPropertyChange(e,t,n){return n!==t&&(n==n||t==t)}attributeChangedCallback(e,t,n,s){t!==n&&this._attributeToProperty(e,n),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,n,s)}_attributeToProperty(e,t,n){if(!this.__serializing){const s=this.__dataAttributes,i=s&&s[e]||e;this[i]=this._deserializeValue(t,n||this.constructor.typeForProperty(i))}}_propertyToAttribute(e,t,n){this.__serializing=!0,n=arguments.length<3?this[e]:n,this._valueToNodeAttribute(this,n,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,n){const s=this._serializeValue(t);"class"!==n&&"name"!==n&&"slot"!==n||(e=(0,r.L)(e)),void 0===s?e.removeAttribute(n):e.setAttribute(n,""===s&&window.trustedTypes?window.trustedTypes.emptyScript:s)}_serializeValue(e){return"boolean"==typeof e?e?"":void 0:null!=e?e.toString():void 0}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}}))},3115:(e,t,n)=>{n.d(t,{W:()=>c});n(6412);var s=n(4719),i=n(2559),r=n(9415);const o={};let a=HTMLElement.prototype;for(;a;){let e=Object.getOwnPropertyNames(a);for(let t=0;t<e.length;t++)o[e[t]]=!0;a=Object.getPrototypeOf(a)}const l=window.trustedTypes?e=>trustedTypes.isHTML(e)||trustedTypes.isScript(e)||trustedTypes.isScriptURL(e):()=>!1;const c=(0,s.y)((e=>{const t=(0,r.e)(e);return class extends t{static createPropertiesForAttributes(){let e=this.observedAttributes;for(let t=0;t<e.length;t++)this.prototype._createPropertyAccessor((0,i.I)(e[t]))}static attributeNameForProperty(e){return(0,i.e)(e)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(e){for(let t in e)this._setProperty(t,e[t])}_ensureAttribute(e,t){const n=this;n.hasAttribute(e)||this._valueToNodeAttribute(n,t,e)}_serializeValue(e){if("object"==typeof e){if(e instanceof Date)return e.toString();if(e){if(l(e))return e;try{return JSON.stringify(e)}catch(t){return""}}}return super._serializeValue(e)}_deserializeValue(e,t){let n;switch(t){case Object:try{n=JSON.parse(e)}catch(s){n=e}break;case Array:try{n=JSON.parse(e)}catch(s){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${e}`)}break;case Date:n=isNaN(e)?String(e):Number(e),n=new Date(n);break;default:n=super._deserializeValue(e,t)}return n}_definePropertyAccessor(e,t){!function(e,t){if(!o[t]){let n=e[t];void 0!==n&&(e.__data?e._setPendingProperty(t,n):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=n))}}(this,e),super._definePropertyAccessor(e,t)}_hasAccessor(e){return this.__dataHasAccessor&&this.__dataHasAccessor[e]}_isPropertyPending(e){return Boolean(this.__dataPending&&e in this.__dataPending)}}}))},4145:(e,t,n)=>{n.d(t,{s:()=>te});n(6412);var s=n(6920),i=n(4719),r=n(4347),o=n(2559),a=n(3115);const l={"dom-if":!0,"dom-repeat":!0};let c=!1,d=!1;function h(e){(function(){if(!c){c=!0;const e=document.createElement("textarea");e.placeholder="a",d=e.placeholder===e.textContent}return d})()&&"textarea"===e.localName&&e.placeholder&&e.placeholder===e.textContent&&(e.textContent=null)}const u=(()=>{const e=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:e=>e});return(t,n,s)=>{const i=n.getAttribute(s);e&&s.startsWith("on-")?t.setAttribute(s,e.createScript(i,s)):t.setAttribute(s,i)}})();function p(e){let t=e.getAttribute("is");if(t&&l[t]){let n=e;for(n.removeAttribute("is"),e=n.ownerDocument.createElement(t),n.parentNode.replaceChild(e,n),e.appendChild(n);n.attributes.length;){const{name:t}=n.attributes[0];u(e,n,t),n.removeAttribute(t)}}return e}function _(e,t){let n=t.parentInfo&&_(e,t.parentInfo);if(!n)return e;for(let s=n.firstChild,i=0;s;s=s.nextSibling)if(t.parentIndex===i++)return s}function f(e,t,n,s){s.id&&(t[s.id]=n)}function m(e,t,n){if(n.events&&n.events.length)for(let s,i=0,r=n.events;i<r.length&&(s=r[i]);i++)e._addMethodEventListenerToNode(t,s.name,s.value,e)}function y(e,t,n,s){n.templateInfo&&(t._templateInfo=n.templateInfo,t._parentTemplateInfo=s)}const b=(0,i.y)((e=>class extends e{static _parseTemplate(e,t){if(!e._templateInfo){let n=e._templateInfo={};n.nodeInfoList=[],n.nestedTemplate=Boolean(t),n.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute&&e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,n,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,n){return this._parseTemplateNode(e.content,t,n)}static _parseTemplateNode(e,t,n){let s=!1,i=e;return"template"!=i.localName||i.hasAttribute("preserve-content")?"slot"===i.localName&&(t.hasInsertionPoint=!0):s=this._parseTemplateNestedTemplate(i,t,n)||s,h(i),i.firstChild&&this._parseTemplateChildNodes(i,t,n),i.hasAttributes&&i.hasAttributes()&&(s=this._parseTemplateNodeAttributes(i,t,n)||s),s||n.noted}static _parseTemplateChildNodes(e,t,n){if("script"!==e.localName&&"style"!==e.localName)for(let s,i=e.firstChild,r=0;i;i=s){if("template"==i.localName&&(i=p(i)),s=i.nextSibling,i.nodeType===Node.TEXT_NODE){let n=s;for(;n&&n.nodeType===Node.TEXT_NODE;)i.textContent+=n.textContent,s=n.nextSibling,e.removeChild(n),n=s;if(t.stripWhiteSpace&&!i.textContent.trim()){e.removeChild(i);continue}}let o={parentIndex:r,parentInfo:n};this._parseTemplateNode(i,t,o)&&(o.infoIndex=t.nodeInfoList.push(o)-1),i.parentNode&&r++}}static _parseTemplateNestedTemplate(e,t,n){let s=e,i=this._parseTemplate(s,t);return(i.content=s.content.ownerDocument.createDocumentFragment()).appendChild(s.content),n.templateInfo=i,!0}static _parseTemplateNodeAttributes(e,t,n){let s=!1,i=Array.from(e.attributes);for(let r,o=i.length-1;r=i[o];o--)s=this._parseTemplateNodeAttribute(e,t,n,r.name,r.value)||s;return s}static _parseTemplateNodeAttribute(e,t,n,s,i){return"on-"===s.slice(0,3)?(e.removeAttribute(s),n.events=n.events||[],n.events.push({name:s.slice(3),value:i}),!0):"id"===s&&(n.id=i,!0)}static _contentForTemplate(e){let t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e,t){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);let n=(t=t||this.constructor._parseTemplate(e)).nodeInfoList,s=t.content||e.content,i=document.importNode(s,!0);i.__noInsertionPoint=!t.hasInsertionPoint;let r=i.nodeList=new Array(n.length);i.$={};for(let o,a=0,l=n.length;a<l&&(o=n[a]);a++){let e=r[a]=_(i,o);f(0,i.$,e,o),y(0,e,o,t),m(this,e,o)}return i}_addMethodEventListenerToNode(e,t,n,s){let i=function(e,t,n){return e=e._methodHost||e,function(t){e[n]?e[n](t,t.detail):console.warn("listener method `"+n+"` not defined")}}(s=s||e,0,n);return this._addEventListenerToNode(e,t,i),i}_addEventListenerToNode(e,t,n){e.addEventListener(t,n)}_removeEventListenerFromNode(e,t,n){e.removeEventListener(t,n)}}));var g=n(2393);let v=0;const w=[],C={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},P="__computeInfo",S=/[A-Z]/;function x(e,t,n){let s=e[t];if(s){if(!e.hasOwnProperty(t)&&(s=e[t]=Object.create(e[t]),n))for(let i in s){let e=s[i],t=s[i]=Array(e.length);for(let n=0;n<e.length;n++)t[n]=e[n]}}else s=e[t]={};return s}function E(e,t,n,s,i,o){if(t){let a=!1;const l=v++;for(let c in n){let d=t[i?(0,r.zr)(c):c];if(d)for(let t,r=0,h=d.length;r<h&&(t=d[r]);r++)t.info&&t.info.lastRun===l||i&&!A(c,t.trigger)||(t.info&&(t.info.lastRun=l),t.fn(e,c,n,s,t.info,i,o),a=!0)}return a}return!1}function T(e,t,n,s,i,o,a,l){let c=!1,d=t[a?(0,r.zr)(s):s];if(d)for(let r,h=0,u=d.length;h<u&&(r=d[h]);h++)r.info&&r.info.lastRun===n||a&&!A(s,r.trigger)||(r.info&&(r.info.lastRun=n),r.fn(e,s,i,o,r.info,a,l),c=!0);return c}function A(e,t){if(t){let n=t.name;return n==e||!(!t.structured||!(0,r.QX)(n,e))||!(!t.wildcard||!(0,r.K9)(n,e))}return!0}function O(e,t,n,s,i){let r="string"==typeof i.method?e[i.method]:i.method,o=i.property;r?r.call(e,e.__data[o],s[o]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function I(e,t,n){let s=(0,r.zr)(t);if(s!==t){return k(e,(0,o.e)(s)+"-changed",n[t],t),!0}return!1}function k(e,t,n,i){let r={value:n,queueProperty:!0};i&&(r.path=i),(0,s.L)(e).dispatchEvent(new CustomEvent(t,{detail:r}))}function N(e,t,n,s,i,o){let a=(o?(0,r.zr)(t):t)!=t?t:null,l=a?(0,r.Jt)(e,a):e.__data[t];a&&void 0===l&&(l=n[t]),k(e,i.eventName,l,a)}function L(e,t,n,s,i){let r=e.__data[t];g.dV&&(r=(0,g.dV)(r,i.attrName,"attribute",e)),e._propertyToAttribute(t,i.attrName,r)}function D(e,t,n,s){let i=e[C.COMPUTE];if(i)if(g.Xj){v++;const r=function(e){let t=e.constructor.__orderedComputedDeps;if(!t){t=new Map;const n=e[C.COMPUTE];let s,{counts:i,ready:r,total:o}=function(e){const t=e[P],n={},s=e[C.COMPUTE],i=[];let r=0;for(let o in t){const e=t[o];r+=n[o]=e.args.filter((e=>!e.literal)).length+(e.dynamicFn?1:0)}for(let o in s)t[o]||i.push(o);return{counts:n,ready:i,total:r}}(e);for(;s=r.shift();){t.set(s,t.size);const e=n[s];e&&e.forEach((e=>{const t=e.info.methodInfo;--o,0==--i[t]&&r.push(t)}))}if(0!==o){const t=e;console.warn(`Computed graph for ${t.localName} incomplete; circular?`)}e.constructor.__orderedComputedDeps=t}return t}(e),o=[];for(let e in t)R(e,i,o,r,s);let a;for(;a=o.shift();)F(e,"",t,n,a)&&R(a.methodInfo,i,o,r,s);Object.assign(n,e.__dataOld),Object.assign(t,e.__dataPending),e.__dataPending=null}else{let r=t;for(;E(e,i,r,n,s);)Object.assign(n,e.__dataOld),Object.assign(t,e.__dataPending),r=e.__dataPending,e.__dataPending=null}}const M=(e,t,n)=>{let s=0,i=t.length-1,r=-1;for(;s<=i;){const o=s+i>>1,a=n.get(t[o].methodInfo)-n.get(e.methodInfo);if(a<0)s=o+1;else{if(!(a>0)){r=o;break}i=o-1}}r<0&&(r=i+1),t.splice(r,0,e)},R=(e,t,n,s,i)=>{const o=t[i?(0,r.zr)(e):e];if(o)for(let r=0;r<o.length;r++){const t=o[r];t.info.lastRun===v||i&&!A(e,t.trigger)||(t.info.lastRun=v,M(t.info,n,s))}};function F(e,t,n,s,i){let r=$(e,t,n,s,i);if(r===w)return!1;let o=i.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[o]?e._setPendingProperty(o,r,!0):(e[o]=r,!1)}function H(e,t,n,s,i,r,a){n.bindings=n.bindings||[];let l={kind:s,target:i,parts:r,literal:a,isCompound:1!==r.length};if(n.bindings.push(l),function(e){return Boolean(e.target)&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode}(l)){let{event:e,negate:t}=l.parts[0];l.listenerEvent=e||(0,o.e)(i)+"-changed",l.listenerNegate=t}let c=t.nodeInfoList.length;for(let o=0;o<l.parts.length;o++){let n=l.parts[o];n.compoundIndex=o,B(e,t,l,n,c)}}function B(e,t,n,s,i){if(!s.literal)if("attribute"===n.kind&&"-"===n.target[0])console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let r=s.dependencies,o={index:i,binding:n,part:s,evaluator:e};for(let n=0;n<r.length;n++){let s=r[n];"string"==typeof s&&(s=G(s),s.wildcard=!0),e._addTemplatePropertyEffect(t,s.rootProperty,{fn:z,info:o,trigger:s})}}}function z(e,t,n,s,i,o,a){let l=a[i.index],c=i.binding,d=i.part;if(o&&d.source&&t.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let s=n[t];t=(0,r.Tl)(d.source,c.target,t),l._setPendingPropertyOrPath(t,s,!1,!0)&&e._enqueueClient(l)}else{let r=i.evaluator._evaluateBinding(e,d,t,n,s,o);r!==w&&function(e,t,n,s,i){i=function(e,t,n,s){if(n.isCompound){let i=e.__dataCompoundStorage[n.target];i[s.compoundIndex]=t,t=i.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t));return t}(t,i,n,s),g.dV&&(i=(0,g.dV)(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{let s=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[s]?t[C.READ_ONLY]&&t[C.READ_ONLY][s]||t._setPendingProperty(s,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,s,i)}}(e,l,c,d,r)}}function j(e,t){if(t.isCompound){let n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),i=t.parts,r=new Array(i.length);for(let e=0;e<i.length;e++)r[e]=i[e].literal;let o=t.target;n[o]=r,t.literal&&"property"==t.kind&&("className"===o&&(e=(0,s.L)(e)),e[o]=t.literal)}}function K(e,t,n){if(n.listenerEvent){let s=n.parts[0];e.addEventListener(n.listenerEvent,(function(e){!function(e,t,n,s,i){let o,a=e.detail,l=a&&a.path;l?(s=(0,r.Tl)(n,s,l),o=a&&a.value):o=e.currentTarget[n],o=i?!o:o,t[C.READ_ONLY]&&t[C.READ_ONLY][s]||!t._setPendingPropertyOrPath(s,o,!0,Boolean(l))||a&&a.queueProperty||t._invalidateProperties()}(e,t,n.target,s.source,s.negate)}))}}function U(e,t,n,s,i,r){r=t.static||r&&("object"!=typeof r||r[t.methodName]);let o={methodName:t.methodName,args:t.args,methodInfo:i,dynamicFn:r};for(let a,l=0;l<t.args.length&&(a=t.args[l]);l++)a.literal||e._addPropertyEffect(a.rootProperty,n,{fn:s,info:o,trigger:a});return r&&e._addPropertyEffect(t.methodName,n,{fn:s,info:o}),o}function $(e,t,n,s,i){let r=e._methodHost||e,o=r[i.methodName];if(o){let s=e._marshalArgs(i.args,t,n);return s===w?w:o.apply(r,s)}i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const q=[],V="(?:[a-zA-Z_$][\\w.:$\\-*]*)",J="(?:("+V+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",Y=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+V+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+J+"(?:,\\s*"+J+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");function X(e){let t="";for(let n=0;n<e.length;n++){t+=e[n].literal||""}return t}function W(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let e={methodName:t[1],static:!0,args:q};if(t[2].trim()){return function(e,t){return t.args=e.map((function(e){let n=G(e);return n.literal||(t.static=!1),n}),this),t}(t[2].replace(/\\,/g,"&comma;").split(","),e)}return e}return null}function G(e){let t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),n={name:t,value:"",literal:!1},s=t[0];switch("-"===s&&(s=t[1]),s>="0"&&s<="9"&&(s="#"),s){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=(0,r.zr)(t),n.structured=(0,r.uf)(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function Z(e,t,n){let s=(0,r.Jt)(e,n);return void 0===s&&(s=t[n]),s}function Q(e,t,n,s){const i={indexSplices:s};g.oO&&!e._overrideLegacyUndefined&&(t.splices=i),e.notifyPath(n+".splices",i),e.notifyPath(n+".length",t.length),g.oO&&!e._overrideLegacyUndefined&&(i.indexSplices=[])}function ee(e,t,n,s,i,r){Q(e,t,n,[{index:s,addedCount:i,removed:r,object:t,type:"splice"}])}const te=(0,i.y)((e=>{const t=b((0,a.W)(e));return class extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return C}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(ne.length){let e=ne[ne.length-1];e._enqueueClient(this),this.__dataHost=e}}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){let t=this[C.READ_ONLY];for(let n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}_addPropertyEffect(e,t,n){this._createPropertyAccessor(e,t==C.READ_ONLY);let s=x(this,t,!0)[e];s||(s=this[t][e]=[]),s.push(n)}_removePropertyEffect(e,t,n){let s=x(this,t,!0)[e],i=s.indexOf(n);i>=0&&s.splice(i,1)}_hasPropertyEffect(e,t){let n=this[t];return Boolean(n&&n[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,C.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,C.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,C.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,C.COMPUTE)}_setPendingPropertyOrPath(e,t,n,s){if(s||(0,r.zr)(Array.isArray(e)?e[0]:e)!==e){if(!s){let n=(0,r.Jt)(this,e);if(!(e=(0,r.hZ)(this,e,t))||!super._shouldPropertyChange(e,t,n))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,n))return function(e,t,n){let s=e.__dataLinkedPaths;if(s){let i;for(let o in s){let a=s[o];(0,r.K9)(o,t)?(i=(0,r.Tl)(o,a,t),e._setPendingPropertyOrPath(i,n,!0,!0)):(0,r.K9)(a,t)&&(i=(0,r.Tl)(a,o,t),e._setPendingPropertyOrPath(i,n,!0,!0))}}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,n);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,n){n===e[t]&&"object"!=typeof n||("className"===t&&(e=(0,s.L)(e)),e[t]=n)}_setPendingProperty(e,t,n){let s=this.__dataHasPaths&&(0,r.uf)(e),i=s?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,i[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),s?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(s||this[C.NOTIFY]&&this[C.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(let t=0;t<e.length;t++){let n=e[t];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(e,t){for(let n in e)!t&&this[C.READ_ONLY]&&this[C.READ_ONLY][n]||this._setPendingPropertyOrPath(n,e[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(e,t,n){let s,i=this.__dataHasPaths;this.__dataHasPaths=!1,D(this,t,n,i),s=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(t,n,i),this._flushClients(),E(this,this[C.REFLECT],t,n,i),E(this,this[C.OBSERVE],t,n,i),s&&function(e,t,n,s,i){let r,o,a=e[C.NOTIFY],l=v++;for(let c in t)t[c]&&(a&&T(e,a,l,c,n,s,i)||i&&I(e,c,n))&&(r=!0);r&&(o=e.__dataHost)&&o._invalidateProperties&&o._invalidateProperties()}(this,s,t,n,i),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(e,t,n){this[C.PROPAGATE]&&E(this,this[C.PROPAGATE],e,t,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,e,t,n)}_runEffectsForTemplate(e,t,n,s){const i=(t,s)=>{E(this,e.propertyEffects,t,n,s,e.nodeList);for(let i=e.firstChild;i;i=i.nextSibling)this._runEffectsForTemplate(i,t,n,s)};e.runEffects?e.runEffects(i,t,s):i(t,s)}linkPaths(e,t){e=(0,r.S8)(e),t=(0,r.S8)(t),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[e]=t}unlinkPaths(e){e=(0,r.S8)(e),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[e]}notifySplices(e,t){let n={path:""};Q(this,(0,r.Jt)(this,e,n),n.path,t)}get(e,t){return(0,r.Jt)(t||this,e)}set(e,t,n){n?(0,r.hZ)(n,e,t):this[C.READ_ONLY]&&this[C.READ_ONLY][e]||this._setPendingPropertyOrPath(e,t,!0)&&this._invalidateProperties()}push(e,...t){let n={path:""},s=(0,r.Jt)(this,e,n),i=s.length,o=s.push(...t);return t.length&&ee(this,s,n.path,i,t.length,[]),o}pop(e){let t={path:""},n=(0,r.Jt)(this,e,t),s=Boolean(n.length),i=n.pop();return s&&ee(this,n,t.path,n.length,0,[i]),i}splice(e,t,n,...s){let i,o={path:""},a=(0,r.Jt)(this,e,o);return t<0?t=a.length-Math.floor(-t):t&&(t=Math.floor(t)),i=2===arguments.length?a.splice(t):a.splice(t,n,...s),(s.length||i.length)&&ee(this,a,o.path,t,s.length,i),i}shift(e){let t={path:""},n=(0,r.Jt)(this,e,t),s=Boolean(n.length),i=n.shift();return s&&ee(this,n,t.path,0,0,[i]),i}unshift(e,...t){let n={path:""},s=(0,r.Jt)(this,e,n),i=s.unshift(...t);return t.length&&ee(this,s,n.path,0,t.length,[]),i}notifyPath(e,t){let n;if(1==arguments.length){let s={path:""};t=(0,r.Jt)(this,e,s),n=s.path}else n=Array.isArray(e)?(0,r.S8)(e):e;this._setPendingPropertyOrPath(n,t,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(e,t){var n;this._addPropertyEffect(e,C.READ_ONLY),t&&(this["_set"+(n=e,n[0].toUpperCase()+n.substring(1))]=function(t){this._setProperty(e,t)})}_createPropertyObserver(e,t,n){let s={property:e,method:t,dynamicFn:Boolean(n)};this._addPropertyEffect(e,C.OBSERVE,{fn:O,info:s,trigger:{name:e}}),n&&this._addPropertyEffect(t,C.OBSERVE,{fn:O,info:s,trigger:{name:t}})}_createMethodObserver(e,t){let n=W(e);if(!n)throw new Error("Malformed observer expression '"+e+"'");U(this,n,C.OBSERVE,$,null,t)}_createNotifyingProperty(e){this._addPropertyEffect(e,C.NOTIFY,{fn:N,info:{eventName:(0,o.e)(e)+"-changed",property:e}})}_createReflectedProperty(e){let t=this.constructor.attributeNameForProperty(e);"-"===t[0]?console.warn("Property "+e+" cannot be reflected to attribute "+t+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(e,C.REFLECT,{fn:L,info:{attrName:t}})}_createComputedProperty(e,t,n){let s=W(t);if(!s)throw new Error("Malformed computed expression '"+t+"'");const i=U(this,s,C.COMPUTE,F,e,n);x(this,P)[e]=i}_marshalArgs(e,t,n){const s=this.__data,i=[];for(let o=0,a=e.length;o<a;o++){let{name:a,structured:l,wildcard:c,value:d,literal:h}=e[o];if(!h)if(c){const e=(0,r.K9)(a,t),i=Z(s,n,e?t:a);d={path:e?t:a,value:i,base:e?(0,r.Jt)(s,a):i}}else d=l?Z(s,n,a):s[a];if(g.oO&&!this._overrideLegacyUndefined&&void 0===d&&e.length>1)return w;i[o]=d}return i}static addPropertyEffect(e,t,n){this.prototype._addPropertyEffect(e,t,n)}static createPropertyObserver(e,t,n){this.prototype._createPropertyObserver(e,t,n)}static createMethodObserver(e,t){this.prototype._createMethodObserver(e,t)}static createNotifyingProperty(e){this.prototype._createNotifyingProperty(e)}static createReadOnlyProperty(e,t){this.prototype._createReadOnlyProperty(e,t)}static createReflectedProperty(e){this.prototype._createReflectedProperty(e)}static createComputedProperty(e,t,n){this.prototype._createComputedProperty(e,t,n)}static bindTemplate(e){return this.prototype._bindTemplate(e)}_bindTemplate(e,t){let n=this.constructor._parseTemplate(e),s=this.__preBoundTemplateInfo==n;if(!s)for(let i in n.propertyEffects)this._createPropertyAccessor(i);if(t)if(n=Object.create(n),n.wasPreBound=s,this.__templateInfo){const t=e._parentTemplateInfo||this.__templateInfo,s=t.lastChild;n.parent=t,t.lastChild=n,n.previousSibling=s,s?s.nextSibling=n:t.firstChild=n}else this.__templateInfo=n;else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(e,t,n){(e.hostProps=e.hostProps||{})[t]=!0;let s=e.propertyEffects=e.propertyEffects||{};(s[t]=s[t]||[]).push(n)}_stampTemplate(e,t){t=t||this._bindTemplate(e,!0),ne.push(this);let n=super._stampTemplate(e,t);if(ne.pop(),t.nodeList=n.nodeList,!t.wasPreBound){let e=t.childNodes=[];for(let t=n.firstChild;t;t=t.nextSibling)e.push(t)}return n.templateInfo=t,function(e,t){let{nodeList:n,nodeInfoList:s}=t;if(s.length)for(let i=0;i<s.length;i++){let t=s[i],r=n[i],o=t.bindings;if(o)for(let n=0;n<o.length;n++){let t=o[n];j(r,t),K(r,e,t)}r.__dataHost=e}}(this,t),this.__dataClientsReady&&(this._runEffectsForTemplate(t,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(e){const t=e.templateInfo,{previousSibling:n,nextSibling:i,parent:r}=t;n?n.nextSibling=i:r&&(r.firstChild=i),i?i.previousSibling=n:r&&(r.lastChild=n),t.nextSibling=t.previousSibling=null;let o=t.childNodes;for(let a=0;a<o.length;a++){let e=o[a];(0,s.L)((0,s.L)(e).parentNode).removeChild(e)}}static _parseTemplateNode(e,n,s){let i=t._parseTemplateNode.call(this,e,n,s);if(e.nodeType===Node.TEXT_NODE){let t=this._parseBindings(e.textContent,n);t&&(e.textContent=X(t)||" ",H(this,n,s,"text","textContent",t),i=!0)}return i}static _parseTemplateNodeAttribute(e,n,s,i,r){let a=this._parseBindings(r,n);if(a){let t=i,r="property";S.test(i)?r="attribute":"$"==i[i.length-1]&&(i=i.slice(0,-1),r="attribute");let l=X(a);return l&&"attribute"==r&&("class"==i&&e.hasAttribute("class")&&(l+=" "+e.getAttribute(i)),e.setAttribute(i,l)),"attribute"==r&&"disable-upgrade$"==t&&e.setAttribute(i,""),"input"===e.localName&&"value"===t&&e.setAttribute(t,""),e.removeAttribute(t),"property"===r&&(i=(0,o.I)(i)),H(this,n,s,r,i,a,l),!0}return t._parseTemplateNodeAttribute.call(this,e,n,s,i,r)}static _parseTemplateNestedTemplate(e,n,s){let i=t._parseTemplateNestedTemplate.call(this,e,n,s);const r=e.parentNode,o=s.templateInfo,a="dom-if"===r.localName,l="dom-repeat"===r.localName;g.fF&&(a||l)&&(r.removeChild(e),(s=s.parentInfo).templateInfo=o,s.noted=!0,i=!1);let c=o.hostProps;if(g.s&&a)c&&(n.hostProps=Object.assign(n.hostProps||{},c),g.fF||(s.parentInfo.noted=!0));else{let e="{";for(let t in c){H(this,n,s,"property","_host_"+t,[{mode:e,source:t,dependencies:[t],hostProp:!0}])}}return i}static _parseBindings(e,t){let n,s=[],i=0;for(;null!==(n=Y.exec(e));){n.index>i&&s.push({literal:e.slice(i,n.index)});let r=n[1][0],o=Boolean(n[2]),a=n[3].trim(),l=!1,c="",d=-1;"{"==r&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let h=W(a),u=[];if(h){let{args:e,methodName:n}=h;for(let t=0;t<e.length;t++){let n=e[t];n.literal||u.push(n)}let s=t.dynamicFns;(s&&s[n]||h.static)&&(u.push(n),h.dynamicFn=!0)}else u.push(a);s.push({source:a,mode:r,negate:o,customEvent:l,signature:h,dependencies:u,event:c}),i=Y.lastIndex}if(i&&i<e.length){let t=e.substring(i);t&&s.push({literal:t})}return s.length?s:null}static _evaluateBinding(e,t,n,s,i,o){let a;return a=t.signature?$(e,n,s,0,t.signature):n!=t.source?(0,r.Jt)(e,t.source):o&&(0,r.uf)(n)?(0,r.Jt)(e,n):e.__data[n],t.negate&&(a=!a),a}}})),ne=[]},5444:(e,t,n)=>{n.d(t,{k:()=>c});n(6412);function s(e,t,n){return{index:e,removed:t,addedCount:n}}const i=0,r=1,o=2,a=3;function l(e,t,n,l,c,h){let u,p=0,_=0,f=Math.min(n-t,h-c);if(0==t&&0==c&&(p=function(e,t,n){for(let s=0;s<n;s++)if(!d(e[s],t[s]))return s;return n}(e,l,f)),n==e.length&&h==l.length&&(_=function(e,t,n){let s=e.length,i=t.length,r=0;for(;r<n&&d(e[--s],t[--i]);)r++;return r}(e,l,f-p)),c+=p,h-=_,(n-=_)-(t+=p)==0&&h-c==0)return[];if(t==n){for(u=s(t,[],0);c<h;)u.removed.push(l[c++]);return[u]}if(c==h)return[s(t,[],n-t)];let m=function(e){let t=e.length-1,n=e[0].length-1,s=e[t][n],l=[];for(;t>0||n>0;){if(0==t){l.push(o),n--;continue}if(0==n){l.push(a),t--;continue}let c,d=e[t-1][n-1],h=e[t-1][n],u=e[t][n-1];c=h<u?h<d?h:d:u<d?u:d,c==d?(d==s?l.push(i):(l.push(r),s=d),t--,n--):c==h?(l.push(a),t--,s=h):(l.push(o),n--,s=u)}return l.reverse(),l}(function(e,t,n,s,i,r){let o=r-i+1,a=n-t+1,l=new Array(o);for(let c=0;c<o;c++)l[c]=new Array(a),l[c][0]=c;for(let c=0;c<a;c++)l[0][c]=c;for(let c=1;c<o;c++)for(let n=1;n<a;n++)if(d(e[t+n-1],s[i+c-1]))l[c][n]=l[c-1][n-1];else{let e=l[c-1][n]+1,t=l[c][n-1]+1;l[c][n]=e<t?e:t}return l}(e,t,n,l,c,h));u=void 0;let y=[],b=t,g=c;for(let d=0;d<m.length;d++)switch(m[d]){case i:u&&(y.push(u),u=void 0),b++,g++;break;case r:u||(u=s(b,[],0)),u.addedCount++,b++,u.removed.push(l[g]),g++;break;case o:u||(u=s(b,[],0)),u.addedCount++,b++;break;case a:u||(u=s(b,[],0)),u.removed.push(l[g]),g++}return u&&y.push(u),y}function c(e,t){return l(e,0,e.length,t,0,t.length)}function d(e,t){return e===t}},526:(e,t,n)=>{n.d(t,{EV:()=>c,_3:()=>d});n(6412);let s=0,i=0,r=[],o=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const e=r.length;for(let n=0;n<e;n++){let e=r[n];if(e)try{e()}catch(t){setTimeout((()=>{throw t}))}}r.splice(0,e),i+=e})).observe(l,{characterData:!0});const c={after(e){return{run(t){return window.setTimeout(t,e)},cancel(e){window.clearTimeout(e)}}},run(e,t){return window.setTimeout(e,t)},cancel(e){window.clearTimeout(e)}},d={run(e){return a||(a=!0,l.textContent=o++),r.push(e),s++},cancel(e){const t=e-i;if(t>=0){if(!r[t])throw new Error("invalid async handle: "+e);r[t]=null}}}},6412:()=>{window.JSCompiler_renameProperty=function(e,t){return e}},2559:(e,t,n)=>{n.d(t,{I:()=>o,e:()=>a});n(6412);const s={},i=/-[a-z]/g,r=/([A-Z])/g;function o(e){return s[e]||(s[e]=e.indexOf("-")<0?e:e.replace(i,(e=>e[1].toUpperCase())))}function a(e){return s[e]||(s[e]=e.replace(r,"-$1").toLowerCase())}},4735:(e,t,n)=>{n.d(t,{Oy:()=>r,aq:()=>s,pg:()=>o});n(6412),n(4719),n(526);class s{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(e,t){this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run((()=>{this._timer=null,i.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),i.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}static debounce(e,t,n){return e instanceof s?e._cancelAsync():e=new s,e.setConfig(t,n),e}}let i=new Set;const r=function(e){i.add(e)},o=function(){const e=Boolean(i.size);return i.forEach((e=>{try{e.flush()}catch(t){setTimeout((()=>{throw t}))}})),e}},5436:(e,t,n)=>{n.d(t,{O:()=>s.Oy,b:()=>i});n(6412);var s=n(4735);const i=function(){let e,t;do{e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=(0,s.pg)()}while(e||t)}},1944:(e,t,n)=>{n.d(t,{ch:()=>L,pQ:()=>D,wB:()=>R});n(6412);var s=n(526),i=n(4735),r=n(2393),o=n(6920);let a="string"==typeof document.head.style.touchAction,l="__polymerGestures",c="__polymerGesturesHandled",d="__polymerGesturesTouchAction",h=["mousedown","mousemove","mouseup","click"],u=[0,1,4,2],p=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}();function _(e){return h.indexOf(e)>-1}let f=!1;function m(e){if(!_(e)&&"touchend"!==e)return a&&f&&r.Hp?{passive:!0}:void 0}!function(){try{let e=Object.defineProperty({},"passive",{get(){f=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();let y=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const b=[],g={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},v={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function w(e){let t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];try{let n=e.getRootNode();if(e.id){let s=n.querySelectorAll(`label[for = '${e.id}']`);for(let e=0;e<s.length;e++)t.push(s[e])}}catch(n){}}return t}let C=function(e){let t=e.sourceCapabilities;var n;if((!t||t.firesTouchEvents)&&(e[c]={skip:!0},"click"===e.type)){let t=!1,s=A(e);for(let e=0;e<s.length;e++){if(s[e].nodeType===Node.ELEMENT_NODE)if("label"===s[e].localName)b.push(s[e]);else if(n=s[e],g[n.localName]){let n=w(s[e]);for(let e=0;e<n.length;e++)t=t||b.indexOf(n[e])>-1}if(s[e]===x.mouse.target)return}if(t)return;e.preventDefault(),e.stopPropagation()}};function P(e){let t=y?["click"]:h;for(let n,s=0;s<t.length;s++)n=t[s],e?(b.length=0,document.addEventListener(n,C,!0)):document.removeEventListener(n,C,!0)}function S(e){let t=e.type;if(!_(t))return!1;if("mousemove"===t){let t=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!p&&(t=u[e.which]||0),Boolean(1&t)}return 0===(void 0===e.button?0:e.button)}let x={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function E(e,t,n){e.movefn=t,e.upfn=n,document.addEventListener("mousemove",t),document.addEventListener("mouseup",n)}function T(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}r.bK&&document.addEventListener("touchend",(function(e){if(!r.bK)return;x.mouse.mouseIgnoreJob||P(!0),x.mouse.target=A(e)[0],x.mouse.mouseIgnoreJob=i.aq.debounce(x.mouse.mouseIgnoreJob,s.EV.after(2500),(function(){P(),x.mouse.target=null,x.mouse.mouseIgnoreJob=null}))}),!!f&&{passive:!0});const A=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:e=>e.composedPath&&e.composedPath()||[],O={},I=[];function k(e){const t=A(e);return t.length>0?t[0]:e.target}function N(e){let t,n=e.type,s=e.currentTarget[l];if(!s)return;let i=s[n];if(i){if(!e[c]&&(e[c]={},"touch"===n.slice(0,5))){let t=e.changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(x.touch.id=t.identifier),x.touch.id!==t.identifier)return;a||"touchstart"!==n&&"touchmove"!==n||function(e){let t=e.changedTouches[0],n=e.type;if("touchstart"===n)x.touch.x=t.clientX,x.touch.y=t.clientY,x.touch.scrollDecided=!1;else if("touchmove"===n){if(x.touch.scrollDecided)return;x.touch.scrollDecided=!0;let n=function(e){let t="auto",n=A(e);for(let s,i=0;i<n.length;i++)if(s=n[i],s[d]){t=s[d];break}return t}(e),s=!1,i=Math.abs(x.touch.x-t.clientX),r=Math.abs(x.touch.y-t.clientY);e.cancelable&&("none"===n?s=!0:"pan-x"===n?s=r>i:"pan-y"===n&&(s=i>r)),s?e.preventDefault():H("track")}}(e)}if(t=e[c],!t.skip){for(let n,s=0;s<I.length;s++)n=I[s],i[n.name]&&!t[n.name]&&n.flow&&n.flow.start.indexOf(e.type)>-1&&n.reset&&n.reset();for(let s,r=0;r<I.length;r++)s=I[r],i[s.name]&&!t[s.name]&&(t[s.name]=!0,s[n](e))}}}function L(e,t,n){return!!O[t]&&(function(e,t,n){let s=O[t],i=s.deps,r=s.name,o=e[l];o||(e[l]=o={});for(let a,l,c=0;c<i.length;c++)a=i[c],y&&_(a)&&"click"!==a||(l=o[a],l||(o[a]=l={_count:0}),0===l._count&&e.addEventListener(a,N,m(a)),l[r]=(l[r]||0)+1,l._count=(l._count||0)+1);e.addEventListener(t,n),s.touchAction&&R(e,s.touchAction)}(e,t,n),!0)}function D(e,t,n){return!!O[t]&&(function(e,t,n){let s=O[t],i=s.deps,r=s.name,o=e[l];if(o)for(let a,l,c=0;c<i.length;c++)a=i[c],l=o[a],l&&l[r]&&(l[r]=(l[r]||1)-1,l._count=(l._count||1)-1,0===l._count&&e.removeEventListener(a,N,m(a)));e.removeEventListener(t,n)}(e,t,n),!0)}function M(e){I.push(e);for(let t=0;t<e.emits.length;t++)O[e.emits[t]]=e}function R(e,t){a&&e instanceof HTMLElement&&s._3.run((()=>{e.style.touchAction=t})),e[d]=t}function F(e,t,n){let s=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(s.detail=n,(0,o.L)(e).dispatchEvent(s),s.defaultPrevented){let e=n.preventer||n.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}function H(e){let t=function(e){for(let t,n=0;n<I.length;n++){t=I[n];for(let n,s=0;s<t.emits.length;s++)if(n=t.emits[s],n===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}function B(e,t,n,s){t&&F(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:s,prevent:function(e){return H(e)}})}function z(e,t,n){if(e.prevent)return!1;if(e.started)return!0;let s=Math.abs(e.x-t),i=Math.abs(e.y-n);return s>=5||i>=5}function j(e,t,n){if(!t)return;let s,i=e.moves[e.moves.length-2],r=e.moves[e.moves.length-1],o=r.x-e.x,a=r.y-e.y,l=0;i&&(s=r.x-i.x,l=r.y-i.y),F(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:o,dy:a,ddx:s,ddy:l,sourceEvent:n,hover:function(){return function(e,t){let n=document.elementFromPoint(e,t),s=n;for(;s&&s.shadowRoot&&!window.ShadyDOM;){let i=s;if(s=s.shadowRoot.elementFromPoint(e,t),i===s)break;s&&(n=s)}return n}(n.clientX,n.clientY)}})}function K(e,t,n){let s=Math.abs(t.clientX-e.x),i=Math.abs(t.clientY-e.y),r=k(n||t);!r||v[r.localName]&&r.hasAttribute("disabled")||(isNaN(s)||isNaN(i)||s<=25&&i<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;let t=k(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;let n=t.getBoundingClientRect(),s=e.pageX,i=e.pageY;return!(s>=n.left&&s<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(t))&&(e.prevent||F(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}M({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){T(this.info)},mousedown:function(e){if(!S(e))return;let t=k(e),n=this;E(this.info,(function(e){S(e)||(B("up",t,e),T(n.info))}),(function(e){S(e)&&B("up",t,e),T(n.info)})),B("down",t,e)},touchstart:function(e){B("down",k(e),e.changedTouches[0],e)},touchend:function(e){B("up",k(e),e.changedTouches[0],e)}}),M({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,T(this.info)},mousedown:function(e){if(!S(e))return;let t=k(e),n=this,s=function(e){let s=e.clientX,i=e.clientY;z(n.info,s,i)&&(n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&H("tap"),n.info.addMove({x:s,y:i}),S(e)||(n.info.state="end",T(n.info)),t&&j(n.info,t,e),n.info.started=!0)};E(this.info,s,(function(e){n.info.started&&s(e),T(n.info)})),this.info.x=e.clientX,this.info.y=e.clientY},touchstart:function(e){let t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){let t=k(e),n=e.changedTouches[0],s=n.clientX,i=n.clientY;z(this.info,s,i)&&("start"===this.info.state&&H("tap"),this.info.addMove({x:s,y:i}),j(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){let t=k(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),j(this.info,t,n))}}),M({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){S(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){S(e)&&K(this.info,e)},touchstart:function(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){K(this.info,e.changedTouches[0],e)}})},4692:(e,t,n)=>{n.d(t,{q:()=>o});n(6412);const s=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e});class i{constructor(e,t){a(e,t);const n=t.reduce(((t,n,s)=>t+r(n)+e[s+1]),e[0]);this.value=n.toString()}toString(){return this.value}}function r(e){if(e instanceof i)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}const o=function(e,...t){a(e,t);const n=document.createElement("template");let o=t.reduce(((t,n,s)=>t+function(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof i)return r(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}(n)+e[s+1]),e[0]);return s&&(o=s.createHTML(o)),n.innerHTML=o,n},a=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(e.raw)||t.length!==e.length-1)throw new TypeError("Invalid call to the html template tag")}},4719:(e,t,n)=>{n.d(t,{y:()=>r});n(6412);let s=0;function i(){}i.prototype.__mixinApplications,i.prototype.__mixinSet;const r=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let n=s++;return function(s){let i=s.__mixinSet;if(i&&i[n])return s;let r=t,o=r.get(s);if(!o){o=e(s),r.set(s,o);let t=Object.create(o.__mixinSet||i||null);t[n]=!0,o.__mixinSet=t}return o}}},4347:(e,t,n)=>{n.d(t,{Jt:()=>h,K9:()=>o,QX:()=>r,S8:()=>c,Tl:()=>a,cK:()=>l,hZ:()=>u,uf:()=>s,zr:()=>i});n(6412);function s(e){return e.indexOf(".")>=0}function i(e){let t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function r(e,t){return 0===e.indexOf(t+".")}function o(e,t){return 0===t.indexOf(e+".")}function a(e,t,n){return t+n.slice(e.length)}function l(e,t){return e===t||r(e,t)||o(e,t)}function c(e){if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let s=e[n].toString().split(".");for(let e=0;e<s.length;e++)t.push(s[e])}return t.join(".")}return e}function d(e){return Array.isArray(e)?c(e).split("."):e.toString().split(".")}function h(e,t,n){let s=e,i=d(t);for(let r=0;r<i.length;r++){if(!s)return;s=s[i[r]]}return n&&(n.path=i.join(".")),s}function u(e,t,n){let s=e,i=d(t),r=i[i.length-1];if(i.length>1){for(let e=0;e<i.length-1;e++){if(s=s[i[e]],!s)return}s[r]=n}else s[t]=n;return i.join(".")}},9434:(e,t,n)=>{n.d(t,{O2:()=>a,c0:()=>l,rG:()=>c});n(6412);let s,i,r=/(url\()([^)]*)(\))/g,o=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(e,t){if(e&&o.test(e))return e;if("//"===e)return e;if(void 0===s){s=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",s="http://a/c%20d"===e.href}catch(n){}}if(t||(t=document.baseURI||window.location.href),s)try{return new URL(e,t).href}catch(n){return e}return i||(i=document.implementation.createHTMLDocument("temp"),i.base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e}function l(e,t){return e.replace(r,(function(e,n,s,i){return n+"'"+a(s.replace(/["']/g,""),t)+"'"+i}))}function c(e){return e.substring(0,e.lastIndexOf("/")+1)}},2393:(e,t,n)=>{n.d(t,{CE:()=>v,F3:()=>u,Hp:()=>l,IP:()=>h,Kp:()=>p,Xj:()=>f,bK:()=>m,dV:()=>a,ek:()=>d,fF:()=>y,oO:()=>_,qM:()=>r,s:()=>b,sv:()=>i,vK:()=>w,w9:()=>g,wA:()=>o,yu:()=>c});n(6412);var s=n(9434);const i=!window.ShadyDOM||!window.ShadyDOM.inUse,r=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,i&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch(e){return!1}})());let o=window.Polymer&&window.Polymer.rootPath||(0,s.rG)(document.baseURI||window.location.href);let a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;let l=window.Polymer&&window.Polymer.setPassiveTouchGestures||!1;let c=window.Polymer&&window.Polymer.strictTemplatePolicy||!1;let d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1;let h=window.Polymer&&window.Polymer.legacyOptimizations||!1;let u=window.Polymer&&window.Polymer.legacyWarnings||!1;let p=window.Polymer&&window.Polymer.syncInitialRender||!1;let _=window.Polymer&&window.Polymer.legacyUndefined||!1;let f=window.Polymer&&window.Polymer.orderedComputed||!1;let m=!0;let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1;let b=window.Polymer&&window.Polymer.fastDomIf||!1;let g=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;let v=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;let w=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},4791:(e,t,n)=>{n.d(t,{Ho:()=>p,Vg:()=>f,nX:()=>u});var s=n(6853),i=n(9434);const r="link[rel=import][type~=css]",o="include",a="shady-unscoped";function l(e){return s.$.import(e)}function c(e){let t=e.body?e.body:e;const n=(0,i.c0)(t.textContent,e.baseURI),s=document.createElement("style");return s.textContent=n,s}function d(e){const t=e.trim().split(/\s+/),n=[];for(let s=0;s<t.length;s++)n.push(...h(t[s]));return n}function h(e){const t=l(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(void 0===t._styles){const e=[];e.push(..._(t));const n=t.querySelector("template");n&&e.push(...u(n,t.assetpath)),t._styles=e}return t._styles}function u(e,t){if(!e._styles){const n=[],s=e.content.querySelectorAll("style");for(let e=0;e<s.length;e++){let r=s[e],a=r.getAttribute(o);a&&n.push(...d(a).filter((function(e,t,n){return n.indexOf(e)===t}))),t&&(r.textContent=(0,i.c0)(r.textContent,t)),n.push(r)}e._styles=n}return e._styles}function p(e){let t=l(e);return t?_(t):[]}function _(e){const t=[],n=e.querySelectorAll(r);for(let s=0;s<n.length;s++){let e=n[s];if(e.import){const n=e.import,s=e.hasAttribute(a);if(s&&!n._unscopedStyle){const e=c(n);e.setAttribute(a,""),n._unscopedStyle=e}else n._style||(n._style=c(n));t.push(s?n._unscopedStyle:n._style)}}return t}function f(e){let t=e.trim().split(/\s+/),n="";for(let s=0;s<t.length;s++)n+=m(t[s]);return n}function m(e){let t=l(e);if(t&&void 0===t._cssText){let e=y(t),n=t.querySelector("template");n&&(e+=function(e,t){let n="";const s=u(e,t);for(let i=0;i<s.length;i++){let e=s[i];e.parentNode&&e.parentNode.removeChild(e),n+=e.textContent}return n}(n,t.assetpath)),t._cssText=e||null}return t||console.warn("Could not find style data in module named",e),t&&t._cssText||""}function y(e){let t="",n=_(e);for(let s=0;s<n.length;s++)t+=n[s].textContent;return t}},9193:(e,t,n)=>{n.d(t,{cn:()=>s,kz:()=>r});function s(){0}const i=[];function r(e){i.push(e)}},6920:(e,t,n)=>{n.d(t,{L:()=>s});const s=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?e=>ShadyDOM.patch(e):e=>e},7397:(e,t,n)=>{var s=n(6157),i=(n(9758),n(6412),n(4145)),r=n(4719);function o(e,t,n,s,i){let r;i&&(r="object"==typeof n&&null!==n,r&&(s=e.__dataTemp[t]));let o=s!==n&&(s==s||n==n);return r&&o&&(e.__dataTemp[t]=n),o}const a=(0,r.y)((e=>class extends e{_shouldPropertyChange(e,t,n){return o(this,e,t,n,!0)}})),l=(0,r.y)((e=>class extends e{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(e,t,n){return o(this,e,t,n,this.mutableData)}}));a._mutablePropertyChange=o;var c=n(2393),d=n(6920);let h=null;function u(){return h}u.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:u,writable:!0}});const p=(0,i.s)(u),_=a(p);const f=(0,i.s)(class{});function m(e,t){for(let n=0;n<t.length;n++){let s=t[n];if(Boolean(e)!=Boolean(s.__hideTemplateChildren__))if(s.nodeType===Node.TEXT_NODE)e?(s.__polymerTextContent__=s.textContent,s.textContent=""):s.textContent=s.__polymerTextContent__;else if("slot"===s.localName)if(e)s.__polymerReplaced__=document.createComment("hidden-slot"),(0,d.L)((0,d.L)(s).parentNode).replaceChild(s.__polymerReplaced__,s);else{const e=s.__polymerReplaced__;e&&(0,d.L)((0,d.L)(e).parentNode).replaceChild(s,e)}else s.style&&(e?(s.__polymerDisplay__=s.style.display,s.style.display="none"):s.style.display=s.__polymerDisplay__);s.__hideTemplateChildren__=e,s._showHideChildren&&s._showHideChildren(e)}}class y extends f{constructor(e){super(),this._configureProperties(e),this.root=this._stampTemplate(this.__dataHost);let t=[];this.children=t;for(let s=this.root.firstChild;s;s=s.nextSibling)t.push(s),s.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let n=this.__templatizeOptions;(e&&n.instanceProps||!n.instanceProps)&&this._enableProperties()}_configureProperties(e){if(this.__templatizeOptions.forwardHostProp)for(let t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(let t in e)this._setPendingProperty(t,e[t])}forwardHostProp(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(e,t,n){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,(e=>{e.model=this,n(e)}));else{let s=this.__dataHost.__dataHost;s&&s._addEventListenerToNode(e,t,n)}}_showHideChildren(e){m(e,this.children)}_setUnmanagedPropertyToNode(e,t,n){e.__hideTemplateChildren__&&e.nodeType==Node.TEXT_NODE&&"textContent"==t?e.__polymerTextContent__=n:super._setUnmanagedPropertyToNode(e,t,n)}get parentModel(){let e=this.__parentModel;if(!e){let t;e=this;do{e=e.__dataHost.__dataHost}while((t=e.__templatizeOptions)&&!t.parentModel);this.__parentModel=e}return e}dispatchEvent(e){return!0}}y.prototype.__dataHost,y.prototype.__templatizeOptions,y.prototype._methodHost,y.prototype.__templatizeOwner,y.prototype.__hostProps;const b=a(y);function g(e){let t=e.__dataHost;return t&&t._methodHost||t}function v(e,t,n){let s=n.mutableData?b:y;S.mixin&&(s=S.mixin(s));let i=class extends s{};return i.prototype.__templatizeOptions=n,i.prototype._bindTemplate(e),function(e,t,n,s){let i=n.hostProps||{};for(let r in s.instanceProps){delete i[r];let t=s.notifyInstanceProp;t&&e.prototype._addPropertyEffect(r,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:P(r,t)})}if(s.forwardHostProp&&t.__dataHost)for(let r in i)n.hasHostProps||(n.hasHostProps=!0),e.prototype._addPropertyEffect(r,e.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(e,t,n){e.__dataHost._setPendingPropertyOrPath("_host_"+t,n[t],!0,!0)}})}(i,e,t,n),i}function w(e,t,n,s){let i=n.forwardHostProp;if(i&&t.hasHostProps){const a="template"==e.localName;let l=t.templatizeTemplateClass;if(!l){if(a){let e=n.mutableData?_:p;class s extends e{}l=t.templatizeTemplateClass=s}else{const n=e.constructor;class s extends n{}l=t.templatizeTemplateClass=s}let r=t.hostProps;for(let e in r)l.prototype._addPropertyEffect("_host_"+e,l.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:C(e,i)}),l.prototype._createNotifyingProperty("_host_"+e);c.F3&&s&&function(e,t,n){const s=n.constructor._properties,{propertyEffects:i}=e,{instanceProps:r}=t;for(let o in i)if(!(s[o]||r&&r[o])){const e=i[o];for(let t=0;t<e.length;t++){const{part:n}=e[t].info;if(!n.signature||!n.signature.static){console.warn(`Property '${o}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}(t,n,s)}if(e.__dataProto&&Object.assign(e.__data,e.__dataProto),a)o=l,h=r=e,Object.setPrototypeOf(r,o.prototype),new o,h=null,e.__dataTemp={},e.__dataPending=null,e.__dataOld=null,e._enableProperties();else{Object.setPrototypeOf(e,l.prototype);const n=t.hostProps;for(let t in n)if(t="_host_"+t,t in e){const n=e[t];delete e[t],e.__data[t]=n}}}var r,o}function C(e,t){return function(e,n,s){t.call(e.__templatizeOwner,n.substring(6),s[n])}}function P(e,t){return function(e,n,s){t.call(e.__templatizeOwner,e,n,s[n])}}function S(e,t,n){if(c.yu&&!g(e))throw new Error("strictTemplatePolicy: template owner not trusted");if(n=n||{},e.__templatizeOwner)throw new Error("A <template> can only be templatized once");e.__templatizeOwner=t;let s=(t?t.constructor:y)._parseTemplate(e),i=s.templatizeInstanceClass;i||(i=v(e,s,n),s.templatizeInstanceClass=i);const r=g(e);w(e,s,n,r);let o=class extends i{};return o.prototype._methodHost=r,o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=s.hostProps,o}function x(e,t){let n;for(;t;)if(n=t.__dataHost?t:t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=(0,d.L)(t).parentNode;return null}var E=n(7217);let T=!1;function A(){if(c.IP&&!c.sv){if(!T){T=!0;const e=document.createElement("style");e.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(e)}return!0}return!1}const O=(0,E.b)(l((0,i.s)(HTMLElement)));customElements.define("dom-bind",class extends O{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),c.yu)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(e,t,n,s){this.mutableData=!0}connectedCallback(){A()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){(0,d.L)((0,d.L)(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let e=0;e<this.__children.length;e++)this.root.appendChild(this.__children[e])}render(){let e;if(!this.__children){if(e=e||this.querySelector("template"),!e){let t=new MutationObserver((()=>{if(e=this.querySelector("template"),!e)throw new Error("dom-bind requires a <template> child");t.disconnect(),this.render()}));return void t.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(let e=this.root.firstChild;e;e=e.nextSibling)this.__children[this.__children.length]=e;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}});var I=n(7182);n(4692);const k=(0,I.q2)(HTMLElement);var N=n(4735),L=n(5436),D=n(4347),M=n(526);const R=l(k);class F extends R{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!c.w9,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let e=0;e<this.__instances.length;e++)this.__detachInstance(e);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),A()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let e=(0,d.L)((0,d.L)(this).parentNode);for(let t=0;t<this.__instances.length;t++)this.__attachInstance(t,e);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const e=this;let t=this.template=e._templateInfo?e:this.querySelector("template");if(!t){let e=new MutationObserver((()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");e.disconnect(),this.__render()}));return e.observe(this,{childList:!0}),!1}let n={};n[this.as]=!0,n[this.indexAs]=!0,n[this.itemsIndexAs]=!0,this.__ctor=S(t,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:n,forwardHostProp:function(e,t){let n=this.__instances;for(let s,i=0;i<n.length&&(s=n[i]);i++)s.forwardHostProp(e,t)},notifyInstanceProp:function(e,t,n){if((0,D.cK)(this.as,t)){let s=e[this.itemsIndexAs];t==this.as&&(this.items[s]=n);let i=(0,D.Tl)(this.as,`${JSCompiler_renameProperty("items",this)}.${s}`,t);this.notifyPath(i,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(e){if("string"==typeof e){let t=e,n=this.__getMethodHost();return function(){return n[t].apply(n,arguments)}}return e}__sortChanged(e){this.__sortFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__filterChanged(e){this.__filterFn=this.__functionFromPropertyValue(e),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(e){return Math.ceil(1e3/e)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(e){if(this.__sortFn||this.__filterFn)if(e){if(this.__observePaths){let t=this.__observePaths;for(let n=0;n<t.length;n++)0===e.indexOf(t[n])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(e){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(e.path,e.value)||("items"===e.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(e,t=0){this.__renderDebouncer=N.aq.debounce(this.__renderDebouncer,t>0?M.EV.after(t):M._3,e.bind(this)),(0,L.O)(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),(0,L.b)()}__render(){if(!this.__ensureTemplatized())return;let e=this.items||[];const t=this.__sortAndFilterItems(e),n=this.__calculateLimit(t.length);this.__updateInstances(e,n,t),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame((()=>{this.__chunkingId=null,this.__continueChunking()}))),this._setRenderedItemCount(this.__instances.length),c.w9&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(e){let t=new Array(e.length);for(let n=0;n<e.length;n++)t[n]=n;return this.__filterFn&&(t=t.filter(((t,n,s)=>this.__filterFn(e[t],n,s)))),this.__sortFn&&t.sort(((t,n)=>this.__sortFn(e[t],e[n]))),t}__calculateLimit(e){let t=e;const n=this.__instances.length;if(this.initialCount){let s;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(t=Math.min(e,this.initialCount),s=Math.max(t-n,0),this.__chunkCount=s||1):(s=Math.min(Math.max(e-n,0),this.__chunkCount),t=Math.min(n+s,e)),this.__shouldMeasureChunk=s===this.__chunkCount,this.__shouldContinueChunking=t<e,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,t}__continueChunking(){if(this.__shouldMeasureChunk){const e=performance.now()-this.__renderStartTime,t=this._targetFrameTime/e;this.__chunkCount=Math.round(this.__chunkCount*t)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(e,t,n){const s=this.__itemsIdxToInstIdx={};let i;for(i=0;i<t;i++){let t=this.__instances[i],r=n[i],o=e[r];s[r]=i,t?(t._setPendingProperty(this.as,o),t._setPendingProperty(this.indexAs,i),t._setPendingProperty(this.itemsIndexAs,r),t._flushProperties()):this.__insertInstance(o,i,r)}for(let r=this.__instances.length-1;r>=i;r--)this.__detachAndRemoveInstance(r)}__detachInstance(e){let t=this.__instances[e];const n=(0,d.L)(t.root);for(let s=0;s<t.children.length;s++){let e=t.children[s];n.appendChild(e)}return t}__attachInstance(e,t){let n=this.__instances[e];t.insertBefore(n.root,this)}__detachAndRemoveInstance(e){this.__detachInstance(e),this.__instances.splice(e,1)}__stampInstance(e,t,n){let s={};return s[this.as]=e,s[this.indexAs]=t,s[this.itemsIndexAs]=n,new this.__ctor(s)}__insertInstance(e,t,n){const s=this.__stampInstance(e,t,n);let i=this.__instances[t+1],r=i?i.children[0]:this;return(0,d.L)((0,d.L)(this).parentNode).insertBefore(s.root,r),this.__instances[t]=s,s}_showHideChildren(e){for(let t=0;t<this.__instances.length;t++)this.__instances[t]._showHideChildren(e)}__handleItemPath(e,t){let n=e.slice(6),s=n.indexOf("."),i=s<0?n:n.substring(0,s);if(i==parseInt(i,10)){let e=s<0?"":n.substring(s+1);this.__handleObservedPaths(e);let r=this.__itemsIdxToInstIdx[i],o=this.__instances[r];if(o){let n=this.as+(e?"."+e:"");o._setPendingPropertyOrPath(n,t,!1,!0),o._flushProperties()}return!0}}itemForElement(e){let t=this.modelForElement(e);return t&&t[this.as]}indexForElement(e){let t=this.modelForElement(e);return t&&t[this.indexAs]}modelForElement(e){return x(this.template,e)}}customElements.define(F.is,F);class H extends k{static get is(){return"dom-if"}static get template(){return null}static get properties(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"},notifyDomChange:{type:Boolean}}}constructor(){super(),this.__renderDebouncer=null,this._lastIf=!1,this.__hideTemplateChildren__=!1,this.__template,this._templateInfo}__debounceRender(){this.__renderDebouncer=N.aq.debounce(this.__renderDebouncer,M._3,(()=>this.__render())),(0,L.O)(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();const e=(0,d.L)(this).parentNode;e&&(e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||(0,d.L)(e).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),A()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){const e=this;let t=e._templateInfo?e:(0,d.L)(e).querySelector("template");if(!t){let e=new MutationObserver((()=>{if(!(0,d.L)(this).querySelector("template"))throw new Error("dom-if requires a <template> child");e.disconnect(),this.__render()}));return e.observe(this,{childList:!0}),!1}this.__template=t}return!0}__ensureInstance(){let e=(0,d.L)(this).parentNode;if(this.__hasInstance()){let t=this.__getInstanceNodes();if(t&&t.length){if((0,d.L)(this).previousSibling!==t[t.length-1])for(let n,s=0;s<t.length&&(n=t[s]);s++)(0,d.L)(e).insertBefore(n,this)}}else{if(!e)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(e)}return!0}render(){(0,L.b)()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),c.w9&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(e){}__teardownInstance(){}_showHideChildren(){}}const B=c.s?class extends H{constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(e){const t=this.__dataHost||this;if(c.yu&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");const n=t._bindTemplate(this.__template,!0);n.runEffects=(e,t,n)=>{let s=this.__syncInfo;if(this.if)s&&(this.__syncInfo=null,this._showHideChildren(),t=Object.assign(s.changedProps,t)),e(t,n);else if(this.__instance)if(s||(s=this.__syncInfo={runEffects:e,changedProps:{}}),n)for(const i in t){const e=(0,D.zr)(i);s.changedProps[e]=this.__dataHost[e]}else Object.assign(s.changedProps,t)},this.__instance=t._stampTemplate(this.__template,n),(0,d.L)(e).insertBefore(this.__instance,this)}__syncHostProperties(){const e=this.__syncInfo;e&&(this.__syncInfo=null,e.runEffects(e.changedProps,!1))}__teardownInstance(){const e=this.__dataHost||this;this.__instance&&(e._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){const e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&(this.__instance.__hidden=e,m(e,this.__instance.templateInfo.childNodes)),e||this.__syncHostProperties()}}:class extends H{constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(e){this.__ctor||(this.__ctor=S(this.__template,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[(0,D.zr)(e)]=!0))}})),this.__instance=new this.__ctor,(0,d.L)(e).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){let e=this.__instance.children;if(e&&e.length){let t=(0,d.L)(e[0]).parentNode;if(t){t=(0,d.L)(t);for(let n,s=0;s<e.length&&(n=e[s]);s++)t.removeChild(n)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){let e=this.__invalidProps;if(e){this.__invalidProps=null;for(let t in e)this.__instance._setPendingProperty(t,this.__dataHost[t]);this.__instance._flushProperties()}}_showHideChildren(){const e=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==e&&(this.__instance.__hidden=e,this.__instance._showHideChildren(e)),e||this.__syncHostProperties()}};customElements.define(B.is,B);var z=n(5444);let j=(0,r.y)((e=>{let t=(0,I.q2)(e);return class extends t{static get properties(){return{items:{type:Array},multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}static get observers(){return["__updateSelection(multi, items.*)"]}constructor(){super(),this.__lastItems=null,this.__lastMulti=null,this.__selectedMap=null}__updateSelection(e,t){let n=t.path;if(n==JSCompiler_renameProperty("items",this)){let n=t.base||[],s=this.__lastItems;if(e!==this.__lastMulti&&this.clearSelection(),s){let e=(0,z.k)(n,s);this.__applySplices(e)}this.__lastItems=n,this.__lastMulti=e}else if(t.path==`${JSCompiler_renameProperty("items",this)}.splices`)this.__applySplices(t.value.indexSplices);else{let e=n.slice(`${JSCompiler_renameProperty("items",this)}.`.length),t=parseInt(e,10);e.indexOf(".")<0&&e==t&&this.__deselectChangedIdx(t)}}__applySplices(e){let t=this.__selectedMap;for(let s=0;s<e.length;s++){let n=e[s];t.forEach(((e,s)=>{e<n.index||(e>=n.index+n.removed.length?t.set(s,e+n.addedCount-n.removed.length):t.set(s,-1))}));for(let e=0;e<n.addedCount;e++){let s=n.index+e;t.has(this.items[s])&&t.set(this.items[s],s)}}this.__updateLinks();let n=0;t.forEach(((e,s)=>{e<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null,t.delete(s)):n++}))}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let e=0;this.__selectedMap.forEach((t=>{t>=0&&this.linkPaths(`${JSCompiler_renameProperty("items",this)}.${t}`,`${JSCompiler_renameProperty("selected",this)}.${e++}`)}))}else this.__selectedMap.forEach((e=>{this.linkPaths(JSCompiler_renameProperty("selected",this),`${JSCompiler_renameProperty("items",this)}.${e}`),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),`${JSCompiler_renameProperty("items",this)}.${e}`)}))}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(e){return this.__selectedMap.has(e)}isIndexSelected(e){return this.isSelected(this.items[e])}__deselectChangedIdx(e){let t=this.__selectedIndexForItemIndex(e);if(t>=0){let e=0;this.__selectedMap.forEach(((n,s)=>{t==e++&&this.deselect(s)}))}}__selectedIndexForItemIndex(e){let t=this.__dataLinkedPaths[`${JSCompiler_renameProperty("items",this)}.${e}`];if(t)return parseInt(t.slice(`${JSCompiler_renameProperty("selected",this)}.`.length),10)}deselect(e){let t=this.__selectedMap.get(e);if(t>=0){let n;this.__selectedMap.delete(e),this.multi&&(n=this.__selectedIndexForItemIndex(t)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),n,1):this.selected=this.selectedItem=null}}deselectIndex(e){this.deselect(this.items[e])}select(e){this.selectIndex(this.items.indexOf(e))}selectIndex(e){let t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),t):this.selected=this.selectedItem=t)}}}))(k);class K extends j{static get is(){return"array-selector"}static get template(){return null}}customElements.define(K.is,K);var U=n(6717),$=n(3790),q=n(2146);const V=new U.Ay;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(e,t,n){},prepareTemplateDom(e,t){},prepareTemplateStyles(e,t,n){},styleSubtree(e,t){V.processStyles(),(0,$.U_)(e,t)},styleElement(e){V.processStyles()},styleDocument(e){V.processStyles(),(0,$.U_)(document.body,e)},getComputedStyleValue(e,t){return(0,$.yd)(e,t)},flushCustomStyles(){},nativeCss:q.Us,nativeShadow:q.Eu,cssBuild:q.gp,disableRuntime:q.hS}),window.ShadyCSS.CustomStyleInterface=V;var J=n(4791);const Y="include",X=window.ShadyCSS.CustomStyleInterface;class W extends HTMLElement{constructor(){super(),this._style=null,X.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const e=this.querySelector("style");if(!e)return null;this._style=e;const t=e.getAttribute(Y);return t&&(e.removeAttribute(Y),e.textContent=(0,J.Vg)(t)+e.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}let G;window.customElements.define("custom-style",W),G=a._mutablePropertyChange;Boolean,(0,s.r)(HTMLElement).prototype},6108:(e,t,n)=>{n.d(t,{tU:()=>r,u$:()=>s,w3:()=>i});const s=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,r=/@media\s(.*)/},3790:(e,t,n)=>{n.d(t,{Rf:()=>o,U_:()=>i,yd:()=>r});var s=n(6108);function i(e,t){for(let n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function r(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}function o(e){const t=s.w3.test(e)||s.u$.test(e);return s.w3.lastIndex=0,s.u$.lastIndex=0,t}},6717:(e,t,n)=>{n.d(t,{Ay:()=>h});let s,i=null,r=window.HTMLImports&&window.HTMLImports.whenReady||null;function o(e){requestAnimationFrame((function(){r?r(e):(i||(i=new Promise((e=>{s=e})),"complete"===document.readyState?s():document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&s()}))),i.then((function(){e&&e()})))}))}const a="__seenByShadyCSS",l="__shadyCSSCachedStyle";let c=null,d=null;class h{constructor(){this.customStyles=[],this.enqueued=!1,o((()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}enqueueDocumentValidation(){!this.enqueued&&d&&(this.enqueued=!0,o(d))}addCustomStyle(e){e[a]||(e[a]=!0,this.customStyles.push(e),this.enqueueDocumentValidation())}getStyleForCustomStyle(e){if(e[l])return e[l];let t;return t=e.getStyle?e.getStyle():e,t}processStyles(){const e=this.customStyles;for(let t=0;t<e.length;t++){const n=e[t];if(n[l])continue;const s=this.getStyleForCustomStyle(n);if(s){const e=s.__appliedElement||s;c&&c(e),n[l]=e}}return e}}h.prototype.addCustomStyle=h.prototype.addCustomStyle,h.prototype.getStyleForCustomStyle=h.prototype.getStyleForCustomStyle,h.prototype.processStyles=h.prototype.processStyles,Object.defineProperties(h.prototype,{transformCallback:{get(){return c},set(e){c=e}},validateCallback:{get(){return d},set(e){let t=!1;d||(t=!0),d=e,t&&this.enqueueDocumentValidation()}}})},2146:(e,t,n)=>{n.d(t,{Eu:()=>s,Us:()=>l,gp:()=>r,hS:()=>a});const s=!(window.ShadyDOM&&window.ShadyDOM.inUse);let i,r;function o(e){i=(!e||!e.shimcssproperties)&&(s||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(r=window.ShadyCSS.cssBuild);const a=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?i=window.ShadyCSS.nativeCss:window.ShadyCSS?(o(window.ShadyCSS),window.ShadyCSS=void 0):o(window.WebComponents&&window.WebComponents.flags);const l=i}};
//# sourceMappingURL=6CnJfZW5.js.map