/* Minification failed. Returning unminified contents.
(92,10-11): run-time error JS1195: Expected expression: ;
(92,10-11): run-time error JS1195: Expected expression: ;
(97,9-10): run-time error JS1195: Expected expression: ;
(97,9-10): run-time error JS1195: Expected expression: ;
(134,18-19): run-time error JS1010: Expected identifier: .
(134,18-19): run-time error JS1195: Expected expression: .
 */
/*! Responsive v4.1.4 | MIT License | responsivebp.com */
!function(t,i,e){"use strict";t.pseudoUnique=function(t){var i=t||8,e="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=n.length;i>a&&(i=a);for(var o=0;o<i;o+=1)e+=n.charAt(Math.floor(Math.random()*a));return e},t.support.rtl=function(){return!!t("html[dir=rtl]").length}(),t.support.currentGrid=function(){return function(){var i=t("<div/>").addClass("grid-state-indicator").prependTo("body"),e=["xxs","xs","s","m","l"],n=parseInt(i.width(),10);return i.remove(),{grid:e[n],index:n,range:e}}}(),t.support.scrollbarWidth=function(){return function(){var n=0;if(e.body.clientWidth<i.innerWidth){var a=t("<div/>").addClass("scrollbar-measure").prependTo("body");n=a[0].offsetWidth-a[0].clientWidth,a.remove()}return n}}(),t.toggleBodyLock=function(){var i,e=t("html"),n=t("body");if(void 0!==e.attr("data-lock"))return i=n.data("bodyPad"),n.css("padding-right",i||"").removeData("bodyPad"),void e.removeAttr("data-lock").trigger(t.Event("unlock.r.bodylock"));i=parseInt(n.css("padding-right")||0);var a=t.support.scrollbarWidth();a&&(n.css("padding-right",i+a),i&&n.data("bodyPad",i)),e.attr("data-lock","").trigger(t.Event("lock.r.bodylock",{padding:i+a}))},t.support.transition=function(){return function(){for(var t=e.createElement("div"),i={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},n=Object.keys(i),a=n.length,o=0;o<a;o++)if(void 0!==t.style[n[o]])return{end:i[n[o]]};return null}()}(),t.fn.redraw=function(){var t;return this.each(function(){t=this.offsetWidth})},function(){var e=function(t){var i=/\d+(.\d+)?/;return 1e3*(i.test(t.css("transition-duration"))?t.css("transition-duration").match(i)[0]:0)};t.fn.ensureTransitionEnd=function(n){if(!t.support.transition)return this;var a=!1,o=t(this),s=function(){a||o.trigger(t.support.transition.end)};return n||(n=e(o)),o.one(t.support.transition.end,function(){a=!0}),i.setTimeout(s,n),this},t.fn.onTransitionEnd=function(n){var a=t.support.transition;return this.each(function(){if(t.isFunction(n)){var o=t(this),s=e(o),r=s/10,d=new Date,h=arguments;o.redraw(),a?o.one(a.end,function(){if((new Date).getMilliseconds()-d.getMilliseconds()<=r)return void i.setTimeout(function(){n.apply(this,h)}.bind(this),s);n.apply(this,h)}):n.apply(this,h)}})}}(),t.support.touchEvents=function(){return"ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch}(),t.support.pointerEvents=function(){return i.PointerEvent||i.MSPointerEvent}(),function(){var i=t.support.touchEvents,e=t.support.pointerEvents,n=["pointerdown","MSPointerDown"],a=["pointermove","MSPointerMove"],o=["pointerup","pointerout","pointercancel","pointerleave","MSPointerUp","MSPointerOut","MSPointerCancel","MSPointerLeave"],s=["touchend","touchleave","touchcancel"],r=["mouseup","mouseleave"],d=function(t){var d,h,l;return i?(d="touchstart"+t,h="touchmove"+t,l=s.join(t+" ")+t):e?(d=n.join(t+" ")+t,h=a.join(t+" ")+t,l=o.join(t+" ")+t):(d="mousedown"+t,h="mousemove"+t,l=r.join(t+" ")+t),{start:d,move:h,end:l}},h=function(i,n){var a=n.namespace?"."+n.namespace:"",o=d(a),s=n.data&&n.data.touchAction||"none",r=n.data&&n.data.sensitivity||5;return e&&i.css({"-ms-touch-action":""+s,"touch-action":""+s}),i.each(function(){var i=t(this),e={},n={},a=function(a){var o,d="mousemove"===a.type,h="touchmove"!==a.type&&!d,l=a.originalEvent;if(!(d&&1!==a.which||l.touches&&l.touches.length>1||a.scale&&1!==a.scale)){var c,u=(d?l.pageX:h?l.clientX:l.touches[0].pageX)-e.x,p=(d?l.pageY:h?l.clientY:l.touches[0].pageY)-e.y,f=Math.abs(parseFloat(u/i.width()*100))||100,g=Math.abs(parseFloat(p/i.height()*100))||100;switch(s){case"pan-x":Math.abs(p)>Math.abs(u)&&a.preventDefault(),c=Math.abs(p)>Math.abs(u)&&Math.abs(p)>r&&g<100;break;case"pan-y":Math.abs(u)>Math.abs(p)&&a.preventDefault(),c=Math.abs(u)>Math.abs(p)&&Math.abs(u)>r&&f<100;break;default:a.preventDefault(),c=Math.abs(p)>r||Math.abs(u)>r&&f<100&&g<100}a.stopPropagation(),c&&(o=t.Event("swipemove",{delta:{x:u,y:p}}),i.trigger(o),o.isDefaultPrevented()||(n={x:u,y:p}))}},d=function(){var a,s=+new Date-e.time;if(Math.abs(n.x)>1||Math.abs(n.y)>1){var r=n.x<0?"left":"right",d=n.y<0?"up":"down",h=Math.abs(n.x)>Math.abs(n.y)?r:d;a=t.Event("swipeend",{delta:n,direction:h,duration:s}),i.trigger(a)}i.off(o.move).off(o.end)};i.off(o.start).on(o.start,function(s){var r="mousedown"===s.type,h="touchstart"!==s.type&&!r,l=s.originalEvent;(h||r)&&t(s.target).is("img")&&s.preventDefault(),s.stopPropagation(),e={x:r?l.pageX:h?l.clientX:l.touches[0].pageX,y:r?l.pageY:h?l.clientY:l.touches[0].pageY,time:+new Date};var c=t.Event("swipestart",{start:e});i.trigger(c),c.isDefaultPrevented()||(n={x:0,y:0},i.on(o.move,a).on(o.end,d))})})},l=function(i,e){var n=e.namespace?"."+e.namespace:"",a=d(n);return i.each(function(){t(this).css({"-ms-touch-action":"","touch-action":""}).off(a.start).off(a.move).off(a.end)})};t.event.special.swipe={add:function(i){h(t(this),i)},remove:function(i){l(t(this),i)}}}(),t.extend(t.expr[":"],{attrStart:function(i,e,n){var a=!1;return t.each(i.attributes,function(){return 0!==this.name.indexOf(n[3])||(a=!0,!1)}),a}}),t.getDataOptions=function(i,e){var n={};return t.each(i.data(),function(t,i){if(0===t.indexOf(e)&&t.length>e.length){var a=e.length;n[t.charAt(a).toLowerCase()+t.substring(a+1)]=i}}),Object.keys(n).length?n:i.data()},t.debounce=function(t,e,n){var a;return function(){var o=this,s=arguments;i.clearTimeout(a),a=i.setTimeout(function(){a=null,n||t.apply(o,s)},e),n&&!a&&t.apply(o,s)}},function(i){var n=t.Event("RBPchanged"),a=t(e);t.fn.html=function(){var t=i.apply(this,arguments);return arguments.length&&a.trigger(n),t}}(t.fn.html)}(jQuery,window,document),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_AUTOSIZE){var a=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),o=["resize"+e,"orientationchange"+e].join(" ");!function(i){t.fn.val=function(){var e=i.apply(this,arguments);return this.data("r.autosize")&&arguments.length&&this.trigger(t.Event("input")),e}}(t.fn.val);var s=function(e,n){this.$element=t(e),this.element=e,this.options=t.extend({},this.defaults,n),this.sizing=null,this.difference=0,this.height=this.$element.height(),this.init(),this.$element.on(["input","keyup"].join(" "),t.debounce(t.proxy(this.size,this),100)),t(i).on(o,t.debounce(t.proxy(this.size,this),100))};s.prototype.init=function(){var t=this.$element.outerHeight();this.difference=parseFloat(this.$element.css("paddingBottom"))+parseFloat(this.$element.css("paddingTop")),this.element.scrollHeight+this.difference<=t&&(this.difference=0),this.element.value.replace(/\s/g,"").length>0&&this.$element.height(this.element.scrollHeight)},s.prototype.size=function(){var i=this,n=this.$element,a=this.element,o=t.Event("size"+e);if(!this.sizing){n.height("auto");var s=a.scrollHeight-this.difference,r=this.height!==s;if(n.height(this.height),r&&n.trigger(o),!this.sizing&&!o.isDefaultPrevented()){if(this.sizing=!0,n.height(s),r)return void n.onTransitionEnd(function(){i.sizing=!1,i.height=s,n.trigger(t.Event("sized"+e))});this.sizing=!1}}};var r=t.fn.autoSize;t.fn.autoSize=function(i){return this.each(function(){var e=t(this),n=e.data("r.autosize"),a="object"==typeof i?t.extend({},i):null;n||e.data("r.autosize",n=new s(this,a)),"size"===i&&n.size()})},t.fn.autoSize.Constructor=s,t.fn.autoSize.noConflict=function(){return t.fn.autoSize=r,this};var d=function(){t("textarea[data-autosize]").each(function(){var i=t(this);i.data("r.autosizeLoaded")||(i.data("r.autosizeLoaded",!0),i.addClass("autosize").autoSize(t.getDataOptions(i,"autosize")))})},h=t.debounce(d,500);t(document).on(["RBPinit"+e+n,a].join(" "),function(t){"RBPinit"===t.type?d():h()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_AUTOSIZE=!0}}(jQuery,window,".r.autosize",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_CAROUSEL){var a=t.support.transition,o=t.support.rtl,s=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),r={SPACE:32,ENTER:13,LEFT:37,RIGHT:39},d=function(e,n){this.$element=t(e),this.defaults={interval:0,mode:"slide",pause:"hover",wrap:!0,keyboard:!0,touch:!0,lazyImages:!0,lazyOnDemand:!0,nextTrigger:null,nextHint:"Next ("+(o?"Left":"Right")+" Arrow)",previousTrigger:null,previousHint:"Previous ("+(o?"Right":"Left")+" Arrow)",indicators:null},this.options=t.extend({},this.defaults,n),this.paused=null,this.interval=null,this.sliding=null,this.$items=null,this.keyboardTriggered=null,this.translationDuration=null,this.$nextTrigger=this.options.nextTrigger?t(this.options.nextTrigger):this.$element.children("button.forward"),this.$previousTrigger=this.options.previousTrigger?t(this.options.previousTrigger):this.$element.children("button:not(.forward)"),this.$indicators=this.options.indicators?t(this.options.indicators):this.$element.find("> ol > li"),this.id=this.$element.attr("id")||"carousel-"+t.pseudoUnique();var a=this,s=this.activeindex();this.options.wrap||0===s&&this.$previousTrigger.attr({"aria-hidden":!0,hidden:!0}),1===this.$items.length&&(this.$previousTrigger.attr({"aria-hidden":!0,hidden:!0}),this.$nextTrigger.attr({"aria-hidden":!0,hidden:!0})),"fade"===this.options.mode&&this.$element.addClass("carousel-fade"),this.options.lazyImages&&!this.options.lazyOnDemand&&t(i).on("load",t.proxy(this.lazyimages),this),this.$element.attr({role:"listbox","aria-live":"polite",id:this.id}),this.$element.children("figure").each(function(i){var e=i===s;t(this).attr({role:"option","aria-selected":e,tabindex:e?0:-1})}),this.$nextTrigger.add(this.$previousTrigger).each(function(){var i=t(this).attr({tabindex:0,"aria-controls":a.id});i.is("button")?i.attr({type:"button"}):i.attr({role:"button"}),i.find(".visuallyhidden").length||t("<span/>").addClass("visuallyhidden").html(this===a.$nextTrigger.get(0)?a.options.nextHint:a.options.previousHint).appendTo(i)}),this.$indicators.attr({role:"button","aria-controls":a.id}).eq(s).addClass("active"),"hover"===this.options.pause&&(t.support.touchEvents||t.support.pointerEvents||this.$element.on("mouseenter",t.proxy(this.pause,this)).on("mouseleave",t.proxy(this.cycle,this))),this.options.touch&&this.$element.on("swipe.carousel",{touchAction:"pan-y"},function(){return!0}).on("swipemove.carousel",t.proxy(this.swipemove,this)).on("swipeend.carousel",t.proxy(this.swipeend,this)),this.options.keyboard&&this.$element.on("keydown",t.proxy(this.keydown,this)),t(document).on(this.options.keyboard?["click","keydown"].join(" "):"click","[aria-controls="+this.id+"]",t.proxy(this.click,this))};d.prototype.activeindex=function(){var t=this.$element.find(".carousel-active");return this.$items=t.parent().children("figure"),this.$items.index(t)},d.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&i.clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=i.setInterval(t.proxy(this.next,this),this.options.interval)),this},d.prototype.to=function(i){var e=this.activeindex(),n=this;return!(i>this.$items.length-1||i<0)&&(this.sliding?this.$element.one("slid"+e,function(){n.to(i)}):e===i?this.pause().cycle():this.slide(i>e?"next":"prev",t(this.$items[i])))},d.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=i.clearInterval(this.interval),this},d.prototype.next=function(){return!this.sliding&&this.slide("next")},d.prototype.prev=function(){return!this.sliding&&this.slide("prev")},d.prototype.slide=function(i,n){var a,o,s=this.$element.children("figure.carousel-active"),r=n||s[i]("figure"),d=this.interval,h="next"===i,l=h?"left":"right",c=h?"first":"last",u=this;if(d&&this.pause(),!r.length){if(!this.options.wrap)return!1;r=this.$element.children("figure")[c]()}if(r.hasClass("carousel-active"))return this.sliding=!1;if(a=t.Event("slide"+e,{relatedTarget:r[0],direction:l}),this.$element.trigger(a),a.isDefaultPrevented())return!1;this.options.lazyImages&&this.options.lazyOnDemand&&this.lazyimages.call(r),this.sliding=!0,d&&this.pause(),this.$element.one("slid"+e,function(){if(!u.options.wrap){var t=u.activeindex();u.$items&&t===u.$items.length-1?(u.$nextTrigger.attr({"aria-hidden":!0,hidden:!0}),u.$previousTrigger.removeAttr("aria-hidden").removeAttr("hidden"),u.keyboardTriggered&&(u.$previousTrigger.focus(),u.keyboardTriggered=!1)):u.$items&&0===t?(u.$previousTrigger.attr({"aria-hidden":!0,hidden:!0}),u.$nextTrigger.show().removeAttr("aria-hidden").removeAttr("hidden"),u.keyboardTriggered&&(u.$nextTrigger.focus(),u.keyboardTriggered=!1)):(u.$nextTrigger.removeAttr("aria-hidden").removeAttr("hidden"),u.$previousTrigger.removeAttr("aria-hidden").removeAttr("hidden"),u.keyboardTriggered=!1)}u.$indicators.removeClass("active").eq(u.activeindex()).addClass("active")});var p=function(){u.$items&&u.$items.removeClass("swiping").css({"transition-duration":""}),s.removeClass(["carousel-active",l].join(" ")).attr({"aria-selected":!1,tabIndex:-1}),r.removeClass([i,l].join(" ")).addClass("carousel-active").attr({"aria-selected":!0,tabIndex:0}),u.sliding=!1,o=t.Event("slid"+e,{relatedTarget:r[0],direction:l}),u.$element.trigger(o)};return r.addClass(i).redraw(),s.addClass(l),r.addClass(l),this.$items&&this.$items.each(function(){t(this).removeClass("swipe swipe-next").css({left:"",right:"",opacity:""})}),s.onTransitionEnd(p).ensureTransitionEnd(),d&&this.cycle(),this},d.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){var i=t&&t.which;if(i===r.LEFT||i===r.RIGHT)switch(this.keyboardTriggered=!0,t.preventDefault(),t.stopPropagation(),i){case r.LEFT:o?(this.next(),this.$nextTrigger.focus()):(this.prev(),this.$previousTrigger.focus());break;case r.RIGHT:o?(this.prev(),this.$previousTrigger.focus()):(this.next(),this.$nextTrigger.focus())}}},d.prototype.click=function(i){if(i){var e=i.which;if(e&&1!==e){if(e!==r.SPACE&&e!==r.ENTER)return;this.keyboardTriggered=!0}i.preventDefault(),i.stopPropagation();var n=t(i.target);n.hasClass("forward")?this.next():n.is("button")?this.prev():this.to(n.index())}},d.prototype.swipemove=function(t){if(!this.sliding){this.pause();var i=t.delta.x<0,e=i?o?"prev":"next":o?"next":"prev",n=i?o?"last":"first":o?"first":"last",a=this.activeindex(),s=this.$items.eq(a),r=s[e]("figure");if(1!==this.$items.length){if(!r.length){if(!this.options.wrap)return;r=this.$element.children("figure")[n]()}if(this.$items.not(s).not(r).removeClass("swipe swiping swipe-next").css({left:"",right:"",opacity:""}),!r.hasClass("carousel-active")){this.options.lazyImages&&this.options.lazyOnDemand&&this.lazyimages.call(r);var d=s.width(),h=parseFloat(t.delta.x/d*100),l=i?100:-100;o&&(h*=-1),this.$element.addClass("no-transition"),"slide"===this.options.mode?o?(s.addClass("swiping").css({right:h+"%"}),r.addClass("swipe swipe-next").css({right:h-l+"%"})):(s.addClass("swiping").css({left:h+"%"}),r.addClass("swipe swipe-next").css({left:h+l+"%"})):(s.addClass("swipe").css({opacity:1-Math.abs(h/100)}),r.addClass("swipe swipe-next"))}}}},d.prototype.swipeend=function(i){if(!this.sliding&&this.$element.hasClass("no-transition")){var e=i.direction,n="next";if("right"===e&&(n="prev"),this.$element.removeClass("no-transition"),a){var o=this.activeindex(),s=this.$items.eq(o);this.translationDuration||(this.translationDuration=parseFloat(s.css("transition-duration")));var r=s.width(),d=Math.abs(i.delta.x)/r*100,h=i.duration/1e3*100/d,l=(100-d)/100*Math.min(this.translationDuration,h);this.$items.each(function(){t(this).css({"transition-duration":l+"s"})})}this.cycle(),this.slide(n,t(this.$items.filter(".swipe-next")))}},d.prototype.lazyimages=function(){this.data("lazyLoaded")||(this.find("img[data-src]").each(function(){0===this.src.length&&(this.src=this.getAttribute("data-src"))}),this.data("lazyLoaded",!0))};var h=t.fn.carousel;t.fn.carousel=function(i){return this.each(function(){var e=t(this),n=e.data("r.carousel"),a="object"==typeof i?i:null;n||e.data("r.carousel",n=new d(this,a)),"number"==typeof i?n.to(i):"string"==typeof i&&/(cycle|pause|next|prev)/.test(i)||(i=a&&a.slide)?n[i]():n.options.interval&&n.pause().cycle()})},t.fn.carousel.Constructor=d,t.fn.carousel.noConflict=function(){return t.fn.carousel=h,this};var l=function(){t(".carousel").each(function(){var i=t(this);i.data("r.carouselLoaded")||(i.data("r.carouselLoaded",!0),i.carousel(t.getDataOptions(i,"carousel")))})},c=t.debounce(l,500);t(document).on(["RBPinit"+e+n,s].join(" "),function(t){"RBPinit"===t.type?l():c()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_CAROUSEL=!0}}(jQuery,window,".r.carousel",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_CONDITIONAL){var a=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),o=["resize"+e,"orientationchange"+e].join(" "),s=function(e,n){this.$element=t(e),this.defaults={xxs:null,xs:null,s:null,m:null,l:null,fallback:null,errorHint:"<p>An error has occured.</p>"},this.cache={},this.options=t.extend({},this.defaults,n),this.currentGrid=null,this.currentTarget=null,this.loading=null,t(i).on(o,t.debounce(t.proxy(this.resize,this),50)),this.resize()};s.prototype.resize=function(){var i=t.support.currentGrid(),n=i.grid,a=i.range;if(!this.options.fallback)for(var o in a)if(a.hasOwnProperty(o)){var s=a[o];this.options[s]||(this.options[s]="fallback",this.cache[s]=this.$element.html())}if(this.currentGrid!==n){this.currentGrid=n;var r=this,d=this.options[n]||this.options.fallback;if(d&&d!==this.currentTarget){this.currentTarget=d;var h=t.Event("load"+e);if(this.$element.trigger(h),this.loading||h.isDefaultPrevented())return;this.loading=!0,this.cache[this.currentGrid]?(this.$element.empty().html(this.cache[this.currentGrid]),this.loading=!1,this.$element.trigger(t.Event("loaded"+e,{relatedTarget:r.$element[0],loadTarget:d,grid:this.currentGrid}))):this.$element.empty().load(d,null,function(i,a){if("error"===a)return r.$element.trigger(t.Event("error"+e,{relatedTarget:r.$element[0],loadTarget:d,grid:r.currentGrid})),r.$element.html(r.options.errorHint),void(r.loading=!1);var o,s=d.indexOf(" ");s>=0&&(o=t.trim(d.slice(s))),r.cache[n]=o?t("<div>").append(t.parseHTML(i)).find(o).wrap("<div>").parent().html():i,r.loading=!1,r.$element.trigger(t.Event("loaded"+e,{relatedTarget:r.$element[0],loadTarget:d,grid:r.currentGrid}))})}}};var r=t.fn.conditional;t.fn.conditional=function(i){return this.each(function(){var e=t(this),n=e.data("r.conditional"),a="object"==typeof i?t.extend({},i):null;n||e.data("r.conditional",n=new s(this,a)),"resize"===i&&n.resize()})},t.fn.conditional.Constructor=s,t.fn.conditional.noConflict=function(){return t.fn.conditional=r,this};var d=function(){t(":attrStart(data-conditional)").each(function(){var i=t(this);i.data("r.conditionalLoaded")||(i.data("r.conditionalLoaded",!0),i.conditional(t.getDataOptions(i,"conditional")))})},h=t.debounce(d,500);t(document).on(["RBPinit"+e+n,a].join(" "),function(t){"RBPinit"===t.type?d():h()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_CONDITIONAL=!0}}(jQuery,window,".r.conditional",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_DISMISS){var a=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),o=function(i,e){this.defaults={closeHint:"Click to close"},this.options=t.extend({},this.defaults,e),this.$element=t(i).attr({type:"button"}),this.$target=this.$element.closest(e.target),this.dismissing=null,this.$element.is("button")&&t(i).attr({type:"button"}),this.$target.hasClass("alert")&&this.$target.attr({role:"alert"}),this.$element.find(".visuallyhidden").length||t("<span/>").addClass("visuallyhidden").html(this.options.closeHint).appendTo(this.$element),this.$element.on("click",t.proxy(this.click,this))};o.prototype.close=function(){var i=t.Event("dismiss"+e),n=this.$target,a=this,o=function(){a.dismissing=!1,n.removeClass("fade-out").attr({"aria-hidden":!0,hidden:!0,tabindex:-1}),a.$element.trigger(t.Event("dismissed"+e))};this.$element.trigger(i),this.dismissing||i.isDefaultPrevented()||(this.dismissing=!0,n.addClass("fade-in fade-out").redraw().removeClass("fade-in"),this.$target.onTransitionEnd(o))},o.prototype.click=function(t){t.preventDefault(),this.close()};var s=t.fn.dismiss;t.fn.dismiss=function(i){return this.each(function(){var e=t(this),n=e.data("dismiss");n||e.data("dismiss",n=new o(this,i)),"close"===i&&n.close()})},t.fn.dismiss.Constructor=o,t.fn.dismiss.noConflict=function(){return t.fn.dismiss=s,this};var r=function(){t("button[data-dismiss-target]").each(function(){var i=t(this);i.data("r.dismissLoaded")||(i.data("r.dismissLoaded",!0),i.dismiss(t.getDataOptions(i,"dismiss")))})},d=t.debounce(r,500);t(document).on(["RBPinit"+e+n,a].join(" "),function(t){"RBPinit"===t.type?r():d()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_DISMISS=!0}}(jQuery,window,".r.dismiss",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_DROPDOWN){var a=i.getComputedStyle&&t.support.transition,o=t.support.rtl,s=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),r={SPACE:32,LEFT:37,RIGHT:39},d=function(i,e){this.$element=t(i),this.$target=t(e.target),this.defaults={dimension:"height"},this.options=t.extend({},this.defaults,e),this.$parent=null,this.transitioning=null,this.endSize=null,this.options.parent&&(this.$parent=this.$target.closest(this.options.parent));var n=this.$element.attr("id")||"dropdown-"+t.pseudoUnique(),a=this.$target.attr("id")||"dropdown-"+t.pseudoUnique(),o=!this.$target.hasClass("collapse");this.$element.attr({id:n,role:"tab","aria-controls":a,"aria-selected":o,"aria-expanded":o,tabindex:0}),this.$parent&&(this.$parent.attr({role:"tablist","aria-multiselectable":"true"}),this.$element.attr({"data-dropdown-parent":this.options.parent})),this.$target.attr({id:a,role:"tabpanel","aria-labelledby":n,"aria-hidden":!o,hidden:!o,tabindex:o?0:-1}),this.$element.on("click",t.proxy(this.click,this)),this.$element.on("keydown",t.proxy(this.keydown,this))};d.prototype.show=function(){if(!this.transitioning&&!this.$target.hasClass("expand")){this.transitioning=!0;var n,o=this,s=this.options.dimension,r=[];this.$parent&&(r=this.$parent.find('[data-dropdown-parent="'+this.options.parent+'"]'),r=t.grep(r,function(i){var e=t(i).data("r.dropdown"),n=e&&e.$target;return n&&!n.hasClass("collapse")&&e.$parent&&e.$parent[0]===o.$parent[0]})),this.$target[s](0),a&&(this.$target[s]("auto").attr({"aria-hidden":!1,hidden:!1}),this.$target.find("[tabindex]:not(.collapse)").attr({"aria-hidden":!1,hidden:!1}),n=i.getComputedStyle(this.$target[0])[s],this.$target[s](0).redraw()),this.$target[s](n||""),this.transition("removeClass",t.Event("show"+e,{relatedTarget:this.options.target}),"shown"+e),r&&r.length&&t.each(r,function(){t(this).dropdown("hide")})}},d.prototype.hide=function(){if(!this.transitioning&&!this.$target.hasClass("collapse")){this.transitioning=!0;var n,o=this.options.dimension;a&&(n=i.getComputedStyle(this.$target[0])[o],this.$target[o](n).redraw()),this.$target.removeClass("expand"),this.$target[o](0),this.transition("addClass",t.Event("hide"+e,{relatedTarget:this.options.target}),"hidden"+e)}},d.prototype.toggle=function(){this.transitioning||this[this.$target.hasClass("collapse")?"show":"hide"]()},d.prototype.transition=function(i,e,n){var a=this,o="removeClass"===i,s=function(){var i=t.Event(n,{relatedTarget:a.options.target});a.$target.removeClass("trans")[a.options.dimension](""),a.$target.attr({"aria-hidden":!o,hidden:!o,tabindex:o?0:-1});var e=t("#"+a.$target.attr("aria-labelledby")).attr({"aria-selected":o,"aria-expanded":o});o&&e.focus(),a.$target.find("[tabindex]:not(.collapse)").attr({"aria-hidden":!o,hidden:!o,tabindex:o?0:-1}),a.transitioning=!1,a.$element.trigger(i)};this.$element.trigger(e),e.isDefaultPrevented()||(this.$target[i]("collapse"),this.$target["show"===e.type?"addClass":"removeClass"]("trans expand"),this.$target.onTransitionEnd(s))},d.prototype.click=function(t){t.preventDefault(),t.stopPropagation(),this.toggle()},d.prototype.keydown=function(i){if(!/input|textarea/i.test(i.target.tagName)){var e=i.which;if(e===r.SPACE||e===r.LEFT||e===r.RIGHT){i.preventDefault(),i.stopPropagation();var n=t(i.target);if(e===r.SPACE)return void this.toggle();var a=this.options.parent?n.closest("[role=tablist]"):n.closest(".accordion"),s=a.find('[data-dropdown-parent="'+this.options.parent+'"]'),d=s.index(s.filter(":focus")),h=s.length;e===r.LEFT?o?d+=1:d-=1:e===r.RIGHT&&(o?d-=1:d+=1),d===h&&(d=0),d<0&&(d=h-1);var l=t(s.eq(d)).data("r.dropdown");l&&l.show()}}};var h=t.fn.dropdown;t.fn.dropdown=function(i){return this.each(function(){var e=t(this),n=e.data("r.dropdown"),a="object"==typeof i?t.extend({},i):null;n||e.data("r.dropdown",n=new d(this,a)),"string"==typeof i&&/(show|hide|toggle)/.test(i)&&n[i]()})},t.fn.dropdown.Constructor=d,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=h,this};var l=function(){t(":attrStart(data-dropdown)").each(function(){var i=t(this);i.data("r.dropdownLoaded")||(i.data("r.dropdownLoaded",!0),i.dropdown(t.getDataOptions(i,"dropdown")))})},c=t.debounce(l,500);t(document).on(["RBPinit"+e+n,s].join(" "),function(t){"RBPinit"===t.type?l():c()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_DROPDOWN=!0}}(jQuery,window,".r.dropdown",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_MODAL){var a=t(i),o=t("body"),s=t("<div/>").attr({role:"document"}).addClass("modal-overlay modal-loader fade-out"),r=t("<div/>").addClass("modal fade-out").appendTo(s),d=t("<div/>").addClass("modal-header fade-out"),h=t("<div/>").addClass("modal-footer fade-out"),l=t("<button/>").attr({type:"button"}).addClass("modal-close fade-out"),c=t("<button/>").attr({type:"button"}).addClass("modal-direction prev fade-out"),u=t("<button/>").attr({type:"button"}).addClass("modal-direction next fade-out"),p=t("<div/>").addClass("modal-placeholder"),f=["resize"+e,"orientationchange"+e].join(" "),g="click"+e,v=t.support.rtl,m=t.support.currentGrid(),y={ESCAPE:27,LEFT:37,RIGHT:39},b=0,$=0===i.location.protocol.indexOf("http")?i.location.protocol:"http:",w=new RegExp("//"+i.location.host+"($|/)"),x=/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|ti(ff|f)|webp|svg)((\?|#).*)?$)/i,C=/^#.*$/,T=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,E=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,P=function(e,n){this.$element=t(e),this.defaults={modal:null,external:!1,group:null,image:!1,immediate:!1,iframe:!1,iframeScroll:!0,keyboard:!0,touch:!0,next:">",nextHint:"Next ("+(v?"Left":"Right")+" Arrow)",previous:"<",previousHint:"Previous ("+(v?"Right":"Left")+" Arrow)",closeHint:"Close (Esc)",errorHint:"<p>An error has occured.</p>",mobileTarget:null,mobileViewportWidth:"xs",fitViewport:!0},this.options=t.extend({},this.defaults,n),this.title=null,this.description=null,this.isShown=null,this.$group=null,this.options.group&&(this.$group=t(this.options.group)),0===o.length&&(o=t("body")),this.$element.on(g,this.click.bind(this));var a=t.debounce(this.resize.bind(this),15);t(i).off(f).on(f,a),this.options.immediate&&this.show()};P.prototype.click=function(t){t.preventDefault();var e=r.data("currentModal");if(e&&e[0]!==this.$element[0]){var n=function(){i.setTimeout(function(){this.show(!0)}.bind(this),150)}.bind(this);return e.data("r.modal").toggleModal(!0,!0),void r.onTransitionEnd(n)}this.show()},P.prototype.show=function(n){if(!this.isShown){var o=t.Event("show"+e);if(this.$element.trigger(o),!o.isDefaultPrevented()){if(this.isShown=!0,this.options.mobileTarget){var s=this.options.mobileViewportWidth;if("number"==typeof s&&s>=a.width())return void(i.location.href=this.options.mobileTarget);if("string"==typeof s){var r=t.inArray(s,m.range);if(m.index<=r&&r>-1)return void(i.location.href=this.options.mobileTarget)}}if(!n)return void this.overlay();this.toggleModal()}}},P.prototype.hide=function(){this.toggleModal(!0)},P.prototype.overlay=function(){if(t(".modal-overlay").length||o.append(s.removeClass("fade-in")),s.hasClass("fade-in")){var i=function(){r.removeData("currentModal").removeAttr("tabindex"),t.toggleBodyLock(),s.attr("hidden"," "),a.scrollTop(b)}.bind(this);return void s.removeClass("fade-in").onTransitionEnd(i)}void 0===t("html").attr("data-lock")&&(b=a.scrollTop(),t.toggleBodyLock()),s.removeAttr("hidden").redraw().addClass("fade-in").onTransitionEnd(function(){this.toggleModal()}.bind(this))},P.prototype.toggleModal=function(n,a){var p;if(!n)return p=function(){var i=r.find("[autofocus]");o.attr({tabindex:-1}),r.data("currentModal",this.$element).attr({tabindex:0}),i.length?i.focus():r.focus(),t(document).off("focusin"+e).on("focusin"+e,this.focus.bind(this)),this.options.keyboard&&t(document).off("keydown"+e).on("keydown"+e,this.keydown.bind(this)),this.options.group&&this.options.touch&&r.off("swipe.modal").on("swipe.modal",function(){return!0}).off("swipeend.modal").on("swipeend.modal",this.swipeend.bind(this)),s.off(g).on(g,this.overlayclick.bind(this)),this.$element.trigger(t.Event("shown"+e))}.bind(this),this.create(),void r.onTransitionEnd(p).off(g).on(g,this.modalclick.bind(this));if(this.isShown){var f=t.Event("hide"+e);this.$element.trigger(f),f.isDefaultPrevented()||(this.isShown=!1,s.removeClass("modal-loader"),t.each([d,h,l,u,c,r],function(){this.removeClass("fade-in")}),p=function(){return this.$sibling&&this.$sibling.data("r.modal")?(this.destroy(!0),this.$element.trigger(t.Event("hidden"+e)),void i.setTimeout(function(){this.$sibling.data("r.modal").show(!0),this.$sibling=null}.bind(this),150)):a?(this.destroy(!0),void this.$element.trigger(t.Event("hidden"+e))):(this.destroy(),void this.$element.trigger(t.Event("hidden"+e)))}.bind(this),r.onTransitionEnd(p))}},P.prototype.create=function(){s.addClass("modal-loader");var i=function(t){var i=T.exec(t)||T.exec($+t);return void 0!==i&&!C.test(t)&&(!(!i||!i[2]||E.test(i[1]))&&!w.test(i[2]))},n=function(){this.resize(),t.each([d,h,l,u,c,r],function(){this.addClass("fade-in")}),r.redraw(),s.removeClass("modal-loader")}.bind(this),a=this.options.title,o=this.options.description,f=this.options.modal,g=this.options.target,v=!C.test(this.options.target),m=i(g),y=!v&&!m,b=this.$group,P=this.options.next+'<span class="visuallyhidden">'+this.options.nextHint+"</span>",S=this.options.previous+'<span class="visuallyhidden">'+this.options.previousHint+"</span>",k=this.options.iframeScroll,R=this.options.image||x.test(g),D=!!(this.options.iframe||v&&m)&&!R,A=t("<div/>").addClass(k?"media media-scroll":"media"),O=t("<div/>").addClass("modal-content");if(b){b.filter(function(){return t(this).data("r.modal")}).length&&(u.html(P).prependTo(r),c.html(S).prependTo(r))}if(a||!f){if(a){var z="modal-label-"+t.pseudoUnique();d.html('<div class="container"><h2 id="'+z+'">'+a+"</h2></div>").appendTo(s.attr({"aria-labelledby":z}))}f||l.html('x <span class="visuallyhidden">'+this.options.closeHint+"</span>").appendTo(s)}if(o&&h.html('<div class="container">'+o+"</div>").appendTo(s),y){var I=t(g);this.isLocalHidden=I.is(":hidden"),r.addClass(this.options.fitViewport?"container":""),p.detach().insertAfter(I),I.detach().appendTo(O).removeClass("hidden").attr({"aria-hidden":!1,hidden:!1}),O.appendTo(r),n()}else if(D){r.addClass("modal-iframe");var L=i(g)&&0!==g.indexOf("http")?$+g:g;t("<iframe/>").attr({scrolling:k?"yes":"no",allowTransparency:!0,frameborder:0,hspace:0,vspace:0,webkitallowfullscreen:"",mozallowfullscreen:"",allowfullscreen:""}).one("load error",function(){n()}).appendTo(A).attr("src",L);var j=function(t){var i={youtube:/youtu(be\.com|be\.googleapis\.com|\.be)/i,vimeo:/vimeo/i,vine:/vine/i,instagram:/instagram|instagr\.am/i,getty:/embed\.gettyimages\.com/i};for(var e in i)if(i.hasOwnProperty(e)&&i[e].test(t))return[e,"scaled"].join(" ");return!1}(g)||"";j||r.addClass("iframe-full"),A.addClass(j).appendTo(r)}else R?(r.addClass("modal-image"),t("<img/>").one("load error",function(){n()}).appendTo(r).attr("src",g)):(r.addClass("modal-ajax"),r.addClass(this.options.fitViewport?"container":""),O.load(g,null,function(i,a){
"error"===a&&(this.$element.trigger(t.Event("error"+e,{relatedTarget:O[0]})),O.html(this.options.errorHint)),O.appendTo(r),n()}.bind(this)))},P.prototype.destroy=function(e){u.detach(),c.detach(),d.empty().detach(),h.empty().detach(),l.detach(),s.removeAttr("aria-labelledby"),this.options.external||r.is(".modal-iframe, .modal-ajax, .modal-image")||(t(this.options.target).addClass(this.isLocalHidden?"hidden":"").attr({"aria-hidden":!!this.isLocalHidden,hidden:!!this.isLocalHidden}).detach().insertAfter(p),p.detach().insertAfter(s)),r.find("iframe").attr("src",""),i.setTimeout(function(){r.removeClass("modal-iframe iframe-full modal-ajax modal-image container").css({"max-height":"","max-width":""}).empty()}.bind(this),100),e||this.overlay()},P.prototype.overlayclick=function(i){if(!this.options.modal){var e=l[0],n=i.target;if(n!==r[0]&&!t.contains(r[0],n))return n===e?void this.hide():void((n===s[0]||t.contains(s[0],n))&&this.hide())}},P.prototype.modalclick=function(t){var i=u[0],e=c[0],n=t.target;if(n===i||n===e)return t.preventDefault(),t.stopPropagation(),void this[n===i?"next":"prev"]();this.options.modal&&n===r.find(this.options.modal)[0]&&(t.preventDefault(),t.stopPropagation(),this.hide())},P.prototype.focus=function(i){if(i.target!==s[0]&&!t.contains(s[0],i.target)){var e=r.find("a, area, button, input, object, select, textarea, [tabindex]").first();return e.length?e.focus():r.focus(),!1}return!0},P.prototype.keydown=function(t){if(!this.options.modal){if(t.which===y.ESCAPE)return void this.hide();if(this.options.group){if(/input|textarea/i.test(t.target.tagName))return;t.which===y.LEFT&&(v?this.next():this.prev()),t.which===y.RIGHT&&(v?this.prev():this.next())}}},P.prototype.swipeend=function(t){if(v)return void this["right"===t.direction?"prev":"next"]();this["right"===t.direction?"next":"prev"]()},P.prototype.resize=function(){var i=a.height(),e=d.length&&d.height()||0,n=l.length&&l.outerHeight()||0,o=n>e?n:e,s=h.length&&h.height()||0,c=.95*(i-(o+s));if(t(".modal-overlay").css({"padding-top":o,"padding-bottom":s}),r.hasClass("modal-image"))r.children("img").css("max-height",c);else if(r.hasClass("modal-iframe")){var u=r.find(".media > iframe"),p=u.width(),f=u.height(),g=p/f,v=c*g;u.parent().hasClass("scaled")&&r.css({"max-height":c,"max-width":v})}else{var y=r.children(".modal-content");t.each([r,y],function(){this.css({"max-height":c})})}m=t.support.currentGrid()},P.prototype.direction=function(i){if(this.isShown&&this.options.group){var e=this.$group.index(this.$element),n=this.$group.length,a="next"===i?e+1:e-1;"next"===i?(a>=n||a<0)&&(a=0):(a>=n&&(a=0),a<0&&(a=n-1)),this.$sibling=t(this.$group[a]),this.hide()}},P.prototype.next=function(){this.direction("next")},P.prototype.prev=function(){this.direction("prev")};var S=t.fn.modal;t.fn.modal=function(i){return this.each(function(){var e=t(this),n=e.data("r.modal"),a="object"==typeof i?t.extend({},i):{};a.target||(a.target=e.attr("href")),n||e.data("r.modal",n=new P(this,a)),"string"==typeof i&&/(show|hide|next|prev)/.test(i)&&n[i]()})},t.fn.modal.Constructor=P,t.fn.modal.noConflict=function(){return t.fn.modal=S,this};var k=function(){t(":attrStart(data-modal)").each(function(){var i=t(this);i.data("r.modalLoaded")||(i.data("r.modalLoaded",!0),i.modal(t.getDataOptions(i,"modal")))})},R=t.debounce(k,500);t(document).on(["RBPinit"+e+n,"RBPchanged"+e+n,"shown"+e].join(" "),function(t){"RBPinit"===t.type?k():R()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_MODAL=!0}}(jQuery,window,".r.modal",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_NAVIGATION){var a=t(i),o=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),s={SPACE:32,ESCAPE:27},r=function(i){this.$element=t(i).addClass("navigation"),this.defaults={start:"xxs",end:"l"},this.$button=this.$element.children().first(),this.isShown=null,this.lastScroll=0,this.$button.length||(this.$button=t("<button/>").text("Menu").prependTo(this.$element));var a=this.$element.attr("id")||"navigation-"+t.pseudoUnique();this.$element.attr({id:a,role:"navigation"}),this.$button.attr({"aria-controls":a,"aria-expanded":!1}),this.$clone=this.$element.clone().removeAttr("id data-navigation").removeClass("canvas-navigation").addClass("visuallyhidden"),this.$clone.children("button").first().remove(),this.$clone.appendTo("body"),this.$button.on("click"+e,this.click.bind(this)),t(document).on("focusin"+e,this.focus.bind(this)).on("show.r.modal"+n,function(){this.hide(!0)}.bind(this))};r.prototype.toggle=function(){this[this.$element.hasClass("open")?"hide":"show"]()},r.prototype.show=function(){if(!this.isShown){var i=t.Event("show"+e),n=t.Event("shown"+e);if(this.$element.trigger(i),!i.isDefaultPrevented()){this.isShown=!0;var o=function(){this.transitioning=!1,this.$button.attr({"aria-expanded":!0}),t(document).on("keydown"+e,this.keydown.bind(this)),this.$element.trigger(n)}.bind(this);this.lastScroll=a.scrollTop(),t.toggleBodyLock(),this.$element.addClass("open visible").onTransitionEnd(o)}}},r.prototype.hide=function(i){if(this.isShown){var n=t.Event("hide"+e),o=t.Event("hidden"+e);if(this.$element.trigger(n),!n.isDefaultPrevented()){this.isShown=!1;var s=function(){this.$element.removeClass("visible"),this.$button.attr({"aria-expanded":!1}),this.transitioning=!1,t(document).off("keydown"+e),this.$element.trigger(o)}.bind(this);i||(t.toggleBodyLock(),a.scrollTop(this.lastScroll)),this.$element.removeClass("open").onTransitionEnd(s).ensureTransitionEnd()}}},r.prototype.click=function(){this.toggle()},r.prototype.keydown=function(t){t.which===s.ESCAPE&&this.$element.hasClass("open")&&this.hide()},r.prototype.focus=function(i){if(this.$element.hasClass("open")){if(!i.shiftKey&&i.target!==this.$element[0]&&!t.contains(this.$element[0],i.target))return this.$button.focus(),!1}else if(!i.shiftKey&&(i.target===this.$clone[0]||t.contains(this.$clone[0],i.target)))return this.$button.focus().click(),!1;return!0};var d=t.fn.navigation;t.fn.navigation=function(i){return this.each(function(){var e=t(this),n=e.data("r.navigation");n||e.data("r.navigation",n=new r(this)),"string"==typeof i&&/(show|hide)/.test(i)&&n[i]()})},t.fn.navigation.Constructor=r,t.fn.navigation.noConflict=function(){return t.fn.navigation=d,this};var h=function(){t("nav[data-navigation]").each(function(){var i=t(this);i.data("r.navigationLoaded")||(i.data("r.navigationLoaded",!0),i.navigation())})},l=t.debounce(h,500);t(document).on(["RBPinit"+e+n,o].join(" "),function(t){"RBPinit"===t.type?h():l()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_NAVIGATION=!0}}(jQuery,window,".r.navigation",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_TABLE){var a=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),o=function(i){this.$element=t(i).addClass("table-list").attr("aria-role","grid"),this.$thead=this.$element.find("thead"),this.$tfoot=this.$element.find("tfoot"),this.$tbody=this.$element.find("tbody"),this.$headerColumns=this.$thead.find("th"),this.hasHeader=!0,this.$headerColumns.length||(this.hasHeader=!1,this.$element.addClass(".no-thead"),this.$headerColumns=this.$tbody.find("[scope=row]")),this.$headerColumns.attr({"aria-role":"columnheader","aria-hidden":"false"}),this.$footerColumns=this.$tfoot.find("th").attr({"aria-role":"columnheader","aria-hidden":"false"}),this.$bodyRows=this.$tbody.find("tr").attr("aria-role","row"),this.isAdded=null,this.add()};o.prototype.add=function(){if(!this.isAdded){var i=this,n=t.Event("add"+e),a=function(){i.$element.trigger(t.Event("added"+e))};i.$element.trigger(n),n.isDefaultPrevented()||(i.isAdded=!0,t.each(i.$bodyRows,function(){var e=i.hasHeader?"th, td":"td";t(this).find(e).each(function(n){var a=t(this),o="td"===e?a.prev("[scope=row]"):t(i.$headerColumns[n]),s=o.text(),r=o.attr("id")||"tablelist-"+t.pseudoUnique();if(o.attr("id",r),a.attr("data-thead",s),a.attr({"aria-role":"gridcell","aria-describedby":r}),i.$tfoot.length){var d=t(i.$footerColumns[n]),h=d.text(),l=d.attr("id")||"tablelist-"+t.pseudoUnique();a.attr("data-tfoot",h),a.attr({"aria-role":"gridcell","aria-describedby":l})}return!0})}),this.$element.redraw().addClass("fade-in"),this.$element.onTransitionEnd(a))}};var s=t.fn.tablelist;t.fn.tablelist=function(i){return this.each(function(){var e=t(this),n=e.data("r.tablelist"),a="object"==typeof i?i:null;n||e.data("r.tablelist",n=new o(this,a)),"string"==typeof i&&n[i]()})},t.fn.tablelist.Constructor=o,t.fn.tablelist.noConflict=function(){return t.fn.tablelist=s,this};var r=function(){t("table[data-table-list]").each(function(){var i=t(this);i.data("r.tableLoaded")||(i.data("r.tableLoaded",!0),i.tablelist(t.getDataOptions(i,{},"tablelist","r")))})},d=t.debounce(r,500);t(document).on(["RBPinit"+e+n,a].join(" "),function(t){"RBPinit"===t.type?r():d()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_TABLE=!0}}(jQuery,window,".r.tablelist",".data-api"),function(t,i,e,n){"use strict";if(!i.RESPONSIVE_TABS){var a=t.support.rtl,o=["RBPchanged"+e+n,"shown.r.modal"+n].join(" "),s={SPACE:32,LEFT:37,RIGHT:39},r=function(i){this.$element=t(i),this.tabbing=null;var e=this.$element.children("ul:first").attr("role","tablist"),n=e.children().attr("role","presentation"),a=this.$element.children(":not(ul)"),o=t.pseudoUnique(),s=e.find("[aria-selected=true]").parent().index(),r=s>-1;n.each(function(i){var e=t(this),n=e.children("a"),d=r&&i===s||!r&&0===i;n.attr({role:"tab",id:"tab-"+o+"-"+i,"aria-controls":"pane-"+o+"-"+i,"aria-selected":!!d,tabindex:0}),a.eq(i).attr({role:"tabpanel",id:"pane-"+o+"-"+i,"aria-labelledby":"tab-"+o+"-"+i,tabindex:d?0:-1})}),t(this.$element).on("click","ul[role=tablist] > li > [role=tab]",t.proxy(this.click,this)).on("keydown","ul[role=tablist] > li > [role=tab]",t.proxy(this.keydown,this))};r.prototype.show=function(i){var n=this.$element.children("ul").find("[aria-selected=true]"),a=n.closest("ul").children(),o=n.parent().index(),s=this;return!(i>a.length-1||i<0)&&(o!==i&&this.tab(o,i,function(i){var n=function(){s.tabbing=!1,i.siblings().addBack().removeClass("fade-out fade-in"),s.$element.trigger(t.Event("shown"+e,{relatedTarget:i[0]}))};i.onTransitionEnd(n)}))},r.prototype.tab=function(i,n,a){var o=t.Event("show"+e),s=this.$element,r=s.children("ul").children("li"),d=s.children(":not(ul)"),h=r.eq(n),l=d.eq(i),c=d.eq(n);s.trigger(o),this.tabbing||o.isDefaultPrevented()||(this.tabbing=!0,r.children("a").attr({"aria-selected":!1}),h.children("a").attr({"aria-selected":!0}).focus(),l.addClass("fade-out fade-in"),c.attr({tabIndex:0}).addClass("fade-out"),d.filter(".fade-in").attr({tabIndex:-1}).removeClass("fade-in"),c.redraw().addClass("fade-in"),a.call(this,c))},r.prototype.click=function(i){i.preventDefault(),i.stopPropagation();var e=t(i.target),n=e.parent(),a=n.index();this.show(a)},r.prototype.keydown=function(i){var e=i.which;if(e===s.SPACE||e===s.LEFT||e===s.RIGHT){i.preventDefault(),i.stopPropagation();var n=t(i.target),o=n.parent(),r=o.siblings().addBack(),d=r.length,h=o.index();if(e===s.SPACE)return void this.show(h);h=e===s.LEFT?a?h+1:h-1:a?h-1:h+1,h===d&&(h=0),h<0&&(h=d-1),this.show(h)}};var d=t.fn.tabs;t.fn.tabs=function(i){return this.each(function(){var e=t(this),n=e.data("r.tabs");n||e.data("r.tabs",n=new r(this)),"number"==typeof i&&n.show(i)})},t.fn.tabs.Constructor=r,t.fn.tabs.noConflict=function(){return t.fn.tabs=d,this};var h=function(){t("[data-tabs]").each(function(){var i=t(this);i.data("r.tabsLoaded")||(i.data("r.tabsLoaded",!0),i.tabs())})},l=t.debounce(h,500);t(document).on(["RBPinit"+e+n,o].join(" "),function(t){"RBPinit"===t.type?h():l()}).ready(function(){t(this).trigger("RBPinit"+e+n)}),i.RESPONSIVE_TABS=!0}}(jQuery,window,".r.tabs",".data-api");
/**
 * jQuery Unveil
 * A very lightweight jQuery plugin to lazy load images
 * http://luis-almeida.github.com/unveil
 *
 * Licensed under the MIT license.
 * Copyright 2013 Luís Almeida
 * https://github.com/luis-almeida
 */

;(function($) {

  $.fn.unveil = function(threshold, callback) {

    var $w = $(window),
        th = threshold || 0,
        retina = window.devicePixelRatio > 1,
        attrib = retina? "data-src-retina" : "data-src",
        images = this,
        loaded;

    this.one("unveil", function() {
      var source = this.getAttribute(attrib);
      source = source || this.getAttribute("data-src");
      if (source) {
        this.setAttribute("src", source);
        if (typeof callback === "function") callback.call(this);
      }
    });

    function unveil() {
      var inview = images.filter(function() {
        var $e = $(this),
            wt = $w.scrollTop(),
            wb = wt + $w.height(),
            et = $e.offset().top,
            eb = et + $e.height();

        return eb >= wt - th && et <= wb + th;
      });

      loaded = inview.trigger("unveil");
      images = images.not(loaded);
    }

    $w.on("scroll.unveil resize.unveil lookup.unveil", unveil);

    unveil();

    return this;

  };

})(window.jQuery || window.Zepto);
/*! lazysizes - v4.1.8 */
!function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports&&(module.exports=c)}(window,function(a,b){"use strict";if(b.getElementsByClassName){var c,d,e=b.documentElement,f=a.Date,g=a.HTMLPictureElement,h="addEventListener",i="getAttribute",j=a[h],k=a.setTimeout,l=a.requestAnimationFrame||k,m=a.requestIdleCallback,n=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],p={},q=Array.prototype.forEach,r=function(a,b){return p[b]||(p[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),p[b].test(a[i]("class")||"")&&p[b]},s=function(a,b){r(a,b)||a.setAttribute("class",(a[i]("class")||"").trim()+" "+b)},t=function(a,b){var c;(c=r(a,b))&&a.setAttribute("class",(a[i]("class")||"").replace(c," "))},u=function(a,b,c){var d=c?h:"removeEventListener";c&&u(a,b),o.forEach(function(c){a[d](c,b)})},v=function(a,d,e,f,g){var h=b.createEvent("Event");return e||(e={}),e.instance=c,h.initEvent(d,!f,!g),h.detail=e,a.dispatchEvent(h),h},w=function(b,c){var e;!g&&(e=a.picturefill||d.pf)?(c&&c.src&&!b[i]("srcset")&&b.setAttribute("srcset",c.src),e({reevaluate:!0,elements:[b]})):c&&c.src&&(b.src=c.src)},x=function(a,b){return(getComputedStyle(a,null)||{})[b]},y=function(a,b,c){for(c=c||a.offsetWidth;c<d.minSize&&b&&!a._lazysizesWidth;)c=b.offsetWidth,b=b.parentNode;return c},z=function(){var a,c,d=[],e=[],f=d,g=function(){var b=f;for(f=d.length?e:d,a=!0,c=!1;b.length;)b.shift()();a=!1},h=function(d,e){a&&!e?d.apply(this,arguments):(f.push(d),c||(c=!0,(b.hidden?k:l)(g)))};return h._lsFlush=g,h}(),A=function(a,b){return b?function(){z(a)}:function(){var b=this,c=arguments;z(function(){a.apply(b,c)})}},B=function(a){var b,c=0,e=d.throttleDelay,g=d.ricTimeout,h=function(){b=!1,c=f.now(),a()},i=m&&g>49?function(){m(h,{timeout:g}),g!==d.ricTimeout&&(g=d.ricTimeout)}:A(function(){k(h)},!0);return function(a){var d;(a=!0===a)&&(g=33),b||(b=!0,d=e-(f.now()-c),d<0&&(d=0),a||d<9?i():k(i,d))}},C=function(a){var b,c,d=99,e=function(){b=null,a()},g=function(){var a=f.now()-c;a<d?k(g,d-a):(m||e)(e)};return function(){c=f.now(),b||(b=k(g,d))}};!function(){var b,c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};d=a.lazySizesConfig||a.lazysizesConfig||{};for(b in c)b in d||(d[b]=c[b]);a.lazySizesConfig=d,k(function(){d.init&&F()})}();var D=function(){var g,l,m,o,p,y,D,F,G,H,I,J,K=/^img$/i,L=/^iframe$/i,M="onscroll"in a&&!/(gle|ing)bot/.test(navigator.userAgent),N=0,O=0,P=0,Q=-1,R=function(a){P--,(!a||P<0||!a.target)&&(P=0)},S=function(a){return null==J&&(J="hidden"==x(b.body,"visibility")),J||"hidden"!=x(a.parentNode,"visibility")&&"hidden"!=x(a,"visibility")},T=function(a,c){var d,f=a,g=S(a);for(F-=c,I+=c,G-=c,H+=c;g&&(f=f.offsetParent)&&f!=b.body&&f!=e;)(g=(x(f,"opacity")||1)>0)&&"visible"!=x(f,"overflow")&&(d=f.getBoundingClientRect(),g=H>d.left&&G<d.right&&I>d.top-1&&F<d.bottom+1);return g},U=function(){var a,f,h,j,k,m,n,p,q,r,s,t,u=c.elements;if((o=d.loadMode)&&P<8&&(a=u.length)){for(f=0,Q++,r=!d.expand||d.expand<1?e.clientHeight>500&&e.clientWidth>500?500:370:d.expand,c._defEx=r,s=r*d.expFactor,t=d.hFac,J=null,O<s&&P<1&&Q>2&&o>2&&!b.hidden?(O=s,Q=0):O=o>1&&Q>1&&P<6?r:N;f<a;f++)if(u[f]&&!u[f]._lazyRace)if(M)if((p=u[f][i]("data-expand"))&&(m=1*p)||(m=O),q!==m&&(y=innerWidth+m*t,D=innerHeight+m,n=-1*m,q=m),h=u[f].getBoundingClientRect(),(I=h.bottom)>=n&&(F=h.top)<=D&&(H=h.right)>=n*t&&(G=h.left)<=y&&(I||H||G||F)&&(d.loadHidden||S(u[f]))&&(l&&P<3&&!p&&(o<3||Q<4)||T(u[f],m))){if(aa(u[f]),k=!0,P>9)break}else!k&&l&&!j&&P<4&&Q<4&&o>2&&(g[0]||d.preloadAfterLoad)&&(g[0]||!p&&(I||H||G||F||"auto"!=u[f][i](d.sizesAttr)))&&(j=g[0]||u[f]);else aa(u[f]);j&&!k&&aa(j)}},V=B(U),W=function(a){var b=a.target;if(b._lazyCache)return void delete b._lazyCache;R(a),s(b,d.loadedClass),t(b,d.loadingClass),u(b,Y),v(b,"lazyloaded")},X=A(W),Y=function(a){X({target:a.target})},Z=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},$=function(a){var b,c=a[i](d.srcsetAttr);(b=d.customMedia[a[i]("data-media")||a[i]("media")])&&a.setAttribute("media",b),c&&a.setAttribute("srcset",c)},_=A(function(a,b,c,e,f){var g,h,j,l,o,p;(o=v(a,"lazybeforeunveil",b)).defaultPrevented||(e&&(c?s(a,d.autosizesClass):a.setAttribute("sizes",e)),h=a[i](d.srcsetAttr),g=a[i](d.srcAttr),f&&(j=a.parentNode,l=j&&n.test(j.nodeName||"")),p=b.firesLoad||"src"in a&&(h||g||l),o={target:a},s(a,d.loadingClass),p&&(clearTimeout(m),m=k(R,2500),u(a,Y,!0)),l&&q.call(j.getElementsByTagName("source"),$),h?a.setAttribute("srcset",h):g&&!l&&(L.test(a.nodeName)?Z(a,g):a.src=g),f&&(h||l)&&w(a,{src:g})),a._lazyRace&&delete a._lazyRace,t(a,d.lazyClass),z(function(){var b=a.complete&&a.naturalWidth>1;p&&!b||(b&&s(a,"ls-is-cached"),W(o),a._lazyCache=!0,k(function(){"_lazyCache"in a&&delete a._lazyCache},9))},!0)}),aa=function(a){var b,c=K.test(a.nodeName),e=c&&(a[i](d.sizesAttr)||a[i]("sizes")),f="auto"==e;(!f&&l||!c||!a[i]("src")&&!a.srcset||a.complete||r(a,d.errorClass)||!r(a,d.lazyClass))&&(b=v(a,"lazyunveilread").detail,f&&E.updateElem(a,!0,a.offsetWidth),a._lazyRace=!0,P++,_(a,b,f,e,c))},ba=function(){if(!l){if(f.now()-p<999)return void k(ba,999);var a=C(function(){d.loadMode=3,V()});l=!0,d.loadMode=3,V(),j("scroll",function(){3==d.loadMode&&(d.loadMode=2),a()},!0)}};return{_:function(){p=f.now(),c.elements=b.getElementsByClassName(d.lazyClass),g=b.getElementsByClassName(d.lazyClass+" "+d.preloadClass),j("scroll",V,!0),j("resize",V,!0),a.MutationObserver?new MutationObserver(V).observe(e,{childList:!0,subtree:!0,attributes:!0}):(e[h]("DOMNodeInserted",V,!0),e[h]("DOMAttrModified",V,!0),setInterval(V,999)),j("hashchange",V,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(a){b[h](a,V,!0)}),/d$|^c/.test(b.readyState)?ba():(j("load",ba),b[h]("DOMContentLoaded",V),k(ba,2e4)),c.elements.length?(U(),z._lsFlush()):V()},checkElems:V,unveil:aa}}(),E=function(){var a,c=A(function(a,b,c,d){var e,f,g;if(a._lazysizesWidth=d,d+="px",a.setAttribute("sizes",d),n.test(b.nodeName||""))for(e=b.getElementsByTagName("source"),f=0,g=e.length;f<g;f++)e[f].setAttribute("sizes",d);c.detail.dataAttr||w(a,c.detail)}),e=function(a,b,d){var e,f=a.parentNode;f&&(d=y(a,f,d),e=v(a,"lazybeforesizes",{width:d,dataAttr:!!b}),e.defaultPrevented||(d=e.detail.width)&&d!==a._lazysizesWidth&&c(a,f,e,d))},f=function(){var b,c=a.length;if(c)for(b=0;b<c;b++)e(a[b])},g=C(f);return{_:function(){a=b.getElementsByClassName(d.autosizesClass),j("resize",g)},checkElems:g,updateElem:e}}(),F=function(){F.i||(F.i=!0,E._(),D._())};return c={cfg:d,autoSizer:E,loader:D,init:F,uP:w,aC:s,rC:t,hC:r,fire:v,gW:y,rAF:z}}});
/*! picturefill - v3.0.2 - 2016-02-12
 * https://scottjehl.github.io/picturefill/
 * Copyright (c) 2016 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
 */
!function(a){var b=navigator.userAgent;a.HTMLPictureElement&&/ecko/.test(b)&&b.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var b,c=document.createElement("source"),d=function(a){var b,d,e=a.parentNode;"PICTURE"===e.nodeName.toUpperCase()?(b=c.cloneNode(),e.insertBefore(b,e.firstElementChild),setTimeout(function(){e.removeChild(b)})):(!a._pfLastSize||a.offsetWidth>a._pfLastSize)&&(a._pfLastSize=a.offsetWidth,d=a.sizes,a.sizes+=",100vw",setTimeout(function(){a.sizes=d}))},e=function(){var a,b=document.querySelectorAll("picture > img, img[srcset][sizes]");for(a=0;a<b.length;a++)d(b[a])},f=function(){clearTimeout(b),b=setTimeout(e,99)},g=a.matchMedia&&matchMedia("(orientation: landscape)"),h=function(){f(),g&&g.addListener&&g.addListener(f)};return c.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?h():document.addEventListener("DOMContentLoaded",h),f}())}(window),function(a,b,c){"use strict";function d(a){return" "===a||"	"===a||"\n"===a||"\f"===a||"\r"===a}function e(b,c){var d=new a.Image;return d.onerror=function(){A[b]=!1,ba()},d.onload=function(){A[b]=1===d.width,ba()},d.src=c,"pending"}function f(){M=!1,P=a.devicePixelRatio,N={},O={},s.DPR=P||1,Q.width=Math.max(a.innerWidth||0,z.clientWidth),Q.height=Math.max(a.innerHeight||0,z.clientHeight),Q.vw=Q.width/100,Q.vh=Q.height/100,r=[Q.height,Q.width,P].join("-"),Q.em=s.getEmValue(),Q.rem=Q.em}function g(a,b,c,d){var e,f,g,h;return"saveData"===B.algorithm?a>2.7?h=c+1:(f=b-c,e=Math.pow(a-.6,1.5),g=f*e,d&&(g+=.1*e),h=a+g):h=c>1?Math.sqrt(a*b):a,h>c}function h(a){var b,c=s.getSet(a),d=!1;"pending"!==c&&(d=r,c&&(b=s.setRes(c),s.applySetCandidate(b,a))),a[s.ns].evaled=d}function i(a,b){return a.res-b.res}function j(a,b,c){var d;return!c&&b&&(c=a[s.ns].sets,c=c&&c[c.length-1]),d=k(b,c),d&&(b=s.makeUrl(b),a[s.ns].curSrc=b,a[s.ns].curCan=d,d.res||aa(d,d.set.sizes)),d}function k(a,b){var c,d,e;if(a&&b)for(e=s.parseSet(b),a=s.makeUrl(a),c=0;c<e.length;c++)if(a===s.makeUrl(e[c].url)){d=e[c];break}return d}function l(a,b){var c,d,e,f,g=a.getElementsByTagName("source");for(c=0,d=g.length;d>c;c++)e=g[c],e[s.ns]=!0,f=e.getAttribute("srcset"),f&&b.push({srcset:f,media:e.getAttribute("media"),type:e.getAttribute("type"),sizes:e.getAttribute("sizes")})}function m(a,b){function c(b){var c,d=b.exec(a.substring(m));return d?(c=d[0],m+=c.length,c):void 0}function e(){var a,c,d,e,f,i,j,k,l,m=!1,o={};for(e=0;e<h.length;e++)f=h[e],i=f[f.length-1],j=f.substring(0,f.length-1),k=parseInt(j,10),l=parseFloat(j),X.test(j)&&"w"===i?((a||c)&&(m=!0),0===k?m=!0:a=k):Y.test(j)&&"x"===i?((a||c||d)&&(m=!0),0>l?m=!0:c=l):X.test(j)&&"h"===i?((d||c)&&(m=!0),0===k?m=!0:d=k):m=!0;m||(o.url=g,a&&(o.w=a),c&&(o.d=c),d&&(o.h=d),d||c||a||(o.d=1),1===o.d&&(b.has1x=!0),o.set=b,n.push(o))}function f(){for(c(T),i="",j="in descriptor";;){if(k=a.charAt(m),"in descriptor"===j)if(d(k))i&&(h.push(i),i="",j="after descriptor");else{if(","===k)return m+=1,i&&h.push(i),void e();if("("===k)i+=k,j="in parens";else{if(""===k)return i&&h.push(i),void e();i+=k}}else if("in parens"===j)if(")"===k)i+=k,j="in descriptor";else{if(""===k)return h.push(i),void e();i+=k}else if("after descriptor"===j)if(d(k));else{if(""===k)return void e();j="in descriptor",m-=1}m+=1}}for(var g,h,i,j,k,l=a.length,m=0,n=[];;){if(c(U),m>=l)return n;g=c(V),h=[],","===g.slice(-1)?(g=g.replace(W,""),e()):f()}}function n(a){function b(a){function b(){f&&(g.push(f),f="")}function c(){g[0]&&(h.push(g),g=[])}for(var e,f="",g=[],h=[],i=0,j=0,k=!1;;){if(e=a.charAt(j),""===e)return b(),c(),h;if(k){if("*"===e&&"/"===a[j+1]){k=!1,j+=2,b();continue}j+=1}else{if(d(e)){if(a.charAt(j-1)&&d(a.charAt(j-1))||!f){j+=1;continue}if(0===i){b(),j+=1;continue}e=" "}else if("("===e)i+=1;else if(")"===e)i-=1;else{if(","===e){b(),c(),j+=1;continue}if("/"===e&&"*"===a.charAt(j+1)){k=!0,j+=2;continue}}f+=e,j+=1}}}function c(a){return k.test(a)&&parseFloat(a)>=0?!0:l.test(a)?!0:"0"===a||"-0"===a||"+0"===a?!0:!1}var e,f,g,h,i,j,k=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(f=b(a),g=f.length,e=0;g>e;e++)if(h=f[e],i=h[h.length-1],c(i)){if(j=i,h.pop(),0===h.length)return j;if(h=h.join(" "),s.matchesMedia(h))return j}return"100vw"}b.createElement("picture");var o,p,q,r,s={},t=!1,u=function(){},v=b.createElement("img"),w=v.getAttribute,x=v.setAttribute,y=v.removeAttribute,z=b.documentElement,A={},B={algorithm:""},C="data-pfsrc",D=C+"set",E=navigator.userAgent,F=/rident/.test(E)||/ecko/.test(E)&&E.match(/rv\:(\d+)/)&&RegExp.$1>35,G="currentSrc",H=/\s+\+?\d+(e\d+)?w/,I=/(\([^)]+\))?\s*(.+)/,J=a.picturefillCFG,K="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",L="font-size:100%!important;",M=!0,N={},O={},P=a.devicePixelRatio,Q={px:1,"in":96},R=b.createElement("a"),S=!1,T=/^[ \t\n\r\u000c]+/,U=/^[, \t\n\r\u000c]+/,V=/^[^ \t\n\r\u000c]+/,W=/[,]+$/,X=/^\d+$/,Y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,Z=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)},$=function(a){var b={};return function(c){return c in b||(b[c]=a(c)),b[c]}},_=function(){var a=/^([\d\.]+)(em|vw|px)$/,b=function(){for(var a=arguments,b=0,c=a[0];++b in a;)c=c.replace(a[b],a[++b]);return c},c=$(function(a){return"return "+b((a||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(b,d){var e;if(!(b in N))if(N[b]=!1,d&&(e=b.match(a)))N[b]=e[1]*Q[e[2]];else try{N[b]=new Function("e",c(b))(Q)}catch(f){}return N[b]}}(),aa=function(a,b){return a.w?(a.cWidth=s.calcListLength(b||"100vw"),a.res=a.w/a.cWidth):a.res=a.d,a},ba=function(a){if(t){var c,d,e,f=a||{};if(f.elements&&1===f.elements.nodeType&&("IMG"===f.elements.nodeName.toUpperCase()?f.elements=[f.elements]:(f.context=f.elements,f.elements=null)),c=f.elements||s.qsa(f.context||b,f.reevaluate||f.reselect?s.sel:s.selShort),e=c.length){for(s.setupRun(f),S=!0,d=0;e>d;d++)s.fillImg(c[d],f);s.teardownRun(f)}}};o=a.console&&console.warn?function(a){console.warn(a)}:u,G in v||(G="src"),A["image/jpeg"]=!0,A["image/gif"]=!0,A["image/png"]=!0,A["image/svg+xml"]=b.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),s.ns=("pf"+(new Date).getTime()).substr(0,9),s.supSrcset="srcset"in v,s.supSizes="sizes"in v,s.supPicture=!!a.HTMLPictureElement,s.supSrcset&&s.supPicture&&!s.supSizes&&!function(a){v.srcset="data:,a",a.src="data:,a",s.supSrcset=v.complete===a.complete,s.supPicture=s.supSrcset&&s.supPicture}(b.createElement("img")),s.supSrcset&&!s.supSizes?!function(){var a="data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==",c="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d=b.createElement("img"),e=function(){var a=d.width;2===a&&(s.supSizes=!0),q=s.supSrcset&&!s.supSizes,t=!0,setTimeout(ba)};d.onload=e,d.onerror=e,d.setAttribute("sizes","9px"),d.srcset=c+" 1w,"+a+" 9w",d.src=c}():t=!0,s.selShort="picture>img,img[srcset]",s.sel=s.selShort,s.cfg=B,s.DPR=P||1,s.u=Q,s.types=A,s.setSize=u,s.makeUrl=$(function(a){return R.href=a,R.href}),s.qsa=function(a,b){return"querySelector"in a?a.querySelectorAll(b):[]},s.matchesMedia=function(){return a.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?s.matchesMedia=function(a){return!a||matchMedia(a).matches}:s.matchesMedia=s.mMQ,s.matchesMedia.apply(this,arguments)},s.mMQ=function(a){return a?_(a):!0},s.calcLength=function(a){var b=_(a,!0)||!1;return 0>b&&(b=!1),b},s.supportsType=function(a){return a?A[a]:!0},s.parseSize=$(function(a){var b=(a||"").match(I);return{media:b&&b[1],length:b&&b[2]}}),s.parseSet=function(a){return a.cands||(a.cands=m(a.srcset,a)),a.cands},s.getEmValue=function(){var a;if(!p&&(a=b.body)){var c=b.createElement("div"),d=z.style.cssText,e=a.style.cssText;c.style.cssText=K,z.style.cssText=L,a.style.cssText=L,a.appendChild(c),p=c.offsetWidth,a.removeChild(c),p=parseFloat(p,10),z.style.cssText=d,a.style.cssText=e}return p||16},s.calcListLength=function(a){if(!(a in O)||B.uT){var b=s.calcLength(n(a));O[a]=b?b:Q.width}return O[a]},s.setRes=function(a){var b;if(a){b=s.parseSet(a);for(var c=0,d=b.length;d>c;c++)aa(b[c],a.sizes)}return b},s.setRes.res=aa,s.applySetCandidate=function(a,b){if(a.length){var c,d,e,f,h,k,l,m,n,o=b[s.ns],p=s.DPR;if(k=o.curSrc||b[G],l=o.curCan||j(b,k,a[0].set),l&&l.set===a[0].set&&(n=F&&!b.complete&&l.res-.1>p,n||(l.cached=!0,l.res>=p&&(h=l))),!h)for(a.sort(i),f=a.length,h=a[f-1],d=0;f>d;d++)if(c=a[d],c.res>=p){e=d-1,h=a[e]&&(n||k!==s.makeUrl(c.url))&&g(a[e].res,c.res,p,a[e].cached)?a[e]:c;break}h&&(m=s.makeUrl(h.url),o.curSrc=m,o.curCan=h,m!==k&&s.setSrc(b,h),s.setSize(b))}},s.setSrc=function(a,b){var c;a.src=b.url,"image/svg+xml"===b.set.type&&(c=a.style.width,a.style.width=a.offsetWidth+1+"px",a.offsetWidth+1&&(a.style.width=c))},s.getSet=function(a){var b,c,d,e=!1,f=a[s.ns].sets;for(b=0;b<f.length&&!e;b++)if(c=f[b],c.srcset&&s.matchesMedia(c.media)&&(d=s.supportsType(c.type))){"pending"===d&&(c=d),e=c;break}return e},s.parseSets=function(a,b,d){var e,f,g,h,i=b&&"PICTURE"===b.nodeName.toUpperCase(),j=a[s.ns];(j.src===c||d.src)&&(j.src=w.call(a,"src"),j.src?x.call(a,C,j.src):y.call(a,C)),(j.srcset===c||d.srcset||!s.supSrcset||a.srcset)&&(e=w.call(a,"srcset"),j.srcset=e,h=!0),j.sets=[],i&&(j.pic=!0,l(b,j.sets)),j.srcset?(f={srcset:j.srcset,sizes:w.call(a,"sizes")},j.sets.push(f),g=(q||j.src)&&H.test(j.srcset||""),g||!j.src||k(j.src,f)||f.has1x||(f.srcset+=", "+j.src,f.cands.push({url:j.src,d:1,set:f}))):j.src&&j.sets.push({srcset:j.src,sizes:null}),j.curCan=null,j.curSrc=c,j.supported=!(i||f&&!s.supSrcset||g&&!s.supSizes),h&&s.supSrcset&&!j.supported&&(e?(x.call(a,D,e),a.srcset=""):y.call(a,D)),j.supported&&!j.srcset&&(!j.src&&a.src||a.src!==s.makeUrl(j.src))&&(null===j.src?a.removeAttribute("src"):a.src=j.src),j.parsed=!0},s.fillImg=function(a,b){var c,d=b.reselect||b.reevaluate;a[s.ns]||(a[s.ns]={}),c=a[s.ns],(d||c.evaled!==r)&&((!c.parsed||b.reevaluate)&&s.parseSets(a,a.parentNode,b),c.supported?c.evaled=r:h(a))},s.setupRun=function(){(!S||M||P!==a.devicePixelRatio)&&f()},s.supPicture?(ba=u,s.fillImg=u):!function(){var c,d=a.attachEvent?/d$|^c/:/d$|^c|^i/,e=function(){var a=b.readyState||"";f=setTimeout(e,"loading"===a?200:999),b.body&&(s.fillImgs(),c=c||d.test(a),c&&clearTimeout(f))},f=setTimeout(e,b.body?9:99),g=function(a,b){var c,d,e=function(){var f=new Date-d;b>f?c=setTimeout(e,b-f):(c=null,a())};return function(){d=new Date,c||(c=setTimeout(e,b))}},h=z.clientHeight,i=function(){M=Math.max(a.innerWidth||0,z.clientWidth)!==Q.width||z.clientHeight!==h,h=z.clientHeight,M&&s.fillImgs()};Z(a,"resize",g(i,99)),Z(b,"readystatechange",e)}(),s.picturefill=ba,s.fillImgs=ba,s.teardownRun=u,ba._=s,a.picturefillCFG={pf:s,push:function(a){var b=a.shift();"function"==typeof s[b]?s[b].apply(s,a):(B[b]=a[0],S&&s.fillImgs({reselect:!0}))}};for(;J&&J.length;)a.picturefillCFG.push(J.shift());a.picturefill=ba,"object"==typeof module&&"object"==typeof module.exports?module.exports=ba:"function"==typeof define&&define.amd&&define("picturefill",function(){return ba}),s.supPicture||(A["image/webp"]=e("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document);
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s&&i(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+s})}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.$slides.eq(s).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e(t),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.mdc=e():t.mdc=e()}(this,function(){return i={},r.m=n=[function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFoundation=void 0;var i=(Object.defineProperty(r,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),r.prototype.init=function(){},r.prototype.destroy=function(){},r);function r(t){void 0===t&&(t={}),this.adapter=t}e.MDCFoundation=i,e.default=i},function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s},o=this&&this.__spreadArray||function(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCComponent=void 0;var i=n(0),s=(a.attachTo=function(t){return new a(t,new i.MDCFoundation({}))},a.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},a.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},a.prototype.initialSyncWithDOM=function(){},a.prototype.destroy=function(){this.foundation.destroy()},a.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},a.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},a.prototype.emit=function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root.dispatchEvent(i)},a);function a(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];this.root=t,this.initialize.apply(this,o([],r(n))),this.foundation=void 0===e?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}e.MDCComponent=s,e.default=s},function(t,e,n){"use strict";function i(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.estimateScrollWidth=e.matches=e.closest=void 0,e.closest=function(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(i(n,e))return n;n=n.parentElement}return null},e.matches=i,e.estimateScrollWidth=function(t){var e=t;if(null!==e.offsetParent)return e.scrollWidth;var n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var i=n.scrollWidth;return document.documentElement.removeChild(n),i}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRipple=void 0;var c,u=n(1),l=n(5),d=n(2),p=n(4),h=a(n(19)),f=(c=u.MDCComponent,r(_,c),_.attachTo=function(t,e){void 0===e&&(e={isUnbounded:void 0});var n=new _(t);return void 0!==e.isUnbounded&&(n.unbounded=e.isUnbounded),n},_.createAdapter=function(n){return{addClass:function(t){return n.root.classList.add(t)},browserSupportsCssVars:function(){return h.supportsCssVariables(window)},computeBoundingRect:function(){return n.root.getBoundingClientRect()},containsEventTarget:function(t){return n.root.contains(t)},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,l.applyPassive())},deregisterInteractionHandler:function(t,e){return n.root.removeEventListener(t,e,l.applyPassive())},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return d.matches(n.root,":active")},isSurfaceDisabled:function(){return Boolean(n.disabled)},isUnbounded:function(){return Boolean(n.unbounded)},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,l.applyPassive())},registerInteractionHandler:function(t,e){return n.root.addEventListener(t,e,l.applyPassive())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},removeClass:function(t){return n.root.classList.remove(t)},updateCssVariable:function(t,e){return n.root.style.setProperty(t,e)}}},Object.defineProperty(_.prototype,"unbounded",{get:function(){return Boolean(this.unbounded_)},set:function(t){this.unbounded_=Boolean(t),this.setUnbounded_()},enumerable:!1,configurable:!0}),_.prototype.activate=function(){this.foundation.activate()},_.prototype.deactivate=function(){this.foundation.deactivate()},_.prototype.layout=function(){this.foundation.layout()},_.prototype.getDefaultFoundation=function(){return new p.MDCRippleFoundation(_.createAdapter(this))},_.prototype.initialSyncWithDOM=function(){var t=this.root;this.unbounded="mdcRippleIsUnbounded"in t.dataset},_.prototype.setUnbounded_=function(){this.foundation.setUnbounded(Boolean(this.unbounded_))},_);function _(){var t=null!==c&&c.apply(this,arguments)||this;return t.disabled=!1,t}e.MDCRipple=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRippleFoundation=void 0;var s,a=n(0),c=n(46),u=n(19),l=["touchstart","pointerdown","mousedown","keydown"],d=["touchend","pointerup","mouseup","contextmenu"],p=[],h=(s=a.MDCFoundation,r(f,s),Object.defineProperty(f,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(f,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(f,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(f,"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}),f.prototype.init=function(){var t=this,e=this.supportsPressRipple_();if(this.registerRootHandlers_(e),e){var n=f.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(i),t.adapter.isUnbounded()&&(t.adapter.addClass(r),t.layoutInternal_())})}},f.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter.removeClass(f.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter.removeClass(f.cssClasses.FG_DEACTIVATION));var e=f.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(n),t.adapter.removeClass(i),t.removeCssVars_()})}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},f.prototype.activate=function(t){this.activate_(t)},f.prototype.deactivate=function(){this.deactivate_()},f.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},f.prototype.setUnbounded=function(t){var e=f.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},f.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(f.cssClasses.BG_FOCUSED)})},f.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(f.cssClasses.BG_FOCUSED)})},f.prototype.supportsPressRipple_=function(){return this.adapter.browserSupportsCssVars()},f.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},f.prototype.registerRootHandlers_=function(t){var e=this;t&&(l.forEach(function(t){e.adapter.registerInteractionHandler(t,e.activateHandler_)}),this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler_)),this.adapter.registerInteractionHandler("focus",this.focusHandler_),this.adapter.registerInteractionHandler("blur",this.blurHandler_)},f.prototype.registerDeactivationHandlers_=function(t){var e=this;"keydown"===t.type?this.adapter.registerInteractionHandler("keyup",this.deactivateHandler_):d.forEach(function(t){e.adapter.registerDocumentInteractionHandler(t,e.deactivateHandler_)})},f.prototype.deregisterRootHandlers_=function(){var e=this;l.forEach(function(t){e.adapter.deregisterInteractionHandler(t,e.activateHandler_)}),this.adapter.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler_)},f.prototype.deregisterDeactivationHandlers_=function(){var e=this;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler_),d.forEach(function(t){e.adapter.deregisterDocumentInteractionHandler(t,e.deactivateHandler_)})},f.prototype.removeCssVars_=function(){var e=this,n=f.strings;Object.keys(n).forEach(function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)})},f.prototype.activate_=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var i=this.previousActivationEvent_;i&&void 0!==t&&i.type!==t.type||(n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),void 0!==t&&0<p.length&&p.some(function(t){return e.adapter.containsEventTarget(t)})?this.resetActivationState_():(void 0!==t&&(p.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){p=[],n.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(n.wasElementMadeActive=e.checkElementMadeActive_(t),n.wasElementMadeActive&&e.animateActivation_()),n.wasElementMadeActive||(e.activationState_=e.defaultActivationState_())})))}}},f.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},f.prototype.animateActivation_=function(){var t=this,e=f.strings,n=e.VAR_FG_TRANSLATE_START,i=e.VAR_FG_TRANSLATE_END,r=f.cssClasses,o=r.FG_DEACTIVATION,s=r.FG_ACTIVATION,a=f.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var c="",u="";if(!this.adapter.isUnbounded()){var l=this.getFgTranslationCoordinates_(),d=l.startPoint,p=l.endPoint;c=d.x+"px, "+d.y+"px",u=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(n,c),this.adapter.updateCssVariable(i,u),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(o),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},a)},f.prototype.getFgTranslationCoordinates_=function(){var t,e=this.activationState_,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?u.getNormalizedEventCoords(n,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}}},f.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,e=f.cssClasses.FG_DEACTIVATION,n=this.activationState_,i=n.hasDeactivationUXRun,r=n.isActivated;!i&&r||!this.activationAnimationHasEnded_||(this.rmBoundedActivationClasses_(),this.adapter.addClass(e),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter.removeClass(e)},c.numbers.FG_DEACTIVATION_MS))},f.prototype.rmBoundedActivationClasses_=function(){var t=f.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},f.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=void 0},f.numbers.TAP_DELAY_MS)},f.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var n=o({},e);e.isProgrammatic?(requestAnimationFrame(function(){return t.animateDeactivation_(n)}),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(n),t.resetActivationState_()}))}},f.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady_()},f.prototype.layoutInternal_=function(){var t=this;this.frame_=this.adapter.computeBoundingRect();var e=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter.isUnbounded()?e:Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2))+f.numbers.PADDING;var n=Math.floor(e*f.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&n%2!=0?this.initialSize_=n-1:this.initialSize_=n,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},f.prototype.updateLayoutCssVars_=function(){var t=f.strings,e=t.VAR_FG_SIZE,n=t.VAR_LEFT,i=t.VAR_TOP,r=t.VAR_FG_SCALE;this.adapter.updateCssVariable(e,this.initialSize_+"px"),this.adapter.updateCssVariable(r,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(n,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords_.top+"px"))},f);function f(t){var e=s.call(this,o(o({},f.defaultAdapter),t))||this;return e.activationAnimationHasEnded_=!1,e.activationTimer_=0,e.fgDeactivationRemovalTimer_=0,e.fgScale_="0",e.frame_={width:0,height:0},e.initialSize_=0,e.layoutFrame_=0,e.maxRadius_=0,e.unboundedCoords_={left:0,top:0},e.activationState_=e.defaultActivationState_(),e.activationTimerCallback_=function(){e.activationAnimationHasEnded_=!0,e.runDeactivationUXLogicIfReady_()},e.activateHandler_=function(t){return e.activate_(t)},e.deactivateHandler_=function(){return e.deactivate_()},e.focusHandler_=function(){return e.handleFocus()},e.blurHandler_=function(){return e.handleBlur()},e.resizeHandler_=function(){return e.layout()},e}e.MDCRippleFoundation=h,e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyPassive=void 0,e.applyPassive=function(t){return void 0===t&&(t=window),!!function(t){void 0===t&&(t=window);var e=!1;try{var n={get passive(){return!(e=!0)}},i=function(){};t.document.addEventListener("test",i,n),t.document.removeEventListener("test",i,n)}catch(t){e=!1}return e}(t)&&{passive:!0}}},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isNavigationEvent=i.normalizeKey=i.KEY=void 0,i.KEY={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"};var r=new Set;r.add(i.KEY.BACKSPACE),r.add(i.KEY.ENTER),r.add(i.KEY.SPACEBAR),r.add(i.KEY.PAGE_UP),r.add(i.KEY.PAGE_DOWN),r.add(i.KEY.END),r.add(i.KEY.HOME),r.add(i.KEY.ARROW_LEFT),r.add(i.KEY.ARROW_UP),r.add(i.KEY.ARROW_RIGHT),r.add(i.KEY.ARROW_DOWN),r.add(i.KEY.DELETE),r.add(i.KEY.ESCAPE),r.add(i.KEY.TAB);var n=8,o=13,s=32,a=33,c=34,u=35,l=36,d=37,p=38,h=39,f=40,_=46,y=27,C=9,E=new Map;E.set(n,i.KEY.BACKSPACE),E.set(o,i.KEY.ENTER),E.set(s,i.KEY.SPACEBAR),E.set(a,i.KEY.PAGE_UP),E.set(c,i.KEY.PAGE_DOWN),E.set(u,i.KEY.END),E.set(l,i.KEY.HOME),E.set(d,i.KEY.ARROW_LEFT),E.set(p,i.KEY.ARROW_UP),E.set(h,i.KEY.ARROW_RIGHT),E.set(f,i.KEY.ARROW_DOWN),E.set(_,i.KEY.DELETE),E.set(y,i.KEY.ESCAPE),E.set(C,i.KEY.TAB);var g=new Set;function m(t){var e=t.key;if(r.has(e))return e;var n=E.get(t.keyCode);return n||i.KEY.UNKNOWN}g.add(i.KEY.PAGE_UP),g.add(i.KEY.PAGE_DOWN),g.add(i.KEY.END),g.add(i.KEY.HOME),g.add(i.KEY.ARROW_LEFT),g.add(i.KEY.ARROW_UP),g.add(i.KEY.ARROW_RIGHT),g.add(i.KEY.ARROW_DOWN),i.normalizeKey=m,i.isNavigationEvent=function(t){return g.has(m(t))}},function(t,e,n){"use strict";var i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.evolutionClassNameMap=e.evolutionAttribute=e.deprecatedClassNameMap=e.numbers=e.cssClasses=e.strings=void 0;var o={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",LIST_ITEM_TEXT_CLASS:"mdc-list-item__text",LIST_ITEM_PRIMARY_TEXT_CLASS:"mdc-list-item__primary-text",ROOT:"mdc-list"},s=((i={})[""+(e.cssClasses=o).LIST_ITEM_ACTIVATED_CLASS]="mdc-list-item--activated",i[""+o.LIST_ITEM_CLASS]="mdc-list-item",i[""+o.LIST_ITEM_DISABLED_CLASS]="mdc-list-item--disabled",i[""+o.LIST_ITEM_SELECTED_CLASS]="mdc-list-item--selected",i[""+o.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-list-item__primary-text",i[""+o.ROOT]="mdc-list",i);e.evolutionClassNameMap=s;var a=((r={})[""+o.LIST_ITEM_ACTIVATED_CLASS]="mdc-deprecated-list-item--activated",r[""+o.LIST_ITEM_CLASS]="mdc-deprecated-list-item",r[""+o.LIST_ITEM_DISABLED_CLASS]="mdc-deprecated-list-item--disabled",r[""+o.LIST_ITEM_SELECTED_CLASS]="mdc-deprecated-list-item--selected",r[""+o.LIST_ITEM_TEXT_CLASS]="mdc-deprecated-list-item__text",r[""+o.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-deprecated-list-item__primary-text",r[""+o.ROOT]="mdc-deprecated-list",r);e.deprecatedClassNameMap=a;var c={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",ARIA_INTERACTIVE_ROLES_SELECTOR:'[role="listbox"], [role="menu"]',ARIA_MULTI_SELECTABLE_SELECTOR:'[aria-multiselectable="true"]',CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n    ."+o.LIST_ITEM_CLASS+" button:not(:disabled),\n    ."+o.LIST_ITEM_CLASS+" a,\n    ."+a[o.LIST_ITEM_CLASS]+" button:not(:disabled),\n    ."+a[o.LIST_ITEM_CLASS]+" a\n  ",DEPRECATED_SELECTOR:".mdc-deprecated-list",FOCUSABLE_CHILD_ELEMENTS:"\n    ."+o.LIST_ITEM_CLASS+" button:not(:disabled),\n    ."+o.LIST_ITEM_CLASS+" a,\n    ."+o.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n    .'+o.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled),\n    .'+a[o.LIST_ITEM_CLASS]+" button:not(:disabled),\n    ."+a[o.LIST_ITEM_CLASS]+" a,\n    ."+a[o.LIST_ITEM_CLASS]+' input[type="radio"]:not(:disabled),\n    .'+a[o.LIST_ITEM_CLASS]+' input[type="checkbox"]:not(:disabled)\n  ',RADIO_SELECTOR:'input[type="radio"]',SELECTED_ITEM_SELECTOR:'[aria-selected="true"], [aria-current="true"]'};e.strings=c;e.numbers={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300};e.evolutionAttribute="evolution"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Corner=e.CornerBit=e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"};var i={CLOSED_EVENT:"MDCMenuSurface:closed",CLOSING_EVENT:"MDCMenuSurface:closing",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")};e.strings=i;var r,o,s,a;e.numbers={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67},(o=r=r||{})[o.BOTTOM=1]="BOTTOM",o[o.CENTER=2]="CENTER",o[o.RIGHT=4]="RIGHT",o[o.FLIP_RTL=8]="FLIP_RTL",e.CornerBit=r,(a=s=s||{})[a.TOP_LEFT=0]="TOP_LEFT",a[a.TOP_RIGHT=4]="TOP_RIGHT",a[a.BOTTOM_LEFT=1]="BOTTOM_LEFT",a[a.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",a[a.TOP_START=8]="TOP_START",a[a.TOP_END=12]="TOP_END",a[a.BOTTOM_START=9]="BOTTOM_START",a[a.BOTTOM_END=13]="BOTTOM_END",e.Corner=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.numbers=e.cssClasses=void 0;e.cssClasses={FIXED_CLASS:"mdc-top-app-bar--fixed",FIXED_SCROLLED_CLASS:"mdc-top-app-bar--fixed-scrolled",SHORT_CLASS:"mdc-top-app-bar--short",SHORT_COLLAPSED_CLASS:"mdc-top-app-bar--short-collapsed",SHORT_HAS_ACTION_ITEM_CLASS:"mdc-top-app-bar--short-has-action-item"};e.numbers={DEBOUNCE_THROTTLE_RESIZE_TIME_MS:100,MAX_TOP_APP_BAR_HEIGHT:128};e.strings={ACTION_ITEM_SELECTOR:".mdc-top-app-bar__action-item",NAVIGATION_EVENT:"MDCTopAppBar:nav",NAVIGATION_ICON_SELECTOR:".mdc-top-app-bar__navigation-icon",ROOT_SELECTOR:".mdc-top-app-bar",TITLE_SELECTOR:".mdc-top-app-bar__title"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCorrectEventName=e.getCorrectPropertyName=void 0;var s={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}},a={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};function c(t){return Boolean(t.document)&&"function"==typeof t.document.createElement}e.getCorrectPropertyName=function(t,e){if(c(t)&&e in s){var n=t.document.createElement("div"),i=s[e],r=i.standard,o=i.prefixed;return r in n.style?r:o}return e},e.getCorrectEventName=function(t,e){if(c(t)&&e in a){var n=t.document.createElement("div"),i=a[e],r=i.standard,o=i.prefixed;return i.cssProperty in n.style?r:o}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FocusTrap=void 0;var o="mdc-dom-focus-sentinel",i=(r.prototype.trapFocus=function(){var t=this.getFocusableElements(this.root);if(0===t.length)throw new Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root),this.options.skipInitialFocus||this.focusInitialElement(t,this.options.initialFocusEl)},r.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll("."+o)).forEach(function(t){t.parentElement.removeChild(t)}),!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},r.prototype.wrapTabFocus=function(e){var n=this,t=this.createSentinel(),i=this.createSentinel();t.addEventListener("focus",function(){var t=n.getFocusableElements(e);0<t.length&&t[t.length-1].focus()}),i.addEventListener("focus",function(){var t=n.getFocusableElements(e);0<t.length&&t[0].focus()}),e.insertBefore(t,e.children[0]),e.appendChild(i)},r.prototype.focusInitialElement=function(t,e){var n=0;e&&(n=Math.max(t.indexOf(e),0)),t[n].focus()},r.prototype.getFocusableElements=function(t){return[].slice.call(t.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(t){var e="true"===t.getAttribute("aria-disabled")||null!=t.getAttribute("disabled")||null!=t.getAttribute("hidden")||"true"===t.getAttribute("aria-hidden"),n=0<=t.tabIndex&&0<t.getBoundingClientRect().width&&!t.classList.contains(o)&&!e,i=!1;if(n){var r=getComputedStyle(t);i="none"===r.display||"hidden"===r.visibility}return n&&!i})},r.prototype.createSentinel=function(){var t=document.createElement("div");return t.setAttribute("tabindex","0"),t.setAttribute("aria-hidden","true"),t.classList.add(o),t},r);function r(t,e){void 0===e&&(e={}),this.root=t,this.options=e,this.elFocusedBeforeTrapFocus=null}e.FocusTrap=i},function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.InteractionTrigger=void 0,(i=e.InteractionTrigger||(e.InteractionTrigger={}))[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.CLICK=1]="CLICK",i[i.BACKSPACE_KEY=2]="BACKSPACE_KEY",i[i.DELETE_KEY=3]="DELETE_KEY",i[i.SPACEBAR_KEY=4]="SPACEBAR_KEY",i[i.ENTER_KEY=5]="ENTER_KEY",e.strings={ARIA_HIDDEN:"aria-hidden",INTERACTION_EVENT:"MDCChipTrailingAction:interaction",NAVIGATION_EVENT:"MDCChipTrailingAction:navigation",TAB_INDEX:"tabindex"}},function(t,e,n){"use strict";var i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.jumpChipKeys=e.navigationKeys=e.cssClasses=e.strings=e.EventSource=e.Direction=void 0,(i=e.Direction||(e.Direction={})).LEFT="left",i.RIGHT="right",(r=e.EventSource||(e.EventSource={})).PRIMARY="primary",r.TRAILING="trailing",r.NONE="none",e.strings={ADDED_ANNOUNCEMENT_ATTRIBUTE:"data-mdc-chip-added-announcement",ARIA_CHECKED:"aria-checked",ARROW_DOWN_KEY:"ArrowDown",ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",ARROW_UP_KEY:"ArrowUp",BACKSPACE_KEY:"Backspace",CHECKMARK_SELECTOR:".mdc-chip__checkmark",DELETE_KEY:"Delete",END_KEY:"End",ENTER_KEY:"Enter",ENTRY_ANIMATION_NAME:"mdc-chip-entry",HOME_KEY:"Home",IE_ARROW_DOWN_KEY:"Down",IE_ARROW_LEFT_KEY:"Left",IE_ARROW_RIGHT_KEY:"Right",IE_ARROW_UP_KEY:"Up",IE_DELETE_KEY:"Del",INTERACTION_EVENT:"MDCChip:interaction",LEADING_ICON_SELECTOR:".mdc-chip__icon--leading",NAVIGATION_EVENT:"MDCChip:navigation",PRIMARY_ACTION_SELECTOR:".mdc-chip__primary-action",REMOVED_ANNOUNCEMENT_ATTRIBUTE:"data-mdc-chip-removed-announcement",REMOVAL_EVENT:"MDCChip:removal",SELECTION_EVENT:"MDCChip:selection",SPACEBAR_KEY:" ",TAB_INDEX:"tabindex",TRAILING_ACTION_SELECTOR:".mdc-chip-trailing-action",TRAILING_ICON_INTERACTION_EVENT:"MDCChip:trailingIconInteraction",TRAILING_ICON_SELECTOR:".mdc-chip__icon--trailing"},e.cssClasses={CHECKMARK:"mdc-chip__checkmark",CHIP_EXIT:"mdc-chip--exit",DELETABLE:"mdc-chip--deletable",EDITABLE:"mdc-chip--editable",EDITING:"mdc-chip--editing",HIDDEN_LEADING_ICON:"mdc-chip__icon--leading-hidden",LEADING_ICON:"mdc-chip__icon--leading",PRIMARY_ACTION:"mdc-chip__primary-action",PRIMARY_ACTION_FOCUSED:"mdc-chip--primary-action-focused",SELECTED:"mdc-chip--selected",TEXT:"mdc-chip__text",TRAILING_ACTION:"mdc-chip__trailing-action",TRAILING_ICON:"mdc-chip__icon--trailing"},e.navigationKeys=new Set,e.navigationKeys.add(e.strings.ARROW_LEFT_KEY),e.navigationKeys.add(e.strings.ARROW_RIGHT_KEY),e.navigationKeys.add(e.strings.ARROW_DOWN_KEY),e.navigationKeys.add(e.strings.ARROW_UP_KEY),e.navigationKeys.add(e.strings.END_KEY),e.navigationKeys.add(e.strings.HOME_KEY),e.navigationKeys.add(e.strings.IE_ARROW_LEFT_KEY),e.navigationKeys.add(e.strings.IE_ARROW_RIGHT_KEY),e.navigationKeys.add(e.strings.IE_ARROW_DOWN_KEY),e.navigationKeys.add(e.strings.IE_ARROW_UP_KEY),e.jumpChipKeys=new Set,e.jumpChipKeys.add(e.strings.ARROW_UP_KEY),e.jumpChipKeys.add(e.strings.ARROW_DOWN_KEY),e.jumpChipKeys.add(e.strings.HOME_KEY),e.jumpChipKeys.add(e.strings.END_KEY),e.jumpChipKeys.add(e.strings.IE_ARROW_UP_KEY),e.jumpChipKeys.add(e.strings.IE_ARROW_DOWN_KEY)},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},h=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCMenuSurfaceFoundation=void 0;var s,a=n(0),C=n(8),c=(s=a.MDCFoundation,r(E,s),Object.defineProperty(E,"cssClasses",{get:function(){return C.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(E,"strings",{get:function(){return C.strings},enumerable:!1,configurable:!0}),Object.defineProperty(E,"numbers",{get:function(){return C.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(E,"Corner",{get:function(){return C.Corner},enumerable:!1,configurable:!0}),Object.defineProperty(E,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){},notifyClosing:function(){}}},enumerable:!1,configurable:!0}),E.prototype.init=function(){var t=E.cssClasses,e=t.ROOT,n=t.OPEN;if(!this.adapter.hasClass(e))throw new Error(e+" class required in root element.");this.adapter.hasClass(n)&&(this.isSurfaceOpen=!0)},E.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},E.prototype.setAnchorCorner=function(t){this.anchorCorner=t},E.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^C.CornerBit.RIGHT},E.prototype.setAnchorMargin=function(t){this.anchorMargin.top=t.top||0,this.anchorMargin.right=t.right||0,this.anchorMargin.bottom=t.bottom||0,this.anchorMargin.left=t.left||0},E.prototype.setIsHoisted=function(t){this.isHoistedElement=t},E.prototype.setFixedPosition=function(t){this.isFixedPosition=t},E.prototype.setAbsolutePosition=function(t,e){this.position.x=this.isFinite(t)?t:0,this.position.y=this.isFinite(e)?e:0},E.prototype.setIsHorizontallyCenteredOnViewport=function(t){this.isHorizontallyCenteredOnViewport=t},E.prototype.setQuickOpen=function(t){this.isQuickOpen=t},E.prototype.setMaxHeight=function(t){this.maxHeight=t},E.prototype.isOpen=function(){return this.isSurfaceOpen},E.prototype.open=function(){var t=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(E.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(E.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame(function(){t.adapter.addClass(E.cssClasses.OPEN),t.dimensions=t.adapter.getInnerDimensions(),t.autoposition(),t.openAnimationEndTimerId=setTimeout(function(){t.openAnimationEndTimerId=0,t.adapter.removeClass(E.cssClasses.ANIMATING_OPEN),t.adapter.notifyOpen()},C.numbers.TRANSITION_OPEN_DURATION)}),this.isSurfaceOpen=!0))},E.prototype.close=function(t){var e=this;if(void 0===t&&(t=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,t||this.maybeRestoreFocus(),this.adapter.removeClass(E.cssClasses.OPEN),this.adapter.removeClass(E.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(E.cssClasses.ANIMATING_CLOSED),requestAnimationFrame(function(){e.adapter.removeClass(E.cssClasses.OPEN),e.adapter.removeClass(E.cssClasses.IS_OPEN_BELOW),e.closeAnimationEndTimerId=setTimeout(function(){e.closeAnimationEndTimerId=0,e.adapter.removeClass(E.cssClasses.ANIMATING_CLOSED),e.adapter.notifyClose()},C.numbers.TRANSITION_CLOSE_DURATION)}),this.isSurfaceOpen=!1,t||this.maybeRestoreFocus()}},E.prototype.handleBodyClick=function(t){var e=t.target;this.adapter.isElementInContainer(e)||this.close()},E.prototype.handleKeydown=function(t){var e=t.keyCode;"Escape"!==t.key&&27!==e||this.close()},E.prototype.autoposition=function(){var t;this.measurements=this.getAutoLayoutmeasurements();var e=this.getoriginCorner(),n=this.getMenuSurfaceMaxHeight(e),i=this.hasBit(e,C.CornerBit.BOTTOM)?"bottom":"top",r=this.hasBit(e,C.CornerBit.RIGHT)?"right":"left",o=this.getHorizontalOriginOffset(e),s=this.getVerticalOriginOffset(e),a=this.measurements,c=a.anchorSize,u=a.surfaceSize,l=((t={})[r]=o,t[i]=s,t);c.width/u.width>C.numbers.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(r="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(l),this.adapter.setTransformOrigin(r+" "+i),this.adapter.setPosition(l),this.adapter.setMaxHeight(n?n+"px":""),this.hasBit(e,C.CornerBit.BOTTOM)||this.adapter.addClass(E.cssClasses.IS_OPEN_BELOW)},E.prototype.getAutoLayoutmeasurements=function(){var t=this.adapter.getAnchorDimensions(),e=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),i=this.adapter.getWindowScroll();return{anchorSize:t=t||{top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0},bodySize:e,surfaceSize:this.dimensions,viewportDistance:{top:t.top,right:n.width-t.right,bottom:n.height-t.bottom,left:t.left},viewportSize:n,windowScroll:i}},E.prototype.getoriginCorner=function(){var t,e,n=this.originCorner,i=this.measurements,r=i.viewportDistance,o=i.anchorSize,s=i.surfaceSize,a=E.numbers.MARGIN_TO_EDGE;!(0<(e=this.hasBit(this.anchorCorner,C.CornerBit.BOTTOM)?(t=r.top-a+this.anchorMargin.bottom,r.bottom-a-this.anchorMargin.bottom):(t=r.top-a+this.anchorMargin.top,r.bottom-a+o.height-this.anchorMargin.top))-s.height)&&e<t&&(n=this.setBit(n,C.CornerBit.BOTTOM));var c,u,l=this.adapter.isRtl(),d=this.hasBit(this.anchorCorner,C.CornerBit.FLIP_RTL),p=this.hasBit(this.anchorCorner,C.CornerBit.RIGHT)||this.hasBit(n,C.CornerBit.RIGHT),h=!1;u=(h=l&&d?!p:p)?(c=r.left+o.width+this.anchorMargin.right,r.right-this.anchorMargin.right):(c=r.left+this.anchorMargin.left,r.right+o.width-this.anchorMargin.left);var f=0<c-s.width,_=0<u-s.width,y=this.hasBit(n,C.CornerBit.FLIP_RTL)&&this.hasBit(n,C.CornerBit.RIGHT);return _&&y&&l||!f&&y?n=this.unsetBit(n,C.CornerBit.RIGHT):(f&&h&&l||f&&!h&&p||!_&&u<=c)&&(n=this.setBit(n,C.CornerBit.RIGHT)),n},E.prototype.getMenuSurfaceMaxHeight=function(t){if(0<this.maxHeight)return this.maxHeight;var e=this.measurements.viewportDistance,n=0,i=this.hasBit(t,C.CornerBit.BOTTOM),r=this.hasBit(this.anchorCorner,C.CornerBit.BOTTOM),o=E.numbers.MARGIN_TO_EDGE;return i?(n=e.top+this.anchorMargin.top-o,r||(n+=this.measurements.anchorSize.height)):(n=e.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-o,r&&(n-=this.measurements.anchorSize.height)),n},E.prototype.getHorizontalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,C.CornerBit.RIGHT),i=this.hasBit(this.anchorCorner,C.CornerBit.RIGHT);if(n){var r=i?e.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?r-(this.measurements.viewportSize.width-this.measurements.bodySize.width):r}return i?e.width-this.anchorMargin.right:this.anchorMargin.left},E.prototype.getVerticalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,C.CornerBit.BOTTOM),i=this.hasBit(this.anchorCorner,C.CornerBit.BOTTOM);return n?i?e.height-this.anchorMargin.top:-this.anchorMargin.bottom:i?e.height+this.anchorMargin.bottom:this.anchorMargin.top},E.prototype.adjustPositionForHoistedElement=function(t){var e,n,i=this.measurements,r=i.windowScroll,o=i.viewportDistance,s=i.surfaceSize,a=i.viewportSize,c=Object.keys(t);try{for(var u=h(c),l=u.next();!l.done;l=u.next()){var d=l.value,p=t[d]||0;!this.isHorizontallyCenteredOnViewport||"left"!==d&&"right"!==d?(p+=o[d],this.isFixedPosition||("top"===d?p+=r.y:"bottom"===d?p-=r.y:"left"===d?p+=r.x:p-=r.x),t[d]=p):t[d]=(a.width-s.width)/2}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}},E.prototype.maybeRestoreFocus=function(){var t=this.adapter.isFocused(),e=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(t||e)&&this.adapter.restoreFocus()},E.prototype.hasBit=function(t,e){return Boolean(t&e)},E.prototype.setBit=function(t,e){return t|e},E.prototype.unsetBit=function(t,e){return t^e},E.prototype.isFinite=function(t){return"number"==typeof t&&isFinite(t)},E);function E(t){var e=s.call(this,o(o({},E.defaultAdapter),t))||this;return e.isSurfaceOpen=!1,e.isQuickOpen=!1,e.isHoistedElement=!1,e.isFixedPosition=!1,e.isHorizontallyCenteredOnViewport=!1,e.maxHeight=0,e.openAnimationEndTimerId=0,e.closeAnimationEndTimerId=0,e.animationRequestId=0,e.anchorCorner=C.Corner.TOP_START,e.originCorner=C.Corner.TOP_START,e.anchorMargin={top:0,right:0,bottom:0,left:0},e.position={x:0,y:0},e}e.MDCMenuSurfaceFoundation=c,e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultFocusState=e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"};e.strings={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",SELECTED_EVENT:"MDCMenu:selected"};var i,r;e.numbers={FOCUS_ROOT_INDEX:-1},(r=i=i||{})[r.NONE=0]="NONE",r[r.LIST_ROOT=1]="LIST_ROOT",r[r.FIRST_ITEM=2]="FIRST_ITEM",r[r.LAST_ITEM=3]="LAST_ITEM",e.DefaultFocusState=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={CLOSING:"mdc-snackbar--closing",OPEN:"mdc-snackbar--open",OPENING:"mdc-snackbar--opening"};e.strings={ACTION_SELECTOR:".mdc-snackbar__action",ARIA_LIVE_LABEL_TEXT_ATTR:"data-mdc-snackbar-label-text",CLOSED_EVENT:"MDCSnackbar:closed",CLOSING_EVENT:"MDCSnackbar:closing",DISMISS_SELECTOR:".mdc-snackbar__dismiss",LABEL_SELECTOR:".mdc-snackbar__label",OPENED_EVENT:"MDCSnackbar:opened",OPENING_EVENT:"MDCSnackbar:opening",REASON_ACTION:"action",REASON_DISMISS:"dismiss",SURFACE_SELECTOR:".mdc-snackbar__surface"};e.numbers={DEFAULT_AUTO_DISMISS_TIMEOUT_MS:5e3,INDETERMINATE:-1,MAX_AUTO_DISMISS_TIMEOUT_MS:1e4,MIN_AUTO_DISMISS_TIMEOUT_MS:4e3,SNACKBAR_ANIMATION_CLOSE_TIME_MS:75,SNACKBAR_ANIMATION_OPEN_TIME_MS:150,ARIA_LIVE_DELAY_MS:1e3}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabIndicatorFoundation=void 0;var s,a=n(0),c=n(102),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"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}),l.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCTabIndicatorFoundation=u,e.default=u},function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.CloseReason=e.selectors=e.events=e.numbers=e.cssClasses=void 0,e.cssClasses={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},e.numbers={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},e.events={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening"},e.selectors={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"},(i=e.CloseReason||(e.CloseReason={}))[i.PRIMARY=0]="PRIMARY",i[i.SECONDARY=1]="SECONDARY",i[i.UNSPECIFIED=2]="UNSPECIFIED"},function(t,e,n){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),e.getNormalizedEventCoords=e.supportsCssVariables=void 0,e.supportsCssVariables=function(t,e){void 0===e&&(e=!1);var n,i=t.CSS;if("boolean"==typeof s&&!e)return s;if(!(i&&"function"==typeof i.supports))return!1;var r=i.supports("--css-vars","yes"),o=i.supports("(--css-vars: yes)")&&i.supports("color","#00000000");return n=r||o,e||(s=n),n},e.getNormalizedEventCoords=function(t,e,n){if(!t)return{x:0,y:0};var i,r,o=e.x,s=e.y,a=o+n.left,c=s+n.top;if("touchstart"===t.type){var u=t;i=u.changedTouches[0].pageX-a,r=u.changedTouches[0].pageY-c}else{var l=t;i=l.pageX-a,r=l.pageY-c}return{x:i,y:r}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0,e.cssClasses={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},e.strings={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},e.numbers={ANIM_END_LATCH_MS:250}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipFoundation=void 0;var s,a,c=n(0),u=n(13),l={bottom:0,height:0,left:0,right:0,top:0,width:0};(a=s=s||{})[a.SHOULD_FOCUS=0]="SHOULD_FOCUS",a[a.SHOULD_NOT_FOCUS=1]="SHOULD_NOT_FOCUS";var d,p=(d=c.MDCFoundation,r(h,d),Object.defineProperty(h,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(h,"cssClasses",{get:function(){return u.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(h,"defaultAdapter",{get:function(){return{addClass:function(){},addClassToLeadingIcon:function(){},eventTargetHasClass:function(){return!1},focusPrimaryAction:function(){},focusTrailingAction:function(){},getAttribute:function(){return null},getCheckmarkBoundingClientRect:function(){return l},getComputedStyleValue:function(){return""},getRootBoundingClientRect:function(){return l},hasClass:function(){return!1},hasLeadingIcon:function(){return!1},isRTL:function(){return!1},isTrailingActionNavigable:function(){return!1},notifyEditFinish:function(){},notifyEditStart:function(){},notifyInteraction:function(){},notifyNavigation:function(){},notifyRemoval:function(){},notifySelection:function(){},notifyTrailingIconInteraction:function(){},removeClass:function(){},removeClassFromLeadingIcon:function(){},removeTrailingActionFocus:function(){},setPrimaryActionAttr:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),h.prototype.isSelected=function(){return this.adapter.hasClass(u.cssClasses.SELECTED)},h.prototype.isEditable=function(){return this.adapter.hasClass(u.cssClasses.EDITABLE)},h.prototype.isEditing=function(){return this.adapter.hasClass(u.cssClasses.EDITING)},h.prototype.setSelected=function(t){this.setSelected_(t),this.notifySelection_(t)},h.prototype.setSelectedFromChipSet=function(t,e){this.setSelected_(t),e&&this.notifyIgnoredSelection_(t)},h.prototype.getShouldRemoveOnTrailingIconClick=function(){return this.shouldRemoveOnTrailingIconClick_},h.prototype.setShouldRemoveOnTrailingIconClick=function(t){this.shouldRemoveOnTrailingIconClick_=t},h.prototype.setShouldFocusPrimaryActionOnClick=function(t){this.shouldFocusPrimaryActionOnClick_=t},h.prototype.getDimensions=function(){function t(){return e.adapter.getRootBoundingClientRect()}var e=this;if(!this.adapter.hasLeadingIcon()){var n=e.adapter.getCheckmarkBoundingClientRect();if(n){var i=t();return{bottom:i.bottom,height:i.height,left:i.left,right:i.right,top:i.top,width:i.width+n.height}}}return t()},h.prototype.beginExit=function(){this.adapter.addClass(u.cssClasses.CHIP_EXIT)},h.prototype.handleClick=function(){this.adapter.notifyInteraction(),this.setPrimaryActionFocusable_(this.getFocusBehavior_())},h.prototype.handleDoubleClick=function(){this.isEditable()&&this.startEditing()},h.prototype.handleTransitionEnd=function(t){var e=this,n=this.adapter.eventTargetHasClass(t.target,u.cssClasses.CHIP_EXIT),i="width"===t.propertyName,r="opacity"===t.propertyName;if(n&&r){var o=this.adapter.getComputedStyleValue("width");requestAnimationFrame(function(){e.adapter.setStyleProperty("width",o),e.adapter.setStyleProperty("padding","0"),e.adapter.setStyleProperty("margin","0"),requestAnimationFrame(function(){e.adapter.setStyleProperty("width","0")})})}else{if(n&&i){this.removeFocus();var s=this.adapter.getAttribute(u.strings.REMOVED_ANNOUNCEMENT_ATTRIBUTE);this.adapter.notifyRemoval(s)}if(r){var a=this.adapter.eventTargetHasClass(t.target,u.cssClasses.LEADING_ICON)&&this.adapter.hasClass(u.cssClasses.SELECTED),c=this.adapter.eventTargetHasClass(t.target,u.cssClasses.CHECKMARK)&&!this.adapter.hasClass(u.cssClasses.SELECTED);a?this.adapter.addClassToLeadingIcon(u.cssClasses.HIDDEN_LEADING_ICON):c&&this.adapter.removeClassFromLeadingIcon(u.cssClasses.HIDDEN_LEADING_ICON)}}},h.prototype.handleFocusIn=function(t){this.eventFromPrimaryAction_(t)&&this.adapter.addClass(u.cssClasses.PRIMARY_ACTION_FOCUSED)},h.prototype.handleFocusOut=function(t){this.eventFromPrimaryAction_(t)&&(this.isEditing()&&this.finishEditing(),this.adapter.removeClass(u.cssClasses.PRIMARY_ACTION_FOCUSED))},h.prototype.handleTrailingActionInteraction=function(){this.adapter.notifyTrailingIconInteraction(),this.removeChip_()},h.prototype.handleKeydown=function(t){if(!this.isEditing())return this.isEditable()&&this.shouldStartEditing(t)&&(t.preventDefault(),this.startEditing()),this.shouldNotifyInteraction_(t)?(this.adapter.notifyInteraction(),void this.setPrimaryActionFocusable_(this.getFocusBehavior_())):this.isDeleteAction_(t)?(t.preventDefault(),void this.removeChip_()):void(u.navigationKeys.has(t.key)&&(t.preventDefault(),this.focusNextAction_(t.key,u.EventSource.PRIMARY)));this.shouldFinishEditing(t)&&(t.preventDefault(),this.finishEditing())},h.prototype.handleTrailingActionNavigation=function(t){return this.focusNextAction_(t.detail.key,u.EventSource.TRAILING)},h.prototype.removeFocus=function(){this.adapter.setPrimaryActionAttr(u.strings.TAB_INDEX,"-1"),this.adapter.removeTrailingActionFocus()},h.prototype.focusPrimaryAction=function(){this.setPrimaryActionFocusable_(s.SHOULD_FOCUS)},h.prototype.focusTrailingAction=function(){if(this.adapter.isTrailingActionNavigable())return this.adapter.setPrimaryActionAttr(u.strings.TAB_INDEX,"-1"),void this.adapter.focusTrailingAction();this.focusPrimaryAction()},h.prototype.setPrimaryActionFocusable_=function(t){this.adapter.setPrimaryActionAttr(u.strings.TAB_INDEX,"0"),t===s.SHOULD_FOCUS&&this.adapter.focusPrimaryAction(),this.adapter.removeTrailingActionFocus()},h.prototype.getFocusBehavior_=function(){return this.shouldFocusPrimaryActionOnClick_?s.SHOULD_FOCUS:s.SHOULD_NOT_FOCUS},h.prototype.focusNextAction_=function(t,e){var n=this.adapter.isTrailingActionNavigable(),i=this.getDirection_(t);return u.jumpChipKeys.has(t)||!n?this.adapter.notifyNavigation(t,e):e===u.EventSource.PRIMARY&&i===u.Direction.RIGHT?this.focusTrailingAction():e===u.EventSource.TRAILING&&i===u.Direction.LEFT?this.focusPrimaryAction():void this.adapter.notifyNavigation(t,u.EventSource.NONE)},h.prototype.getDirection_=function(t){var e=this.adapter.isRTL(),n=t===u.strings.ARROW_LEFT_KEY||t===u.strings.IE_ARROW_LEFT_KEY,i=t===u.strings.ARROW_RIGHT_KEY||t===u.strings.IE_ARROW_RIGHT_KEY;return!e&&n||e&&i?u.Direction.LEFT:u.Direction.RIGHT},h.prototype.removeChip_=function(){this.shouldRemoveOnTrailingIconClick_&&this.beginExit()},h.prototype.shouldStartEditing=function(t){return this.eventFromPrimaryAction_(t)&&t.key===u.strings.ENTER_KEY},h.prototype.shouldFinishEditing=function(t){return t.key===u.strings.ENTER_KEY},h.prototype.shouldNotifyInteraction_=function(t){return t.key===u.strings.ENTER_KEY||t.key===u.strings.SPACEBAR_KEY},h.prototype.isDeleteAction_=function(t){return this.adapter.hasClass(u.cssClasses.DELETABLE)&&(t.key===u.strings.BACKSPACE_KEY||t.key===u.strings.DELETE_KEY||t.key===u.strings.IE_DELETE_KEY)},h.prototype.setSelected_=function(t){t?(this.adapter.addClass(u.cssClasses.SELECTED),this.adapter.setPrimaryActionAttr(u.strings.ARIA_CHECKED,"true")):(this.adapter.removeClass(u.cssClasses.SELECTED),this.adapter.setPrimaryActionAttr(u.strings.ARIA_CHECKED,"false"))},h.prototype.notifySelection_=function(t){this.adapter.notifySelection(t,!1)},h.prototype.notifyIgnoredSelection_=function(t){this.adapter.notifySelection(t,!0)},h.prototype.eventFromPrimaryAction_=function(t){return this.adapter.eventTargetHasClass(t.target,u.cssClasses.PRIMARY_ACTION)},h.prototype.startEditing=function(){this.adapter.addClass(u.cssClasses.EDITING),this.adapter.notifyEditStart()},h.prototype.finishEditing=function(){this.adapter.removeClass(u.cssClasses.EDITING),this.adapter.notifyEditFinish()},h);function h(t){var e=d.call(this,o(o({},h.defaultAdapter),t))||this;return e.shouldRemoveOnTrailingIconClick_=!0,e.shouldFocusPrimaryActionOnClick_=!0,e}e.MDCChipFoundation=p,e.default=p},function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.events=e.SortValue=e.strings=e.messages=e.selectors=e.dataAttributes=e.attributes=e.cssClasses=void 0,e.cssClasses={CELL:"mdc-data-table__cell",CELL_NUMERIC:"mdc-data-table__cell--numeric",CONTENT:"mdc-data-table__content",HEADER_CELL:"mdc-data-table__header-cell",HEADER_CELL_LABEL:"mdc-data-table__header-cell-label",HEADER_CELL_SORTED:"mdc-data-table__header-cell--sorted",HEADER_CELL_SORTED_DESCENDING:"mdc-data-table__header-cell--sorted-descending",HEADER_CELL_WITH_SORT:"mdc-data-table__header-cell--with-sort",HEADER_CELL_WRAPPER:"mdc-data-table__header-cell-wrapper",HEADER_ROW:"mdc-data-table__header-row",HEADER_ROW_CHECKBOX:"mdc-data-table__header-row-checkbox",IN_PROGRESS:"mdc-data-table--in-progress",LINEAR_PROGRESS:"mdc-data-table__linear-progress",PAGINATION_ROWS_PER_PAGE_LABEL:"mdc-data-table__pagination-rows-per-page-label",PAGINATION_ROWS_PER_PAGE_SELECT:"mdc-data-table__pagination-rows-per-page-select",PROGRESS_INDICATOR:"mdc-data-table__progress-indicator",ROOT:"mdc-data-table",ROW:"mdc-data-table__row",ROW_CHECKBOX:"mdc-data-table__row-checkbox",ROW_SELECTED:"mdc-data-table__row--selected",SORT_ICON_BUTTON:"mdc-data-table__sort-icon-button",SORT_STATUS_LABEL:"mdc-data-table__sort-status-label",TABLE_CONTAINER:"mdc-data-table__table-container"},e.attributes={ARIA_SELECTED:"aria-selected",ARIA_SORT:"aria-sort"},e.dataAttributes={COLUMN_ID:"data-column-id",ROW_ID:"data-row-id"},e.selectors={CONTENT:"."+e.cssClasses.CONTENT,HEADER_CELL:"."+e.cssClasses.HEADER_CELL,HEADER_CELL_WITH_SORT:"."+e.cssClasses.HEADER_CELL_WITH_SORT,HEADER_ROW:"."+e.cssClasses.HEADER_ROW,HEADER_ROW_CHECKBOX:"."+e.cssClasses.HEADER_ROW_CHECKBOX,PROGRESS_INDICATOR:"."+e.cssClasses.PROGRESS_INDICATOR,ROW:"."+e.cssClasses.ROW,ROW_CHECKBOX:"."+e.cssClasses.ROW_CHECKBOX,ROW_SELECTED:"."+e.cssClasses.ROW_SELECTED,SORT_ICON_BUTTON:"."+e.cssClasses.SORT_ICON_BUTTON,SORT_STATUS_LABEL:"."+e.cssClasses.SORT_STATUS_LABEL},e.messages={SORTED_IN_DESCENDING:"Sorted in descending order",SORTED_IN_ASCENDING:"Sorted in ascending order"},e.strings={ARIA_SELECTED:e.attributes.ARIA_SELECTED,ARIA_SORT:e.attributes.ARIA_SORT,DATA_ROW_ID_ATTR:e.dataAttributes.ROW_ID,HEADER_ROW_CHECKBOX_SELECTOR:e.selectors.HEADER_ROW_CHECKBOX,ROW_CHECKBOX_SELECTOR:e.selectors.ROW_CHECKBOX,ROW_SELECTED_SELECTOR:e.selectors.ROW_SELECTED,ROW_SELECTOR:e.selectors.ROW},(i=e.SortValue||(e.SortValue={})).ASCENDING="ascending",i.DESCENDING="descending",i.NONE="none",i.OTHER="other",e.events={ROW_SELECTION_CHANGED:"MDCDataTable:rowSelectionChanged",SELECTED_ALL:"MDCDataTable:selectedAll",UNSELECTED_ALL:"MDCDataTable:unselectedAll",SORTED:"MDCDataTable:sorted"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnimationFrame=void 0;var i=(r.prototype.request=function(e,n){var i=this;this.cancel(e);var t=requestAnimationFrame(function(t){i.rafIDs.delete(e),n(t)});this.rafIDs.set(e,t)},r.prototype.cancel=function(t){var e=this.rafIDs.get(t);e&&(cancelAnimationFrame(e),this.rafIDs.delete(t))},r.prototype.cancelAll=function(){var n=this;this.rafIDs.forEach(function(t,e){n.cancel(e)})},r.prototype.getQueue=function(){var n=[];return this.rafIDs.forEach(function(t,e){n.push(e)}),n},r);function r(){this.rafIDs=new Map}e.AnimationFrame=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCList=void 0;var o,s=n(1),a=n(2),c=n(7),u=n(25),l=(o=s.MDCComponent,r(d,o),Object.defineProperty(d.prototype,"vertical",{set:function(t){this.foundation.setVerticalOrientation(t)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"listElements",{get:function(){return Array.from(this.root.querySelectorAll("."+this.classNameMap[c.cssClasses.LIST_ITEM_CLASS]))},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"wrapFocus",{set:function(t){this.foundation.setWrapFocus(t)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"hasTypeahead",{set:function(t){this.foundation.setHasTypeahead(t)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"singleSelection",{set:function(t){this.foundation.setSingleSelection(t)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t)},enumerable:!1,configurable:!0}),d.attachTo=function(t){return new d(t)},d.prototype.initialSyncWithDOM=function(){this.isEvolutionEnabled=c.evolutionAttribute in this.root.dataset,this.isEvolutionEnabled?this.classNameMap=c.evolutionClassNameMap:a.matches(this.root,c.strings.DEPRECATED_SELECTOR)?this.classNameMap=c.deprecatedClassNameMap:this.classNameMap=Object.values(c.cssClasses).reduce(function(t,e){return t[e]=e,t},{}),this.handleClick=this.handleClickEvent.bind(this),this.handleKeydown=this.handleKeydownEvent.bind(this),this.focusInEventListener=this.handleFocusInEvent.bind(this),this.focusOutEventListener=this.handleFocusOutEvent.bind(this),this.listen("keydown",this.handleKeydown),this.listen("click",this.handleClick),this.listen("focusin",this.focusInEventListener),this.listen("focusout",this.focusOutEventListener),this.layout(),this.initializeListType(),this.ensureFocusable()},d.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten("click",this.handleClick),this.unlisten("focusin",this.focusInEventListener),this.unlisten("focusout",this.focusOutEventListener)},d.prototype.layout=function(){var t=this.root.getAttribute(c.strings.ARIA_ORIENTATION);this.vertical=t!==c.strings.ARIA_ORIENTATION_HORIZONTAL;var e="."+this.classNameMap[c.cssClasses.LIST_ITEM_CLASS]+":not([tabindex])",n=c.strings.FOCUSABLE_CHILD_ELEMENTS,i=this.root.querySelectorAll(e);i.length&&Array.prototype.forEach.call(i,function(t){t.setAttribute("tabindex","-1")});var r=this.root.querySelectorAll(n);r.length&&Array.prototype.forEach.call(r,function(t){t.setAttribute("tabindex","-1")}),this.isEvolutionEnabled&&this.foundation.setUseSelectedAttribute(!0),this.foundation.layout()},d.prototype.getPrimaryText=function(t){var e,n=t.querySelector("."+this.classNameMap[c.cssClasses.LIST_ITEM_PRIMARY_TEXT_CLASS]);if(this.isEvolutionEnabled||n)return null!==(e=null==n?void 0:n.textContent)&&void 0!==e?e:"";var i=t.querySelector("."+this.classNameMap[c.cssClasses.LIST_ITEM_TEXT_CLASS]);return i&&i.textContent||""},d.prototype.initializeListType=function(){var e=this;if(this.isInteractive=a.matches(this.root,c.strings.ARIA_INTERACTIVE_ROLES_SELECTOR),this.isEvolutionEnabled&&this.isInteractive){var t=Array.from(this.root.querySelectorAll(c.strings.SELECTED_ITEM_SELECTOR),function(t){return e.listElements.indexOf(t)});a.matches(this.root,c.strings.ARIA_MULTI_SELECTABLE_SELECTOR)?this.selectedIndex=t:0<t.length&&(this.selectedIndex=t[0])}else{var n=this.root.querySelectorAll(c.strings.ARIA_ROLE_CHECKBOX_SELECTOR),i=this.root.querySelector(c.strings.ARIA_CHECKED_RADIO_SELECTOR);if(n.length){var r=this.root.querySelectorAll(c.strings.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=Array.from(r,function(t){return e.listElements.indexOf(t)})}else i&&(this.selectedIndex=this.listElements.indexOf(i))}},d.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},d.prototype.typeaheadMatchItem=function(t,e){return this.foundation.typeaheadMatchItem(t,e,!0)},d.prototype.getDefaultFoundation=function(){var r=this,t={addClassForElementIndex:function(t,e){var n=r.listElements[t];n&&n.classList.add(r.classNameMap[e])},focusItemAtIndex:function(t){var e=r.listElements[t];e&&e.focus()},getAttributeForElementIndex:function(t,e){return r.listElements[t].getAttribute(e)},getFocusedElementIndex:function(){return r.listElements.indexOf(document.activeElement)},getListItemCount:function(){return r.listElements.length},getPrimaryTextAtIndex:function(t){return r.getPrimaryText(r.listElements[t])},hasCheckboxAtIndex:function(t){return!!r.listElements[t].querySelector(c.strings.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!r.listElements[t].querySelector(c.strings.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){return r.listElements[t].querySelector(c.strings.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return r.root!==document.activeElement&&r.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===r.root},listItemAtIndexHasClass:function(t,e){return r.listElements[t].classList.contains(r.classNameMap[e])},notifyAction:function(t){r.emit(c.strings.ACTION_EVENT,{index:t},!0)},removeClassForElementIndex:function(t,e){var n=r.listElements[t];n&&n.classList.remove(r.classNameMap[e])},setAttributeForElementIndex:function(t,e,n){var i=r.listElements[t];i&&i.setAttribute(e,n)},setCheckedCheckboxOrRadioAtIndex:function(t,e){var n=r.listElements[t].querySelector(c.strings.CHECKBOX_RADIO_SELECTOR);n.checked=e;var i=document.createEvent("Event");i.initEvent("change",!0,!0),n.dispatchEvent(i)},setTabIndexForListItemChildren:function(t,e){var n=r.listElements[t],i=c.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;Array.prototype.forEach.call(n.querySelectorAll(i),function(t){t.setAttribute("tabindex",e)})}};return new u.MDCListFoundation(t)},d.prototype.ensureFocusable=function(){if(this.isEvolutionEnabled&&this.isInteractive&&!this.root.querySelector("."+this.classNameMap[c.cssClasses.LIST_ITEM_CLASS]+'[tabindex="0"]')){var t=this.initialFocusIndex();-1!==t&&(this.listElements[t].tabIndex=0)}},d.prototype.initialFocusIndex=function(){if(this.selectedIndex instanceof Array&&0<this.selectedIndex.length)return this.selectedIndex[0];if("number"==typeof this.selectedIndex&&this.selectedIndex!==c.numbers.UNSET_INDEX)return this.selectedIndex;var t=this.root.querySelector("."+this.classNameMap[c.cssClasses.LIST_ITEM_CLASS]+":not(."+this.classNameMap[c.cssClasses.LIST_ITEM_DISABLED_CLASS]+")");return null===t?-1:this.getListItemIndex(t)},d.prototype.getListItemIndex=function(t){var e=a.closest(t,"."+this.classNameMap[c.cssClasses.LIST_ITEM_CLASS]+", ."+this.classNameMap[c.cssClasses.ROOT]);return e&&a.matches(e,"."+this.classNameMap[c.cssClasses.LIST_ITEM_CLASS])?this.listElements.indexOf(e):-1},d.prototype.handleFocusInEvent=function(t){var e=this.getListItemIndex(t.target);this.foundation.handleFocusIn(t,e)},d.prototype.handleFocusOutEvent=function(t){var e=this.getListItemIndex(t.target);this.foundation.handleFocusOut(t,e)},d.prototype.handleKeydownEvent=function(t){var e=this.getListItemIndex(t.target),n=t.target;this.foundation.handleKeydown(t,n.classList.contains(this.classNameMap[c.cssClasses.LIST_ITEM_CLASS]),e)},d.prototype.handleClickEvent=function(t){var e=this.getListItemIndex(t.target),n=t.target,i=!a.matches(n,c.strings.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(e,i)},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCList=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),a=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&s(e,t,n);return a(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCListFoundation=void 0;var u=n(0),y=n(6),C=n(7),E=n(63),g=c(n(154));var l,d=(l=u.MDCFoundation,r(p,l),Object.defineProperty(p,"strings",{get:function(){return C.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"cssClasses",{get:function(){return C.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"numbers",{get:function(){return C.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!1,configurable:!0}),p.prototype.layout=function(){0!==this.adapter.getListItemCount()&&(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList_=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))},p.prototype.setWrapFocus=function(t){this.wrapFocus_=t},p.prototype.setVerticalOrientation=function(t){this.isVertical_=t},p.prototype.setSingleSelection=function(t){(this.isSingleSelectionList_=t)&&this.maybeInitializeSingleSelection()},p.prototype.maybeInitializeSingleSelection=function(){for(var t=this.adapter.getListItemCount(),e=0;e<t;e++){var n=this.adapter.listItemAtIndexHasClass(e,C.cssClasses.LIST_ITEM_SELECTED_CLASS),i=this.adapter.listItemAtIndexHasClass(e,C.cssClasses.LIST_ITEM_ACTIVATED_CLASS);if(n||i)return i&&this.setUseActivatedClass(!0),this.isSingleSelectionList_=!0,void(this.selectedIndex_=e)}},p.prototype.setHasTypeahead=function(t){(this.hasTypeahead=t)&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex())},p.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&g.isTypingInProgress(this.typeaheadState)},p.prototype.setUseActivatedClass=function(t){this.useActivatedClass_=t},p.prototype.setUseSelectedAttribute=function(t){this.useSelectedAttr_=t},p.prototype.getSelectedIndex=function(){return this.selectedIndex_},p.prototype.setSelectedIndex=function(t){this.isIndexValid_(t)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(t):this.isRadioList_?this.setRadioAtIndex_(t):this.setSingleSelectionAtIndex_(t))},p.prototype.handleFocusIn=function(t,e){0<=e&&(this.focusedItemIndex=e,this.adapter.setAttributeForElementIndex(e,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(e,"0"))},p.prototype.handleFocusOut=function(t,e){var n=this;0<=e&&(this.adapter.setAttributeForElementIndex(e,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(e,"-1")),setTimeout(function(){n.adapter.isFocusInsideList()||n.setTabindexToFirstSelectedOrFocusedItem()},0)},p.prototype.handleKeydown=function(t,e,n){var i=this,r="ArrowLeft"===y.normalizeKey(t),o="ArrowUp"===y.normalizeKey(t),s="ArrowRight"===y.normalizeKey(t),a="ArrowDown"===y.normalizeKey(t),c="Home"===y.normalizeKey(t),u="End"===y.normalizeKey(t),l="Enter"===y.normalizeKey(t),d="Spacebar"===y.normalizeKey(t),p="A"===t.key||"a"===t.key;if(this.adapter.isRootFocused()){if(o||u?(t.preventDefault(),this.focusLastElement()):(a||c)&&(t.preventDefault(),this.focusFirstElement()),this.hasTypeahead){var h={event:t,focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:-1,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,C.cssClasses.LIST_ITEM_DISABLED_CLASS)}};g.handleKeydown(h,this.typeaheadState)}}else{var f=this.adapter.getFocusedElementIndex();if(!(-1===f&&(f=n)<0)){if(this.isVertical_&&a||!this.isVertical_&&s)E.preventDefaultEvent(t),this.focusNextElement(f);else if(this.isVertical_&&o||!this.isVertical_&&r)E.preventDefaultEvent(t),this.focusPrevElement(f);else if(c)E.preventDefaultEvent(t),this.focusFirstElement();else if(u)E.preventDefaultEvent(t),this.focusLastElement();else if(p&&t.ctrlKey&&this.isCheckboxList_)t.preventDefault(),this.toggleAll(this.selectedIndex_===C.numbers.UNSET_INDEX?[]:this.selectedIndex_);else if((l||d)&&e){var _=t.target;if(_&&"A"===_.tagName&&l)return;if(E.preventDefaultEvent(t),this.adapter.listItemAtIndexHasClass(f,C.cssClasses.LIST_ITEM_DISABLED_CLASS))return;this.isTypeaheadInProgress()||(this.isSelectableList_()&&this.setSelectedIndexOnAction_(f),this.adapter.notifyAction(f))}this.hasTypeahead&&(h={event:t,focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,C.cssClasses.LIST_ITEM_DISABLED_CLASS)}},g.handleKeydown(h,this.typeaheadState))}}},p.prototype.handleClick=function(t,e){t!==C.numbers.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(t,C.cssClasses.LIST_ITEM_DISABLED_CLASS)||(this.isSelectableList_()&&this.setSelectedIndexOnAction_(t,e),this.adapter.notifyAction(t)))},p.prototype.focusNextElement=function(t){var e=t+1;if(this.adapter.getListItemCount()<=e){if(!this.wrapFocus_)return t;e=0}return this.focusItemAtIndex(e),e},p.prototype.focusPrevElement=function(t){var e=t-1;if(e<0){if(!this.wrapFocus_)return t;e=this.adapter.getListItemCount()-1}return this.focusItemAtIndex(e),e},p.prototype.focusFirstElement=function(){return this.focusItemAtIndex(0),0},p.prototype.focusLastElement=function(){var t=this.adapter.getListItemCount()-1;return this.focusItemAtIndex(t),t},p.prototype.focusInitialElement=function(){var t=this.getFirstSelectedOrFocusedItemIndex();return this.focusItemAtIndex(t),t},p.prototype.setEnabled=function(t,e){this.isIndexValid_(t)&&(e?(this.adapter.removeClassForElementIndex(t,C.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,C.strings.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(t,C.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,C.strings.ARIA_DISABLED,"true")))},p.prototype.setSingleSelectionAtIndex_=function(t){if(this.selectedIndex_!==t){var e=C.cssClasses.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(e=C.cssClasses.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==C.numbers.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex_,e),this.setAriaForSingleSelectionAtIndex_(t),this.setTabindexAtIndex(t),t!==C.numbers.UNSET_INDEX&&this.adapter.addClassForElementIndex(t,e),this.selectedIndex_=t}},p.prototype.setAriaForSingleSelectionAtIndex_=function(t){this.selectedIndex_===C.numbers.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter.getAttributeForElementIndex(t,C.strings.ARIA_CURRENT));var e=null!==this.ariaCurrentAttrValue_,n=e?C.strings.ARIA_CURRENT:C.strings.ARIA_SELECTED;if(this.selectedIndex_!==C.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,n,"false"),t!==C.numbers.UNSET_INDEX){var i=e?this.ariaCurrentAttrValue_:"true";this.adapter.setAttributeForElementIndex(t,n,i)}},p.prototype.getSelectionAttribute=function(){return this.useSelectedAttr_?C.strings.ARIA_SELECTED:C.strings.ARIA_CHECKED},p.prototype.setRadioAtIndex_=function(t){var e=this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(t,!0),this.selectedIndex_!==C.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,e,"false"),this.adapter.setAttributeForElementIndex(t,e,"true"),this.selectedIndex_=t},p.prototype.setCheckboxAtIndex_=function(t){for(var e=this.getSelectionAttribute(),n=0;n<this.adapter.getListItemCount();n++){var i=!1;0<=t.indexOf(n)&&(i=!0),this.adapter.setCheckedCheckboxOrRadioAtIndex(n,i),this.adapter.setAttributeForElementIndex(n,e,i?"true":"false")}this.selectedIndex_=t},p.prototype.setTabindexAtIndex=function(t){this.focusedItemIndex===C.numbers.UNSET_INDEX&&0!==t?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):0<=this.focusedItemIndex&&this.focusedItemIndex!==t&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1"),this.selectedIndex_ instanceof Array||this.selectedIndex_===t||this.adapter.setAttributeForElementIndex(this.selectedIndex_,"tabindex","-1"),t!==C.numbers.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(t,"tabindex","0")},p.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},p.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var t=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(t)},p.prototype.getFirstSelectedOrFocusedItemIndex=function(){var t=0<=this.focusedItemIndex?this.focusedItemIndex:0;return this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==C.numbers.UNSET_INDEX?t=this.selectedIndex_:function(t){return t instanceof Array}(this.selectedIndex_)&&0<this.selectedIndex_.length&&(t=this.selectedIndex_.reduce(function(t,e){return Math.min(t,e)}))),t},p.prototype.isIndexValid_=function(t){var e=this;if(t instanceof Array){if(!this.isCheckboxList_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===t.length||t.some(function(t){return e.isIndexInRange_(t)})}if("number"!=typeof t)return!1;if(this.isCheckboxList_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+t);return this.isIndexInRange_(t)||this.isSingleSelectionList_&&t===C.numbers.UNSET_INDEX},p.prototype.isIndexInRange_=function(t){var e=this.adapter.getListItemCount();return 0<=t&&t<e},p.prototype.setSelectedIndexOnAction_=function(t,e){void 0===e&&(e=!0),this.isCheckboxList_?this.toggleCheckboxAtIndex_(t,e):this.setSelectedIndex(t)},p.prototype.toggleCheckboxAtIndex_=function(e,t){var n=this.getSelectionAttribute(),i=this.adapter.isCheckboxCheckedAtIndex(e);t&&(i=!i,this.adapter.setCheckedCheckboxOrRadioAtIndex(e,i)),this.adapter.setAttributeForElementIndex(e,n,i?"true":"false");var r=this.selectedIndex_===C.numbers.UNSET_INDEX?[]:this.selectedIndex_.slice();i?r.push(e):r=r.filter(function(t){return t!==e}),this.selectedIndex_=r},p.prototype.focusItemAtIndex=function(t){this.adapter.focusItemAtIndex(t),this.focusedItemIndex=t},p.prototype.toggleAll=function(t){var e=this.adapter.getListItemCount();if(t.length===e)this.setCheckboxAtIndex_([]);else{for(var n=[],i=0;i<e;i++)(!this.adapter.listItemAtIndexHasClass(i,C.cssClasses.LIST_ITEM_DISABLED_CLASS)||-1<t.indexOf(i))&&n.push(i);this.setCheckboxAtIndex_(n)}},p.prototype.typeaheadMatchItem=function(t,e,n){var i=this;void 0===n&&(n=!1);var r={focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:e||this.focusedItemIndex,nextChar:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:n,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,C.cssClasses.LIST_ITEM_DISABLED_CLASS)}};return g.matchItem(r,this.typeaheadState)},p.prototype.typeaheadInitSortedIndex=function(){return g.initSortedIndex(this.adapter.getListItemCount(),this.adapter.getPrimaryTextAtIndex)},p.prototype.clearTypeaheadBuffer=function(){g.clearBuffer(this.typeaheadState)},p);function p(t){var e=l.call(this,o(o({},p.defaultAdapter),t))||this;return e.wrapFocus_=!1,e.isVertical_=!0,e.isSingleSelectionList_=!1,e.selectedIndex_=C.numbers.UNSET_INDEX,e.focusedItemIndex=C.numbers.UNSET_INDEX,e.useActivatedClass_=!1,e.useSelectedAttr_=!1,e.ariaCurrentAttrValue_=null,e.isCheckboxList_=!1,e.isRadioList_=!1,e.hasTypeahead=!1,e.typeaheadState=g.initState(),e.sortedIndexByFirstChar=new Map,e}e.MDCListFoundation=d,e.default=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDismissibleDrawerFoundation=void 0;var s,a=n(0),c=n(64),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},elementHasClass:function(){return!1},notifyClose:function(){},notifyOpen:function(){},saveFocus:function(){},restoreFocus:function(){},focusActiveNavigationItem:function(){},trapFocus:function(){},releaseFocus:function(){}}},enumerable:!1,configurable:!0}),l.prototype.destroy=function(){this.animationFrame_&&cancelAnimationFrame(this.animationFrame_),this.animationTimer_&&clearTimeout(this.animationTimer_)},l.prototype.open=function(){var t=this;this.isOpen()||this.isOpening()||this.isClosing()||(this.adapter.addClass(c.cssClasses.OPEN),this.adapter.addClass(c.cssClasses.ANIMATE),this.runNextAnimationFrame_(function(){t.adapter.addClass(c.cssClasses.OPENING)}),this.adapter.saveFocus())},l.prototype.close=function(){!this.isOpen()||this.isOpening()||this.isClosing()||this.adapter.addClass(c.cssClasses.CLOSING)},l.prototype.isOpen=function(){return this.adapter.hasClass(c.cssClasses.OPEN)},l.prototype.isOpening=function(){return this.adapter.hasClass(c.cssClasses.OPENING)||this.adapter.hasClass(c.cssClasses.ANIMATE)},l.prototype.isClosing=function(){return this.adapter.hasClass(c.cssClasses.CLOSING)},l.prototype.handleKeydown=function(t){var e=t.keyCode;"Escape"!==t.key&&27!==e||this.close()},l.prototype.handleTransitionEnd=function(t){var e=c.cssClasses.OPENING,n=c.cssClasses.CLOSING,i=c.cssClasses.OPEN,r=c.cssClasses.ANIMATE,o=c.cssClasses.ROOT;this.isElement_(t.target)&&this.adapter.elementHasClass(t.target,o)&&(this.isClosing()?(this.adapter.removeClass(i),this.closed_(),this.adapter.restoreFocus(),this.adapter.notifyClose()):(this.adapter.focusActiveNavigationItem(),this.opened_(),this.adapter.notifyOpen()),this.adapter.removeClass(r),this.adapter.removeClass(e),this.adapter.removeClass(n))},l.prototype.opened_=function(){},l.prototype.closed_=function(){},l.prototype.runNextAnimationFrame_=function(t){var e=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame(function(){e.animationFrame_=0,clearTimeout(e.animationTimer_),e.animationTimer_=setTimeout(t,0)})},l.prototype.isElement_=function(t){return Boolean(t.classList)},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.animationFrame_=0,e.animationTimer_=0,e}e.MDCDismissibleDrawerFoundation=u,e.default=u},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFloatingLabel=void 0;var o,s=n(1),a=n(2),c=n(28),u=(o=s.MDCComponent,r(l,o),l.attachTo=function(t){return new l(t)},l.prototype.shake=function(t){this.foundation.shake(t)},l.prototype.float=function(t){this.foundation.float(t)},l.prototype.setRequired=function(t){this.foundation.setRequired(t)},l.prototype.getWidth=function(){return this.foundation.getWidth()},l.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},getWidth:function(){return a.estimateScrollWidth(n.root)},registerInteractionHandler:function(t,e){return n.listen(t,e)},deregisterInteractionHandler:function(t,e){return n.unlisten(t,e)}};return new c.MDCFloatingLabelFoundation(t)},l);function l(){return null!==o&&o.apply(this,arguments)||this}e.MDCFloatingLabel=u},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFloatingLabelFoundation=void 0;var s,a=n(0),c=n(66),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),l.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},l.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},l.prototype.getWidth=function(){return this.adapter.getWidth()},l.prototype.shake=function(t){var e=l.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(e):this.adapter.removeClass(e)},l.prototype.float=function(t){var e=l.cssClasses,n=e.LABEL_FLOAT_ABOVE,i=e.LABEL_SHAKE;t?this.adapter.addClass(n):(this.adapter.removeClass(n),this.adapter.removeClass(i))},l.prototype.setRequired=function(t){var e=l.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},l.prototype.handleShakeAnimationEnd_=function(){var t=l.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.shakeAnimationEndHandler_=function(){return e.handleShakeAnimationEnd_()},e}e.MDCFloatingLabelFoundation=u,e.default=u},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCLineRipple=void 0;var o,s=n(1),a=n(71),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},u.prototype.activate=function(){this.foundation.activate()},u.prototype.deactivate=function(){this.foundation.deactivate()},u.prototype.setRippleCenter=function(t){this.foundation.setRippleCenter(t)},u.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},setStyle:function(t,e){return n.root.style.setProperty(t,e)},registerEventHandler:function(t,e){return n.listen(t,e)},deregisterEventHandler:function(t,e){return n.unlisten(t,e)}};return new a.MDCLineRippleFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCLineRipple=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCNotchedOutline=void 0;var o,s=n(1),a=n(28),c=n(31),u=n(76),l=(o=s.MDCComponent,r(d,o),d.attachTo=function(t){return new d(t)},d.prototype.initialSyncWithDOM=function(){this.notchElement_=this.root.querySelector(c.strings.NOTCH_ELEMENT_SELECTOR);var t=this.root.querySelector("."+a.MDCFloatingLabelFoundation.cssClasses.ROOT);t?(t.style.transitionDuration="0s",this.root.classList.add(c.cssClasses.OUTLINE_UPGRADED),requestAnimationFrame(function(){t.style.transitionDuration=""})):this.root.classList.add(c.cssClasses.NO_LABEL)},d.prototype.notch=function(t){this.foundation.notch(t)},d.prototype.closeNotch=function(){this.foundation.closeNotch()},d.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},setNotchWidthProperty:function(t){return e.notchElement_.style.setProperty("width",t+"px")},removeNotchWidthProperty:function(){return e.notchElement_.style.removeProperty("width")}};return new u.MDCNotchedOutlineFoundation(t)},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCNotchedOutline=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.numbers=e.cssClasses=void 0;e.strings={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"};e.numbers={NOTCH_ELEMENT_PADDING:8};e.cssClasses={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0;e.cssClasses={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"};e.strings={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"};e.numbers={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.events=e.attributes=e.numbers=e.cssClasses=void 0,e.cssClasses={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active",TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"},e.numbers={STEP_SIZE:1,THUMB_UPDATE_MIN_PX:5},e.attributes={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step"},e.events={CHANGE:"MDCSlider:change",INPUT:"MDCSlider:input"}},function(t,e,n){"use strict";var i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.Thumb=e.TickMark=void 0,(i=e.TickMark||(e.TickMark={}))[i.ACTIVE=0]="ACTIVE",i[i.INACTIVE=1]="INACTIVE",(r=e.Thumb||(e.Thumb={}))[r.START=1]="START",r[r.END=2]="END"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0;e.cssClasses={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"};e.strings={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabScrollerRTL=void 0;function i(t){this.adapter=t}e.MDCTabScrollerRTL=i,e.default=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabFoundation=void 0;var s,a=n(0),c=n(104),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"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}),l.prototype.handleClick=function(){this.adapter.notifyInteracted()},l.prototype.isActive=function(){return this.adapter.hasClass(c.cssClasses.ACTIVE)},l.prototype.setFocusOnActivate=function(t){this.focusOnActivate_=t},l.prototype.activate=function(t){this.adapter.addClass(c.cssClasses.ACTIVE),this.adapter.setAttr(c.strings.ARIA_SELECTED,"true"),this.adapter.setAttr(c.strings.TABINDEX,"0"),this.adapter.activateIndicator(t),this.focusOnActivate_&&this.adapter.focus()},l.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(c.cssClasses.ACTIVE),this.adapter.setAttr(c.strings.ARIA_SELECTED,"false"),this.adapter.setAttr(c.strings.TABINDEX,"-1"),this.adapter.deactivateIndicator())},l.prototype.computeDimensions=function(){var t=this.adapter.getOffsetWidth(),e=this.adapter.getOffsetLeft(),n=this.adapter.getContentOffsetWidth(),i=this.adapter.getContentOffsetLeft();return{contentLeft:e+i,contentRight:e+i+n,rootLeft:e,rootRight:e+t}},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.focusOnActivate_=!0,e}e.MDCTabFoundation=u,e.default=u},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldCharacterCounterFoundation=void 0;var s,a=n(0),c=n(108),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!1,configurable:!0}),l.prototype.setCounterValue=function(t,e){t=Math.min(t,e),this.adapter.setContent(t+" / "+e)},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCTextFieldCharacterCounterFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ALWAYS_FLOAT_TYPES=e.VALIDATION_ATTR_WHITELIST=e.numbers=e.strings=e.cssClasses=void 0;e.strings={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"};e.cssClasses={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon"};e.numbers={LABEL_SCALE:.75};e.VALIDATION_ATTR_WHITELIST=["pattern","min","max","required","step","minlength","maxlength"];e.ALWAYS_FLOAT_TYPES=["color","date","datetime-local","month","range","time","week"]},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldHelperTextFoundation=void 0;var s,a=n(0),c=n(111),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),l.prototype.getId=function(){return this.adapter.getAttr("id")},l.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(c.strings.ARIA_HIDDEN)},l.prototype.setContent=function(t){this.adapter.setContent(t)},l.prototype.isPersistent=function(){return this.adapter.hasClass(c.cssClasses.HELPER_TEXT_PERSISTENT)},l.prototype.setPersistent=function(t){t?this.adapter.addClass(c.cssClasses.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(c.cssClasses.HELPER_TEXT_PERSISTENT)},l.prototype.isValidation=function(){return this.adapter.hasClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG)},l.prototype.setValidation=function(t){t?this.adapter.addClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG)},l.prototype.showToScreenReader=function(){this.adapter.removeAttr(c.strings.ARIA_HIDDEN)},l.prototype.setValidity=function(t){var e=this.adapter.hasClass(c.cssClasses.HELPER_TEXT_PERSISTENT),n=this.adapter.hasClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG)&&!t;n?(this.showToScreenReader(),this.adapter.setAttr(c.strings.ROLE,"alert")):this.adapter.removeAttr(c.strings.ROLE),e||n||this.hide_()},l.prototype.hide_=function(){this.adapter.setAttr(c.strings.ARIA_HIDDEN,"true")},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCTextFieldHelperTextFoundation=u,e.default=u},function(t,e,n){"use strict";var i,r;Object.defineProperty(e,"__esModule",{value:!0}),e.PositionWithCaret=e.strings=e.YPosition=e.AnchorBoundaryType=e.XPosition=e.events=e.attributes=e.numbers=e.CssClasses=void 0,(r=i=i||{}).RICH="mdc-tooltip--rich",r.SHOWN="mdc-tooltip--shown",r.SHOWING="mdc-tooltip--showing",r.SHOWING_TRANSITION="mdc-tooltip--showing-transition",r.HIDE="mdc-tooltip--hide",r.HIDE_TRANSITION="mdc-tooltip--hide-transition",r.MULTILINE_TOOLTIP="mdc-tooltip--multiline",r.SURFACE="mdc-tooltip__surface",r.TOOLTIP_CARET_TOP="mdc-tooltip__caret-surface-top",r.TOOLTIP_CARET_BOTTOM="mdc-tooltip__caret-surface-bottom",e.CssClasses=i;e.numbers={BOUNDED_ANCHOR_GAP:4,UNBOUNDED_ANCHOR_GAP:8,MIN_VIEWPORT_TOOLTIP_THRESHOLD:8,HIDE_DELAY_MS:600,SHOW_DELAY_MS:500,MIN_HEIGHT:24,MAX_WIDTH:200,CARET_INDENTATION:24};e.attributes={ARIA_EXPANDED:"aria-expanded",ARIA_HASPOPUP:"aria-haspopup",PERSISTENT:"data-mdc-tooltip-persistent",SCROLLABLE_ANCESTOR:"tooltip-scrollable-ancestor",HAS_CARET:"data-mdc-tooltip-has-caret"};var o,s,a,c,u,l;e.events={HIDDEN:"MDCTooltip:hidden"},(s=o=o||{})[s.DETECTED=0]="DETECTED",s[s.START=1]="START",s[s.CENTER=2]="CENTER",s[s.END=3]="END",e.XPosition=o,(c=a=a||{})[c.DETECTED=0]="DETECTED",c[c.ABOVE=1]="ABOVE",c[c.BELOW=2]="BELOW",e.YPosition=a,(l=u=u||{})[l.BOUNDED=0]="BOUNDED",l[l.UNBOUNDED=1]="UNBOUNDED",e.AnchorBoundaryType=u;var d,p;e.strings={LEFT:"left",RIGHT:"right",CENTER:"center",TOP:"top",BOTTOM:"bottom"},(p=d=d||{})[p.DETECTED=0]="DETECTED",p[p.ABOVE_START=1]="ABOVE_START",p[p.ABOVE_CENTER=2]="ABOVE_CENTER",p[p.ABOVE_END=3]="ABOVE_END",p[p.TOP_SIDE_START=4]="TOP_SIDE_START",p[p.CENTER_SIDE_START=5]="CENTER_SIDE_START",p[p.BOTTOM_SIDE_START=6]="BOTTOM_SIDE_START",p[p.TOP_SIDE_END=7]="TOP_SIDE_END",p[p.CENTER_SIDE_END=8]="CENTER_SIDE_END",p[p.BOTTOM_SIDE_END=9]="BOTTOM_SIDE_END",p[p.BELOW_START=10]="BELOW_START",p[p.BELOW_CENTER=11]="BELOW_CENTER",p[p.BELOW_END=12]="BELOW_END",e.PositionWithCaret=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTopAppBarFoundation=void 0;var o,s=n(9),a=n(43),c=(o=a.MDCTopAppBarBaseFoundation,r(u,o),u.prototype.destroy=function(){o.prototype.destroy.call(this),this.adapter.setStyle("top","")},u.prototype.handleTargetScroll=function(){var t=Math.max(this.adapter.getViewportScrollY(),0),e=t-this.lastScrollPosition_;this.lastScrollPosition_=t,this.isCurrentlyBeingResized_||(this.currentAppBarOffsetTop_-=e,0<this.currentAppBarOffsetTop_?this.currentAppBarOffsetTop_=0:Math.abs(this.currentAppBarOffsetTop_)>this.topAppBarHeight_&&(this.currentAppBarOffsetTop_=-this.topAppBarHeight_),this.moveTopAppBar_())},u.prototype.handleWindowResize=function(){var t=this;this.resizeThrottleId_||(this.resizeThrottleId_=setTimeout(function(){t.resizeThrottleId_=0,t.throttledResizeHandler_()},s.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)),this.isCurrentlyBeingResized_=!0,this.resizeDebounceId_&&clearTimeout(this.resizeDebounceId_),this.resizeDebounceId_=setTimeout(function(){t.handleTargetScroll(),t.isCurrentlyBeingResized_=!1,t.resizeDebounceId_=0},s.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)},u.prototype.checkForUpdate_=function(){var t=-this.topAppBarHeight_,e=this.currentAppBarOffsetTop_<0,n=this.currentAppBarOffsetTop_>t,i=e&&n;if(i)this.wasDocked_=!1;else{if(!this.wasDocked_)return this.wasDocked_=!0;if(this.isDockedShowing_!==n)return this.isDockedShowing_=n,!0}return i},u.prototype.moveTopAppBar_=function(){if(this.checkForUpdate_()){var t=this.currentAppBarOffsetTop_;Math.abs(t)>=this.topAppBarHeight_&&(t=-s.numbers.MAX_TOP_APP_BAR_HEIGHT),this.adapter.setStyle("top",t+"px")}},u.prototype.throttledResizeHandler_=function(){var t=this.adapter.getTopAppBarHeight();this.topAppBarHeight_!==t&&(this.wasDocked_=!1,this.currentAppBarOffsetTop_-=this.topAppBarHeight_-t,this.topAppBarHeight_=t),this.handleTargetScroll()},u);function u(t){var e=o.call(this,t)||this;return e.wasDocked_=!0,e.isDockedShowing_=!0,e.currentAppBarOffsetTop_=0,e.isCurrentlyBeingResized_=!1,e.resizeThrottleId_=0,e.resizeDebounceId_=0,e.lastScrollPosition_=e.adapter.getViewportScrollY(),e.topAppBarHeight_=e.adapter.getTopAppBarHeight(),e}e.MDCTopAppBarFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTopAppBarBaseFoundation=void 0;var s,a=n(0),c=n(9),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},getTopAppBarHeight:function(){return 0},notifyNavigationIconClicked:function(){},getViewportScrollY:function(){return 0},getTotalActionItems:function(){return 0}}},enumerable:!1,configurable:!0}),l.prototype.handleTargetScroll=function(){},l.prototype.handleWindowResize=function(){},l.prototype.handleNavigationClick=function(){this.adapter.notifyNavigationIconClicked()},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCTopAppBarBaseFoundation=u,e.default=u},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCBannerFoundation=void 0;var s,a=n(0),c=n(18),u=c.cssClasses.OPENING,l=c.cssClasses.OPEN,d=c.cssClasses.CLOSING,p=(s=a.MDCFoundation,r(h,s),Object.defineProperty(h,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0}),h.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0},h.prototype.open=function(){var t=this;this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(d),this.adapter.addClass(u);var e=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){t.adapter.addClass(l),t.adapter.setStyleProperty("height",e+"px"),t.animationTimer=setTimeout(function(){t.handleAnimationTimerEnd(),t.adapter.trapFocus(),t.adapter.notifyOpened()},c.numbers.BANNER_ANIMATION_OPEN_TIME_MS)})},h.prototype.close=function(t){var e=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(t),this.adapter.addClass(d),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(l),this.adapter.removeClass(u),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){e.adapter.releaseFocus(),e.handleAnimationTimerEnd(),e.adapter.notifyClosed(t)},c.numbers.BANNER_ANIMATION_CLOSE_TIME_MS))},h.prototype.isOpen=function(){return this.isOpened},h.prototype.handlePrimaryActionClick=function(){this.close(c.CloseReason.PRIMARY)},h.prototype.handleSecondaryActionClick=function(){this.close(c.CloseReason.SECONDARY)},h.prototype.layout=function(){var t=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",t+"px")},h.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(u),this.adapter.removeClass(d)},h);function h(t){var e=s.call(this,o(o({},h.defaultAdapter),t))||this;return e.isOpened=!1,e.animationFrame=0,e.animationTimer=0,e}e.MDCBannerFoundation=p},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCCheckbox=void 0;var s,a=n(10),c=n(1),u=n(5),l=n(2),d=n(3),p=n(4),h=n(20),f=n(47),_=["checked","indeterminate"],y=(s=c.MDCComponent,r(C,s),C.attachTo=function(t){return new C(t)},Object.defineProperty(C.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.nativeControl_.checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"indeterminate",{get:function(){return this.nativeControl_.indeterminate},set:function(t){this.nativeControl_.indeterminate=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"value",{get:function(){return this.nativeControl_.value},set:function(t){this.nativeControl_.value=t},enumerable:!1,configurable:!0}),C.prototype.initialize=function(){var t=h.strings.DATA_INDETERMINATE_ATTR;this.nativeControl_.indeterminate="true"===this.nativeControl_.getAttribute(t),this.nativeControl_.removeAttribute(t)},C.prototype.initialSyncWithDOM=function(){var t=this;this.handleChange_=function(){return t.foundation.handleChange()},this.handleAnimationEnd_=function(){return t.foundation.handleAnimationEnd()},this.nativeControl_.addEventListener("change",this.handleChange_),this.listen(a.getCorrectEventName(window,"animationend"),this.handleAnimationEnd_),this.installPropertyChangeHooks_()},C.prototype.destroy=function(){this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.handleChange_),this.unlisten(a.getCorrectEventName(window,"animationend"),this.handleAnimationEnd_),this.uninstallPropertyChangeHooks_(),s.prototype.destroy.call(this)},C.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},forceLayout:function(){return n.root.offsetWidth},hasNativeControl:function(){return!!n.nativeControl_},isAttachedToDOM:function(){return Boolean(n.root.parentNode)},isChecked:function(){return n.checked},isIndeterminate:function(){return n.indeterminate},removeClass:function(t){n.root.classList.remove(t)},removeNativeControlAttr:function(t){n.nativeControl_.removeAttribute(t)},setNativeControlAttr:function(t,e){n.nativeControl_.setAttribute(t,e)},setNativeControlDisabled:function(t){n.nativeControl_.disabled=t}};return new f.MDCCheckboxFoundation(t)},C.prototype.createRipple_=function(){var n=this,t=o(o({},d.MDCRipple.createAdapter(this)),{deregisterInteractionHandler:function(t,e){return n.nativeControl_.removeEventListener(t,e,u.applyPassive())},isSurfaceActive:function(){return l.matches(n.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,e){return n.nativeControl_.addEventListener(t,e,u.applyPassive())}});return new d.MDCRipple(this.root,new p.MDCRippleFoundation(t))},C.prototype.installPropertyChangeHooks_=function(){var r=this,o=this.nativeControl_,s=Object.getPrototypeOf(o);_.forEach(function(t){var e=Object.getOwnPropertyDescriptor(s,t);if(E(e)){var n=e.get,i={configurable:e.configurable,enumerable:e.enumerable,get:n,set:function(t){e.set.call(o,t),r.foundation.handleChange()}};Object.defineProperty(o,t,i)}})},C.prototype.uninstallPropertyChangeHooks_=function(){var n=this.nativeControl_,i=Object.getPrototypeOf(n);_.forEach(function(t){var e=Object.getOwnPropertyDescriptor(i,t);E(e)&&Object.defineProperty(n,t,e)})},Object.defineProperty(C.prototype,"nativeControl_",{get:function(){var t=h.strings.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw new Error("Checkbox component requires a "+t+" element");return e},enumerable:!1,configurable:!0}),C);function C(){var t=null!==s&&s.apply(this,arguments)||this;return t.ripple_=t.createRipple_(),t}function E(t){return!!t&&"function"==typeof t.set}e.MDCCheckbox=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0,e.cssClasses={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"},e.strings={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"},e.numbers={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCCheckboxFoundation=void 0;var s,a=n(0),p=n(20),c=(s=a.MDCFoundation,r(h,s),Object.defineProperty(h,"cssClasses",{get:function(){return p.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(h,"strings",{get:function(){return p.strings},enumerable:!1,configurable:!0}),Object.defineProperty(h,"numbers",{get:function(){return p.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(h,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),h.prototype.init=function(){this.currentCheckState_=this.determineCheckState_(),this.updateAriaChecked_(),this.adapter.addClass(p.cssClasses.UPGRADED)},h.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer_)},h.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(p.cssClasses.DISABLED):this.adapter.removeClass(p.cssClasses.DISABLED)},h.prototype.handleAnimationEnd=function(){var t=this;this.enableAnimationEndHandler_&&(clearTimeout(this.animEndLatchTimer_),this.animEndLatchTimer_=setTimeout(function(){t.adapter.removeClass(t.currentAnimationClass_),t.enableAnimationEndHandler_=!1},p.numbers.ANIM_END_LATCH_MS))},h.prototype.handleChange=function(){this.transitionCheckState_()},h.prototype.transitionCheckState_=function(){if(this.adapter.hasNativeControl()){var t=this.currentCheckState_,e=this.determineCheckState_();if(t!==e){this.updateAriaChecked_();var n=p.strings.TRANSITION_STATE_UNCHECKED,i=p.cssClasses.SELECTED;e===n?this.adapter.removeClass(i):this.adapter.addClass(i),0<this.currentAnimationClass_.length&&(clearTimeout(this.animEndLatchTimer_),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass_)),this.currentAnimationClass_=this.getTransitionAnimationClass_(t,e),this.currentCheckState_=e,this.adapter.isAttachedToDOM()&&0<this.currentAnimationClass_.length&&(this.adapter.addClass(this.currentAnimationClass_),this.enableAnimationEndHandler_=!0)}}},h.prototype.determineCheckState_=function(){var t=p.strings.TRANSITION_STATE_INDETERMINATE,e=p.strings.TRANSITION_STATE_CHECKED,n=p.strings.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?t:this.adapter.isChecked()?e:n},h.prototype.getTransitionAnimationClass_=function(t,e){var n=p.strings.TRANSITION_STATE_INIT,i=p.strings.TRANSITION_STATE_CHECKED,r=p.strings.TRANSITION_STATE_UNCHECKED,o=h.cssClasses,s=o.ANIM_UNCHECKED_CHECKED,a=o.ANIM_UNCHECKED_INDETERMINATE,c=o.ANIM_CHECKED_UNCHECKED,u=o.ANIM_CHECKED_INDETERMINATE,l=o.ANIM_INDETERMINATE_CHECKED,d=o.ANIM_INDETERMINATE_UNCHECKED;switch(t){case n:return e===r?"":e===i?l:d;case r:return e===i?s:a;case i:return e===r?c:u;default:return e===i?l:d}},h.prototype.updateAriaChecked_=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(p.strings.ARIA_CHECKED_ATTR,p.strings.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(p.strings.ARIA_CHECKED_ATTR)},h);function h(t){var e=s.call(this,o(o({},h.defaultAdapter),t))||this;return e.currentCheckState_=p.strings.TRANSITION_STATE_INIT,e.currentAnimationClass_="",e.animEndLatchTimer_=0,e.enableAnimationEndHandler_=!1,e}e.MDCCheckboxFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipTrailingAction=void 0;var o,s=n(1),a=n(3),c=n(4),u=n(12),l=n(49),d=(o=s.MDCComponent,r(p,o),Object.defineProperty(p.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!1,configurable:!0}),p.attachTo=function(t){return new p(t)},p.prototype.initialize=function(t){void 0===t&&(t=function(t,e){return new a.MDCRipple(t,e)});var e=a.MDCRipple.createAdapter(this);this.ripple_=t(this.root,new c.MDCRippleFoundation(e))},p.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick_=function(t){e.foundation.handleClick(t)},this.handleKeydown_=function(t){e.foundation.handleKeydown(t)},this.listen("click",this.handleClick_),this.listen("keydown",this.handleKeydown_)},p.prototype.destroy=function(){this.ripple_.destroy(),this.unlisten("click",this.handleClick_),this.unlisten("keydown",this.handleKeydown_),o.prototype.destroy.call(this)},p.prototype.getDefaultFoundation=function(){var n=this,t={focus:function(){n.root.focus()},getAttribute:function(t){return n.root.getAttribute(t)},notifyInteraction:function(t){return n.emit(u.strings.INTERACTION_EVENT,{trigger:t},!0)},notifyNavigation:function(t){n.emit(u.strings.NAVIGATION_EVENT,{key:t},!0)},setAttribute:function(t,e){n.root.setAttribute(t,e)}};return new l.MDCChipTrailingActionFoundation(t)},p.prototype.isNavigable=function(){return this.foundation.isNavigable()},p.prototype.focus=function(){this.foundation.focus()},p.prototype.removeFocus=function(){this.foundation.removeFocus()},p);function p(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipTrailingAction=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipTrailingActionFoundation=void 0;var s,a=n(0),c=n(6),u=n(12),l=(s=a.MDCFoundation,r(d,s),Object.defineProperty(d,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(d,"defaultAdapter",{get:function(){return{focus:function(){},getAttribute:function(){return null},setAttribute:function(){},notifyInteraction:function(){},notifyNavigation:function(){}}},enumerable:!1,configurable:!0}),d.prototype.handleClick=function(t){t.stopPropagation(),this.adapter.notifyInteraction(u.InteractionTrigger.CLICK)},d.prototype.handleKeydown=function(t){t.stopPropagation();var e=c.normalizeKey(t);if(this.shouldNotifyInteractionFromKey_(e)){var n=this.getTriggerFromKey_(e);this.adapter.notifyInteraction(n)}else c.isNavigationEvent(t)&&this.adapter.notifyNavigation(e)},d.prototype.removeFocus=function(){this.adapter.setAttribute(u.strings.TAB_INDEX,"-1")},d.prototype.focus=function(){this.adapter.setAttribute(u.strings.TAB_INDEX,"0"),this.adapter.focus()},d.prototype.isNavigable=function(){return"true"!==this.adapter.getAttribute(u.strings.ARIA_HIDDEN)},d.prototype.shouldNotifyInteractionFromKey_=function(t){var e=t===c.KEY.ENTER||t===c.KEY.SPACEBAR,n=t===c.KEY.BACKSPACE||t===c.KEY.DELETE;return e||n},d.prototype.getTriggerFromKey_=function(t){return t===c.KEY.SPACEBAR?u.InteractionTrigger.SPACEBAR_KEY:t===c.KEY.ENTER?u.InteractionTrigger.ENTER_KEY:t===c.KEY.DELETE?u.InteractionTrigger.DELETE_KEY:t===c.KEY.BACKSPACE?u.InteractionTrigger.BACKSPACE_KEY:u.InteractionTrigger.UNSPECIFIED},d);function d(t){return s.call(this,o(o({},d.defaultAdapter),t))||this}e.MDCChipTrailingActionFoundation=l,e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChip=void 0;var s,a=n(1),c=n(3),u=n(4),l=n(48),d=n(12),p=n(13),h=n(21),f=(s=a.MDCComponent,r(_,s),Object.defineProperty(_.prototype,"selected",{get:function(){return this.foundation.isSelected()},set:function(t){this.foundation.setSelected(t)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"shouldRemoveOnTrailingIconClick",{get:function(){return this.foundation.getShouldRemoveOnTrailingIconClick()},set:function(t){this.foundation.setShouldRemoveOnTrailingIconClick(t)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"setShouldFocusPrimaryActionOnClick",{set:function(t){this.foundation.setShouldFocusPrimaryActionOnClick(t)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"id",{get:function(){return this.root.id},enumerable:!1,configurable:!0}),_.attachTo=function(t){return new _(t)},_.prototype.initialize=function(t,e){var n=this;void 0===t&&(t=function(t,e){return new c.MDCRipple(t,e)}),void 0===e&&(e=function(t){return new l.MDCChipTrailingAction(t)}),this.leadingIcon_=this.root.querySelector(p.strings.LEADING_ICON_SELECTOR),this.checkmark_=this.root.querySelector(p.strings.CHECKMARK_SELECTOR),this.primaryAction_=this.root.querySelector(p.strings.PRIMARY_ACTION_SELECTOR);var i=this.root.querySelector(p.strings.TRAILING_ACTION_SELECTOR);i&&(this.trailingAction_=e(i));var r=o(o({},c.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return n.foundation.getDimensions()}});this.ripple_=t(this.root,new u.MDCRippleFoundation(r))},_.prototype.initialSyncWithDOM=function(){var e=this;this.handleTrailingActionInteraction_=function(){e.foundation.handleTrailingActionInteraction()},this.handleTrailingActionNavigation_=function(t){e.foundation.handleTrailingActionNavigation(t)},this.handleClick_=function(){e.foundation.handleClick()},this.handleKeydown_=function(t){e.foundation.handleKeydown(t)},this.handleTransitionEnd_=function(t){e.foundation.handleTransitionEnd(t)},this.handleFocusIn_=function(t){e.foundation.handleFocusIn(t)},this.handleFocusOut_=function(t){e.foundation.handleFocusOut(t)},this.listen("transitionend",this.handleTransitionEnd_),this.listen("click",this.handleClick_),this.listen("keydown",this.handleKeydown_),this.listen("focusin",this.handleFocusIn_),this.listen("focusout",this.handleFocusOut_),this.trailingAction_&&(this.listen(d.strings.INTERACTION_EVENT,this.handleTrailingActionInteraction_),this.listen(d.strings.NAVIGATION_EVENT,this.handleTrailingActionNavigation_))},_.prototype.destroy=function(){this.ripple_.destroy(),this.unlisten("transitionend",this.handleTransitionEnd_),this.unlisten("keydown",this.handleKeydown_),this.unlisten("click",this.handleClick_),this.unlisten("focusin",this.handleFocusIn_),this.unlisten("focusout",this.handleFocusOut_),this.trailingAction_&&(this.unlisten(d.strings.INTERACTION_EVENT,this.handleTrailingActionInteraction_),this.unlisten(d.strings.NAVIGATION_EVENT,this.handleTrailingActionNavigation_)),s.prototype.destroy.call(this)},_.prototype.beginExit=function(){this.foundation.beginExit()},_.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},addClassToLeadingIcon:function(t){n.leadingIcon_&&n.leadingIcon_.classList.add(t)},eventTargetHasClass:function(t,e){return!!t&&t.classList.contains(e)},focusPrimaryAction:function(){n.primaryAction_&&n.primaryAction_.focus()},focusTrailingAction:function(){n.trailingAction_&&n.trailingAction_.focus()},getAttribute:function(t){return n.root.getAttribute(t)},getCheckmarkBoundingClientRect:function(){return n.checkmark_?n.checkmark_.getBoundingClientRect():null},getComputedStyleValue:function(t){return window.getComputedStyle(n.root).getPropertyValue(t)},getRootBoundingClientRect:function(){return n.root.getBoundingClientRect()},hasClass:function(t){return n.root.classList.contains(t)},hasLeadingIcon:function(){return!!n.leadingIcon_},isRTL:function(){return"rtl"===window.getComputedStyle(n.root).getPropertyValue("direction")},isTrailingActionNavigable:function(){return!!n.trailingAction_&&n.trailingAction_.isNavigable()},notifyInteraction:function(){return n.emit(p.strings.INTERACTION_EVENT,{chipId:n.id},!0)},notifyNavigation:function(t,e){return n.emit(p.strings.NAVIGATION_EVENT,{chipId:n.id,key:t,source:e},!0)},notifyRemoval:function(t){n.emit(p.strings.REMOVAL_EVENT,{chipId:n.id,removedAnnouncement:t},!0)},notifySelection:function(t,e){return n.emit(p.strings.SELECTION_EVENT,{chipId:n.id,selected:t,shouldIgnore:e},!0)},notifyTrailingIconInteraction:function(){return n.emit(p.strings.TRAILING_ICON_INTERACTION_EVENT,{chipId:n.id},!0)},notifyEditStart:function(){},notifyEditFinish:function(){},removeClass:function(t){return n.root.classList.remove(t)},removeClassFromLeadingIcon:function(t){n.leadingIcon_&&n.leadingIcon_.classList.remove(t)},removeTrailingActionFocus:function(){n.trailingAction_&&n.trailingAction_.removeFocus()},setPrimaryActionAttr:function(t,e){n.primaryAction_&&n.primaryAction_.setAttribute(t,e)},setStyleProperty:function(t,e){return n.root.style.setProperty(t,e)}};return new h.MDCChipFoundation(t)},_.prototype.setSelectedFromChipSet=function(t,e){this.foundation.setSelectedFromChipSet(t,e)},_.prototype.focusPrimaryAction=function(){this.foundation.focusPrimaryAction()},_.prototype.focusTrailingAction=function(){this.foundation.focusTrailingAction()},_.prototype.removeFocus=function(){this.foundation.removeFocus()},_.prototype.remove=function(){var t=this.root.parentNode;null!==t&&t.removeChild(this.root)},_);function _(){return null!==s&&s.apply(this,arguments)||this}e.MDCChip=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSetFoundation=void 0;var s,a=n(0),h=n(13),c=n(52),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{announceMessage:function(){},focusChipPrimaryActionAtIndex:function(){},focusChipTrailingActionAtIndex:function(){},getChipListCount:function(){return-1},getIndexOfChipById:function(){return-1},hasClass:function(){return!1},isRTL:function(){return!1},removeChipAtIndex:function(){},removeFocusFromChipAtIndex:function(){},selectChipAtIndex:function(){}}},enumerable:!1,configurable:!0}),l.prototype.getSelectedChipIds=function(){return this.selectedChipIds_.slice()},l.prototype.select=function(t){this.select_(t,!1)},l.prototype.handleChipInteraction=function(t){var e=t.chipId,n=this.adapter.getIndexOfChipById(e);this.removeFocusFromChipsExcept_(n),(this.adapter.hasClass(c.cssClasses.CHOICE)||this.adapter.hasClass(c.cssClasses.FILTER))&&this.toggleSelect_(e)},l.prototype.handleChipSelection=function(t){var e=t.chipId,n=t.selected;if(!t.shouldIgnore){var i=0<=this.selectedChipIds_.indexOf(e);n&&!i?this.select(e):!n&&i&&this.deselect_(e)}},l.prototype.handleChipRemoval=function(t){var e=t.chipId,n=t.removedAnnouncement;n&&this.adapter.announceMessage(n);var i=this.adapter.getIndexOfChipById(e);this.deselectAndNotifyClients_(e),this.adapter.removeChipAtIndex(i);var r=this.adapter.getChipListCount()-1;if(!(r<0)){var o=Math.min(i,r);this.removeFocusFromChipsExcept_(o),this.adapter.focusChipTrailingActionAtIndex(o)}},l.prototype.handleChipNavigation=function(t){var e=t.chipId,n=t.key,i=t.source,r=this.adapter.getChipListCount()-1,o=this.adapter.getIndexOfChipById(e);if(-1!==o&&h.navigationKeys.has(n)){var s=this.adapter.isRTL(),a=n===h.strings.ARROW_LEFT_KEY||n===h.strings.IE_ARROW_LEFT_KEY,c=n===h.strings.ARROW_RIGHT_KEY||n===h.strings.IE_ARROW_RIGHT_KEY,u=n===h.strings.ARROW_DOWN_KEY||n===h.strings.IE_ARROW_DOWN_KEY,l=!s&&c||s&&a||u,d=n===h.strings.HOME_KEY,p=n===h.strings.END_KEY;l?o++:d?o=0:p?o=r:o--,o<0||r<o||(this.removeFocusFromChipsExcept_(o),this.focusChipAction_(o,n,i))}},l.prototype.focusChipAction_=function(t,e,n){var i=h.jumpChipKeys.has(e);if(i&&n===h.EventSource.PRIMARY)return this.adapter.focusChipPrimaryActionAtIndex(t);if(i&&n===h.EventSource.TRAILING)return this.adapter.focusChipTrailingActionAtIndex(t);var r=this.getDirection_(e);return r===h.Direction.LEFT?this.adapter.focusChipTrailingActionAtIndex(t):r===h.Direction.RIGHT?this.adapter.focusChipPrimaryActionAtIndex(t):void 0},l.prototype.getDirection_=function(t){var e=this.adapter.isRTL(),n=t===h.strings.ARROW_LEFT_KEY||t===h.strings.IE_ARROW_LEFT_KEY,i=t===h.strings.ARROW_RIGHT_KEY||t===h.strings.IE_ARROW_RIGHT_KEY;return!e&&n||e&&i?h.Direction.LEFT:h.Direction.RIGHT},l.prototype.deselect_=function(t,e){void 0===e&&(e=!1);var n=this.selectedChipIds_.indexOf(t);if(0<=n){this.selectedChipIds_.splice(n,1);var i=this.adapter.getIndexOfChipById(t);this.adapter.selectChipAtIndex(i,!1,e)}},l.prototype.deselectAndNotifyClients_=function(t){this.deselect_(t,!0)},l.prototype.toggleSelect_=function(t){0<=this.selectedChipIds_.indexOf(t)?this.deselectAndNotifyClients_(t):this.selectAndNotifyClients_(t)},l.prototype.removeFocusFromChipsExcept_=function(t){for(var e=this.adapter.getChipListCount(),n=0;n<e;n++)n!==t&&this.adapter.removeFocusFromChipAtIndex(n)},l.prototype.selectAndNotifyClients_=function(t){this.select_(t,!0)},l.prototype.select_=function(t,e){if(!(0<=this.selectedChipIds_.indexOf(t))){if(this.adapter.hasClass(c.cssClasses.CHOICE)&&0<this.selectedChipIds_.length){var n=this.selectedChipIds_[0],i=this.adapter.getIndexOfChipById(n);this.selectedChipIds_=[],this.adapter.selectChipAtIndex(i,!1,e)}this.selectedChipIds_.push(t);var r=this.adapter.getIndexOfChipById(t);this.adapter.selectChipAtIndex(r,!0,e)}},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.selectedChipIds_=[],e}e.MDCChipSetFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0,e.strings={CHIP_SELECTOR:".mdc-chip"},e.cssClasses={CHOICE:"mdc-chip-set--choice",FILTER:"mdc-chip-set--filter"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCCircularProgressFoundation=void 0;var s,a=n(0),c=n(54),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},getDeterminateCircleAttribute:function(){return null},hasClass:function(){return!1},removeClass:function(){},removeAttribute:function(){},setAttribute:function(){},setDeterminateCircleAttribute:function(){}}},enumerable:!1,configurable:!0}),l.prototype.init=function(){this.closed=this.adapter.hasClass(c.cssClasses.CLOSED_CLASS),this.determinate=!this.adapter.hasClass(c.cssClasses.INDETERMINATE_CLASS),this.progress=0,this.determinate&&this.adapter.setAttribute(c.strings.ARIA_VALUENOW,this.progress.toString()),this.radius=Number(this.adapter.getDeterminateCircleAttribute(c.strings.RADIUS))},l.prototype.setDeterminate=function(t){this.determinate=t,this.determinate?(this.adapter.removeClass(c.cssClasses.INDETERMINATE_CLASS),this.setProgress(this.progress)):(this.adapter.addClass(c.cssClasses.INDETERMINATE_CLASS),this.adapter.removeAttribute(c.strings.ARIA_VALUENOW))},l.prototype.isDeterminate=function(){return this.determinate},l.prototype.setProgress=function(t){if(this.progress=t,this.determinate){var e=(1-this.progress)*(2*Math.PI*this.radius);this.adapter.setDeterminateCircleAttribute(c.strings.STROKE_DASHOFFSET,""+e),this.adapter.setAttribute(c.strings.ARIA_VALUENOW,this.progress.toString())}},l.prototype.getProgress=function(){return this.progress},l.prototype.open=function(){this.closed=!1,this.adapter.removeClass(c.cssClasses.CLOSED_CLASS),this.adapter.removeAttribute(c.strings.ARIA_HIDDEN)},l.prototype.close=function(){this.closed=!0,this.adapter.addClass(c.cssClasses.CLOSED_CLASS),this.adapter.setAttribute(c.strings.ARIA_HIDDEN,"true")},l.prototype.isClosed=function(){return this.closed},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCCircularProgressFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0,e.cssClasses={INDETERMINATE_CLASS:"mdc-circular-progress--indeterminate",CLOSED_CLASS:"mdc-circular-progress--closed"},e.strings={ARIA_HIDDEN:"aria-hidden",ARIA_VALUENOW:"aria-valuenow",DETERMINATE_CIRCLE_SELECTOR:".mdc-circular-progress__determinate-circle",RADIUS:"r",STROKE_DASHOFFSET:"stroke-dashoffset"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCLinearProgress=void 0;var o,s=n(1),a=n(56),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"determinate",{set:function(t){this.foundation.setDeterminate(t)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"progress",{set:function(t){this.foundation.setProgress(t)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"buffer",{set:function(t){this.foundation.setBuffer(t)},enumerable:!1,configurable:!0}),u.prototype.open=function(){this.foundation.open()},u.prototype.close=function(){this.foundation.close()},u.prototype.initialSyncWithDOM=function(){var t=this;this.root.addEventListener("transitionend",function(){t.foundation.handleTransitionEnd()})},u.prototype.getDefaultFoundation=function(){var i=this,t={addClass:function(t){i.root.classList.add(t)},forceLayout:function(){i.root.getBoundingClientRect()},setBufferBarStyle:function(t,e){var n=i.root.querySelector(a.MDCLinearProgressFoundation.strings.BUFFER_BAR_SELECTOR);n&&n.style.setProperty(t,e)},setPrimaryBarStyle:function(t,e){var n=i.root.querySelector(a.MDCLinearProgressFoundation.strings.PRIMARY_BAR_SELECTOR);n&&n.style.setProperty(t,e)},hasClass:function(t){return i.root.classList.contains(t)},removeAttribute:function(t){i.root.removeAttribute(t)},removeClass:function(t){i.root.classList.remove(t)},setAttribute:function(t,e){i.root.setAttribute(t,e)},setStyle:function(t,e){i.root.style.setProperty(t,e)},attachResizeObserver:function(t){var e=window.ResizeObserver;if(e){var n=new e(t);return n.observe(i.root),n}return null},getWidth:function(){return i.root.offsetWidth}};return new a.MDCLinearProgressFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCLinearProgress=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},a=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCLinearProgressFoundation=void 0;var s,c=n(10),u=n(0),l=n(57),d=(s=u.MDCFoundation,r(p,s),Object.defineProperty(p,"cssClasses",{get:function(){return l.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"strings",{get:function(){return l.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClass:function(){},attachResizeObserver:function(){return null},forceLayout:function(){},getWidth:function(){return 0},hasClass:function(){return!1},setBufferBarStyle:function(){return null},setPrimaryBarStyle:function(){return null},setStyle:function(){},removeAttribute:function(){},removeClass:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),p.prototype.init=function(){var s=this;this.determinate=!this.adapter.hasClass(l.cssClasses.INDETERMINATE_CLASS),this.adapter.addClass(l.cssClasses.ANIMATION_READY_CLASS),this.progress=0,this.buffer=1,this.observer=this.adapter.attachResizeObserver(function(t){var e,n;if(!s.determinate)try{for(var i=a(t),r=i.next();!r.done;r=i.next()){var o=r.value;o.contentRect&&s.calculateAndSetDimensions(o.contentRect.width)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}),!this.determinate&&this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth())},p.prototype.setDeterminate=function(t){if(this.determinate=t,this.determinate)return this.adapter.removeClass(l.cssClasses.INDETERMINATE_CLASS),this.adapter.setAttribute(l.strings.ARIA_VALUENOW,this.progress.toString()),this.adapter.setAttribute(l.strings.ARIA_VALUEMAX,"1"),this.adapter.setAttribute(l.strings.ARIA_VALUEMIN,"0"),this.setPrimaryBarProgress(this.progress),void this.setBufferBarProgress(this.buffer);this.observer&&this.calculateAndSetDimensions(this.adapter.getWidth()),this.adapter.addClass(l.cssClasses.INDETERMINATE_CLASS),this.adapter.removeAttribute(l.strings.ARIA_VALUENOW),this.adapter.removeAttribute(l.strings.ARIA_VALUEMAX),this.adapter.removeAttribute(l.strings.ARIA_VALUEMIN),this.setPrimaryBarProgress(1),this.setBufferBarProgress(1)},p.prototype.isDeterminate=function(){return this.determinate},p.prototype.setProgress=function(t){this.progress=t,this.determinate&&(this.setPrimaryBarProgress(t),this.adapter.setAttribute(l.strings.ARIA_VALUENOW,t.toString()))},p.prototype.getProgress=function(){return this.progress},p.prototype.setBuffer=function(t){this.buffer=t,this.determinate&&this.setBufferBarProgress(t)},p.prototype.getBuffer=function(){return this.buffer},p.prototype.open=function(){this.adapter.removeClass(l.cssClasses.CLOSED_CLASS),this.adapter.removeClass(l.cssClasses.CLOSED_ANIMATION_OFF_CLASS),this.adapter.removeAttribute(l.strings.ARIA_HIDDEN)},p.prototype.close=function(){this.adapter.addClass(l.cssClasses.CLOSED_CLASS),this.adapter.setAttribute(l.strings.ARIA_HIDDEN,"true")},p.prototype.isClosed=function(){return this.adapter.hasClass(l.cssClasses.CLOSED_CLASS)},p.prototype.handleTransitionEnd=function(){this.adapter.hasClass(l.cssClasses.CLOSED_CLASS)&&this.adapter.addClass(l.cssClasses.CLOSED_ANIMATION_OFF_CLASS)},p.prototype.destroy=function(){s.prototype.destroy.call(this),this.observer&&this.observer.disconnect()},p.prototype.restartAnimation=function(){this.adapter.removeClass(l.cssClasses.ANIMATION_READY_CLASS),this.adapter.forceLayout(),this.adapter.addClass(l.cssClasses.ANIMATION_READY_CLASS)},p.prototype.setPrimaryBarProgress=function(t){var e="scaleX("+t+")",n="undefined"!=typeof window?c.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setPrimaryBarStyle(n,e)},p.prototype.setBufferBarProgress=function(t){var e=100*t+"%";this.adapter.setBufferBarStyle(l.strings.FLEX_BASIS,e)},p.prototype.calculateAndSetDimensions=function(t){var e=t*l.animationDimensionPercentages.PRIMARY_HALF,n=t*l.animationDimensionPercentages.PRIMARY_FULL,i=t*l.animationDimensionPercentages.SECONDARY_QUARTER,r=t*l.animationDimensionPercentages.SECONDARY_HALF,o=t*l.animationDimensionPercentages.SECONDARY_FULL;this.adapter.setStyle("--mdc-linear-progress-primary-half",e+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-half-neg",-e+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-full",n+"px"),this.adapter.setStyle("--mdc-linear-progress-primary-full-neg",-n+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-quarter",i+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-quarter-neg",-i+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-half",r+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-half-neg",-r+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-full",o+"px"),this.adapter.setStyle("--mdc-linear-progress-secondary-full-neg",-o+"px"),this.restartAnimation()},p);function p(t){var e=s.call(this,o(o({},p.defaultAdapter),t))||this;return e.observer=null,e}e.MDCLinearProgressFoundation=d,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.animationDimensionPercentages=e.strings=e.cssClasses=void 0,e.cssClasses={CLOSED_CLASS:"mdc-linear-progress--closed",CLOSED_ANIMATION_OFF_CLASS:"mdc-linear-progress--closed-animation-off",INDETERMINATE_CLASS:"mdc-linear-progress--indeterminate",REVERSED_CLASS:"mdc-linear-progress--reversed",ANIMATION_READY_CLASS:"mdc-linear-progress--animation-ready"},e.strings={ARIA_HIDDEN:"aria-hidden",ARIA_VALUEMAX:"aria-valuemax",ARIA_VALUEMIN:"aria-valuemin",ARIA_VALUENOW:"aria-valuenow",BUFFER_BAR_SELECTOR:".mdc-linear-progress__buffer-bar",FLEX_BASIS:"flex-basis",PRIMARY_BAR_SELECTOR:".mdc-linear-progress__primary-bar"},e.animationDimensionPercentages={PRIMARY_HALF:.8367142,PRIMARY_FULL:2.00611057,SECONDARY_QUARTER:.37651913,SECONDARY_HALF:.84386165,SECONDARY_FULL:1.60277782}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__awaiter||function(t,s,a,c){return new(a=a||Promise)(function(e,n){function i(t){try{o(c.next(t))}catch(t){n(t)}}function r(t){try{o(c.throw(t))}catch(t){n(t)}}function o(t){t.done?e(t.value):function(e){return e instanceof a?e:new a(function(t){t(e)})}(t.value).then(i,r)}o((c=c.apply(t,s||[])).next())})},a=this&&this.__generator||function(n,i){var r,o,s,t,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return t={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function(e){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(s=2&e[0]?o.return:e[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,e[1])).done)return s;switch(o=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return a.label++,{value:e[1],done:!1};case 5:a.label++,o=e[1],e=[0];continue;case 7:e=a.ops.pop(),a.trys.pop();continue;default:if(!(s=0<(s=a.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){a=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){a.label=e[1];break}if(6===e[0]&&a.label<s[1]){a.label=s[1],s=e;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(e);break}s[2]&&a.ops.pop(),a.trys.pop();continue}e=i.call(n,a)}catch(t){e=[6,t],o=0}finally{r=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,t])}}};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDataTableFoundation=void 0;var c,u=n(0),l=n(22),d=(c=u.MDCFoundation,r(p,c),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClass:function(){},addClassAtRowIndex:function(){},getAttributeByHeaderCellIndex:function(){return""},getHeaderCellCount:function(){return 0},getHeaderCellElements:function(){return[]},getRowCount:function(){return 0},getRowElements:function(){return[]},getRowIdAtIndex:function(){return""},getRowIndexByChildElement:function(){return 0},getSelectedRowCount:function(){return 0},getTableContainerHeight:function(){return 0},getTableHeaderHeight:function(){return 0},isCheckboxAtRowIndexChecked:function(){return!1},isHeaderRowCheckboxChecked:function(){return!1},isRowsSelectable:function(){return!1},notifyRowSelectionChanged:function(){},notifySelectedAll:function(){},notifySortAction:function(){},notifyUnselectedAll:function(){},registerHeaderRowCheckbox:function(){},registerRowCheckboxes:function(){},removeClass:function(){},removeClassAtRowIndex:function(){},removeClassNameByHeaderCellIndex:function(){},setAttributeAtRowIndex:function(){},setAttributeByHeaderCellIndex:function(){},setClassNameByHeaderCellIndex:function(){},setHeaderRowCheckboxChecked:function(){},setHeaderRowCheckboxIndeterminate:function(){},setProgressIndicatorStyles:function(){},setRowCheckboxCheckedAtIndex:function(){},setSortStatusLabelByHeaderCellIndex:function(){}}},enumerable:!1,configurable:!0}),p.prototype.layout=function(){this.adapter.isRowsSelectable()&&(this.adapter.registerHeaderRowCheckbox(),this.adapter.registerRowCheckboxes(),this.setHeaderRowCheckboxState())},p.prototype.layoutAsync=function(){return s(this,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return this.adapter.isRowsSelectable()?[4,this.adapter.registerHeaderRowCheckbox()]:[3,3];case 1:return t.sent(),[4,this.adapter.registerRowCheckboxes()];case 2:t.sent(),this.setHeaderRowCheckboxState(),t.label=3;case 3:return[2]}})})},p.prototype.getRows=function(){return this.adapter.getRowElements()},p.prototype.getHeaderCells=function(){return this.adapter.getHeaderCellElements()},p.prototype.setSelectedRowIds=function(t){for(var e=0;e<this.adapter.getRowCount();e++){var n=this.adapter.getRowIdAtIndex(e),i=!1;n&&0<=t.indexOf(n)&&(i=!0),this.adapter.setRowCheckboxCheckedAtIndex(e,i),this.selectRowAtIndex(e,i)}this.setHeaderRowCheckboxState()},p.prototype.getRowIds=function(){for(var t=[],e=0;e<this.adapter.getRowCount();e++)t.push(this.adapter.getRowIdAtIndex(e));return t},p.prototype.getSelectedRowIds=function(){for(var t=[],e=0;e<this.adapter.getRowCount();e++)this.adapter.isCheckboxAtRowIndexChecked(e)&&t.push(this.adapter.getRowIdAtIndex(e));return t},p.prototype.handleHeaderRowCheckboxChange=function(){for(var t=this.adapter.isHeaderRowCheckboxChecked(),e=0;e<this.adapter.getRowCount();e++)this.adapter.setRowCheckboxCheckedAtIndex(e,t),this.selectRowAtIndex(e,t);t?this.adapter.notifySelectedAll():this.adapter.notifyUnselectedAll()},p.prototype.handleRowCheckboxChange=function(t){var e=this.adapter.getRowIndexByChildElement(t.target);if(-1!==e){var n=this.adapter.isCheckboxAtRowIndexChecked(e);this.selectRowAtIndex(e,n),this.setHeaderRowCheckboxState();var i=this.adapter.getRowIdAtIndex(e);this.adapter.notifyRowSelectionChanged({rowId:i,rowIndex:e,selected:n})}},p.prototype.handleSortAction=function(t){for(var e=t.columnId,n=t.columnIndex,i=t.headerCell,r=0;r<this.adapter.getHeaderCellCount();r++)r!==n&&(this.adapter.removeClassNameByHeaderCellIndex(r,l.cssClasses.HEADER_CELL_SORTED),this.adapter.removeClassNameByHeaderCellIndex(r,l.cssClasses.HEADER_CELL_SORTED_DESCENDING),this.adapter.setAttributeByHeaderCellIndex(r,l.strings.ARIA_SORT,l.SortValue.NONE),this.adapter.setSortStatusLabelByHeaderCellIndex(r,l.SortValue.NONE));this.adapter.setClassNameByHeaderCellIndex(n,l.cssClasses.HEADER_CELL_SORTED);var o=this.adapter.getAttributeByHeaderCellIndex(n,l.strings.ARIA_SORT),s=l.SortValue.NONE;s=o===l.SortValue.ASCENDING?(this.adapter.setClassNameByHeaderCellIndex(n,l.cssClasses.HEADER_CELL_SORTED_DESCENDING),this.adapter.setAttributeByHeaderCellIndex(n,l.strings.ARIA_SORT,l.SortValue.DESCENDING),l.SortValue.DESCENDING):(o===l.SortValue.DESCENDING&&this.adapter.removeClassNameByHeaderCellIndex(n,l.cssClasses.HEADER_CELL_SORTED_DESCENDING),this.adapter.setAttributeByHeaderCellIndex(n,l.strings.ARIA_SORT,l.SortValue.ASCENDING),l.SortValue.ASCENDING),this.adapter.setSortStatusLabelByHeaderCellIndex(n,s),this.adapter.notifySortAction({columnId:e,columnIndex:n,headerCell:i,sortValue:s})},p.prototype.showProgress=function(){var t=this.adapter.getTableHeaderHeight(),e=this.adapter.getTableContainerHeight()-t,n=t;this.adapter.setProgressIndicatorStyles({height:e+"px",top:n+"px"}),this.adapter.addClass(l.cssClasses.IN_PROGRESS)},p.prototype.hideProgress=function(){this.adapter.removeClass(l.cssClasses.IN_PROGRESS)},p.prototype.setHeaderRowCheckboxState=function(){0===this.adapter.getSelectedRowCount()?(this.adapter.setHeaderRowCheckboxChecked(!1),this.adapter.setHeaderRowCheckboxIndeterminate(!1)):this.adapter.getSelectedRowCount()===this.adapter.getRowCount()?(this.adapter.setHeaderRowCheckboxChecked(!0),this.adapter.setHeaderRowCheckboxIndeterminate(!1)):(this.adapter.setHeaderRowCheckboxIndeterminate(!0),this.adapter.setHeaderRowCheckboxChecked(!1))},p.prototype.selectRowAtIndex=function(t,e){e?(this.adapter.addClassAtRowIndex(t,l.cssClasses.ROW_SELECTED),this.adapter.setAttributeAtRowIndex(t,l.strings.ARIA_SELECTED,"true")):(this.adapter.removeClassAtRowIndex(t,l.cssClasses.ROW_SELECTED),this.adapter.setAttributeAtRowIndex(t,l.strings.ARIA_SELECTED,"false"))},p);function p(t){return c.call(this,o(o({},p.defaultAdapter),t))||this}e.MDCDataTableFoundation=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.areTopsMisaligned=e.isScrollAtBottom=e.isScrollAtTop=e.isScrollable=e.createFocusTrapInstance=void 0,e.createFocusTrapInstance=function(t,e,n){return e(t,{initialFocusEl:n})},e.isScrollable=function(t){return!!t&&t.scrollHeight>t.offsetHeight},e.isScrollAtTop=function(t){return!!t&&0===t.scrollTop},e.isScrollAtBottom=function(t){return!!t&&Math.ceil(t.scrollHeight-t.scrollTop)===t.clientHeight},e.areTopsMisaligned=function(t){var e=new Set;return[].forEach.call(t,function(t){return e.add(t.offsetTop)}),1<e.size}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDialogFoundation=void 0;var s,a,c=n(23),u=n(0),l=n(61);(a=s=s||{}).POLL_SCROLL_POS="poll_scroll_position",a.POLL_LAYOUT_CHANGE="poll_layout_change";var d,p=(d=u.MDCFoundation,r(h,d),Object.defineProperty(h,"cssClasses",{get:function(){return l.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(h,"strings",{get:function(){return l.strings},enumerable:!1,configurable:!0}),Object.defineProperty(h,"numbers",{get:function(){return l.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(h,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),h.prototype.init=function(){this.adapter.hasClass(l.cssClasses.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(l.cssClasses.FULLSCREEN)},h.prototype.destroy=function(){this.dialogOpen&&this.close(l.strings.DESTROY_ACTION),this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},h.prototype.open=function(t){var e=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(l.cssClasses.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),t&&t.isAboveFullscreenDialog&&this.adapter.addClass(l.cssClasses.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame(function(){e.adapter.addClass(l.cssClasses.OPEN),e.adapter.addBodyClass(l.cssClasses.SCROLL_LOCK),e.layout(),e.animationTimer=setTimeout(function(){e.handleAnimationTimerEnd(),e.adapter.trapFocus(e.adapter.getInitialFocusEl()),e.adapter.notifyOpened()},l.numbers.DIALOG_ANIMATION_OPEN_TIME_MS)})},h.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(t),this.adapter.addClass(l.cssClasses.CLOSING),this.adapter.removeClass(l.cssClasses.OPEN),this.adapter.removeBodyClass(l.cssClasses.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){e.adapter.releaseFocus(),e.handleAnimationTimerEnd(),e.adapter.notifyClosed(t)},l.numbers.DIALOG_ANIMATION_CLOSE_TIME_MS))},h.prototype.showSurfaceScrim=function(){var t=this;this.adapter.addClass(l.cssClasses.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame(function(){t.adapter.addClass(l.cssClasses.SURFACE_SCRIM_SHOWN)})},h.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(l.cssClasses.SURFACE_SCRIM_SHOWN),this.adapter.addClass(l.cssClasses.SURFACE_SCRIM_HIDING)},h.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(l.cssClasses.SURFACE_SCRIM_HIDING),this.adapter.removeClass(l.cssClasses.SURFACE_SCRIM_SHOWING)},h.prototype.isOpen=function(){return this.dialogOpen},h.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},h.prototype.setEscapeKeyAction=function(t){this.escapeKeyAction=t},h.prototype.getScrimClickAction=function(){return this.scrimClickAction},h.prototype.setScrimClickAction=function(t){this.scrimClickAction=t},h.prototype.getAutoStackButtons=function(){return this.autoStackButtons},h.prototype.setAutoStackButtons=function(t){this.autoStackButtons=t},h.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},h.prototype.setSuppressDefaultPressSelector=function(t){this.suppressDefaultPressSelector=t},h.prototype.layout=function(){var t=this;this.animFrame.request(s.POLL_LAYOUT_CHANGE,function(){t.layoutInternal()})},h.prototype.handleClick=function(t){if(this.adapter.eventTargetMatches(t.target,l.strings.SCRIM_SELECTOR)&&""!==this.scrimClickAction)this.close(this.scrimClickAction);else{var e=this.adapter.getActionFromEvent(t);e&&this.close(e)}},h.prototype.handleKeydown=function(t){var e="Enter"===t.key||13===t.keyCode;if(e&&!this.adapter.getActionFromEvent(t)){var n=t.composedPath?t.composedPath()[0]:t.target,i=!this.suppressDefaultPressSelector||!this.adapter.eventTargetMatches(n,this.suppressDefaultPressSelector);e&&i&&this.adapter.clickDefaultButton()}},h.prototype.handleDocumentKeydown=function(t){"Escape"!==t.key&&27!==t.keyCode||""===this.escapeKeyAction||this.close(this.escapeKeyAction)},h.prototype.handleScrollEvent=function(){var t=this;this.animFrame.request(s.POLL_SCROLL_POS,function(){t.toggleScrollDividerHeader(),t.toggleScrollDividerFooter()})},h.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},h.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(l.cssClasses.OPENING),this.adapter.removeClass(l.cssClasses.CLOSING)},h.prototype.runNextAnimationFrame=function(t){var e=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame(function(){e.animationFrame=0,clearTimeout(e.animationTimer),e.animationTimer=setTimeout(t,0)})},h.prototype.detectStackedButtons=function(){this.adapter.removeClass(l.cssClasses.STACKED);var t=this.adapter.areButtonsStacked();t&&this.adapter.addClass(l.cssClasses.STACKED),t!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=t)},h.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(l.cssClasses.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(l.cssClasses.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},h.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(l.cssClasses.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(l.cssClasses.SCROLL_DIVIDER_HEADER):this.adapter.addClass(l.cssClasses.SCROLL_DIVIDER_HEADER)},h.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(l.cssClasses.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(l.cssClasses.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(l.cssClasses.SCROLL_DIVIDER_FOOTER)},h);function h(t){var e=d.call(this,o(o({},h.defaultAdapter),t))||this;return e.dialogOpen=!1,e.isFullscreen=!1,e.animationFrame=0,e.animationTimer=0,e.escapeKeyAction=l.strings.CLOSE_ACTION,e.scrimClickAction=l.strings.CLOSE_ACTION,e.autoStackButtons=!0,e.areButtonsStacked=!1,e.suppressDefaultPressSelector=l.strings.SUPPRESS_DEFAULT_PRESS_SELECTOR,e.animFrame=new c.AnimationFrame,e.contentScrollHandler=function(){e.handleScrollEvent()},e.windowResizeHandler=function(){e.layout()},e.windowOrientationChangeHandler=function(){e.layout()},e}e.MDCDialogFoundation=p,e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numbers=e.strings=e.cssClasses=void 0,e.cssClasses={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},e.strings={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},e.numbers={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFocusTrapInstance=void 0,e.createFocusTrapInstance=function(t,e){return e(t,{skipInitialFocus:!0})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.preventDefaultEvent=void 0;var i=["input","button","textarea","select"];e.preventDefaultEvent=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===i.indexOf(n)&&t.preventDefault()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0;e.cssClasses={ANIMATE:"mdc-drawer--animate",CLOSING:"mdc-drawer--closing",DISMISSIBLE:"mdc-drawer--dismissible",MODAL:"mdc-drawer--modal",OPEN:"mdc-drawer--open",OPENING:"mdc-drawer--opening",ROOT:"mdc-drawer"};e.strings={APP_CONTENT_SELECTOR:".mdc-drawer-app-content",CLOSE_EVENT:"MDCDrawer:closed",OPEN_EVENT:"MDCDrawer:opened",SCRIM_SELECTOR:".mdc-drawer-scrim",LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",LIST_ITEM_ACTIVATED_SELECTOR:".mdc-list-item--activated,.mdc-deprecated-list-item--activated"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCModalDrawerFoundation=void 0;var o,s=n(26),a=(o=s.MDCDismissibleDrawerFoundation,r(c,o),c.prototype.handleScrimClick=function(){this.close()},c.prototype.opened_=function(){this.adapter.trapFocus()},c.prototype.closed_=function(){this.adapter.releaseFocus()},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.MDCModalDrawerFoundation=a,e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=void 0,e.cssClasses={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFormFieldFoundation=void 0;var s,a=n(0),c=n(68),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),l.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},l.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},l.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame(function(){t.adapter.deactivateInputRipple()})},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.click=function(){e.handleClick()},e}e.MDCFormFieldFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0,e.cssClasses={ROOT:"mdc-form-field"},e.strings={LABEL_SELECTOR:".mdc-form-field > label"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCIconButtonToggleFoundation=void 0;var s,a=n(0),c=n(70),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!1,configurable:!0}),l.prototype.init=function(){var t=this.adapter.getAttr(c.strings.DATA_ARIA_LABEL_ON),e=this.adapter.getAttr(c.strings.DATA_ARIA_LABEL_OFF);if(t&&e){if(null!==this.adapter.getAttr(c.strings.ARIA_PRESSED))throw new Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(c.strings.ARIA_PRESSED,String(this.isOn()))},l.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},l.prototype.isOn=function(){return this.adapter.hasClass(c.cssClasses.ICON_BUTTON_ON)},l.prototype.toggle=function(t){if(void 0===t&&(t=!this.isOn()),t?this.adapter.addClass(c.cssClasses.ICON_BUTTON_ON):this.adapter.removeClass(c.cssClasses.ICON_BUTTON_ON),this.hasToggledAriaLabel){var e=t?this.adapter.getAttr(c.strings.DATA_ARIA_LABEL_ON):this.adapter.getAttr(c.strings.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(c.strings.ARIA_LABEL,e||"")}else this.adapter.setAttr(c.strings.ARIA_PRESSED,""+t)},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.hasToggledAriaLabel=!1,e}e.MDCIconButtonToggleFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0,e.cssClasses={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},e.strings={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCLineRippleFoundation=void 0;var s,a=n(0),c=n(72),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),l.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler_)},l.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler_)},l.prototype.activate=function(){this.adapter.removeClass(c.cssClasses.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(c.cssClasses.LINE_RIPPLE_ACTIVE)},l.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},l.prototype.deactivate=function(){this.adapter.addClass(c.cssClasses.LINE_RIPPLE_DEACTIVATING)},l.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(c.cssClasses.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(c.cssClasses.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(c.cssClasses.LINE_RIPPLE_DEACTIVATING))},l);function l(t){var e=s.call(this,o(o({},l.defaultAdapter),t))||this;return e.transitionEndHandler_=function(t){return e.handleTransitionEnd(t)},e}e.MDCLineRippleFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=void 0;e.cssClasses={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCMenuSurface=void 0;var o,s=n(1),a=n(8),c=n(14),u=n(10),l=(o=s.MDCComponent,r(d,o),d.attachTo=function(t){return new d(t)},d.prototype.initialSyncWithDOM=function(){var e=this,t=this.root.parentElement;this.anchorElement=t&&t.classList.contains(a.cssClasses.ANCHOR)?t:null,this.root.classList.contains(a.cssClasses.FIXED)&&this.setFixedPosition(!0),this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleBodyClick=function(t){e.foundation.handleBodyClick(t)},this.registerBodyClickListener=function(){document.body.addEventListener("click",e.handleBodyClick,{capture:!0})},this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",e.handleBodyClick,{capture:!0})},this.listen("keydown",this.handleKeydown),this.listen(a.strings.OPENED_EVENT,this.registerBodyClickListener),this.listen(a.strings.CLOSED_EVENT,this.deregisterBodyClickListener)},d.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten(a.strings.OPENED_EVENT,this.registerBodyClickListener),this.unlisten(a.strings.CLOSED_EVENT,this.deregisterBodyClickListener),o.prototype.destroy.call(this)},d.prototype.isOpen=function(){return this.foundation.isOpen()},d.prototype.open=function(){this.foundation.open()},d.prototype.close=function(t){void 0===t&&(t=!1),this.foundation.close(t)},Object.defineProperty(d.prototype,"quickOpen",{set:function(t){this.foundation.setQuickOpen(t)},enumerable:!1,configurable:!0}),d.prototype.setIsHoisted=function(t){this.foundation.setIsHoisted(t)},d.prototype.setMenuSurfaceAnchorElement=function(t){this.anchorElement=t},d.prototype.setFixedPosition=function(t){t?this.root.classList.add(a.cssClasses.FIXED):this.root.classList.remove(a.cssClasses.FIXED),this.foundation.setFixedPosition(t)},d.prototype.setAbsolutePosition=function(t,e){this.foundation.setAbsolutePosition(t,e),this.setIsHoisted(!0)},d.prototype.setAnchorCorner=function(t){this.foundation.setAnchorCorner(t)},d.prototype.setAnchorMargin=function(t){this.foundation.setAnchorMargin(t)},d.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},hasAnchor:function(){return!!n.anchorElement},notifyClose:function(){return n.emit(c.MDCMenuSurfaceFoundation.strings.CLOSED_EVENT,{})},notifyClosing:function(){n.emit(c.MDCMenuSurfaceFoundation.strings.CLOSING_EVENT,{})},notifyOpen:function(){return n.emit(c.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,{})},isElementInContainer:function(t){return n.root.contains(t)},isRtl:function(){return"rtl"===getComputedStyle(n.root).getPropertyValue("direction")},setTransformOrigin:function(t){var e=u.getCorrectPropertyName(window,"transform")+"-origin";n.root.style.setProperty(e,t)},isFocused:function(){return document.activeElement===n.root},saveFocus:function(){n.previousFocus=document.activeElement},restoreFocus:function(){n.root.contains(document.activeElement)&&n.previousFocus&&n.previousFocus.focus&&n.previousFocus.focus()},getInnerDimensions:function(){return{width:n.root.offsetWidth,height:n.root.offsetHeight}},getAnchorDimensions:function(){return n.anchorElement?n.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(t){var e=n.root;e.style.left="left"in t?t.left+"px":"",e.style.right="right"in t?t.right+"px":"",e.style.top="top"in t?t.top+"px":"",e.style.bottom="bottom"in t?t.bottom+"px":""},setMaxHeight:function(t){n.root.style.maxHeight=t}};return new c.MDCMenuSurfaceFoundation(t)},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCMenuSurface=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCMenu=void 0;var o,s=n(1),a=n(2),c=n(24),u=n(7),l=n(25),d=n(73),p=n(14),h=n(15),f=n(75),_=(o=s.MDCComponent,r(y,o),y.attachTo=function(t){return new y(t)},y.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new d.MDCMenuSurface(t)}),void 0===e&&(e=function(t){return new c.MDCList(t)}),this.menuSurfaceFactory_=t,this.listFactory_=e},y.prototype.initialSyncWithDOM=function(){var e=this;this.menuSurface_=this.menuSurfaceFactory_(this.root);var t=this.root.querySelector(h.strings.LIST_SELECTOR);t?(this.list_=this.listFactory_(t),this.list_.wrapFocus=!0):this.list_=null,this.handleKeydown_=function(t){return e.foundation.handleKeydown(t)},this.handleItemAction_=function(t){return e.foundation.handleItemAction(e.items[t.detail.index])},this.handleMenuSurfaceOpened_=function(){return e.foundation.handleMenuSurfaceOpened()},this.menuSurface_.listen(p.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.listen("keydown",this.handleKeydown_),this.listen(l.MDCListFoundation.strings.ACTION_EVENT,this.handleItemAction_)},y.prototype.destroy=function(){this.list_&&this.list_.destroy(),this.menuSurface_.destroy(),this.menuSurface_.unlisten(p.MDCMenuSurfaceFoundation.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.unlisten("keydown",this.handleKeydown_),this.unlisten(l.MDCListFoundation.strings.ACTION_EVENT,this.handleItemAction_),o.prototype.destroy.call(this)},Object.defineProperty(y.prototype,"open",{get:function(){return this.menuSurface_.isOpen()},set:function(t){t?this.menuSurface_.open():this.menuSurface_.close()},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"wrapFocus",{get:function(){return!!this.list_&&this.list_.wrapFocus},set:function(t){this.list_&&(this.list_.wrapFocus=t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"hasTypeahead",{set:function(t){this.list_&&(this.list_.hasTypeahead=t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"typeaheadInProgress",{get:function(){return!!this.list_&&this.list_.typeaheadInProgress},enumerable:!1,configurable:!0}),y.prototype.typeaheadMatchItem=function(t,e){return this.list_?this.list_.typeaheadMatchItem(t,e):-1},y.prototype.layout=function(){this.list_&&this.list_.layout()},Object.defineProperty(y.prototype,"items",{get:function(){return this.list_?this.list_.listElements:[]},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"singleSelection",{set:function(t){this.list_&&(this.list_.singleSelection=t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selectedIndex",{get:function(){return this.list_?this.list_.selectedIndex:u.numbers.UNSET_INDEX},set:function(t){this.list_&&(this.list_.selectedIndex=t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"quickOpen",{set:function(t){this.menuSurface_.quickOpen=t},enumerable:!1,configurable:!0}),y.prototype.setDefaultFocusState=function(t){this.foundation.setDefaultFocusState(t)},y.prototype.setAnchorCorner=function(t){this.menuSurface_.setAnchorCorner(t)},y.prototype.setAnchorMargin=function(t){this.menuSurface_.setAnchorMargin(t)},y.prototype.setSelectedIndex=function(t){this.foundation.setSelectedIndex(t)},y.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},y.prototype.getOptionByIndex=function(t){return t<this.items.length?this.items[t]:null},y.prototype.getPrimaryTextAtIndex=function(t){var e=this.getOptionByIndex(t);return e&&this.list_&&this.list_.getPrimaryText(e)||""},y.prototype.setFixedPosition=function(t){this.menuSurface_.setFixedPosition(t)},y.prototype.setIsHoisted=function(t){this.menuSurface_.setIsHoisted(t)},y.prototype.setAbsolutePosition=function(t,e){this.menuSurface_.setAbsolutePosition(t,e)},y.prototype.setAnchorElement=function(t){this.menuSurface_.anchorElement=t},y.prototype.getDefaultFoundation=function(){var i=this,t={addClassToElementAtIndex:function(t,e){i.items[t].classList.add(e)},removeClassFromElementAtIndex:function(t,e){i.items[t].classList.remove(e)},addAttributeToElementAtIndex:function(t,e,n){i.items[t].setAttribute(e,n)},removeAttributeFromElementAtIndex:function(t,e){i.items[t].removeAttribute(e)},elementContainsClass:function(t,e){return t.classList.contains(e)},closeSurface:function(t){return i.menuSurface_.close(t)},getElementIndex:function(t){return i.items.indexOf(t)},notifySelected:function(t){return i.emit(h.strings.SELECTED_EVENT,{index:t.index,item:i.items[t.index]})},getMenuItemCount:function(){return i.items.length},focusItemAtIndex:function(t){return i.items[t].focus()},focusListRoot:function(){return i.root.querySelector(h.strings.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(t){return!!a.closest(i.items[t],"."+h.cssClasses.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(t){var e=a.closest(i.items[t],"."+h.cssClasses.MENU_SELECTION_GROUP).querySelector("."+h.cssClasses.MENU_SELECTED_LIST_ITEM);return e?i.items.indexOf(e):-1}};return new f.MDCMenuFoundation(t)},y);function y(){return null!==o&&o.apply(this,arguments)||this}e.MDCMenu=_},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCMenuFoundation=void 0;var s,a=n(0),c=n(7),u=n(14),l=n(15),d=(s=a.MDCFoundation,r(p,s),Object.defineProperty(p,"cssClasses",{get:function(){return l.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"strings",{get:function(){return l.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"numbers",{get:function(){return l.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0}),p.prototype.destroy=function(){this.closeAnimationEndTimerId_&&clearTimeout(this.closeAnimationEndTimerId_),this.adapter.closeSurface()},p.prototype.handleKeydown=function(t){var e=t.key,n=t.keyCode;"Tab"!==e&&9!==n||this.adapter.closeSurface(!0)},p.prototype.handleItemAction=function(e){var n=this,t=this.adapter.getElementIndex(e);t<0||(this.adapter.notifySelected({index:t}),this.adapter.closeSurface(),this.closeAnimationEndTimerId_=setTimeout(function(){var t=n.adapter.getElementIndex(e);0<=t&&n.adapter.isSelectableItemAtIndex(t)&&n.setSelectedIndex(t)},u.MDCMenuSurfaceFoundation.numbers.TRANSITION_CLOSE_DURATION))},p.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState_){case l.DefaultFocusState.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case l.DefaultFocusState.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case l.DefaultFocusState.NONE:break;default:this.adapter.focusListRoot()}},p.prototype.setDefaultFocusState=function(t){this.defaultFocusState_=t},p.prototype.setSelectedIndex=function(t){if(this.validatedIndex_(t),!this.adapter.isSelectableItemAtIndex(t))throw new Error("MDCMenuFoundation: No selection group at specified index.");var e=this.adapter.getSelectedSiblingOfItemAtIndex(t);0<=e&&(this.adapter.removeAttributeFromElementAtIndex(e,l.strings.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(e,l.cssClasses.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(t,l.cssClasses.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(t,l.strings.ARIA_CHECKED_ATTR,"true")},p.prototype.setEnabled=function(t,e){this.validatedIndex_(t),e?(this.adapter.removeClassFromElementAtIndex(t,c.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,l.strings.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(t,c.cssClasses.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,l.strings.ARIA_DISABLED_ATTR,"true"))},p.prototype.validatedIndex_=function(t){var e=this.adapter.getMenuItemCount();if(!(0<=t&&t<e))throw new Error("MDCMenuFoundation: No list item at specified index.")},p);function p(t){var e=s.call(this,o(o({},p.defaultAdapter),t))||this;return e.closeAnimationEndTimerId_=0,e.defaultFocusState_=l.DefaultFocusState.LIST_ROOT,e}e.MDCMenuFoundation=d,e.default=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCNotchedOutlineFoundation=void 0;var s,a=n(0),c=n(31),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),l.prototype.notch=function(t){var e=l.cssClasses.OUTLINE_NOTCHED;0<t&&(t+=c.numbers.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(t),this.adapter.addClass(e)},l.prototype.closeNotch=function(){var t=l.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(t),this.adapter.removeNotchWidthProperty()},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCNotchedOutlineFoundation=u,e.default=u},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRadioFoundation=void 0;var s,a=n(0),c=n(78),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),l.prototype.setDisabled=function(t){var e=l.cssClasses.DISABLED;this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(e):this.adapter.removeClass(e)},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCRadioFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0;e.strings={NATIVE_CONTROL_SELECTOR:".mdc-radio__native-control"};e.cssClasses={DISABLED:"mdc-radio--disabled",ROOT:"mdc-radio"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSegmentedButtonFoundation=void 0;var a,c=n(0),u=n(80),l=(a=c.MDCFoundation,r(d,a),Object.defineProperty(d,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},getSegments:function(){return[]},selectSegment:function(){},unselectSegment:function(){},notifySelectedChange:function(){}}},enumerable:!1,configurable:!0}),d.prototype.selectSegment=function(t){this.adapter.selectSegment(t)},d.prototype.unselectSegment=function(t){this.adapter.unselectSegment(t)},d.prototype.getSelectedSegments=function(){return this.adapter.getSegments().filter(function(t){return t.selected})},d.prototype.isSegmentSelected=function(e){return this.adapter.getSegments().some(function(t){return(t.index===e||t.segmentId===e)&&t.selected})},d.prototype.isSingleSelect=function(){return this.adapter.hasClass(u.cssClasses.SINGLE_SELECT)},d.prototype.handleSelected=function(t){this.isSingleSelect()&&this.unselectPrevSelected(t.index),this.adapter.notifySelectedChange(t)},d.prototype.unselectPrevSelected=function(t){var e,n;try{for(var i=s(this.getSelectedSegments()),r=i.next();!r.done;r=i.next()){var o=r.value;o.index!==t&&this.unselectSegment(o.index)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},d);function d(t){return a.call(this,o(o({},d.defaultAdapter),t))||this}e.MDCSegmentedButtonFoundation=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.events=e.selectors=void 0,e.selectors={SEGMENT:".mdc-segmented-button__segment"},e.events={SELECTED:"selected",CHANGE:"change"},e.cssClasses={SINGLE_SELECT:"mdc-segmented-button--single-select"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSegmentedButtonSegment=void 0;var s,a=n(1),c=n(3),u=n(4),l=n(82),d=n(83),p=(s=a.MDCComponent,r(h,s),Object.defineProperty(h.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0}),h.attachTo=function(t){return new h(t)},h.prototype.initialize=function(t){var e=this;void 0===t&&(t=function(t,e){return new c.MDCRipple(t,e)});var n=o(o({},c.MDCRipple.createAdapter(this)),{computeBoundingRect:function(){return e.foundation.getDimensions()}});this.rippleComponent=t(this.root,new u.MDCRippleFoundation(n))},h.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen(l.events.CLICK,this.handleClick)},h.prototype.destroy=function(){this.ripple.destroy(),this.unlisten(l.events.CLICK,this.handleClick),s.prototype.destroy.call(this)},h.prototype.getDefaultFoundation=function(){var n=this,t={isSingleSelect:function(){return n.isSingleSelect},getAttr:function(t){return n.root.getAttribute(t)},setAttr:function(t,e){n.root.setAttribute(t,e)},addClass:function(t){n.root.classList.add(t)},removeClass:function(t){n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},notifySelectedChange:function(t){n.emit(l.events.SELECTED,{index:n.index,selected:t,segmentId:n.getSegmentId()},!0)},getRootBoundingClientRect:function(){return n.root.getBoundingClientRect()}};return new d.MDCSegmentedButtonSegmentFoundation(t)},h.prototype.setIndex=function(t){this.index=t},h.prototype.setIsSingleSelect=function(t){this.isSingleSelect=t},h.prototype.isSelected=function(){return this.foundation.isSelected()},h.prototype.setSelected=function(){this.foundation.setSelected()},h.prototype.setUnselected=function(){this.foundation.setUnselected()},h.prototype.getSegmentId=function(){return this.foundation.getSegmentId()},h);function h(){return null!==s&&s.apply(this,arguments)||this}e.MDCSegmentedButtonSegment=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.events=e.attributes=e.booleans=void 0,e.booleans={TRUE:"true",FALSE:"false"},e.attributes={ARIA_CHECKED:"aria-checked",ARIA_PRESSED:"aria-pressed",DATA_SEGMENT_ID:"data-segment-id"},e.events={CLICK:"click",SELECTED:"selected"},e.cssClasses={SELECTED:"mdc-segmented-button__segment--selected"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSegmentedButtonSegmentFoundation=void 0;var s,a=n(0),c=n(82),u={bottom:0,height:0,left:0,right:0,top:0,width:0},l=(s=a.MDCFoundation,r(d,s),Object.defineProperty(d,"defaultAdapter",{get:function(){return{isSingleSelect:function(){return!1},getAttr:function(){return""},setAttr:function(){},addClass:function(){},removeClass:function(){},hasClass:function(){return!1},notifySelectedChange:function(){},getRootBoundingClientRect:function(){return u}}},enumerable:!1,configurable:!0}),d.prototype.isSelected=function(){return this.adapter.hasClass(c.cssClasses.SELECTED)},d.prototype.setSelected=function(){this.adapter.addClass(c.cssClasses.SELECTED),this.setAriaAttr(c.booleans.TRUE)},d.prototype.setUnselected=function(){this.adapter.removeClass(c.cssClasses.SELECTED),this.setAriaAttr(c.booleans.FALSE)},d.prototype.getSegmentId=function(){var t;return null!==(t=this.adapter.getAttr(c.attributes.DATA_SEGMENT_ID))&&void 0!==t?t:void 0},d.prototype.handleClick=function(){this.adapter.isSingleSelect()?this.setSelected():this.toggleSelection(),this.adapter.notifySelectedChange(this.isSelected())},d.prototype.getDimensions=function(){return this.adapter.getRootBoundingClientRect()},d.prototype.toggleSelection=function(){this.isSelected()?this.setUnselected():this.setSelected()},d.prototype.setAriaAttr=function(t){this.adapter.isSingleSelect()?this.adapter.setAttr(c.attributes.ARIA_CHECKED,t):this.adapter.setAttr(c.attributes.ARIA_PRESSED,t)},d);function d(t){return s.call(this,o(o({},d.defaultAdapter),t))||this}e.MDCSegmentedButtonSegmentFoundation=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelectFoundation=void 0;var s,a=n(0),c=n(6),u=n(8),l=n(32),d=(s=a.MDCFoundation,r(p,s),Object.defineProperty(p,"cssClasses",{get:function(){return l.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"numbers",{get:function(){return l.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(p,"strings",{get:function(){return l.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),p.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},p.prototype.setSelectedIndex=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1),t>=this.adapter.getMenuItemCount()||(t===l.numbers.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(t).trim()),this.adapter.setSelectedIndex(t),e&&this.adapter.closeMenu(),n||this.lastSelectedIndex===t||this.handleChange(),this.lastSelectedIndex=t)},p.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.adapter.getMenuItemValues().indexOf(t);this.setSelectedIndex(n,!1,e)},p.prototype.getValue=function(){var t=this.adapter.getSelectedIndex(),e=this.adapter.getMenuItemValues();return t!==l.numbers.UNSET_INDEX?e[t]:""},p.prototype.getDisabled=function(){return this.disabled},p.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(l.cssClasses.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(l.cssClasses.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},p.prototype.openMenu=function(){this.adapter.addClass(l.cssClasses.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},p.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},p.prototype.layout=function(){if(this.adapter.hasLabel()){var t=0<this.getValue().length,e=this.adapter.hasClass(l.cssClasses.FOCUSED),n=t||e,i=this.adapter.hasClass(l.cssClasses.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(i)}},p.prototype.layoutOptions=function(){var t=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(t,!1,!0)},p.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var t=this.getSelectedIndex(),e=0<=t?t:0;this.adapter.focusMenuItemAtIndex(e)}},p.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},p.prototype.handleMenuClosed=function(){this.adapter.removeClass(l.cssClasses.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},p.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(l.cssClasses.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},p.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},p.prototype.handleFocus=function(){this.adapter.addClass(l.cssClasses.FOCUSED),this.layout(),this.adapter.activateBottomLine()},p.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},p.prototype.handleClick=function(t){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(t),this.openMenu()))},p.prototype.handleKeydown=function(t){if(!this.isMenuOpen&&this.adapter.hasClass(l.cssClasses.FOCUSED)){var e=c.normalizeKey(t)===c.KEY.ENTER,n=c.normalizeKey(t)===c.KEY.SPACEBAR,i=c.normalizeKey(t)===c.KEY.ARROW_UP,r=c.normalizeKey(t)===c.KEY.ARROW_DOWN;if(!t.ctrlKey&&!t.metaKey&&(!n&&t.key&&1===t.key.length||n&&this.adapter.isTypeaheadInProgress())){var o=n?" ":t.key,s=this.adapter.typeaheadMatchItem(o,this.getSelectedIndex());return 0<=s&&this.setSelectedIndex(s),void t.preventDefault()}(e||n||i||r)&&(i&&0<this.getSelectedIndex()?this.setSelectedIndex(this.getSelectedIndex()-1):r&&this.getSelectedIndex()<this.adapter.getMenuItemCount()-1&&this.setSelectedIndex(this.getSelectedIndex()+1),this.openMenu(),t.preventDefault())}},p.prototype.notchOutline=function(t){if(this.adapter.hasOutline()){var e=this.adapter.hasClass(l.cssClasses.FOCUSED);if(t){var n=l.numbers.LABEL_SCALE,i=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(i)}else e||this.adapter.closeOutline()}},p.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},p.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},p.prototype.setUseDefaultValidation=function(t){this.useDefaultValidation=t},p.prototype.setValid=function(t){this.useDefaultValidation||(this.customValidity=t),this.adapter.setSelectAnchorAttr("aria-invalid",(!t).toString()),t?(this.adapter.removeClass(l.cssClasses.INVALID),this.adapter.removeMenuClass(l.cssClasses.MENU_INVALID)):(this.adapter.addClass(l.cssClasses.INVALID),this.adapter.addMenuClass(l.cssClasses.MENU_INVALID)),this.syncHelperTextValidity(t)},p.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(l.cssClasses.REQUIRED)&&!this.adapter.hasClass(l.cssClasses.DISABLED)?this.getSelectedIndex()!==l.numbers.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},p.prototype.setRequired=function(t){t?this.adapter.addClass(l.cssClasses.REQUIRED):this.adapter.removeClass(l.cssClasses.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",t.toString()),this.adapter.setLabelRequired(t)},p.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},p.prototype.init=function(){var t=this.adapter.getAnchorElement();t&&(this.adapter.setMenuAnchorElement(t),this.adapter.setMenuAnchorCorner(u.Corner.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(l.cssClasses.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(l.cssClasses.INVALID)),this.layout(),this.layoutOptions()},p.prototype.blur=function(){this.adapter.removeClass(l.cssClasses.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(l.cssClasses.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},p.prototype.syncHelperTextValidity=function(t){if(this.helperText){this.helperText.setValidity(t);var e=this.helperText.isVisible(),n=this.helperText.getId();e&&n?this.adapter.setSelectAnchorAttr(l.strings.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(l.strings.ARIA_DESCRIBEDBY)}},p.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout(function(){t.recentlyClicked=!1},l.numbers.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},p);function p(t,e){void 0===e&&(e={});var n=s.call(this,o(o({},p.defaultAdapter),t))||this;return n.disabled=!1,n.isMenuOpen=!1,n.useDefaultValidation=!0,n.customValidity=!0,n.lastSelectedIndex=l.numbers.UNSET_INDEX,n.clickDebounceTimeout=0,n.recentlyClicked=!1,n.leadingIcon=e.leadingIcon,n.helperText=e.helperText,n}e.MDCSelectFoundation=d,e.default=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelectHelperText=void 0;var o,s=n(1),a=n(86),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),u.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},getAttr:function(t){return n.root.getAttribute(t)},setAttr:function(t,e){return n.root.setAttribute(t,e)},removeAttr:function(t){return n.root.removeAttribute(t)},setContent:function(t){n.root.textContent=t}};return new a.MDCSelectHelperTextFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCSelectHelperText=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelectHelperTextFoundation=void 0;var s,a=n(0),c=n(87),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),l.prototype.getId=function(){return this.adapter.getAttr("id")},l.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(c.strings.ARIA_HIDDEN)},l.prototype.setContent=function(t){this.adapter.setContent(t)},l.prototype.setValidation=function(t){t?this.adapter.addClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG)},l.prototype.setValidationMsgPersistent=function(t){t?this.adapter.addClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},l.prototype.setValidity=function(t){if(this.adapter.hasClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG)){var e=this.adapter.hasClass(c.cssClasses.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);if(!t||e)return this.showToScreenReader(),void(t?this.adapter.removeAttr(c.strings.ROLE):this.adapter.setAttr(c.strings.ROLE,"alert"));this.adapter.removeAttr(c.strings.ROLE),this.hide()}},l.prototype.showToScreenReader=function(){this.adapter.removeAttr(c.strings.ARIA_HIDDEN)},l.prototype.hide=function(){this.adapter.setAttr(c.strings.ARIA_HIDDEN,"true")},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCSelectHelperTextFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0;e.strings={ARIA_HIDDEN:"aria-hidden",ROLE:"role"};e.cssClasses={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelectIcon=void 0;var o,s=n(1),a=n(89),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),u.prototype.getDefaultFoundation=function(){var n=this,t={getAttr:function(t){return n.root.getAttribute(t)},setAttr:function(t,e){return n.root.setAttribute(t,e)},removeAttr:function(t){return n.root.removeAttribute(t)},setContent:function(t){n.root.textContent=t},registerInteractionHandler:function(t,e){return n.listen(t,e)},deregisterInteractionHandler:function(t,e){return n.unlisten(t,e)},notifyIconAction:function(){return n.emit(a.MDCSelectIconFoundation.strings.ICON_EVENT,{},!0)}};return new a.MDCSelectIconFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCSelectIcon=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelectIconFoundation=void 0;var s,a=n(0),c=n(90),u=["click","keydown"],l=(s=a.MDCFoundation,r(d,s),Object.defineProperty(d,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(d,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),d.prototype.init=function(){var e=this;this.savedTabIndex_=this.adapter.getAttr("tabindex"),u.forEach(function(t){e.adapter.registerInteractionHandler(t,e.interactionHandler_)})},d.prototype.destroy=function(){var e=this;u.forEach(function(t){e.adapter.deregisterInteractionHandler(t,e.interactionHandler_)})},d.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex_),this.adapter.setAttr("role",c.strings.ICON_ROLE)))},d.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},d.prototype.setContent=function(t){this.adapter.setContent(t)},d.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;"click"!==t.type&&!e||this.adapter.notifyIconAction()},d);function d(t){var e=s.call(this,o(o({},d.defaultAdapter),t))||this;return e.savedTabIndex_=null,e.interactionHandler_=function(t){return e.handleInteraction(t)},e}e.MDCSelectIconFoundation=l,e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=void 0;e.strings={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSliderFoundation=void 0;var l,s=n(23),d=n(10),a=n(0),c=n(33),p=n(34);(l=l||{}).SLIDER_UPDATE="slider_update";var u,h="undefined"!=typeof window,f=(u=a.MDCFoundation,r(_,u),Object.defineProperty(_,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},getThumbKnobWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),_.prototype.init=function(){var t=this;this.isDisabled=this.adapter.hasClass(c.cssClasses.DISABLED),this.isDiscrete=this.adapter.hasClass(c.cssClasses.DISCRETE),this.hasTickMarks=this.adapter.hasClass(c.cssClasses.TICK_MARKS),this.isRange=this.adapter.hasClass(c.cssClasses.RANGE);var e=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(c.attributes.INPUT_MIN,this.isRange?p.Thumb.START:p.Thumb.END),c.attributes.INPUT_MIN),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(c.attributes.INPUT_MAX,p.Thumb.END),c.attributes.INPUT_MAX),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(c.attributes.INPUT_VALUE,p.Thumb.END),c.attributes.INPUT_VALUE),r=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(c.attributes.INPUT_VALUE,p.Thumb.START),c.attributes.INPUT_VALUE):e,o=this.adapter.getInputAttribute(c.attributes.INPUT_STEP,p.Thumb.END),s=o?this.convertAttributeValueToNumber(o,c.attributes.INPUT_STEP):this.step;this.validateProperties({min:e,max:n,value:i,valueStart:r,step:s}),this.min=e,this.max=n,this.value=i,this.valueStart=r,this.step=s,this.numDecimalPlaces=function(t){var e=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(t));if(!e)return 0;var n=e[1]||"",i=e[2]||0;return Math.max(0,("0"===n?0:n.length)-Number(i))}(this.step),this.valueBeforeDownEvent=i,this.valueStartBeforeDownEvent=r,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){t.handleInputChange(p.Thumb.START)},this.inputEndChangeListener=function(){t.handleInputChange(p.Thumb.END)},this.inputStartFocusListener=function(){t.handleInputFocus(p.Thumb.START)},this.inputEndFocusListener=function(){t.handleInputFocus(p.Thumb.END)},this.inputStartBlurListener=function(){t.handleInputBlur(p.Thumb.START)},this.inputEndBlurListener=function(){t.handleInputBlur(p.Thumb.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},_.prototype.destroy=function(){this.deregisterEventHandlers()},_.prototype.getMin=function(){return this.min},_.prototype.getMax=function(){return this.max},_.prototype.getValue=function(){return this.value},_.prototype.setValue=function(t){if(this.isRange&&t<this.valueStart)throw new Error("end thumb value ("+t+") must be >= start thumb value ("+this.valueStart+")");this.updateValue(t,p.Thumb.END)},_.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},_.prototype.setValueStart=function(t){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value)throw new Error("start thumb value ("+t+") must be <= end thumb value ("+this.value+")");this.updateValue(t,p.Thumb.START)},_.prototype.getStep=function(){return this.step},_.prototype.getDisabled=function(){return this.isDisabled},_.prototype.setDisabled=function(t){(this.isDisabled=t)?(this.adapter.addClass(c.cssClasses.DISABLED),this.isRange&&this.adapter.setInputAttribute(c.attributes.INPUT_DISABLED,"",p.Thumb.START),this.adapter.setInputAttribute(c.attributes.INPUT_DISABLED,"",p.Thumb.END)):(this.adapter.removeClass(c.cssClasses.DISABLED),this.isRange&&this.adapter.removeInputAttribute(c.attributes.INPUT_DISABLED,p.Thumb.START),this.adapter.removeInputAttribute(c.attributes.INPUT_DISABLED,p.Thumb.END))},_.prototype.getIsRange=function(){return this.isRange},_.prototype.layout=function(t){var e=(void 0===t?{}:t).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(p.Thumb.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(p.Thumb.END)),e||this.updateUI()},_.prototype.handleResize=function(){this.layout()},_.prototype.handleDown=function(t){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX;this.downEventClientX=e;var n=this.mapClientXOnSliderScale(e);this.thumb=this.getThumbFromDownEvent(e,n),null!==this.thumb&&(this.handleDragStart(t,n,this.thumb),this.updateValue(n,this.thumb,{emitInputEvent:!0}))}},_.prototype.handleMove=function(t){if(!this.isDisabled){t.preventDefault();var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX,n=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(e),null!==this.thumb){var i=this.mapClientXOnSliderScale(e);n||(this.handleDragStart(t,i,this.thumb),this.adapter.emitDragStartEvent(i,this.thumb)),this.updateValue(i,this.thumb,{emitInputEvent:!0})}}},_.prototype.handleUp=function(){if(!this.isDisabled&&null!==this.thumb){var t=this.thumb===p.Thumb.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,e=this.thumb===p.Thumb.START?this.valueStart:this.value;t!==e&&this.adapter.emitChangeEvent(e,this.thumb),this.adapter.emitDragEndEvent(e,this.thumb),this.thumb=null}},_.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,p.Thumb.START),this.adapter.addThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,p.Thumb.END))},_.prototype.handleThumbMouseleave=function(){this.isDiscrete&&this.isRange&&(this.adapter.isInputFocused(p.Thumb.START)||this.adapter.isInputFocused(p.Thumb.END)||(this.adapter.removeThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,p.Thumb.START),this.adapter.removeThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,p.Thumb.END)))},_.prototype.handleMousedownOrTouchstart=function(t){var e=this,n="mousedown"===t.type?"mousemove":"touchmove";function i(){e.handleUp(),e.adapter.deregisterBodyEventHandler(n,e.moveListener),e.adapter.deregisterEventHandler("mouseup",i),e.adapter.deregisterEventHandler("touchend",i)}this.adapter.registerBodyEventHandler(n,this.moveListener),this.adapter.registerBodyEventHandler("mouseup",i),this.adapter.registerBodyEventHandler("touchend",i),this.handleDown(t)},_.prototype.handlePointerdown=function(t){this.adapter.setPointerCapture(t.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(t)},_.prototype.handleInputChange=function(t){var e=Number(this.adapter.getInputValue(t));t===p.Thumb.START?this.setValueStart(e):this.setValue(e),this.adapter.emitChangeEvent(t===p.Thumb.START?this.valueStart:this.value,t),this.adapter.emitInputEvent(t===p.Thumb.START?this.valueStart:this.value,t)},_.prototype.handleInputFocus=function(t){if(this.adapter.addThumbClass(c.cssClasses.THUMB_FOCUSED,t),this.isDiscrete&&(this.adapter.addThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,t),this.isRange)){var e=t===p.Thumb.START?p.Thumb.END:p.Thumb.START;this.adapter.addThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,e)}},_.prototype.handleInputBlur=function(t){if(this.adapter.removeThumbClass(c.cssClasses.THUMB_FOCUSED,t),this.isDiscrete&&(this.adapter.removeThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,t),this.isRange)){var e=t===p.Thumb.START?p.Thumb.END:p.Thumb.START;this.adapter.removeThumbClass(c.cssClasses.THUMB_WITH_INDICATOR,e)}},_.prototype.handleDragStart=function(t,e,n){this.adapter.focusInput(n),t.preventDefault(),this.adapter.emitDragStartEvent(e,n)},_.prototype.getThumbFromDownEvent=function(t,e){if(!this.isRange)return p.Thumb.END;var n=this.adapter.getThumbBoundingClientRect(p.Thumb.START),i=this.adapter.getThumbBoundingClientRect(p.Thumb.END),r=t>=n.left&&t<=n.right,o=t>=i.left&&t<=i.right;return r&&o?null:r?p.Thumb.START:o?p.Thumb.END:e<this.valueStart?p.Thumb.START:e>this.value?p.Thumb.END:e-this.valueStart<=this.value-e?p.Thumb.START:p.Thumb.END},_.prototype.getThumbFromMoveEvent=function(t){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-t)<c.numbers.THUMB_UPDATE_MIN_PX?this.thumb:t<this.downEventClientX?this.adapter.isRTL()?p.Thumb.END:p.Thumb.START:this.adapter.isRTL()?p.Thumb.START:p.Thumb.END},_.prototype.updateUI=function(t){this.updateThumbAndInputAttributes(t),this.updateThumbAndTrackUI(t),this.updateValueIndicatorUI(t),this.updateTickMarksUI()},_.prototype.updateThumbAndInputAttributes=function(t){if(t){var e=this.isRange&&t===p.Thumb.START?this.valueStart:this.value,n=String(e);this.adapter.setInputAttribute(c.attributes.INPUT_VALUE,n,t),this.isRange&&t===p.Thumb.START?this.adapter.setInputAttribute(c.attributes.INPUT_MIN,n,p.Thumb.END):this.isRange&&t===p.Thumb.END&&this.adapter.setInputAttribute(c.attributes.INPUT_MAX,n,p.Thumb.START),this.adapter.getInputValue(t)!==n&&this.adapter.setInputValue(n,t);var i=this.adapter.getValueToAriaValueTextFn();i&&this.adapter.setInputAttribute(c.attributes.ARIA_VALUETEXT,i(e),t)}},_.prototype.updateValueIndicatorUI=function(t){if(this.isDiscrete){var e=this.isRange&&t===p.Thumb.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(e,t===p.Thumb.START?p.Thumb.START:p.Thumb.END),!t&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,p.Thumb.START)}},_.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var t=(this.valueStart-this.min)/this.step,e=(this.value-this.valueStart)/this.step+1,n=(this.max-this.value)/this.step,i=Array.from({length:t}).fill(p.TickMark.INACTIVE),r=Array.from({length:e}).fill(p.TickMark.ACTIVE),o=Array.from({length:n}).fill(p.TickMark.INACTIVE);this.adapter.updateTickMarks(i.concat(r).concat(o))}},_.prototype.mapClientXOnSliderScale=function(t){var e=(t-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(e=1-e);var n=this.min+e*(this.max-this.min);return n===this.max||n===this.min?n:Number(this.quantize(n).toFixed(this.numDecimalPlaces))},_.prototype.quantize=function(t){var e=Math.round((t-this.min)/this.step);return this.min+e*this.step},_.prototype.updateValue=function(t,e,n){var i=(void 0===n?{}:n).emitInputEvent;if(t=this.clampValue(t,e),this.isRange&&e===p.Thumb.START){if(this.valueStart===t)return;this.valueStart=t}else{if(this.value===t)return;this.value=t}this.updateUI(e),i&&this.adapter.emitInputEvent(e===p.Thumb.START?this.valueStart:this.value,e)},_.prototype.clampValue=function(t,e){return t=Math.min(Math.max(t,this.min),this.max),this.isRange&&e===p.Thumb.START&&t>this.value?this.value:this.isRange&&e===p.Thumb.END&&t<this.valueStart?this.valueStart:t},_.prototype.updateThumbAndTrackUI=function(n){var i=this,t=this.max,e=this.min,r=(this.value-this.valueStart)/(t-e),o=r*this.rect.width,s=this.adapter.isRTL(),a=h?d.getCorrectPropertyName(window,"transform"):"transform";if(this.isRange){var c=this.adapter.isRTL()?(t-this.value)/(t-e)*this.rect.width:(this.valueStart-e)/(t-e)*this.rect.width,u=c+o;this.animFrame.request(l.SLIDER_UPDATE,function(){!s&&n===p.Thumb.START||s&&n!==p.Thumb.START?(i.adapter.setTrackActiveStyleProperty("transform-origin","right"),i.adapter.setTrackActiveStyleProperty("left","unset"),i.adapter.setTrackActiveStyleProperty("right",i.rect.width-u+"px")):(i.adapter.setTrackActiveStyleProperty("transform-origin","left"),i.adapter.setTrackActiveStyleProperty("right","unset"),i.adapter.setTrackActiveStyleProperty("left",c+"px")),i.adapter.setTrackActiveStyleProperty(a,"scaleX("+r+")");var t=s?u:c,e=i.adapter.isRTL()?c:u;n!==p.Thumb.START&&n&&i.initialStylesRemoved||i.adapter.setThumbStyleProperty(a,"translateX("+t+"px)",p.Thumb.START),n!==p.Thumb.END&&n&&i.initialStylesRemoved||i.adapter.setThumbStyleProperty(a,"translateX("+e+"px)",p.Thumb.END),i.removeInitialStyles(s),i.updateOverlappingThumbsUI(t,e,n)})}else this.animFrame.request(l.SLIDER_UPDATE,function(){var t=s?i.rect.width-o:o;i.adapter.setThumbStyleProperty(a,"translateX("+t+"px)",p.Thumb.END),i.adapter.setTrackActiveStyleProperty(a,"scaleX("+r+")"),i.removeInitialStyles(s)})},_.prototype.removeInitialStyles=function(t){if(!this.initialStylesRemoved){var e=t?"right":"left";this.adapter.removeThumbStyleProperty(e,p.Thumb.END),this.isRange&&this.adapter.removeThumbStyleProperty(e,p.Thumb.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},_.prototype.resetTrackAndThumbAnimation=function(){var t=this;if(this.isDiscrete){var e=h?d.getCorrectPropertyName(window,"transition"):"transition",n="all 0s ease 0s";this.adapter.setThumbStyleProperty(e,n,p.Thumb.END),this.isRange&&this.adapter.setThumbStyleProperty(e,n,p.Thumb.START),this.adapter.setTrackActiveStyleProperty(e,n),requestAnimationFrame(function(){t.adapter.removeThumbStyleProperty(e,p.Thumb.END),t.adapter.removeTrackActiveStyleProperty(e),t.isRange&&t.adapter.removeThumbStyleProperty(e,p.Thumb.START)})}},_.prototype.updateOverlappingThumbsUI=function(t,e,n){var i=!1;if(this.adapter.isRTL())i=t-this.startThumbKnobWidth/2<=e+this.endThumbKnobWidth/2;else{var r=t+this.startThumbKnobWidth/2;i=e-this.endThumbKnobWidth/2<=r}i?(this.adapter.addThumbClass(c.cssClasses.THUMB_TOP,n||p.Thumb.END),this.adapter.removeThumbClass(c.cssClasses.THUMB_TOP,n===p.Thumb.START?p.Thumb.END:p.Thumb.START)):(this.adapter.removeThumbClass(c.cssClasses.THUMB_TOP,p.Thumb.START),this.adapter.removeThumbClass(c.cssClasses.THUMB_TOP,p.Thumb.END))},_.prototype.convertAttributeValueToNumber=function(t,e){if(null===t)throw new Error("MDCSliderFoundation: `"+e+"` must be non-null.");var n=Number(t);if(isNaN(n))throw new Error("MDCSliderFoundation: `"+e+"` value is `"+t+"`, but must be a number.");return n},_.prototype.validateProperties=function(t){var e=t.min,n=t.max,i=t.value,r=t.valueStart,o=t.step;if(n<=e)throw new Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+e+", max: "+n+"]");if(o<=0)throw new Error("MDCSliderFoundation: step must be a positive number. Current step: "+this.step);if(this.isRange){if(i<e||n<i||r<e||n<r)throw new Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+r+", end value: "+i+"]");if(i<r)throw new Error("MDCSliderFoundation: start value must be <= end value. Current values: [start value: "+r+", end value: "+i+"]");var s=(i-e)/o;if((r-e)/o%1!=0||s%1!=0)throw new Error("MDCSliderFoundation: Slider values must be valid based on the step value. Current values: [start value: "+r+", end value: "+i+"]")}else{if(i<e||n<i)throw new Error("MDCSliderFoundation: value must be in [min, max] range. Current value: "+i);if((s=(i-e)/o)%1!=0)throw new Error("MDCSliderFoundation: Slider value must be valid based on the step value. Current value: "+i)}},_.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),_.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(p.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(p.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(p.Thumb.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(p.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(p.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(p.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(p.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(p.Thumb.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(p.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(p.Thumb.END,"blur",this.inputEndBlurListener)},_.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),_.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(p.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(p.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(p.Thumb.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(p.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(p.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(p.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(p.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(p.Thumb.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(p.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(p.Thumb.END,"blur",this.inputEndBlurListener)},_.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},_.SUPPORTS_POINTER_EVENTS=h&&Boolean(window.PointerEvent)&&!(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),_);function _(t){var e=u.call(this,o(o({},_.defaultAdapter),t))||this;return e.initialStylesRemoved=!1,e.isDisabled=!1,e.isDiscrete=!1,e.step=c.numbers.STEP_SIZE,e.hasTickMarks=!1,e.isRange=!1,e.thumb=null,e.downEventClientX=null,e.startThumbKnobWidth=0,e.endThumbKnobWidth=0,e.animFrame=new s.AnimationFrame,e}e.MDCSliderFoundation=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.announce=void 0;var i=n(16),r=i.numbers.ARIA_LIVE_DELAY_MS,o=i.strings.ARIA_LIVE_LABEL_TEXT_ATTR;e.announce=function(t,e){void 0===e&&(e=t);var n=t.getAttribute("aria-live"),i=e.textContent.trim();i&&n&&(t.setAttribute("aria-live","off"),e.textContent="",e.innerHTML='<span style="display: inline-block; width: 0; height: 1px;">&nbsp;</span>',e.setAttribute(o,i),setTimeout(function(){t.setAttribute("aria-live",n),e.removeAttribute(o),e.textContent=i},r))}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSnackbarFoundation=void 0;var s,a=n(0),c=n(16),u=c.cssClasses.OPENING,l=c.cssClasses.OPEN,d=c.cssClasses.CLOSING,p=c.strings.REASON_ACTION,h=c.strings.REASON_DISMISS,f=(s=a.MDCFoundation,r(_,s),Object.defineProperty(_,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(_,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(_,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(_,"defaultAdapter",{get:function(){return{addClass:function(){},announce:function(){},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},removeClass:function(){}}},enumerable:!1,configurable:!0}),_.prototype.destroy=function(){this.clearAutoDismissTimer_(),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=0,this.adapter.removeClass(u),this.adapter.removeClass(l),this.adapter.removeClass(d)},_.prototype.open=function(){var e=this;this.clearAutoDismissTimer_(),this.isOpen_=!0,this.adapter.notifyOpening(),this.adapter.removeClass(d),this.adapter.addClass(u),this.adapter.announce(),this.runNextAnimationFrame_(function(){e.adapter.addClass(l),e.animationTimer_=setTimeout(function(){var t=e.getTimeoutMs();e.handleAnimationTimerEnd_(),e.adapter.notifyOpened(),t!==c.numbers.INDETERMINATE&&(e.autoDismissTimer_=setTimeout(function(){e.close(h)},t))},c.numbers.SNACKBAR_ANIMATION_OPEN_TIME_MS)})},_.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.isOpen_&&(cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,this.clearAutoDismissTimer_(),this.isOpen_=!1,this.adapter.notifyClosing(t),this.adapter.addClass(c.cssClasses.CLOSING),this.adapter.removeClass(c.cssClasses.OPEN),this.adapter.removeClass(c.cssClasses.OPENING),clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout(function(){e.handleAnimationTimerEnd_(),e.adapter.notifyClosed(t)},c.numbers.SNACKBAR_ANIMATION_CLOSE_TIME_MS))},_.prototype.isOpen=function(){return this.isOpen_},_.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs_},_.prototype.setTimeoutMs=function(t){var e=c.numbers.MIN_AUTO_DISMISS_TIMEOUT_MS,n=c.numbers.MAX_AUTO_DISMISS_TIMEOUT_MS,i=c.numbers.INDETERMINATE;if(!(t===c.numbers.INDETERMINATE||t<=n&&e<=t))throw new Error("\n        timeoutMs must be an integer in the range "+e+"–"+n+"\n        (or "+i+" to disable), but got '"+t+"'");this.autoDismissTimeoutMs_=t},_.prototype.getCloseOnEscape=function(){return this.closeOnEscape_},_.prototype.setCloseOnEscape=function(t){this.closeOnEscape_=t},_.prototype.handleKeyDown=function(t){"Escape"!==t.key&&27!==t.keyCode||!this.getCloseOnEscape()||this.close(h)},_.prototype.handleActionButtonClick=function(t){this.close(p)},_.prototype.handleActionIconClick=function(t){this.close(h)},_.prototype.clearAutoDismissTimer_=function(){clearTimeout(this.autoDismissTimer_),this.autoDismissTimer_=0},_.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter.removeClass(c.cssClasses.OPENING),this.adapter.removeClass(c.cssClasses.CLOSING)},_.prototype.runNextAnimationFrame_=function(t){var e=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame(function(){e.animationFrame_=0,clearTimeout(e.animationTimer_),e.animationTimer_=setTimeout(t,0)})},_);function _(t){var e=s.call(this,o(o({},_.defaultAdapter),t))||this;return e.isOpen_=!1,e.animationFrame_=0,e.animationTimer_=0,e.autoDismissTimer_=0,e.autoDismissTimeoutMs_=c.numbers.DEFAULT_AUTO_DISMISS_TIMEOUT_MS,e.closeOnEscape_=!0,e}e.MDCSnackbarFoundation=f,e.default=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSwitchFoundation=void 0;var s,a=n(0),c=n(95),u=(s=a.MDCFoundation,r(l,s),Object.defineProperty(l,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(l,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlChecked:function(){},setNativeControlDisabled:function(){},setNativeControlAttr:function(){}}},enumerable:!1,configurable:!0}),l.prototype.setChecked=function(t){this.adapter.setNativeControlChecked(t),this.updateAriaChecked_(t),this.updateCheckedStyling_(t)},l.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(c.cssClasses.DISABLED):this.adapter.removeClass(c.cssClasses.DISABLED)},l.prototype.handleChange=function(t){var e=t.target;this.updateAriaChecked_(e.checked),this.updateCheckedStyling_(e.checked)},l.prototype.updateCheckedStyling_=function(t){t?this.adapter.addClass(c.cssClasses.CHECKED):this.adapter.removeClass(c.cssClasses.CHECKED)},l.prototype.updateAriaChecked_=function(t){this.adapter.setNativeControlAttr(c.strings.ARIA_CHECKED_ATTR,""+!!t)},l);function l(t){return s.call(this,o(o({},l.defaultAdapter),t))||this}e.MDCSwitchFoundation=u,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0;e.cssClasses={CHECKED:"mdc-switch--checked",DISABLED:"mdc-switch--disabled"};e.strings={ARIA_CHECKED_ATTR:"aria-checked",NATIVE_CONTROL_SELECTOR:".mdc-switch__native-control",RIPPLE_SURFACE_SELECTOR:".mdc-switch__thumb-underlay"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabScroller=void 0;var c,u=n(1),l=n(5),d=n(2),p=n(97),h=a(n(98)),f=(c=u.MDCComponent,r(_,c),_.attachTo=function(t){return new _(t)},_.prototype.initialize=function(){this.area_=this.root.querySelector(p.MDCTabScrollerFoundation.strings.AREA_SELECTOR),this.content_=this.root.querySelector(p.MDCTabScrollerFoundation.strings.CONTENT_SELECTOR)},_.prototype.initialSyncWithDOM=function(){var e=this;this.handleInteraction_=function(){return e.foundation.handleInteraction()},this.handleTransitionEnd_=function(t){return e.foundation.handleTransitionEnd(t)},this.area_.addEventListener("wheel",this.handleInteraction_,l.applyPassive()),this.area_.addEventListener("touchstart",this.handleInteraction_,l.applyPassive()),this.area_.addEventListener("pointerdown",this.handleInteraction_,l.applyPassive()),this.area_.addEventListener("mousedown",this.handleInteraction_,l.applyPassive()),this.area_.addEventListener("keydown",this.handleInteraction_,l.applyPassive()),this.content_.addEventListener("transitionend",this.handleTransitionEnd_)},_.prototype.destroy=function(){c.prototype.destroy.call(this),this.area_.removeEventListener("wheel",this.handleInteraction_,l.applyPassive()),this.area_.removeEventListener("touchstart",this.handleInteraction_,l.applyPassive()),this.area_.removeEventListener("pointerdown",this.handleInteraction_,l.applyPassive()),this.area_.removeEventListener("mousedown",this.handleInteraction_,l.applyPassive()),this.area_.removeEventListener("keydown",this.handleInteraction_,l.applyPassive()),this.content_.removeEventListener("transitionend",this.handleTransitionEnd_)},_.prototype.getDefaultFoundation=function(){var n=this,t={eventTargetMatchesSelector:function(t,e){return d.matches(t,e)},addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},addScrollAreaClass:function(t){return n.area_.classList.add(t)},setScrollAreaStyleProperty:function(t,e){return n.area_.style.setProperty(t,e)},setScrollContentStyleProperty:function(t,e){return n.content_.style.setProperty(t,e)},getScrollContentStyleValue:function(t){return window.getComputedStyle(n.content_).getPropertyValue(t)},setScrollAreaScrollLeft:function(t){return n.area_.scrollLeft=t},getScrollAreaScrollLeft:function(){return n.area_.scrollLeft},getScrollContentOffsetWidth:function(){return n.content_.offsetWidth},getScrollAreaOffsetWidth:function(){return n.area_.offsetWidth},computeScrollAreaClientRect:function(){return n.area_.getBoundingClientRect()},computeScrollContentClientRect:function(){return n.content_.getBoundingClientRect()},computeHorizontalScrollbarHeight:function(){return h.computeHorizontalScrollbarHeight(document)}};return new p.MDCTabScrollerFoundation(t)},_.prototype.getScrollPosition=function(){return this.foundation.getScrollPosition()},_.prototype.getScrollContentWidth=function(){return this.content_.offsetWidth},_.prototype.incrementScroll=function(t){this.foundation.incrementScroll(t)},_.prototype.scrollTo=function(t){this.foundation.scrollTo(t)},_);function _(){return null!==c&&c.apply(this,arguments)||this}e.MDCTabScroller=f},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabScrollerFoundation=void 0;var a,c=n(0),u=n(35),l=n(214),d=n(215),p=n(216),h=(a=c.MDCFoundation,r(f,a),Object.defineProperty(f,"cssClasses",{get:function(){return u.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(f,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(f,"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}),f.prototype.init=function(){var t=this.adapter.computeHorizontalScrollbarHeight();this.adapter.setScrollAreaStyleProperty("margin-bottom",-t+"px"),this.adapter.addScrollAreaClass(f.cssClasses.SCROLL_AREA_SCROLL)},f.prototype.getScrollPosition=function(){if(this.isRTL_())return this.computeCurrentScrollPositionRTL_();var t=this.calculateCurrentTranslateX_();return this.adapter.getScrollAreaScrollLeft()-t},f.prototype.handleInteraction=function(){this.isAnimating_&&this.stopScrollAnimation_()},f.prototype.handleTransitionEnd=function(t){var e=t.target;this.isAnimating_&&this.adapter.eventTargetMatchesSelector(e,f.strings.CONTENT_SELECTOR)&&(this.isAnimating_=!1,this.adapter.removeClass(f.cssClasses.ANIMATING))},f.prototype.incrementScroll=function(t){0!==t&&this.animate_(this.getIncrementScrollOperation_(t))},f.prototype.incrementScrollImmediate=function(t){if(0!==t){var e=this.getIncrementScrollOperation_(t);0!==e.scrollDelta&&(this.stopScrollAnimation_(),this.adapter.setScrollAreaScrollLeft(e.finalScrollPosition))}},f.prototype.scrollTo=function(t){if(this.isRTL_())return this.scrollToRTL_(t);this.scrollTo_(t)},f.prototype.getRTLScroller=function(){return this.rtlScrollerInstance_||(this.rtlScrollerInstance_=this.rtlScrollerFactory_()),this.rtlScrollerInstance_},f.prototype.calculateCurrentTranslateX_=function(){var t=this.adapter.getScrollContentStyleValue("transform");if("none"===t)return 0;var e=/\((.+?)\)/.exec(t);if(!e)return 0;var n=e[1],i=s(n.split(","),6),r=(i[0],i[1],i[2],i[3],i[4]);return i[5],parseFloat(r)},f.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.min(Math.max(e.left,t),e.right)},f.prototype.computeCurrentScrollPositionRTL_=function(){var t=this.calculateCurrentTranslateX_();return this.getRTLScroller().getScrollPositionRTL(t)},f.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},f.prototype.scrollTo_=function(t){var e=this.getScrollPosition(),n=this.clampScrollValue_(t),i=n-e;this.animate_({finalScrollPosition:n,scrollDelta:i})},f.prototype.scrollToRTL_=function(t){var e=this.getRTLScroller().scrollToRTL(t);this.animate_(e)},f.prototype.getIncrementScrollOperation_=function(t){if(this.isRTL_())return this.getRTLScroller().incrementScrollRTL(t);var e=this.getScrollPosition(),n=t+e,i=this.clampScrollValue_(n);return{finalScrollPosition:i,scrollDelta:i-e}},f.prototype.animate_=function(t){var e=this;0!==t.scrollDelta&&(this.stopScrollAnimation_(),this.adapter.setScrollAreaScrollLeft(t.finalScrollPosition),this.adapter.setScrollContentStyleProperty("transform","translateX("+t.scrollDelta+"px)"),this.adapter.computeScrollAreaClientRect(),requestAnimationFrame(function(){e.adapter.addClass(f.cssClasses.ANIMATING),e.adapter.setScrollContentStyleProperty("transform","none")}),this.isAnimating_=!0)},f.prototype.stopScrollAnimation_=function(){this.isAnimating_=!1;var t=this.getAnimatingScrollPosition_();this.adapter.removeClass(f.cssClasses.ANIMATING),this.adapter.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter.setScrollAreaScrollLeft(t)},f.prototype.getAnimatingScrollPosition_=function(){var t=this.calculateCurrentTranslateX_(),e=this.adapter.getScrollAreaScrollLeft();return this.isRTL_()?this.getRTLScroller().getAnimatingScrollPosition(e,t):e-t},f.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 d.MDCTabScrollerRTLNegative(this.adapter);var n=this.adapter.computeScrollAreaClientRect(),i=this.adapter.computeScrollContentClientRect(),r=Math.round(i.right-n.right);return this.adapter.setScrollAreaScrollLeft(t),r===e?new p.MDCTabScrollerRTLReverse(this.adapter):new l.MDCTabScrollerRTLDefault(this.adapter)},f.prototype.isRTL_=function(){return"rtl"===this.adapter.getScrollContentStyleValue("direction")},f);function f(t){var e=a.call(this,o(o({},f.defaultAdapter),t))||this;return e.isAnimating_=!1,e}e.MDCTabScrollerFoundation=h,e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeHorizontalScrollbarHeight=void 0;var r,o=n(35);e.computeHorizontalScrollbarHeight=function(t,e){if(void 0===e&&(e=!0),e&&void 0!==r)return r;var n=t.createElement("div");n.classList.add(o.cssClasses.SCROLL_TEST),t.body.appendChild(n);var i=n.offsetHeight-n.clientHeight;return t.body.removeChild(n),e&&(r=i),i}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTab=void 0;var o,s=n(1),a=n(3),c=n(4),u=n(100),l=n(37),d=(o=s.MDCComponent,r(p,o),p.attachTo=function(t){return new p(t)},p.prototype.initialize=function(t,e){void 0===t&&(t=function(t,e){return new a.MDCRipple(t,e)}),void 0===e&&(e=function(t){return new u.MDCTabIndicator(t)}),this.id=this.root.id;var n=new c.MDCRippleFoundation(a.MDCRipple.createAdapter(this));this.ripple_=t(this.root,n);var i=this.root.querySelector(l.MDCTabFoundation.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator_=e(i),this.content_=this.root.querySelector(l.MDCTabFoundation.strings.CONTENT_SELECTOR)},p.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick_=function(){return t.foundation.handleClick()},this.listen("click",this.handleClick_)},p.prototype.destroy=function(){this.unlisten("click",this.handleClick_),this.ripple_.destroy(),o.prototype.destroy.call(this)},p.prototype.getDefaultFoundation=function(){var n=this,t={setAttr:function(t,e){return n.root.setAttribute(t,e)},addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},activateIndicator:function(t){return n.tabIndicator_.activate(t)},deactivateIndicator:function(){return n.tabIndicator_.deactivate()},notifyInteracted:function(){return n.emit(l.MDCTabFoundation.strings.INTERACTED_EVENT,{tabId:n.id},!0)},getOffsetLeft:function(){return n.root.offsetLeft},getOffsetWidth:function(){return n.root.offsetWidth},getContentOffsetLeft:function(){return n.content_.offsetLeft},getContentOffsetWidth:function(){return n.content_.offsetWidth},focus:function(){return n.root.focus()}};return new l.MDCTabFoundation(t)},Object.defineProperty(p.prototype,"active",{get:function(){return this.foundation.isActive()},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"focusOnActivate",{set:function(t){this.foundation.setFocusOnActivate(t)},enumerable:!1,configurable:!0}),p.prototype.activate=function(t){this.foundation.activate(t)},p.prototype.deactivate=function(){this.foundation.deactivate()},p.prototype.computeIndicatorClientRect=function(){return this.tabIndicator_.computeContentClientRect()},p.prototype.computeDimensions=function(){return this.foundation.computeDimensions()},p.prototype.focus=function(){this.root.focus()},p);function p(){return null!==o&&o.apply(this,arguments)||this}e.MDCTab=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabIndicator=void 0;var o,s=n(1),a=n(101),c=n(17),u=n(103),l=(o=s.MDCComponent,r(d,o),d.attachTo=function(t){return new d(t)},d.prototype.initialize=function(){this.content_=this.root.querySelector(c.MDCTabIndicatorFoundation.strings.CONTENT_SELECTOR)},d.prototype.computeContentClientRect=function(){return this.foundation.computeContentClientRect()},d.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},computeContentClientRect:function(){return n.content_.getBoundingClientRect()},setContentStyleProperty:function(t,e){return n.content_.style.setProperty(t,e)}};return this.root.classList.contains(c.MDCTabIndicatorFoundation.cssClasses.FADE)?new a.MDCFadingTabIndicatorFoundation(t):new u.MDCSlidingTabIndicatorFoundation(t)},d.prototype.activate=function(t){this.foundation.activate(t)},d.prototype.deactivate=function(){this.foundation.deactivate()},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCTabIndicator=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFadingTabIndicatorFoundation=void 0;var o,s=n(17),a=(o=s.MDCTabIndicatorFoundation,r(c,o),c.prototype.activate=function(){this.adapter.addClass(s.MDCTabIndicatorFoundation.cssClasses.ACTIVE)},c.prototype.deactivate=function(){this.adapter.removeClass(s.MDCTabIndicatorFoundation.cssClasses.ACTIVE)},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.MDCFadingTabIndicatorFoundation=a,e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0;e.cssClasses={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"};e.strings={CONTENT_SELECTOR:".mdc-tab-indicator__content"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSlidingTabIndicatorFoundation=void 0;var o,s=n(17),a=(o=s.MDCTabIndicatorFoundation,r(c,o),c.prototype.activate=function(t){if(t){var e=this.computeContentClientRect(),n=t.width/e.width,i=t.left-e.left;this.adapter.addClass(s.MDCTabIndicatorFoundation.cssClasses.NO_TRANSITION),this.adapter.setContentStyleProperty("transform","translateX("+i+"px) scaleX("+n+")"),this.computeContentClientRect(),this.adapter.removeClass(s.MDCTabIndicatorFoundation.cssClasses.NO_TRANSITION),this.adapter.addClass(s.MDCTabIndicatorFoundation.cssClasses.ACTIVE),this.adapter.setContentStyleProperty("transform","")}else this.adapter.addClass(s.MDCTabIndicatorFoundation.cssClasses.ACTIVE)},c.prototype.deactivate=function(){this.adapter.removeClass(s.MDCTabIndicatorFoundation.cssClasses.ACTIVE)},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.MDCSlidingTabIndicatorFoundation=a,e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.cssClasses=void 0;e.cssClasses={ACTIVE:"mdc-tab--active"};e.strings={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"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabBarFoundation=void 0;var s=n(0),u=n(106),a=new Set;a.add(u.strings.ARROW_LEFT_KEY),a.add(u.strings.ARROW_RIGHT_KEY),a.add(u.strings.END_KEY),a.add(u.strings.HOME_KEY),a.add(u.strings.ENTER_KEY),a.add(u.strings.SPACE_KEY);var c=new Map;c.set(u.numbers.ARROW_LEFT_KEYCODE,u.strings.ARROW_LEFT_KEY),c.set(u.numbers.ARROW_RIGHT_KEYCODE,u.strings.ARROW_RIGHT_KEY),c.set(u.numbers.END_KEYCODE,u.strings.END_KEY),c.set(u.numbers.HOME_KEYCODE,u.strings.HOME_KEY),c.set(u.numbers.ENTER_KEYCODE,u.strings.ENTER_KEY),c.set(u.numbers.SPACE_KEYCODE,u.strings.SPACE_KEY);var l,d=(l=s.MDCFoundation,r(p,l),Object.defineProperty(p,"strings",{get:function(){return u.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"numbers",{get:function(){return u.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(p,"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}),p.prototype.setUseAutomaticActivation=function(t){this.useAutomaticActivation_=t},p.prototype.activateTab=function(t){var e,n=this.adapter.getPreviousActiveTabIndex();this.indexIsInRange_(t)&&t!==n&&(-1!==n&&(this.adapter.deactivateTabAtIndex(n),e=this.adapter.getTabIndicatorClientRectAtIndex(n)),this.adapter.activateTabAtIndex(t,e),this.scrollIntoView(t),this.adapter.notifyTabActivated(t))},p.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 n=this.determineTargetFromKey_(this.adapter.getPreviousActiveTabIndex(),e);this.adapter.setActiveTab(n),this.scrollIntoView(n)}else{var i=this.adapter.getFocusedTabIndex();this.isActivationKey_(e)?this.adapter.setActiveTab(i):(n=this.determineTargetFromKey_(i,e),this.adapter.focusTabAtIndex(n),this.scrollIntoView(n))}},p.prototype.handleTabInteraction=function(t){this.adapter.setActiveTab(this.adapter.getIndexOfTabById(t.detail.tabId))},p.prototype.scrollIntoView=function(t){if(this.indexIsInRange_(t))return 0===t?this.adapter.scrollTo(0):t===this.adapter.getTabListLength()-1?this.adapter.scrollTo(this.adapter.getScrollContentWidth()):this.isRTL_()?this.scrollIntoViewRTL_(t):void this.scrollIntoView_(t)},p.prototype.determineTargetFromKey_=function(t,e){var n=this.isRTL_(),i=this.adapter.getTabListLength()-1,r=e===u.strings.END_KEY,o=e===u.strings.ARROW_LEFT_KEY&&!n||e===u.strings.ARROW_RIGHT_KEY&&n,s=e===u.strings.ARROW_RIGHT_KEY&&!n||e===u.strings.ARROW_LEFT_KEY&&n,a=t;return r?a=i:o?a-=1:s?a+=1:a=0,a<0?a=i:i<a&&(a=0),a},p.prototype.calculateScrollIncrement_=function(t,e,n,i){var r=this.adapter.getTabDimensionsAtIndex(e),o=r.contentLeft-n-i,s=r.contentRight-n-u.numbers.EXTRA_SCROLL_AMOUNT,a=o+u.numbers.EXTRA_SCROLL_AMOUNT;return e<t?Math.min(s,0):Math.max(a,0)},p.prototype.calculateScrollIncrementRTL_=function(t,e,n,i,r){var o=this.adapter.getTabDimensionsAtIndex(e),s=r-o.contentLeft-n,a=r-o.contentRight-n-i+u.numbers.EXTRA_SCROLL_AMOUNT,c=s-u.numbers.EXTRA_SCROLL_AMOUNT;return t<e?Math.max(a,0):Math.min(c,0)},p.prototype.findAdjacentTabIndexClosestToEdge_=function(t,e,n,i){var r=e.rootLeft-n,o=e.rootRight-n-i,s=r+o;return r<0||s<0?t-1:0<o||0<s?t+1:-1},p.prototype.findAdjacentTabIndexClosestToEdgeRTL_=function(t,e,n,i,r){var o=r-e.rootLeft-i-n,s=r-e.rootRight-n,a=o+s;return 0<o||0<a?t+1:s<0||a<0?t-1:-1},p.prototype.getKeyFromEvent_=function(t){return a.has(t.key)?t.key:c.get(t.keyCode)},p.prototype.isActivationKey_=function(t){return t===u.strings.SPACE_KEY||t===u.strings.ENTER_KEY},p.prototype.indexIsInRange_=function(t){return 0<=t&&t<this.adapter.getTabListLength()},p.prototype.isRTL_=function(){return this.adapter.isRTL()},p.prototype.scrollIntoView_=function(t){var e=this.adapter.getScrollPosition(),n=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),r=this.findAdjacentTabIndexClosestToEdge_(t,i,e,n);if(this.indexIsInRange_(r)){var o=this.calculateScrollIncrement_(t,r,e,n);this.adapter.incrementScroll(o)}},p.prototype.scrollIntoViewRTL_=function(t){var e=this.adapter.getScrollPosition(),n=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),r=this.adapter.getScrollContentWidth(),o=this.findAdjacentTabIndexClosestToEdgeRTL_(t,i,e,n,r);if(this.indexIsInRange_(o)){var s=this.calculateScrollIncrementRTL_(t,o,e,n,r);this.adapter.incrementScroll(s)}},p);function p(t){var e=l.call(this,o(o({},p.defaultAdapter),t))||this;return e.useAutomaticActivation_=!1,e}e.MDCTabBarFoundation=d,e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=e.numbers=void 0;e.strings={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"};e.numbers={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldCharacterCounter=void 0;var o,s=n(1),a=n(38),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),u.prototype.getDefaultFoundation=function(){var e=this,t={setContent:function(t){e.root.textContent=t}};return new a.MDCTextFieldCharacterCounterFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCTextFieldCharacterCounter=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0;var i={ROOT:"mdc-text-field-character-counter"},r={ROOT_SELECTOR:"."+(e.cssClasses=i).ROOT};e.strings=r},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldFoundation=void 0;var s,a=n(0),c=n(39),u=["mousedown","touchstart"],l=["click","keydown"],d=(s=a.MDCFoundation,r(p,s),Object.defineProperty(p,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(p,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(p,"numbers",{get:function(){return c.numbers},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"shouldAlwaysFloat_",{get:function(){var t=this.getNativeInput_().type;return 0<=c.ALWAYS_FLOAT_TYPES.indexOf(t)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat_||this.isFocused_||!!this.getValue()||this.isBadInput_()},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"shouldShake",{get:function(){return!this.isFocused_&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(p,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),p.prototype.init=function(){var e=this;this.adapter.hasLabel()&&this.getNativeInput_().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler_():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating_(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler_),u.forEach(function(t){e.adapter.registerInputInteractionHandler(t,e.setPointerXOffset_)}),l.forEach(function(t){e.adapter.registerTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)}),this.validationObserver_=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().length)},p.prototype.destroy=function(){var e=this;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler_),u.forEach(function(t){e.adapter.deregisterInputInteractionHandler(t,e.setPointerXOffset_)}),l.forEach(function(t){e.adapter.deregisterTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)}),this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver_)},p.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput_=!0)},p.prototype.handleValidationAttributeChange=function(t){var e=this;t.some(function(t){return-1<c.VALIDATION_ATTR_WHITELIST.indexOf(t)&&(e.styleValidity_(!0),e.adapter.setLabelRequired(e.getNativeInput_().required),!0)}),-1<t.indexOf("maxlength")&&this.setCharacterCounter_(this.getValue().length)},p.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*c.numbers.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},p.prototype.activateFocus=function(){this.isFocused_=!0,this.styleFocused_(this.isFocused_),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText_||!this.helperText_.isPersistent()&&this.helperText_.isValidation()&&this.isValid_||this.helperText_.showToScreenReader()},p.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,n=e?e[0]:t,i=n.target.getBoundingClientRect(),r=n.clientX-i.left;this.adapter.setLineRippleTransformOrigin(r)}},p.prototype.handleInput=function(){this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},p.prototype.autoCompleteFocus=function(){this.receivedUserInput_||this.activateFocus()},p.prototype.deactivateFocus=function(){this.isFocused_=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity_(t),this.styleFocused_(this.isFocused_),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput_=!1)},p.prototype.getValue=function(){return this.getNativeInput_().value},p.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput_().value=t),this.setCharacterCounter_(t.length),this.validateOnValueChange_){var e=this.isValid();this.styleValidity_(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.validateOnValueChange_&&this.adapter.shakeLabel(this.shouldShake))},p.prototype.isValid=function(){return this.useNativeValidation_?this.isNativeInputValid_():this.isValid_},p.prototype.setValid=function(t){this.isValid_=t,this.styleValidity_(t);var e=!t&&!this.isFocused_&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},p.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange_=t},p.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange_},p.prototype.setUseNativeValidation=function(t){this.useNativeValidation_=t},p.prototype.isDisabled=function(){return this.getNativeInput_().disabled},p.prototype.setDisabled=function(t){this.getNativeInput_().disabled=t,this.styleDisabled_(t)},p.prototype.setHelperTextContent=function(t){this.helperText_&&this.helperText_.setContent(t)},p.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(t)},p.prototype.setLeadingIconContent=function(t){this.leadingIcon_&&this.leadingIcon_.setContent(t)},p.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon_&&this.trailingIcon_.setAriaLabel(t)},p.prototype.setTrailingIconContent=function(t){this.trailingIcon_&&this.trailingIcon_.setContent(t)},p.prototype.setCharacterCounter_=function(t){if(this.characterCounter_){var e=this.getNativeInput_().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter_.setCounterValue(t,e)}},p.prototype.isBadInput_=function(){return this.getNativeInput_().validity.badInput||!1},p.prototype.isNativeInputValid_=function(){return this.getNativeInput_().validity.valid},p.prototype.styleValidity_=function(t){var e=p.cssClasses.INVALID;if(t?this.adapter.removeClass(e):this.adapter.addClass(e),this.helperText_){if(this.helperText_.setValidity(t),!this.helperText_.isValidation())return;var n=this.helperText_.isVisible(),i=this.helperText_.getId();n&&i?this.adapter.setInputAttr(c.strings.ARIA_DESCRIBEDBY,i):this.adapter.removeInputAttr(c.strings.ARIA_DESCRIBEDBY)}},p.prototype.styleFocused_=function(t){var e=p.cssClasses.FOCUSED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},p.prototype.styleDisabled_=function(t){var e=p.cssClasses,n=e.DISABLED,i=e.INVALID;t?(this.adapter.addClass(n),this.adapter.removeClass(i)):this.adapter.removeClass(n),this.leadingIcon_&&this.leadingIcon_.setDisabled(t),this.trailingIcon_&&this.trailingIcon_.setDisabled(t)},p.prototype.styleFloating_=function(t){var e=p.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(e):this.adapter.removeClass(e)},p.prototype.getNativeInput_=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},p);function p(t,e){void 0===e&&(e={});var n=s.call(this,o(o({},p.defaultAdapter),t))||this;return n.isFocused_=!1,n.receivedUserInput_=!1,n.isValid_=!0,n.useNativeValidation_=!0,n.validateOnValueChange_=!0,n.helperText_=e.helperText,n.characterCounter_=e.characterCounter,n.leadingIcon_=e.leadingIcon,n.trailingIcon_=e.trailingIcon,n.inputFocusHandler_=function(){return n.activateFocus()},n.inputBlurHandler_=function(){return n.deactivateFocus()},n.inputInputHandler_=function(){return n.handleInput()},n.setPointerXOffset_=function(t){return n.setTransformOrigin(t)},n.textFieldInteractionHandler_=function(){return n.handleTextFieldInteraction()},n.validationAttributeChangeHandler_=function(t){return n.handleValidationAttributeChange(t)},n}e.MDCTextFieldFoundation=d,e.default=d},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldHelperText=void 0;var o,s=n(1),a=n(40),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),u.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},getAttr:function(t){return n.root.getAttribute(t)},setAttr:function(t,e){return n.root.setAttribute(t,e)},removeAttr:function(t){return n.root.removeAttribute(t)},setContent:function(t){n.root.textContent=t}};return new a.MDCTextFieldHelperTextFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCTextFieldHelperText=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0;var i={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},r={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+(e.cssClasses=i).ROOT};e.strings=r},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldIcon=void 0;var o,s=n(1),a=n(113),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),u.prototype.getDefaultFoundation=function(){var n=this,t={getAttr:function(t){return n.root.getAttribute(t)},setAttr:function(t,e){return n.root.setAttribute(t,e)},removeAttr:function(t){return n.root.removeAttribute(t)},setContent:function(t){n.root.textContent=t},registerInteractionHandler:function(t,e){return n.listen(t,e)},deregisterInteractionHandler:function(t,e){return n.unlisten(t,e)},notifyIconAction:function(){return n.emit(a.MDCTextFieldIconFoundation.strings.ICON_EVENT,{},!0)}};return new a.MDCTextFieldIconFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCTextFieldIcon=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextFieldIconFoundation=void 0;var s,a=n(0),c=n(114),u=["click","keydown"],l=(s=a.MDCFoundation,r(d,s),Object.defineProperty(d,"strings",{get:function(){return c.strings},enumerable:!1,configurable:!0}),Object.defineProperty(d,"cssClasses",{get:function(){return c.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(d,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),d.prototype.init=function(){var e=this;this.savedTabIndex_=this.adapter.getAttr("tabindex"),u.forEach(function(t){e.adapter.registerInteractionHandler(t,e.interactionHandler_)})},d.prototype.destroy=function(){var e=this;u.forEach(function(t){e.adapter.deregisterInteractionHandler(t,e.interactionHandler_)})},d.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex_),this.adapter.setAttr("role",c.strings.ICON_ROLE)))},d.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},d.prototype.setContent=function(t){this.adapter.setContent(t)},d.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;"click"!==t.type&&!e||(t.preventDefault(),this.adapter.notifyIconAction())},d);function d(t){var e=s.call(this,o(o({},d.defaultAdapter),t))||this;return e.savedTabIndex_=null,e.interactionHandler_=function(t){return e.handleInteraction(t)},e}e.MDCTextFieldIconFoundation=l,e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cssClasses=e.strings=void 0;e.strings={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"};e.cssClasses={ROOT:"mdc-text-field__icon"}},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},u=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTooltipFoundation=void 0;var s,a=n(23),h=n(10),c=n(0),l=n(6),d=n(41),p=d.CssClasses.RICH,f=d.CssClasses.SHOWN,_=d.CssClasses.SHOWING,y=d.CssClasses.SHOWING_TRANSITION,C=d.CssClasses.HIDE,E=d.CssClasses.HIDE_TRANSITION,g=d.CssClasses.MULTILINE_TOOLTIP;(s=s||{}).POLL_ANCHOR="poll_anchor";var m,v="undefined"!=typeof window,T=(m=c.MDCFoundation,r(b,m),Object.defineProperty(b,"defaultAdapter",{get:function(){return{getAttribute:function(){return null},setAttribute:function(){},addClass:function(){},hasClass:function(){return!1},removeClass:function(){},getComputedStyleProperty:function(){return""},setStyleProperty:function(){},setSurfaceStyleProperty:function(){},getViewportWidth:function(){return 0},getViewportHeight:function(){return 0},getTooltipSize:function(){return{width:0,height:0}},getAnchorBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getParentBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getAnchorAttribute:function(){return null},setAnchorAttribute:function(){return null},isRTL:function(){return!1},anchorContainsElement:function(){return!1},tooltipContainsElement:function(){return!1},focusAnchorElement:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerAnchorEventHandler:function(){},deregisterAnchorEventHandler:function(){},registerDocumentEventHandler:function(){},deregisterDocumentEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){},notifyHidden:function(){},getTooltipCaretSize:function(){return null},setTooltipCaretStyle:function(){},clearTooltipCaretStyles:function(){}}},enumerable:!1,configurable:!0}),b.prototype.init=function(){this.richTooltip=this.adapter.hasClass(p),this.persistentTooltip="true"===this.adapter.getAttribute(d.attributes.PERSISTENT),this.interactiveTooltip=!!this.adapter.getAnchorAttribute(d.attributes.ARIA_EXPANDED)&&"dialog"===this.adapter.getAnchorAttribute(d.attributes.ARIA_HASPOPUP),this.hasCaret=this.richTooltip&&"true"===this.adapter.getAttribute(d.attributes.HAS_CARET)},b.prototype.isShown=function(){return this.tooltipShown},b.prototype.isRich=function(){return this.richTooltip},b.prototype.isPersistent=function(){return this.persistentTooltip},b.prototype.handleAnchorMouseEnter=function(){var t=this;this.tooltipShown?this.show():(this.clearHideTimeout(),this.showTimeout=setTimeout(function(){t.show()},this.showDelayMs))},b.prototype.handleAnchorTouchstart=function(){var t=this;this.showTimeout=setTimeout(function(){t.show()},this.showDelayMs),this.adapter.registerWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch)},b.prototype.preventContextMenuOnLongTouch=function(t){t.preventDefault()},b.prototype.handleAnchorTouchend=function(){this.clearShowTimeout(),this.isShown()||this.adapter.deregisterWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch)},b.prototype.handleAnchorFocus=function(t){var e=this,n=t.relatedTarget;n instanceof HTMLElement&&this.adapter.tooltipContainsElement(n)||(this.showTimeout=setTimeout(function(){e.show()},this.showDelayMs))},b.prototype.handleAnchorMouseLeave=function(){var t=this;this.clearShowTimeout(),this.hideTimeout=setTimeout(function(){t.hide()},this.hideDelayMs)},b.prototype.handleAnchorClick=function(){this.tooltipShown?this.hide():this.show()},b.prototype.handleDocumentClick=function(t){var e=t.target instanceof HTMLElement&&(this.adapter.anchorContainsElement(t.target)||this.adapter.tooltipContainsElement(t.target));this.richTooltip&&this.persistentTooltip&&e||this.hide()},b.prototype.handleKeydown=function(t){l.normalizeKey(t)===l.KEY.ESCAPE&&(document.activeElement instanceof HTMLElement&&this.adapter.tooltipContainsElement(document.activeElement)&&this.adapter.focusAnchorElement(),this.hide())},b.prototype.handleAnchorBlur=function(t){this.richTooltip&&t.relatedTarget instanceof HTMLElement&&this.adapter.tooltipContainsElement(t.relatedTarget)||this.hide()},b.prototype.handleRichTooltipMouseEnter=function(){this.show()},b.prototype.handleRichTooltipMouseLeave=function(){var t=this;this.clearShowTimeout(),this.hideTimeout=setTimeout(function(){t.hide()},this.hideDelayMs)},b.prototype.handleRichTooltipFocusOut=function(t){t.relatedTarget instanceof HTMLElement&&(this.adapter.anchorContainsElement(t.relatedTarget)||this.adapter.tooltipContainsElement(t.relatedTarget))||this.hide()},b.prototype.handleWindowChangeEvent=function(){var t=this;this.animFrame.request(s.POLL_ANCHOR,function(){t.repositionTooltipOnAnchorMove()})},b.prototype.show=function(){var e,t,n=this;if(this.clearHideTimeout(),this.clearShowTimeout(),!this.tooltipShown){this.tooltipShown=!0,this.parseShowTooltipOptions().hideFromScreenreader||this.adapter.setAttribute("aria-hidden","false"),this.richTooltip&&(this.interactiveTooltip&&this.adapter.setAnchorAttribute("aria-expanded","true"),this.adapter.registerEventHandler("focusout",this.richTooltipFocusOutHandler),this.persistentTooltip||(this.adapter.registerEventHandler("mouseenter",this.richTooltipMouseEnterHandler),this.adapter.registerEventHandler("mouseleave",this.richTooltipMouseLeaveHandler))),this.adapter.removeClass(C),this.adapter.addClass(_),this.isTooltipMultiline()&&!this.richTooltip&&this.adapter.addClass(g),this.anchorRect=this.adapter.getAnchorBoundingRect(),this.parentRect=this.adapter.getParentBoundingRect(),this.richTooltip?this.positionRichTooltip():this.positionPlainTooltip(),this.hasCaret&&this.setCaretPositionStyles(this.tooltipPositionWithCaret),this.adapter.registerAnchorEventHandler("blur",this.anchorBlurHandler),this.adapter.registerDocumentEventHandler("click",this.documentClickHandler),this.adapter.registerDocumentEventHandler("keydown",this.documentKeydownHandler),this.adapter.registerWindowEventHandler("scroll",this.windowScrollHandler),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler);try{for(var i=u(this.addAncestorScrollEventListeners),r=i.next();!r.done;r=i.next())(0,r.value)()}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this.frameId=requestAnimationFrame(function(){n.clearAllAnimationClasses(),n.adapter.addClass(f),n.adapter.addClass(y)})}},b.prototype.hide=function(){var e,t;if(this.clearHideTimeout(),this.clearShowTimeout(),this.tooltipShown){this.frameId&&cancelAnimationFrame(this.frameId),this.tooltipShown=!1,this.adapter.setAttribute("aria-hidden","true"),this.adapter.deregisterEventHandler("focusout",this.richTooltipFocusOutHandler),this.richTooltip&&(this.interactiveTooltip&&this.adapter.setAnchorAttribute("aria-expanded","false"),this.persistentTooltip||(this.adapter.deregisterEventHandler("mouseenter",this.richTooltipMouseEnterHandler),this.adapter.deregisterEventHandler("mouseleave",this.richTooltipMouseLeaveHandler))),this.clearAllAnimationClasses(),this.adapter.addClass(C),this.adapter.addClass(E),this.adapter.removeClass(f),this.adapter.deregisterAnchorEventHandler("blur",this.anchorBlurHandler),this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler),this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler),this.adapter.deregisterWindowEventHandler("scroll",this.windowScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("contextmenu",this.preventContextMenuOnLongTouch);try{for(var n=u(this.removeAncestorScrollEventListeners),i=n.next();!i.done;i=n.next())(0,i.value)()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}},b.prototype.handleTransitionEnd=function(){var t=this.adapter.hasClass(C);this.adapter.removeClass(_),this.adapter.removeClass(y),this.adapter.removeClass(C),this.adapter.removeClass(E),t&&this.adapter.notifyHidden()},b.prototype.clearAllAnimationClasses=function(){this.adapter.removeClass(y),this.adapter.removeClass(E)},b.prototype.setTooltipPosition=function(t){var e=t.xPos,n=t.yPos,i=t.withCaretPos;this.hasCaret&&i?this.tooltipPositionWithCaret=i:(e&&(this.xTooltipPos=e),n&&(this.yTooltipPos=n))},b.prototype.setAnchorBoundaryType=function(t){t===d.AnchorBoundaryType.UNBOUNDED?this.anchorGap=d.numbers.UNBOUNDED_ANCHOR_GAP:this.anchorGap=d.numbers.BOUNDED_ANCHOR_GAP},b.prototype.parseShowTooltipOptions=function(){return{hideFromScreenreader:Boolean(this.adapter.getAnchorAttribute("data-tooltip-id"))}},b.prototype.isTooltipMultiline=function(){var t=this.adapter.getTooltipSize();return t.height>d.numbers.MIN_HEIGHT&&t.width>=d.numbers.MAX_WIDTH},b.prototype.positionPlainTooltip=function(){var t=this.calculateTooltipStyles(this.anchorRect),e=t.top,n=t.yTransformOrigin,i=t.left,r=t.xTransformOrigin,o=v?h.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setSurfaceStyleProperty(o+"-origin",n+" "+r),this.adapter.setStyleProperty("top",e+"px"),this.adapter.setStyleProperty("left",i+"px")},b.prototype.positionRichTooltip=function(){var t,e,n,i,r=this.adapter.getComputedStyleProperty("width");this.adapter.setStyleProperty("width",r);var o=this.calculateTooltipStyles(this.anchorRect),s=o.top,a=o.yTransformOrigin,c=o.left,u=o.xTransformOrigin,l=v?h.getCorrectPropertyName(window,"transform"):"transform";this.adapter.setSurfaceStyleProperty(l+"-origin",a+" "+u);var d=c-(null!==(e=null===(t=this.parentRect)||void 0===t?void 0:t.left)&&void 0!==e?e:0),p=s-(null!==(i=null===(n=this.parentRect)||void 0===n?void 0:n.top)&&void 0!==i?i:0);this.adapter.setStyleProperty("top",p+"px"),this.adapter.setStyleProperty("left",d+"px")},b.prototype.calculateTooltipStyles=function(t){if(!t)return{top:0,left:0};var e=this.adapter.getTooltipSize(),n=this.calculateYTooltipDistance(t,e.height),i=this.calculateXTooltipDistance(t,e.width);return{top:n.distance,yTransformOrigin:n.yTransformOrigin,left:i.distance,xTransformOrigin:i.xTransformOrigin}},b.prototype.calculateXTooltipDistance=function(t,e){var n,i,r,o,s,a=!this.adapter.isRTL();s=this.richTooltip?(n=a?t.left-e:t.right,i=a?t.right:t.left-e,o=a?d.strings.RIGHT:d.strings.LEFT,a?d.strings.LEFT:d.strings.RIGHT):(n=a?t.left:t.right-e,i=a?t.right-e:t.left,r=t.left+(t.width-e)/2,o=a?d.strings.LEFT:d.strings.RIGHT,a?d.strings.RIGHT:d.strings.LEFT);var c=this.richTooltip?this.determineValidPositionOptions(n,i):this.determineValidPositionOptions(r,n,i);if(this.xTooltipPos===d.XPosition.START&&c.has(n))return{distance:n,xTransformOrigin:o};if(this.xTooltipPos===d.XPosition.END&&c.has(i))return{distance:i,xTransformOrigin:s};if(this.xTooltipPos===d.XPosition.CENTER&&c.has(r))return{distance:r,xTransformOrigin:d.strings.CENTER};var u=(this.richTooltip?[{distance:i,xTransformOrigin:s},{distance:n,xTransformOrigin:o}]:[{distance:r,xTransformOrigin:d.strings.CENTER},{distance:n,xTransformOrigin:o},{distance:i,xTransformOrigin:s}]).find(function(t){var e=t.distance;return c.has(e)});return u||(t.left<0?{distance:this.minViewportTooltipThreshold,xTransformOrigin:d.strings.LEFT}:{distance:this.adapter.getViewportWidth()-(e+this.minViewportTooltipThreshold),xTransformOrigin:d.strings.RIGHT})},b.prototype.determineValidPositionOptions=function(){for(var e,t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=new Set,o=new Set;try{for(var s=u(n),a=s.next();!a.done;a=s.next()){var c=a.value;this.positionHonorsViewportThreshold(c)?r.add(c):this.positionDoesntCollideWithViewport(c)&&o.add(c)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return r.size?r:o},b.prototype.positionHonorsViewportThreshold=function(t){var e=this.adapter.getViewportWidth();return t+this.adapter.getTooltipSize().width<=e-this.minViewportTooltipThreshold&&t>=this.minViewportTooltipThreshold},b.prototype.positionDoesntCollideWithViewport=function(t){var e=this.adapter.getViewportWidth();return t+this.adapter.getTooltipSize().width<=e&&0<=t},b.prototype.calculateYTooltipDistance=function(t,e){var n=t.bottom+this.anchorGap,i=t.top-(this.anchorGap+e),r=this.determineValidYPositionOptions(i,n);return this.yTooltipPos===d.YPosition.ABOVE&&r.has(i)?{distance:i,yTransformOrigin:d.strings.BOTTOM}:this.yTooltipPos===d.YPosition.BELOW&&r.has(n)?{distance:n,yTransformOrigin:d.strings.TOP}:r.has(n)?{distance:n,yTransformOrigin:d.strings.TOP}:r.has(i)?{distance:i,yTransformOrigin:d.strings.BOTTOM}:{distance:n,yTransformOrigin:d.strings.TOP}},b.prototype.determineValidYPositionOptions=function(t,e){var n=new Set,i=new Set;return this.yPositionHonorsViewportThreshold(t)?n.add(t):this.yPositionDoesntCollideWithViewport(t)&&i.add(t),this.yPositionHonorsViewportThreshold(e)?n.add(e):this.yPositionDoesntCollideWithViewport(e)&&i.add(e),n.size?n:i},b.prototype.yPositionHonorsViewportThreshold=function(t){var e=this.adapter.getViewportHeight();return t+this.adapter.getTooltipSize().height+this.minViewportTooltipThreshold<=e&&t>=this.minViewportTooltipThreshold},b.prototype.yPositionDoesntCollideWithViewport=function(t){var e=this.adapter.getViewportHeight();return t+this.adapter.getTooltipSize().height<=e&&0<=t},b.prototype.repositionTooltipOnAnchorMove=function(){var t=this.adapter.getAnchorBoundingRect();t&&this.anchorRect&&(t.top===this.anchorRect.top&&t.left===this.anchorRect.left&&t.height===this.anchorRect.height&&t.width===this.anchorRect.width||(this.anchorRect=t,this.parentRect=this.adapter.getParentBoundingRect(),this.richTooltip?this.positionRichTooltip():this.positionPlainTooltip()))},b.prototype.setCaretPositionStyles=function(t){var e=this.calculateCaretPositionOnTooltip(t);return e?(this.adapter.clearTooltipCaretStyles(),this.adapter.setTooltipCaretStyle(e.yAlignment,e.yAxisPx),this.adapter.setTooltipCaretStyle(e.xAlignment,e.xAxisPx),this.adapter.setTooltipCaretStyle("transform","rotate("+e.rotation+")"),this.adapter.setTooltipCaretStyle("transform-origin",e.yAlignment+" "+e.xAlignment),{yTransformOrigin:e.yAxisPx,xTransformOrigin:e.xAxisPx}):{yTransformOrigin:0,xTransformOrigin:0}},b.prototype.calculateCaretPositionOnTooltip=function(t){var e=!this.adapter.isRTL(),n=this.adapter.getComputedStyleProperty("width"),i=this.adapter.getComputedStyleProperty("height"),r=this.adapter.getTooltipCaretSize();if(n&&i&&r){var o=r.width*Math.sqrt(2),s="calc(("+n+" - "+o+"px) / 2)",a="calc(("+i+" - "+o+"px) / 2)",c=d.numbers.CARET_INDENTATION+"px",u="45deg",l="-45deg";switch(t){case d.PositionWithCaret.BELOW_CENTER:return{yAlignment:d.strings.TOP,xAlignment:d.strings.LEFT,yAxisPx:"0",xAxisPx:s,rotation:l};case d.PositionWithCaret.BELOW_END:return{yAlignment:d.strings.TOP,xAlignment:e?d.strings.RIGHT:d.strings.LEFT,yAxisPx:"0",xAxisPx:c,rotation:e?u:l};case d.PositionWithCaret.BELOW_START:return{yAlignment:d.strings.TOP,xAlignment:e?d.strings.LEFT:d.strings.RIGHT,yAxisPx:"0",xAxisPx:c,rotation:e?l:u};case d.PositionWithCaret.TOP_SIDE_END:return{yAlignment:d.strings.TOP,xAlignment:e?d.strings.LEFT:d.strings.RIGHT,yAxisPx:c,xAxisPx:"0",rotation:e?u:l};case d.PositionWithCaret.CENTER_SIDE_END:return{yAlignment:d.strings.TOP,xAlignment:e?d.strings.LEFT:d.strings.RIGHT,yAxisPx:a,xAxisPx:"0",rotation:e?u:l};case d.PositionWithCaret.BOTTOM_SIDE_END:return{yAlignment:d.strings.BOTTOM,xAlignment:e?d.strings.LEFT:d.strings.RIGHT,yAxisPx:c,xAxisPx:"0",rotation:e?l:u};case d.PositionWithCaret.TOP_SIDE_START:return{yAlignment:d.strings.TOP,xAlignment:e?d.strings.RIGHT:d.strings.LEFT,yAxisPx:c,xAxisPx:"0",rotation:e?l:u};case d.PositionWithCaret.CENTER_SIDE_START:return{yAlignment:d.strings.TOP,xAlignment:e?d.strings.RIGHT:d.strings.LEFT,yAxisPx:a,xAxisPx:"0",rotation:e?l:u};case d.PositionWithCaret.BOTTOM_SIDE_START:return{yAlignment:d.strings.BOTTOM,xAlignment:e?d.strings.RIGHT:d.strings.LEFT,yAxisPx:c,xAxisPx:"0",rotation:e?u:l};case d.PositionWithCaret.ABOVE_CENTER:return{yAlignment:d.strings.BOTTOM,xAlignment:d.strings.LEFT,yAxisPx:"0",xAxisPx:s,rotation:u};case d.PositionWithCaret.ABOVE_END:return{yAlignment:d.strings.BOTTOM,xAlignment:e?d.strings.RIGHT:d.strings.LEFT,yAxisPx:"0",xAxisPx:c,rotation:e?l:u};default:case d.PositionWithCaret.ABOVE_START:return{yAlignment:d.strings.BOTTOM,xAlignment:e?d.strings.LEFT:d.strings.RIGHT,yAxisPx:"0",xAxisPx:c,rotation:e?u:l}}}},b.prototype.clearShowTimeout=function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)},b.prototype.clearHideTimeout=function(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)},b.prototype.attachScrollHandler=function(t){var e=this;this.addAncestorScrollEventListeners.push(function(){t("scroll",e.windowScrollHandler)})},b.prototype.removeScrollHandler=function(t){var e=this;this.removeAncestorScrollEventListeners.push(function(){t("scroll",e.windowScrollHandler)})},b.prototype.destroy=function(){var e,t;this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=null),this.clearHideTimeout(),this.clearShowTimeout(),this.adapter.removeClass(f),this.adapter.removeClass(y),this.adapter.removeClass(_),this.adapter.removeClass(C),this.adapter.removeClass(E),this.richTooltip&&(this.adapter.deregisterEventHandler("focusout",this.richTooltipFocusOutHandler),this.persistentTooltip||(this.adapter.deregisterEventHandler("mouseenter",this.richTooltipMouseEnterHandler),this.adapter.deregisterEventHandler("mouseleave",this.richTooltipMouseLeaveHandler))),this.adapter.deregisterDocumentEventHandler("click",this.documentClickHandler),this.adapter.deregisterDocumentEventHandler("keydown",this.documentKeydownHandler),this.adapter.deregisterWindowEventHandler("scroll",this.windowScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler);try{for(var n=u(this.removeAncestorScrollEventListeners),i=n.next();!i.done;i=n.next())(0,i.value)()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.animFrame.cancelAll()},b);function b(t){var e=m.call(this,o(o({},b.defaultAdapter),t))||this;return e.tooltipShown=!1,e.anchorGap=d.numbers.BOUNDED_ANCHOR_GAP,e.xTooltipPos=d.XPosition.DETECTED,e.yTooltipPos=d.YPosition.DETECTED,e.tooltipPositionWithCaret=d.PositionWithCaret.DETECTED,e.minViewportTooltipThreshold=d.numbers.MIN_VIEWPORT_TOOLTIP_THRESHOLD,e.hideDelayMs=d.numbers.HIDE_DELAY_MS,e.showDelayMs=d.numbers.SHOW_DELAY_MS,e.anchorRect=null,e.parentRect=null,e.frameId=null,e.hideTimeout=null,e.showTimeout=null,e.addAncestorScrollEventListeners=new Array,e.removeAncestorScrollEventListeners=new Array,e.animFrame=new a.AnimationFrame,e.anchorBlurHandler=function(t){e.handleAnchorBlur(t)},e.documentClickHandler=function(t){e.handleDocumentClick(t)},e.documentKeydownHandler=function(t){e.handleKeydown(t)},e.richTooltipMouseEnterHandler=function(){e.handleRichTooltipMouseEnter()},e.richTooltipMouseLeaveHandler=function(){e.handleRichTooltipMouseLeave()},e.richTooltipFocusOutHandler=function(t){e.handleRichTooltipFocusOut(t)},e.windowScrollHandler=function(){e.handleWindowChangeEvent()},e.windowResizeHandler=function(){e.handleWindowChangeEvent()},e}e.MDCTooltipFoundation=T,e.default=T},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFixedTopAppBarFoundation=void 0;var o,s=n(9),a=n(42),c=(o=a.MDCTopAppBarFoundation,r(u,o),u.prototype.handleTargetScroll=function(){this.adapter.getViewportScrollY()<=0?this.wasScrolled_&&(this.adapter.removeClass(s.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled_=!1):this.wasScrolled_||(this.adapter.addClass(s.cssClasses.FIXED_SCROLLED_CLASS),this.wasScrolled_=!0)},u);function u(){var t=null!==o&&o.apply(this,arguments)||this;return t.wasScrolled_=!1,t}e.MDCFixedTopAppBarFoundation=c,e.default=c},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCShortTopAppBarFoundation=void 0;var o,s=n(9),a=n(43),c=(o=a.MDCTopAppBarBaseFoundation,r(u,o),Object.defineProperty(u.prototype,"isCollapsed",{get:function(){return this.isCollapsed_},enumerable:!1,configurable:!0}),u.prototype.init=function(){o.prototype.init.call(this),0<this.adapter.getTotalActionItems()&&this.adapter.addClass(s.cssClasses.SHORT_HAS_ACTION_ITEM_CLASS),this.setAlwaysCollapsed(this.adapter.hasClass(s.cssClasses.SHORT_COLLAPSED_CLASS))},u.prototype.setAlwaysCollapsed=function(t){this.isAlwaysCollapsed_=!!t,this.isAlwaysCollapsed_?this.collapse_():this.maybeCollapseBar_()},u.prototype.getAlwaysCollapsed=function(){return this.isAlwaysCollapsed_},u.prototype.handleTargetScroll=function(){this.maybeCollapseBar_()},u.prototype.maybeCollapseBar_=function(){this.isAlwaysCollapsed_||(this.adapter.getViewportScrollY()<=0?this.isCollapsed_&&this.uncollapse_():this.isCollapsed_||this.collapse_())},u.prototype.uncollapse_=function(){this.adapter.removeClass(s.cssClasses.SHORT_COLLAPSED_CLASS),this.isCollapsed_=!1},u.prototype.collapse_=function(){this.adapter.addClass(s.cssClasses.SHORT_COLLAPSED_CLASS),this.isCollapsed_=!0},u);function u(t){var e=o.call(this,t)||this;return e.isCollapsed_=!1,e.isAlwaysCollapsed_=!1,e}e.MDCShortTopAppBarFoundation=c,e.default=c},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.topAppBar=e.tooltip=e.textField=e.tabScroller=e.tabIndicator=e.tabBar=e.tab=e.switchControl=e.snackbar=e.slider=e.select=e.segmentedButton=e.ripple=e.radio=e.notchedOutline=e.menuSurface=e.menu=e.list=e.linearProgress=e.lineRipple=e.iconButton=e.formField=e.floatingLabel=e.drawer=e.dom=e.dialog=e.dataTable=e.circularProgress=e.chips=e.checkbox=e.base=e.banner=e.autoInit=void 0;var a=s(n(119));e.autoInit=a.default;var c=o(n(121));e.banner=c;var u=o(n(124));e.base=u;var l=o(n(126));e.checkbox=l;var d=o(n(128));e.chips=d;var p=o(n(139));e.circularProgress=p;var h=o(n(142));e.dataTable=h;var f=o(n(146));e.dialog=f;var _=o(n(150));e.dom=_;var y=o(n(151));e.drawer=y;var C=o(n(155));e.floatingLabel=C;var E=o(n(157));e.formField=E;var g=o(n(160));e.iconButton=g;var m=o(n(164));e.lineRipple=m;var v=o(n(166));e.linearProgress=v;var T=o(n(169));e.list=T;var b=o(n(172));e.menuSurface=b;var A=o(n(175));e.menu=A;var O=o(n(178));e.notchedOutline=O;var I=o(n(180));e.radio=I;var S=o(n(183));e.ripple=S;var R=o(n(186));e.segmentedButton=R;var D=o(n(193));e.select=D;var L=o(n(201));e.slider=L;var P=o(n(204));e.snackbar=P;var M=o(n(208));e.switchControl=M;var N=o(n(211));e.tabBar=N;var w=o(n(218));e.tabIndicator=w;var x=o(n(220));e.tabScroller=x;var F=o(n(223));e.tab=F;var j=o(n(226));e.textField=j;var H=o(n(236));e.tooltip=H;var B=o(n(240));e.topAppBar=B,a.default.register("MDCBanner",c.MDCBanner),a.default.register("MDCCheckbox",l.MDCCheckbox),a.default.register("MDCChip",d.MDCChip),a.default.register("MDCChipSet",d.MDCChipSet),a.default.register("MDCCircularProgress",p.MDCCircularProgress),a.default.register("MDCDataTable",h.MDCDataTable),a.default.register("MDCDialog",f.MDCDialog),a.default.register("MDCDrawer",y.MDCDrawer),a.default.register("MDCFloatingLabel",C.MDCFloatingLabel),a.default.register("MDCFormField",E.MDCFormField),a.default.register("MDCIconButtonToggle",g.MDCIconButtonToggle),a.default.register("MDCLineRipple",m.MDCLineRipple),a.default.register("MDCLinearProgress",v.MDCLinearProgress),a.default.register("MDCList",T.MDCList),a.default.register("MDCMenu",A.MDCMenu),a.default.register("MDCMenuSurface",b.MDCMenuSurface),a.default.register("MDCNotchedOutline",O.MDCNotchedOutline),a.default.register("MDCRadio",I.MDCRadio),a.default.register("MDCRipple",S.MDCRipple),a.default.register("MDCSegmentedButton",R.MDCSegmentedButton),a.default.register("MDCSelect",D.MDCSelect),a.default.register("MDCSlider",L.MDCSlider),a.default.register("MDCSnackbar",P.MDCSnackbar),a.default.register("MDCSwitch",M.MDCSwitch),a.default.register("MDCTabBar",N.MDCTabBar),a.default.register("MDCTextField",j.MDCTextField),a.default.register("MDCTooltip",H.MDCTooltip),a.default.register("MDCTopAppBar",B.MDCTopAppBar)},function(t,e,n){"use strict";var d=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.mdcAutoInit=void 0;var i=n(120),p=i.strings.AUTO_INIT_ATTR,h=i.strings.AUTO_INIT_STATE_ATTR,f=i.strings.INITIALIZED_STATE,_={},r=console.warn.bind(console);function o(t){var e,n;void 0===t&&(t=document);var i=[],r=[].slice.call(t.querySelectorAll("["+p+"]"));r=r.filter(function(t){return t.getAttribute(h)!==f});try{for(var o=d(r),s=o.next();!s.done;s=o.next()){var a=s.value,c=a.getAttribute(p);if(!c)throw new Error("(mdc-auto-init) Constructor name must be given.");var u=_[c];if("function"!=typeof u)throw new Error("(mdc-auto-init) Could not find constructor in registry for "+c);var l=u.attachTo(a);Object.defineProperty(a,c,{configurable:!0,enumerable:!1,value:l,writable:!1}),i.push(l),a.setAttribute(h,f)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),document.dispatchEvent(i)}("MDCAutoInit:End",{}),i}(e.mdcAutoInit=o).register=function(t,e,n){if(void 0===n&&(n=r),"function"!=typeof e)throw new Error("(mdc-auto-init) Invalid Constructor value: "+e+". Expected function.");var i=_[t];i&&n("(mdc-auto-init) Overriding registration for "+t+" with "+e+". Was: "+i),_[t]=e},o.deregister=function(t){delete _[t]},o.deregisterAll=function(){Object.keys(_).forEach(this.deregister,this)},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings=void 0,e.strings={AUTO_INIT_ATTR:"data-mdc-auto-init",AUTO_INIT_STATE_ATTR:"data-mdc-auto-init-state",INITIALIZED_STATE:"initialized"}},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(122),e),r(n(123),e),r(n(18),e),r(n(44),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCBanner=void 0;var o,s=n(1),a=n(11),c=n(2),u=n(18),l=n(44),d=(o=s.MDCComponent,r(p,o),p.attachTo=function(t){return new p(t)},p.prototype.initialize=function(t){var n=this;void 0===t&&(t=function(t,e){return new a.FocusTrap(t,e)}),this.contentEl=this.root.querySelector(u.selectors.CONTENT),this.textEl=this.root.querySelector(u.selectors.TEXT),this.primaryActionEl=this.root.querySelector(u.selectors.PRIMARY_ACTION),this.secondaryActionEl=this.root.querySelector(u.selectors.SECONDARY_ACTION),this.focusTrapFactory=t,this.handleContentClick=function(t){var e=t.target;c.closest(e,u.selectors.PRIMARY_ACTION)?n.foundation.handlePrimaryActionClick():c.closest(e,u.selectors.SECONDARY_ACTION)&&n.foundation.handleSecondaryActionClick()}},p.prototype.initialSyncWithDOM=function(){this.registerContentClickHandler(this.handleContentClick),this.focusTrap=this.focusTrapFactory(this.root,{initialFocusEl:this.primaryActionEl})},p.prototype.destroy=function(){o.prototype.destroy.call(this),this.deregisterContentClickHandler(this.handleContentClick)},p.prototype.layout=function(){this.foundation.layout()},p.prototype.open=function(){this.foundation.open()},p.prototype.close=function(t){this.foundation.close(t)},p.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){n.root.classList.add(t)},getContentHeight:function(){return n.contentEl.offsetHeight},notifyClosed:function(t){n.emit(u.events.CLOSED,{reason:t})},notifyClosing:function(t){n.emit(u.events.CLOSING,{reason:t})},notifyOpened:function(){n.emit(u.events.OPENED,{})},notifyOpening:function(){n.emit(u.events.OPENING,{})},releaseFocus:function(){n.focusTrap.releaseFocus()},removeClass:function(t){n.root.classList.remove(t)},setStyleProperty:function(t,e){n.root.style.setProperty(t,e)},trapFocus:function(){n.focusTrap.trapFocus()}};return new l.MDCBannerFoundation(t)},Object.defineProperty(p.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),p.prototype.getText=function(){return this.textEl.textContent||""},p.prototype.setText=function(t){this.textEl.textContent=t},p.prototype.getPrimaryActionText=function(){return this.primaryActionEl.textContent||""},p.prototype.setPrimaryActionText=function(t){this.primaryActionEl.textContent=t},p.prototype.getSecondaryActionText=function(){return this.secondaryActionEl?this.secondaryActionEl.textContent||"":null},p.prototype.setSecondaryActionText=function(t){this.secondaryActionEl&&(this.secondaryActionEl.textContent=t)},p.prototype.registerContentClickHandler=function(t){this.contentEl.addEventListener("click",t)},p.prototype.deregisterContentClickHandler=function(t){this.contentEl.removeEventListener("click",t)},p);function p(){return null!==o&&o.apply(this,arguments)||this}e.MDCBanner=d},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(1),e),r(n(0),e),r(n(125),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(127),e),r(n(45),e),r(n(20),e),r(n(47),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(129),e),r(n(132),e),r(n(135),e)},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.trailingActionStrings=void 0,r(n(130),e),r(n(48),e),r(n(49),e),r(n(131),e);var o=n(12);Object.defineProperty(e,"trailingActionStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chipStrings=e.chipCssClasses=void 0,r(n(133),e),r(n(50),e),r(n(21),e),r(n(134),e);var o=n(13);Object.defineProperty(e,"chipCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"chipStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chipSetStrings=e.chipSetCssClasses=void 0,r(n(136),e),r(n(137),e),r(n(51),e);var o=n(52);Object.defineProperty(e,"chipSetCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"chipSetStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCChipSet=void 0;var o,s=n(1),a=n(138),c=n(50),u=n(21),l=n(51),d=u.MDCChipFoundation.strings,p=d.INTERACTION_EVENT,h=d.SELECTION_EVENT,f=d.REMOVAL_EVENT,_=d.NAVIGATION_EVENT,y=l.MDCChipSetFoundation.strings.CHIP_SELECTOR,C=0,E=(o=s.MDCComponent,r(g,o),g.attachTo=function(t){return new g(t)},Object.defineProperty(g.prototype,"chips",{get:function(){return this.chips_.slice()},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"selectedChipIds",{get:function(){return this.foundation.getSelectedChipIds()},enumerable:!1,configurable:!0}),g.prototype.initialize=function(t){void 0===t&&(t=function(t){return new c.MDCChip(t)}),this.chipFactory_=t,this.chips_=this.instantiateChips_(this.chipFactory_)},g.prototype.initialSyncWithDOM=function(){var e=this;this.chips_.forEach(function(t){t.id&&t.selected&&e.foundation.select(t.id)}),this.handleChipInteraction_=function(t){return e.foundation.handleChipInteraction(t.detail)},this.handleChipSelection_=function(t){return e.foundation.handleChipSelection(t.detail)},this.handleChipRemoval_=function(t){return e.foundation.handleChipRemoval(t.detail)},this.handleChipNavigation_=function(t){return e.foundation.handleChipNavigation(t.detail)},this.listen(p,this.handleChipInteraction_),this.listen(h,this.handleChipSelection_),this.listen(f,this.handleChipRemoval_),this.listen(_,this.handleChipNavigation_)},g.prototype.destroy=function(){this.chips_.forEach(function(t){t.destroy()}),this.unlisten(p,this.handleChipInteraction_),this.unlisten(h,this.handleChipSelection_),this.unlisten(f,this.handleChipRemoval_),this.unlisten(_,this.handleChipNavigation_),o.prototype.destroy.call(this)},g.prototype.addChip=function(t){t.id=t.id||"mdc-chip-"+ ++C,this.chips_.push(this.chipFactory_(t))},g.prototype.getDefaultFoundation=function(){var i=this,t={announceMessage:function(t){a.announce(t)},focusChipPrimaryActionAtIndex:function(t){i.chips_[t].focusPrimaryAction()},focusChipTrailingActionAtIndex:function(t){i.chips_[t].focusTrailingAction()},getChipListCount:function(){return i.chips_.length},getIndexOfChipById:function(t){return i.findChipIndex_(t)},hasClass:function(t){return i.root.classList.contains(t)},isRTL:function(){return"rtl"===window.getComputedStyle(i.root).getPropertyValue("direction")},removeChipAtIndex:function(t){0<=t&&t<i.chips_.length&&(i.chips_[t].destroy(),i.chips_[t].remove(),i.chips_.splice(t,1))},removeFocusFromChipAtIndex:function(t){i.chips_[t].removeFocus()},selectChipAtIndex:function(t,e,n){0<=t&&t<i.chips_.length&&i.chips_[t].setSelectedFromChipSet(e,n)}};return new l.MDCChipSetFoundation(t)},g.prototype.instantiateChips_=function(e){return[].slice.call(this.root.querySelectorAll(y)).map(function(t){return t.id=t.id||"mdc-chip-"+ ++C,e(t)})},g.prototype.findChipIndex_=function(t){for(var e=0;e<this.chips_.length;e++)if(this.chips_[e].id===t)return e;return-1},g);function g(){return null!==o&&o.apply(this,arguments)||this}e.MDCChipSet=E},function(t,n,e){"use strict";var r,i;Object.defineProperty(n,"__esModule",{value:!0}),n.announce=n.DATA_MDC_DOM_ANNOUNCE=n.AnnouncerPriority=void 0,(i=r=n.AnnouncerPriority||(n.AnnouncerPriority={})).POLITE="polite",i.ASSERTIVE="assertive",n.DATA_MDC_DOM_ANNOUNCE="data-mdc-dom-announce",n.announce=function(t,e){o.getInstance().say(t,e)};var o=(s.getInstance=function(){return s.instance||(s.instance=new s),s.instance},s.prototype.say=function(t,e){void 0===e&&(e=r.POLITE);var n=this.getLiveRegion(e);function i(){n.textContent="",document.removeEventListener("click",i)}n.textContent="",setTimeout(function(){n.textContent=t,document.addEventListener("click",i)},1)},s.prototype.getLiveRegion=function(t){var e=this.liveRegions.get(t);if(e&&document.body.contains(e))return e;var n=this.createLiveRegion(t);return this.liveRegions.set(t,n),n},s.prototype.createLiveRegion=function(t){var e=document.createElement("div");return e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",e.style.height="1px",e.style.overflow="hidden",e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live",t),e.setAttribute(n.DATA_MDC_DOM_ANNOUNCE,"true"),document.body.appendChild(e),e},s);function s(){this.liveRegions=new Map}},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(140),e),r(n(141),e),r(n(54),e),r(n(53),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCCircularProgress=void 0;var o,s=n(1),a=n(53),c=(o=s.MDCComponent,r(u,o),u.prototype.initialize=function(){this.determinateCircle_=this.root.querySelector(a.MDCCircularProgressFoundation.strings.DETERMINATE_CIRCLE_SELECTOR)},u.attachTo=function(t){return new u(t)},Object.defineProperty(u.prototype,"determinate",{set:function(t){this.foundation.setDeterminate(t)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"progress",{set:function(t){this.foundation.setProgress(t)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isClosed",{get:function(){return this.foundation.isClosed()},enumerable:!1,configurable:!0}),u.prototype.open=function(){this.foundation.open()},u.prototype.close=function(){this.foundation.close()},u.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},getDeterminateCircleAttribute:function(t){return n.determinateCircle_.getAttribute(t)},hasClass:function(t){return n.root.classList.contains(t)},removeClass:function(t){return n.root.classList.remove(t)},removeAttribute:function(t){return n.root.removeAttribute(t)},setAttribute:function(t,e){return n.root.setAttribute(t,e)},setDeterminateCircleAttribute:function(t,e){return n.determinateCircle_.setAttribute(t,e)}};return new a.MDCCircularProgressFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCCircularProgress=c},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(143),e),r(n(144),e),r(n(58),e),r(n(22),e),r(n(145),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDataTable=void 0;var s,a=n(1),c=n(45),u=n(2),l=n(55),d=n(22),p=n(58),h=(s=a.MDCComponent,r(f,s),f.attachTo=function(t){return new f(t)},f.prototype.initialize=function(t){void 0===t&&(t=function(t){return new c.MDCCheckbox(t)}),this.checkboxFactory=t},f.prototype.initialSyncWithDOM=function(){var e=this;this.headerRow=this.root.querySelector("."+d.cssClasses.HEADER_ROW),this.handleHeaderRowCheckboxChange=function(){e.foundation.handleHeaderRowCheckboxChange()},this.headerRow.addEventListener("change",this.handleHeaderRowCheckboxChange),this.headerRowClickListener=function(t){e.handleHeaderRowClick(t)},this.headerRow.addEventListener("click",this.headerRowClickListener),this.content=this.root.querySelector("."+d.cssClasses.CONTENT),this.handleRowCheckboxChange=function(t){e.foundation.handleRowCheckboxChange(t)},this.content.addEventListener("change",this.handleRowCheckboxChange),this.layout()},f.prototype.layout=function(){this.foundation.layout()},f.prototype.getHeaderCells=function(){return[].slice.call(this.root.querySelectorAll(d.selectors.HEADER_CELL))},f.prototype.getRows=function(){return this.foundation.getRows()},f.prototype.getSelectedRowIds=function(){return this.foundation.getSelectedRowIds()},f.prototype.setSelectedRowIds=function(t){this.foundation.setSelectedRowIds(t)},f.prototype.showProgress=function(){this.getLinearProgress().open(),this.foundation.showProgress()},f.prototype.hideProgress=function(){this.foundation.hideProgress(),this.getLinearProgress().close()},f.prototype.destroy=function(){var e,t;if(this.handleHeaderRowCheckboxChange&&this.headerRow.removeEventListener("change",this.handleHeaderRowCheckboxChange),this.headerRowClickListener&&this.headerRow.removeEventListener("click",this.headerRowClickListener),this.handleRowCheckboxChange&&this.content.removeEventListener("change",this.handleRowCheckboxChange),this.headerRowCheckbox&&this.headerRowCheckbox.destroy(),this.rowCheckboxList)try{for(var n=o(this.rowCheckboxList),i=n.next();!i.done;i=n.next())i.value.destroy()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},f.prototype.getDefaultFoundation=function(){var i=this,t={addClass:function(t){i.root.classList.add(t)},removeClass:function(t){i.root.classList.remove(t)},getHeaderCellElements:function(){return i.getHeaderCells()},getHeaderCellCount:function(){return i.getHeaderCells().length},getAttributeByHeaderCellIndex:function(t,e){return i.getHeaderCells()[t].getAttribute(e)},setAttributeByHeaderCellIndex:function(t,e,n){i.getHeaderCells()[t].setAttribute(e,n)},setClassNameByHeaderCellIndex:function(t,e){i.getHeaderCells()[t].classList.add(e)},removeClassNameByHeaderCellIndex:function(t,e){i.getHeaderCells()[t].classList.remove(e)},notifySortAction:function(t){i.emit(d.events.SORTED,t,!0)},getTableContainerHeight:function(){var t=i.root.querySelector("."+d.cssClasses.TABLE_CONTAINER);if(!t)throw new Error("MDCDataTable: Table container element not found.");return t.getBoundingClientRect().height},getTableHeaderHeight:function(){var t=i.root.querySelector(d.selectors.HEADER_ROW);if(!t)throw new Error("MDCDataTable: Table header element not found.");return t.getBoundingClientRect().height},setProgressIndicatorStyles:function(t){var e=i.root.querySelector(d.selectors.PROGRESS_INDICATOR);if(!e)throw new Error("MDCDataTable: Progress indicator element not found.");e.style.setProperty("height",t.height),e.style.setProperty("top",t.top)},addClassAtRowIndex:function(t,e){i.getRows()[t].classList.add(e)},getRowCount:function(){return i.getRows().length},getRowElements:function(){return[].slice.call(i.root.querySelectorAll(d.selectors.ROW))},getRowIdAtIndex:function(t){return i.getRows()[t].getAttribute(d.dataAttributes.ROW_ID)},getRowIndexByChildElement:function(t){return i.getRows().indexOf(u.closest(t,d.selectors.ROW))},getSelectedRowCount:function(){return i.root.querySelectorAll(d.selectors.ROW_SELECTED).length},isCheckboxAtRowIndexChecked:function(t){return i.rowCheckboxList[t].checked},isHeaderRowCheckboxChecked:function(){return i.headerRowCheckbox.checked},isRowsSelectable:function(){return!!i.root.querySelector(d.selectors.ROW_CHECKBOX)||!!i.root.querySelector(d.selectors.HEADER_ROW_CHECKBOX)},notifyRowSelectionChanged:function(t){i.emit(d.events.ROW_SELECTION_CHANGED,{row:i.getRowByIndex(t.rowIndex),rowId:i.getRowIdByIndex(t.rowIndex),rowIndex:t.rowIndex,selected:t.selected},!0)},notifySelectedAll:function(){i.emit(d.events.SELECTED_ALL,{},!0)},notifyUnselectedAll:function(){i.emit(d.events.UNSELECTED_ALL,{},!0)},registerHeaderRowCheckbox:function(){i.headerRowCheckbox&&i.headerRowCheckbox.destroy();var t=i.root.querySelector(d.selectors.HEADER_ROW_CHECKBOX);i.headerRowCheckbox=i.checkboxFactory(t)},registerRowCheckboxes:function(){i.rowCheckboxList&&i.rowCheckboxList.forEach(function(t){t.destroy()}),i.rowCheckboxList=[],i.getRows().forEach(function(t){var e=i.checkboxFactory(t.querySelector(d.selectors.ROW_CHECKBOX));i.rowCheckboxList.push(e)})},removeClassAtRowIndex:function(t,e){i.getRows()[t].classList.remove(e)},setAttributeAtRowIndex:function(t,e,n){i.getRows()[t].setAttribute(e,n)},setHeaderRowCheckboxChecked:function(t){i.headerRowCheckbox.checked=t},setHeaderRowCheckboxIndeterminate:function(t){i.headerRowCheckbox.indeterminate=t},setRowCheckboxCheckedAtIndex:function(t,e){i.rowCheckboxList[t].checked=e},setSortStatusLabelByHeaderCellIndex:function(t,e){var n=i.getHeaderCells()[t].querySelector(d.selectors.SORT_STATUS_LABEL);n&&(n.textContent=i.getSortStatusMessageBySortValue(e))}};return new p.MDCDataTableFoundation(t)},f.prototype.getRowByIndex=function(t){return this.getRows()[t]},f.prototype.getRowIdByIndex=function(t){return this.getRowByIndex(t).getAttribute(d.dataAttributes.ROW_ID)},f.prototype.handleHeaderRowClick=function(t){var e=u.closest(t.target,d.selectors.HEADER_CELL_WITH_SORT);if(e){var n=e.getAttribute(d.dataAttributes.COLUMN_ID),i=this.getHeaderCells().indexOf(e);-1!==i&&this.foundation.handleSortAction({columnId:n,columnIndex:i,headerCell:e})}},f.prototype.getSortStatusMessageBySortValue=function(t){switch(t){case d.SortValue.ASCENDING:return d.messages.SORTED_IN_ASCENDING;case d.SortValue.DESCENDING:return d.messages.SORTED_IN_DESCENDING;default:return""}},f.prototype.getLinearProgressElement=function(){var t=this.root.querySelector("."+d.cssClasses.LINEAR_PROGRESS);if(!t)throw new Error("MDCDataTable: linear progress element is not found.");return t},f.prototype.getLinearProgress=function(){if(!this.linearProgress){var t=this.getLinearProgressElement();this.linearProgress=new l.MDCLinearProgress(t)}return this.linearProgress},f);function f(){return null!==s&&s.apply(this,arguments)||this}e.MDCDataTable=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(59));e.util=a,s(n(147),e),s(n(148),e),s(n(61),e),s(n(60),e),s(n(149),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e},c=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDialog=void 0;var u,l=n(1),d=n(11),p=n(2),h=n(3),f=n(60),_=a(n(59)),y=f.MDCDialogFoundation.strings,C=(u=l.MDCComponent,r(E,u),Object.defineProperty(E.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(t){this.foundation.setEscapeKeyAction(t)},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(t){this.foundation.setScrimClickAction(t)},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(t){this.foundation.setAutoStackButtons(t)},enumerable:!1,configurable:!0}),E.attachTo=function(t){return new E(t)},E.prototype.initialize=function(t){var e,n;void 0===t&&(t=function(t,e){return new d.FocusTrap(t,e)});var i=this.root.querySelector(y.CONTAINER_SELECTOR);if(!i)throw new Error("Dialog component requires a "+y.CONTAINER_SELECTOR+" container element");this.container=i,this.content=this.root.querySelector(y.CONTENT_SELECTOR),this.buttons=[].slice.call(this.root.querySelectorAll(y.BUTTON_SELECTOR)),this.defaultButton=this.root.querySelector("["+y.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory=t,this.buttonRipples=[];try{for(var r=c(this.buttons),o=r.next();!o.done;o=r.next()){var s=o.value;this.buttonRipples.push(new h.MDCRipple(s))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},E.prototype.initialSyncWithDOM=function(){var t=this;this.focusTrap=_.createFocusTrapInstance(this.container,this.focusTrapFactory,this.getInitialFocusEl()||void 0),this.handleClick=this.foundation.handleClick.bind(this.foundation),this.handleKeydown=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleOpening=function(){document.addEventListener("keydown",t.handleDocumentKeydown)},this.handleClosing=function(){document.removeEventListener("keydown",t.handleDocumentKeydown)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown),this.listen(y.OPENING_EVENT,this.handleOpening),this.listen(y.CLOSING_EVENT,this.handleClosing)},E.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),this.unlisten(y.OPENING_EVENT,this.handleOpening),this.unlisten(y.CLOSING_EVENT,this.handleClosing),this.handleClosing(),this.buttonRipples.forEach(function(t){t.destroy()}),u.prototype.destroy.call(this)},E.prototype.layout=function(){this.foundation.layout()},E.prototype.open=function(){this.foundation.open()},E.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},E.prototype.getDefaultFoundation=function(){var n=this,t={addBodyClass:function(t){return document.body.classList.add(t)},addClass:function(t){return n.root.classList.add(t)},areButtonsStacked:function(){return _.areTopsMisaligned(n.buttons)},clickDefaultButton:function(){n.defaultButton&&n.defaultButton.click()},eventTargetMatches:function(t,e){return!!t&&p.matches(t,e)},getActionFromEvent:function(t){if(!t.target)return"";var e=p.closest(t.target,"["+y.ACTION_ATTRIBUTE+"]");return e&&e.getAttribute(y.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return n.getInitialFocusEl()},hasClass:function(t){return n.root.classList.contains(t)},isContentScrollable:function(){return _.isScrollable(n.content)},notifyClosed:function(t){return n.emit(y.CLOSED_EVENT,t?{action:t}:{})},notifyClosing:function(t){return n.emit(y.CLOSING_EVENT,t?{action:t}:{})},notifyOpened:function(){return n.emit(y.OPENED_EVENT,{})},notifyOpening:function(){return n.emit(y.OPENING_EVENT,{})},releaseFocus:function(){n.focusTrap.releaseFocus()},removeBodyClass:function(t){return document.body.classList.remove(t)},removeClass:function(t){return n.root.classList.remove(t)},reverseButtons:function(){n.buttons.reverse(),n.buttons.forEach(function(t){t.parentElement.appendChild(t)})},trapFocus:function(){n.focusTrap.trapFocus()},registerContentEventHandler:function(t,e){n.content instanceof HTMLElement&&n.content.addEventListener(t,e)},deregisterContentEventHandler:function(t,e){n.content instanceof HTMLElement&&n.content.removeEventListener(t,e)},isScrollableContentAtTop:function(){return _.isScrollAtTop(n.content)},isScrollableContentAtBottom:function(){return _.isScrollAtBottom(n.content)},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)}};return new f.MDCDialogFoundation(t)},E.prototype.getInitialFocusEl=function(){return this.root.querySelector("["+y.INITIAL_FOCUS_ATTRIBUTE+"]")},E);function E(){return null!==u&&u.apply(this,arguments)||this}e.MDCDialog=C},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ponyfill=e.keyboard=e.focusTrap=e.events=void 0;var s=o(n(5));e.events=s;var a=o(n(11));e.focusTrap=a;var c=o(n(6));e.keyboard=c;var u=o(n(2));e.ponyfill=u},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(62));e.util=a,s(n(152),e),s(n(153),e),s(n(64),e),s(n(26),e),s(n(65),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCDrawer=void 0;var c,u=n(1),l=n(11),d=n(24),p=n(26),h=n(65),f=a(n(62)),_=p.MDCDismissibleDrawerFoundation.cssClasses,y=p.MDCDismissibleDrawerFoundation.strings,C=(c=u.MDCComponent,r(E,c),E.attachTo=function(t){return new E(t)},Object.defineProperty(E.prototype,"open",{get:function(){return this.foundation.isOpen()},set:function(t){t?this.foundation.open():this.foundation.close()},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"list",{get:function(){return this.list_},enumerable:!1,configurable:!0}),E.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new l.FocusTrap(t)}),void 0===e&&(e=function(t){return new d.MDCList(t)});var n=this.root.querySelector(y.LIST_SELECTOR);n&&(this.list_=e(n),this.list_.wrapFocus=!0),this.focusTrapFactory_=t},E.prototype.initialSyncWithDOM=function(){var e=this,t=_.MODAL,n=y.SCRIM_SELECTOR;this.scrim_=this.root.parentNode.querySelector(n),this.scrim_&&this.root.classList.contains(t)&&(this.handleScrimClick_=function(){return e.foundation.handleScrimClick()},this.scrim_.addEventListener("click",this.handleScrimClick_),this.focusTrap_=f.createFocusTrapInstance(this.root,this.focusTrapFactory_)),this.handleKeydown_=function(t){return e.foundation.handleKeydown(t)},this.handleTransitionEnd_=function(t){return e.foundation.handleTransitionEnd(t)},this.listen("keydown",this.handleKeydown_),this.listen("transitionend",this.handleTransitionEnd_)},E.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten("transitionend",this.handleTransitionEnd_),this.list_&&this.list_.destroy();var t=_.MODAL;this.scrim_&&this.handleScrimClick_&&this.root.classList.contains(t)&&(this.scrim_.removeEventListener("click",this.handleScrimClick_),this.open=!1)},E.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},elementHasClass:function(t,e){return t.classList.contains(e)},saveFocus:function(){return e.previousFocus_=document.activeElement},restoreFocus:function(){var t=e.previousFocus_;t&&t.focus&&e.root.contains(document.activeElement)&&t.focus()},focusActiveNavigationItem:function(){var t=e.root.querySelector(y.LIST_ITEM_ACTIVATED_SELECTOR);t&&t.focus()},notifyClose:function(){return e.emit(y.CLOSE_EVENT,{},!0)},notifyOpen:function(){return e.emit(y.OPEN_EVENT,{},!0)},trapFocus:function(){return e.focusTrap_.trapFocus()},releaseFocus:function(){return e.focusTrap_.releaseFocus()}},n=_.DISMISSIBLE,i=_.MODAL;if(this.root.classList.contains(n))return new p.MDCDismissibleDrawerFoundation(t);if(this.root.classList.contains(i))return new h.MDCModalDrawerFoundation(t);throw new Error("MDCDrawer: Failed to instantiate component. Supported variants are "+n+" and "+i+".")},E);function E(){return null!==c&&c.apply(this,arguments)||this}e.MDCDrawer=C},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.handleKeydown=e.clearBuffer=e.isTypingInProgress=e.matchItem=e.initSortedIndex=e.initState=void 0;var y=n(6),u=n(7),C=n(63);function E(t,e){var n,i=t.nextChar,r=t.focusItemAtIndex,o=t.sortedIndexByFirstChar,s=t.focusedItemIndex,a=t.skipFocus,c=t.isItemAtIndexDisabled;return clearTimeout(e.bufferClearTimeout),e.bufferClearTimeout=setTimeout(function(){l(e)},u.numbers.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),e.typeaheadBuffer=e.typeaheadBuffer+i,-1===(n=1===e.typeaheadBuffer.length?function(t,e,n,i){var r=i.typeaheadBuffer[0],o=t.get(r);if(!o)return-1;if(r===i.currentFirstChar&&o[i.sortedIndexCursor].index===e){i.sortedIndexCursor=(i.sortedIndexCursor+1)%o.length;var s=o[i.sortedIndexCursor].index;if(!n(s))return s}i.currentFirstChar=r;var a,c=-1;for(a=0;a<o.length;a++)if(!n(o[a].index)){c=a;break}for(;a<o.length;a++)if(o[a].index>e&&!n(o[a].index)){c=a;break}return-1===c?-1:(i.sortedIndexCursor=c,o[i.sortedIndexCursor].index)}(o,s,c,e):function(t,e,n){var i=n.typeaheadBuffer[0],r=t.get(i);if(!r)return-1;var o=r[n.sortedIndexCursor];if(0===o.text.lastIndexOf(n.typeaheadBuffer,0)&&!e(o.index))return o.index;var s=(n.sortedIndexCursor+1)%r.length,a=-1;for(;s!==n.sortedIndexCursor;){var c=r[s],u=0===c.text.lastIndexOf(n.typeaheadBuffer,0),l=!e(c.index);if(u&&l){a=s;break}s=(s+1)%r.length}return-1===a?-1:(n.sortedIndexCursor=a,r[n.sortedIndexCursor].index)}(o,c,e))||a||r(n),n}function g(t){return 0<t.typeaheadBuffer.length}function l(t){t.typeaheadBuffer=""}e.initState=function(){return{bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""}},e.initSortedIndex=function(t,e){for(var n=new Map,i=0;i<t;i++){var r=e(i).trim();if(r){var o=r[0].toLowerCase();n.has(o)||n.set(o,[]),n.get(o).push({text:r.toLowerCase(),index:i})}}return n.forEach(function(t){t.sort(function(t,e){return t.index-e.index})}),n},e.matchItem=E,e.isTypingInProgress=g,e.clearBuffer=l,e.handleKeydown=function(t,e){var n=t.event,i=t.isTargetListItem,r=t.focusedItemIndex,o=t.focusItemAtIndex,s=t.sortedIndexByFirstChar,a=t.isItemAtIndexDisabled,c="ArrowLeft"===y.normalizeKey(n),u="ArrowUp"===y.normalizeKey(n),l="ArrowRight"===y.normalizeKey(n),d="ArrowDown"===y.normalizeKey(n),p="Home"===y.normalizeKey(n),h="End"===y.normalizeKey(n),f="Enter"===y.normalizeKey(n),_="Spacebar"===y.normalizeKey(n);return n.ctrlKey||n.metaKey||c||u||l||d||p||h||f?-1:_||1!==n.key.length?_?(i&&C.preventDefaultEvent(n),i&&g(e)?E({focusItemAtIndex:o,focusedItemIndex:r,nextChar:" ",sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:a},e):-1):-1:(C.preventDefaultEvent(n),E({focusItemAtIndex:o,focusedItemIndex:r,nextChar:n.key.toLowerCase(),sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:a},e))}},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(156),e),r(n(27),e),r(n(66),e),r(n(28),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(158),e),r(n(159),e),r(n(68),e),r(n(67),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCFormField=void 0;var o,s=n(1),a=n(67),c=(o=s.MDCComponent,r(u,o),u.attachTo=function(t){return new u(t)},u.prototype.labelEl=function(){var t=a.MDCFormFieldFoundation.strings.LABEL_SELECTOR;return this.root.querySelector(t)},u.prototype.getDefaultFoundation=function(){var i=this,t={activateInputRipple:function(){i.input&&i.input.ripple&&i.input.ripple.activate()},deactivateInputRipple:function(){i.input&&i.input.ripple&&i.input.ripple.deactivate()},deregisterInteractionHandler:function(t,e){var n=i.labelEl();n&&n.removeEventListener(t,e)},registerInteractionHandler:function(t,e){var n=i.labelEl();n&&n.addEventListener(t,e)}};return new a.MDCFormFieldFoundation(t)},u);function u(){return null!==o&&o.apply(this,arguments)||this}e.MDCFormField=c},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(161),e),r(n(162),e),r(n(70),e),r(n(69),e),r(n(163),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCIconButtonToggle=void 0;var o,s=n(1),a=n(3),c=n(69),u=c.MDCIconButtonToggleFoundation.strings,l=(o=s.MDCComponent,r(d,o),d.attachTo=function(t){return new d(t)},d.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen("click",this.handleClick)},d.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),o.prototype.destroy.call(this)},d.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},hasClass:function(t){return n.root.classList.contains(t)},notifyChange:function(t){n.emit(u.CHANGE_EVENT,t)},removeClass:function(t){return n.root.classList.remove(t)},getAttr:function(t){return n.root.getAttribute(t)},setAttr:function(t,e){return n.root.setAttribute(t,e)}};return new c.MDCIconButtonToggleFoundation(t)},Object.defineProperty(d.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(t){this.foundation.toggle(t)},enumerable:!1,configurable:!0}),d.prototype.createRipple=function(){var t=new a.MDCRipple(this.root);return t.unbounded=!0,t},d);function d(){var t=null!==o&&o.apply(this,arguments)||this;return t.rippleComponent=t.createRipple(),t}e.MDCIconButtonToggle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(165),e),r(n(29),e),r(n(72),e),r(n(71),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(167),e),r(n(55),e),r(n(57),e),r(n(56),e),r(n(168),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(170),e),r(n(24),e),r(n(7),e),r(n(25),e),r(n(171),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(173),e),r(n(73),e),r(n(8),e),r(n(14),e),r(n(174),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.Corner=void 0;var o=n(8);Object.defineProperty(e,"Corner",{enumerable:!0,get:function(){return o.Corner}}),r(n(176),e),r(n(74),e),r(n(15),e),r(n(75),e),r(n(177),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(179),e),r(n(30),e),r(n(31),e),r(n(76),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(181),e),r(n(182),e),r(n(78),e),r(n(77),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCRadio=void 0;var s,a=n(1),c=n(5),u=n(3),l=n(4),d=n(77),p=(s=a.MDCComponent,r(h,s),h.attachTo=function(t){return new h(t)},Object.defineProperty(h.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.nativeControl_.checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"value",{get:function(){return this.nativeControl_.value},set:function(t){this.nativeControl_.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!1,configurable:!0}),h.prototype.destroy=function(){this.ripple_.destroy(),s.prototype.destroy.call(this)},h.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},setNativeControlDisabled:function(t){return e.nativeControl_.disabled=t}};return new d.MDCRadioFoundation(t)},h.prototype.createRipple_=function(){var n=this,t=o(o({},u.MDCRipple.createAdapter(this)),{registerInteractionHandler:function(t,e){return n.nativeControl_.addEventListener(t,e,c.applyPassive())},deregisterInteractionHandler:function(t,e){return n.nativeControl_.removeEventListener(t,e,c.applyPassive())},isSurfaceActive:function(){return!1},isUnbounded:function(){return!0}});return new u.MDCRipple(this.root,new l.MDCRippleFoundation(t))},Object.defineProperty(h.prototype,"nativeControl_",{get:function(){var t=d.MDCRadioFoundation.strings.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw new Error("Radio component requires a "+t+" element");return e},enumerable:!1,configurable:!0}),h);function h(){var t=null!==s&&s.apply(this,arguments)||this;return t.ripple_=t.createRipple_(),t}e.MDCRadio=p},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(19));e.util=a,s(n(184),e),s(n(3),e),s(n(46),e),s(n(4),e),s(n(185),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(187),e),r(n(190),e),r(n(192),e)},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(188),e),r(n(79),e),r(n(189),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSegmentedButton=void 0;var o,s=n(1),a=n(81),c=n(80),u=n(79),l=(o=s.MDCComponent,r(d,o),d.attachTo=function(t){return new d(t)},Object.defineProperty(d.prototype,"segments",{get:function(){return this.segments_.slice()},enumerable:!1,configurable:!0}),d.prototype.initialize=function(t){void 0===t&&(t=function(t){return new a.MDCSegmentedButtonSegment(t)}),this.segmentFactory=t,this.segments_=this.instantiateSegments(this.segmentFactory)},d.prototype.instantiateSegments=function(e){return[].slice.call(this.root.querySelectorAll(c.selectors.SEGMENT)).map(function(t){return e(t)})},d.prototype.initialSyncWithDOM=function(){var e=this;this.handleSelected=function(t){e.foundation.handleSelected(t.detail)},this.listen(c.events.SELECTED,this.handleSelected);var n=this.foundation.isSingleSelect();this.segments_.forEach(function(t,e){t.setIndex(e),t.setIsSingleSelect(n)});var t=this.segments_.filter(function(t){return t.isSelected()});if(n&&0==t.length&&0<this.segments_.length)throw new Error("No segment selected in singleSelect mdc-segmented-button");if(n&&1<t.length)throw new Error("Multiple segments selected in singleSelect mdc-segmented-button")},d.prototype.destroy=function(){this.segments_.forEach(function(t){t.destroy()}),this.unlisten(c.events.SELECTED,this.handleSelected),o.prototype.destroy.call(this)},d.prototype.getDefaultFoundation=function(){var n=this,t={hasClass:function(t){return n.root.classList.contains(t)},getSegments:function(){return n.mappedSegments()},selectSegment:function(e){var t=n.mappedSegments().find(function(t){return t.index===e||t.segmentId===e});t&&n.segments_[t.index].setSelected()},unselectSegment:function(e){var t=n.mappedSegments().find(function(t){return t.index===e||t.segmentId===e});t&&n.segments_[t.index].setUnselected()},notifySelectedChange:function(t){n.emit(c.events.CHANGE,t,!0)}};return new u.MDCSegmentedButtonFoundation(t)},d.prototype.getSelectedSegments=function(){return this.foundation.getSelectedSegments()},d.prototype.selectSegment=function(t){this.foundation.selectSegment(t)},d.prototype.unselectSegment=function(t){this.foundation.unselectSegment(t)},d.prototype.isSegmentSelected=function(t){return this.foundation.isSegmentSelected(t)},d.prototype.mappedSegments=function(){return this.segments_.map(function(t,e){return{index:e,selected:t.isSelected(),segmentId:t.getSegmentId()}})},d);function d(){return null!==o&&o.apply(this,arguments)||this}e.MDCSegmentedButton=l},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(191),e),r(n(83),e),r(n(81),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(194),e),r(n(195),e),r(n(32),e),r(n(84),e),r(n(196),e),r(n(197),e),r(n(199),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),a=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&s(e,t,n);return a(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSelect=void 0;var u,l=n(1),d=n(27),p=n(29),h=c(n(8)),f=n(74),_=c(n(15)),y=n(30),C=n(3),E=n(4),g=n(32),m=n(84),v=n(85),T=n(88),b=(u=l.MDCComponent,r(A,u),A.attachTo=function(t){return new A(t)},A.prototype.initialize=function(t,e,n,i,r,o){if(void 0===t&&(t=function(t){return new d.MDCFloatingLabel(t)}),void 0===e&&(e=function(t){return new p.MDCLineRipple(t)}),void 0===n&&(n=function(t){return new y.MDCNotchedOutline(t)}),void 0===i&&(i=function(t){return new f.MDCMenu(t)}),void 0===r&&(r=function(t){return new T.MDCSelectIcon(t)}),void 0===o&&(o=function(t){return new v.MDCSelectHelperText(t)}),this.selectAnchor=this.root.querySelector(g.strings.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(g.strings.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(g.strings.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw new Error("MDCSelect: Missing required element: The following selector must be present: '"+g.strings.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(g.strings.ARIA_CONTROLS)){var s=document.getElementById(this.selectAnchor.getAttribute(g.strings.ARIA_CONTROLS));s&&(this.helperText=o(s))}this.menuSetup(i);var a=this.root.querySelector(g.strings.LABEL_SELECTOR);this.label=a?t(a):null;var c=this.root.querySelector(g.strings.LINE_RIPPLE_SELECTOR);this.lineRipple=c?e(c):null;var u=this.root.querySelector(g.strings.OUTLINE_SELECTOR);this.outline=u?n(u):null;var l=this.root.querySelector(g.strings.LEADING_ICON_SELECTOR);l&&(this.leadingIcon=r(l)),this.root.classList.contains(g.cssClasses.OUTLINED)||(this.ripple=this.createRipple())},A.prototype.initialSyncWithDOM=function(){var e=this;if(this.handleFocus=function(){e.foundation.handleFocus()},this.handleBlur=function(){e.foundation.handleBlur()},this.handleClick=function(t){e.selectAnchor.focus(),e.foundation.handleClick(e.getNormalizedXCoordinate(t))},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleMenuItemAction=function(t){e.foundation.handleMenuItemAction(t.detail.index)},this.handleMenuOpened=function(){e.foundation.handleMenuOpened()},this.handleMenuClosed=function(){e.foundation.handleMenuClosed()},this.handleMenuClosing=function(){e.foundation.handleMenuClosing()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(h.strings.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(h.strings.CLOSING_EVENT,this.handleMenuClosing),this.menu.listen(h.strings.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(_.strings.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value)return this.foundation.setValue(this.hiddenInput.value,!0),void this.foundation.layout();this.hiddenInput.value=this.value}},A.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(h.strings.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(h.strings.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(_.strings.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),u.prototype.destroy.call(this)},Object.defineProperty(A.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!1,configurable:!0}),A.prototype.setValue=function(t,e){void 0===e&&(e=!1),this.foundation.setValue(t,e)},Object.defineProperty(A.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t,!0)},enumerable:!1,configurable:!0}),A.prototype.setSelectedIndex=function(t,e){void 0===e&&(e=!1),this.foundation.setSelectedIndex(t,!0,e)},Object.defineProperty(A.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(t){this.foundation.setDisabled(t),this.hiddenInput&&(this.hiddenInput.disabled=t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"useDefaultValidation",{set:function(t){this.foundation.setUseDefaultValidation(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(t){this.foundation.setRequired(t)},enumerable:!1,configurable:!0}),A.prototype.layout=function(){this.foundation.layout()},A.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map(function(t){return t.getAttribute(g.strings.VALUE_ATTR)||""}),this.hiddenInput&&(this.hiddenInput.value=this.value)},A.prototype.getDefaultFoundation=function(){var t=o(o(o(o({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new m.MDCSelectFoundation(t,this.getFoundationMap())},A.prototype.menuSetup=function(t){this.menuElement=this.root.querySelector(g.strings.MENU_SELECTOR),this.menu=t(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map(function(t){return t.getAttribute(g.strings.VALUE_ATTR)||""})},A.prototype.createRipple=function(){var n=this,t=o(o({},C.MDCRipple.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(t,e){n.selectAnchor.addEventListener(t,e)},deregisterInteractionHandler:function(t,e){n.selectAnchor.removeEventListener(t,e)}});return new C.MDCRipple(this.selectAnchor,new E.MDCRippleFoundation(t))},A.prototype.getSelectAdapterMethods=function(){var n=this;return{getMenuItemAttr:function(t,e){return t.getAttribute(e)},setSelectedText:function(t){n.selectedText.textContent=t},isSelectAnchorFocused:function(){return document.activeElement===n.selectAnchor},getSelectAnchorAttr:function(t){return n.selectAnchor.getAttribute(t)},setSelectAnchorAttr:function(t,e){n.selectAnchor.setAttribute(t,e)},removeSelectAnchorAttr:function(t){n.selectAnchor.removeAttribute(t)},addMenuClass:function(t){n.menuElement.classList.add(t)},removeMenuClass:function(t){n.menuElement.classList.remove(t)},openMenu:function(){n.menu.open=!0},closeMenu:function(){n.menu.open=!1},getAnchorElement:function(){return n.root.querySelector(g.strings.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(t){n.menu.setAnchorElement(t)},setMenuAnchorCorner:function(t){n.menu.setAnchorCorner(t)},setMenuWrapFocus:function(t){n.menu.wrapFocus=t},getSelectedIndex:function(){var t=n.menu.selectedIndex;return t instanceof Array?t[0]:t},setSelectedIndex:function(t){n.menu.selectedIndex=t},focusMenuItemAtIndex:function(t){n.menu.items[t].focus()},getMenuItemCount:function(){return n.menu.items.length},getMenuItemValues:function(){return n.menuItemValues},getMenuItemTextAtIndex:function(t){return n.menu.getPrimaryTextAtIndex(t)},isTypeaheadInProgress:function(){return n.menu.typeaheadInProgress},typeaheadMatchItem:function(t,e){return n.menu.typeaheadMatchItem(t,e)}}},A.prototype.getCommonAdapterMethods=function(){var n=this;return{addClass:function(t){n.root.classList.add(t)},removeClass:function(t){n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},setRippleCenter:function(t){n.lineRipple&&n.lineRipple.setRippleCenter(t)},activateBottomLine:function(){n.lineRipple&&n.lineRipple.activate()},deactivateBottomLine:function(){n.lineRipple&&n.lineRipple.deactivate()},notifyChange:function(t){n.hiddenInput&&(n.hiddenInput.value=t);var e=n.selectedIndex;n.emit(g.strings.CHANGE_EVENT,{value:t,index:e},!0)}}},A.prototype.getOutlineAdapterMethods=function(){var e=this;return{hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)},closeOutline:function(){e.outline&&e.outline.closeNotch()}}},A.prototype.getLabelAdapterMethods=function(){var e=this;return{hasLabel:function(){return!!e.label},floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},A.prototype.getNormalizedXCoordinate=function(t){var e=t.target.getBoundingClientRect();return(this.isTouchEvent(t)?t.touches[0].clientX:t.clientX)-e.left},A.prototype.isTouchEvent=function(t){return Boolean(t.touches)},A.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},A);function A(){return null!==u&&u.apply(this,arguments)||this}e.MDCSelect=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.helperTextStrings=e.helperTextCssClasses=void 0,r(n(198),e),r(n(85),e),r(n(86),e);var o=n(87);Object.defineProperty(e,"helperTextCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"helperTextStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.iconStrings=void 0,r(n(200),e),r(n(88),e),r(n(89),e);var o=n(90);Object.defineProperty(e,"iconStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(202),e),r(n(203),e),r(n(33),e),r(n(91),e),r(n(34),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=this&&this.__assign||function(){return(c=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSlider=void 0;var o,s=n(1),u=n(5),l=n(2),d=n(3),p=n(4),h=n(33),a=n(91),f=n(34),_=(o=s.MDCComponent,r(y,o),y.attachTo=function(t,e){return void 0===e&&(e={}),new y(t,void 0,e)},y.prototype.getDefaultFoundation=function(){var i=this,t={hasClass:function(t){return i.root.classList.contains(t)},addClass:function(t){i.root.classList.add(t)},removeClass:function(t){i.root.classList.remove(t)},addThumbClass:function(t,e){i.getThumbEl(e).classList.add(t)},removeThumbClass:function(t,e){i.getThumbEl(e).classList.remove(t)},getAttribute:function(t){return i.root.getAttribute(t)},getInputValue:function(t){return i.getInput(t).value},setInputValue:function(t,e){i.getInput(e).value=t},getInputAttribute:function(t,e){return i.getInput(e).getAttribute(t)},setInputAttribute:function(t,e,n){i.getInput(n).setAttribute(t,e)},removeInputAttribute:function(t,e){i.getInput(e).removeAttribute(t)},focusInput:function(t){i.getInput(t).focus()},isInputFocused:function(t){return i.getInput(t)===document.activeElement},getThumbKnobWidth:function(t){return i.getThumbEl(t).querySelector("."+h.cssClasses.THUMB_KNOB).getBoundingClientRect().width},getThumbBoundingClientRect:function(t){return i.getThumbEl(t).getBoundingClientRect()},getBoundingClientRect:function(){return i.root.getBoundingClientRect()},isRTL:function(){return"rtl"===getComputedStyle(i.root).direction},setThumbStyleProperty:function(t,e,n){i.getThumbEl(n).style.setProperty(t,e)},removeThumbStyleProperty:function(t,e){i.getThumbEl(e).style.removeProperty(t)},setTrackActiveStyleProperty:function(t,e){i.trackActive.style.setProperty(t,e)},removeTrackActiveStyleProperty:function(t){i.trackActive.style.removeProperty(t)},setValueIndicatorText:function(t,e){i.getThumbEl(e).querySelector("."+h.cssClasses.VALUE_INDICATOR_TEXT).textContent=String(t)},getValueToAriaValueTextFn:function(){return i.valueToAriaValueTextFn},updateTickMarks:function(t){var e=i.root.querySelector("."+h.cssClasses.TICK_MARKS_CONTAINER);e||((e=document.createElement("div")).classList.add(h.cssClasses.TICK_MARKS_CONTAINER),i.root.querySelector("."+h.cssClasses.TRACK).appendChild(e)),t.length!==e.children.length?(e.innerHTML="",i.addTickMarks(e,t)):i.updateTickMarks(e,t)},setPointerCapture:function(t){i.root.setPointerCapture(t)},emitChangeEvent:function(t,e){i.emit(h.events.CHANGE,{value:t,thumb:e})},emitInputEvent:function(t,e){i.emit(h.events.INPUT,{value:t,thumb:e})},emitDragStartEvent:function(t,e){i.getRipple(e).activate()},emitDragEndEvent:function(t,e){i.getRipple(e).deactivate()},registerEventHandler:function(t,e){i.listen(t,e)},deregisterEventHandler:function(t,e){i.unlisten(t,e)},registerThumbEventHandler:function(t,e,n){i.getThumbEl(t).addEventListener(e,n)},deregisterThumbEventHandler:function(t,e,n){i.getThumbEl(t).removeEventListener(e,n)},registerInputEventHandler:function(t,e,n){i.getInput(t).addEventListener(e,n)},deregisterInputEventHandler:function(t,e,n){i.getInput(t).removeEventListener(e,n)},registerBodyEventHandler:function(t,e){document.body.addEventListener(t,e)},deregisterBodyEventHandler:function(t,e){document.body.removeEventListener(t,e)},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)}};return new a.MDCSliderFoundation(t)},y.prototype.initialize=function(t){var e=(void 0===t?{}:t).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+h.cssClasses.INPUT)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+h.cssClasses.THUMB)),this.trackActive=this.root.querySelector("."+h.cssClasses.TRACK_ACTIVE),this.ripples=this.createRipples(),e&&(this.skipInitialUIUpdate=!0)},y.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},y.prototype.layout=function(){this.foundation.layout()},y.prototype.getValueStart=function(){return this.foundation.getValueStart()},y.prototype.setValueStart=function(t){this.foundation.setValueStart(t)},y.prototype.getValue=function(){return this.foundation.getValue()},y.prototype.setValue=function(t){this.foundation.setValue(t)},y.prototype.getDisabled=function(){return this.foundation.getDisabled()},y.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},y.prototype.setValueToAriaValueTextFn=function(t){this.valueToAriaValueTextFn=t},y.prototype.getThumbEl=function(t){return t===f.Thumb.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},y.prototype.getInput=function(t){return t===f.Thumb.END?this.inputs[this.inputs.length-1]:this.inputs[0]},y.prototype.getRipple=function(t){return t===f.Thumb.END?this.ripples[this.ripples.length-1]:this.ripples[0]},y.prototype.addTickMarks=function(t,e){for(var n=document.createDocumentFragment(),i=0;i<e.length;i++){var r=document.createElement("div"),o=e[i]===f.TickMark.ACTIVE?h.cssClasses.TICK_MARK_ACTIVE:h.cssClasses.TICK_MARK_INACTIVE;r.classList.add(o),n.appendChild(r)}t.appendChild(n)},y.prototype.updateTickMarks=function(t,e){for(var n=Array.from(t.children),i=0;i<n.length;i++)e[i]===f.TickMark.ACTIVE?(n[i].classList.add(h.cssClasses.TICK_MARK_ACTIVE),n[i].classList.remove(h.cssClasses.TICK_MARK_INACTIVE)):(n[i].classList.add(h.cssClasses.TICK_MARK_INACTIVE),n[i].classList.remove(h.cssClasses.TICK_MARK_ACTIVE))},y.prototype.createRipples=function(){for(var o=[],s=[].slice.call(this.root.querySelectorAll("."+h.cssClasses.THUMB)),t=function(t){var n=s[t],i=a.inputs[t],e=c(c({},d.MDCRipple.createAdapter(a)),{addClass:function(t){n.classList.add(t)},computeBoundingRect:function(){return n.getBoundingClientRect()},deregisterInteractionHandler:function(t,e){i.removeEventListener(t,e)},isSurfaceActive:function(){return l.matches(i,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,e){i.addEventListener(t,e,u.applyPassive())},removeClass:function(t){n.classList.remove(t)},updateCssVariable:function(t,e){n.style.setProperty(t,e)}}),r=new d.MDCRipple(n,new p.MDCRippleFoundation(e));r.unbounded=!0,o.push(r)},a=this,e=0;e<s.length;e++)t(e);return o},y);function y(){var t=null!==o&&o.apply(this,arguments)||this;return t.skipInitialUIUpdate=!1,t.valueToAriaValueTextFn=null,t}e.MDCSlider=_},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(92));e.util=a,s(n(205),e),s(n(206),e),s(n(16),e),s(n(93),e),s(n(207),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return s(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSnackbar=void 0;var c,u=n(1),l=n(2),d=n(16),p=n(93),h=a(n(92)),f=d.strings.SURFACE_SELECTOR,_=d.strings.LABEL_SELECTOR,y=d.strings.ACTION_SELECTOR,C=d.strings.DISMISS_SELECTOR,E=d.strings.OPENING_EVENT,g=d.strings.OPENED_EVENT,m=d.strings.CLOSING_EVENT,v=d.strings.CLOSED_EVENT,T=(c=u.MDCComponent,r(b,c),b.attachTo=function(t){return new b(t)},b.prototype.initialize=function(t){void 0===t&&(t=function(){return h.announce}),this.announce_=t()},b.prototype.initialSyncWithDOM=function(){var n=this;this.surfaceEl_=this.root.querySelector(f),this.labelEl_=this.root.querySelector(_),this.actionEl_=this.root.querySelector(y),this.handleKeyDown_=function(t){return n.foundation.handleKeyDown(t)},this.handleSurfaceClick_=function(t){var e=t.target;n.isActionButton_(e)?n.foundation.handleActionButtonClick(t):n.isActionIcon_(e)&&n.foundation.handleActionIconClick(t)},this.registerKeyDownHandler_(this.handleKeyDown_),this.registerSurfaceClickHandler_(this.handleSurfaceClick_)},b.prototype.destroy=function(){c.prototype.destroy.call(this),this.deregisterKeyDownHandler_(this.handleKeyDown_),this.deregisterSurfaceClickHandler_(this.handleSurfaceClick_)},b.prototype.open=function(){this.foundation.open()},b.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},b.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},announce:function(){return e.announce_(e.labelEl_)},notifyClosed:function(t){return e.emit(v,t?{reason:t}:{})},notifyClosing:function(t){return e.emit(m,t?{reason:t}:{})},notifyOpened:function(){return e.emit(g,{})},notifyOpening:function(){return e.emit(E,{})},removeClass:function(t){return e.root.classList.remove(t)}};return new p.MDCSnackbarFoundation(t)},Object.defineProperty(b.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(t){this.foundation.setTimeoutMs(t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(t){this.foundation.setCloseOnEscape(t)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"labelText",{get:function(){return this.labelEl_.textContent},set:function(t){this.labelEl_.textContent=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"actionButtonText",{get:function(){return this.actionEl_.textContent},set:function(t){this.actionEl_.textContent=t},enumerable:!1,configurable:!0}),b.prototype.registerKeyDownHandler_=function(t){this.listen("keydown",t)},b.prototype.deregisterKeyDownHandler_=function(t){this.unlisten("keydown",t)},b.prototype.registerSurfaceClickHandler_=function(t){this.surfaceEl_.addEventListener("click",t)},b.prototype.deregisterSurfaceClickHandler_=function(t){this.surfaceEl_.removeEventListener("click",t)},b.prototype.isActionButton_=function(t){return Boolean(l.closest(t,y))},b.prototype.isActionIcon_=function(t){return Boolean(l.closest(t,C))},b);function b(){return null!==c&&c.apply(this,arguments)||this}e.MDCSnackbar=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(209),e),r(n(210),e),r(n(95),e),r(n(94),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s},a=this&&this.__spreadArray||function(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCSwitch=void 0;var c,u=n(1),l=n(5),d=n(2),p=n(3),h=n(4),f=n(94),_=(c=u.MDCComponent,r(y,c),y.attachTo=function(t){return new y(t)},y.prototype.destroy=function(){c.prototype.destroy.call(this),this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.changeHandler_)},y.prototype.initialSyncWithDOM=function(){var i=this;this.changeHandler_=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(t=i.foundation).handleChange.apply(t,a([],s(e)))},this.nativeControl_.addEventListener("change",this.changeHandler_),this.checked=this.checked},y.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},setNativeControlChecked:function(t){return n.nativeControl_.checked=t},setNativeControlDisabled:function(t){return n.nativeControl_.disabled=t},setNativeControlAttr:function(t,e){return n.nativeControl_.setAttribute(t,e)}};return new f.MDCSwitchFoundation(t)},Object.defineProperty(y.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.foundation.setChecked(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),y.prototype.createRipple_=function(){var n=this,t=f.MDCSwitchFoundation.strings.RIPPLE_SURFACE_SELECTOR,i=this.root.querySelector(t),e=o(o({},p.MDCRipple.createAdapter(this)),{addClass:function(t){return i.classList.add(t)},computeBoundingRect:function(){return i.getBoundingClientRect()},deregisterInteractionHandler:function(t,e){n.nativeControl_.removeEventListener(t,e,l.applyPassive())},isSurfaceActive:function(){return d.matches(n.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,e){n.nativeControl_.addEventListener(t,e,l.applyPassive())},removeClass:function(t){i.classList.remove(t)},updateCssVariable:function(t,e){i.style.setProperty(t,e)}});return new p.MDCRipple(this.root,new h.MDCRippleFoundation(e))},Object.defineProperty(y.prototype,"nativeControl_",{get:function(){var t=f.MDCSwitchFoundation.strings.NATIVE_CONTROL_SELECTOR;return this.root.querySelector(t)},enumerable:!1,configurable:!0}),y);function y(){var t=null!==c&&c.apply(this,arguments)||this;return t.ripple_=t.createRipple_(),t}e.MDCSwitch=_},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(212),e),r(n(213),e),r(n(106),e),r(n(105),e),r(n(217),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabBar=void 0;var o,s=n(1),a=n(96),c=n(99),u=n(37),l=n(105),d=l.MDCTabBarFoundation.strings,p=0,h=(o=s.MDCComponent,r(f,o),f.attachTo=function(t){return new f(t)},Object.defineProperty(f.prototype,"focusOnActivate",{set:function(e){this.tabList_.forEach(function(t){return t.focusOnActivate=e})},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"useAutomaticActivation",{set:function(t){this.foundation.setUseAutomaticActivation(t)},enumerable:!1,configurable:!0}),f.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new c.MDCTab(t)}),void 0===e&&(e=function(t){return new a.MDCTabScroller(t)}),this.tabList_=this.instantiateTabs_(t),this.tabScroller_=this.instantiateTabScroller_(e)},f.prototype.initialSyncWithDOM=function(){var e=this;this.handleTabInteraction_=function(t){return e.foundation.handleTabInteraction(t)},this.handleKeyDown_=function(t){return e.foundation.handleKeyDown(t)},this.listen(u.MDCTabFoundation.strings.INTERACTED_EVENT,this.handleTabInteraction_),this.listen("keydown",this.handleKeyDown_);for(var t=0;t<this.tabList_.length;t++)if(this.tabList_[t].active){this.scrollIntoView(t);break}},f.prototype.destroy=function(){o.prototype.destroy.call(this),this.unlisten(u.MDCTabFoundation.strings.INTERACTED_EVENT,this.handleTabInteraction_),this.unlisten("keydown",this.handleKeyDown_),this.tabList_.forEach(function(t){return t.destroy()}),this.tabScroller_&&this.tabScroller_.destroy()},f.prototype.getDefaultFoundation=function(){var n=this,t={scrollTo:function(t){return n.tabScroller_.scrollTo(t)},incrementScroll:function(t){return n.tabScroller_.incrementScroll(t)},getScrollPosition:function(){return n.tabScroller_.getScrollPosition()},getScrollContentWidth:function(){return n.tabScroller_.getScrollContentWidth()},getOffsetWidth:function(){return n.root.offsetWidth},isRTL:function(){return"rtl"===window.getComputedStyle(n.root).getPropertyValue("direction")},setActiveTab:function(t){return n.foundation.activateTab(t)},activateTabAtIndex:function(t,e){return n.tabList_[t].activate(e)},deactivateTabAtIndex:function(t){return n.tabList_[t].deactivate()},focusTabAtIndex:function(t){return n.tabList_[t].focus()},getTabIndicatorClientRectAtIndex:function(t){return n.tabList_[t].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(t){return n.tabList_[t].computeDimensions()},getPreviousActiveTabIndex:function(){for(var t=0;t<n.tabList_.length;t++)if(n.tabList_[t].active)return t;return-1},getFocusedTabIndex:function(){var t=n.getTabElements_(),e=document.activeElement;return t.indexOf(e)},getIndexOfTabById:function(t){for(var e=0;e<n.tabList_.length;e++)if(n.tabList_[e].id===t)return e;return-1},getTabListLength:function(){return n.tabList_.length},notifyTabActivated:function(t){return n.emit(d.TAB_ACTIVATED_EVENT,{index:t},!0)}};return new l.MDCTabBarFoundation(t)},f.prototype.activateTab=function(t){this.foundation.activateTab(t)},f.prototype.scrollIntoView=function(t){this.foundation.scrollIntoView(t)},f.prototype.getTabElements_=function(){return[].slice.call(this.root.querySelectorAll(d.TAB_SELECTOR))},f.prototype.instantiateTabs_=function(e){return this.getTabElements_().map(function(t){return t.id=t.id||"mdc-tab-"+ ++p,e(t)})},f.prototype.instantiateTabScroller_=function(t){var e=this.root.querySelector(d.TAB_SCROLLER_SELECTOR);return e?t(e):null},f);function f(){return null!==o&&o.apply(this,arguments)||this}e.MDCTabBar=h},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabScrollerRTLDefault=void 0;var o,s=n(36),a=(o=s.MDCTabScrollerRTL,r(c,o),c.prototype.getScrollPositionRTL=function(){var t=this.adapter.getScrollAreaScrollLeft(),e=this.calculateScrollEdges_().right;return Math.round(e-t)},c.prototype.scrollToRTL=function(t){var e=this.calculateScrollEdges_(),n=this.adapter.getScrollAreaScrollLeft(),i=this.clampScrollValue_(e.right-t);return{finalScrollPosition:i,scrollDelta:i-n}},c.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e-t);return{finalScrollPosition:n,scrollDelta:n-e}},c.prototype.getAnimatingScrollPosition=function(t){return t},c.prototype.calculateScrollEdges_=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},c.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.min(Math.max(e.left,t),e.right)},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.MDCTabScrollerRTLDefault=a,e.default=a},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabScrollerRTLNegative=void 0;var o,s=n(36),a=(o=s.MDCTabScrollerRTL,r(c,o),c.prototype.getScrollPositionRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft();return Math.round(t-e)},c.prototype.scrollToRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue_(-t);return{finalScrollPosition:n,scrollDelta:n-e}},c.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e-t);return{finalScrollPosition:n,scrollDelta:n-e}},c.prototype.getAnimatingScrollPosition=function(t,e){return t-e},c.prototype.calculateScrollEdges_=function(){var t=this.adapter.getScrollContentOffsetWidth();return{left:this.adapter.getScrollAreaOffsetWidth()-t,right:0}},c.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.max(Math.min(e.right,t),e.left)},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.MDCTabScrollerRTLNegative=a,e.default=a},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTabScrollerRTLReverse=void 0;var o,s=n(36),a=(o=s.MDCTabScrollerRTL,r(c,o),c.prototype.getScrollPositionRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft();return Math.round(e-t)},c.prototype.scrollToRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue_(t);return{finalScrollPosition:n,scrollDelta:e-n}},c.prototype.incrementScrollRTL=function(t){var e=this.adapter.getScrollAreaScrollLeft(),n=this.clampScrollValue_(e+t);return{finalScrollPosition:n,scrollDelta:e-n}},c.prototype.getAnimatingScrollPosition=function(t,e){return t+e},c.prototype.calculateScrollEdges_=function(){return{left:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth(),right:0}},c.prototype.clampScrollValue_=function(t){var e=this.calculateScrollEdges_();return Math.min(Math.max(e.right,t),e.left)},c);function c(){return null!==o&&o.apply(this,arguments)||this}e.MDCTabScrollerRTLReverse=a,e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(219),e),r(n(100),e),r(n(102),e),r(n(17),e),r(n(101),e),r(n(103),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(e,t,n);return r(e,t),e},s=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.util=void 0;var a=o(n(98));e.util=a,s(n(221),e),s(n(96),e),s(n(35),e),s(n(97),e),s(n(222),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(224),e),r(n(99),e),r(n(104),e),r(n(37),e),r(n(225),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(227),e),r(n(228),e),r(n(39),e),r(n(109),e),r(n(229),e),r(n(230),e),r(n(232),e),r(n(234),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),a=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&s(e,t,n);return a(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTextField=void 0;var u,l=n(1),d=n(5),p=c(n(2)),E=n(27),g=n(29),m=n(30),v=n(3),h=n(4),T=n(107),b=n(38),A=n(39),f=n(109),O=n(110),I=n(40),S=n(112),_=(u=l.MDCComponent,r(y,u),y.attachTo=function(t){return new y(t)},y.prototype.initialize=function(t,e,n,i,r,o,s){void 0===t&&(t=function(t,e){return new v.MDCRipple(t,e)}),void 0===e&&(e=function(t){return new g.MDCLineRipple(t)}),void 0===n&&(n=function(t){return new O.MDCTextFieldHelperText(t)}),void 0===i&&(i=function(t){return new T.MDCTextFieldCharacterCounter(t)}),void 0===r&&(r=function(t){return new S.MDCTextFieldIcon(t)}),void 0===o&&(o=function(t){return new E.MDCFloatingLabel(t)}),void 0===s&&(s=function(t){return new m.MDCNotchedOutline(t)}),this.input_=this.root.querySelector(A.strings.INPUT_SELECTOR);var a=this.root.querySelector(A.strings.LABEL_SELECTOR);this.label_=a?o(a):null;var c=this.root.querySelector(A.strings.LINE_RIPPLE_SELECTOR);this.lineRipple_=c?e(c):null;var u=this.root.querySelector(A.strings.OUTLINE_SELECTOR);this.outline_=u?s(u):null;var l=I.MDCTextFieldHelperTextFoundation.strings,d=this.root.nextElementSibling,p=d&&d.classList.contains(A.cssClasses.HELPER_LINE),h=p&&d&&d.querySelector(l.ROOT_SELECTOR);this.helperText_=h?n(h):null;var f=b.MDCTextFieldCharacterCounterFoundation.strings,_=this.root.querySelector(f.ROOT_SELECTOR);!_&&p&&d&&(_=d.querySelector(f.ROOT_SELECTOR)),this.characterCounter_=_?i(_):null;var y=this.root.querySelector(A.strings.LEADING_ICON_SELECTOR);this.leadingIcon_=y?r(y):null;var C=this.root.querySelector(A.strings.TRAILING_ICON_SELECTOR);this.trailingIcon_=C?r(C):null,this.prefix_=this.root.querySelector(A.strings.PREFIX_SELECTOR),this.suffix_=this.root.querySelector(A.strings.SUFFIX_SELECTOR),this.ripple=this.createRipple_(t)},y.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple_&&this.lineRipple_.destroy(),this.helperText_&&this.helperText_.destroy(),this.characterCounter_&&this.characterCounter_.destroy(),this.leadingIcon_&&this.leadingIcon_.destroy(),this.trailingIcon_&&this.trailingIcon_.destroy(),this.label_&&this.label_.destroy(),this.outline_&&this.outline_.destroy(),u.prototype.destroy.call(this)},y.prototype.initialSyncWithDOM=function(){this.disabled=this.input_.disabled},Object.defineProperty(y.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(t){this.foundation.setDisabled(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"required",{get:function(){return this.input_.required},set:function(t){this.input_.required=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"pattern",{get:function(){return this.input_.pattern},set:function(t){this.input_.pattern=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"minLength",{get:function(){return this.input_.minLength},set:function(t){this.input_.minLength=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"maxLength",{get:function(){return this.input_.maxLength},set:function(t){t<0?this.input_.removeAttribute("maxLength"):this.input_.maxLength=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"min",{get:function(){return this.input_.min},set:function(t){this.input_.min=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"max",{get:function(){return this.input_.max},set:function(t){this.input_.max=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"step",{get:function(){return this.input_.step},set:function(t){this.input_.step=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"trailingIconAriaLabel",{set:function(t){this.foundation.setTrailingIconAriaLabel(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"trailingIconContent",{set:function(t){this.foundation.setTrailingIconContent(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"useNativeValidation",{set:function(t){this.foundation.setUseNativeValidation(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"prefixText",{get:function(){return this.prefix_?this.prefix_.textContent:null},set:function(t){this.prefix_&&(this.prefix_.textContent=t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"suffixText",{get:function(){return this.suffix_?this.suffix_.textContent:null},set:function(t){this.suffix_&&(this.suffix_.textContent=t)},enumerable:!1,configurable:!0}),y.prototype.focus=function(){this.input_.focus()},y.prototype.layout=function(){var t=this.foundation.shouldFloat;this.foundation.notchOutline(t)},y.prototype.getDefaultFoundation=function(){var t=o(o(o(o(o({},this.getRootAdapterMethods_()),this.getInputAdapterMethods_()),this.getLabelAdapterMethods_()),this.getLineRippleAdapterMethods_()),this.getOutlineAdapterMethods_());return new f.MDCTextFieldFoundation(t,this.getFoundationMap_())},y.prototype.getRootAdapterMethods_=function(){var n=this;return{addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},hasClass:function(t){return n.root.classList.contains(t)},registerTextFieldInteractionHandler:function(t,e){n.listen(t,e)},deregisterTextFieldInteractionHandler:function(t,e){n.unlisten(t,e)},registerValidationAttributeChangeHandler:function(e){var t=new MutationObserver(function(t){return e(function(t){return t.map(function(t){return t.attributeName}).filter(function(t){return t})}(t))});return t.observe(n.input_,{attributes:!0}),t},deregisterValidationAttributeChangeHandler:function(t){t.disconnect()}}},y.prototype.getInputAdapterMethods_=function(){var n=this;return{getNativeInput:function(){return n.input_},setInputAttr:function(t,e){n.input_.setAttribute(t,e)},removeInputAttr:function(t){n.input_.removeAttribute(t)},isFocused:function(){return document.activeElement===n.input_},registerInputInteractionHandler:function(t,e){n.input_.addEventListener(t,e,d.applyPassive())},deregisterInputInteractionHandler:function(t,e){n.input_.removeEventListener(t,e,d.applyPassive())}}},y.prototype.getLabelAdapterMethods_=function(){var e=this;return{floatLabel:function(t){return e.label_&&e.label_.float(t)},getLabelWidth:function(){return e.label_?e.label_.getWidth():0},hasLabel:function(){return Boolean(e.label_)},shakeLabel:function(t){return e.label_&&e.label_.shake(t)},setLabelRequired:function(t){return e.label_&&e.label_.setRequired(t)}}},y.prototype.getLineRippleAdapterMethods_=function(){var e=this;return{activateLineRipple:function(){e.lineRipple_&&e.lineRipple_.activate()},deactivateLineRipple:function(){e.lineRipple_&&e.lineRipple_.deactivate()},setLineRippleTransformOrigin:function(t){e.lineRipple_&&e.lineRipple_.setRippleCenter(t)}}},y.prototype.getOutlineAdapterMethods_=function(){var e=this;return{closeOutline:function(){return e.outline_&&e.outline_.closeNotch()},hasOutline:function(){return Boolean(e.outline_)},notchOutline:function(t){return e.outline_&&e.outline_.notch(t)}}},y.prototype.getFoundationMap_=function(){return{characterCounter:this.characterCounter_?this.characterCounter_.foundationForTextField:void 0,helperText:this.helperText_?this.helperText_.foundationForTextField:void 0,leadingIcon:this.leadingIcon_?this.leadingIcon_.foundationForTextField:void 0,trailingIcon:this.trailingIcon_?this.trailingIcon_.foundationForTextField:void 0}},y.prototype.createRipple_=function(t){var n=this,e=this.root.classList.contains(A.cssClasses.TEXTAREA),i=this.root.classList.contains(A.cssClasses.OUTLINED);if(e||i)return null;var r=o(o({},v.MDCRipple.createAdapter(this)),{isSurfaceActive:function(){return p.matches(n.input_,":active")},registerInteractionHandler:function(t,e){return n.input_.addEventListener(t,e,d.applyPassive())},deregisterInteractionHandler:function(t,e){return n.input_.removeEventListener(t,e,d.applyPassive())}});return t(this.root,new h.MDCRippleFoundation(r))},y);function y(){return null!==u&&u.apply(this,arguments)||this}e.MDCTextField=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.characterCountStrings=e.characterCountCssClasses=void 0,r(n(231),e),r(n(107),e),r(n(38),e);var o=n(108);Object.defineProperty(e,"characterCountCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"characterCountStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.helperTextStrings=e.helperTextCssClasses=void 0,r(n(233),e),r(n(110),e),r(n(40),e);var o=n(111);Object.defineProperty(e,"helperTextCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"helperTextStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.iconStrings=e.iconCssClasses=void 0,r(n(235),e),r(n(112),e),r(n(113),e);var o=n(114);Object.defineProperty(e,"iconCssClasses",{enumerable:!0,get:function(){return o.cssClasses}}),Object.defineProperty(e,"iconStrings",{enumerable:!0,get:function(){return o.strings}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(237),e),r(n(238),e),r(n(115),e),r(n(41),e),r(n(239),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTooltip=void 0;var o,s=n(1),a=n(41),c=n(115),u=(o=s.MDCComponent,r(l,o),l.attachTo=function(t){return new l(t)},l.prototype.initialize=function(){var t=this.root.getAttribute("id");if(!t)throw new Error("MDCTooltip: Tooltip component must have an id.");var e=document.querySelector('[data-tooltip-id="'+t+'"]')||document.querySelector('[aria-describedby="'+t+'"]');if(!e)throw new Error("MDCTooltip: Tooltip component requires an anchor element annotated with [aria-describedby] or [data-tooltip-id].");this.anchorElem=e},l.prototype.initialSyncWithDOM=function(){var e=this;this.isTooltipRich=this.foundation.isRich(),this.isTooltipPersistent=this.foundation.isPersistent(),this.handleMouseEnter=function(){e.foundation.handleAnchorMouseEnter()},this.handleFocus=function(t){e.foundation.handleAnchorFocus(t)},this.handleMouseLeave=function(){e.foundation.handleAnchorMouseLeave()},this.handleTransitionEnd=function(){e.foundation.handleTransitionEnd()},this.handleClick=function(){e.foundation.handleAnchorClick()},this.handleTouchstart=function(){e.foundation.handleAnchorTouchstart()},this.handleTouchend=function(){e.foundation.handleAnchorTouchend()},this.isTooltipRich&&this.isTooltipPersistent?this.anchorElem.addEventListener("click",this.handleClick):(this.anchorElem.addEventListener("mouseenter",this.handleMouseEnter),this.anchorElem.addEventListener("focus",this.handleFocus),this.anchorElem.addEventListener("mouseleave",this.handleMouseLeave),this.anchorElem.addEventListener("touchstart",this.handleTouchstart),this.anchorElem.addEventListener("touchend",this.handleTouchend)),this.listen("transitionend",this.handleTransitionEnd)},l.prototype.destroy=function(){this.anchorElem&&(this.isTooltipRich&&this.isTooltipPersistent?this.anchorElem.removeEventListener("click",this.handleClick):(this.anchorElem.removeEventListener("mouseenter",this.handleMouseEnter),this.anchorElem.removeEventListener("focus",this.handleFocus),this.anchorElem.removeEventListener("mouseleave",this.handleMouseLeave),this.anchorElem.removeEventListener("touchstart",this.handleTouchstart),this.anchorElem.removeEventListener("touchend",this.handleTouchend))),this.unlisten("transitionend",this.handleTransitionEnd),o.prototype.destroy.call(this)},l.prototype.setTooltipPosition=function(t){this.foundation.setTooltipPosition(t)},l.prototype.setAnchorBoundaryType=function(t){this.foundation.setAnchorBoundaryType(t)},l.prototype.hide=function(){this.foundation.hide()},l.prototype.isShown=function(){this.foundation.isShown()},l.prototype.attachScrollHandler=function(t){this.foundation.attachScrollHandler(t)},l.prototype.removeScrollHandler=function(t){this.foundation.removeScrollHandler(t)},l.prototype.getDefaultFoundation=function(){var r=this,t={getAttribute:function(t){return r.root.getAttribute(t)},setAttribute:function(t,e){r.root.setAttribute(t,e)},addClass:function(t){r.root.classList.add(t)},hasClass:function(t){return r.root.classList.contains(t)},removeClass:function(t){r.root.classList.remove(t)},getComputedStyleProperty:function(t){return window.getComputedStyle(r.root).getPropertyValue(t)},setStyleProperty:function(t,e){r.root.style.setProperty(t,e)},setSurfaceStyleProperty:function(t,e){var n=r.root.querySelector("."+a.CssClasses.SURFACE);null==n||n.style.setProperty(t,e)},getViewportWidth:function(){return window.innerWidth},getViewportHeight:function(){return window.innerHeight},getTooltipSize:function(){return{width:r.root.offsetWidth,height:r.root.offsetHeight}},getAnchorBoundingRect:function(){return r.anchorElem?r.anchorElem.getBoundingClientRect():null},getParentBoundingRect:function(){var t,e;return null!==(e=null===(t=r.root.parentElement)||void 0===t?void 0:t.getBoundingClientRect())&&void 0!==e?e:null},getAnchorAttribute:function(t){return r.anchorElem?r.anchorElem.getAttribute(t):null},setAnchorAttribute:function(t,e){var n;null===(n=r.anchorElem)||void 0===n||n.setAttribute(t,e)},isRTL:function(){return"rtl"===getComputedStyle(r.root).direction},anchorContainsElement:function(t){var e;return!!(null===(e=r.anchorElem)||void 0===e?void 0:e.contains(t))},tooltipContainsElement:function(t){return r.root.contains(t)},focusAnchorElement:function(){var t;null===(t=r.anchorElem)||void 0===t||t.focus()},registerEventHandler:function(t,e){r.root instanceof HTMLElement&&r.root.addEventListener(t,e)},deregisterEventHandler:function(t,e){r.root instanceof HTMLElement&&r.root.removeEventListener(t,e)},registerAnchorEventHandler:function(t,e){var n;null===(n=r.anchorElem)||void 0===n||n.addEventListener(t,e)},deregisterAnchorEventHandler:function(t,e){var n;null===(n=r.anchorElem)||void 0===n||n.addEventListener(t,e)},registerDocumentEventHandler:function(t,e){document.body.addEventListener(t,e)},deregisterDocumentEventHandler:function(t,e){document.body.removeEventListener(t,e)},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)},notifyHidden:function(){r.emit(a.events.HIDDEN,{})},getTooltipCaretSize:function(){var t=r.root.querySelector("."+a.CssClasses.TOOLTIP_CARET_TOP);return t?{width:t.offsetWidth,height:t.offsetHeight}:null},setTooltipCaretStyle:function(t,e){var n=r.root.querySelector("."+a.CssClasses.TOOLTIP_CARET_TOP),i=r.root.querySelector("."+a.CssClasses.TOOLTIP_CARET_BOTTOM);n&&i&&(n.style.setProperty(t,e),i.style.setProperty(t,e))},clearTooltipCaretStyles:function(){var t=r.root.querySelector("."+a.CssClasses.TOOLTIP_CARET_TOP),e=r.root.querySelector("."+a.CssClasses.TOOLTIP_CARET_BOTTOM);t&&e&&(t.removeAttribute("style"),e.removeAttribute("style"))}};return new c.MDCTooltipFoundation(t)},l);function l(){return null!==o&&o.apply(this,arguments)||this}e.MDCTooltip=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(241),e),r(n(242),e),r(n(9),e),r(n(43),e),r(n(116),e),r(n(117),e),r(n(42),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.MDCTopAppBar=void 0;var o,s=n(1),a=n(3),c=n(9),u=n(116),l=n(117),d=n(42),p=(o=s.MDCComponent,r(h,o),h.attachTo=function(t){return new h(t)},h.prototype.initialize=function(n){void 0===n&&(n=function(t){return a.MDCRipple.attachTo(t)}),this.navIcon_=this.root.querySelector(c.strings.NAVIGATION_ICON_SELECTOR);var t=[].slice.call(this.root.querySelectorAll(c.strings.ACTION_ITEM_SELECTOR));this.navIcon_&&t.push(this.navIcon_),this.iconRipples_=t.map(function(t){var e=n(t);return e.unbounded=!0,e}),this.scrollTarget_=window},h.prototype.initialSyncWithDOM=function(){this.handleNavigationClick_=this.foundation.handleNavigationClick.bind(this.foundation),this.handleWindowResize_=this.foundation.handleWindowResize.bind(this.foundation),this.handleTargetScroll_=this.foundation.handleTargetScroll.bind(this.foundation),this.scrollTarget_.addEventListener("scroll",this.handleTargetScroll_),this.navIcon_&&this.navIcon_.addEventListener("click",this.handleNavigationClick_);var t=this.root.classList.contains(c.cssClasses.FIXED_CLASS);this.root.classList.contains(c.cssClasses.SHORT_CLASS)||t||window.addEventListener("resize",this.handleWindowResize_)},h.prototype.destroy=function(){this.iconRipples_.forEach(function(t){return t.destroy()}),this.scrollTarget_.removeEventListener("scroll",this.handleTargetScroll_),this.navIcon_&&this.navIcon_.removeEventListener("click",this.handleNavigationClick_);var t=this.root.classList.contains(c.cssClasses.FIXED_CLASS);this.root.classList.contains(c.cssClasses.SHORT_CLASS)||t||window.removeEventListener("resize",this.handleWindowResize_),o.prototype.destroy.call(this)},h.prototype.setScrollTarget=function(t){this.scrollTarget_.removeEventListener("scroll",this.handleTargetScroll_),this.scrollTarget_=t,this.handleTargetScroll_=this.foundation.handleTargetScroll.bind(this.foundation),this.scrollTarget_.addEventListener("scroll",this.handleTargetScroll_)},h.prototype.getDefaultFoundation=function(){var n=this,t={hasClass:function(t){return n.root.classList.contains(t)},addClass:function(t){return n.root.classList.add(t)},removeClass:function(t){return n.root.classList.remove(t)},setStyle:function(t,e){return n.root.style.setProperty(t,e)},getTopAppBarHeight:function(){return n.root.clientHeight},notifyNavigationIconClicked:function(){return n.emit(c.strings.NAVIGATION_EVENT,{})},getViewportScrollY:function(){var t=n.scrollTarget_,e=n.scrollTarget_;return void 0!==t.pageYOffset?t.pageYOffset:e.scrollTop},getTotalActionItems:function(){return n.root.querySelectorAll(c.strings.ACTION_ITEM_SELECTOR).length}};return this.root.classList.contains(c.cssClasses.SHORT_CLASS)?new l.MDCShortTopAppBarFoundation(t):this.root.classList.contains(c.cssClasses.FIXED_CLASS)?new u.MDCFixedTopAppBarFoundation(t):new d.MDCTopAppBarFoundation(t)},h);function h(){return null!==o&&o.apply(this,arguments)||this}e.MDCTopAppBar=p}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=118);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var n,i});
document.addEventListener('DOMContentLoaded', function () {

	let verticalCarouselItem = document.getElementsByClassName('vertical__carousel--item');

	function wipeIn(element) {
		element.classList.add('wipe-in');
	}

	function wipeOut(element) {
		element.classList.add('wipe-out');
		delay(2700).then(() => reset(element));
	}

	function reset(element) {
		element.classList = 'vertical__carousel--item';
	}

	function delay(ms) {
		return new Promise(resolve => setTimeout(resolve, ms));
	}

	function* carousel(elements) {
		for (let i = 0; i >= 0; i++) {
			if (i === 0) {
				wipeIn(elements[i]);
				yield;
			}

			wipeOut(elements[i % elements.length]);
			wipeIn(elements[(i + 1) % elements.length]);
			yield;
		}
	}

	function runCarousel(genObj) {
		if (!genObj.next().done) {
			setTimeout(runCarousel, 6000, genObj);
		}
	}

	runCarousel(carousel(verticalCarouselItem));

});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.AOS=t()}(this,function(){"use strict";var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t="Expected a function",n=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,l=u||d||Function("return this")(),f=Object.prototype.toString,m=Math.max,p=Math.min,b=function(){return l.Date.now()};function v(e,n,o){var i,a,r,c,s,u,d=0,l=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError(t);function y(t){var n=i,o=a;return i=a=void 0,d=t,c=e.apply(o,n)}function h(e){var t=e-u;return void 0===u||t>=n||t<0||f&&e-d>=r}function k(){var e=b();if(h(e))return x(e);s=setTimeout(k,function(e){var t=n-(e-u);return f?p(t,r-(e-d)):t}(e))}function x(e){return s=void 0,v&&i?y(e):(i=a=void 0,c)}function O(){var e=b(),t=h(e);if(i=arguments,a=this,u=e,t){if(void 0===s)return function(e){return d=e,s=setTimeout(k,n),l?y(e):c}(u);if(f)return s=setTimeout(k,n),y(u)}return void 0===s&&(s=setTimeout(k,n)),c}return n=w(n)||0,g(o)&&(l=!!o.leading,r=(f="maxWait"in o)?m(w(o.maxWait)||0,n):r,v="trailing"in o?!!o.trailing:v),O.cancel=function(){void 0!==s&&clearTimeout(s),d=0,i=u=a=s=void 0},O.flush=function(){return void 0===s?c:x(b())},O}function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==o}(e))return n;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=r.test(e);return u||c.test(e)?s(e.slice(2),u?2:8):a.test(e)?n:+e}var y=function(e,n,o){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(t);return g(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),v(e,n,{leading:i,maxWait:n,trailing:a})},h="Expected a function",k=NaN,x="[object Symbol]",O=/^\s+|\s+$/g,j=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,N=/^0o[0-7]+$/i,z=parseInt,C="object"==typeof e&&e&&e.Object===Object&&e,A="object"==typeof self&&self&&self.Object===Object&&self,q=C||A||Function("return this")(),L=Object.prototype.toString,T=Math.max,M=Math.min,S=function(){return q.Date.now()};function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function H(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&L.call(e)==x}(e))return k;if(D(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=D(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(O,"");var n=E.test(e);return n||N.test(e)?z(e.slice(2),n?2:8):j.test(e)?k:+e}var $=function(e,t,n){var o,i,a,r,c,s,u=0,d=!1,l=!1,f=!0;if("function"!=typeof e)throw new TypeError(h);function m(t){var n=o,a=i;return o=i=void 0,u=t,r=e.apply(a,n)}function p(e){var n=e-s;return void 0===s||n>=t||n<0||l&&e-u>=a}function b(){var e=S();if(p(e))return v(e);c=setTimeout(b,function(e){var n=t-(e-s);return l?M(n,a-(e-u)):n}(e))}function v(e){return c=void 0,f&&o?m(e):(o=i=void 0,r)}function g(){var e=S(),n=p(e);if(o=arguments,i=this,s=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(b,t),d?m(e):r}(s);if(l)return c=setTimeout(b,t),m(s)}return void 0===c&&(c=setTimeout(b,t)),r}return t=H(t)||0,D(n)&&(d=!!n.leading,a=(l="maxWait"in n)?T(H(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,o=s=i=c=void 0},g.flush=function(){return void 0===c?r:v(S())},g},W=function(){};function P(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes);if(function e(t){var n=void 0,o=void 0;for(n=0;n<t.length;n+=1){if((o=t[n]).dataset&&o.dataset.aos)return!0;if(o.children&&e(o.children))return!0}return!1}(t.concat(n)))return W()})}function Y(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var _={isSupported:function(){return!!Y()},ready:function(e,t){var n=window.document,o=new(Y())(P);W=t,o.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},B=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},K=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,G=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,J=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,Q=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function R(){return navigator.userAgent||navigator.vendor||window.opera||""}var U=new(function(){function e(){B(this,e)}return F(e,[{key:"phone",value:function(){var e=R();return!(!K.test(e)&&!G.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=R();return!(!J.test(e)&&!Q.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),e}()),V=function(e,t){var n=void 0;return U.ie11()?(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,{detail:t}):n=new CustomEvent(e,{detail:t}),document.dispatchEvent(n)},X=function(e){return e.forEach(function(e,t){return function(e,t){var n=e.options,o=e.position,i=e.node,a=(e.data,function(){e.animated&&(function(e,t){t&&t.forEach(function(t){return e.classList.remove(t)})}(i,n.animatedClassNames),V("aos:out",i),e.options.id&&V("aos:in:"+e.options.id,i),e.animated=!1)});n.mirror&&t>=o.out&&!n.once?a():t>=o.in?e.animated||(function(e,t){t&&t.forEach(function(t){return e.classList.add(t)})}(i,n.animatedClassNames),V("aos:in",i),e.options.id&&V("aos:in:"+e.options.id,i),e.animated=!0):e.animated&&!n.once&&a()}(e,window.pageYOffset)})},Z=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}},ee=function(e,t,n){var o=e.getAttribute("data-aos-"+t);if(void 0!==o){if("true"===o)return!0;if("false"===o)return!1}return o||n},te=function(e,t){return e.forEach(function(e,n){var o=ee(e.node,"mirror",t.mirror),i=ee(e.node,"once",t.once),a=ee(e.node,"id"),r=t.useClassNames&&e.node.getAttribute("data-aos"),c=[t.animatedClassName].concat(r?r.split(" "):[]).filter(function(e){return"string"==typeof e});t.initClassName&&e.node.classList.add(t.initClassName),e.position={in:function(e,t,n){var o=window.innerHeight,i=ee(e,"anchor"),a=ee(e,"anchor-placement"),r=Number(ee(e,"offset",a?0:t)),c=a||n,s=e;i&&document.querySelectorAll(i)&&(s=document.querySelectorAll(i)[0]);var u=Z(s).top-o;switch(c){case"top-bottom":break;case"center-bottom":u+=s.offsetHeight/2;break;case"bottom-bottom":u+=s.offsetHeight;break;case"top-center":u+=o/2;break;case"center-center":u+=o/2+s.offsetHeight/2;break;case"bottom-center":u+=o/2+s.offsetHeight;break;case"top-top":u+=o;break;case"bottom-top":u+=o+s.offsetHeight;break;case"center-top":u+=o+s.offsetHeight/2}return u+r}(e.node,t.offset,t.anchorPlacement),out:o&&function(e,t){window.innerHeight;var n=ee(e,"anchor"),o=ee(e,"offset",t),i=e;return n&&document.querySelectorAll(n)&&(i=document.querySelectorAll(n)[0]),Z(i).top+i.offsetHeight-o}(e.node,t.offset)},e.options={once:i,mirror:o,animatedClassNames:c,id:a}}),e},ne=function(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,function(e){return{node:e}})},oe=[],ie=!1,ae={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},re=function(){return document.all&&!window.atob},ce=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(ie=!0),ie&&(oe=te(oe,ae),X(oe),window.addEventListener("scroll",y(function(){X(oe,ae.once)},ae.throttleDelay)))},se=function(){if(oe=ne(),de(ae.disable)||re())return ue();ce()},ue=function(){oe.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay"),ae.initClassName&&e.node.classList.remove(ae.initClassName),ae.animatedClassName&&e.node.classList.remove(ae.animatedClassName)})},de=function(e){return!0===e||"mobile"===e&&U.mobile()||"phone"===e&&U.phone()||"tablet"===e&&U.tablet()||"function"==typeof e&&!0===e()};return{init:function(e){return ae=I(ae,e),oe=ne(),ae.disableMutationObserver||_.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),ae.disableMutationObserver=!0),ae.disableMutationObserver||_.ready("[data-aos]",se),de(ae.disable)||re()?ue():(document.querySelector("body").setAttribute("data-aos-easing",ae.easing),document.querySelector("body").setAttribute("data-aos-duration",ae.duration),document.querySelector("body").setAttribute("data-aos-delay",ae.delay),-1===["DOMContentLoaded","load"].indexOf(ae.startEvent)?document.addEventListener(ae.startEvent,function(){ce(!0)}):window.addEventListener("load",function(){ce(!0)}),"DOMContentLoaded"===ae.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&ce(!0),window.addEventListener("resize",$(ce,ae.debounceDelay,!0)),window.addEventListener("orientationchange",$(ce,ae.debounceDelay,!0)),oe)},refresh:ce,refreshHard:se}});
!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var i=" ";return 1===e.nodeType&&(i+e.className+i).replace(/[\n\t]/g,i).indexOf(i+t+i)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var i=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(i,"")},interpolateString:function(e,t){var i=/{{([a-z][a-z0-9\-_]*)}}/gi;return e.replace(i,function(e){return t(arguments[1])||""})},getCookie:function(e){var t="; "+document.cookie,i=t.split("; "+e+"=");return i.length<2?void 0:i.pop().split(";").shift()},setCookie:function(e,t,i,n,o,s){var r=new Date;r.setDate(r.getDate()+(i||365));var a=[e+"="+t,"expires="+r.toUTCString(),"path="+(o||"/")];n&&a.push("domain="+n),s&&a.push("secure"),document.cookie=a.join(";")},deepExtend:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(i in e&&this.isPlainObject(e[i])&&this.isPlainObject(t[i])?this.deepExtend(e[i],t[i]):e[i]=t[i]);return e},throttle:function(e,t){var i=!1;return function(){i||(e.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(e){var t,i,n,o=0;if(0===e.length)return o;for(t=0,n=e.length;t<n;++t)i=e.charCodeAt(t),o=(o<<5)-o+i,o|=0;return o},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){e=this.normaliseHex(e);var t=parseInt(e.substr(0,2),16),i=parseInt(e.substr(2,2),16),n=parseInt(e.substr(4,2),16),o=(299*t+587*i+114*n)/1e3;return o>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),i=38,n=(t>>16)+i,o=(t>>8&255)+i,s=(255&t)+i,r=(16777216+65536*(n<255?n<1?0:n:255)+256*(o<255?o<1?0:o:255)+(s<255?s<1?0:s:255)).toString(16).slice(1);return"#"+r},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,i){return e&&e.parentNode?t.hasClass(e,i)?e:this.traverseDOMPath(e.parentNode,i):null}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var i in t)if(t.hasOwnProperty(i)&&"undefined"!=typeof e.style[i+"ransition"])return t[i];return""}(),e.hasTransition=!!e.transitionEnd;var i=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){function n(){this.initialise.apply(this,arguments)}function o(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function s(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function r(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var i=Object.keys(e.status),n=this.getStatus(),o=i.indexOf(n)>=0;return o&&t(n),o}function a(){var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function c(){var e=this.options,i="top"==e.position||"bottom"==e.position?"banner":"floating";t.isMobile()&&(i="floating");var n=["cc-"+i,"cc-type-"+e.type,"cc-theme-"+e.theme];e["static"]&&n.push("cc-static"),n.push.apply(n,a.call(this));p.call(this,this.options.palette);return this.customStyleSelector&&n.push(this.customStyleSelector),n}function l(){var e={},i=this.options;i.showLink||(i.elements.link="",i.elements.messagelink=i.elements.message),Object.keys(i.elements).forEach(function(n){e[n]=t.interpolateString(i.elements[n],function(e){var t=i.content[e];return e&&"string"==typeof t&&t.length?t:""})});var n=i.compliance[i.type];n||(n=i.compliance.info),e.compliance=t.interpolateString(n,function(t){return e[t]});var o=i.layouts[i.layout];return o||(o=i.layouts.basic),t.interpolateString(o,function(t){return e[t]})}function u(i){var n=this.options,o=document.createElement("div"),s=n.container&&1===n.container.nodeType?n.container:document.body;o.innerHTML=i;var r=o.children[0];return r.style.display="none",t.hasClass(r,"cc-window")&&e.hasTransition&&t.addClass(r,"cc-invisible"),this.onButtonClick=h.bind(this),r.addEventListener("click",this.onButtonClick),n.autoAttach&&(s.firstChild?s.insertBefore(r,s.firstChild):s.appendChild(r)),r}function h(n){var o=t.traverseDOMPath(n.target,"cc-btn")||n.target;if(t.hasClass(o,"cc-btn")){var s=o.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),r=s&&s[1]||!1;r&&(this.setStatus(r),this.close(!0))}t.hasClass(o,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(o,"cc-revoke")&&this.revokeChoice()}function p(e){var i=t.hash(JSON.stringify(e)),n="cc-color-override-"+i,o=t.isPlainObject(e);return this.customStyleSelector=o?n:null,o&&d(i,e,"."+n),o}function d(i,n,o){if(e.customStyles[i])return void++e.customStyles[i].references;var s={},r=n.popup,a=n.button,c=n.highlight;r&&(r.text=r.text?r.text:t.getContrast(r.background),r.link=r.link?r.link:r.text,s[o+".cc-window"]=["color: "+r.text,"background-color: "+r.background],s[o+".cc-revoke"]=["color: "+r.text,"background-color: "+r.background],s[o+" .cc-link,"+o+" .cc-link:active,"+o+" .cc-link:visited"]=["color: "+r.link],a&&(a.text=a.text?a.text:t.getContrast(a.background),a.border=a.border?a.border:"transparent",s[o+" .cc-btn"]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background],a.padding&&s[o+" .cc-btn"].push("padding: "+a.padding),"transparent"!=a.background&&(s[o+" .cc-btn:hover, "+o+" .cc-btn:focus"]=["background-color: "+(a.hover||v(a.background))]),c?(c.text=c.text?c.text:t.getContrast(c.background),c.border=c.border?c.border:"transparent",s[o+" .cc-highlight .cc-btn:first-child"]=["color: "+c.text,"border-color: "+c.border,"background-color: "+c.background]):s[o+" .cc-highlight .cc-btn:first-child"]=["color: "+r.text]));var l=document.createElement("style");document.head.appendChild(l),e.customStyles[i]={references:1,element:l.sheet};var u=-1;for(var h in s)s.hasOwnProperty(h)&&l.sheet.insertRule(h+"{"+s[h].join(";")+"}",++u)}function v(e){return e=t.normaliseHex(e),"000000"==e?"#222":t.getLuminance(e)}function f(i){if(t.isPlainObject(i)){var n=t.hash(JSON.stringify(i)),o=e.customStyles[n];if(o&&!--o.references){var s=o.element.ownerNode;s&&s.parentNode&&s.parentNode.removeChild(s),e.customStyles[n]=null}}}function m(e,t){for(var i=0,n=e.length;i<n;++i){var o=e[i];if(o instanceof RegExp&&o.test(t)||"string"==typeof o&&o.length&&o===t)return!0}return!1}function b(){var i=this.setStatus.bind(this),n=this.close.bind(this),o=this.options.dismissOnTimeout;"number"==typeof o&&o>=0&&(this.dismissTimeout=window.setTimeout(function(){i(e.status.dismiss),n(!0)},Math.floor(o)));var s=this.options.dismissOnScroll;if("number"==typeof s&&s>=0){var r=function(t){window.pageYOffset>Math.floor(s)&&(i(e.status.dismiss),n(!0),window.removeEventListener("scroll",r),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=r,window.addEventListener("scroll",r))}var a=this.options.dismissOnWindowClick,c=this.options.ignoreClicksFrom;if(a){var l=function(o){for(var s=!1,r=o.path.length,a=c.length,u=0;u<r;u++)if(!s)for(var h=0;h<a;h++)s||(s=t.hasClass(o.path[u],c[h]));s||(i(e.status.dismiss),n(!0),window.removeEventListener("click",l),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=l,window.addEventListener("click",l))}}function g(){if("info"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var e=a.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var i=this.options.revokeBtn.replace("{{classes}}",e.join(" ")).replace("{{policy}}",this.options.content.policy);this.revokeBtn=u.call(this,i);var n=this.revokeBtn;if(this.options.animateRevokable){var o=t.throttle(function(e){var i=!1,o=20,s=window.innerHeight-20;t.hasClass(n,"cc-top")&&e.clientY<o&&(i=!0),t.hasClass(n,"cc-bottom")&&e.clientY>s&&(i=!0),i?t.hasClass(n,"cc-active")||t.addClass(n,"cc-active"):t.hasClass(n,"cc-active")&&t.removeClass(n,"cc-active")},200);this.onMouseMove=o,window.addEventListener("mousemove",o)}}}var y={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://cookiesandyou.com",close:"&#x274c;",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}</span>&nbsp;',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role=button tabindex="0"  class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}"><!--googleoff: all-->{{children}}<!--googleon: all--></div>',revokeBtn:'<div class="cc-revoke {{classes}}">{{policy}}</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block","static":!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return n.prototype.initialise=function(e){this.options&&this.destroy(),t.deepExtend(this.options={},y),t.isPlainObject(e)&&t.deepExtend(this.options,e),r.call(this)&&(this.options.enabled=!1),m(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),m(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var i=this.options.window.replace("{{classes}}",c.call(this).join(" ")).replace("{{children}}",l.call(this)),n=this.options.overrideHTML;if("string"==typeof n&&n.length&&(i=n),this.options["static"]){var o=u.call(this,'<div class="cc-grower">'+i+"</div>");o.style.display="",this.element=o.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=u.call(this,i);b.call(this),g.call(this),this.options.autoOpen&&this.autoOpen()},n.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,f(this.options.palette),this.options=null},n.prototype.open=function(t){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},n.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},n.prototype.fadeIn=function(){var i=this.element;if(e.hasTransition&&i&&(this.afterTransition&&s.call(this,i),t.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options["static"]){var n=this.element.clientHeight;this.element.parentNode.style.maxHeight=n+"px"}var r=20;this.openingTimeout=setTimeout(o.bind(this,i),r)}},n.prototype.fadeOut=function(){var i=this.element;e.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,i)),t.hasClass(i,"cc-invisible")||(this.options["static"]&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=s.bind(this,i),i.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(i,"cc-invisible")))},n.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},n.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},n.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},n.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},n.prototype.hasConsented=function(t){var i=this.getStatus();return i==e.status.allow||i==e.status.dismiss},n.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},n.prototype.setStatus=function(i){var n=this.options.cookie,o=t.getCookie(n.name),s=Object.keys(e.status).indexOf(o)>=0;Object.keys(e.status).indexOf(i)>=0?(t.setCookie(n.name,i,n.expiryDays,n.domain,n.path,n.secure),this.options.onStatusChange.call(this,i,s)):this.clearStatus()},n.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},n.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},n}(),e.Location=function(){function e(e){t.deepExtend(this.options={},s),t.isPlainObject(e)&&t.deepExtend(this.options,e),this.currentServiceIndex=-1}function i(e,t,i){var n,o=document.createElement("script");o.type="text/"+(e.type||"javascript"),o.src=e.src||e,o.async=!1,o.onreadystatechange=o.onload=function(){var e=o.readyState;clearTimeout(n),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),n=setTimeout(function(){t.done=!0,t(),o.onreadystatechange=o.onload=null},i)}function n(e,t,i,n,o){var s=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(s.open(n?"POST":"GET",e,1),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(o))for(var r=0,a=o.length;r<a;++r){var c=o[r].split(":",2);s.setRequestHeader(c[0].replace(/^\s+|\s+$/g,""),c[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(s.onreadystatechange=function(){s.readyState>3&&t(s)}),s.send(n)}function o(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}var s={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var i=JSON.parse(t);return i.error?o(i):{code:i.country}}catch(n){return o({error:"Invalid response ("+n+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var i=JSON.parse(t);return"ERROR"==i.statusCode?o({error:i.statusMessage}):{code:i.countryCode}}catch(n){return o({error:"Invalid response ("+n+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){return window.geoip2?void geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(i){e(o(i))}},function(t){e(o(t))}):void e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return e.prototype.getNextService=function(){var e;do e=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex<this.options.services.length&&!e);return e},e.prototype.getServiceByIdx=function(e){var i=this.options.services[e];if("function"==typeof i){var n=i();return n.name&&t.deepExtend(n,this.options.serviceDefinitions[n.name](n)),n}return"string"==typeof i?this.options.serviceDefinitions[i]():t.isPlainObject(i)?this.options.serviceDefinitions[i.name](i):null},e.prototype.locate=function(e,t){var i=this.getNextService();return i?(this.callbackComplete=e,this.callbackError=t,void this.runService(i,this.runNextServiceOnError.bind(this))):void t(new Error("No services to run"))},e.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(i,n){if("callback"===n){var o="callback"+Date.now();return window[o]=function(t){e.__JSONP_DATA=JSON.stringify(t)},o}if(n in t.interpolateUrl)return t.interpolateUrl[n]})},e.prototype.runService=function(e,t){var o=this;if(e&&e.url&&e.callback){var s=e.isScript?i:n,r=this.setupUrl(e);s(r,function(i){var n=i?i.responseText:"";e.__JSONP_DATA&&(n=e.__JSONP_DATA,delete e.__JSONP_DATA),o.runServiceCallback.call(o,t,e,n)},this.options.timeout,e.data,e.headers)}},e.prototype.runServiceCallback=function(e,t,i){var n=this,o=function(t){s||n.onServiceResult.call(n,e,t)},s=t.callback(o,i);s&&this.onServiceResult.call(this,e,s)},e.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},e.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var i=this.getNextService();i?this.runService(i,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},e.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e():t.isPlainObject(e)?e:{}},e.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},e.prototype.logError=function(e){var t=this.currentServiceIndex,i=this.getServiceByIdx(t);console.warn("The service["+t+"] ("+i.url+") responded with the following error",e)},e}(),e.Law=function(){function e(e){this.initialise.apply(this,arguments)}var i={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","ES","SE","GB","UK","GR","EU"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return e.prototype.initialise=function(e){t.deepExtend(this.options={},i),t.isPlainObject(e)&&t.deepExtend(this.options,e)},e.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},e.prototype.applyLaw=function(e,t){var i=this.get(t);return i.hasLaw||(e.enabled=!1,"function"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,i)),this.options.regionalLaw&&(i.revokable&&(e.revokable=!0),i.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},e}(),e.initialise=function(i,n,o){var s=new e.Law(i.law);n||(n=function(){}),o||(o=function(){});var r=Object.keys(e.status),a=t.getCookie("cookieconsent_status"),c=r.indexOf(a)>=0;return c?void n(new e.Popup(i)):void e.getCountryCode(i,function(t){delete i.law,delete i.location,t.code&&(i=s.applyLaw(i,t.code)),n(new e.Popup(i))},function(t){delete i.law,delete i.location,o(t,new e.Popup(i))})},e.getCountryCode=function(t,i,n){if(t.law&&t.law.countryCode)return void i({code:t.law.countryCode});if(t.location){var o=new e.Location(t.location);return void o.locate(function(e){i(e||{})},n)}i({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{});
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var Skeleton = function () {

	var app = {
		start: function start() {

			this.SwitchCountry();
			this.Newsletter();
			this.Announcement();
			this.LogIn();
			this.MainNavigation();
			this.EqualizeBlock();
			this.Carousel();
			this.Masonry();
			this.Video();
			this.Umbrella();
			this.Animations();
			this.PaddedColumnsEqualize();
			this.CountryDetector();
			//this.LoginDropdown();
			this.CustomList();
			this.HeaderNew();
		},
		Animations: function Animations() {},
		CountryDetector: function CountryDetector() {
			var countryDetector = $(".country__detection");
			countryDetector.find(".close").on("click", function () {
				countryDetector.slideUp();
				countryDetector.removeClass("active");
			});
		},
		Announcement: function Announcement() {
			$(window).on("load", function () {
				var $announcement = $(".announcement__modal");
				if ($announcement.length > 0) {

					if ($announcement.hasClass("active")) {
						$(document).click(function (event) {
							if (!$(event.target).closest(".announcement__modal--inner").length) {
								$announcement.removeClass("active");
								$("body").removeClass("overflow__hidden");
							}
						});
					}

					$announcement.addClass("active");
					$("html, body").animate({ scrollTop: 0 }, "slow");
					$("body").addClass("overflow__hidden");

					$announcement.find(".button__no--bg").on("click", function () {
						$announcement.removeClass("active");
						$("body").removeClass("overflow__hidden");
					});
				}
			});
		},
		CustomList: function CustomList() {
			$(".list__color").parent().css("list-style-type", "none");
		},
		HeaderNew: function HeaderNew() {
			if ($('.mdc-menu-0').length) {
				menuButton(new mdc.menu.MDCMenu($('.mdc-menu-0')[0]), $('.menu-button-0'));
			}
			if ($('.mdc-menu-1').length) {
				menuButton(new mdc.menu.MDCMenu($('.mdc-menu-1')[0]), $('.menu-button-1'));
			}
			if ($('.mdc-menu-lang-top').length) {
				menuButton(new mdc.menu.MDCMenu($('.mdc-menu-lang-top')[0]), $('.menu-button-lang-top'));
			}
			if ($('.mdc-menu-lang-bottom').length) {
				menuButton(new mdc.menu.MDCMenu($('.mdc-menu-lang-bottom')[0]), $('.menu-button-lang-bottom'));
			}
			if ($('.mdc-menu-login').length) {
				menuButton(new mdc.menu.MDCMenu($('.mdc-menu-login')[0]), $('.login__button--new'));
			}

			function menuButton(menu, menuButton) {
				menuButton.off().on("click", function () {
					var parent = $(this).parent();

					if (parent.hasClass("active")) {
						parent.removeClass("active");
						menu.open = false;
					} else {
						$(".mdc-menu-list-item.active").removeClass("active");
						$(".mdc-menu-surface--anchor.active").removeClass("active");
						parent.addClass("active");
						menu.open = true;
					}
				});
			}
			$(document).on("click", function (event) {
				if (!$(event.target).is(".menu-button")) {
					$(".mdc-menu-list-item.active").removeClass("active");
					$(".mdc-menu-surface--anchor.active").removeClass("active");
				}
			});

			//tablet/mobile left drawer
			if ($('.menu__drawer').length) {
				var drawerMenu = new mdc.drawer.MDCDrawer(document.querySelector('.menu__drawer'));
				var button = document.querySelector('.menu__toggle--button');
				var buttonClose = document.querySelector('.menu__close--button');
				button.addEventListener('click', function () {
					drawerMenu.open = true;
					if ($(window).width() < 768) {
						button.classList.add("hidden");
						buttonClose.classList.remove("hidden");
					}
					$("body").addClass("overflow__hidden");
				});
				buttonClose.addEventListener('click', function () {
					drawerMenu.open = false;
					if ($(window).width() < 768) {
						button.classList.remove("hidden");
						buttonClose.classList.add("hidden");
					}
					$("body").removeClass("overflow__hidden");
				});
				$(".mdc-drawer-scrim").off().on("click", function () {
					$("body").removeClass("overflow__hidden");
				});
				//menu toggle for mobile
				$('.menu__drawer .has__sublinks span.menu-button').off().on("click", function () {
					$(this).next(".has__sublinks--content").slideToggle();
				});
			}

			$(".switch__country--button").off().on("click", function () {
				$(this).next(".switch__country").slideToggle();
				$(this).next(".switch__country").toggleClass("active");
				$(".header__new").css("z-index", "8");
			});
			$(".switch__country--close").off().on("click", function () {
				$(this).parent(".switch__country").removeClass("active");
				$(this).parent(".switch__country").slideToggle();
				$(".header__new").css("z-index", "9");
			});

			//add fixed class on scroll
			scrollPosition($(window).scrollTop());
			$(window).scroll(function () {
				scrollPosition($(window).scrollTop());
			});

			function scrollPosition(scroll) {
				if (scroll >= 5) {
					$(".header__new").addClass("menu__fixed");
				} else {
					$(".header__new").removeClass("menu__fixed");
				}
			}

			//footer accordion for mobile
			$(window).resize(function () {
				if ($(window).width() < 768) {
					footerAccordion();
				}
			});

			if ($(window).width() < 768) {
				footerAccordion();
			}

			function footerAccordion() {
				$(".footer__accordion--title").off().on("click", function () {
					$(this).next(".footer__accordion--content").slideToggle();
				});
			}

			//anchor links
			$('.anchor__list a[href*=\\#]').on('click', function (event) {
				event.preventDefault();
				$('html,body').animate({ scrollTop: parseInt($(this.hash).offset().top - 100) }, 1500);
			});
			function scrollOnPageLoad() {
				// to top right away
				if (window.location.hash) scroll(0, 0);
				// void some browsers issue
				setTimeout(scroll(0, 0), 1);
				var hashLink = window.location.hash;
				if ($(hashLink).length) {
					$(function () {
						// *only* if we have anchor on the url
						// smooth scroll to the anchor id
						$('html, body').animate({
							scrollTop: $(window.location.hash).offset().top - 100
						}, 1500);
					});
				}
			}

			scrollOnPageLoad();
		},
		SwitchCountry: function SwitchCountry() {
			var switchcountryToggle = $(".switchcountry__button");
			switchcountryToggle.off().on("click", function () {

				if ($(".hidden__menu").hasClass("active")) {
					$(".hidden__menu").removeClass("active");
					$(".switchcountry__modal").addClass("active");
				} else {
					$("html, body").animate({ scrollTop: 0 }, "slow");
					$(".menu__button").addClass("active");
					$(".menu").addClass("active__class");
					$(".logo__wrap").addClass("active");
					$(".switchcountry__modal").addClass("active");
					$(".menu__toggle").addClass("active");
					$(".login__button").addClass("active");
					$("body").addClass("overflow__hidden");
					$(".country__detection").hide();
				}
			});
			var switchCountryCookie = $(".switchcountry__content div[data-ck-name]").attr("data-ck-name");
			if (switchCountryCookie) {
				var switchCountryLinks = $(".switchcountry__content a[data-ck-value]");
				switchCountryLinks.on("click", function () {
					Skeleton.app.SetCookie(switchCountryCookie, $(this).data("ckValue"), 360);
				});
			}

			//new-look has dropdown of countries in the top
			var switchCountryCookieNew = $(".switch__country ul[data-ck-name]").attr("data-ck-name");
			if (switchCountryCookieNew) {
				var switchCountryLinksNew = $(".switch__country a[data-ck-value]");
				switchCountryLinksNew.on("click", function () {
					Skeleton.app.SetCookie(switchCountryCookieNew, $(this).data("ckValue"), 360);
				});
			}
		},
		Newsletter: function Newsletter() {
			var newsletterToggle = $(".newsletter__button");
			newsletterToggle.off().on("click", function () {
				$("html, body").animate({ scrollTop: 0 }, "slow");
				$(".login__button").addClass("black__link");
				$(".menu__button").addClass("black__link");
				$(".menu__button").toggleClass("active");
				$(".menu").toggleClass("active__class");
				$(".logo__wrap").toggleClass("active");
				$(".newsletter__modal").toggleClass("active");
				$(".menu__toggle").toggleClass("active");
				$(".login__button").toggleClass("active");
				$("body").addClass("overflow__hidden");
			});
			var newsletterForms = $("form.newsletter__form");
			newsletterForms.on("submit", function (e) {
				e.preventDefault();
				e.stopImmediatePropagation();
				var $form = $(this);
				var pId = $form.data("ref1");
				var fId = $form.data("ref2");
				var email = $form.find("input[type='email']").val();
				if (pId !== "" && fId !== "" && email !== "") {
					var postUrl = "https://api.hsforms.com/submissions/v3/integration/submit/" + pId + "/" + fId;
					var xhr = new XMLHttpRequest();
					var data = {
						"fields": [{ "name": "email", "value": email }],
						"context": {
							//"hutk": ':hutk', // include this parameter and set it to the hubspotutk cookie value to enable cookie tracking on your submission
							"pageUri": window.location.href,
							"pageName": document.title
						}
					};
					var finalData = JSON.stringify(data);
					xhr.open('POST', postUrl);
					xhr.setRequestHeader('Content-type', 'application/json');
					xhr.onreadystatechange = function () {
						if (xhr.readyState === 4 && xhr.status === 200) {
							// Returns a 200 response if the submission is successful.
						} else {
								// Returns a 400 error the submission is rejected.
								// Returns a 403 error if the portal isn't allowed to post submissions.
								// Returns a 404 error if the formGuid isn't found
								// Returns a 404 error if the formGuid isn't found
								// TODO - any more client-side error reporting required?
								//console.log(xhr.status + ": " + xhr.responseText);     
							}
					};
					xhr.send(finalData);
					var $newsletterContainer = $form.closest(".newsletter__container");
					// store height so can reset after changing contents so white space doesn't change
					var newsletterContainerW = $newsletterContainer.width();
					var newsletterContainerH = $newsletterContainer.height();
					$newsletterContainer.find(".newsletter__submitted").show();
					$form.hide();
					$newsletterContainer.width(newsletterContainerW).height(newsletterContainerH);
				}
			});
		},
		LogIn: function LogIn() {
			var loginToggle = $(".login__button");
			loginToggle.off().on("click", function () {
				if ($(".switchcountry__modal").hasClass("active")) {
					$(".switchcountry__modal").removeClass("active");
					$(".login__modal").addClass("active");
				} else if ($(".newsletter__modal").hasClass("active")) {
					$(".newsletter__modal").removeClass("active");
					$(".login__modal").addClass("active");
					$(".login__button").removeClass("black__link");
					$(".menu__button").removeClass("black__link");
				} else {
					$("html, body").animate({ scrollTop: 0 }, "slow");
					$(".menu__button").addClass("active");
					$(".menu").addClass("active__class");
					$(".logo__wrap").addClass("active");
					$(".login__modal").addClass("active");
					$(".menu__toggle").addClass("active");
					$("body").addClass("overflow__hidden");
				}
				if ($(".country__detection").hasClass("active")) {
					$(".country__detection").addClass("active__country--detection");
				}
			});

			$(".login__product").off().on("click", function () {
				$(this).addClass("active");
			});
		},
		MainNavigation: function MainNavigation() {
			var menuToggle = $(".menu__toggle");
			menuToggle.off().on("click", function () {
				if ($(this).hasClass("active")) {
					$(this).removeClass("active");
					$(".login__button").removeClass("black__link");
					$(".menu__button").removeClass("black__link");
					$(".hidden__menu").removeClass("active");
					$(".logo__wrap").removeClass("active");
					$(".login__button").removeClass("active");
					$(".menu__button").removeClass("active");
					$(".menu").removeClass("active__class");
					$(".switchcountry__modal").removeClass("active");
					$(".login__modal").removeClass("active");
					$(".newsletter__modal").removeClass("active");
					$(".hidden__menu").removeClass("active");
					$("body").removeClass("overflow__hidden");
					if ($(".country__detection").hasClass("active__country--detection")) {
						$(".country__detection").removeClass("active__country--detection");
					}
				} else {
					$(this).addClass("active");
					$(".hidden__menu").addClass("active");
					$(".logo__wrap").addClass("active");
					$(".login__button").addClass("active");
					$(".menu__button").addClass("active");
					$(".menu").addClass("active__class");
					$(".hidden__menu").addClass("active");
					$("body").addClass("overflow__hidden");
					if ($(".country__detection").hasClass("active")) {
						$(".country__detection").addClass("active__country--detection");
					}
				}
			});
		},
		EqualizeBlock: function EqualizeBlock() {
			function equalHeight(sel) {
				var els = Array.prototype.slice.call(document.querySelectorAll(sel));
				var row = [];
				var max;
				var top;

				function setHeights() {
					row.forEach(function (e) {
						e.style.height = max + 'px';
					});
				}

				for (var i = 0; i < els.length; i++) {
					var el = els[i];
					el.style.height = 'auto';
					if (el.offsetTop !== top) {
						// new row detected
						setHeights();
						top = el.offsetTop;
						max = 0;
						row = [];
					}
					row.push(el);
					max = Math.max(max, el.offsetHeight);
				}
				setHeights(); // last row
			};

			$(document).ready(function () {
				equalHeight(".equalize__block");
				equalHeight(".block__bordered--full .col-s-4");
				equalHeight(".product__block");
				equalHeight(".padded__columns .col-s-5 .grid__rte");
			});
			$(window).resize(function () {
				$(document).ready(function () {
					equalHeight(".equalize__block");
					equalHeight(".block__bordered--full .col-s-4");
					equalHeight(".product__block");
					equalHeight(".padded__columns .col-s-5 .grid__rte");
				});
			});
		},
		PaddedColumnsEqualize: function PaddedColumnsEqualize() {
			function paddedColumns() {
				if ($(".padded__columns").length > 0) {
					var titleHeight = parseInt($(".padded__columns").find("h3").height()) + 15;
					//console.log(titleHeight);
					$(".padded__columns").find(".grid__image").css("height", titleHeight + "px");
				}
			}

			paddedColumns();
			$(window).resize(function () {
				paddedColumns();
			});
		},
		Carousel: function Carousel() {
			$('.slide__carousel').not('.slick-initialized').slick({
				centerMode: true,
				infinite: true,
				variableWidth: true,
				focusOnSelect: true,
				slidesToShow: 1,
				responsive: [{
					breakpoint: 767,
					settings: {
						dotsClass: 'slide-dots',
						dots: true
					}
				}]
			});
			$('.quotes__carousel').not('.slick-initialized').slick({
				centerMode: true,
				infinite: true,
				variableWidth: true,
				focusOnSelect: true,
				slidesToShow: 1
			});
		},
		Masonry: function Masonry() {
			if ($('.contact__grid').length > 0) {
				$('.contact__grid').masonry({
					itemSelector: '.contact__item',
					gutter: 20,
					isFitWidth: true
				});
			}
		},
		Video: function Video() {
			$(".grid__video h3").on("click", function () {
				$(this).parent(".image__wrap").hide();
				$('.grid__video').find("iframe").show();
				onEnded();
			});

			if ($("body").hasClass("homepage") && $(".grid__video").length > 0) {
				$(".image__wrap").hide();
				onEndedHomepage();
			}

			function onEndedHomepage() {
				var iframe = document.querySelector('iframe');
				var player = new Vimeo.Player(iframe);
				$("iframe")[0].src += "&mute=1&background=1&autoplay=1&loop=1&byline=0&title=0";
				player.play();
			}

			function onEnded() {
				var iframe = document.querySelector('iframe');
				var player = new Vimeo.Player(iframe);
				player.play();
				player.on('ended', function () {
					//console.log("ended");
					$(".image__wrap").show();
				});
			}
		},
		Umbrella: function Umbrella() {
			if ($(".umbrella__animation").length > 0) {
				$(".umbrella__animation").closest(".base__padded--40px").prev(".base__padded--40px").addClass("timeline__padding--bottom");
			}
		},
		SetCookie: function SetCookie(ckName, ckVal, expiryDays) {
			var d = new Date();
			d.setTime(d.getTime() + expiryDays * 24 * 60 * 60 * 1000);
			var expires = "expires=" + d.toUTCString();
			document.cookie = ckName + "=" + ckVal + ";" + expires + ";path=/";
		},
		LoginDropdown: function LoginDropdown() {
			var loginDropdown = $("[data-login-dropdown]");
			var loginDropdownSelected = $("[data-login-dropdown] option:selected").val();

			//check the selected option and show the right block of content
			//console.log(loginDropdownSelected);
			if (loginDropdownSelected === "IMD") {
				$("[data-login-imd]").addClass("active");
			} else if (loginDropdownSelected === "HC") {
				$("[data-login-hc]").addClass("active");
			}

			//check the selected option on change of select dropdown and show the right block of content
			loginDropdown.on("change", function () {
				var loginDropdownValue = $(this).val();
				if (loginDropdownValue === "IMD") {
					$("[data-login-imd]").addClass("active");
					$("[data-login-hc]").removeClass("active");
				} else if (loginDropdownValue === "HC") {
					$("[data-login-hc]").addClass("active");
					$("[data-login-imd]").removeClass("active");
				}
			});
		}
	};

	return {
		app: app
	};
}();

$(function () {
	Skeleton.app.start();
	AOS.init();
});

/***/ })
/******/ ]);