!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.mdc=t():n.mdc=t()}(this,function(){function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return i[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return t={},n.m=i=[function(n,t){"use strict";function i(n){void 0===n&&(n={});this.adapter_=n}Object.defineProperty(t,"__esModule",{value:!0});var r=(Object.defineProperty(i,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),i.prototype.init=function(){},i.prototype.destroy=function(){},i);t.MDCFoundation=r;t.default=r},function(n,t,i){"use strict";function r(n,t){for(var r=[],i=2;i=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}}};Object.defineProperty(t,"__esModule",{value:!0});var e,l=i(0),u=i(6),s=(e=l.MDCFoundation,h(r,e),Object.defineProperty(r,"cssClasses",{get:function(){return u.cssClasses},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return u.strings},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return u.numbers},enumerable:!0,configurable:!0}),Object.defineProperty(r,"Corner",{get:function(){return u.Corner},enumerable:!0,configurable:!0}),Object.defineProperty(r,"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(){}}},enumerable:!0,configurable:!0}),r.prototype.init=function(){var n=r.cssClasses,t=n.ROOT,i=n.OPEN;if(!this.adapter_.hasClass(t))throw new Error(t+" class required in root element.");this.adapter_.hasClass(i)&&(this.isOpen_=!0)},r.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId_);clearTimeout(this.closeAnimationEndTimerId_);cancelAnimationFrame(this.animationRequestId_)},r.prototype.setAnchorCorner=function(n){this.anchorCorner_=n},r.prototype.setAnchorMargin=function(n){this.anchorMargin_.top=n.top||0;this.anchorMargin_.right=n.right||0;this.anchorMargin_.bottom=n.bottom||0;this.anchorMargin_.left=n.left||0},r.prototype.setIsHoisted=function(n){this.isHoistedElement_=n},r.prototype.setFixedPosition=function(n){this.isFixedPosition_=n},r.prototype.setAbsolutePosition=function(n,t){this.position_.x=this.isFinite_(n)?n:0;this.position_.y=this.isFinite_(t)?t:0},r.prototype.setQuickOpen=function(n){this.isQuickOpen_=n},r.prototype.isOpen=function(){return this.isOpen_},r.prototype.open=function(){var n=this;this.adapter_.saveFocus();this.isQuickOpen_||this.adapter_.addClass(r.cssClasses.ANIMATING_OPEN);this.animationRequestId_=requestAnimationFrame(function(){n.adapter_.addClass(r.cssClasses.OPEN);n.dimensions_=n.adapter_.getInnerDimensions();n.autoPosition_();n.isQuickOpen_?n.adapter_.notifyOpen():n.openAnimationEndTimerId_=setTimeout(function(){n.openAnimationEndTimerId_=0;n.adapter_.removeClass(r.cssClasses.ANIMATING_OPEN);n.adapter_.notifyOpen()},u.numbers.TRANSITION_OPEN_DURATION)});this.isOpen_=!0},r.prototype.close=function(n){var t=this;void 0===n&&(n=!1);this.isQuickOpen_||this.adapter_.addClass(r.cssClasses.ANIMATING_CLOSED);requestAnimationFrame(function(){t.adapter_.removeClass(r.cssClasses.OPEN);t.isQuickOpen_?t.adapter_.notifyClose():t.closeAnimationEndTimerId_=setTimeout(function(){t.closeAnimationEndTimerId_=0;t.adapter_.removeClass(r.cssClasses.ANIMATING_CLOSED);t.adapter_.notifyClose()},u.numbers.TRANSITION_CLOSE_DURATION)});this.isOpen_=!1;n||this.maybeRestoreFocus_()},r.prototype.handleBodyClick=function(n){var t=n.target;this.adapter_.isElementInContainer(t)||this.close()},r.prototype.handleKeydown=function(n){var t=n.keyCode;"Escape"!==n.key&&27!==t||this.close()},r.prototype.autoPosition_=function(){var t;this.measurements_=this.getAutoLayoutMeasurements_();var n=this.getOriginCorner_(),r=this.getMenuSurfaceMaxHeight_(n),f=this.hasBit_(n,u.CornerBit.BOTTOM)?"bottom":"top",i=this.hasBit_(n,u.CornerBit.RIGHT)?"right":"left",s=this.getHorizontalOriginOffset_(n),h=this.getVerticalOriginOffset_(n),e=this.measurements_,c=e.anchorSize,l=e.surfaceSize,o=((t={})[i]=s,t[f]=h,t);c.width/l.width>u.numbers.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(i="center");(this.isHoistedElement_||this.isFixedPosition_)&&this.adjustPositionForHoistedElement_(o);this.adapter_.setTransformOrigin(i+" "+f);this.adapter_.setPosition(o);this.adapter_.setMaxHeight(r?r+"px":"")},r.prototype.getAutoLayoutMeasurements_=function(){var n=this.adapter_.getAnchorDimensions(),i=this.adapter_.getBodyDimensions(),t=this.adapter_.getWindowDimensions(),r=this.adapter_.getWindowScroll();return{anchorSize:n=n||{top:this.position_.y,right:this.position_.x,bottom:this.position_.y,left:this.position_.x,width:0,height:0},bodySize:i,surfaceSize:this.dimensions_,viewportDistance:{top:n.top,right:t.width-n.right,bottom:t.height-n.bottom,left:n.left},viewportSize:t,windowScroll:r}},r.prototype.getOriginCorner_=function(){var t=u.Corner.TOP_LEFT,e=this.measurements_,n=e.viewportDistance,i=e.anchorSize,r=e.surfaceSize,c=this.hasBit_(this.anchorCorner_,u.CornerBit.BOTTOM),v=c?n.top+i.height+this.anchorMargin_.bottom:n.top+this.anchorMargin_.top,y=c?n.bottom-this.anchorMargin_.bottom:n.bottom+i.height-this.anchorMargin_.top,p=r.height-v,l=r.height-y;0this.topAppBarHeight_&&(this.currentAppBarOffsetTop_=-this.topAppBarHeight_),this.moveTopAppBar_())},r.prototype.handleWindowResize=function(){var n=this;this.resizeThrottleId_||(this.resizeThrottleId_=setTimeout(function(){n.resizeThrottleId_=0;n.throttledResizeHandler_()},e.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS));this.isCurrentlyBeingResized_=!0;this.resizeDebounceId_&&clearTimeout(this.resizeDebounceId_);this.resizeDebounceId_=setTimeout(function(){n.handleTargetScroll();n.isCurrentlyBeingResized_=!1;n.resizeDebounceId_=0},e.numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)},r.prototype.checkForUpdate_=function(){var i=-this.topAppBarHeight_,r=this.currentAppBarOffsetTop_<0,n=this.currentAppBarOffsetTop_>i,t=r&&n;if(t)this.wasDocked_=!1;else{if(!this.wasDocked_)return this.wasDocked_=!0;if(this.isDockedShowing_!==n)return this.isDockedShowing_=n,!0}return t},r.prototype.moveTopAppBar_=function(){if(this.checkForUpdate_()){var n=this.currentAppBarOffsetTop_;Math.abs(n)>=this.topAppBarHeight_&&(n=-e.numbers.MAX_TOP_APP_BAR_HEIGHT);this.adapter_.setStyle("top",n+"px")}},r.prototype.throttledResizeHandler_=function(){var n=this.adapter_.getTopAppBarHeight();this.topAppBarHeight_!==n&&(this.wasDocked_=!1,this.currentAppBarOffsetTop_-=this.topAppBarHeight_-n,this.topAppBarHeight_=n);this.handleTargetScroll()},r);t.MDCTopAppBarFoundation=o;t.default=o},function(n,t,i){"use strict";function r(n){return f.call(this,o({},r.defaultAdapter,n))||this}var u,h=this&&this.__extends||(u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)},function(n,t){function i(){this.constructor=n}u(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__assign||function(){return(o=Object.assign||function(n){for(var r,i,t=1,u=arguments.length;ti[0]&&e[1]n.offsetHeight};t.areTopsMisaligned=function(n){var t=new Set;return[].forEach.call(n,function(n){return t.add(n.offsetTop)}),1 label"}},function(n,t,i){"use strict";function r(n){var t=f.call(this,e({},r.defaultAdapter,n))||this;return t.resizeFrame_=0,t.resizeHandler_=t.alignCenter.bind(t),t}var u,s=this&&this.__extends||(u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)},function(n,t){function i(){this.constructor=n}u(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),e=this&&this.__assign||function(){return(e=Object.assign||function(n){for(var r,i,t=1,u=arguments.length;tthis.max_)throw new Error("Cannot set min to be greater than the slider's maximum value");this.min_=n;this.setValue_(this.value_,!1,!0);this.adapter_.setAttribute(u.strings.ARIA_VALUEMIN,String(this.min_));this.setupTrackMarker()},r.prototype.getStep=function(){return this.step_},r.prototype.setStep=function(n){if(n<0)throw new Error("Step cannot be set to a negative number");this.isDiscrete_&&("number"!=typeof n||n<1)&&(n=1);this.step_=n;this.setValue_(this.value_,!1,!0);this.setupTrackMarker()},r.prototype.isDisabled=function(){return this.disabled_},r.prototype.setDisabled=function(n){this.disabled_=n;this.toggleClass_(u.cssClasses.DISABLED,this.disabled_);this.disabled_?(this.savedTabIndex_=this.adapter_.getTabIndex(),this.adapter_.setAttribute(u.strings.ARIA_DISABLED,"true"),this.adapter_.removeAttribute("tabindex")):(this.adapter_.removeAttribute(u.strings.ARIA_DISABLED),isNaN(this.savedTabIndex_)||this.adapter_.setAttribute("tabindex",String(this.savedTabIndex_)))},r.prototype.handleDown_=function(n){var t=this;if(!this.disabled_){this.preventFocusState_=!0;this.setInTransit_(!this.handlingThumbTargetEvt_);this.handlingThumbTargetEvt_=!1;this.setActive_(!0);var i=function(n){t.handleMove_(n)},r=tt[n.type],u=function u(){t.handleUp_();t.adapter_.deregisterBodyInteractionHandler(r,i);k.forEach(function(n){return t.adapter_.deregisterBodyInteractionHandler(n,u)})};this.adapter_.registerBodyInteractionHandler(r,i);k.forEach(function(n){return t.adapter_.registerBodyInteractionHandler(n,u)});this.setValueFromEvt_(n)}},r.prototype.handleMove_=function(n){n.preventDefault();this.setValueFromEvt_(n)},r.prototype.handleUp_=function(){this.setActive_(!1);this.adapter_.notifyChange()},r.prototype.getPageX_=function(n){return n.targetTouches&&0 <\/span>',t.setAttribute(u,i),setTimeout(function(){n.setAttribute("aria-live",r);t.removeAttribute(u);t.textContent=i},f))}},function(n,t,i){"use strict";function r(n){var t=e.call(this,s({},r.defaultAdapter,n))||this;return t.isOpen_=!1,t.animationFrame_=0,t.animationTimer_=0,t.autoDismissTimer_=0,t.autoDismissTimeoutMs_=u.numbers.DEFAULT_AUTO_DISMISS_TIMEOUT_MS,t.closeOnEscape_=!0,t}var f,v=this&&this.__extends||(f=function(n,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)},function(n,t){function i(){this.constructor=n}f(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__assign||function(){return(s=Object.assign||function(n){for(var r,i,t=1,u=arguments.length;t=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}}};Object.defineProperty(t,"__esModule",{value:!0});var f=i(104),e=f.strings.AUTO_INIT_ATTR,o=f.strings.AUTO_INIT_STATE_ATTR,s=f.strings.INITIALIZED_STATE,r={},c=console.warn.bind(console);(t.mdcAutoInit=u).register=function(n,t,i){if(void 0===i&&(i=c),"function"!=typeof t)throw new Error("(mdc-auto-init) Invalid Constructor value: "+t+". Expected function.");var u=r[n];u&&i("(mdc-auto-init) Overriding registration for "+n+" with "+t+". Was: "+u);r[n]=t};u.deregister=function(n){delete r[n]};u.deregisterAll=function(){Object.keys(r).forEach(this.deregister,this)};t.default=u},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.strings={AUTO_INIT_ATTR:"data-mdc-auto-init",AUTO_INIT_STATE_ATTR:"data-mdc-auto-init-state",INITIALIZED_STATE:"initialized"}},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}Object.defineProperty(t,"__esModule",{value:!0});r(i(1));r(i(0))},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}Object.defineProperty(t,"__esModule",{value:!0});r(i(36));r(i(39));r(i(38))},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}Object.defineProperty(t,"__esModule",{value:!0});r(i(108));r(i(109))},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}Object.defineProperty(t,"__esModule",{value:!0});r(i(40));r(i(16));var u=i(15);t.chipCssClasses=u.cssClasses;t.chipStrings=u.strings},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}Object.defineProperty(t,"__esModule",{value:!0});r(i(110));r(i(41));var u=i(42);t.chipSetCssClasses=u.cssClasses;t.chipSetStrings=u.strings},function(n,t,i){"use strict";function r(){return null!==u&&u.apply(this,arguments)||this}var f,a=this&&this.__extends||(f=function(n,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)},function(n,t){function i(){this.constructor=n}f(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var u,v=i(1),y=i(40),p=i(16),o=i(41),e=p.MDCChipFoundation.strings,s=e.INTERACTION_EVENT,h=e.SELECTION_EVENT,c=e.REMOVAL_EVENT,w=o.MDCChipSetFoundation.strings.CHIP_SELECTOR,l=0,b=(u=v.MDCComponent,a(r,u),r.attachTo=function(n){return new r(n)},Object.defineProperty(r.prototype,"chips",{get:function(){return this.chips_.slice()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"selectedChipIds",{get:function(){return this.foundation_.getSelectedChipIds()},enumerable:!0,configurable:!0}),r.prototype.initialize=function(n){void 0===n&&(n=function(n){return new y.MDCChip(n)});this.chipFactory_=n;this.chips_=this.instantiateChips_(this.chipFactory_)},r.prototype.initialSyncWithDOM=function(){var n=this;this.chips_.forEach(function(t){t.id&&t.selected&&n.foundation_.select(t.id)});this.handleChipInteraction_=function(t){return n.foundation_.handleChipInteraction(t.detail.chipId)};this.handleChipSelection_=function(t){return n.foundation_.handleChipSelection(t.detail.chipId,t.detail.selected)};this.handleChipRemoval_=function(t){return n.foundation_.handleChipRemoval(t.detail.chipId)};this.listen(s,this.handleChipInteraction_);this.listen(h,this.handleChipSelection_);this.listen(c,this.handleChipRemoval_)},r.prototype.destroy=function(){this.chips_.forEach(function(n){n.destroy()});this.unlisten(s,this.handleChipInteraction_);this.unlisten(h,this.handleChipSelection_);this.unlisten(c,this.handleChipRemoval_);u.prototype.destroy.call(this)},r.prototype.addChip=function(n){n.id=n.id||"mdc-chip-"+ ++l;this.chips_.push(this.chipFactory_(n))},r.prototype.getDefaultFoundation=function(){var n=this,t={hasClass:function(t){return n.root_.classList.contains(t)},removeChip:function(t){var i=n.findChipIndex_(t);0<=i&&(n.chips_[i].destroy(),n.chips_.splice(i,1))},setSelected:function(t,i){var r=n.findChipIndex_(t);0<=r&&(n.chips_[r].selected=i)}};return new o.MDCChipSetFoundation(t)},r.prototype.instantiateChips_=function(n){return[].slice.call(this.root_.querySelectorAll(w)).map(function(t){return t.id=t.id||"mdc-chip-"+ ++l,n(t)})},r.prototype.findChipIndex_=function(n){for(var t=0;t=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}}},a=this&&this.__importStar||function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t};Object.defineProperty(t,"__esModule",{value:!0});var f,v=i(1),s=i(2),y=i(3),h=i(45),o=a(i(44)),r=h.MDCDialogFoundation.strings,p=(f=v.MDCComponent,c(u,f),Object.defineProperty(u.prototype,"isOpen",{get:function(){return this.foundation_.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"escapeKeyAction",{get:function(){return this.foundation_.getEscapeKeyAction()},set:function(n){this.foundation_.setEscapeKeyAction(n)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"scrimClickAction",{get:function(){return this.foundation_.getScrimClickAction()},set:function(n){this.foundation_.setScrimClickAction(n)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"autoStackButtons",{get:function(){return this.foundation_.getAutoStackButtons()},set:function(n){this.foundation_.setAutoStackButtons(n)},enumerable:!0,configurable:!0}),u.attachTo=function(n){return new u(n)},u.prototype.initialize=function(n){var u,f,e=this.root_.querySelector(r.CONTAINER_SELECTOR),i,t,o;if(!e)throw new Error("Dialog component requires a "+r.CONTAINER_SELECTOR+" container element");this.container_=e;this.content_=this.root_.querySelector(r.CONTENT_SELECTOR);this.buttons_=[].slice.call(this.root_.querySelectorAll(r.BUTTON_SELECTOR));this.defaultButton_=this.root_.querySelector("["+r.BUTTON_DEFAULT_ATTRIBUTE+"]");this.focusTrapFactory_=n;this.buttonRipples_=[];try{for(i=l(this.buttons_),t=i.next();!t.done;t=i.next())o=t.value,this.buttonRipples_.push(new y.MDCRipple(o))}catch(n){u={error:n}}finally{try{t&&!t.done&&(f=i.return)&&f.call(i)}finally{if(u)throw u.error;}}},u.prototype.initialSyncWithDOM=function(){var n=this,t;this.focusTrap_=o.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.handleLayout_=this.layout.bind(this);t=["resize","orientationchange"];this.handleOpening_=function(){t.forEach(function(t){return window.addEventListener(t,n.handleLayout_)});document.addEventListener("keydown",n.handleDocumentKeydown_)};this.handleClosing_=function(){t.forEach(function(t){return window.removeEventListener(t,n.handleLayout_)});document.removeEventListener("keydown",n.handleDocumentKeydown_)};this.listen("click",this.handleClick_);this.listen("keydown",this.handleKeydown_);this.listen(r.OPENING_EVENT,this.handleOpening_);this.listen(r.CLOSING_EVENT,this.handleClosing_)},u.prototype.destroy=function(){this.unlisten("click",this.handleClick_);this.unlisten("keydown",this.handleKeydown_);this.unlisten(r.OPENING_EVENT,this.handleOpening_);this.unlisten(r.CLOSING_EVENT,this.handleClosing_);this.handleClosing_();this.buttonRipples_.forEach(function(n){return n.destroy()});f.prototype.destroy.call(this)},u.prototype.layout=function(){this.foundation_.layout()},u.prototype.open=function(){this.foundation_.open()},u.prototype.close=function(n){void 0===n&&(n="");this.foundation_.close(n)},u.prototype.getDefaultFoundation=function(){var n=this,t={addBodyClass:function(n){return document.body.classList.add(n)},addClass:function(t){return n.root_.classList.add(t)},areButtonsStacked:function(){return o.areTopsMisaligned(n.buttons_)},clickDefaultButton:function(){return n.defaultButton_&&n.defaultButton_.click()},eventTargetMatches:function(n,t){return!!n&&s.matches(n,t)},getActionFromEvent:function(n){if(!n.target)return"";var t=s.closest(n.target,"["+r.ACTION_ATTRIBUTE+"]");return t&&t.getAttribute(r.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return n.getInitialFocusEl_()},hasClass:function(t){return n.root_.classList.contains(t)},isContentScrollable:function(){return o.isScrollable(n.content_)},notifyClosed:function(t){return n.emit(r.CLOSED_EVENT,t?{action:t}:{})},notifyClosing:function(t){return n.emit(r.CLOSING_EVENT,t?{action:t}:{})},notifyOpened:function(){return n.emit(r.OPENED_EVENT,{})},notifyOpening:function(){return n.emit(r.OPENING_EVENT,{})},releaseFocus:function(){return n.focusTrap_.deactivate()},removeBodyClass:function(n){return document.body.classList.remove(n)},removeClass:function(t){return n.root_.classList.remove(t)},reverseButtons:function(){n.buttons_.reverse();n.buttons_.forEach(function(n){n.parentElement.appendChild(n)})},trapFocus:function(){return n.focusTrap_.activate()}};return new h.MDCDialogFoundation(t)},u.prototype.getInitialFocusEl_=function(){return document.querySelector("["+r.INITIAL_FOCUS_ATTRIBUTE+"]")},u);t.MDCDialog=p},function(n,t,i){"use strict";var r=this&&this.__importStar||function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t},u,f;Object.defineProperty(t,"__esModule",{value:!0});u=r(i(5));t.events=u;f=r(i(2));t.ponyfill=f},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}var f=this&&this.__importStar||function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t},u;Object.defineProperty(t,"__esModule",{value:!0});u=f(i(47));t.util=u;r(i(122));r(i(49));r(i(20));r(i(50))},function(n){function r(n,r){r=r||{};var u,e,h,l=[],a=[],o=n.querySelectorAll(t);for(r.includeContainer&&i.call(n,t)&&(o=Array.prototype.slice.apply(o)).unshift(n),u=0;u=this.max?(this.max=t,this.min=n):(this.min=n,this.max=t);this.step=this.parseFloat_(this.root_.getAttribute(u.strings.STEP_DATA_ATTR),this.step);this.value=i;this.disabled=this.root_.hasAttribute(u.strings.ARIA_DISABLED)&&"false"!==this.root_.getAttribute(u.strings.ARIA_DISABLED);this.foundation_.setupTrackMarker()},r.prototype.layout=function(){this.foundation_.layout()},r.prototype.stepUp=function(n){void 0===n&&(n=this.step||1);this.value+=n},r.prototype.stepDown=function(n){void 0===n&&(n=this.step||1);this.value-=n},r.prototype.parseFloat_=function(n,t){var i=parseFloat(n);return"number"==typeof i&&isFinite(i)?i:t},r);t.MDCSlider=l},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}var f=this&&this.__importStar||function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t},u;Object.defineProperty(t,"__esModule",{value:!0});u=f(i(77));t.util=u;r(i(147));r(i(11));r(i(78))},function(n,t,i){"use strict";function r(){return null!==f&&f.apply(this,arguments)||this}var e,h=this&&this.__extends||(e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)},function(n,t){function i(){this.constructor=n}e(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),c=this&&this.__importStar||function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t.default=n,t};Object.defineProperty(t,"__esModule",{value:!0});var f,l=i(1),o=i(2),u=i(11),a=i(78),v=c(i(77)),y=u.strings.SURFACE_SELECTOR,p=u.strings.LABEL_SELECTOR,s=u.strings.ACTION_SELECTOR,w=u.strings.DISMISS_SELECTOR,b=u.strings.OPENING_EVENT,k=u.strings.OPENED_EVENT,d=u.strings.CLOSING_EVENT,g=u.strings.CLOSED_EVENT,nt=(f=l.MDCComponent,h(r,f),r.attachTo=function(n){return new r(n)},r.prototype.initialize=function(n){void 0===n&&(n=function(){return v.announce});this.announce_=n()},r.prototype.initialSyncWithDOM=function(){var n=this;this.surfaceEl_=this.root_.querySelector(y);this.labelEl_=this.root_.querySelector(p);this.actionEl_=this.root_.querySelector(s);this.handleKeyDown_=function(t){return n.foundation_.handleKeyDown(t)};this.handleSurfaceClick_=function(t){var i=t.target;n.isActionButton_(i)?n.foundation_.handleActionButtonClick(t):n.isActionIcon_(i)&&n.foundation_.handleActionIconClick(t)};this.registerKeyDownHandler_(this.handleKeyDown_);this.registerSurfaceClickHandler_(this.handleSurfaceClick_)},r.prototype.destroy=function(){f.prototype.destroy.call(this);this.deregisterKeyDownHandler_(this.handleKeyDown_);this.deregisterSurfaceClickHandler_(this.handleSurfaceClick_)},r.prototype.open=function(){this.foundation_.open()},r.prototype.close=function(n){void 0===n&&(n="");this.foundation_.close(n)},r.prototype.getDefaultFoundation=function(){var n=this,t={addClass:function(t){return n.root_.classList.add(t)},announce:function(){return n.announce_(n.labelEl_)},notifyClosed:function(t){return n.emit(g,t?{reason:t}:{})},notifyClosing:function(t){return n.emit(d,t?{reason:t}:{})},notifyOpened:function(){return n.emit(k,{})},notifyOpening:function(){return n.emit(b,{})},removeClass:function(t){return n.root_.classList.remove(t)}};return new a.MDCSnackbarFoundation(t)},Object.defineProperty(r.prototype,"timeoutMs",{get:function(){return this.foundation_.getTimeoutMs()},set:function(n){this.foundation_.setTimeoutMs(n)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"closeOnEscape",{get:function(){return this.foundation_.getCloseOnEscape()},set:function(n){this.foundation_.setCloseOnEscape(n)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isOpen",{get:function(){return this.foundation_.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"labelText",{get:function(){return this.labelEl_.textContent},set:function(n){this.labelEl_.textContent=n},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"actionButtonText",{get:function(){return this.actionEl_.textContent},set:function(n){this.actionEl_.textContent=n},enumerable:!0,configurable:!0}),r.prototype.registerKeyDownHandler_=function(n){this.listen("keydown",n)},r.prototype.deregisterKeyDownHandler_=function(n){this.unlisten("keydown",n)},r.prototype.registerSurfaceClickHandler_=function(n){this.surfaceEl_.addEventListener("click",n)},r.prototype.deregisterSurfaceClickHandler_=function(n){this.surfaceEl_.removeEventListener("click",n)},r.prototype.isActionButton_=function(n){return Boolean(o.closest(n,s))},r.prototype.isActionIcon_=function(n){return Boolean(o.closest(n,w))},r);t.MDCSnackbar=nt},function(n,t,i){"use strict";function r(n){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])}Object.defineProperty(t,"__esModule",{value:!0});r(i(149));r(i(80));r(i(79))},function(n,t,i){"use strict";function r(){var n=null!==u&&u.apply(this,arguments)||this;return n.ripple_=n.createRipple_(),n}var f,c=this&&this.__extends||(f=function(n,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)},function(n,t){function i(){this.constructor=n}f(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__assign||function(){return(o=Object.assign||function(n){for(var r,i,t=1,u=arguments.length;t