You are on page 1of 16

!function(t,e){"object"==typeof exports&&"object"==typeof module?

module.exports=e():"function"==typeof define&&define.amd?
define([],e):"object"==typeof exports?exports.textfield=e():(t.mdc=t.mdc||
{},t.mdc.textfield=e())}(this,function(){return i={},r.m=n={0:function(t,e,n){"use
strict";Object.defineProperty(e,"__esModule",{value:!0});var
i=(Object.defineProperty(r,"cssClasses",{get:function(){return{}},enumerable:!
0,configurable:!0}),Object.defineProperty(r,"strings",{get:function()
{return{}},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",
{get:function(){return{}},enumerable:!0,configurable:!
0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{}},enumerable:!
0,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},1:function(t,e,n){"use
strict";var i=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),a=[];try{for(;(void
0===e||0<e--)&&!(i=o.next()).done;)a.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 a},r=this&&this.__spread||function(){for(var
t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return
t};Object.defineProperty(e,"__esModule",{value:!0});var
o=n(0),a=(s.attachTo=function(t){return new s(t,new
o.MDCFoundation({}))},s.prototype.initialize=function(){for(var
t=[],e=0;e<arguments.length;e+
+)t[e]=arguments[e]},s.prototype.getDefaultFoundation=function(){throw new
Error("Subclasses must override getDefaultFoundation to return a properly
configured foundation class")},s.prototype.initialSyncWithDOM=function()
{},s.prototype.destroy=function()
{this.foundation_.destroy()},s.prototype.listen=function(t,e,n)
{this.root_.addEventListener(t,e,n)},s.prototype.unlisten=function(t,e,n)
{this.root_.removeEventListener(t,e,n)},s.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)},s);function s(t,e){for(var
n=[],i=2;i<arguments.length;i++)n[i-
2]=arguments[i];this.root_=t,this.initialize.apply(this,r(n)),this.foundation_=void
0===e?
this.getDefaultFoundation():e,this.foundation_.init(),this.initialSyncWithDOM()}e.M
DCComponent=a,e.default=a},100: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var
a,s=n(0),u=n(59),c=["mousedown","touchstart"],l=["click","keydown"],d=(a=s.MDCFound
ation,r(p,a),Object.defineProperty(p,"cssClasses",{get:function(){return
u.cssClasses},enumerable:!0,configurable:!0}),Object.defineProperty(p,"strings",
{get:function(){return u.strings},enumerable:!0,configurable:!
0}),Object.defineProperty(p,"numbers",{get:function(){return
u.numbers},enumerable:!0,configurable:!
0}),Object.defineProperty(p.prototype,"shouldAlwaysFloat_",{get:function(){var
t=this.getNativeInput_().type;return
0<=u.ALWAYS_FLOAT_TYPES.indexOf(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(p.prototype,"shouldFloat",{get:function(){return
this.shouldAlwaysFloat_||this.isFocused_||!!this.getValue()||
this.isBadInput_()},enumerable:!0,configurable:!
0}),Object.defineProperty(p.prototype,"shouldShake",{get:function(){return!
this.isFocused_&&!this.isValid()&&!!this.getValue()},enumerable:!0,configurable:!
0}),Object.defineProperty(p,"defaultAdapter",{get:function()
{return{addClass:function(){},removeClass:function(){},hasClass:function(){return!
0},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(){},hasLabel:function(){return!1},getLabelWidth:function()
{return 0},hasOutline:function(){return!1},notchOutline:function()
{},closeOutline:function(){}}},enumerable:!0,configurable:!
0}),p.prototype.init=function(){var e=this;this.adapter_.isFocused()?
this.inputFocusHandler_():this.adapter_.hasLabel()&&this.shouldFloat&&(this.notchOu
tline(!0),this.adapter_.floatLabel(!0),this.styleFloating_(!
0)),this.adapter_.registerInputInteractionHandler("focus",this.inputFocusHandler_),
this.adapter_.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.a
dapter_.registerInputInteractionHandler("input",this.inputInputHandler_),c.forEach(
function(t)
{e.adapter_.registerInputInteractionHandler(t,e.setPointerXOffset_)}),l.forEach(fun
ction(t)
{e.adapter_.registerTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)})
,this.validationObserver_=this.adapter_.registerValidationAttributeChangeHandler(th
is.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().len
gth)},p.prototype.destroy=function(){var
e=this;this.adapter_.deregisterInputInteractionHandler("focus",this.inputFocusHandl
er_),this.adapter_.deregisterInputInteractionHandler("blur",this.inputBlurHandler_)
,this.adapter_.deregisterInputInteractionHandler("input",this.inputInputHandler_),c
.forEach(function(t)
{e.adapter_.deregisterInputInteractionHandler(t,e.setPointerXOffset_)}),l.forEach(f
unction(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<u.VALIDATION_ATTR_WHITELIST.indexOf(t)&&(e.styleValidity_(!0),!0)}),-
1<t.indexOf("maxlength")&&this.setCharacterCounter_(this.getValue().length)},p.prot
otype.notchOutline=function(t){if(this.adapter_.hasOutline())if(t){var
e=this.adapter_.getLabelWidth()*u.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.adapt
er_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(this.
shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter_.shakeLabel(this.sh
ouldShake)),this.helperText_&&this.helperText_.showToScreenReader()},p.prototype.se
tTransformOrigin=function(t){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=funct
ion()
{this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},p.prot
otype.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.ad
apter_.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter_.floatLabel(th
is.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){this.getValue()!
==t&&(this.getNativeInput_().value=t),this.setCharacterCounter_(t.length);var
e=this.isValid();this.styleValidity_(e),this.adapter_.hasLabel()&&(this.notchOutlin
e(this.shouldFloat),this.adapter_.floatLabel(this.shouldFloat),this.styleFloating_(
this.shouldFloat),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.
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.setHelperTex
tContent=function(t)
{this.helperText_&&this.helperText_.setContent(t)},p.prototype.setLeadingIconAriaLa
bel=function(t)
{this.leadingIcon_&&this.leadingIcon_.setAriaLabel(t)},p.prototype.setLeadingIconCo
ntent=function(t)
{this.leadingIcon_&&this.leadingIcon_.setContent(t)},p.prototype.setTrailingIconAri
aLabel=function(t)
{this.trailingIcon_&&this.trailingIcon_.setAriaLabel(t)},p.prototype.setTrailingIco
nContent=function(t)
{this.trailingIcon_&&this.trailingIcon_.setContent(t)},p.prototype.setCharacterCoun
ter_=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_=f
unction(){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;t?
this.adapter_.removeClass(e):this.adapter_.addClass(e),this.helperText_&&this.helpe
rText_.setValidity(t)},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.tra
ilingIcon_.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,type:"input",validity:{badInput:!1,valid:!0},value:""}},p);function
p(t,e){void 0===e&&(e={});var n=a.call(this,o(o({},p.defaultAdapter),t))||
this;return n.isFocused_=!1,n.receivedUserInput_=!1,n.isValid_=!
0,n.useNativeValidation_=!
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},101
: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)e.hasOwnProperty(n)&&(t[n]=e[n])})
(t,e)},function(t,e){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});var
o,a=n(1),s=n(60),u=(o=a.MDCComponent,r(c,o),c.attachTo=function(t){return new
c(t)},Object.defineProperty(c.prototype,"foundation",{get:function(){return
this.foundation_},enumerable:!0,configurable:!
0}),c.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)},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 s.MDCTextFieldHelperTextFoundation(t)},c);function c(){return null!
==o&&o.apply(this,arguments)||this}e.MDCTextFieldHelperText=u},102:function(t,e,n)
{"use strict";Object.defineProperty(e,"__esModule",{value:!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},103: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var o,a=n(1),s=n(104),u=(o=a.MDCComponent,r(c,o),c.attachTo=function(t){return
new c(t)},Object.defineProperty(c.prototype,"foundation",{get:function(){return
this.foundation_},enumerable:!0,configurable:!
0}),c.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(s.MDCTextFieldIconFoundation.strings.ICON_EVENT,{},!0)}};return new
s.MDCTextFieldIconFoundation(t)},c);function c(){return null!
==o&&o.apply(this,arguments)||this}e.MDCTextFieldIcon=u},104: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)e.hasOwnProperty(n)&&(t[n]=e[n])})
(t,e)},function(t,e){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});var
a,s=n(0),u=n(105),c=["click","keydown"],l=(a=s.MDCFoundation,r(d,a),Object.definePr
operty(d,"strings",{get:function(){return u.strings},enumerable:!0,configurable:!
0}),Object.defineProperty(d,"cssClasses",{get:function(){return
u.cssClasses},enumerable:!0,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:!0,configurable:!0}),d.prototype.init=function(){var
e=this;this.savedTabIndex_=this.adapter_.getAttr("tabindex"),c.forEach(function(t)
{e.adapter_.registerInteractionHandler(t,e.interactionHandler_)})},d.prototype.dest
roy=function(){var e=this;c.forEach(function(t)
{e.adapter_.deregisterInteractionHandler(t,e.interactionHandler_)})},d.prototype.se
tDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter_.setAttr("tabindex","-
1"),this.adapter_.removeAttr("role")):
(this.adapter_.setAttr("tabindex",this.savedTabIndex_),this.adapter_.setAttr("role"
,u.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=a.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},105:function(
t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!
0});e.strings={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"};e.cssClasses={ROO
T:"mdc-text-field__icon"}},13: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var
a,s=n(0),u=n(16),c=(a=s.MDCFoundation,r(l,a),Object.defineProperty(l,"cssClasses",
{get:function(){return u.cssClasses},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"defaultAdapter",{get:function()
{return{addClass:function(){},removeClass:function(){},getWidth:function(){return
0},registerInteractionHandler:function(){},deregisterInteractionHandler:function()
{}}},enumerable:!0,configurable:!0}),l.prototype.init=function()
{this.adapter_.registerInteractionHandler("animationend",this.shakeAnimationEndHand
ler_)},l.prototype.destroy=function()
{this.adapter_.deregisterInteractionHandler("animationend",this.shakeAnimationEndHa
ndler_)},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.handleShak
eAnimationEnd_=function(){var
t=l.cssClasses.LABEL_SHAKE;this.adapter_.removeClass(t)},l);function l(t){var
e=a.call(this,o(o({},l.defaultAdapter),t))||this;return
e.shakeAnimationEndHandler_=function(){return
e.handleShakeAnimationEnd_()},e}e.MDCFloatingLabelFoundation=c,e.default=c},15:func
tion(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!
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"}},159:function(t,n,e)
{"use strict";function i(t){for(var e in t)n.hasOwnProperty(e)||
(n[e]=t[e])}Object.defineProperty(n,"__esModule",{value:!
0}),i(e(160)),i(e(59)),i(e(100)),i(e(161)),i(e(162)),i(e(163))},16:function(t,e,n)
{"use strict";Object.defineProperty(e,"__esModule",{value:!
0}),e.cssClasses={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-
above",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-
label"}},160: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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.__importStar||function(t)
{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in
t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return
e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var
s,u=n(1),c=n(4),l=a(n(2)),g=n(31),b=n(32),m=n(34),C=n(6),d=n(5),O=n(98),E=n(58),I=n
(59),p=n(100),A=n(101),T=n(60),L=n(103),f=(s=u.MDCComponent,r(_,s),_.attachTo=funct
ion(t){return new _(t)},_.prototype.initialize=function(t,e,n,i,r,o,a){void
0===t&&(t=function(t,e){return new C.MDCRipple(t,e)}),void 0===e&&(e=function(t)
{return new b.MDCLineRipple(t)}),void 0===n&&(n=function(t){return new
A.MDCTextFieldHelperText(t)}),void 0===i&&(i=function(t){return new
O.MDCTextFieldCharacterCounter(t)}),void 0===r&&(r=function(t){return new
L.MDCTextFieldIcon(t)}),void 0===o&&(o=function(t){return new
g.MDCFloatingLabel(t)}),void 0===a&&(a=function(t){return new
m.MDCNotchedOutline(t)}),this.input_=this.root_.querySelector(I.strings.INPUT_SELEC
TOR);var s=this.root_.querySelector(I.strings.LABEL_SELECTOR);this.label_=s?
o(s):null;var
u=this.root_.querySelector(I.strings.LINE_RIPPLE_SELECTOR);this.lineRipple_=u?
e(u):null;var
c=this.root_.querySelector(I.strings.OUTLINE_SELECTOR);this.outline_=c?
a(c):null;var
l=T.MDCTextFieldHelperTextFoundation.strings,d=this.root_.nextElementSibling,p=d&&d
.classList.contains(I.cssClasses.HELPER_LINE),f=p&&d&&d.querySelector(l.ROOT_SELECT
OR);this.helperText_=f?n(f):null;var
_=E.MDCTextFieldCharacterCounterFoundation.strings,h=this.root_.querySelector(_.ROO
T_SELECTOR);!
h&&p&&d&&(h=d.querySelector(_.ROOT_SELECTOR)),this.characterCounter_=h?
i(h):null;var
v=this.root_.querySelector(I.strings.LEADING_ICON_SELECTOR);this.leadingIcon_=v?
r(v):null;var
y=this.root_.querySelector(I.strings.TRAILING_ICON_SELECTOR);this.trailingIcon_=y?
r(y):null,this.prefix_=this.root_.querySelector(I.strings.PREFIX_SELECTOR),this.suf
fix_=this.root_.querySelector(I.strings.SUFFIX_SELECTOR),this.ripple=this.createRip
ple_(t)},_.prototype.destroy=function()
{this.ripple&&this.ripple.destroy(),this.lineRipple_&&this.lineRipple_.destroy(),th
is.helperText_&&this.helperText_.destroy(),this.characterCounter_&&this.characterCo
unter_.destroy(),this.leadingIcon_&&this.leadingIcon_.destroy(),this.trailingIcon_&
&this.trailingIcon_.destroy(),this.label_&&this.label_.destroy(),this.outline_&&thi
s.outline_.destroy(),s.prototype.destroy.call(this)},_.prototype.initialSyncWithDOM
=function()
{this.disabled=this.input_.disabled},Object.defineProperty(_.prototype,"value",
{get:function(){return this.foundation_.getValue()},set:function(t)
{this.foundation_.setValue(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"disabled",{get:function(){return
this.foundation_.isDisabled()},set:function(t)
{this.foundation_.setDisabled(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"valid",{get:function(){return
this.foundation_.isValid()},set:function(t)
{this.foundation_.setValid(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"required",{get:function(){return
this.input_.required},set:function(t){this.input_.required=t},enumerable:!
0,configurable:!0}),Object.defineProperty(_.prototype,"pattern",{get:function()
{return this.input_.pattern},set:function(t){this.input_.pattern=t},enumerable:!
0,configurable:!0}),Object.defineProperty(_.prototype,"minLength",{get:function()
{return this.input_.minLength},set:function(t)
{this.input_.minLength=t},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"maxLength",{get:function(){return
this.input_.maxLength},set:function(t){t<0?
this.input_.removeAttribute("maxLength"):this.input_.maxLength=t},enumerable:!
0,configurable:!0}),Object.defineProperty(_.prototype,"min",{get:function(){return
this.input_.min},set:function(t){this.input_.min=t},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"max",{get:function(){return
this.input_.max},set:function(t){this.input_.max=t},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"step",{get:function(){return
this.input_.step},set:function(t){this.input_.step=t},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"helperTextContent",{set:function(t)
{this.foundation_.setHelperTextContent(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"leadingIconAriaLabel",{set:function(t)
{this.foundation_.setLeadingIconAriaLabel(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"leadingIconContent",{set:function(t)
{this.foundation_.setLeadingIconContent(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"trailingIconAriaLabel",{set:function(t)
{this.foundation_.setTrailingIconAriaLabel(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"trailingIconContent",{set:function(t)
{this.foundation_.setTrailingIconContent(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"useNativeValidation",{set:function(t)
{this.foundation_.setUseNativeValidation(t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"prefixText",{get:function(){return
this.prefix_?this.prefix_.textContent:null},set:function(t)
{this.prefix_&&(this.prefix_.textContent=t)},enumerable:!0,configurable:!
0}),Object.defineProperty(_.prototype,"suffixText",{get:function(){return
this.suffix_?this.suffix_.textContent:null},set:function(t)
{this.suffix_&&(this.suffix_.textContent=t)},enumerable:!0,configurable:!
0}),_.prototype.focus=function(){this.input_.focus()},_.prototype.layout=function()
{var
t=this.foundation_.shouldFloat;this.foundation_.notchOutline(t)},_.prototype.getDef
aultFoundation=function(){var
t=o(o(o(o(o({},this.getRootAdapterMethods_()),this.getInputAdapterMethods_()),this.
getLabelAdapterMethods_()),this.getLineRippleAdapterMethods_()),this.getOutlineAdap
terMethods_());return new
p.MDCTextFieldFoundation(t,this.getFoundationMap_())},_.prototype.getRootAdapterMet
hods_=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)
{return n.listen(t,e)},deregisterTextFieldInteractionHandler:function(t,e){return
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){return
t.disconnect()}}},_.prototype.getInputAdapterMethods_=function(){var
n=this;return{getNativeInput:function(){return n.input_},isFocused:function()
{return
document.activeElement===n.input_},registerInputInteractionHandler:function(t,e)
{return
n.input_.addEventListener(t,e,c.applyPassive())},deregisterInputInteractionHandler:
function(t,e){return
n.input_.removeEventListener(t,e,c.applyPassive())}}},_.prototype.getLabelAdapterMe
thods_=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)}}},_.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)}}},_.prototype.getOutlineAdapterMe
thods_=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)}}},_.prototype.getFoundationMap_=function()
{return{characterCounter:this.characterCounter_?
this.characterCounter_.foundation:void 0,helperText:this.helperText_?
this.helperText_.foundation:void 0,leadingIcon:this.leadingIcon_?
this.leadingIcon_.foundation:void 0,trailingIcon:this.trailingIcon_?
this.trailingIcon_.foundation:void 0}},_.prototype.createRipple_=function(t){var
n=this,e=this.root_.classList.contains(I.cssClasses.TEXTAREA),i=this.root_.classLis
t.contains(I.cssClasses.OUTLINED);if(e||i)return null;var
r=o(o({},C.MDCRipple.createAdapter(this)),{isSurfaceActive:function(){return
l.matches(n.input_,":active")},registerInteractionHandler:function(t,e){return
n.input_.addEventListener(t,e,c.applyPassive())},deregisterInteractionHandler:funct
ion(t,e){return n.input_.removeEventListener(t,e,c.applyPassive())}});return
t(this.root_,new d.MDCRippleFoundation(r))},_);function _(){return null!
==s&&s.apply(this,arguments)||this}e.MDCTextField=f},161:function(t,n,e){"use
strict";function i(t){for(var e in t)n.hasOwnProperty(e)||
(n[e]=t[e])}Object.defineProperty(n,"__esModule",{value:!0}),i(e(98)),i(e(58));var
r=e(99);n.characterCountCssClasses=r.cssClasses,n.characterCountStrings=r.strings},
162:function(t,n,e){"use strict";function i(t){for(var e in t)n.hasOwnProperty(e)||
(n[e]=t[e])}Object.defineProperty(n,"__esModule",{value:!0}),i(e(101)),i(e(60));var
r=e(102);n.helperTextCssClasses=r.cssClasses,n.helperTextStrings=r.strings},163:fun
ction(t,n,e){"use strict";function i(t){for(var e in t)n.hasOwnProperty(e)||
(n[e]=t[e])}Object.defineProperty(n,"__esModule",{value:!
0}),i(e(103)),i(e(104));var
r=e(105);n.iconCssClasses=r.cssClasses,n.iconStrings=r.strings},2: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.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","tran
slate(-9999px, -9999px)"),document.documentElement.appendChild(n);var
i=n.scrollWidth;return
document.documentElement.removeChild(n),i}},21: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var
a,s=n(0),u=n(22),c=(a=s.MDCFoundation,r(l,a),Object.defineProperty(l,"cssClasses",
{get:function(){return u.cssClasses},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"defaultAdapter",{get:function()
{return{addClass:function(){},removeClass:function(){},hasClass:function(){return!
1},setStyle:function(){},registerEventHandler:function()
{},deregisterEventHandler:function(){}}},enumerable:!0,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(u.cssClasses.LINE_RIPPLE_DEACTIVATING),this.adapter_.add
Class(u.cssClasses.LINE_RIPPLE_ACTIVE)},l.prototype.setRippleCenter=function(t)
{this.adapter_.setStyle("transform-origin",t+"px
center")},l.prototype.deactivate=function()
{this.adapter_.addClass(u.cssClasses.LINE_RIPPLE_DEACTIVATING)},l.prototype.handleT
ransitionEnd=function(t){var
e=this.adapter_.hasClass(u.cssClasses.LINE_RIPPLE_DEACTIVATING);"opacity"===t.prope
rtyName&&e&&(this.adapter_.removeClass(u.cssClasses.LINE_RIPPLE_ACTIVE),this.adapte
r_.removeClass(u.cssClasses.LINE_RIPPLE_DEACTIVATING))},l);function l(t){var
e=a.call(this,o(o({},l.defaultAdapter),t))||this;return
e.transitionEndHandler_=function(t){return
e.handleTransitionEnd(t)},e}e.MDCLineRippleFoundation=c,e.default=c},22:function(t,
e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!
0});e.cssClasses={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--
active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--
deactivating"}},24: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var
a,s=n(0),u=n(15),c=(a=s.MDCFoundation,r(l,a),Object.defineProperty(l,"strings",
{get:function(){return u.strings},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"cssClasses",{get:function(){return
u.cssClasses},enumerable:!0,configurable:!0}),Object.defineProperty(l,"numbers",
{get:function(){return u.numbers},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"defaultAdapter",{get:function()
{return{addClass:function(){},removeClass:function()
{},setNotchWidthProperty:function(){},removeNotchWidthProperty:function()
{}}},enumerable:!0,configurable:!0}),l.prototype.notch=function(t){var
e=l.cssClasses.OUTLINE_NOTCHED;0<t&&(t+=u.numbers.NOTCH_ELEMENT_PADDING),this.adapt
er_.setNotchWidthProperty(t),this.adapter_.addClass(e)},l.prototype.closeNotch=func
tion(){var
t=l.cssClasses.OUTLINE_NOTCHED;this.adapter_.removeClass(t),this.adapter_.removeNot
chWidthProperty()},l);function l(t){return
a.call(this,o(o({},l.defaultAdapter),t))||
this}e.MDCNotchedOutlineFoundation=c,e.default=c},3:function(t,e,n){"use
strict";var a;Object.defineProperty(e,"__esModule",{value:!
0}),e.supportsCssVariables=function(t,e){void 0===e&&(e=!1);var
n,i=t.CSS;if("boolean"==typeof a&&!e)return a;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||
(a=n),n},e.getNormalizedEventCoords=function(t,e,n){if(!t)return{x:0,y:0};var
i,r,o=e.x,a=e.y,s=o+n.left,u=a+n.top;if("touchstart"===t.type){var
c=t;i=c.changedTouches[0].pageX-s,r=c.changedTouches[0].pageY-u}else{var
l=t;i=l.pageX-s,r=l.pageY-u}return{x:i,y:r}}},31: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var o,a=n(1),s=n(2),u=n(13),c=(o=a.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.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
s.estimateScrollWidth(n.root_)},registerInteractionHandler:function(t,e){return
n.listen(t,e)},deregisterInteractionHandler:function(t,e){return
n.unlisten(t,e)}};return new u.MDCFloatingLabelFoundation(t)},l);function l()
{return null!==o&&o.apply(this,arguments)||
this}e.MDCFloatingLabel=c},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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var o,a=n(1),s=n(21),u=(o=a.MDCComponent,r(c,o),c.attachTo=function(t){return
new c(t)},c.prototype.activate=function()
{this.foundation_.activate()},c.prototype.deactivate=function()
{this.foundation_.deactivate()},c.prototype.setRippleCenter=function(t)
{this.foundation_.setRippleCenter(t)},c.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 s.MDCLineRippleFoundation(t)},c);function c(){return null!
==o&&o.apply(this,arguments)||this}e.MDCLineRipple=u},34: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)e.hasOwnProperty(n)&&(t[n]=e[n])})
(t,e)},function(t,e){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});var
o,a=n(1),s=n(13),u=n(15),c=n(24),l=(o=a.MDCComponent,r(d,o),d.attachTo=function(t)
{return new d(t)},d.prototype.initialSyncWithDOM=function()
{this.notchElement_=this.root_.querySelector(u.strings.NOTCH_ELEMENT_SELECTOR);var
t=this.root_.querySelector("."+s.MDCFloatingLabelFoundation.cssClasses.ROOT);t?
(t.style.transitionDuration="0s",this.root_.classList.add(u.cssClasses.OUTLINE_UPGR
ADED),requestAnimationFrame(function()
{t.style.transitionDuration=""})):this.root_.classList.add(u.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:functio
n(){return e.notchElement_.style.removeProperty("width")}};return new
c.MDCNotchedOutlineFoundation(t)},d);function d(){return null!
==o&&o.apply(this,arguments)||this}e.MDCNotchedOutline=l},4:function(t,e,n){"use
strict";Object.defineProperty(e,"__esModule",{value:!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}}},5: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var

a,s=n(0),u=n(7),c=n(3),l=["touchstart","pointerdown","mousedown","keydown"],d=["tou
chend","pointerup","mouseup","contextmenu"],p=[],f=(a=s.MDCFoundation,r(_,a),Object
.defineProperty(_,"cssClasses",{get:function(){return u.cssClasses},enumerable:!
0,configurable:!0}),Object.defineProperty(_,"strings",{get:function(){return
u.strings},enumerable:!0,configurable:!0}),Object.defineProperty(_,"numbers",
{get:function(){return u.numbers},enumerable:!0,configurable:!
0}),Object.defineProperty(_,"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:functi
on(){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:!
0,configurable:!0}),_.prototype.init=function(){var
t=this,e=this.supportsPressRipple_();if(this.registerRootHandlers_(e),e){var
n=_.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function()
{t.adapter_.addClass(i),t.adapter_.isUnbounded()&&(t.adapter_.addClass(r),t.layoutI
nternal_())})}},_.prototype.destroy=function(){var
t=this;if(this.supportsPressRipple_())
{this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=
0,this.adapter_.removeClass(_.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemoval
Timer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalT
imer_=0,this.adapter_.removeClass(_.cssClasses.FG_DEACTIVATION));var
e=_.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame(function()
{t.adapter_.removeClass(n),t.adapter_.removeClass(i),t.removeCssVars_()})}this.dere
gisterRootHandlers_(),this.deregisterDeactivationHandlers_()},_.prototype.activate=
function(t){this.activate_(t)},_.prototype.deactivate=function()
{this.deactivate_()},_.prototype.layout=function(){var
t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_
=requestAnimationFrame(function()
{t.layoutInternal_(),t.layoutFrame_=0})},_.prototype.setUnbounded=function(t){var
e=_.cssClasses.UNBOUNDED;t?
this.adapter_.addClass(e):this.adapter_.removeClass(e)},_.prototype.handleFocus=fun
ction(){var t=this;requestAnimationFrame(function(){return
t.adapter_.addClass(_.cssClasses.BG_FOCUSED)})},_.prototype.handleBlur=function()
{var t=this;requestAnimationFrame(function(){return
t.adapter_.removeClass(_.cssClasses.BG_FOCUSED)})},_.prototype.supportsPressRipple_
=function(){return
this.adapter_.browserSupportsCssVars()},_.prototype.defaultActivationState_=functio
n(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!
1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!
1}},_.prototype.registerRootHandlers_=function(t){var
e=this;t&&(l.forEach(function(t)
{e.adapter_.registerInteractionHandler(t,e.activateHandler_)}),this.adapter_.isUnbo
unded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.re
gisterInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteract
ionHandler("blur",this.blurHandler_)},_.prototype.registerDeactivationHandlers_=fun
ction(t){var e=this;"keydown"===t.type?
this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):d.forEach
(function(t)
{e.adapter_.registerDocumentInteractionHandler(t,e.deactivateHandler_)})},_.prototy
pe.deregisterRootHandlers_=function(){var e=this;l.forEach(function(t)
{e.adapter_.deregisterInteractionHandler(t,e.activateHandler_)}),this.adapter_.dere
gisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterIntera
ctionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.d
eregisterResizeHandler(this.resizeHandler_)},_.prototype.deregisterDeactivationHand
lers_=function(){var
e=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),
d.forEach(function(t)
{e.adapter_.deregisterDocumentInteractionHandler(t,e.deactivateHandler_)})},_.proto
type.removeCssVars_=function(){var
e=this,n=_.strings;Object.keys(n).forEach(function(t)
{0===t.indexOf("VAR_")&&e.adapter_.updateCssVariable(n[t],null)})},_.prototype.acti
vate_=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.wasElementMadeActiv
e=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.anim
ateActivation_()),n.wasElementMadeActive||
(e.activationState_=e.defaultActivationState_())})))}}},_.prototype.checkElementMad
eActive_=function(t){return void 0===t||"keydown"!==t.type||
this.adapter_.isSurfaceActive()},_.prototype.animateActivation_=function(){var
t=this,e=_.strings,n=e.VAR_FG_TRANSLATE_START,i=e.VAR_FG_TRANSLATE_END,r=_.cssClass
es,o=r.FG_DEACTIVATION,a=r.FG_ACTIVATION,s=_.numbers.DEACTIVATION_TIMEOUT_MS;this.l
ayoutInternal_();var u="",c="";if(!this.adapter_.isUnbounded()){var
l=this.getFgTranslationCoordinates_(),d=l.startPoint,p=l.endPoint;u=d.x+"px,
"+d.y+"px",c=p.x+"px,
"+p.y+"px"}this.adapter_.updateCssVariable(n,u),this.adapter_.updateCssVariable(i,c
),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_
),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(o),this.adapter_.com
puteBoundingRect(),this.adapter_.addClass(a),this.activationTimer_=setTimeout(funct
ion(){return
t.activationTimerCallback_()},s)},_.prototype.getFgTranslationCoordinates_=function
(){var t,e=this.activationState_,n=e.activationEvent;return{startPoint:t={x:
(t=e.wasActivatedByPointer?
c.getNormalizedEventCoords(n,this.adapter_.getWindowPageOffset(),this.adapter_.comp
uteBoundingRect()):{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}}},_.prototype.runDeactivationUXLogicIfReady_=function(){var
t=this,e=_.cssClasses.FG_DEACTIVATION,n=this.activationState_,i=n.hasDeactivationUX
Run,r=n.isActivated;!i&&r||!this.activationAnimationHasEnded_||
(this.rmBoundedActivationClasses_(),this.adapter_.addClass(e),this.fgDeactivationRe
movalTimer_=setTimeout(function()
{t.adapter_.removeClass(e)},u.numbers.FG_DEACTIVATION_MS))},_.prototype.rmBoundedAc
tivationClasses_=function(){var
t=_.cssClasses.FG_ACTIVATION;this.adapter_.removeClass(t),this.activationAnimationH
asEnded_=!
1,this.adapter_.computeBoundingRect()},_.prototype.resetActivationState_=function()
{var
t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.act
ivationState_=this.defaultActivationState_(),setTimeout(function(){return
t.previousActivationEvent_=void
0},_.numbers.TAP_DELAY_MS)},_.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_()}))}},_.prototype.animateDeact
ivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||
n)&&this.runDeactivationUXLogicIfReady_()},_.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_.isUn
bounded()?e:Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2))
+_.numbers.PADDING;var
n=Math.floor(e*_.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_()},_.prototype.updateLayoutCssVars_=fun
ction(){var
t=_.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(thi
s.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"))},_);function _(t){var
e=a.call(this,o(o({},_.defaultAdapter),t))||this;return
e.activationAnimationHasEnded_=!
1,e.activationTimer_=0,e.fgDeactivationRemovalTimer_=0,e.fgScale_="0",e.frame_={wid
th:0,height:0},e.initialSize_=0,e.layoutFrame_=0,e.maxRadius_=0,e.unboundedCoords_=
{left:0,top:0},e.activationState_=e.defaultActivationState_(),e.activationTimerCall
back_=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=f,e.default=f},58: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)e.hasOwnProperty(n)&&(t[n]=e[n])})
(t,e)},function(t,e){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});var
a,s=n(0),u=n(99),c=(a=s.MDCFoundation,r(l,a),Object.defineProperty(l,"cssClasses",
{get:function(){return u.cssClasses},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"strings",{get:function(){return
u.strings},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"defaultAdapter",{get:function()
{return{setContent:function(){}}},enumerable:!0,configurable:!
0}),l.prototype.setCounterValue=function(t,e)
{t=Math.min(t,e),this.adapter_.setContent(t+" / "+e)},l);function l(t){return
a.call(this,o(o({},l.defaultAdapter),t))||
this}e.MDCTextFieldCharacterCounterFoundation=c,e.default=c},59:function(t,e,n)
{"use strict";Object.defineProperty(e,"__esModule",{value:!
0});e.strings={ARIA_CONTROLS:"aria-controls",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",FULLWIDTH:"mdc-text-field--fullwidth",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","ma
x","required","step","minlength","maxlength"];e.ALWAYS_FLOAT_TYPES=["color","date",
"datetime-local","month","range","time","week"]},6: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n()
{this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):
(n.prototype=e.prototype,new n)}),o=this&&this.__importStar||function(t)
{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in
t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return
e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var
a,s=n(1),u=n(4),c=n(2),l=n(5),d=o(n(3)),p=(a=s.MDCComponent,r(f,a),f.attachTo=funct
ion(t,e){void 0===e&&(e={isUnbounded:void 0});var n=new f(t);return void 0!
==e.isUnbounded&&(n.unbounded=e.isUnbounded),n},f.createAdapter=function(n)
{return{addClass:function(t){return
n.root_.classList.add(t)},browserSupportsCssVars:function(){return
d.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,u.applyPassive())},deregisterInter
actionHandler:function(t,e){return
n.root_.removeEventListener(t,e,u.applyPassive())},deregisterResizeHandler:function
(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function()
{return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function()
{return c.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,u.applyPassive())},registerInteractio
nHandler:function(t,e){return
n.root_.addEventListener(t,e,u.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(f.prototype,"unbounded",
{get:function(){return Boolean(this.unbounded_)},set:function(t)
{this.unbounded_=Boolean(t),this.setUnbounded_()},enumerable:!0,configurable:!
0}),f.prototype.activate=function()
{this.foundation_.activate()},f.prototype.deactivate=function()
{this.foundation_.deactivate()},f.prototype.layout=function()
{this.foundation_.layout()},f.prototype.getDefaultFoundation=function(){return new
l.MDCRippleFoundation(f.createAdapter(this))},f.prototype.initialSyncWithDOM=functi
on(){var t=this.root_;this.unbounded="mdcRippleIsUnbounded"in
t.dataset},f.prototype.setUnbounded_=function()
{this.foundation_.setUnbounded(Boolean(this.unbounded_))},f);function f(){var
t=null!==a&&a.apply(this,arguments)||this;return t.disabled=!
1,t}e.MDCRipple=p},60: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var
a,s=n(0),u=n(102),c=(a=s.MDCFoundation,r(l,a),Object.defineProperty(l,"cssClasses",
{get:function(){return u.cssClasses},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"strings",{get:function(){return
u.strings},enumerable:!0,configurable:!
0}),Object.defineProperty(l,"defaultAdapter",{get:function()
{return{addClass:function(){},removeClass:function(){},hasClass:function(){return!
1},setAttr:function(){},removeAttr:function(){},setContent:function()
{}}},enumerable:!0,configurable:!0}),l.prototype.setContent=function(t)
{this.adapter_.setContent(t)},l.prototype.setPersistent=function(t){t?
this.adapter_.addClass(u.cssClasses.HELPER_TEXT_PERSISTENT):this.adapter_.removeCla
ss(u.cssClasses.HELPER_TEXT_PERSISTENT)},l.prototype.setValidation=function(t){t?
this.adapter_.addClass(u.cssClasses.HELPER_TEXT_VALIDATION_MSG):this.adapter_.remov
eClass(u.cssClasses.HELPER_TEXT_VALIDATION_MSG)},l.prototype.showToScreenReader=fun
ction()
{this.adapter_.removeAttr(u.strings.ARIA_HIDDEN)},l.prototype.setValidity=function(
t){var
e=this.adapter_.hasClass(u.cssClasses.HELPER_TEXT_PERSISTENT),n=this.adapter_.hasCl
ass(u.cssClasses.HELPER_TEXT_VALIDATION_MSG)&&!t;n?
this.adapter_.setAttr(u.strings.ROLE,"alert"):this.adapter_.removeAttr(u.strings.RO
LE),e||n||this.hide_()},l.prototype.hide_=function()
{this.adapter_.setAttr(u.strings.ARIA_HIDDEN,"true")},l);function l(t){return
a.call(this,o(o({},l.defaultAdapter),t))||
this}e.MDCTextFieldHelperTextFoundation=c,e.default=c},7:function(t,e,n){"use
strict";Object.defineProperty(e,"__esModule",{value:!
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}},98: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)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){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});var o,a=n(1),s=n(58),u=(o=a.MDCComponent,r(c,o),c.attachTo=function(t){return
new c(t)},Object.defineProperty(c.prototype,"foundation",{get:function(){return
this.foundation_},enumerable:!0,configurable:!
0}),c.prototype.getDefaultFoundation=function(){var
e=this,t={setContent:function(t){e.root_.textContent=t}};return new
s.MDCTextFieldCharacterCounterFoundation(t)},c);function c(){return null!
==o&&o.apply(this,arguments)||
this}e.MDCTextFieldCharacterCounter=u},99:function(t,e,n){"use
strict";Object.defineProperty(e,"__esModule",{value:!0});var i={ROOT:"mdc-text-
field-character-counter"},r={ROOT_SELECTOR:"."+
(e.cssClasses=i).ROOT};e.strings=r}},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=159);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});

You might also like