"use strict";(self.webpackChunkreact_frontend=self.webpackChunkreact_frontend||[]).push([[2070],{59382:(t,e,r)=>{function i(t){return!("DateTimeFormat"in Intl)||!("formatToParts"in Intl.DateTimeFormat.prototype)||!("formatRange"in Intl.DateTimeFormat.prototype)||function(){try{return"dayPeriod"!==new Intl.DateTimeFormat("en",{hourCycle:"h11",hour:"numeric"}).formatToParts(0)[2].type}catch(t){return!1}}()||function(){try{return!!new Intl.DateTimeFormat("en",{dateStyle:"short",hour:"numeric"}).format(new Date(0))}catch(t){return!1}}()||!function(){try{return!!new Intl.DateTimeFormat(void 0,{dateStyle:"short"}).resolvedOptions().dateStyle}catch(t){return!1}}()||!function(t){if(!t)return!0;var e=Array.isArray(t)?t:[t];return Intl.DateTimeFormat.supportedLocalesOf(e).length===e.length}(t)}r.d(e,{Y:()=>i})},83528:(t,e,r)=>{function i(){return!("Locale"in Intl)||function(){try{return"x-private"===new Intl.Locale("und-x-private").toString()}catch(t){return!0}}()}r.d(e,{Y:()=>i})},85200:(t,e,r)=>{function i(t){return!("PluralRules"in Intl)||"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1)||!function(t){if(!t)return!0;var e=Array.isArray(t)?t:[t];return Intl.PluralRules.supportedLocalesOf(e).length===e.length}(t)}r.d(e,{Y:()=>i})},59193:(t,e,r)=>{function i(t){return!("RelativeTimeFormat"in Intl)||!function(t){if(!t)return!0;var e=Array.isArray(t)?t:[t];return Intl.RelativeTimeFormat.supportedLocalesOf(e).length===e.length}(t)||!function(t){try{return"numberingSystem"in new Intl.RelativeTimeFormat(t||"en",{numeric:"auto"}).resolvedOptions()}catch(t){return!1}}(t)}r.d(e,{Y:()=>i})},55666:(t,e,r)=>{r.d(e,{W:()=>n});var i=function(){return i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},i.apply(this,arguments)};function n(t,e,r){void 0===e&&(e=Date.now()),void 0===r&&(r={});var n=i(i({},o),r||{}),s=(+t-+e)/1e3;if(Math.abs(s)<n.second)return{value:Math.round(s),unit:"second"};var a=s/60;if(Math.abs(a)<n.minute)return{value:Math.round(a),unit:"minute"};var l=s/3600;if(Math.abs(l)<n.hour)return{value:Math.round(l),unit:"hour"};var c=s/86400;if(Math.abs(c)<n.day)return{value:Math.round(c),unit:"day"};var d=new Date(t),p=new Date(e),u=d.getFullYear()-p.getFullYear();if(Math.round(Math.abs(u))>0)return{value:Math.round(u),unit:"year"};var h=12*u+d.getMonth()-p.getMonth();if(Math.round(Math.abs(h))>0)return{value:Math.round(h),unit:"month"};var f=s/604800;return{value:Math.round(f),unit:"week"}}var o={second:45,minute:45,hour:22,day:5}},15612:(t,e,r)=>{r(25734);const i=r(26213).d`
/* Most common used flex styles*/
<dom-module id="iron-flex">
  <template>
    <style>
      .layout.horizontal,
      .layout.vertical {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
      }

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

      .layout.horizontal {
        -ms-flex-direction: row;
        -webkit-flex-direction: row;
        flex-direction: row;
      }

      .layout.vertical {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
      }

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

      .layout.no-wrap {
        -ms-flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
      }

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

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

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

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

      .flex-none {
        -ms-flex: none;
        -webkit-flex: none;
        flex: none;
      }
    </style>
  </template>
</dom-module>
/* Basic flexbox reverse styles */
<dom-module id="iron-flex-reverse">
  <template>
    <style>
      .layout.horizontal-reverse,
      .layout.vertical-reverse {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
      }

      .layout.horizontal-reverse {
        -ms-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
      }

      .layout.vertical-reverse {
        -ms-flex-direction: column-reverse;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
      }

      .layout.wrap-reverse {
        -ms-flex-wrap: wrap-reverse;
        -webkit-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
      }
    </style>
  </template>
</dom-module>
/* Flexbox alignment */
<dom-module id="iron-flex-alignment">
  <template>
    <style>
      /**
       * Alignment in cross axis.
       */
      .layout.start {
        -ms-flex-align: start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
      }

      .layout.center,
      .layout.center-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,
      .layout.center-center {
        -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;
      }

      /**
       * Self alignment.
       */
      .self-start {
        -ms-align-self: flex-start;
        -webkit-align-self: flex-start;
        align-self: flex-start;
      }

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

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

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

      .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;
      }
    </style>
  </template>
</dom-module>
/* Non-flexbox positioning helper styles */
<dom-module id="iron-flex-factors">
  <template>
    <style>
      .flex,
      .flex-1 {
        -ms-flex: 1 1 0.000000001px;
        -webkit-flex: 1;
        flex: 1;
        -webkit-flex-basis: 0.000000001px;
        flex-basis: 0.000000001px;
      }

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

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

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

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

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

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

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

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

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

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

      .flex-12 {
        -ms-flex: 12;
        -webkit-flex: 12;
        flex: 12;
      }
    </style>
  </template>
</dom-module>
<dom-module id="iron-positioning">
  <template>
    <style>
      .block {
        display: block;
      }

      [hidden] {
        display: none !important;
      }

      .invisible {
        visibility: hidden !important;
      }

      .relative {
        position: relative;
      }

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

      body.fullbleed {
        margin: 0;
        height: 100vh;
      }

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

      /* fixed position */
      .fixed-bottom,
      .fixed-left,
      .fixed-right,
      .fixed-top {
        position: fixed;
      }

      .fixed-top {
        top: 0;
        left: 0;
        right: 0;
      }

      .fixed-right {
        top: 0;
        right: 0;
        bottom: 0;
      }

      .fixed-bottom {
        right: 0;
        bottom: 0;
        left: 0;
      }

      .fixed-left {
        top: 0;
        bottom: 0;
        left: 0;
      }
    </style>
  </template>
</dom-module>
`;i.setAttribute("style","display: none;"),document.head.appendChild(i.content)},36939:(t,e,r)=>{function i(){var t=new Date,e=t.getFullYear(),r=t.getMonth(),i=t.getDate(),n=new Date(0);return n.setFullYear(e,r,i-1),n.setHours(0,0,0,0),n}r.d(e,{Z:()=>i})},72774:(t,e,r)=>{r.d(e,{K:()=>i});var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},58014:(t,e,r)=>{function i(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}r.d(e,{wB:()=>i})},63872:(t,e,r)=>{r.d(e,{H:()=>l,q:()=>n});var i=r(37500);function n(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let o=!1;const s=()=>{},a={get passive(){return o=!0,!1}};document.addEventListener("x",s,a),document.removeEventListener("x",s);class l extends i.oi{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},14114:(t,e,r)=>{r.d(e,{P:()=>i});const i=t=>(e,r)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach(((t,r)=>e.constructor._observers.set(r,t)))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach(((t,e)=>{const r=this.constructor._observers.get(e);void 0!==r&&r.call(this,this[e],t)}))}}e.constructor._observers.set(r,t)}},22001:(t,e,r)=>{var i=r(87480),n=r(1922),o=(r(27303),r(58014)),s=r(63872),a=r(72774),l={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"},c={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"},d=function(t){this.adapter=t};var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getScrollPositionRTL=function(){var t=this.adapter.getScrollAreaScrollLeft(),e=this.calculateScrollEdges().right;return Math.round(e-t)},e.prototype.scrollToRTL=function(t){var e=this.calculateScrollEdges(),r=this.adapter.getScrollAreaScrollLeft(),i=this.clampScrollValue(e.right-t);return{finalScrollPosition:i,scrollDelta:i-r}},e.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(e-t);return{finalScrollPosition:r,scrollDelta:r-e}},e.prototype.getAnimatingScrollPosition=function(t){return t},e.prototype.calculateScrollEdges=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.min(Math.max(e.left,t),e.right)},e}(d);var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getScrollPositionRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft();return Math.round(t-e)},e.prototype.scrollToRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(-t);return{finalScrollPosition:r,scrollDelta:r-e}},e.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(e-t);return{finalScrollPosition:r,scrollDelta:r-e}},e.prototype.getAnimatingScrollPosition=function(t,e){return t-e},e.prototype.calculateScrollEdges=function(){var t=this.adapter.getScrollContentOffsetWidth();return{left:this.adapter.getScrollAreaOffsetWidth()-t,right:0}},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.max(Math.min(e.right,t),e.left)},e}(d);var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getScrollPositionRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft();return Math.round(e-t)},e.prototype.scrollToRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(t);return{finalScrollPosition:r,scrollDelta:e-r}},e.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(e+t);return{finalScrollPosition:r,scrollDelta:e-r}},e.prototype.getAnimatingScrollPosition=function(t,e){return t+e},e.prototype.calculateScrollEdges=function(){return{left:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth(),right:0}},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.min(Math.max(e.right,t),e.left)},e}(d);const f=function(t){function e(r){var n=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),r))||this;return n.isAnimating=!1,n}return(0,i.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){},getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this.adapter.computeHorizontalScrollbarHeight();this.adapter.setScrollAreaStyleProperty("margin-bottom",-t+"px"),this.adapter.addScrollAreaClass(e.cssClasses.SCROLL_AREA_SCROLL)},e.prototype.getScrollPosition=function(){if(this.isRTL())return this.computeCurrentScrollPositionRTL();var t=this.calculateCurrentTranslateX();return this.adapter.getScrollAreaScrollLeft()-t},e.prototype.handleInteraction=function(){this.isAnimating&&this.stopScrollAnimation()},e.prototype.handleTransitionEnd=function(t){var r=t.target;this.isAnimating&&this.adapter.eventTargetMatchesSelector(r,e.strings.CONTENT_SELECTOR)&&(this.isAnimating=!1,this.adapter.removeClass(e.cssClasses.ANIMATING))},e.prototype.incrementScroll=function(t){0!==t&&this.animate(this.getIncrementScrollOperation(t))},e.prototype.incrementScrollImmediate=function(t){if(0!==t){var e=this.getIncrementScrollOperation(t);0!==e.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(e.finalScrollPosition))}},e.prototype.scrollTo=function(t){this.isRTL()?this.scrollToImplRTL(t):this.scrollToImpl(t)},e.prototype.getRTLScroller=function(){return this.rtlScrollerInstance||(this.rtlScrollerInstance=this.rtlScrollerFactory()),this.rtlScrollerInstance},e.prototype.calculateCurrentTranslateX=function(){var t=this.adapter.getScrollContentStyleValue("transform");if("none"===t)return 0;var e=/\((.+?)\)/.exec(t);if(!e)return 0;var r=e[1],n=(0,i.CR)(r.split(","),6),o=(n[0],n[1],n[2],n[3],n[4]);n[5];return parseFloat(o)},e.prototype.clampScrollValue=function(t){var e=this.calculateScrollEdges();return Math.min(Math.max(e.left,t),e.right)},e.prototype.computeCurrentScrollPositionRTL=function(){var t=this.calculateCurrentTranslateX();return this.getRTLScroller().getScrollPositionRTL(t)},e.prototype.calculateScrollEdges=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},e.prototype.scrollToImpl=function(t){var e=this.getScrollPosition(),r=this.clampScrollValue(t),i=r-e;this.animate({finalScrollPosition:r,scrollDelta:i})},e.prototype.scrollToImplRTL=function(t){var e=this.getRTLScroller().scrollToRTL(t);this.animate(e)},e.prototype.getIncrementScrollOperation=function(t){if(this.isRTL())return this.getRTLScroller().incrementScrollRTL(t);var e=this.getScrollPosition(),r=t+e,i=this.clampScrollValue(r);return{finalScrollPosition:i,scrollDelta:i-e}},e.prototype.animate=function(t){var r=this;0!==t.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(t.finalScrollPosition),this.adapter.setScrollContentStyleProperty("transform","translateX("+t.scrollDelta+"px)"),this.adapter.computeScrollAreaClientRect(),requestAnimationFrame((function(){r.adapter.addClass(e.cssClasses.ANIMATING),r.adapter.setScrollContentStyleProperty("transform","none")})),this.isAnimating=!0)},e.prototype.stopScrollAnimation=function(){this.isAnimating=!1;var t=this.getAnimatingScrollPosition();this.adapter.removeClass(e.cssClasses.ANIMATING),this.adapter.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter.setScrollAreaScrollLeft(t)},e.prototype.getAnimatingScrollPosition=function(){var t=this.calculateCurrentTranslateX(),e=this.adapter.getScrollAreaScrollLeft();return this.isRTL()?this.getRTLScroller().getAnimatingScrollPosition(e,t):e-t},e.prototype.rtlScrollerFactory=function(){var t=this.adapter.getScrollAreaScrollLeft();this.adapter.setScrollAreaScrollLeft(t-1);var e=this.adapter.getScrollAreaScrollLeft();if(e<0)return this.adapter.setScrollAreaScrollLeft(t),new u(this.adapter);var r=this.adapter.computeScrollAreaClientRect(),i=this.adapter.computeScrollContentClientRect(),n=Math.round(i.right-r.right);return this.adapter.setScrollAreaScrollLeft(t),n===e?new h(this.adapter):new p(this.adapter)},e.prototype.isRTL=function(){return"rtl"===this.adapter.getScrollContentStyleValue("direction")},e}(a.K);var m=r(37500);class _ extends s.H{constructor(){super(...arguments),this.mdcFoundationClass=f,this._scrollbarHeight=-1}_handleInteraction(){this.mdcFoundation.handleInteraction()}_handleTransitionEnd(t){this.mdcFoundation.handleTransitionEnd(t)}render(){return m.dy`
      <div class="mdc-tab-scroller">
        <div class="mdc-tab-scroller__scroll-area"
            @wheel="${this._handleInteraction}"
            @touchstart="${this._handleInteraction}"
            @pointerdown="${this._handleInteraction}"
            @mousedown="${this._handleInteraction}"
            @keydown="${this._handleInteraction}"
            @transitionend="${this._handleTransitionEnd}">
          <div class="mdc-tab-scroller__scroll-content"><slot></slot></div>
        </div>
      </div>
      `}createAdapter(){return Object.assign(Object.assign({},(0,s.q)(this.mdcRoot)),{eventTargetMatchesSelector:(t,e)=>(0,o.wB)(t,e),addScrollAreaClass:t=>this.scrollAreaElement.classList.add(t),setScrollAreaStyleProperty:(t,e)=>this.scrollAreaElement.style.setProperty(t,e),setScrollContentStyleProperty:(t,e)=>this.scrollContentElement.style.setProperty(t,e),getScrollContentStyleValue:t=>window.getComputedStyle(this.scrollContentElement).getPropertyValue(t),setScrollAreaScrollLeft:t=>this.scrollAreaElement.scrollLeft=t,getScrollAreaScrollLeft:()=>this.scrollAreaElement.scrollLeft,getScrollContentOffsetWidth:()=>this.scrollContentElement.offsetWidth,getScrollAreaOffsetWidth:()=>this.scrollAreaElement.offsetWidth,computeScrollAreaClientRect:()=>this.scrollAreaElement.getBoundingClientRect(),computeScrollContentClientRect:()=>this.scrollContentElement.getBoundingClientRect(),computeHorizontalScrollbarHeight:()=>(-1===this._scrollbarHeight&&(this.scrollAreaElement.style.overflowX="scroll",this._scrollbarHeight=this.scrollAreaElement.offsetHeight-this.scrollAreaElement.clientHeight,this.scrollAreaElement.style.overflowX=""),this._scrollbarHeight)})}getScrollPosition(){return this.mdcFoundation.getScrollPosition()}getScrollContentWidth(){return this.scrollContentElement.offsetWidth}incrementScrollPosition(t){this.mdcFoundation.incrementScroll(t)}scrollToPosition(t){this.mdcFoundation.scrollTo(t)}}(0,i.gn)([(0,n.IO)(".mdc-tab-scroller")],_.prototype,"mdcRoot",void 0),(0,i.gn)([(0,n.IO)(".mdc-tab-scroller__scroll-area")],_.prototype,"scrollAreaElement",void 0),(0,i.gn)([(0,n.IO)(".mdc-tab-scroller__scroll-content")],_.prototype,"scrollContentElement",void 0),(0,i.gn)([(0,n.hO)({passive:!0})],_.prototype,"_handleInteraction",null);const y=m.iv`.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:flex;flex:1 0 auto;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}:host{display:flex}.mdc-tab-scroller{flex:1}`;let g=class extends _{};g.styles=[y],g=(0,i.gn)([(0,n.Mo)("mwc-tab-scroller")],g);var b=r(14114),v=r(99098),w={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"},C={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32},x=new Set;x.add(w.ARROW_LEFT_KEY),x.add(w.ARROW_RIGHT_KEY),x.add(w.END_KEY),x.add(w.HOME_KEY),x.add(w.ENTER_KEY),x.add(w.SPACE_KEY);var S=new Map;S.set(C.ARROW_LEFT_KEYCODE,w.ARROW_LEFT_KEY),S.set(C.ARROW_RIGHT_KEYCODE,w.ARROW_RIGHT_KEY),S.set(C.END_KEYCODE,w.END_KEY),S.set(C.HOME_KEYCODE,w.HOME_KEY),S.set(C.ENTER_KEYCODE,w.ENTER_KEY),S.set(C.SPACE_KEYCODE,w.SPACE_KEY);const A=function(t){function e(r){var n=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),r))||this;return n.useAutomaticActivation=!1,n}return(0,i.ZT)(e,t),Object.defineProperty(e,"strings",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){},getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!1,configurable:!0}),e.prototype.setUseAutomaticActivation=function(t){this.useAutomaticActivation=t},e.prototype.activateTab=function(t){var e,r=this.adapter.getPreviousActiveTabIndex();this.indexIsInRange(t)&&t!==r&&(-1!==r&&(this.adapter.deactivateTabAtIndex(r),e=this.adapter.getTabIndicatorClientRectAtIndex(r)),this.adapter.activateTabAtIndex(t,e),this.scrollIntoView(t),this.adapter.notifyTabActivated(t))},e.prototype.handleKeyDown=function(t){var e=this.getKeyFromEvent(t);if(void 0!==e)if(this.isActivationKey(e)||t.preventDefault(),this.useAutomaticActivation){if(this.isActivationKey(e))return;var r=this.determineTargetFromKey(this.adapter.getPreviousActiveTabIndex(),e);this.adapter.setActiveTab(r),this.scrollIntoView(r)}else{var i=this.adapter.getFocusedTabIndex();if(this.isActivationKey(e))this.adapter.setActiveTab(i);else{r=this.determineTargetFromKey(i,e);this.adapter.focusTabAtIndex(r),this.scrollIntoView(r)}}},e.prototype.handleTabInteraction=function(t){this.adapter.setActiveTab(this.adapter.getIndexOfTabById(t.detail.tabId))},e.prototype.scrollIntoView=function(t){this.indexIsInRange(t)&&(0!==t?t!==this.adapter.getTabListLength()-1?this.isRTL()?this.scrollIntoViewImplRTL(t):this.scrollIntoViewImpl(t):this.adapter.scrollTo(this.adapter.getScrollContentWidth()):this.adapter.scrollTo(0))},e.prototype.determineTargetFromKey=function(t,e){var r=this.isRTL(),i=this.adapter.getTabListLength()-1,n=t;return e===w.END_KEY?n=i:e===w.ARROW_LEFT_KEY&&!r||e===w.ARROW_RIGHT_KEY&&r?n-=1:e===w.ARROW_RIGHT_KEY&&!r||e===w.ARROW_LEFT_KEY&&r?n+=1:n=0,n<0?n=i:n>i&&(n=0),n},e.prototype.calculateScrollIncrement=function(t,e,r,i){var n=this.adapter.getTabDimensionsAtIndex(e),o=n.contentLeft-r-i,s=n.contentRight-r-C.EXTRA_SCROLL_AMOUNT,a=o+C.EXTRA_SCROLL_AMOUNT;return e<t?Math.min(s,0):Math.max(a,0)},e.prototype.calculateScrollIncrementRTL=function(t,e,r,i,n){var o=this.adapter.getTabDimensionsAtIndex(e),s=n-o.contentLeft-r,a=n-o.contentRight-r-i+C.EXTRA_SCROLL_AMOUNT,l=s-C.EXTRA_SCROLL_AMOUNT;return e>t?Math.max(a,0):Math.min(l,0)},e.prototype.findAdjacentTabIndexClosestToEdge=function(t,e,r,i){var n=e.rootLeft-r,o=e.rootRight-r-i,s=n+o;return n<0||s<0?t-1:o>0||s>0?t+1:-1},e.prototype.findAdjacentTabIndexClosestToEdgeRTL=function(t,e,r,i,n){var o=n-e.rootLeft-i-r,s=n-e.rootRight-r,a=o+s;return o>0||a>0?t+1:s<0||a<0?t-1:-1},e.prototype.getKeyFromEvent=function(t){return x.has(t.key)?t.key:S.get(t.keyCode)},e.prototype.isActivationKey=function(t){return t===w.SPACE_KEY||t===w.ENTER_KEY},e.prototype.indexIsInRange=function(t){return t>=0&&t<this.adapter.getTabListLength()},e.prototype.isRTL=function(){return this.adapter.isRTL()},e.prototype.scrollIntoViewImpl=function(t){var e=this.adapter.getScrollPosition(),r=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),n=this.findAdjacentTabIndexClosestToEdge(t,i,e,r);if(this.indexIsInRange(n)){var o=this.calculateScrollIncrement(t,n,e,r);this.adapter.incrementScroll(o)}},e.prototype.scrollIntoViewImplRTL=function(t){var e=this.adapter.getScrollPosition(),r=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),n=this.adapter.getScrollContentWidth(),o=this.findAdjacentTabIndexClosestToEdgeRTL(t,i,e,r,n);if(this.indexIsInRange(o)){var s=this.calculateScrollIncrementRTL(t,o,e,r,n);this.adapter.incrementScroll(s)}},e}(a.K);class P extends s.H{constructor(){super(...arguments),this.mdcFoundationClass=A,this.activeIndex=0,this._previousActiveIndex=-1}_handleTabInteraction(t){this.mdcFoundation.handleTabInteraction(t)}_handleKeydown(t){this.mdcFoundation.handleKeyDown(t)}render(){return m.dy`
      <div class="mdc-tab-bar" role="tablist"
          @MDCTab:interacted="${this._handleTabInteraction}"
          @keydown="${this._handleKeydown}">
        <mwc-tab-scroller><slot></slot></mwc-tab-scroller>
      </div>
      `}_getTabs(){return this.tabsSlot.assignedNodes({flatten:!0}).filter((t=>t instanceof v.p))}_getTab(t){return this._getTabs()[t]}createAdapter(){return{scrollTo:t=>this.scrollerElement.scrollToPosition(t),incrementScroll:t=>this.scrollerElement.incrementScrollPosition(t),getScrollPosition:()=>this.scrollerElement.getScrollPosition(),getScrollContentWidth:()=>this.scrollerElement.getScrollContentWidth(),getOffsetWidth:()=>this.mdcRoot.offsetWidth,isRTL:()=>"rtl"===window.getComputedStyle(this.mdcRoot).getPropertyValue("direction"),setActiveTab:t=>this.mdcFoundation.activateTab(t),activateTabAtIndex:(t,e)=>{const r=this._getTab(t);void 0!==r&&r.activate(e),this._previousActiveIndex=t},deactivateTabAtIndex:t=>{const e=this._getTab(t);void 0!==e&&e.deactivate()},focusTabAtIndex:t=>{const e=this._getTab(t);void 0!==e&&e.focus()},getTabIndicatorClientRectAtIndex:t=>{const e=this._getTab(t);return void 0!==e?e.computeIndicatorClientRect():new DOMRect},getTabDimensionsAtIndex:t=>{const e=this._getTab(t);return void 0!==e?e.computeDimensions():{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:()=>this._previousActiveIndex,getFocusedTabIndex:()=>{const t=this._getTabs(),e=this.getRootNode().activeElement;return t.indexOf(e)},getIndexOfTabById:t=>{const e=this._getTabs();for(let r=0;r<e.length;r++)if(e[r].id===t)return r;return-1},getTabListLength:()=>this._getTabs().length,notifyTabActivated:t=>{this.activeIndex=t,this.dispatchEvent(new CustomEvent(A.strings.TAB_ACTIVATED_EVENT,{detail:{index:t},bubbles:!0,cancelable:!0}))}}}firstUpdated(){}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.scrollerElement.updateComplete,void 0===this.mdcFoundation&&this.createFoundation(),t}scrollIndexIntoView(t){this.mdcFoundation.scrollIntoView(t)}}(0,i.gn)([(0,n.IO)(".mdc-tab-bar")],P.prototype,"mdcRoot",void 0),(0,i.gn)([(0,n.IO)("mwc-tab-scroller")],P.prototype,"scrollerElement",void 0),(0,i.gn)([(0,n.IO)("slot")],P.prototype,"tabsSlot",void 0),(0,i.gn)([(0,b.P)((async function(){await this.updateComplete,this.activeIndex!==this._previousActiveIndex&&this.mdcFoundation.activateTab(this.activeIndex)})),(0,n.Cb)({type:Number})],P.prototype,"activeIndex",void 0);const E=m.iv`.mdc-tab-bar{width:100%}.mdc-tab{height:48px}.mdc-tab--stacked{height:72px}:host{display:block}.mdc-tab-bar{flex:1}mwc-tab{--mdc-tab-height: 48px;--mdc-tab-stacked-height: 72px}`;let T=class extends P{};T.styles=[E],T=(0,i.gn)([(0,n.Mo)("mwc-tab-bar")],T)},99098:(t,e,r)=>{r.d(e,{p:()=>F});var i=r(87480),n=r(1922),o=r(63872),s=r(72774),a={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"},l={CONTENT_SELECTOR:".mdc-tab-indicator__content"},c=function(t){function e(r){return t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),r))||this}return(0,i.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()},e}(s.K);const d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.activate=function(){this.adapter.addClass(c.cssClasses.ACTIVE)},e.prototype.deactivate=function(){this.adapter.removeClass(c.cssClasses.ACTIVE)},e}(c);const p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.activate=function(t){if(t){var e=this.computeContentClientRect(),r=t.width/e.width,i=t.left-e.left;this.adapter.addClass(c.cssClasses.NO_TRANSITION),this.adapter.setContentStyleProperty("transform","translateX("+i+"px) scaleX("+r+")"),this.computeContentClientRect(),this.adapter.removeClass(c.cssClasses.NO_TRANSITION),this.adapter.addClass(c.cssClasses.ACTIVE),this.adapter.setContentStyleProperty("transform","")}else this.adapter.addClass(c.cssClasses.ACTIVE)},e.prototype.deactivate=function(){this.adapter.removeClass(c.cssClasses.ACTIVE)},e}(c);var u=r(37500),h=r(8636);class f extends o.H{constructor(){super(...arguments),this.icon="",this.fade=!1}get mdcFoundationClass(){return this.fade?d:p}render(){const t={"mdc-tab-indicator__content--icon":this.icon,"material-icons":this.icon,"mdc-tab-indicator__content--underline":!this.icon};return u.dy`
      <span class="mdc-tab-indicator ${(0,h.$)({"mdc-tab-indicator--fade":this.fade})}">
        <span class="mdc-tab-indicator__content ${(0,h.$)(t)}">${this.icon}</span>
      </span>
      `}updated(t){t.has("fade")&&this.createFoundation()}createAdapter(){return Object.assign(Object.assign({},(0,o.q)(this.mdcRoot)),{computeContentClientRect:()=>this.contentElement.getBoundingClientRect(),setContentStyleProperty:(t,e)=>this.contentElement.style.setProperty(t,e)})}computeContentClientRect(){return this.mdcFoundation.computeContentClientRect()}activate(t){this.mdcFoundation.activate(t)}deactivate(){this.mdcFoundation.deactivate()}}(0,i.gn)([(0,n.IO)(".mdc-tab-indicator")],f.prototype,"mdcRoot",void 0),(0,i.gn)([(0,n.IO)(".mdc-tab-indicator__content")],f.prototype,"contentElement",void 0),(0,i.gn)([(0,n.Cb)()],f.prototype,"icon",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],f.prototype,"fade",void 0);const m=u.iv`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#018786;color:var(--mdc-theme-secondary, #018786)}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}`;let _=class extends f{};_.styles=[m],_=(0,i.gn)([(0,n.Mo)("mwc-tab-indicator")],_);var y=r(58014),g={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},b={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},v={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};var w=["touchstart","pointerdown","mousedown","keydown"],C=["touchend","pointerup","mouseup","contextmenu"],x=[];const S=function(t){function e(r){var n=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),r))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(t){n.activateImpl(t)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return(0,i.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return g},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var i=e.cssClasses,n=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(n),t.adapter.isUnbounded()&&(t.adapter.addClass(o),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var r=e.cssClasses,i=r.ROOT,n=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(i),t.adapter.removeClass(n),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var r=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,r;if(t){try{for(var n=(0,i.XA)(w),o=n.next();!o.done;o=n.next()){var s=o.value;this.adapter.registerInteractionHandler(s,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,r;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var n=(0,i.XA)(C),o=n.next();!o.done;o=n.next()){var s=o.value;this.adapter.registerDocumentInteractionHandler(s,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var r=(0,i.XA)(w),n=r.next();!n.done;n=r.next()){var o=n.value;this.adapter.deregisterInteractionHandler(o,this.activateHandler)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=(0,i.XA)(C),n=r.next();!n.done;n=r.next()){var o=n.value;this.adapter.deregisterDocumentInteractionHandler(o,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,r=e.strings;Object.keys(r).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(r[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var i=this.previousActivationEvent;if(!(i&&void 0!==t&&i.type!==t.type))r.isActivated=!0,r.isProgrammatic=void 0===t,r.activationEvent=t,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&x.length>0&&x.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(x.push(t.target),this.registerDeactivationHandlers(t)),r.wasElementMadeActive=this.checkElementMadeActive(t),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){x=[],r.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(r.wasElementMadeActive=e.checkElementMadeActive(t),r.wasElementMadeActive&&e.animateActivation()),r.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,r=e.strings,i=r.VAR_FG_TRANSLATE_START,n=r.VAR_FG_TRANSLATE_END,o=e.cssClasses,s=o.FG_DEACTIVATION,a=o.FG_ACTIVATION,l=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var c="",d="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),u=p.startPoint,h=p.endPoint;c=u.x+"px, "+u.y+"px",d=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(i,c),this.adapter.updateCssVariable(n,d),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(s),this.adapter.computeBoundingRect(),this.adapter.addClass(a),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),l)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,r=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,r){if(!t)return{x:0,y:0};var i,n,o=e.x,s=e.y,a=o+r.left,l=s+r.top;if("touchstart"===t.type){var c=t;i=c.changedTouches[0].pageX-a,n=c.changedTouches[0].pageY-l}else{var d=t;i=d.pageX-a,n=d.pageY-l}return{x:i,y:n}}(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,r=e.cssClasses.FG_DEACTIVATION,i=this.activationState,n=i.hasDeactivationUXRun,o=i.isActivated;(n||!o)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(r)}),v.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var r=(0,i.pi)({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(r),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,r=t.wasElementMadeActive;(e||r)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var i=Math.floor(r*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,r=t.VAR_FG_SIZE,i=t.VAR_LEFT,n=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(n,this.unboundedCoords.top+"px"))},e}(s.K);var A=r(15304),P=r(38941);const E=(0,P.XM)(class extends P.Xe{constructor(t){var e;if(super(t),t.type!==P.pX.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const i=t[r];return null==i?e:e+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ct){this.ct=new Set;for(const t in e)this.ct.add(t);return this.render(e)}this.ct.forEach((t=>{null==e[t]&&(this.ct.delete(t),t.includes("-")?r.removeProperty(t):r[t]="")}));for(const t in e){const i=e[t];null!=i&&(this.ct.add(t),t.includes("-")?r.setProperty(t,i):r[t]=i)}return A.Jb}});class T extends o.H{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=S}get isActive(){return(0,y.wB)(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),r={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return u.dy`
        <div class="mdc-ripple-surface mdc-ripple-upgraded ${(0,h.$)(r)}"
          style="${E({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}(0,i.gn)([(0,n.IO)(".mdc-ripple-surface")],T.prototype,"mdcRoot",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"primary",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"accent",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"unbounded",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"disabled",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"activated",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"selected",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],T.prototype,"internalUseStateLayerCustomProperties",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"hovering",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"bgFocused",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"fgActivation",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"fgDeactivation",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"fgScale",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"fgSize",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"translateStart",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"translateEnd",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"leftPos",void 0),(0,i.gn)([(0,n.SB)()],T.prototype,"topPos",void 0);const O=u.iv`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`;let I=class extends T{};I.styles=[O],I=(0,i.gn)([(0,n.Mo)("mwc-ripple")],I);var R=r(14114);class k{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}var N={ACTIVE:"mdc-tab--active"},L={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"};const D=function(t){function e(r){var n=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),r))||this;return n.focusOnActivate=!0,n}return(0,i.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return N},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return L},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!1,configurable:!0}),e.prototype.handleClick=function(){this.adapter.notifyInteracted()},e.prototype.isActive=function(){return this.adapter.hasClass(N.ACTIVE)},e.prototype.setFocusOnActivate=function(t){this.focusOnActivate=t},e.prototype.activate=function(t){this.adapter.addClass(N.ACTIVE),this.adapter.setAttr(L.ARIA_SELECTED,"true"),this.adapter.setAttr(L.TABINDEX,"0"),this.adapter.activateIndicator(t),this.focusOnActivate&&this.adapter.focus()},e.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(N.ACTIVE),this.adapter.setAttr(L.ARIA_SELECTED,"false"),this.adapter.setAttr(L.TABINDEX,"-1"),this.adapter.deactivateIndicator())},e.prototype.computeDimensions=function(){var t=this.adapter.getOffsetWidth(),e=this.adapter.getOffsetLeft(),r=this.adapter.getContentOffsetWidth(),i=this.adapter.getContentOffsetLeft();return{contentLeft:e+i,contentRight:e+i+r,rootLeft:e,rootRight:e+t}},e}(s.K);let M=0;class F extends o.H{constructor(){super(...arguments),this.mdcFoundationClass=D,this.label="",this.icon="",this.hasImageIcon=!1,this.isFadingIndicator=!1,this.minWidth=!1,this.isMinWidthIndicator=!1,this.indicatorIcon="",this.stacked=!1,this.focusOnActivate=!0,this._active=!1,this.initFocus=!1,this.shouldRenderRipple=!1,this.useStateLayerCustomProperties=!1,this.rippleElement=null,this.rippleHandlers=new k((()=>(this.shouldRenderRipple=!0,this.ripple.then((t=>this.rippleElement=t)),this.ripple)))}get active(){return this._active}connectedCallback(){this.dir=document.dir,super.connectedCallback()}firstUpdated(){super.firstUpdated(),this.id=this.id||"mdc-tab-"+ ++M}render(){const t={"mdc-tab--min-width":this.minWidth,"mdc-tab--stacked":this.stacked};let e=u.dy``;(this.hasImageIcon||this.icon)&&(e=u.dy`
        <span class="mdc-tab__icon material-icons"><slot name="icon">${this.icon}</slot></span>`);let r=u.dy``;return this.label&&(r=u.dy`
        <span class="mdc-tab__text-label">${this.label}</span>`),u.dy`
      <button
        @click="${this.handleClick}"
        class="mdc-tab ${(0,h.$)(t)}"
        role="tab"
        aria-selected="false"
        tabindex="-1"
        @focus="${this.focus}"
        @blur="${this.handleBlur}"
        @mousedown="${this.handleRippleMouseDown}"
        @mouseenter="${this.handleRippleMouseEnter}"
        @mouseleave="${this.handleRippleMouseLeave}"
        @touchstart="${this.handleRippleTouchStart}"
        @touchend="${this.handleRippleDeactivate}"
        @touchcancel="${this.handleRippleDeactivate}">
        <span class="mdc-tab__content">
          ${e}
          ${r}
          ${this.isMinWidthIndicator?this.renderIndicator():""}
        </span>
        ${this.isMinWidthIndicator?"":this.renderIndicator()}
        ${this.renderRipple()}
      </button>`}renderIndicator(){return u.dy`<mwc-tab-indicator
        .icon="${this.indicatorIcon}"
        .fade="${this.isFadingIndicator}"></mwc-tab-indicator>`}renderRipple(){return this.shouldRenderRipple?u.dy`<mwc-ripple primary
        .internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"></mwc-ripple>`:""}createAdapter(){return Object.assign(Object.assign({},(0,o.q)(this.mdcRoot)),{setAttr:(t,e)=>this.mdcRoot.setAttribute(t,e),activateIndicator:async t=>{await this.tabIndicator.updateComplete,this.tabIndicator.activate(t)},deactivateIndicator:async()=>{await this.tabIndicator.updateComplete,this.tabIndicator.deactivate()},notifyInteracted:()=>this.dispatchEvent(new CustomEvent(D.strings.INTERACTED_EVENT,{detail:{tabId:this.id},bubbles:!0,composed:!0,cancelable:!0})),getOffsetLeft:()=>this.offsetLeft,getOffsetWidth:()=>this.mdcRoot.offsetWidth,getContentOffsetLeft:()=>this._contentElement.offsetLeft,getContentOffsetWidth:()=>this._contentElement.offsetWidth,focus:()=>{this.initFocus?this.initFocus=!1:this.mdcRoot.focus()}})}activate(t){t||(this.initFocus=!0),this.mdcFoundation?(this.mdcFoundation.activate(t),this.setActive(this.mdcFoundation.isActive())):this.updateComplete.then((()=>{this.mdcFoundation.activate(t),this.setActive(this.mdcFoundation.isActive())}))}deactivate(){this.mdcFoundation.deactivate(),this.setActive(this.mdcFoundation.isActive())}setActive(t){const e=this.active;e!==t&&(this._active=t,this.requestUpdate("active",e))}computeDimensions(){return this.mdcFoundation.computeDimensions()}computeIndicatorClientRect(){return this.tabIndicator.computeContentClientRect()}focus(){this.mdcRoot.focus(),this.handleFocus()}handleClick(){this.handleFocus(),this.mdcFoundation.handleClick()}handleFocus(){this.handleRippleFocus()}handleBlur(){this.handleRippleBlur()}handleRippleMouseDown(t){const e=()=>{window.removeEventListener("mouseup",e),this.handleRippleDeactivate()};window.addEventListener("mouseup",e),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}get isRippleActive(){var t;return(null===(t=this.rippleElement)||void 0===t?void 0:t.isActive)||!1}}F.shadowRootOptions={mode:"open",delegatesFocus:!0},(0,i.gn)([(0,n.IO)(".mdc-tab")],F.prototype,"mdcRoot",void 0),(0,i.gn)([(0,n.IO)("mwc-tab-indicator")],F.prototype,"tabIndicator",void 0),(0,i.gn)([(0,n.Cb)()],F.prototype,"label",void 0),(0,i.gn)([(0,n.Cb)()],F.prototype,"icon",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],F.prototype,"hasImageIcon",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],F.prototype,"isFadingIndicator",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],F.prototype,"minWidth",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],F.prototype,"isMinWidthIndicator",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean,reflect:!0,attribute:"active"})],F.prototype,"active",null),(0,i.gn)([(0,n.Cb)()],F.prototype,"indicatorIcon",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],F.prototype,"stacked",void 0),(0,i.gn)([(0,R.P)((async function(t){await this.updateComplete,this.mdcFoundation.setFocusOnActivate(t)})),(0,n.Cb)({type:Boolean})],F.prototype,"focusOnActivate",void 0),(0,i.gn)([(0,n.IO)(".mdc-tab__content")],F.prototype,"_contentElement",void 0),(0,i.gn)([(0,n.SB)()],F.prototype,"shouldRenderRipple",void 0),(0,i.gn)([(0,n.SB)()],F.prototype,"useStateLayerCustomProperties",void 0),(0,i.gn)([(0,n.GC)("mwc-ripple")],F.prototype,"ripple",void 0),(0,i.gn)([(0,n.hO)({passive:!0})],F.prototype,"handleRippleTouchStart",null)},27303:(t,e,r)=>{var i=r(87480),n=r(1922),o=r(99098);const s=r(37500).iv`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tab--active .mdc-tab__icon{color:#6200ee;color:var(--mdc-theme-primary, #6200ee);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform,opacity}:host{outline:none;flex:1 0 auto;display:flex;justify-content:center;-webkit-tap-highlight-color:transparent}.mdc-tab{height:var(--mdc-tab-height, 48px);margin-left:0;margin-right:0;padding-right:var(--mdc-tab-horizontal-padding, 24px);padding-left:var(--mdc-tab-horizontal-padding, 24px)}.mdc-tab--stacked{height:var(--mdc-tab-stacked-height, 72px)}.mdc-tab::-moz-focus-inner{border:0}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mdc-tab-text-label-color-default, rgba(0, 0, 0, 0.6))}.mdc-tab:not(.mdc-tab--active) .mdc-tab__icon{color:var(--mdc-tab-color-default, rgba(0, 0, 0, 0.54))}`;let a=class extends o.p{};a.styles=[s],a=(0,i.gn)([(0,n.Mo)("mwc-tab")],a)},30778:(t,e,r)=>{const i=!(window.ShadyDOM&&window.ShadyDOM.inUse);let n,o;function s(t){n=(!t||!t.shimcssproperties)&&(i||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&&(o=window.ShadyCSS.cssBuild);const a=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?n=window.ShadyCSS.nativeCss:window.ShadyCSS?(s(window.ShadyCSS),window.ShadyCSS=void 0):s(window.WebComponents&&window.WebComponents.flags);const l=n;class c{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 d(t){return p(function(t){let e=new c;e.start=0,e.end=t.length;let r=e;for(let i=0,n=t.length;i<n;i++)if(t[i]===f){r.rules||(r.rules=[]);let t=r,e=t.rules[t.rules.length-1]||null;r=new c,r.start=i+1,r.parent=t,r.previous=e,t.rules.push(r)}else t[i]===m&&(r.end=i+1,r=r.parent||e);return e}(t=t.replace(_.comments,"").replace(_.port,"")),t)}function p(t,e){let r=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){let i=t.previous?t.previous.end:t.parent.start;r=e.substring(i,t.start-1),r=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){let t=arguments[1],e=6-t.length;for(;e--;)t="0"+t;return"\\"+t}))}(r),r=r.replace(_.multipleSpaces," "),r=r.substring(r.lastIndexOf(";")+1);let n=t.parsedSelector=t.selector=r.trim();t.atRule=0===n.indexOf(b),t.atRule?0===n.indexOf(g)?t.type=h.MEDIA_RULE:n.match(_.keyframesRule)&&(t.type=h.KEYFRAMES_RULE,t.keyframesName=t.selector.split(_.multipleSpaces).pop()):0===n.indexOf(y)?t.type=h.MIXIN_RULE:t.type=h.STYLE_RULE}let i=t.rules;if(i)for(let t,r=0,n=i.length;r<n&&(t=i[r]);r++)p(t,e);return t}function u(t,e,r=""){let i="";if(t.cssText||t.rules){let r=t.rules;if(r&&!function(t){let e=t[0];return Boolean(e)&&Boolean(e.selector)&&0===e.selector.indexOf(y)}(r))for(let t,n=0,o=r.length;n<o&&(t=r[n]);n++)i=u(t,e,i);else i=e?t.cssText:function(t){return function(t){return t.replace(_.mixinApply,"").replace(_.varApply,"")}(t=function(t){return t.replace(_.customProp,"").replace(_.mixinProp,"")}(t))}(t.cssText),i=i.trim(),i&&(i="  "+i+"\n")}return i&&(t.selector&&(r+=t.selector+" "+f+"\n"),r+=i,t.selector&&(r+=m+"\n\n")),r}const h={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},f="{",m="}",_={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},y="--",g="@media",b="@",v=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,w=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,C=/@media\s(.*)/,x=new Set;function S(t){const e=t.textContent;if(!x.has(e)){x.add(e);const t=document.createElement("style");t.setAttribute("shady-unscoped",""),t.textContent=e,document.head.appendChild(t)}}function A(t){return t.hasAttribute("shady-unscoped")}function P(t,e){return t?("string"==typeof t&&(t=d(t)),e&&T(t,e),u(t,l)):""}function E(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=d(t.textContent)),t.__cssRules||null}function T(t,e,r,i){if(!t)return;let n=!1,o=t.type;if(i&&o===h.MEDIA_RULE){let e=t.selector.match(C);e&&(window.matchMedia(e[1]).matches||(n=!0))}o===h.STYLE_RULE?e(t):r&&o===h.KEYFRAMES_RULE?r(t):o===h.MIXIN_RULE&&(n=!0);let s=t.rules;if(s&&!n)for(let t,n=0,o=s.length;n<o&&(t=s[n]);n++)T(t,e,r,i)}function O(t,e){let r=0;for(let i=e,n=t.length;i<n;i++)if("("===t[i])r++;else if(")"===t[i]&&0==--r)return i;return-1}function I(t,e){let r=t.indexOf("var(");if(-1===r)return e(t,"","","");let i=O(t,r+3),n=t.substring(r+4,i),o=t.substring(0,r),s=I(t.substring(i+1),e),a=n.indexOf(",");return-1===a?e(o,n.trim(),"",s):e(o,n.substring(0,a).trim(),n.substring(a+1).trim(),s)}window.ShadyDOM&&window.ShadyDOM.wrap;const R="css-build";function k(t){if(void 0!==o)return o;if(void 0===t.__cssBuild){const e=t.getAttribute(R);if(e)t.__cssBuild=e;else{const e=function(t){const e="template"===t.localName?t.content.firstChild:t.firstChild;if(e instanceof Comment){const t=e.textContent.trim().split(":");if(t[0]===R)return t[1]}return""}(t);""!==e&&function(t){const e="template"===t.localName?t.content.firstChild:t.firstChild;e.parentNode.removeChild(e)}(t),t.__cssBuild=e}}return t.__cssBuild||""}function N(t){return""!==k(t)}function L(t,e){for(let r in e)null===r?t.style.removeProperty(r):t.style.setProperty(r,e[r])}function D(t,e){const r=window.getComputedStyle(t).getPropertyValue(e);return r?r.trim():""}const M=/;\s*/m,F=/^\s*(initial)|(inherit)\s*$/,H=/\s*!important/,z="_-_";class ${constructor(){this._map={}}set(t,e){t=t.trim(),this._map[t]={properties:e,dependants:{}}}get(t){return t=t.trim(),this._map[t]||null}}let j=null;class B{constructor(){this._currentElement=null,this._measureElement=null,this._map=new $}detectMixin(t){return function(t){const e=w.test(t)||v.test(t);return w.lastIndex=0,v.lastIndex=0,e}(t)}gatherStyles(t){const e=function(t){const e=[],r=t.querySelectorAll("style");for(let t=0;t<r.length;t++){const n=r[t];A(n)?i||(S(n),n.parentNode.removeChild(n)):(e.push(n.textContent),n.parentNode.removeChild(n))}return e.join("").trim()}(t.content);if(e){const r=document.createElement("style");return r.textContent=e,t.content.insertBefore(r,t.content.firstChild),r}return null}transformTemplate(t,e){void 0===t._gatheredStyle&&(t._gatheredStyle=this.gatherStyles(t));const r=t._gatheredStyle;return r?this.transformStyle(r,e):null}transformStyle(t,e=""){let r=E(t);return this.transformRules(r,e),t.textContent=P(r),r}transformCustomStyle(t){let e=E(t);return T(e,(t=>{":root"===t.selector&&(t.selector="html"),this.transformRule(t)})),t.textContent=P(e),e}transformRules(t,e){this._currentElement=e,T(t,(t=>{this.transformRule(t)})),this._currentElement=null}transformRule(t){t.cssText=this.transformCssText(t.parsedCssText,t),":root"===t.selector&&(t.selector=":host > *")}transformCssText(t,e){return t=t.replace(v,((t,r,i,n)=>this._produceCssProperties(t,r,i,n,e))),this._consumeCssProperties(t,e)}_getInitialValueForProperty(t){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(t)}_fallbacksFromPreviousRules(t){let e=t;for(;e.parent;)e=e.parent;const r={};let i=!1;return T(e,(e=>{i=i||e===t,i||e.selector===t.selector&&Object.assign(r,this._cssTextToMap(e.parsedCssText))})),r}_consumeCssProperties(t,e){let r=null;for(;r=w.exec(t);){let i=r[0],n=r[1],o=r.index,s=o+i.indexOf("@apply"),a=o+i.length,l=t.slice(0,s),c=t.slice(a),d=e?this._fallbacksFromPreviousRules(e):{};Object.assign(d,this._cssTextToMap(l));let p=this._atApplyToCssProperties(n,d);t=`${l}${p}${c}`,w.lastIndex=o+p.length}return t}_atApplyToCssProperties(t,e){t=t.replace(M,"");let r=[],i=this._map.get(t);if(i||(this._map.set(t,{}),i=this._map.get(t)),i){let n,o,s;this._currentElement&&(i.dependants[this._currentElement]=!0);const a=i.properties;for(n in a)s=e&&e[n],o=[n,": var(",t,z,n],s&&o.push(",",s.replace(H,"")),o.push(")"),H.test(a[n])&&o.push(" !important"),r.push(o.join(""))}return r.join("; ")}_replaceInitialOrInherit(t,e){let r=F.exec(e);return r&&(e=r[1]?this._getInitialValueForProperty(t):"apply-shim-inherit"),e}_cssTextToMap(t,e=!1){let r,i,n=t.split(";"),o={};for(let t,s,a=0;a<n.length;a++)t=n[a],t&&(s=t.split(":"),s.length>1&&(r=s[0].trim(),i=s.slice(1).join(":"),e&&(i=this._replaceInitialOrInherit(r,i)),o[r]=i));return o}_invalidateMixinEntry(t){if(j)for(let e in t.dependants)e!==this._currentElement&&j(e)}_produceCssProperties(t,e,r,i,n){if(r&&I(r,((t,e)=>{e&&this._map.get(e)&&(i=`@apply ${e};`)})),!i)return t;let o=this._consumeCssProperties(""+i,n),s=t.slice(0,t.indexOf("--")),a=this._cssTextToMap(o,!0),l=a,c=this._map.get(e),d=c&&c.properties;d?l=Object.assign(Object.create(d),a):this._map.set(e,l);let p,u,h=[],f=!1;for(p in l)u=a[p],void 0===u&&(u="initial"),d&&!(p in d)&&(f=!0),h.push(`${e}_-_${p}: ${u}`);return f&&this._invalidateMixinEntry(c),c&&(c.properties=l),r&&(s=`${t};${s}`),`${s}${h.join("; ")};`}}B.prototype.detectMixin=B.prototype.detectMixin,B.prototype.transformStyle=B.prototype.transformStyle,B.prototype.transformCustomStyle=B.prototype.transformCustomStyle,B.prototype.transformRules=B.prototype.transformRules,B.prototype.transformRule=B.prototype.transformRule,B.prototype.transformTemplate=B.prototype.transformTemplate,B.prototype._separator=z,Object.defineProperty(B.prototype,"invalidCallback",{get:()=>j,set(t){j=t}});const U=B,Y={},V="_applyShimCurrentVersion",q="_applyShimNextVersion",W="_applyShimValidatingVersion",X=Promise.resolve();function K(t){let e=Y[t];e&&function(t){t[V]=t[V]||0,t[W]=t[W]||0,t[q]=(t[q]||0)+1}(e)}function J(t){return t[V]===t[q]}function G(t){return!J(t)&&t[W]===t[q]}function Z(t){t[W]=t[q],t._validating||(t._validating=!0,X.then((function(){t[V]=t[q],t._validating=!1})))}let Q,tt=null,et=window.HTMLImports&&window.HTMLImports.whenReady||null;function rt(t){requestAnimationFrame((function(){et?et(t):(tt||(tt=new Promise((t=>{Q=t})),"complete"===document.readyState?Q():document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&Q()}))),tt.then((function(){t&&t()})))}))}const it="__seenByShadyCSS",nt="__shadyCSSCachedStyle";let ot=null,st=null;class at{constructor(){this.customStyles=[],this.enqueued=!1,rt((()=>{window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}enqueueDocumentValidation(){!this.enqueued&&st&&(this.enqueued=!0,rt(st))}addCustomStyle(t){t[it]||(t[it]=!0,this.customStyles.push(t),this.enqueueDocumentValidation())}getStyleForCustomStyle(t){if(t[nt])return t[nt];let e;return e=t.getStyle?t.getStyle():t,e}processStyles(){const t=this.customStyles;for(let e=0;e<t.length;e++){const r=t[e];if(r[nt])continue;const i=this.getStyleForCustomStyle(r);if(i){const t=i.__appliedElement||i;ot&&ot(t),r[nt]=t}}return t}}at.prototype.addCustomStyle=at.prototype.addCustomStyle,at.prototype.getStyleForCustomStyle=at.prototype.getStyleForCustomStyle,at.prototype.processStyles=at.prototype.processStyles,Object.defineProperties(at.prototype,{transformCallback:{get:()=>ot,set(t){ot=t}},validateCallback:{get:()=>st,set(t){let e=!1;st||(e=!0),st=t,e&&this.enqueueDocumentValidation()}}});const lt=new U;class ct{constructor(){this.customStyleInterface=null,lt.invalidCallback=K}ensure(){this.customStyleInterface||window.ShadyCSS.CustomStyleInterface&&(this.customStyleInterface=window.ShadyCSS.CustomStyleInterface,this.customStyleInterface.transformCallback=t=>{lt.transformCustomStyle(t)},this.customStyleInterface.validateCallback=()=>{requestAnimationFrame((()=>{this.customStyleInterface.enqueued&&this.flushCustomStyles()}))})}prepareTemplate(t,e){if(this.ensure(),N(t))return;Y[e]=t;let r=lt.transformTemplate(t,e);t._styleAst=r}flushCustomStyles(){if(this.ensure(),!this.customStyleInterface)return;let t=this.customStyleInterface.processStyles();if(this.customStyleInterface.enqueued){for(let e=0;e<t.length;e++){let r=t[e],i=this.customStyleInterface.getStyleForCustomStyle(r);i&&lt.transformCustomStyle(i)}this.customStyleInterface.enqueued=!1}}styleSubtree(t,e){if(this.ensure(),e&&L(t,e),t.shadowRoot){this.styleElement(t);let e=t.shadowRoot.children||t.shadowRoot.childNodes;for(let t=0;t<e.length;t++)this.styleSubtree(e[t])}else{let e=t.children||t.childNodes;for(let t=0;t<e.length;t++)this.styleSubtree(e[t])}}styleElement(t){this.ensure();let{is:e}=function(t){let e=t.localName,r="",i="";return e?e.indexOf("-")>-1?r=e:(i=e,r=t.getAttribute&&t.getAttribute("is")||""):(r=t.is,i=t.extends),{is:r,typeExtension:i}}(t),r=Y[e];if((!r||!N(r))&&r&&!J(r)){G(r)||(this.prepareTemplate(r,e),Z(r));let i=t.shadowRoot;if(i){let t=i.querySelector("style");t&&(t.__cssRules=r._styleAst,t.textContent=P(r._styleAst))}}}styleDocument(t){this.ensure(),this.styleSubtree(document.body,t)}}if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){const t=new ct;let e=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate(e,r,i){t.flushCustomStyles(),t.prepareTemplate(e,r)},prepareTemplateStyles(t,e,r){window.ShadyCSS.prepareTemplate(t,e,r)},prepareTemplateDom(t,e){},styleSubtree(e,r){t.flushCustomStyles(),t.styleSubtree(e,r)},styleElement(e){t.flushCustomStyles(),t.styleElement(e)},styleDocument(e){t.flushCustomStyles(),t.styleDocument(e)},getComputedStyleValue:(t,e)=>D(t,e),flushCustomStyles(){t.flushCustomStyles()},nativeCss:l,nativeShadow:i,cssBuild:o,disableRuntime:a},e&&(window.ShadyCSS.CustomStyleInterface=e)}window.ShadyCSS.ApplyShim=lt;var dt=r(36608),pt=(r(56646),r(76389)),ut=r(21683);class ht{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,ft.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),ft.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(t,e,r){return t instanceof ht?t._cancelAsync():t=new ht,t.setConfig(e,r),t}}let ft=new Set;const mt=function(t){ft.add(t)},_t=function(){const t=Boolean(ft.size);return ft.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t};var yt=r(74460),gt=r(62276);let bt="string"==typeof document.head.style.touchAction,vt="__polymerGestures",wt="__polymerGesturesHandled",Ct="__polymerGesturesTouchAction",xt=["mousedown","mousemove","mouseup","click"],St=[0,1,4,2],At=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();function Pt(t){return xt.indexOf(t)>-1}let Et=!1;function Tt(t){if(!Pt(t)&&"touchend"!==t)return bt&&Et&&yt.f6?{passive:!0}:void 0}!function(){try{let t=Object.defineProperty({},"passive",{get(){Et=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}}();let Ot=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);const It=[],Rt={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},kt={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Nt(t){let e=Array.prototype.slice.call(t.labels||[]);if(!e.length){e=[];let r=t.getRootNode();if(t.id){let i=r.querySelectorAll(`label[for = ${t.id}]`);for(let t=0;t<i.length;t++)e.push(i[t])}}return e}let Lt=function(t){let e=t.sourceCapabilities;var r;if((!e||e.firesTouchEvents)&&(t[wt]={skip:!0},"click"===t.type)){let e=!1,i=$t(t);for(let t=0;t<i.length;t++){if(i[t].nodeType===Node.ELEMENT_NODE)if("label"===i[t].localName)It.push(i[t]);else if(r=i[t],Rt[r.localName]){let r=Nt(i[t]);for(let t=0;t<r.length;t++)e=e||It.indexOf(r[t])>-1}if(i[t]===Ft.mouse.target)return}if(e)return;t.preventDefault(),t.stopPropagation()}};function Dt(t){let e=Ot?["click"]:xt;for(let r,i=0;i<e.length;i++)r=e[i],t?(It.length=0,document.addEventListener(r,Lt,!0)):document.removeEventListener(r,Lt,!0)}function Mt(t){let e=t.type;if(!Pt(e))return!1;if("mousemove"===e){let e=void 0===t.buttons?1:t.buttons;return t instanceof window.MouseEvent&&!At&&(e=St[t.which]||0),Boolean(1&e)}return 0===(void 0===t.button?0:t.button)}let Ft={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Ht(t,e,r){t.movefn=e,t.upfn=r,document.addEventListener("mousemove",e),document.addEventListener("mouseup",r)}function zt(t){document.removeEventListener("mousemove",t.movefn),document.removeEventListener("mouseup",t.upfn),t.movefn=null,t.upfn=null}yt.z2&&document.addEventListener("touchend",(function(t){if(!yt.z2)return;Ft.mouse.mouseIgnoreJob||Dt(!0),Ft.mouse.target=$t(t)[0],Ft.mouse.mouseIgnoreJob=ht.debounce(Ft.mouse.mouseIgnoreJob,ut.Wc.after(2500),(function(){Dt(),Ft.mouse.target=null,Ft.mouse.mouseIgnoreJob=null}))}),!!Et&&{passive:!0});const $t=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:t=>t.composedPath&&t.composedPath()||[],jt={},Bt=[];function Ut(t){const e=$t(t);return e.length>0?e[0]:t.target}function Yt(t){let e,r=t.type,i=t.currentTarget[vt];if(!i)return;let n=i[r];if(n){if(!t[wt]&&(t[wt]={},"touch"===r.slice(0,5))){let e=t.changedTouches[0];if("touchstart"===r&&1===t.touches.length&&(Ft.touch.id=e.identifier),Ft.touch.id!==e.identifier)return;bt||"touchstart"!==r&&"touchmove"!==r||function(t){let e=t.changedTouches[0],r=t.type;if("touchstart"===r)Ft.touch.x=e.clientX,Ft.touch.y=e.clientY,Ft.touch.scrollDecided=!1;else if("touchmove"===r){if(Ft.touch.scrollDecided)return;Ft.touch.scrollDecided=!0;let r=function(t){let e="auto",r=$t(t);for(let t,i=0;i<r.length;i++)if(t=r[i],t[Ct]){e=t[Ct];break}return e}(t),i=!1,n=Math.abs(Ft.touch.x-e.clientX),o=Math.abs(Ft.touch.y-e.clientY);t.cancelable&&("none"===r?i=!0:"pan-x"===r?i=o>n:"pan-y"===r&&(i=n>o)),i?t.preventDefault():Jt("track")}}(t)}if(e=t[wt],!e.skip){for(let r,i=0;i<Bt.length;i++)r=Bt[i],n[r.name]&&!e[r.name]&&r.flow&&r.flow.start.indexOf(t.type)>-1&&r.reset&&r.reset();for(let i,o=0;o<Bt.length;o++)i=Bt[o],n[i.name]&&!e[i.name]&&(e[i.name]=!0,i[r](t))}}}function Vt(t,e,r){return!!jt[e]&&(function(t,e,r){let i=jt[e],n=i.deps,o=i.name,s=t[vt];s||(t[vt]=s={});for(let e,r,i=0;i<n.length;i++)e=n[i],Ot&&Pt(e)&&"click"!==e||(r=s[e],r||(s[e]=r={_count:0}),0===r._count&&t.addEventListener(e,Yt,Tt(e)),r[o]=(r[o]||0)+1,r._count=(r._count||0)+1);t.addEventListener(e,r),i.touchAction&&Xt(t,i.touchAction)}(t,e,r),!0)}function qt(t,e,r){return!!jt[e]&&(function(t,e,r){let i=jt[e],n=i.deps,o=i.name,s=t[vt];if(s)for(let e,r,i=0;i<n.length;i++)e=n[i],r=s[e],r&&r[o]&&(r[o]=(r[o]||1)-1,r._count=(r._count||1)-1,0===r._count&&t.removeEventListener(e,Yt,Tt(e)));t.removeEventListener(e,r)}(t,e,r),!0)}function Wt(t){Bt.push(t);for(let e=0;e<t.emits.length;e++)jt[t.emits[e]]=t}function Xt(t,e){bt&&t instanceof HTMLElement&&ut.YA.run((()=>{t.style.touchAction=e})),t[Ct]=e}function Kt(t,e,r){let i=new Event(e,{bubbles:!0,cancelable:!0,composed:!0});if(i.detail=r,(0,gt.r)(t).dispatchEvent(i),i.defaultPrevented){let t=r.preventer||r.sourceEvent;t&&t.preventDefault&&t.preventDefault()}}function Jt(t){let e=function(t){for(let e,r=0;r<Bt.length;r++){e=Bt[r];for(let r,i=0;i<e.emits.length;i++)if(r=e.emits[i],r===t)return e}return null}(t);e.info&&(e.info.prevent=!0)}function Gt(t,e,r,i){e&&Kt(e,t,{x:r.clientX,y:r.clientY,sourceEvent:r,preventer:i,prevent:function(t){return Jt(t)}})}function Zt(t,e,r){if(t.prevent)return!1;if(t.started)return!0;let i=Math.abs(t.x-e),n=Math.abs(t.y-r);return i>=5||n>=5}function Qt(t,e,r){if(!e)return;let i,n=t.moves[t.moves.length-2],o=t.moves[t.moves.length-1],s=o.x-t.x,a=o.y-t.y,l=0;n&&(i=o.x-n.x,l=o.y-n.y),Kt(e,"track",{state:t.state,x:r.clientX,y:r.clientY,dx:s,dy:a,ddx:i,ddy:l,sourceEvent:r,hover:function(){return function(t,e){let r=document.elementFromPoint(t,e),i=r;for(;i&&i.shadowRoot&&!window.ShadyDOM;){let n=i;if(i=i.shadowRoot.elementFromPoint(t,e),n===i)break;i&&(r=i)}return r}(r.clientX,r.clientY)}})}function te(t,e,r){let i=Math.abs(e.clientX-t.x),n=Math.abs(e.clientY-t.y),o=Ut(r||e);!o||kt[o.localName]&&o.hasAttribute("disabled")||(isNaN(i)||isNaN(n)||i<=25&&n<=25||function(t){if("click"===t.type){if(0===t.detail)return!0;let e=Ut(t);if(!e.nodeType||e.nodeType!==Node.ELEMENT_NODE)return!0;let r=e.getBoundingClientRect(),i=t.pageX,n=t.pageY;return!(i>=r.left&&i<=r.right&&n>=r.top&&n<=r.bottom)}return!1}(e))&&(t.prevent||Kt(o,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:r}))}Wt({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){zt(this.info)},mousedown:function(t){if(!Mt(t))return;let e=Ut(t),r=this;Ht(this.info,(function(t){Mt(t)||(Gt("up",e,t),zt(r.info))}),(function(t){Mt(t)&&Gt("up",e,t),zt(r.info)})),Gt("down",e,t)},touchstart:function(t){Gt("down",Ut(t),t.changedTouches[0],t)},touchend:function(t){Gt("up",Ut(t),t.changedTouches[0],t)}}),Wt({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(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},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,zt(this.info)},mousedown:function(t){if(!Mt(t))return;let e=Ut(t),r=this,i=function(t){let i=t.clientX,n=t.clientY;Zt(r.info,i,n)&&(r.info.state=r.info.started?"mouseup"===t.type?"end":"track":"start","start"===r.info.state&&Jt("tap"),r.info.addMove({x:i,y:n}),Mt(t)||(r.info.state="end",zt(r.info)),e&&Qt(r.info,e,t),r.info.started=!0)};Ht(this.info,i,(function(t){r.info.started&&i(t),zt(r.info)})),this.info.x=t.clientX,this.info.y=t.clientY},touchstart:function(t){let e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove:function(t){let e=Ut(t),r=t.changedTouches[0],i=r.clientX,n=r.clientY;Zt(this.info,i,n)&&("start"===this.info.state&&Jt("tap"),this.info.addMove({x:i,y:n}),Qt(this.info,e,r),this.info.state="track",this.info.started=!0)},touchend:function(t){let e=Ut(t),r=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:r.clientX,y:r.clientY}),Qt(this.info,e,r))}}),Wt({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(t){Mt(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click:function(t){Mt(t)&&te(this.info,t)},touchstart:function(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend:function(t){te(this.info,t.changedTouches[0],t)}});const ee=(0,pt.o)((t=>class extends t{_addEventListenerToNode(t,e,r){Vt(t,e,r)||super._addEventListenerToNode(t,e,r)}_removeEventListenerFromNode(t,e,r){qt(t,e,r)||super._removeEventListenerFromNode(t,e,r)}}));var re=r(63933);const ie=/:host\(:dir\((ltr|rtl)\)\)/g,ne=/([\s\w-#\.\[\]\*]*):dir\((ltr|rtl)\)/g,oe=/:dir\((?:ltr|rtl)\)/,se=Boolean(window.ShadyDOM&&window.ShadyDOM.inUse),ae=[];let le=null,ce="";function de(){ce=document.documentElement.getAttribute("dir")}function pe(t){if(!t.__autoDirOptOut){t.setAttribute("dir",ce)}}function ue(){de(),ce=document.documentElement.getAttribute("dir");for(let t=0;t<ae.length;t++)pe(ae[t])}const he=(0,pt.o)((t=>{se||le||(de(),le=new MutationObserver(ue),le.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}));const e=(0,re.Q)(t);class r extends e{static _processStyleText(t,r){return t=e._processStyleText.call(this,t,r),!se&&oe.test(t)&&(t=this._replaceDirInCssText(t),this.__activateDir=!0),t}static _replaceDirInCssText(t){let e=t;return e=e.replace(ie,':host([dir="$1"])'),e=e.replace(ne,':host([dir="$2"]) $1'),e}constructor(){super(),this.__autoDirOptOut=!1}ready(){super.ready(),this.__autoDirOptOut=this.hasAttribute("dir")}connectedCallback(){e.prototype.connectedCallback&&super.connectedCallback(),this.constructor.__activateDir&&(le&&le.takeRecords().length&&ue(),ae.push(this),pe(this))}disconnectedCallback(){if(e.prototype.disconnectedCallback&&super.disconnectedCallback(),this.constructor.__activateDir){const t=ae.indexOf(this);t>-1&&ae.splice(t,1)}}}return r.__activateDir=!1,r}));function fe(){document.body.removeAttribute("unresolved")}function me(t,e,r){return{index:t,removed:e,addedCount:r}}"interactive"===document.readyState||"complete"===document.readyState?fe():window.addEventListener("DOMContentLoaded",fe);function _e(t,e,r,i,n,o){let s,a=0,l=0,c=Math.min(r-e,o-n);if(0==e&&0==n&&(a=function(t,e,r){for(let i=0;i<r;i++)if(!ge(t[i],e[i]))return i;return r}(t,i,c)),r==t.length&&o==i.length&&(l=function(t,e,r){let i=t.length,n=e.length,o=0;for(;o<r&&ge(t[--i],e[--n]);)o++;return o}(t,i,c-a)),n+=a,o-=l,(r-=l)-(e+=a)==0&&o-n==0)return[];if(e==r){for(s=me(e,[],0);n<o;)s.removed.push(i[n++]);return[s]}if(n==o)return[me(e,[],r-e)];let d=function(t){let e=t.length-1,r=t[0].length-1,i=t[e][r],n=[];for(;e>0||r>0;){if(0==e){n.push(2),r--;continue}if(0==r){n.push(3),e--;continue}let o,s=t[e-1][r-1],a=t[e-1][r],l=t[e][r-1];o=a<l?a<s?a:s:l<s?l:s,o==s?(s==i?n.push(0):(n.push(1),i=s),e--,r--):o==a?(n.push(3),e--,i=a):(n.push(2),r--,i=l)}return n.reverse(),n}(function(t,e,r,i,n,o){let s=o-n+1,a=r-e+1,l=new Array(s);for(let t=0;t<s;t++)l[t]=new Array(a),l[t][0]=t;for(let t=0;t<a;t++)l[0][t]=t;for(let r=1;r<s;r++)for(let o=1;o<a;o++)if(ge(t[e+o-1],i[n+r-1]))l[r][o]=l[r-1][o-1];else{let t=l[r-1][o]+1,e=l[r][o-1]+1;l[r][o]=t<e?t:e}return l}(t,e,r,i,n,o));s=void 0;let p=[],u=e,h=n;for(let t=0;t<d.length;t++)switch(d[t]){case 0:s&&(p.push(s),s=void 0),u++,h++;break;case 1:s||(s=me(u,[],0)),s.addedCount++,u++,s.removed.push(i[h]),h++;break;case 2:s||(s=me(u,[],0)),s.addedCount++,u++;break;case 3:s||(s=me(u,[],0)),s.removed.push(i[h]),h++}return s&&p.push(s),p}function ye(t,e){return _e(t,0,t.length,e,0,e.length)}function ge(t,e){return t===e}function be(t){return"slot"===t.localName}let ve=class{static getFlattenedNodes(t){const e=(0,gt.r)(t);return be(t)?e.assignedNodes({flatten:!0}):Array.from(e.childNodes).map((t=>be(t)?(0,gt.r)(t).assignedNodes({flatten:!0}):[t])).reduce(((t,e)=>t.concat(e)),[])}constructor(t,e){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=t,this.callback=e,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){be(this._target)?this._listenSlots([this._target]):(0,gt.r)(this._target).children&&(this._listenSlots((0,gt.r)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(t=>{this._processMutations(t)})):(this._nativeChildrenObserver=new MutationObserver((t=>{this._processMutations(t)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){be(this._target)?this._unlistenSlots([this._target]):(0,gt.r)(this._target).children&&(this._unlistenSlots((0,gt.r)(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,ut.YA.run((()=>this.flush())))}_processMutations(t){this._processSlotMutations(t),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){let r=t[e];r.addedNodes&&this._listenSlots(r.addedNodes),r.removedNodes&&this._unlistenSlots(r.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 t={target:this._target,addedNodes:[],removedNodes:[]},e=this.constructor.getFlattenedNodes(this._target),r=ye(e,this._effectiveNodes);for(let e,i=0;i<r.length&&(e=r[i]);i++)for(let r,i=0;i<e.removed.length&&(r=e.removed[i]);i++)t.removedNodes.push(r);for(let i,n=0;n<r.length&&(i=r[n]);n++)for(let r=i.index;r<i.index+i.addedCount;r++)t.addedNodes.push(e[r]);this._effectiveNodes=e;let i=!1;return(t.addedNodes.length||t.removedNodes.length)&&(i=!0,this.callback.call(this._target,t)),i}_listenSlots(t){for(let e=0;e<t.length;e++){let r=t[e];be(r)&&r.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){let r=t[e];be(r)&&r.removeEventListener("slotchange",this._boundSchedule)}}};const we=function(){let t,e;do{t=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),e=_t()}while(t||e)},Ce=Element.prototype,xe=Ce.matches||Ce.matchesSelector||Ce.mozMatchesSelector||Ce.msMatchesSelector||Ce.oMatchesSelector||Ce.webkitMatchesSelector,Se=function(t,e){return xe.call(t,e)};class Ae{constructor(t){window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.patch(t),this.node=t}observeNodes(t){return new ve(this.node,t)}unobserveNodes(t){t.disconnect()}notifyObserver(){}deepContains(t){if((0,gt.r)(this.node).contains(t))return!0;let e=t,r=t.ownerDocument;for(;e&&e!==r&&e!==this.node;)e=(0,gt.r)(e).parentNode||(0,gt.r)(e).host;return e===this.node}getOwnerRoot(){return(0,gt.r)(this.node).getRootNode()}getDistributedNodes(){return"slot"===this.node.localName?(0,gt.r)(this.node).assignedNodes({flatten:!0}):[]}getDestinationInsertionPoints(){let t=[],e=(0,gt.r)(this.node).assignedSlot;for(;e;)t.push(e),e=(0,gt.r)(e).assignedSlot;return t}importNode(t,e){let r=this.node instanceof Document?this.node:this.node.ownerDocument;return(0,gt.r)(r).importNode(t,e)}getEffectiveChildNodes(){return ve.getFlattenedNodes(this.node)}queryDistributedElements(t){let e=this.getEffectiveChildNodes(),r=[];for(let i,n=0,o=e.length;n<o&&(i=e[n]);n++)i.nodeType===Node.ELEMENT_NODE&&Se(i,t)&&r.push(i);return r}get activeElement(){let t=this.node;return void 0!==t._activeElement?t._activeElement:t.activeElement}}function Pe(t,e){for(let r=0;r<e.length;r++){let i=e[r];Object.defineProperty(t,i,{get:function(){return this.node[i]},configurable:!0})}}class Ee{constructor(t){this.event=t}get rootTarget(){return this.path[0]}get localTarget(){return this.event.target}get path(){return this.event.composedPath()}}Ae.prototype.cloneNode,Ae.prototype.appendChild,Ae.prototype.insertBefore,Ae.prototype.removeChild,Ae.prototype.replaceChild,Ae.prototype.setAttribute,Ae.prototype.removeAttribute,Ae.prototype.querySelector,Ae.prototype.querySelectorAll,Ae.prototype.parentNode,Ae.prototype.firstChild,Ae.prototype.lastChild,Ae.prototype.nextSibling,Ae.prototype.previousSibling,Ae.prototype.firstElementChild,Ae.prototype.lastElementChild,Ae.prototype.nextElementSibling,Ae.prototype.previousElementSibling,Ae.prototype.childNodes,Ae.prototype.children,Ae.prototype.classList,Ae.prototype.textContent,Ae.prototype.innerHTML;let Te=Ae;if(window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch&&window.ShadyDOM.Wrapper){class t extends window.ShadyDOM.Wrapper{}Object.getOwnPropertyNames(Ae.prototype).forEach((e=>{"activeElement"!=e&&(t.prototype[e]=Ae.prototype[e])})),Pe(t.prototype,["classList"]),Te=t,Object.defineProperties(Ee.prototype,{localTarget:{get(){const t=this.event.currentTarget,e=t&&Oe(t).getOwnerRoot(),r=this.path;for(let t=0;t<r.length;t++){const i=r[t];if(Oe(i).getOwnerRoot()===e)return i}},configurable:!0},path:{get(){return window.ShadyDOM.composedPath(this.event)},configurable:!0}})}else!function(t,e){for(let r=0;r<e.length;r++){let i=e[r];t[i]=function(){return this.node[i].apply(this.node,arguments)}}}(Ae.prototype,["cloneNode","appendChild","insertBefore","removeChild","replaceChild","setAttribute","removeAttribute","querySelector","querySelectorAll"]),Pe(Ae.prototype,["parentNode","firstChild","lastChild","nextSibling","previousSibling","firstElementChild","lastElementChild","nextElementSibling","previousElementSibling","childNodes","children","classList"]),function(t,e){for(let r=0;r<e.length;r++){let i=e[r];Object.defineProperty(t,i,{get:function(){return this.node[i]},set:function(t){this.node[i]=t},configurable:!0})}}(Ae.prototype,["textContent","innerHTML","className"]);const Oe=function(t){if((t=t||document)instanceof Te)return t;if(t instanceof Ee)return t;let e=t.__domApi;return e||(e=t instanceof Event?new Ee(t):new Te(t),t.__domApi=e),e};var Ie=r(4059);const Re=window.ShadyDOM,ke=window.ShadyCSS;function Ne(t,e){return(0,gt.r)(t).getRootNode()===e}const Le="disable-upgrade",De=t=>{for(;t;){const e=Object.getOwnPropertyDescriptor(t,"observedAttributes");if(e)return e.get;t=Object.getPrototypeOf(t.prototype).constructor}return()=>[]};(0,pt.o)((t=>{const e=(0,dt.SH)(t);let r=De(e);return class extends e{constructor(){super(),this.__isUpgradeDisabled}static get observedAttributes(){return r.call(this).concat(Le)}_initializeProperties(){this.hasAttribute(Le)?this.__isUpgradeDisabled=!0:super._initializeProperties()}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}attributeChangedCallback(t,e,r,i){t==Le?this.__isUpgradeDisabled&&null==r&&(super._initializeProperties(),this.__isUpgradeDisabled=!1,(0,gt.r)(this).isConnected&&super.connectedCallback()):super.attributeChangedCallback(t,e,r,i)}connectedCallback(){this.__isUpgradeDisabled||super.connectedCallback()}disconnectedCallback(){this.__isUpgradeDisabled||super.disconnectedCallback()}}}));var Me=r(65412);const Fe="disable-upgrade";let He=window.ShadyCSS;const ze=(0,pt.o)((t=>{const e=ee((0,dt.SH)(t)),r=dt.PP?e:he(e),i=De(r),n={x:"pan-x",y:"pan-y",none:"none",all:"auto"};class o extends r{constructor(){super(),this.isAttached,this.__boundListeners,this._debouncers,this.__isUpgradeDisabled,this.__needsAttributesAtConnected,this._legacyForceObservedAttributes}static get importMeta(){return this.prototype.importMeta}created(){}__attributeReaction(t,e,r){(this.__dataAttributes&&this.__dataAttributes[t]||t===Fe)&&this.attributeChangedCallback(t,e,r,null)}setAttribute(t,e){if(yt.j8&&!this._legacyForceObservedAttributes){const r=this.getAttribute(t);super.setAttribute(t,e),this.__attributeReaction(t,r,String(e))}else super.setAttribute(t,e)}removeAttribute(t){if(yt.j8&&!this._legacyForceObservedAttributes){const e=this.getAttribute(t);super.removeAttribute(t),this.__attributeReaction(t,e,null)}else super.removeAttribute(t)}static get observedAttributes(){return yt.j8&&!this.prototype._legacyForceObservedAttributes?(this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))||(this.__observedAttributes=[],(0,Me.z2)(this.prototype)),this.__observedAttributes):i.call(this).concat(Fe)}_enableProperties(){this.__isUpgradeDisabled||super._enableProperties()}_canApplyPropertyDefault(t){return super._canApplyPropertyDefault(t)&&!(this.__isUpgradeDisabled&&this._isPropertyPending(t))}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(t,e,r,i){e!==r&&(t==Fe?this.__isUpgradeDisabled&&null==r&&(this._initializeProperties(),this.__isUpgradeDisabled=!1,(0,gt.r)(this).isConnected&&this.connectedCallback()):(super.attributeChangedCallback(t,e,r,i),this.attributeChanged(t,e,r)))}attributeChanged(t,e,r){}_initializeProperties(){if(yt.nL&&this.hasAttribute(Fe))this.__isUpgradeDisabled=!0;else{let t=Object.getPrototypeOf(this);t.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",t))||(this._registered(),t.__hasRegisterFinished=!0),super._initializeProperties(),this.root=this,this.created(),yt.j8&&!this._legacyForceObservedAttributes&&(this.hasAttributes()?this._takeAttributes():this.parentNode||(this.__needsAttributesAtConnected=!0)),this._applyListeners()}}_takeAttributes(){const t=this.attributes;for(let e=0,r=t.length;e<r;e++){const r=t[e];this.__attributeReaction(r.name,null,r.value)}}_registered(){}ready(){this._ensureAttributes(),super.ready()}_ensureAttributes(){}_applyListeners(){}serialize(t){return this._serializeValue(t)}deserialize(t,e){return this._deserializeValue(t,e)}reflectPropertyToAttribute(t,e,r){this._propertyToAttribute(t,e,r)}serializeValueToAttribute(t,e,r){this._valueToNodeAttribute(r||this,t,e)}extend(t,e){if(!t||!e)return t||e;let r=Object.getOwnPropertyNames(e);for(let i,n=0;n<r.length&&(i=r[n]);n++){let r=Object.getOwnPropertyDescriptor(e,i);r&&Object.defineProperty(t,i,r)}return t}mixin(t,e){for(let r in e)t[r]=e[r];return t}chainObject(t,e){return t&&e&&t!==e&&(t.__proto__=e),t}instanceTemplate(t){let e=this.constructor._contentForTemplate(t);return document.importNode(e,!0)}fire(t,e,r){r=r||{},e=null==e?{}:e;let i=new Event(t,{bubbles:void 0===r.bubbles||r.bubbles,cancelable:Boolean(r.cancelable),composed:void 0===r.composed||r.composed});i.detail=e;let n=r.node||this;return(0,gt.r)(n).dispatchEvent(i),i}listen(t,e,r){t=t||this;let i=this.__boundListeners||(this.__boundListeners=new WeakMap),n=i.get(t);n||(n={},i.set(t,n));let o=e+r;n[o]||(n[o]=this._addMethodEventListenerToNode(t,e,r,this))}unlisten(t,e,r){t=t||this;let i=this.__boundListeners&&this.__boundListeners.get(t),n=e+r,o=i&&i[n];o&&(this._removeEventListenerFromNode(t,e,o),i[n]=null)}setScrollDirection(t,e){Xt(e||this,n[t]||"auto")}$$(t){return this.root.querySelector(t)}get domHost(){let t=(0,gt.r)(this).getRootNode();return t instanceof DocumentFragment?t.host:t}distributeContent(){const t=Oe(this);window.ShadyDOM&&t.shadowRoot&&ShadyDOM.flush()}getEffectiveChildNodes(){return Oe(this).getEffectiveChildNodes()}queryDistributedElements(t){return Oe(this).queryDistributedElements(t)}getEffectiveChildren(){return this.getEffectiveChildNodes().filter((function(t){return t.nodeType===Node.ELEMENT_NODE}))}getEffectiveTextContent(){let t=this.getEffectiveChildNodes(),e=[];for(let r,i=0;r=t[i];i++)r.nodeType!==Node.COMMENT_NODE&&e.push(r.textContent);return e.join("")}queryEffectiveChildren(t){let e=this.queryDistributedElements(t);return e&&e[0]}queryAllEffectiveChildren(t){return this.queryDistributedElements(t)}getContentChildNodes(t){let e=this.root.querySelector(t||"slot");return e?Oe(e).getDistributedNodes():[]}getContentChildren(t){return this.getContentChildNodes(t).filter((function(t){return t.nodeType===Node.ELEMENT_NODE}))}isLightDescendant(t){const e=this;return e!==t&&(0,gt.r)(e).contains(t)&&(0,gt.r)(e).getRootNode()===(0,gt.r)(t).getRootNode()}isLocalDescendant(t){return this.root===(0,gt.r)(t).getRootNode()}scopeSubtree(t,e=!1){return function(t,e=!1){if(!Re||!ke)return null;if(!Re.handlesDynamicScoping)return null;const r=ke.ScopingShim;if(!r)return null;const i=r.scopeForNode(t),n=(0,gt.r)(t).getRootNode(),o=t=>{if(!Ne(t,n))return;const e=Array.from(Re.nativeMethods.querySelectorAll.call(t,"*"));e.push(t);for(let t=0;t<e.length;t++){const o=e[t];if(!Ne(o,n))continue;const s=r.currentScopeForNode(o);s!==i&&(""!==s&&r.unscopeNode(o,s),r.scopeNode(o,i))}};if(o(t),e){const e=new MutationObserver((t=>{for(let e=0;e<t.length;e++){const r=t[e];for(let t=0;t<r.addedNodes.length;t++){const e=r.addedNodes[t];e.nodeType===Node.ELEMENT_NODE&&o(e)}}}));return e.observe(t,{childList:!0,subtree:!0}),e}return null}(t,e)}getComputedStyleValue(t){return He.getComputedStyleValue(this,t)}debounce(t,e,r){return this._debouncers=this._debouncers||{},this._debouncers[t]=ht.debounce(this._debouncers[t],r>0?ut.Wc.after(r):ut.YA,e.bind(this))}isDebouncerActive(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];return!(!e||!e.isActive())}flushDebouncer(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];e&&e.flush()}cancelDebouncer(t){this._debouncers=this._debouncers||{};let e=this._debouncers[t];e&&e.cancel()}async(t,e){return e>0?ut.Wc.run(t.bind(this),e):~ut.YA.run(t.bind(this))}cancelAsync(t){t<0?ut.YA.cancel(~t):ut.Wc.cancel(t)}create(t,e){let r=document.createElement(t);if(e)if(r.setProperties)r.setProperties(e);else for(let t in e)r[t]=e[t];return r}elementMatches(t,e){return Se(e||this,t)}toggleAttribute(t,e){let r=this;return 3===arguments.length&&(r=arguments[2]),1==arguments.length&&(e=!r.hasAttribute(t)),e?((0,gt.r)(r).setAttribute(t,""),!0):((0,gt.r)(r).removeAttribute(t),!1)}toggleClass(t,e,r){r=r||this,1==arguments.length&&(e=!r.classList.contains(t)),e?r.classList.add(t):r.classList.remove(t)}transform(t,e){(e=e||this).style.webkitTransform=t,e.style.transform=t}translate3d(t,e,r,i){i=i||this,this.transform("translate3d("+t+","+e+","+r+")",i)}arrayDelete(t,e){let r;if(Array.isArray(t)){if(r=t.indexOf(e),r>=0)return t.splice(r,1)}else{if(r=(0,Ie.U2)(this,t).indexOf(e),r>=0)return this.splice(t,r,1)}return null}_logger(t,e){switch(Array.isArray(e)&&1===e.length&&Array.isArray(e[0])&&(e=e[0]),t){case"log":case"warn":case"error":console[t](...e)}}_log(...t){this._logger("log",t)}_warn(...t){this._logger("warn",t)}_error(...t){this._logger("error",t)}_logf(t,...e){return["[%s::%s]",this.is,t,...e]}}return o.prototype.is="",o})),$e={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,listeners:!0,hostAttributes:!0},je={attached:!0,detached:!0,ready:!0,created:!0,beforeRegister:!0,registered:!0,attributeChanged:!0,behaviors:!0,_noAccessors:!0},Be=Object.assign({listeners:!0,hostAttributes:!0,properties:!0,observers:!0},je);function Ue(t,e,r,i){!function(t,e,r){const i=t._noAccessors,n=Object.getOwnPropertyNames(t);for(let o=0;o<n.length;o++){let s=n[o];if(!(s in r))if(i)e[s]=t[s];else{let r=Object.getOwnPropertyDescriptor(t,s);r&&(r.configurable=!0,Object.defineProperty(e,s,r))}}}(e,t,i);for(let t in $e)e[t]&&(r[t]=r[t]||[],r[t].push(e[t]))}function Ye(t,e,r){e=e||[];for(let i=t.length-1;i>=0;i--){let n=t[i];n?Array.isArray(n)?Ye(n,e):e.indexOf(n)<0&&(!r||r.indexOf(n)<0)&&e.unshift(n):console.warn("behavior is null, check for missing or 404 import")}return e}function Ve(t,e){for(const r in e){const i=t[r],n=e[r];t[r]=!("value"in n)&&i&&"value"in i?Object.assign({value:i.value},n):n}}const qe=ze(HTMLElement);function We(t,e,r){let i;const n={};class o extends e{static _finalizeClass(){if(this.hasOwnProperty(JSCompiler_renameProperty("generatedFrom",this))){if(i)for(let t,e=0;e<i.length;e++)t=i[e],t.properties&&this.createProperties(t.properties),t.observers&&this.createObservers(t.observers,t.properties);t.properties&&this.createProperties(t.properties),t.observers&&this.createObservers(t.observers,t.properties),this._prepareTemplate()}else e._finalizeClass.call(this)}static get properties(){const e={};if(i)for(let t=0;t<i.length;t++)Ve(e,i[t].properties);return Ve(e,t.properties),e}static get observers(){let e=[];if(i)for(let t,r=0;r<i.length;r++)t=i[r],t.observers&&(e=e.concat(t.observers));return t.observers&&(e=e.concat(t.observers)),e}created(){super.created();const t=n.created;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}_registered(){const t=o.prototype;if(!t.hasOwnProperty(JSCompiler_renameProperty("__hasRegisterFinished",t))){t.__hasRegisterFinished=!0,super._registered(),yt.nL&&s(t);const e=Object.getPrototypeOf(this);let r=n.beforeRegister;if(r)for(let t=0;t<r.length;t++)r[t].call(e);if(r=n.registered,r)for(let t=0;t<r.length;t++)r[t].call(e)}}_applyListeners(){super._applyListeners();const t=n.listeners;if(t)for(let e=0;e<t.length;e++){const r=t[e];if(r)for(let t in r)this._addMethodEventListenerToNode(this,t,r[t])}}_ensureAttributes(){const t=n.hostAttributes;if(t)for(let e=t.length-1;e>=0;e--){const r=t[e];for(let t in r)this._ensureAttribute(t,r[t])}super._ensureAttributes()}ready(){super.ready();let t=n.ready;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attached(){super.attached();let t=n.attached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}detached(){super.detached();let t=n.detached;if(t)for(let e=0;e<t.length;e++)t[e].call(this)}attributeChanged(t,e,r){super.attributeChanged();let i=n.attributeChanged;if(i)for(let n=0;n<i.length;n++)i[n].call(this,t,e,r)}}if(r){Array.isArray(r)||(r=[r]);let t=e.prototype.behaviors;i=Ye(r,null,t),o.prototype.behaviors=t?t.concat(r):i}const s=e=>{i&&function(t,e,r){for(let i=0;i<e.length;i++)Ue(t,e[i],r,Be)}(e,i,n),Ue(e,t,n,je)};return yt.nL||s(o.prototype),o.generatedFrom=t,o}const Xe=function(t){let e;return e="function"==typeof t?t:Xe.Class(t),t._legacyForceObservedAttributes&&(e.prototype._legacyForceObservedAttributes=t._legacyForceObservedAttributes),customElements.define(e.is,e),e};Xe.Class=function(t,e){t||console.warn("Polymer.Class requires `info` argument");let r=e?e(qe):qe;return r=We(t,r,t.behaviors),r.is=r.prototype.is=t.is,r};var Ke=r(40729);function Je(t,e,r,i,n){let o;n&&(o="object"==typeof r&&null!==r,o&&(i=t.__dataTemp[e]));let s=i!==r&&(i==i||r==r);return o&&s&&(t.__dataTemp[e]=r),s}const Ge=(0,pt.o)((t=>class extends t{_shouldPropertyChange(t,e,r){return Je(this,t,e,r,!0)}})),Ze=(0,pt.o)((t=>class extends t{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(t,e,r){return Je(this,t,e,r,this.mutableData)}}));Ge._mutablePropertyChange=Je;let Qe=null;function tr(){return Qe}tr.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:tr,writable:!0}});const er=(0,Ke.q)(tr),rr=Ge(er);const ir=(0,Ke.q)(class{});function nr(t,e){for(let r=0;r<e.length;r++){let i=e[r];if(Boolean(t)!=Boolean(i.__hideTemplateChildren__))if(i.nodeType===Node.TEXT_NODE)t?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if("slot"===i.localName)if(t)i.__polymerReplaced__=document.createComment("hidden-slot"),(0,gt.r)((0,gt.r)(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const t=i.__polymerReplaced__;t&&(0,gt.r)((0,gt.r)(t).parentNode).replaceChild(i,t)}else i.style&&(t?(i.__polymerDisplay__=i.style.display,i.style.display="none"):i.style.display=i.__polymerDisplay__);i.__hideTemplateChildren__=t,i._showHideChildren&&i._showHideChildren(t)}}class or extends ir{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let t=this.root.firstChild;t;t=t.nextSibling)e.push(t),t.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let r=this.__templatizeOptions;(t&&r.instanceProps||!r.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(let e in t)this._setPendingProperty(e,t[e])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,r){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,(t=>{t.model=this,r(t)}));else{let i=this.__dataHost.__dataHost;i&&i._addEventListenerToNode(t,e,r)}}_showHideChildren(t){nr(t,this.children)}_setUnmanagedPropertyToNode(t,e,r){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&"textContent"==e?t.__polymerTextContent__=r:super._setUnmanagedPropertyToNode(t,e,r)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do{t=t.__dataHost.__dataHost}while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}or.prototype.__dataHost,or.prototype.__templatizeOptions,or.prototype._methodHost,or.prototype.__templatizeOwner,or.prototype.__hostProps;const sr=Ge(or);function ar(t){let e=t.__dataHost;return e&&e._methodHost||e}function lr(t,e,r){let i=r.mutableData?sr:or;ur.mixin&&(i=ur.mixin(i));let n=class extends i{};return n.prototype.__templatizeOptions=r,n.prototype._bindTemplate(t),function(t,e,r,i){let n=r.hostProps||{};for(let e in i.instanceProps){delete n[e];let r=i.notifyInstanceProp;r&&t.prototype._addPropertyEffect(e,t.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:pr(e,r)})}if(i.forwardHostProp&&e.__dataHost)for(let e in n)r.hasHostProps||(r.hasHostProps=!0),t.prototype._addPropertyEffect(e,t.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:function(t,e,r){t.__dataHost._setPendingPropertyOrPath("_host_"+e,r[e],!0,!0)}})}(n,t,e,r),n}function cr(t,e,r,i){let n=r.forwardHostProp;if(n&&e.hasHostProps){const o="template"==t.localName;let s=e.templatizeTemplateClass;if(!s){if(o){let t=r.mutableData?rr:er;class i extends t{}s=e.templatizeTemplateClass=i}else{const r=t.constructor;class i extends r{}s=e.templatizeTemplateClass=i}let a=e.hostProps;for(let t in a)s.prototype._addPropertyEffect("_host_"+t,s.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:dr(t,n)}),s.prototype._createNotifyingProperty("_host_"+t);yt.a2&&i&&function(t,e,r){const i=r.constructor._properties,{propertyEffects:n}=t,{instanceProps:o}=e;for(let t in n)if(!(i[t]||o&&o[t])){const e=n[t];for(let r=0;r<e.length;r++){const{part:i}=e[r].info;if(!i.signature||!i.signature.static){console.warn(`Property '${t}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}(e,r,i)}if(t.__dataProto&&Object.assign(t.__data,t.__dataProto),o)!function(t,e){Qe=t,Object.setPrototypeOf(t,e.prototype),new e,Qe=null}(t,s),t.__dataTemp={},t.__dataPending=null,t.__dataOld=null,t._enableProperties();else{Object.setPrototypeOf(t,s.prototype);const r=e.hostProps;for(let e in r)if(e="_host_"+e,e in t){const r=t[e];delete t[e],t.__data[e]=r}}}}function dr(t,e){return function(t,r,i){e.call(t.__templatizeOwner,r.substring("_host_".length),i[r])}}function pr(t,e){return function(t,r,i){e.call(t.__templatizeOwner,t,r,i[r])}}function ur(t,e,r){if(yt.XN&&!ar(t))throw new Error("strictTemplatePolicy: template owner not trusted");if(r=r||{},t.__templatizeOwner)throw new Error("A <template> can only be templatized once");t.__templatizeOwner=e;let i=(e?e.constructor:or)._parseTemplate(t),n=i.templatizeInstanceClass;n||(n=lr(t,i,r),i.templatizeInstanceClass=n);const o=ar(t);cr(t,i,r,o);let s=class extends n{};return s.prototype._methodHost=o,s.prototype.__dataHost=t,s.prototype.__templatizeOwner=e,s.prototype.__hostProps=i.hostProps,s}function hr(t,e){let r;for(;e;)if(r=e.__dataHost?e:e.__templatizeInstance){if(r.__dataHost==t)return r;e=r.__dataHost}else e=(0,gt.r)(e).parentNode;return null}let fr=!1;function mr(){if(yt.nL&&!yt.my){if(!fr){fr=!0;const t=document.createElement("style");t.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(t)}return!0}return!1}const _r=ee(Ze((0,Ke.q)(HTMLElement)));customElements.define("dom-bind",class extends _r{static get observedAttributes(){return["mutable-data"]}constructor(){if(super(),yt.XN)throw new Error("strictTemplatePolicy: dom-bind not allowed");this.root=null,this.$=null,this.__children=null}attributeChangedCallback(t,e,r,i){this.mutableData=!0}connectedCallback(){mr()||(this.style.display="none"),this.render()}disconnectedCallback(){this.__removeChildren()}__insertChildren(){(0,gt.r)((0,gt.r)(this).parentNode).insertBefore(this.root,this)}__removeChildren(){if(this.__children)for(let t=0;t<this.__children.length;t++)this.root.appendChild(this.__children[t])}render(){let t;if(!this.__children){if(t=t||this.querySelector("template"),!t){let e=new MutationObserver((()=>{if(t=this.querySelector("template"),!t)throw new Error("dom-bind requires a <template> child");e.disconnect(),this.render()}));return void e.observe(this,{childList:!0})}this.root=this._stampTemplate(t),this.$=this.root.$,this.__children=[];for(let t=this.root.firstChild;t;t=t.nextSibling)this.__children[this.__children.length]=t;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}});var yr=r(28426);const gr=Ze(yr.H3);class br extends gr{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:!yt.dJ,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 t=0;t<this.__instances.length;t++)this.__detachInstance(t)}connectedCallback(){if(super.connectedCallback(),mr()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=(0,gt.r)((0,gt.r)(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t)}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let t=new MutationObserver((()=>{if(!this.querySelector("template"))throw new Error("dom-repeat requires a <template> child");t.disconnect(),this.__render()}));return t.observe(this,{childList:!0}),!1}let r={};r[this.as]=!0,r[this.indexAs]=!0,r[this.itemsIndexAs]=!0,this.__ctor=ur(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:r,forwardHostProp:function(t,e){let r=this.__instances;for(let i,n=0;n<r.length&&(i=r[n]);n++)i.forwardHostProp(t,e)},notifyInstanceProp:function(t,e,r){if((0,Ie.wB)(this.as,e)){let i=t[this.itemsIndexAs];e==this.as&&(this.items[i]=r);let n=(0,Ie.Iu)(this.as,`${JSCompiler_renameProperty("items",this)}.${i}`,e);this.notifyPath(n,r)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if("string"==typeof t){let e=t,r=this.__getMethodHost();return function(){return r[e].apply(r,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn)if(t){if(this.__observePaths){let e=this.__observePaths;for(let r=0;r<e.length;r++)0===t.indexOf(e[r])&&this.__debounceRender(this.__render,this.delay)}}else this.__debounceRender(this.__render,this.delay)}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||("items"===t.path&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=ht.debounce(this.__renderDebouncer,e>0?ut.Wc.after(e):ut.YA,t.bind(this)),mt(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),we()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),r=this.__calculateLimit(e.length);this.__updateInstances(t,r,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame((()=>this.__continueChunking()))),this._setRenderedItemCount(this.__instances.length),yt.dJ&&!this.notifyDomChange||this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let r=0;r<t.length;r++)e[r]=r;return this.__filterFn&&(e=e.filter(((e,r,i)=>this.__filterFn(t[e],r,i)))),this.__sortFn&&e.sort(((e,r)=>this.__sortFn(t[e],t[r]))),e}__calculateLimit(t){let e=t;const r=this.__instances.length;if(this.initialCount){let i;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),i=Math.max(e-r,0),this.__chunkCount=i||1):(i=Math.min(Math.max(t-r,0),this.__chunkCount),e=Math.min(r+i,t)),this.__shouldMeasureChunk=i===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,r){const i=this.__itemsIdxToInstIdx={};let n;for(n=0;n<e;n++){let e=this.__instances[n],o=r[n],s=t[o];i[o]=n,e?(e._setPendingProperty(this.as,s),e._setPendingProperty(this.indexAs,n),e._setPendingProperty(this.itemsIndexAs,o),e._flushProperties()):this.__insertInstance(s,n,o)}for(let t=this.__instances.length-1;t>=n;t--)this.__detachAndRemoveInstance(t)}__detachInstance(t){let e=this.__instances[t];const r=(0,gt.r)(e.root);for(let t=0;t<e.children.length;t++){let i=e.children[t];r.appendChild(i)}return e}__attachInstance(t,e){let r=this.__instances[t];e.insertBefore(r.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,r){let i={};return i[this.as]=t,i[this.indexAs]=e,i[this.itemsIndexAs]=r,new this.__ctor(i)}__insertInstance(t,e,r){const i=this.__stampInstance(t,e,r);let n=this.__instances[e+1],o=n?n.children[0]:this;return(0,gt.r)((0,gt.r)(this).parentNode).insertBefore(i.root,o),this.__instances[e]=i,i}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let r=t.slice(6),i=r.indexOf("."),n=i<0?r:r.substring(0,i);if(n==parseInt(n,10)){let t=i<0?"":r.substring(i+1);this.__handleObservedPaths(t);let o=this.__itemsIdxToInstIdx[n],s=this.__instances[o];if(s){let r=this.as+(t?"."+t:"");s._setPendingPropertyOrPath(r,e,!1,!0),s._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return hr(this.template,t)}}customElements.define(br.is,br);class vr extends yr.H3{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=ht.debounce(this.__renderDebouncer,ut.YA,(()=>this.__render())),mt(this.__renderDebouncer)}disconnectedCallback(){super.disconnectedCallback();const t=(0,gt.r)(this).parentNode;t&&(t.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||(0,gt.r)(t).host)||this.__teardownInstance()}connectedCallback(){super.connectedCallback(),mr()||(this.style.display="none"),this.if&&this.__debounceRender()}__ensureTemplate(){if(!this.__template){const t=this;let e=t._templateInfo?t:(0,gt.r)(t).querySelector("template");if(!e){let t=new MutationObserver((()=>{if(!(0,gt.r)(this).querySelector("template"))throw new Error("dom-if requires a <template> child");t.disconnect(),this.__render()}));return t.observe(this,{childList:!0}),!1}this.__template=e}return!0}__ensureInstance(){let t=(0,gt.r)(this).parentNode;if(this.__hasInstance()){let e=this.__getInstanceNodes();if(e&&e.length){if((0,gt.r)(this).previousSibling!==e[e.length-1])for(let r,i=0;i<e.length&&(r=e[i]);i++)(0,gt.r)(t).insertBefore(r,this)}}else{if(!t)return!1;if(!this.__ensureTemplate())return!1;this.__createAndInsertInstance(t)}return!0}render(){we()}__render(){if(this.if){if(!this.__ensureInstance())return}else this.restamp&&this.__teardownInstance();this._showHideChildren(),yt.dJ&&!this.notifyDomChange||this.if==this._lastIf||(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}__hasInstance(){}__getInstanceNodes(){}__createAndInsertInstance(t){}__teardownInstance(){}_showHideChildren(){}}const wr=yt.ew?class extends vr{constructor(){super(),this.__instance=null,this.__syncInfo=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.templateInfo.childNodes}__createAndInsertInstance(t){const e=this.__dataHost||this;if(yt.XN&&!this.__dataHost)throw new Error("strictTemplatePolicy: template owner not trusted");const r=e._bindTemplate(this.__template,!0);r.runEffects=(t,e,r)=>{let i=this.__syncInfo;if(this.if)i&&(this.__syncInfo=null,this._showHideChildren(),e=Object.assign(i.changedProps,e)),t(e,r);else if(this.__instance)if(i||(i=this.__syncInfo={runEffects:t,changedProps:{}}),r)for(const t in e){const e=(0,Ie.Jz)(t);i.changedProps[e]=this.__dataHost[e]}else Object.assign(i.changedProps,e)},this.__instance=e._stampTemplate(this.__template,r),(0,gt.r)(t).insertBefore(this.__instance,this)}__syncHostProperties(){const t=this.__syncInfo;t&&(this.__syncInfo=null,t.runEffects(t.changedProps,!1))}__teardownInstance(){const t=this.__dataHost||this;this.__instance&&(t._removeBoundDom(this.__instance),this.__instance=null,this.__syncInfo=null)}_showHideChildren(){const t=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==t&&(this.__instance.__hidden=t,nr(t,this.__instance.templateInfo.childNodes)),t||this.__syncHostProperties()}}:class extends vr{constructor(){super(),this.__ctor=null,this.__instance=null,this.__invalidProps=null}__hasInstance(){return Boolean(this.__instance)}__getInstanceNodes(){return this.__instance.children}__createAndInsertInstance(t){this.__ctor||(this.__ctor=ur(this.__template,this,{mutableData:!0,forwardHostProp:function(t,e){this.__instance&&(this.if?this.__instance.forwardHostProp(t,e):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[(0,Ie.Jz)(t)]=!0))}})),this.__instance=new this.__ctor,(0,gt.r)(t).insertBefore(this.__instance.root,this)}__teardownInstance(){if(this.__instance){let t=this.__instance.children;if(t&&t.length){let e=(0,gt.r)(t[0]).parentNode;if(e){e=(0,gt.r)(e);for(let r,i=0;i<t.length&&(r=t[i]);i++)e.removeChild(r)}}this.__invalidProps=null,this.__instance=null}}__syncHostProperties(){let t=this.__invalidProps;if(t){this.__invalidProps=null;for(let e in t)this.__instance._setPendingProperty(e,this.__dataHost[e]);this.__instance._flushProperties()}}_showHideChildren(){const t=this.__hideTemplateChildren__||!this.if;this.__instance&&Boolean(this.__instance.__hidden)!==t&&(this.__instance.__hidden=t,this.__instance._showHideChildren(t)),t||this.__syncHostProperties()}};customElements.define(wr.is,wr);let Cr=(0,pt.o)((t=>{let e=(0,dt.SH)(t);return class extends e{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(t,e){let r=e.path;if(r==JSCompiler_renameProperty("items",this)){let r=e.base||[],i=this.__lastItems;if(t!==this.__lastMulti&&this.clearSelection(),i){let t=ye(r,i);this.__applySplices(t)}this.__lastItems=r,this.__lastMulti=t}else if(e.path==`${JSCompiler_renameProperty("items",this)}.splices`)this.__applySplices(e.value.indexSplices);else{let t=r.slice(`${JSCompiler_renameProperty("items",this)}.`.length),e=parseInt(t,10);t.indexOf(".")<0&&t==e&&this.__deselectChangedIdx(e)}}__applySplices(t){let e=this.__selectedMap;for(let r=0;r<t.length;r++){let i=t[r];e.forEach(((t,r)=>{t<i.index||(t>=i.index+i.removed.length?e.set(r,t+i.addedCount-i.removed.length):e.set(r,-1))}));for(let t=0;t<i.addedCount;t++){let r=i.index+t;e.has(this.items[r])&&e.set(this.items[r],r)}}this.__updateLinks();let r=0;e.forEach(((t,i)=>{t<0?(this.multi?this.splice(JSCompiler_renameProperty("selected",this),r,1):this.selected=this.selectedItem=null,e.delete(i)):r++}))}__updateLinks(){if(this.__dataLinkedPaths={},this.multi){let t=0;this.__selectedMap.forEach((e=>{e>=0&&this.linkPaths(`${JSCompiler_renameProperty("items",this)}.${e}`,`${JSCompiler_renameProperty("selected",this)}.${t++}`)}))}else this.__selectedMap.forEach((t=>{this.linkPaths(JSCompiler_renameProperty("selected",this),`${JSCompiler_renameProperty("items",this)}.${t}`),this.linkPaths(JSCompiler_renameProperty("selectedItem",this),`${JSCompiler_renameProperty("items",this)}.${t}`)}))}clearSelection(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}isSelected(t){return this.__selectedMap.has(t)}isIndexSelected(t){return this.isSelected(this.items[t])}__deselectChangedIdx(t){let e=this.__selectedIndexForItemIndex(t);if(e>=0){let t=0;this.__selectedMap.forEach(((r,i)=>{e==t++&&this.deselect(i)}))}}__selectedIndexForItemIndex(t){let e=this.__dataLinkedPaths[`${JSCompiler_renameProperty("items",this)}.${t}`];if(e)return parseInt(e.slice(`${JSCompiler_renameProperty("selected",this)}.`.length),10)}deselect(t){let e=this.__selectedMap.get(t);if(e>=0){let r;this.__selectedMap.delete(t),this.multi&&(r=this.__selectedIndexForItemIndex(e)),this.__updateLinks(),this.multi?this.splice(JSCompiler_renameProperty("selected",this),r,1):this.selected=this.selectedItem=null}}deselectIndex(t){this.deselect(this.items[t])}select(t){this.selectIndex(this.items.indexOf(t))}selectIndex(t){let e=this.items[t];this.isSelected(e)?this.toggle&&this.deselectIndex(t):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(e,t),this.__updateLinks(),this.multi?this.push(JSCompiler_renameProperty("selected",this),e):this.selected=this.selectedItem=e)}}}))(yr.H3);class xr extends Cr{static get is(){return"array-selector"}static get template(){return null}}customElements.define(xr.is,xr);const Sr=new at;window.ShadyCSS||(window.ShadyCSS={prepareTemplate(t,e,r){},prepareTemplateDom(t,e){},prepareTemplateStyles(t,e,r){},styleSubtree(t,e){Sr.processStyles(),L(t,e)},styleElement(t){Sr.processStyles()},styleDocument(t){Sr.processStyles(),L(document.body,t)},getComputedStyleValue:(t,e)=>D(t,e),flushCustomStyles(){},nativeCss:l,nativeShadow:i,cssBuild:o,disableRuntime:a}),window.ShadyCSS.CustomStyleInterface=Sr;var Ar=r(15392);const Pr="include",Er=window.ShadyCSS.CustomStyleInterface;class Tr extends HTMLElement{constructor(){super(),this._style=null,Er.addCustomStyle(this)}getStyle(){if(this._style)return this._style;const t=this.querySelector("style");if(!t)return null;this._style=t;const e=t.getAttribute(Pr);return e&&(t.removeAttribute(Pr),t.textContent=(0,Ar.jv)(e)+t.textContent),this.ownerDocument!==window.document&&window.document.head.appendChild(this),this._style}}let Or;window.customElements.define("custom-style",Tr),Or=Ge._mutablePropertyChange;Boolean;var Ir=r(50856);ze(HTMLElement).prototype;const Rr=Ir.d`
/* Most common used flex styles*/
<dom-module id="iron-flex">
  <template>
    <style>
      .layout.horizontal,
      .layout.vertical {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
      }

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

      .layout.horizontal {
        -ms-flex-direction: row;
        -webkit-flex-direction: row;
        flex-direction: row;
      }

      .layout.vertical {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
      }

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

      .layout.no-wrap {
        -ms-flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
      }

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

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

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

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

      .flex-none {
        -ms-flex: none;
        -webkit-flex: none;
        flex: none;
      }
    </style>
  </template>
</dom-module>
/* Basic flexbox reverse styles */
<dom-module id="iron-flex-reverse">
  <template>
    <style>
      .layout.horizontal-reverse,
      .layout.vertical-reverse {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
      }

      .layout.horizontal-reverse {
        -ms-flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
      }

      .layout.vertical-reverse {
        -ms-flex-direction: column-reverse;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
      }

      .layout.wrap-reverse {
        -ms-flex-wrap: wrap-reverse;
        -webkit-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
      }
    </style>
  </template>
</dom-module>
/* Flexbox alignment */
<dom-module id="iron-flex-alignment">
  <template>
    <style>
      /**
       * Alignment in cross axis.
       */
      .layout.start {
        -ms-flex-align: start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
      }

      .layout.center,
      .layout.center-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,
      .layout.center-center {
        -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;
      }

      /**
       * Self alignment.
       */
      .self-start {
        -ms-align-self: flex-start;
        -webkit-align-self: flex-start;
        align-self: flex-start;
      }

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

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

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

      .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;
      }
    </style>
  </template>
</dom-module>
/* Non-flexbox positioning helper styles */
<dom-module id="iron-flex-factors">
  <template>
    <style>
      .flex,
      .flex-1 {
        -ms-flex: 1 1 0.000000001px;
        -webkit-flex: 1;
        flex: 1;
        -webkit-flex-basis: 0.000000001px;
        flex-basis: 0.000000001px;
      }

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

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

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

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

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

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

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

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

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

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

      .flex-12 {
        -ms-flex: 12;
        -webkit-flex: 12;
        flex: 12;
      }
    </style>
  </template>
</dom-module>
<dom-module id="iron-positioning">
  <template>
    <style>
      .block {
        display: block;
      }

      [hidden] {
        display: none !important;
      }

      .invisible {
        visibility: hidden !important;
      }

      .relative {
        position: relative;
      }

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

      body.fullbleed {
        margin: 0;
        height: 100vh;
      }

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

      /* fixed position */
      .fixed-bottom,
      .fixed-left,
      .fixed-right,
      .fixed-top {
        position: fixed;
      }

      .fixed-top {
        top: 0;
        left: 0;
        right: 0;
      }

      .fixed-right {
        top: 0;
        right: 0;
        bottom: 0;
      }

      .fixed-bottom {
        right: 0;
        bottom: 0;
        left: 0;
      }

      .fixed-left {
        top: 0;
        bottom: 0;
        left: 0;
      }
    </style>
  </template>
</dom-module>
`;Rr.setAttribute("style","display: none;"),document.head.appendChild(Rr.content)},21384:(t,e,r)=>{r.d(e,{t:()=>c});r(56646);var i=r(42687),n=r(74460);let o={},s={};function a(t,e){o[t]=s[t.toLowerCase()]=e}function l(t){return o[t]||s[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=l(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,i){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(n.XN&&void 0!==l(t))throw a(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,a(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=o,customElements.define("dom-module",c)},36608:(t,e,r)=>{r.d(e,{SH:()=>f,PP:()=>h});r(56646);var i=r(74460),n=r(76389),o=r(15392),s=r(42687),a=r(21384),l=r(40729),c=r(65412),d=r(24072);const p=(0,n.o)((t=>{const e=(0,d.e)(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof n?e:null}function i(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const r=t.properties;r&&(e=function(t){const e={};for(let r in t){const i=t[r];e[r]="function"==typeof i?{type:i}:i}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class n extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){(0,c.z2)(this.prototype);const t=this._properties;this.__observedAttributes=t?Object.keys(t).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=r(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=i(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=r(this);this.__properties=Object.assign({},t&&t._properties,i(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){(0,c.Gd)(),this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return n}));var u=r(62276);const h=window.ShadyCSS&&window.ShadyCSS.cssBuild,f=(0,n.o)((t=>{const e=p((0,l.q)(t));return class extends e{static get polymerElementVersion(){return"3.4.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):i.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let o in t)e=this.prototype,r=o,i=t[o],n=t,i.computed&&(i.readOnly=!0),i.computed&&(e._hasReadOnlyEffect(r)?console.warn(`Cannot redefine computed property '${r}'.`):e._createComputedProperty(r,i.computed,n)),i.readOnly&&!e._hasReadOnlyEffect(r)?e._createReadOnlyProperty(r,!i.computed):!1===i.readOnly&&e._hasReadOnlyEffect(r)&&console.warn(`Cannot make readOnly property '${r}' non-readOnly.`),i.reflectToAttribute&&!e._hasReflectEffect(r)?e._createReflectedProperty(r):!1===i.reflectToAttribute&&e._hasReflectEffect(r)&&console.warn(`Cannot make reflected property '${r}' non-reflected.`),i.notify&&!e._hasNotifyEffect(r)?e._createNotifyingProperty(r):!1===i.notify&&e._hasNotifyEffect(r)&&console.warn(`Cannot make notify property '${r}' non-notify.`),i.observer&&e._createPropertyObserver(r,i.observer,n[i.observer]),e._addPropertyToAttributeMap(r);var e,r,i,n}static createObservers(t,e){const r=this.prototype;for(let i=0;i<t.length;i++)r._createMethodObserver(t[i],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){const t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!i.XN||i.ZN)&&(e=a.t.import(t,"template"),i.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,s.iY)(t.url);else{const t=a.t.import(this.is);this._importPath=t&&t.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=i.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let r in e){let i=e[r];"value"in i&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=i)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let r=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,s.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const r=this.importPath;!function(t,e,r,n){if(!h){const i=e.content.querySelectorAll("style"),s=(0,o.uT)(e),a=(0,o.lx)(r),l=e.content.firstElementChild;for(let r=0;r<a.length;r++){let i=a[r];i.textContent=t._processStyleText(i.textContent,n),e.content.insertBefore(i,l)}let c=0;for(let e=0;e<s.length;e++){let r=s[e],o=i[c];o!==r?(r=r.cloneNode(!0),o.parentNode.insertBefore(r,o)):c++,r.textContent=t._processStyleText(r.textContent,n)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),i.md&&h&&i.FV){const r=e.content.querySelectorAll("style");if(r){let e="";Array.from(r).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}}(this,e,t,r?(0,s.Kk)(r):""),this.prototype._bindTemplate(e)}}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(t){const e=(0,u.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),i.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.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(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,s.Kk)(this.importPath)),(0,s.Kk)(t,e)}static _parseTemplateContent(t,r,i){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,i)}static _addTemplatePropertyEffect(t,r,n){return!i.a2||r in this._properties||n.info.part.signature&&n.info.part.signature.static||n.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,r,n)}}}))},24072:(t,e,r)=>{r.d(e,{e:()=>a});r(56646);var i=r(76389),n=r(21683),o=r(62276);const s=n.YA,a=(0,i.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let r in t)r in e||e._createPropertyAccessor(r)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!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 t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,r){let i=this.__data[t],n=this._shouldPropertyChange(t,e,i);return n&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=i),this.__data[t]=e,this.__dataPending[t]=e),n}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,s.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 t=this.__data,e=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(t,e,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,r)),this.__dataCounter--}_shouldPropertiesChange(t,e,r){return Boolean(e)}_propertiesChanged(t,e,r){}_shouldPropertyChange(t,e,r){return r!==e&&(r==r||e==e)}attributeChangedCallback(t,e,r,i){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,i)}_attributeToProperty(t,e,r){if(!this.__serializing){const i=this.__dataAttributes,n=i&&i[t]||t;this[n]=this._deserializeValue(e,r||this.constructor.typeForProperty(n))}}_propertyToAttribute(t,e,r){this.__serializing=!0,r=arguments.length<3?this[t]:r,this._valueToNodeAttribute(this,r,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,r){const i=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=(0,o.r)(t)),void 0===i?t.removeAttribute(r):t.setAttribute(r,i)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},63933:(t,e,r)=>{r.d(e,{Q:()=>l});r(56646);var i=r(76389),n=r(67130),o=r(24072);const s={};let a=HTMLElement.prototype;for(;a;){let t=Object.getOwnPropertyNames(a);for(let e=0;e<t.length;e++)s[t[e]]=!0;a=Object.getPrototypeOf(a)}const l=(0,i.o)((t=>{const e=(0,o.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor((0,n.z)(t[e]))}static attributeNameForProperty(t){return(0,n.n)(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){const r=this;r.hasAttribute(t)||this._valueToNodeAttribute(r,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t)try{return JSON.stringify(t)}catch(t){return""}}return super._serializeValue(t)}_deserializeValue(t,e){let r;switch(e){case Object:try{r=JSON.parse(t)}catch(e){r=t}break;case Array:try{r=JSON.parse(t)}catch(e){r=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:r=isNaN(t)?String(t):Number(t),r=new Date(r);break;default:r=super._deserializeValue(t,e)}return r}_definePropertyAccessor(t,e){!function(t,e){if(!s[e]){let r=t[e];void 0!==r&&(t.__data?t._setPendingProperty(e,r):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=r))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}}))},40729:(t,e,r)=>{r.d(e,{q:()=>Z});r(56646);var i=r(62276),n=r(76389),o=r(4059),s=r(67130),a=r(63933);const l={"dom-if":!0,"dom-repeat":!0};let c=!1,d=!1;function p(t){(function(){if(!c){c=!0;const t=document.createElement("textarea");t.placeholder="a",d=t.placeholder===t.textContent}return d})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}function u(t){let e=t.getAttribute("is");if(e&&l[e]){let r=t;for(r.removeAttribute("is"),t=r.ownerDocument.createElement(e),r.parentNode.replaceChild(t,r),t.appendChild(r);r.attributes.length;)t.setAttribute(r.attributes[0].name,r.attributes[0].value),r.removeAttribute(r.attributes[0].name)}return t}function h(t,e){let r=e.parentInfo&&h(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,i=0;t;t=t.nextSibling)if(e.parentIndex===i++)return t}function f(t,e,r,i){i.id&&(e[i.id]=r)}function m(t,e,r){if(r.events&&r.events.length)for(let i,n=0,o=r.events;n<o.length&&(i=o[n]);n++)t._addMethodEventListenerToNode(e,i.name,i.value,t)}function _(t,e,r,i){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=i)}const y=(0,n.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let r=t._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=Boolean(e),r.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,r,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,r){return this._parseTemplateNode(t.content,e,r)}static _parseTemplateNode(t,e,r){let i=!1,n=t;return"template"!=n.localName||n.hasAttribute("preserve-content")?"slot"===n.localName&&(e.hasInsertionPoint=!0):i=this._parseTemplateNestedTemplate(n,e,r)||i,p(n),n.firstChild&&this._parseTemplateChildNodes(n,e,r),n.hasAttributes&&n.hasAttributes()&&(i=this._parseTemplateNodeAttributes(n,e,r)||i),i||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let i,n=t.firstChild,o=0;n;n=i){if("template"==n.localName&&(n=u(n)),i=n.nextSibling,n.nodeType===Node.TEXT_NODE){let r=i;for(;r&&r.nodeType===Node.TEXT_NODE;)n.textContent+=r.textContent,i=r.nextSibling,t.removeChild(r),r=i;if(e.stripWhiteSpace&&!n.textContent.trim()){t.removeChild(n);continue}}let s={parentIndex:o,parentInfo:r};this._parseTemplateNode(n,e,s)&&(s.infoIndex=e.nodeInfoList.push(s)-1),n.parentNode&&o++}}static _parseTemplateNestedTemplate(t,e,r){let i=t,n=this._parseTemplate(i,e);return(n.content=i.content.ownerDocument.createDocumentFragment()).appendChild(i.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(t,e,r){let i=!1,n=Array.from(t.attributes);for(let o,s=n.length-1;o=n[s];s--)i=this._parseTemplateNodeAttribute(t,e,r,o.name,o.value)||i;return i}static _parseTemplateNodeAttribute(t,e,r,i,n){return"on-"===i.slice(0,3)?(t.removeAttribute(i),r.events=r.events||[],r.events.push({name:i.slice(3),value:n}),!0):"id"===i&&(r.id=n,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let r=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,i=e.content||t.content,n=document.importNode(i,!0);n.__noInsertionPoint=!e.hasInsertionPoint;let o=n.nodeList=new Array(r.length);n.$={};for(let t,i=0,s=r.length;i<s&&(t=r[i]);i++){let r=o[i]=h(n,t);f(0,n.$,r,t),_(0,r,t,e),m(this,r,t)}return n}_addMethodEventListenerToNode(t,e,r,i){let n=function(t,e,r){return t=t._methodHost||t,function(e){t[r]?t[r](e,e.detail):console.warn("listener method `"+r+"` not defined")}}(i=i||t,0,r);return this._addEventListenerToNode(t,e,n),n}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));var g=r(74460);let b=0;const v=[],w={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},C="__computeInfo",x=/[A-Z]/;function S(t,e,r){let i=t[e];if(i){if(!t.hasOwnProperty(e)&&(i=t[e]=Object.create(t[e]),r))for(let t in i){let e=i[t],r=i[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else i=t[e]={};return i}function A(t,e,r,i,n,s){if(e){let a=!1;const l=b++;for(let c in r){let d=e[n?(0,o.Jz)(c):c];if(d)for(let e,o=0,p=d.length;o<p&&(e=d[o]);o++)e.info&&e.info.lastRun===l||n&&!E(c,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,c,r,i,e.info,n,s),a=!0)}return a}return!1}function P(t,e,r,i,n,s,a,l){let c=!1,d=e[a?(0,o.Jz)(i):i];if(d)for(let e,o=0,p=d.length;o<p&&(e=d[o]);o++)e.info&&e.info.lastRun===r||a&&!E(i,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,i,n,s,e.info,a,l),c=!0);return c}function E(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!(0,o.jg)(r,t))||!(!e.wildcard||!(0,o.SG)(r,t))}return!0}function T(t,e,r,i,n){let o="string"==typeof n.method?t[n.method]:n.method,s=n.property;o?o.call(t,t.__data[s],i[s]):n.dynamicFn||console.warn("observer method `"+n.method+"` not defined")}function O(t,e,r){let i=(0,o.Jz)(e);if(i!==e){return I(t,(0,s.n)(i)+"-changed",r[e],e),!0}return!1}function I(t,e,r,n){let o={value:r,queueProperty:!0};n&&(o.path=n),(0,i.r)(t).dispatchEvent(new CustomEvent(e,{detail:o}))}function R(t,e,r,i,n,s){let a=(s?(0,o.Jz)(e):e)!=e?e:null,l=a?(0,o.U2)(t,a):t.__data[e];a&&void 0===l&&(l=r[e]),I(t,n.eventName,l,a)}function k(t,e,r,i,n){let o=t.__data[e];g.v1&&(o=(0,g.v1)(o,n.attrName,"attribute",t)),t._propertyToAttribute(e,n.attrName,o)}function N(t,e,r,i){let n=t[w.COMPUTE];if(n)if(g.ls){b++;const o=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[w.COMPUTE];let i,{counts:n,ready:o,total:s}=function(t){const e=t.__computeInfo,r={},i=t[w.COMPUTE],n=[];let o=0;for(let t in e){const i=e[t];o+=r[t]=i.args.filter((t=>!t.literal)).length+(i.dynamicFn?1:0)}for(let t in i)e[t]||n.push(t);return{counts:r,ready:n,total:o}}(t);for(;i=o.shift();){e.set(i,e.size);const t=r[i];t&&t.forEach((t=>{const e=t.info.methodInfo;--s,0==--n[e]&&o.push(e)}))}if(0!==s){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),s=[];for(let t in e)D(t,n,s,o,i);let a;for(;a=s.shift();)M(t,"",e,r,a)&&D(a.methodInfo,n,s,o,i);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let o=e;for(;A(t,n,o,r,i);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),o=t.__dataPending,t.__dataPending=null}}const L=(t,e,r)=>{let i=0,n=e.length-1,o=-1;for(;i<=n;){const s=i+n>>1,a=r.get(e[s].methodInfo)-r.get(t.methodInfo);if(a<0)i=s+1;else{if(!(a>0)){o=s;break}n=s-1}}o<0&&(o=n+1),e.splice(o,0,t)},D=(t,e,r,i,n)=>{const s=e[n?(0,o.Jz)(t):t];if(s)for(let e=0;e<s.length;e++){const o=s[e];o.info.lastRun===b||n&&!E(t,o.trigger)||(o.info.lastRun=b,L(o.info,r,i))}};function M(t,e,r,i,n){let o=U(t,e,r,i,n);if(o===v)return!1;let s=n.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[s]?t._setPendingProperty(s,o,!0):(t[s]=o,!1)}function F(t,e,r,i,n,o,a){r.bindings=r.bindings||[];let l={kind:i,target:n,parts:o,literal:a,isCompound:1!==o.length};if(r.bindings.push(l),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(l)){let{event:t,negate:e}=l.parts[0];l.listenerEvent=t||(0,s.n)(n)+"-changed",l.listenerNegate=e}let c=e.nodeInfoList.length;for(let r=0;r<l.parts.length;r++){let i=l.parts[r];i.compoundIndex=r,H(t,e,l,i,c)}}function H(t,e,r,i,n){if(!i.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let o=i.dependencies,s={index:n,binding:r,part:i,evaluator:t};for(let r=0;r<o.length;r++){let i=o[r];"string"==typeof i&&(i=X(i),i.wildcard=!0),t._addTemplatePropertyEffect(e,i.rootProperty,{fn:z,info:s,trigger:i})}}}function z(t,e,r,i,n,s,a){let l=a[n.index],c=n.binding,d=n.part;if(s&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let i=r[e];e=(0,o.Iu)(d.source,c.target,e),l._setPendingPropertyOrPath(e,i,!1,!0)&&t._enqueueClient(l)}else{let o=n.evaluator._evaluateBinding(t,d,e,r,i,s);o!==v&&function(t,e,r,i,n){n=function(t,e,r,i){if(r.isCompound){let n=t.__dataCompoundStorage[r.target];n[i.compoundIndex]=e,e=n.join("")}"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e));return e}(e,n,r,i),g.v1&&(n=(0,g.v1)(n,r.target,r.kind,e));if("attribute"==r.kind)t._valueToNodeAttribute(e,n,r.target);else{let i=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[i]?e[w.READ_ONLY]&&e[w.READ_ONLY][i]||e._setPendingProperty(i,n)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,i,n)}}(t,l,c,d,o)}}function $(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),n=e.parts,o=new Array(n.length);for(let t=0;t<n.length;t++)o[t]=n[t].literal;let s=e.target;r[s]=o,e.literal&&"property"==e.kind&&("className"===s&&(t=(0,i.r)(t)),t[s]=e.literal)}}function j(t,e,r){if(r.listenerEvent){let i=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,i,n){let s,a=t.detail,l=a&&a.path;l?(i=(0,o.Iu)(r,i,l),s=a&&a.value):s=t.currentTarget[r],s=n?!s:s,e[w.READ_ONLY]&&e[w.READ_ONLY][i]||!e._setPendingPropertyOrPath(i,s,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,r.target,i.source,i.negate)}))}}function B(t,e,r,i,n,o){o=e.static||o&&("object"!=typeof o||o[e.methodName]);let s={methodName:e.methodName,args:e.args,methodInfo:n,dynamicFn:o};for(let n,o=0;o<e.args.length&&(n=e.args[o]);o++)n.literal||t._addPropertyEffect(n.rootProperty,r,{fn:i,info:s,trigger:n});return o&&t._addPropertyEffect(e.methodName,r,{fn:i,info:s}),s}function U(t,e,r,i,n){let o=t._methodHost||t,s=o[n.methodName];if(s){let i=t._marshalArgs(n.args,e,r);return i===v?v:s.apply(o,i)}n.dynamicFn||console.warn("method `"+n.methodName+"` not defined")}const Y=[],V=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?((?:[a-zA-Z_$][\\w.:$\\-*]*)\\s*(?:\\(\\s*(?:(?:(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)(?:,\\s*(?:((?:[a-zA-Z_$][\\w.:$\\-*]*)|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*))*)?)\\)\\s*)?)(?:]]|}})","g");function q(t){let e="";for(let r=0;r<t.length;r++){e+=t[r].literal||""}return e}function W(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Y};if(e[2].trim()){return function(t,e){return e.args=t.map((function(t){let r=X(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t)}return t}return null}function X(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},i=e[0];switch("-"===i&&(i=e[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.rootProperty=(0,o.Jz)(e),r.structured=(0,o.AZ)(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function K(t,e,r){let i=(0,o.U2)(t,r);return void 0===i&&(i=e[r]),i}function J(t,e,r,i){const n={indexSplices:i};g.HY&&!t._overrideLegacyUndefined&&(e.splices=n),t.notifyPath(r+".splices",n),t.notifyPath(r+".length",e.length),g.HY&&!t._overrideLegacyUndefined&&(n.indexSplices=[])}function G(t,e,r,i,n,o){J(t,e,r,[{index:i,addedCount:n,removed:o,object:e,type:"splice"}])}const Z=(0,n.o)((t=>{const e=y((0,a.Q)(t));return class extends e{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 w}_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(Q.length){let t=Q[Q.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[w.READ_ONLY];for(let r in t)e&&e[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=t[r])}_addPropertyEffect(t,e,r){this._createPropertyAccessor(t,e==w.READ_ONLY);let i=S(this,e,!0)[t];i||(i=this[e][t]=[]),i.push(r)}_removePropertyEffect(t,e,r){let i=S(this,e,!0)[t],n=i.indexOf(r);n>=0&&i.splice(n,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,w.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,w.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,w.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,w.COMPUTE)}_setPendingPropertyOrPath(t,e,r,i){if(i||(0,o.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!i){let r=(0,o.U2)(this,t);if(!(t=(0,o.t8)(this,t,e))||!super._shouldPropertyChange(t,e,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,r))return function(t,e,r){let i=t.__dataLinkedPaths;if(i){let n;for(let s in i){let a=i[s];(0,o.SG)(s,e)?(n=(0,o.Iu)(s,a,e),t._setPendingPropertyOrPath(n,r,!0,!0)):(0,o.SG)(a,e)&&(n=(0,o.Iu)(a,s,e),t._setPendingPropertyOrPath(n,r,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,r);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,r){r===t[e]&&"object"!=typeof r||("className"===e&&(t=(0,i.r)(t)),t[e]=r)}_setPendingProperty(t,e,r){let i=this.__dataHasPaths&&(0,o.AZ)(t),n=i?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,n[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),i?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(i||this[w.NOTIFY]&&this[w.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=r),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let r=t[e];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let r in t)!e&&this[w.READ_ONLY]&&this[w.READ_ONLY][r]||this._setPendingPropertyOrPath(r,t[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,r){let i,n=this.__dataHasPaths;this.__dataHasPaths=!1,N(this,e,r,n),i=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,n),this._flushClients(),A(this,this[w.REFLECT],e,r,n),A(this,this[w.OBSERVE],e,r,n),i&&function(t,e,r,i,n){let o,s,a=t[w.NOTIFY],l=b++;for(let s in e)e[s]&&(a&&P(t,a,l,s,r,i,n)||n&&O(t,s,r))&&(o=!0);o&&(s=t.__dataHost)&&s._invalidateProperties&&s._invalidateProperties()}(this,i,e,r,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[w.PROPAGATE]&&A(this,this[w.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,i){const n=(e,i)=>{A(this,t.propertyEffects,e,r,i,t.nodeList);for(let n=t.firstChild;n;n=n.nextSibling)this._runEffectsForTemplate(n,e,r,i)};t.runEffects?t.runEffects(n,e,i):n(e,i)}linkPaths(t,e){t=(0,o.Fv)(t),e=(0,o.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,o.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};J(this,(0,o.U2)(this,t,r),r.path,e)}get(t,e){return(0,o.U2)(e||this,t)}set(t,e,r){r?(0,o.t8)(r,t,e):this[w.READ_ONLY]&&this[w.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},i=(0,o.U2)(this,t,r),n=i.length,s=i.push(...e);return e.length&&G(this,i,r.path,n,e.length,[]),s}pop(t){let e={path:""},r=(0,o.U2)(this,t,e),i=Boolean(r.length),n=r.pop();return i&&G(this,r,e.path,r.length,0,[n]),n}splice(t,e,r,...i){let n,s={path:""},a=(0,o.U2)(this,t,s);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),n=2===arguments.length?a.splice(e):a.splice(e,r,...i),(i.length||n.length)&&G(this,a,s.path,e,i.length,n),n}shift(t){let e={path:""},r=(0,o.U2)(this,t,e),i=Boolean(r.length),n=r.shift();return i&&G(this,r,e.path,0,0,[n]),n}unshift(t,...e){let r={path:""},i=(0,o.U2)(this,t,r),n=i.unshift(...e);return e.length&&G(this,i,r.path,0,e.length,[]),n}notifyPath(t,e){let r;if(1==arguments.length){let i={path:""};e=(0,o.U2)(this,t,i),r=i.path}else r=Array.isArray(t)?(0,o.Fv)(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,w.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let i={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,w.OBSERVE,{fn:T,info:i,trigger:{name:t}}),r&&this._addPropertyEffect(e,w.OBSERVE,{fn:T,info:i,trigger:{name:e}})}_createMethodObserver(t,e){let r=W(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");B(this,r,w.OBSERVE,U,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,w.NOTIFY,{fn:R,info:{eventName:(0,s.n)(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,w.REFLECT,{fn:k,info:{attrName:e}})}_createComputedProperty(t,e,r){let i=W(e);if(!i)throw new Error("Malformed computed expression '"+e+"'");const n=B(this,i,w.COMPUTE,M,t,r);S(this,C)[t]=n}_marshalArgs(t,e,r){const i=this.__data,n=[];for(let s=0,a=t.length;s<a;s++){let{name:a,structured:l,wildcard:c,value:d,literal:p}=t[s];if(!p)if(c){const t=(0,o.SG)(a,e),n=K(i,r,t?e:a);d={path:t?e:a,value:n,base:t?(0,o.U2)(i,a):n}}else d=l?K(i,r,a):i[a];if(g.HY&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return v;n[s]=d}return n}static addPropertyEffect(t,e,r){this.prototype._addPropertyEffect(t,e,r)}static createPropertyObserver(t,e,r){this.prototype._createPropertyObserver(t,e,r)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,r){this.prototype._createComputedProperty(t,e,r)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let r=this.constructor._parseTemplate(t),i=this.__preBoundTemplateInfo==r;if(!i)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=i,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,i=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=i,i?i.nextSibling=r:e.firstChild=r}else this.__templateInfo=r;else this.__preBoundTemplateInfo=r;return r}static _addTemplatePropertyEffect(t,e,r){(t.hostProps=t.hostProps||{})[e]=!0;let i=t.propertyEffects=t.propertyEffects||{};(i[e]=i[e]||[]).push(r)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),Q.push(this);let r=super._stampTemplate(t,e);if(Q.pop(),e.nodeList=r.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=r.firstChild;e;e=e.nextSibling)t.push(e)}return r.templateInfo=e,function(t,e){let{nodeList:r,nodeInfoList:i}=e;if(i.length)for(let e=0;e<i.length;e++){let n=i[e],o=r[e],s=n.bindings;if(s)for(let e=0;e<s.length;e++){let r=s[e];$(o,r),j(o,t,r)}o.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),r}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:r,nextSibling:n,parent:o}=e;r?r.nextSibling=n:o&&(o.firstChild=n),n?n.previousSibling=r:o&&(o.lastChild=r),e.nextSibling=e.previousSibling=null;let s=e.childNodes;for(let t=0;t<s.length;t++){let e=s[t];(0,i.r)((0,i.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,i){let n=e._parseTemplateNode.call(this,t,r,i);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=q(e)||" ",F(this,r,i,"text","textContent",e),n=!0)}return n}static _parseTemplateNodeAttribute(t,r,i,n,o){let a=this._parseBindings(o,r);if(a){let e=n,o="property";x.test(n)?o="attribute":"$"==n[n.length-1]&&(n=n.slice(0,-1),o="attribute");let l=q(a);return l&&"attribute"==o&&("class"==n&&t.hasAttribute("class")&&(l+=" "+t.getAttribute(n)),t.setAttribute(n,l)),"attribute"==o&&"disable-upgrade$"==e&&t.setAttribute(n,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===o&&(n=(0,s.z)(n)),F(this,r,i,o,n,a,l),!0}return e._parseTemplateNodeAttribute.call(this,t,r,i,n,o)}static _parseTemplateNestedTemplate(t,r,i){let n=e._parseTemplateNestedTemplate.call(this,t,r,i);const o=t.parentNode,s=i.templateInfo,a="dom-if"===o.localName,l="dom-repeat"===o.localName;g.gx&&(a||l)&&(o.removeChild(t),(i=i.parentInfo).templateInfo=s,i.noted=!0,n=!1);let c=s.hostProps;if(g.ew&&a)c&&(r.hostProps=Object.assign(r.hostProps||{},c),g.gx||(i.parentInfo.noted=!0));else{let t="{";for(let e in c){F(this,r,i,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}}return n}static _parseBindings(t,e){let r,i=[],n=0;for(;null!==(r=V.exec(t));){r.index>n&&i.push({literal:t.slice(n,r.index)});let o=r[1][0],s=Boolean(r[2]),a=r[3].trim(),l=!1,c="",d=-1;"{"==o&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let p=W(a),u=[];if(p){let{args:t,methodName:r}=p;for(let e=0;e<t.length;e++){let r=t[e];r.literal||u.push(r)}let i=e.dynamicFns;(i&&i[r]||p.static)&&(u.push(r),p.dynamicFn=!0)}else u.push(a);i.push({source:a,mode:o,negate:s,customEvent:l,signature:p,dependencies:u,event:c}),n=V.lastIndex}if(n&&n<t.length){let e=t.substring(n);e&&i.push({literal:e})}return i.length?i:null}static _evaluateBinding(t,e,r,i,n,s){let a;return a=e.signature?U(t,r,i,0,e.signature):r!=e.source?(0,o.U2)(t,e.source):s&&(0,o.AZ)(r)?(0,o.U2)(t,r):t.__data[r],e.negate&&(a=!a),a}}})),Q=[]},21683:(t,e,r)=>{r.d(e,{Wc:()=>c,YA:()=>d});r(56646);let i=0,n=0,o=[],s=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=o.length;for(let e=0;e<t;e++){let t=o[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}o.splice(0,t),n+=t})).observe(l,{characterData:!0});const c={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},d={run:t=>(a||(a=!0,l.textContent=s++),o.push(t),i++),cancel(t){const e=t-n;if(e>=0){if(!o[e])throw new Error("invalid async handle: "+t);o[e]=null}}}},56646:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},67130:(t,e,r)=>{r.d(e,{n:()=>a,z:()=>s});r(56646);const i={},n=/-[a-z]/g,o=/([A-Z])/g;function s(t){return i[t]||(i[t]=t.indexOf("-")<0?t:t.replace(n,(t=>t[1].toUpperCase())))}function a(t){return i[t]||(i[t]=t.replace(o,"-$1").toLowerCase())}},50856:(t,e,r)=>{r.d(e,{d:()=>o});r(56646);class i{constructor(t){this.value=t.toString()}toString(){return this.value}}function n(t){if(t instanceof i)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const o=function(t,...e){const r=document.createElement("template");return r.innerHTML=e.reduce(((e,r,o)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof i)return n(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[o+1]),t[0]),r}},76389:(t,e,r)=>{r.d(e,{o:()=>o});r(56646);let i=0;function n(){}n.prototype.__mixinApplications,n.prototype.__mixinSet;const o=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=i++;return function(i){let n=i.__mixinSet;if(n&&n[r])return i;let o=e,s=o.get(i);if(!s){s=t(i),o.set(i,s);let e=Object.create(s.__mixinSet||n||null);e[r]=!0,s.__mixinSet=e}return s}}},4059:(t,e,r)=>{r.d(e,{AZ:()=>i,Fv:()=>c,Iu:()=>a,Jz:()=>n,SG:()=>s,U2:()=>p,jg:()=>o,t8:()=>u,wB:()=>l});r(56646);function i(t){return t.indexOf(".")>=0}function n(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function o(t,e){return 0===t.indexOf(e+".")}function s(t,e){return 0===e.indexOf(t+".")}function a(t,e,r){return e+r.slice(t.length)}function l(t,e){return t===e||o(t,e)||s(t,e)}function c(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let i=t[r].toString().split(".");for(let t=0;t<i.length;t++)e.push(i[t])}return e.join(".")}return t}function d(t){return Array.isArray(t)?c(t).split("."):t.toString().split(".")}function p(t,e,r){let i=t,n=d(e);for(let t=0;t<n.length;t++){if(!i)return;i=i[n[t]]}return r&&(r.path=n.join(".")),i}function u(t,e,r){let i=t,n=d(e),o=n[n.length-1];if(n.length>1){for(let t=0;t<n.length-1;t++){if(i=i[n[t]],!i)return}i[o]=r}else i[e]=r;return n.join(".")}},42687:(t,e,r)=>{r.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>c});r(56646);let i,n,o=/(url\()([^)]*)(\))/g,s=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&s.test(t))return t;if("//"===t)return t;if(void 0===i){i=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",i="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),i)try{return new URL(t,e).href}catch(e){return t}return n||(n=document.implementation.createHTMLDocument("temp"),n.base=n.createElement("base"),n.head.appendChild(n.base),n.anchor=n.createElement("a"),n.body.appendChild(n.anchor)),n.base.href=e,n.anchor.href=t,n.anchor.href||t}function l(t,e){return t.replace(o,(function(t,r,i,n){return r+"'"+a(i.replace(/["']/g,""),e)+"'"+n}))}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},74460:(t,e,r)=>{r.d(e,{FV:()=>o,HY:()=>f,Hr:()=>h,XN:()=>c,ZN:()=>d,a2:()=>u,dJ:()=>b,ew:()=>g,f6:()=>l,gx:()=>y,j8:()=>v,ls:()=>m,md:()=>w,my:()=>n,nL:()=>p,sM:()=>s,v1:()=>a,z2:()=>_});r(56646);var i=r(42687);const n=!window.ShadyDOM||!window.ShadyDOM.inUse,o=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,n&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let s=window.Polymer&&window.Polymer.rootPath||(0,i.iY)(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 p=window.Polymer&&window.Polymer.legacyOptimizations||!1;let u=window.Polymer&&window.Polymer.legacyWarnings||!1;let h=window.Polymer&&window.Polymer.syncInitialRender||!1;let f=window.Polymer&&window.Polymer.legacyUndefined||!1;let m=window.Polymer&&window.Polymer.orderedComputed||!1;let _=!0;let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1;let g=window.Polymer&&window.Polymer.fastDomIf||!1;let b=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;let v=window.Polymer&&window.Polymer.legacyNoObservedAttributes||!1;let w=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},15392:(t,e,r)=>{r.d(e,{jv:()=>h,lx:()=>p,uT:()=>d});var i=r(21384),n=r(42687);const o="shady-unscoped";function s(t){return i.t.import(t)}function a(t){let e=t.body?t.body:t;const r=(0,n.Rq)(e.textContent,t.baseURI),i=document.createElement("style");return i.textContent=r,i}function l(t){const e=t.trim().split(/\s+/),r=[];for(let t=0;t<e.length;t++)r.push(...c(e[t]));return r}function c(t){const e=s(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...u(e));const r=e.querySelector("template");r&&t.push(...d(r,e.assetpath)),e._styles=t}return e._styles}function d(t,e){if(!t._styles){const r=[],i=t.content.querySelectorAll("style");for(let t=0;t<i.length;t++){let o=i[t],s=o.getAttribute("include");s&&r.push(...l(s).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(o.textContent=(0,n.Rq)(o.textContent,e)),r.push(o)}t._styles=r}return t._styles}function p(t){let e=s(t);return e?u(e):[]}function u(t){const e=[],r=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<r.length;t++){let i=r[t];if(i.import){const t=i.import,r=i.hasAttribute(o);if(r&&!t._unscopedStyle){const e=a(t);e.setAttribute(o,""),t._unscopedStyle=e}else t._style||(t._style=a(t));e.push(r?t._unscopedStyle:t._style)}}return e}function h(t){let e=t.trim().split(/\s+/),r="";for(let t=0;t<e.length;t++)r+=f(e[t]);return r}function f(t){let e=s(t);if(e&&void 0===e._cssText){let t=m(e),r=e.querySelector("template");r&&(t+=function(t,e){let r="";const i=d(t,e);for(let t=0;t<i.length;t++){let e=i[t];e.parentNode&&e.parentNode.removeChild(e),r+=e.textContent}return r}(r,e.assetpath)),e._cssText=t||null}return e||console.warn("Could not find style data in module named",t),e&&e._cssText||""}function m(t){let e="",r=u(t);for(let t=0;t<r.length;t++)e+=r[t].textContent;return e}},65412:(t,e,r)=>{r.d(e,{Gd:()=>i,z2:()=>o});function i(){0}const n=[];function o(t){n.push(t)}},62276:(t,e,r)=>{r.d(e,{r:()=>i});const i=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},28426:(t,e,r)=>{r.d(e,{H3:()=>n});var i=r(36608);r(50856);const n=(0,i.SH)(HTMLElement)},78117:t=>{t.exports="/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-top-app-bar{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);color:white;display:flex;position:fixed;flex-direction:column;justify-content:space-between;box-sizing:border-box;width:100%;z-index:4}.mdc-top-app-bar .mdc-top-app-bar__action-item,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon{color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-top-app-bar .mdc-top-app-bar__action-item::before,.mdc-top-app-bar .mdc-top-app-bar__action-item::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after{background-color:#fff;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-primary, #fff))}.mdc-top-app-bar .mdc-top-app-bar__action-item:hover::before,.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-surface--hover::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:hover::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-surface--hover::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded--background-focused::before,.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):focus::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--background-focused::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded)::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):active::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-top-app-bar__row{display:flex;position:relative;box-sizing:border-box;width:100%;height:64px}.mdc-top-app-bar__section{display:inline-flex;flex:1 1 auto;align-items:center;min-width:0;padding:8px 12px;z-index:1}.mdc-top-app-bar__section--align-start{justify-content:flex-start;order:-1}.mdc-top-app-bar__section--align-end{justify-content:flex-end;order:1}.mdc-top-app-bar__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);padding-left:20px;padding-right:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:1}[dir=rtl] .mdc-top-app-bar__title,.mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:20px}.mdc-top-app-bar--short-collapsed{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:24px;border-bottom-left-radius:0}[dir=rtl] .mdc-top-app-bar--short-collapsed,.mdc-top-app-bar--short-collapsed[dir=rtl]{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:24px}.mdc-top-app-bar--short{top:0;right:auto;left:0;width:100%;transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-top-app-bar--short,.mdc-top-app-bar--short[dir=rtl]{right:0;left:auto}.mdc-top-app-bar--short .mdc-top-app-bar__row{height:56px}.mdc-top-app-bar--short .mdc-top-app-bar__section{padding:4px}.mdc-top-app-bar--short .mdc-top-app-bar__title{transition:opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.mdc-top-app-bar--short-collapsed{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12);width:56px;transition:width 300ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__title{display:none}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__action-item{transition:padding 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item{width:112px}.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end{padding-left:0;padding-right:12px}[dir=rtl] .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end,.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end[dir=rtl]{padding-left:12px;padding-right:0}.mdc-top-app-bar--dense .mdc-top-app-bar__row{height:48px}.mdc-top-app-bar--dense .mdc-top-app-bar__section{padding:0 4px}.mdc-top-app-bar--dense .mdc-top-app-bar__title{padding-left:12px;padding-right:0}[dir=rtl] .mdc-top-app-bar--dense .mdc-top-app-bar__title,.mdc-top-app-bar--dense .mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:12px}.mdc-top-app-bar--prominent .mdc-top-app-bar__row{height:128px}.mdc-top-app-bar--prominent .mdc-top-app-bar__title{align-self:flex-end;padding-bottom:2px}.mdc-top-app-bar--prominent .mdc-top-app-bar__action-item,.mdc-top-app-bar--prominent .mdc-top-app-bar__navigation-icon{align-self:flex-start}.mdc-top-app-bar--fixed{transition:box-shadow 200ms linear}.mdc-top-app-bar--fixed-scrolled{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12);transition:box-shadow 200ms linear}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__row{height:96px}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__section{padding:0 12px}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title{padding-left:20px;padding-right:0;padding-bottom:9px}[dir=rtl] .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title,.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:20px}.mdc-top-app-bar--fixed-adjust{padding-top:64px}.mdc-top-app-bar--dense-fixed-adjust{padding-top:48px}.mdc-top-app-bar--short-fixed-adjust{padding-top:56px}.mdc-top-app-bar--prominent-fixed-adjust{padding-top:128px}.mdc-top-app-bar--dense-prominent-fixed-adjust{padding-top:96px}@media(max-width: 599px){.mdc-top-app-bar__row{height:56px}.mdc-top-app-bar__section{padding:4px}.mdc-top-app-bar--short{transition:width 200ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed{transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end{padding-left:0;padding-right:12px}[dir=rtl] .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end,.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end[dir=rtl]{padding-left:12px;padding-right:0}.mdc-top-app-bar--prominent .mdc-top-app-bar__title{padding-bottom:6px}.mdc-top-app-bar--fixed-adjust{padding-top:56px}}\n\n/*# sourceMappingURL=mdc.top-app-bar.min.css.map*/"},10409:(t,e,r)=>{r.d(e,{s:()=>p});var i=r(823),n=r(17137);const o=(t,e)=>{var r,i;const n=t._$AN;if(void 0===n)return!1;for(const t of n)null===(i=(r=t)._$AO)||void 0===i||i.call(r,e,!1),o(t,e);return!0},s=t=>{let e,r;do{if(void 0===(e=t._$AM))break;r=e._$AN,r.delete(t),t=e}while(0===(null==r?void 0:r.size))},a=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(void 0===r)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),d(e)}};function l(t){void 0!==this._$AN?(s(this),this._$AM=t,a(this)):this._$AM=t}function c(t,e=!1,r=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=r;t<i.length;t++)o(i[t],!1),s(i[t]);else null!=i&&(o(i,!1),s(i));else o(this,t)}const d=t=>{var e,r,i,o;t.type==n.pX.CHILD&&(null!==(e=(i=t)._$AP)&&void 0!==e||(i._$AP=c),null!==(r=(o=t)._$AQ)&&void 0!==r||(o._$AQ=l))};class p extends n.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,r){super._$AT(t,e,r),a(this),this.isConnected=t._$AU}_$AO(t,e=!0){var r,i;t!==this.isConnected&&(this.isConnected=t,t?null===(r=this.reconnected)||void 0===r||r.call(this):null===(i=this.disconnected)||void 0===i||i.call(this)),e&&(o(this,t),s(this))}setValue(t){if((0,i.OR)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}},73673:(t,e,r)=>{r.d(e,{C:()=>p});var i=r(30365),n=r(17137),o=r(823),s=r(10409);class a{constructor(t){this.U=t}disconnect(){this.U=void 0}reconnect(t){this.U=t}deref(){return this.U}}class l{constructor(){this.Y=void 0,this.q=void 0}get(){return this.Y}pause(){var t;null!==(t=this.Y)&&void 0!==t||(this.Y=new Promise((t=>this.q=t)))}resume(){var t;null===(t=this.q)||void 0===t||t.call(this),this.Y=this.q=void 0}}const c=t=>!(0,o.pt)(t)&&"function"==typeof t.then;class d extends s.s{constructor(){super(...arguments),this._$Cft=1073741823,this._$Cwt=[],this._$CG=new a(this),this._$CK=new l}render(...t){var e;return null!==(e=t.find((t=>!c(t))))&&void 0!==e?e:i.Jb}update(t,e){const r=this._$Cwt;let n=r.length;this._$Cwt=e;const o=this._$CG,s=this._$CK;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$Cft);t++){const i=e[t];if(!c(i))return this._$Cft=t,i;t<n&&i===r[t]||(this._$Cft=1073741823,n=0,Promise.resolve(i).then((async t=>{for(;s.get();)await s.get();const e=o.deref();if(void 0!==e){const r=e._$Cwt.indexOf(i);r>-1&&r<e._$Cft&&(e._$Cft=r,e.setValue(t))}})))}return i.Jb}disconnected(){this._$CG.disconnect(),this._$CK.pause()}reconnected(){this._$CG.reconnect(this),this._$CK.resume()}}const p=(0,n.XM)(d)},81563:(t,e,r)=>{r.d(e,{E_:()=>h,_Y:()=>a,fk:()=>l,hN:()=>o,hl:()=>d,i9:()=>p,ws:()=>u});var i=r(15304);const{H:n}=i.Al,o=(t,e)=>{var r,i;return void 0===e?void 0!==(null===(r=t)||void 0===r?void 0:r._$litType$):(null===(i=t)||void 0===i?void 0:i._$litType$)===e},s=()=>document.createComment(""),a=(t,e,r)=>{var i;const o=t._$AA.parentNode,a=void 0===e?t._$AB:e._$AA;if(void 0===r){const e=o.insertBefore(s(),a),i=o.insertBefore(s(),a);r=new n(e,i,t,t.options)}else{const e=r._$AB.nextSibling,n=r._$AM,s=n!==t;if(s){let e;null===(i=r._$AQ)||void 0===i||i.call(r,t),r._$AM=t,void 0!==r._$AP&&(e=t._$AU)!==n._$AU&&r._$AP(e)}if(e!==a||s){let t=r._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,a),t=e}}}return r},l=(t,e,r=t)=>(t._$AI(e,r),t),c={},d=(t,e=c)=>t._$AH=e,p=t=>t._$AH,u=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let r=t._$AA;const i=t._$AB.nextSibling;for(;r!==i;){const t=r.nextSibling;r.remove(),r=t}},h=t=>{t._$AR()}},38941:(t,e,r)=>{r.d(e,{XM:()=>n,Xe:()=>o,pX:()=>i});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},n=t=>(...e)=>({_$litDirective$:t,values:e});class o{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},40015:(t,e,r)=>{r.d(e,{F:()=>s});var i=r(15304),n=r(38941),o=r(81563);const s=(0,n.XM)(class extends n.Xe{constructor(t){super(t),this.tt=new WeakMap}render(t){return[t]}update(t,[e]){if((0,o.hN)(this.it)&&(!(0,o.hN)(e)||this.it.strings!==e.strings)){const e=(0,o.i9)(t).pop();let r=this.tt.get(this.it.strings);if(void 0===r){const t=document.createDocumentFragment();r=(0,i.sY)(i.Ld,t),r.setConnected(!1),this.tt.set(this.it.strings,r)}(0,o.hl)(r,[e]),(0,o._Y)(r,void 0,e)}if((0,o.hN)(e)){if(!(0,o.hN)(this.it)||this.it.strings!==e.strings){const r=this.tt.get(e.strings);if(void 0!==r){const e=(0,o.i9)(r).pop();(0,o.E_)(t),(0,o._Y)(t,void 0,e),(0,o.hl)(t,[e])}}this.it=e}else this.it=void 0;return this.render(e)}})},8636:(t,e,r)=>{r.d(e,{$:()=>o});var i=r(15304),n=r(38941);const o=(0,n.XM)(class extends n.Xe{constructor(t){var e;if(super(t),t.type!==n.pX.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var r,n;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(r=this.et)||void 0===r?void 0:r.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach((t=>{t in e||(o.remove(t),this.st.delete(t))}));for(const t in e){const r=!!e[t];r===this.st.has(t)||(null===(n=this.et)||void 0===n?void 0:n.has(t))||(r?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return i.Jb}})}}]);