traintimesPWA/old_live/js/vendor.js
Martin Donnelly 1e03d1697a wip
2020-08-16 20:05:28 +01:00

1 line
19 KiB
JavaScript

!function t(e,i,n){function o(s,a){if(!i[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(r)return r(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=i[s]={exports:{}};e[s][0].call(u.exports,function(t){var i=e[s][1][t];return o(i||t)},u,u.exports,t,e,i,n)}return i[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,i){!function(e){"use strict";if(!e._muiLoadedJS){e._muiLoadedJS=!0;var i=t("src/js/lib/jqLite"),n=t("src/js/dropdown"),o=t("src/js/overlay"),r=t("src/js/ripple"),s=t("src/js/select"),a=t("src/js/tabs"),l=t("src/js/textfield");e.mui={overlay:o,tabs:a.api},i.ready(function(){l.initListeners(),s.initListeners(),r.initListeners(),n.initListeners(),a.initListeners()})}}(window)},{"src/js/dropdown":7,"src/js/lib/jqLite":8,"src/js/overlay":9,"src/js/ripple":10,"src/js/select":11,"src/js/tabs":12,"src/js/textfield":13}],2:[function(t,e,i){e.exports={debug:!0}},{}],3:[function(t,e,i){"use strict";function n(t,e){var i=l[t];i||(i=l[t]=[]),i.push(e),this.init||(!function(){for(var t,e=[[".mui-btn","mui-btn-inserted"],['[data-mui-toggle="dropdown"]',"mui-dropdown-inserted"],['.mui-btn[data-mui-toggle="dropdown"]',"mui-btn-inserted,mui-dropdown-inserted"],['[data-mui-toggle="tab"]',"mui-tab-inserted"],[".mui-textfield > input","mui-textfield-inserted"],[".mui-textfield > textarea","mui-textfield-inserted"],[".mui-textfield > input:-webkit-autofill","mui-textfield-autofill"],[".mui-textfield > textarea:-webkit-autofill","mui-textfield-autofill"],[".mui-select > select","mui-select-inserted"],[".mui-select > select ~ .mui-event-trigger","mui-node-inserted"],[".mui-select > select:disabled ~ .mui-event-trigger","mui-node-disabled"]],i="",n=0,o=e.length;n<o;n++)i+="@keyframes "+(t=e[n])[1],i+="{from{transform:none;}to{transform:none;}}",i+=t[0],i+="{animation-duration:0.0001s;animation-name:"+t[1]+";}";s.loadStyle(i)}(),r.on(document,a,o,!0),this.init=!0)}function o(t){var e=l[t.animationName]||[],i=e.length;if(i)for(t.stopImmediatePropagation();i--;)e[i](t)}var r=t("./jqLite"),s=t("./util"),a="animationstart mozAnimationStart webkitAnimationStart",l={};e.exports={animationEvents:a,onAnimationStart:n}},{"./jqLite":5,"./util":6}],4:[function(t,e,i){"use strict";var n=t("./jqLite");e.exports={getMenuPositionalCSS:function(t,e,i){var o,r,s,a,l=document.documentElement.clientHeight,u=e.children.length,c=parseInt(e.offsetHeight),d=Math.min(c,l),m=parseInt(n.css(e,"padding-top")),f=(c-2*m)/u;r=-1*i*f,a=l-d+(s=-1*t.getBoundingClientRect().top),o=Math.min(Math.max(r,s),a);var p,h,v=0;return c>l&&(p=o+m+i*f,h=u*f+2*m-d,v=Math.min(p,h)),{height:d+"px",top:o+"px",scrollTop:v}}}},{"./jqLite":5}],5:[function(t,e,i){"use strict";function n(t){if(void 0===t)return"undefined";var e=Object.prototype.toString.call(t);if(0===e.indexOf("[object "))return e.slice(8,-1).toLowerCase();throw new Error("MUI: Could not understand type: "+e)}function o(t,e,i,n){n=void 0!==n&&n;var o=t._muiEventCache=t._muiEventCache||{};e.split(" ").map(function(e){t.addEventListener(e,i,n),o[e]=o[e]||[],o[e].push([i,n])})}function r(t,e,i,n){n=void 0!==n&&n;var o,r,s,a=t._muiEventCache=t._muiEventCache||{};e.split(" ").map(function(e){for(s=(o=a[e]||[]).length;s--;)r=o[s],(void 0===i||r[0]===i&&r[1]===n)&&(o.splice(s,1),t.removeEventListener(e,r[0],r[1]))})}function s(t,e){var i=window;if(void 0===e){if(t===i){var n=document.documentElement;return(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}return t.scrollLeft}t===i?i.scrollTo(e,a(i)):t.scrollLeft=e}function a(t,e){var i=window;if(void 0===e){if(t===i){var n=document.documentElement;return(i.pageYOffset||n.scrollTop)-(n.clientTop||0)}return t.scrollTop}t===i?i.scrollTo(s(i),e):t.scrollTop=e}function l(t){return" "+(t.getAttribute("class")||"").replace(/[\n\t]/g,"")+" "}function u(t){return t.replace(d,function(t,e,i,n){return n?i.toUpperCase():i}).replace(m,"Moz$1")}function c(t,e,i){var n;return""!==(n=i.getPropertyValue(e))||t.ownerDocument||(n=t.style[u(e)]),n}var d=/([\:\-\_]+(.))/g,m=/^moz([A-Z])/;e.exports={addClass:function(t,e){if(e&&t.setAttribute){for(var i,n=l(t),o=e.split(" "),r=0;r<o.length;r++)i=o[r].trim(),-1===n.indexOf(" "+i+" ")&&(n+=i+" ");t.setAttribute("class",n.trim())}},css:function(t,e,i){if(void 0===e)return getComputedStyle(t);var o=n(e);if("object"!==o){"string"===o&&void 0!==i&&(t.style[u(e)]=i);var r=getComputedStyle(t);if("array"!==n(e))return c(t,e,r);for(var s={},a=0;a<e.length;a++)s[l=e[a]]=c(t,l,r);return s}for(var l in e)t.style[u(l)]=e[l]},hasClass:function(t,e){return!(!e||!t.getAttribute)&&l(t).indexOf(" "+e+" ")>-1},off:r,offset:function(t){var e=window,i=t.getBoundingClientRect(),n=a(e),o=s(e);return{top:i.top+n,left:i.left+o,height:i.height,width:i.width}},on:o,one:function(t,e,i,n){e.split(" ").map(function(e){o(t,e,function o(s){i&&i.apply(this,arguments),r(t,e,o,n)},n)})},ready:function(t){var e=!1,i=!0,n=document,o=n.defaultView,r=n.documentElement,s=n.addEventListener?"addEventListener":"attachEvent",a=n.addEventListener?"removeEventListener":"detachEvent",l=n.addEventListener?"":"on",u=function(i){"readystatechange"==i.type&&"complete"!=n.readyState||(("load"==i.type?o:n)[a](l+i.type,u,!1),!e&&(e=!0)&&t.call(o,i.type||i))},c=function(){try{r.doScroll("left")}catch(t){return void setTimeout(c,50)}u("poll")};if("complete"==n.readyState)t.call(o,"lazy");else{if(n.createEventObject&&r.doScroll){try{i=!o.frameElement}catch(t){}i&&c()}n[s](l+"DOMContentLoaded",u,!1),n[s](l+"readystatechange",u,!1),o[s](l+"load",u,!1)}},removeClass:function(t,e){if(e&&t.setAttribute){for(var i,n=l(t),o=e.split(" "),r=0;r<o.length;r++)for(i=o[r].trim();n.indexOf(" "+i+" ")>=0;)n=n.replace(" "+i+" "," ");t.setAttribute("class",n.trim())}},type:n,scrollLeft:s,scrollTop:a}},{}],6:[function(t,e,i){"use strict";function n(t){var e,i=document;e=i.head||i.getElementsByTagName("head")[0]||i.documentElement;var n=i.createElement("style");return n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(i.createTextNode(t)),e.insertBefore(n,e.firstChild),n}var o,r,s,a,l,u=t("../config"),c=t("./jqLite"),d=0,m="mui-scroll-lock";s=function(t){t.target.tagName||t.stopImmediatePropagation()};var f=function(){if(void 0!==a)return a;var t=document,e=t.body,i=t.createElement("div");return i.innerHTML='<div style="width:50px;height:50px;position:absolute;left:-50px;top:-50px;overflow:auto;"><div style="width:1px;height:100px;"></div></div>',i=i.firstChild,e.appendChild(i),a=i.offsetWidth-i.clientWidth,e.removeChild(i),a};e.exports={callback:function(t,e){return function(){t[e].apply(t,arguments)}},classNames:function(t){var e="";for(var i in t)e+=t[i]?i+" ":"";return e.trim()},disableScrollLock:function(t){0!==d&&0==(d-=1)&&(c.removeClass(document.body,m),t&&window.scrollTo(o.left,o.top),c.off(window,"scroll",s,!0),setTimeout(function(){r.parentNode.removeChild(r)},0))},dispatchEvent:function(t,e,i,n,o){var r,s=document.createEvent("HTMLEvents"),i=void 0===i||i,n=void 0===n||n;if(s.initEvent(e,i,n),o)for(r in o)s[r]=o[r];return t&&t.dispatchEvent(s),s},enableScrollLock:function(){if(1===(d+=1)){var t,e,i,a=document,l=window,u=a.documentElement,p=a.body,h=f();t=["overflow:hidden"],h&&(u.scrollHeight>u.clientHeight&&(i=parseInt(c.css(p,"padding-right"))+h,t.push("padding-right:"+i+"px")),u.scrollWidth>u.clientWidth&&(i=parseInt(c.css(p,"padding-bottom"))+h,t.push("padding-bottom:"+i+"px"))),e="."+m+"{",e+=t.join(" !important;")+" !important;}",r=n(e),c.on(l,"scroll",s,!0),o={left:c.scrollLeft(l),top:c.scrollTop(l)},c.addClass(p,m)}},log:function(){var t=window;if(u.debug&&void 0!==t.console)try{t.console.log.apply(t.console,arguments)}catch(i){var e=Array.prototype.slice.call(arguments);t.console.log(e.join("\n"))}},loadStyle:n,raiseError:function(t,e){if(!e)throw new Error("MUI: "+t);"undefined"!=typeof console&&console.warn("MUI Warning: "+t)},requestAnimationFrame:function(t){var e=window.requestAnimationFrame;e?e(t):setTimeout(t,0)},supportsPointerEvents:function(){if(void 0!==l)return l;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",l="auto"===t.style.pointerEvents}}},{"../config":2,"./jqLite":5}],7:[function(t,e,i){"use strict";function n(t){if(!0!==t._muiDropdown){t._muiDropdown=!0;var e=t.tagName;"INPUT"!==e&&"BUTTON"!==e||t.hasAttribute("type")||(t.type="button"),r.on(t,"click",o)}}function o(t){if(0===t.button){null===this.getAttribute("disabled")&&function(t){function e(){r.removeClass(n,l),r.off(o,"click",e)}var i=t.parentNode,n=t.nextElementSibling,o=i.ownerDocument;if(!n||!r.hasClass(n,u))return s.raiseError("Dropdown menu element not found");r.hasClass(n,l)?e():function(){var s=i.getBoundingClientRect(),a=t.getBoundingClientRect(),u=a.top-s.top+a.height;r.css(n,"top",u+"px"),r.addClass(n,l),setTimeout(function(){r.on(o,"click",e)},0)}()}(this)}}var r=t("./lib/jqLite"),s=t("./lib/util"),a=t("./lib/animationHelpers"),l="mui--is-open",u="mui-dropdown__menu";e.exports={initListeners:function(){for(var t=document.querySelectorAll('[data-mui-toggle="dropdown"]'),e=t.length;e--;)n(t[e]);a.onAnimationStart("mui-dropdown-inserted",function(t){n(t.target)})}}},{"./lib/animationHelpers":3,"./lib/jqLite":5,"./lib/util":6}],8:[function(t,e,i){e.exports=t(5)},{}],9:[function(t,e,i){"use strict";function n(t){var e;if("on"===t){for(var i,n,p,h=arguments.length-1;h>0;h--)i=arguments[h],"object"===d.type(i)&&(n=i),i instanceof Element&&1===i.nodeType&&(p=i);void 0===(n=n||{}).keyboard&&(n.keyboard=!0),void 0===n.static&&(n.static=!1),e=function(t,e){var i=document,n=i.body,o=i.getElementById(m);i.activeElement&&(u=i.activeElement);if(c.enableScrollLock(),o){for(;o.firstChild;)o.removeChild(o.firstChild);e&&o.appendChild(e)}else(o=i.createElement("div")).setAttribute("id",m),o.setAttribute("tabindex","-1"),e&&o.appendChild(e),n.appendChild(o);f.test(navigator.userAgent)&&d.css(o,"cursor","pointer");t.keyboard?d.on(document,"keyup",s):r();t.static?a(o):function(t){d.on(t,"click",l)}(o);return o.muiOptions=t,o.focus(),o}(n,p)}else"off"===t?e=o():c.raiseError("Expecting 'on' or 'off'");return e}function o(){var t,e=document.getElementById(m);if(e){for(;e.firstChild;)e.removeChild(e.firstChild);e.parentNode.removeChild(e),t=e.muiOptions.onclose,a(e)}return c.disableScrollLock(),r(),u&&u.focus(),t&&t(),e}function r(){d.off(document,"keyup",s)}function s(t){27===t.keyCode&&o()}function a(t){d.off(t,"click",l)}function l(t){t.target.id===m&&o()}var u,c=t("./lib/util"),d=t("./lib/jqLite"),m="mui-overlay",f=/(iPad|iPhone|iPod)/g;e.exports=n},{"./lib/jqLite":5,"./lib/util":6}],10:[function(t,e,i){"use strict";function n(t){!0!==t._muiRipple&&(t._muiRipple=!0,"INPUT"!==t.tagName&&s.on(t,c,o))}function o(t){if("mousedown"!==t.type||0===t.button){var e=this._rippleEl;if(!this.disabled){if(!e){var i=document.createElement("span");i.className="mui-btn__ripple-container",i.innerHTML='<span class="mui-ripple"></span>',this.appendChild(i),e=this._rippleEl=i.children[0],s.on(this,d,r)}var n,o,l=s.offset(this),u="touchstart"===t.type?t.touches[0]:t;o=2*(n=Math.sqrt(l.height*l.height+l.width*l.width))+"px",s.css(e,{width:o,height:o,top:Math.round(u.pageY-l.top-n)+"px",left:Math.round(u.pageX-l.left-n)+"px"}),s.removeClass(e,"mui--is-animating"),s.addClass(e,"mui--is-visible"),a.requestAnimationFrame(function(){s.addClass(e,"mui--is-animating")})}}}function r(t){var e=this._rippleEl;a.requestAnimationFrame(function(){s.removeClass(e,"mui--is-visible")})}var s=t("./lib/jqLite"),a=t("./lib/util"),l=t("./lib/animationHelpers"),u="ontouchstart"in document.documentElement,c=u?"touchstart":"mousedown",d=u?"touchend":"mouseup mouseleave";e.exports={initListeners:function(){for(var t=document.getElementsByClassName("mui-btn"),e=t.length;e--;)n(t[e]);l.onAnimationStart("mui-btn-inserted",function(t){n(t.target)})}}},{"./lib/animationHelpers":3,"./lib/jqLite":5,"./lib/util":6}],11:[function(t,e,i){"use strict";function n(t){if(!0!==t._muiSelect&&(t._muiSelect=!0,!("ontouchstart"in v.documentElement))){var e=t.parentNode;if(!d.hasClass(e,"mui-select--use-default")){e._selectEl=t,e._menu=null,e._q="",e._qTimeout=null,t.disabled||(e.tabIndex=0),t.tabIndex=-1,d.on(t,"mousedown",o),d.on(e,"click",l),d.on(e,"blur focus",r),d.on(e,"keydown",s),d.on(e,"keypress",a);var i=document.createElement("div");i.className="mui-event-trigger",e.appendChild(i),d.on(i,f.animationEvents,function(t){var e=t.target.parentNode;t.stopPropagation(),"mui-node-disabled"===t.animationName?e.removeAttribute("tabIndex"):e.tabIndex=0})}}}function o(t){0===t.button&&t.preventDefault()}function r(t){m.dispatchEvent(this._selectEl,t.type,!1,!1)}function s(t){if(!t.defaultPrevented){var e=t.keyCode,i=this._menu;if(i){if(9===e)return i.destroy();27!==e&&40!==e&&38!==e&&13!==e||t.preventDefault(),27===e?i.destroy():40===e?i.increment():38===e?i.decrement():13===e&&(i.selectCurrent(),i.destroy())}else 32!==e&&38!==e&&40!==e||(t.preventDefault(),u(this))}}function a(t){var e=this._menu;if(!t.defaultPrevented&&e){var i=this;clearTimeout(this._qTimeout),this._q+=t.key,this._qTimeout=setTimeout(function(){i._q=""},300);var n,o=new RegExp("^"+this._q,"i"),r=e.itemArray;for(n in r)if(o.test(r[n].innerText)){e.selectPos(n);break}}}function l(t){0!==t.button||this._selectEl.disabled||(this.focus(),u(this))}function u(t){t._menu||(t._menu=new c(t,t._selectEl,function(){t._menu=null,t.focus()}))}function c(t,e,i){m.enableScrollLock(),this.itemArray=[],this.origPos=null,this.currentPos=null,this.selectEl=e,this.wrapperEl=t;var n=this._createMenuEl(t,e),o=this.menuEl=n[0],r=m.callback;this.onClickCB=r(this,"onClick"),this.destroyCB=r(this,"destroy"),this.wrapperCallbackFn=i,t.appendChild(this.menuEl);var s=p.getMenuPositionalCSS(t,o,n[1]);d.css(o,s),d.scrollTop(o,s.scrollTop);var a=this.destroyCB;d.on(o,"click",this.onClickCB),d.on(g,"resize",a),setTimeout(function(){d.on(v,"click",a)},0)}var d=t("./lib/jqLite"),m=t("./lib/util"),f=t("./lib/animationHelpers"),p=t("./lib/forms"),h="mui--is-selected",v=document,g=window;c.prototype._createMenuEl=function(t,e){var i,n,o,r,s,a,l,u,c=v.createElement("div"),m=e.children,f=this.itemArray,p=0,g=-1,b=0,y=0,C=0,E=document.createDocumentFragment();for(c.className="mui-select__menu",s=0,a=m.length;s<a;s++)for("OPTGROUP"===(i=m[s]).tagName?((n=v.createElement("div")).textContent=i.label,n.className="mui-optgroup__label",E.appendChild(n),r=!0,o=i.children):(r=!1,o=[i]),l=0,u=o.length;l<u;l++)i=o[l],(n=v.createElement("div")).textContent=i.textContent,r&&d.addClass(n,"mui-optgroup__option"),i.disabled?d.addClass(n,"mui--is-disabled"):(n._muiIndex=i.index,n._muiPos=p,i.selected&&(y=C,g=p,b=p),f.push(n),p+=1),E.appendChild(n),C+=1;return c.appendChild(E),this.origPos=g,this.currentPos=b,f.length&&d.addClass(f[b],h),[c,y]},c.prototype.onClick=function(t){t.stopPropagation();var e=t.target;void 0!==e._muiIndex&&(this.currentPos=e._muiPos,this.selectCurrent(),this.destroy())},c.prototype.increment=function(){this.currentPos!==this.itemArray.length-1&&(d.removeClass(this.itemArray[this.currentPos],h),this.currentPos+=1,d.addClass(this.itemArray[this.currentPos],h))},c.prototype.decrement=function(){0!==this.currentPos&&(d.removeClass(this.itemArray[this.currentPos],h),this.currentPos-=1,d.addClass(this.itemArray[this.currentPos],h))},c.prototype.selectCurrent=function(){this.currentPos!==this.origPos&&(this.selectEl.selectedIndex=this.itemArray[this.currentPos]._muiIndex,m.dispatchEvent(this.selectEl,"change",!0,!1))},c.prototype.selectPos=function(t){d.removeClass(this.itemArray[this.currentPos],h),this.currentPos=t;var e=this.itemArray[t];d.addClass(e,h);var i=this.menuEl,n=e.getBoundingClientRect();n.top<0?i.scrollTop=i.scrollTop+n.top-5:n.top>window.innerHeight&&(i.scrollTop=i.scrollTop+(n.top+n.height-window.innerHeight)+5)},c.prototype.destroy=function(){m.disableScrollLock(!0),d.off(this.menuEl,"click",this.clickCallbackFn),d.off(v,"click",this.destroyCB),d.off(g,"resize",this.destroyCB);var t=this.menuEl.parentNode;t&&(t.removeChild(this.menuEl),this.wrapperCallbackFn())},e.exports={initListeners:function(){for(var t=v.querySelectorAll(".mui-select > select"),e=t.length;e--;)n(t[e]);f.onAnimationStart("mui-select-inserted",function(t){n(t.target)})}}},{"./lib/animationHelpers":3,"./lib/forms":4,"./lib/jqLite":5,"./lib/util":6}],12:[function(t,e,i){"use strict";function n(t){!0!==t._muiTabs&&(t._muiTabs=!0,s.on(t,"click",o))}function o(t){if(0===t.button){null===this.getAttribute("disabled")&&r(this)}}function r(t){var e,i,n,o,r,l,h,v,g,b=t.parentNode,y=t.getAttribute(u),C=document.getElementById(y);s.hasClass(b,c)||(C||a.raiseError('Tab pane "'+y+'" not found'),n=(i=function(t){var e,i=t.parentNode.children,n=i.length,o=null;for(;n--&&!o;)(e=i[n])!==t&&s.hasClass(e,c)&&(o=e);return o}(C)).id,g="["+u+'="'+n+'"]',o=document.querySelectorAll(g)[0],e=o.parentNode,r={paneId:y,relatedPaneId:n},l={paneId:n,relatedPaneId:y},h=a.dispatchEvent(o,f,!0,!0,l),v=a.dispatchEvent(t,d,!0,!0,r),setTimeout(function(){h.defaultPrevented||v.defaultPrevented||(e&&s.removeClass(e,c),i&&s.removeClass(i,c),s.addClass(b,c),s.addClass(C,c),a.dispatchEvent(o,p,!0,!1,l),a.dispatchEvent(t,m,!0,!1,r))},0))}var s=t("./lib/jqLite"),a=t("./lib/util"),l=t("./lib/animationHelpers"),u="data-mui-controls",c="mui--is-active",d="mui.tabs.showstart",m="mui.tabs.showend",f="mui.tabs.hidestart",p="mui.tabs.hideend";e.exports={initListeners:function(){for(var t=document.querySelectorAll('[data-mui-toggle="tab"]'),e=t.length;e--;)n(t[e]);l.onAnimationStart("mui-tab-inserted",function(t){n(t.target)})},api:{activate:function(t){var e="["+u+"="+t+"]",i=document.querySelectorAll(e);i.length||a.raiseError('Tab control for pane "'+t+'" not found'),r(i[0])}}}},{"./lib/animationHelpers":3,"./lib/jqLite":5,"./lib/util":6}],13:[function(t,e,i){"use strict";function n(t){!0!==t._muiTextfield&&(t._muiTextfield=!0,t.value.length?r.addClass(t,f):r.addClass(t,m),r.addClass(t,u+" "+c),r.on(t,"blur",function e(){document.activeElement!==t&&(r.removeClass(t,u),r.addClass(t,l),r.off(t,"blur",e))}),r.one(t,"input change",function(){r.removeClass(t,c),r.addClass(t,d)}),r.on(t,"input change",o))}function o(){this.value.length?(r.removeClass(this,m),r.addClass(this,f)):(r.removeClass(this,f),r.addClass(this,m))}var r=t("./lib/jqLite"),s=t("./lib/util"),a=t("./lib/animationHelpers"),l="mui--is-touched",u="mui--is-untouched",c="mui--is-pristine",d="mui--is-dirty",m="mui--is-empty",f="mui--is-not-empty";e.exports={initialize:n,initListeners:function(){for(var t=document,e=t.querySelectorAll(".mui-textfield > input, .mui-textfield > textarea"),i=e.length;i--;)n(e[i]);a.onAnimationStart("mui-textfield-inserted",function(t){n(t.target)}),setTimeout(function(){var t=".mui-textfield.mui-textfield--float-label > label {"+["-webkit-transition","-moz-transition","-o-transition","transition",""].join(":all .15s ease-out;")+"}";s.loadStyle(t)},150),a.onAnimationStart("mui-textfield-autofill",function(t){!function(t){!0===t._muiTextfield&&o.call(t)}(t.target)}),!1===s.supportsPointerEvents()&&r.on(t,"click",function(t){var e=t.target;if("LABEL"===e.tagName&&r.hasClass(e.parentNode,"mui-textfield--float-label")){var i=e.previousElementSibling;i&&i.focus()}})}}},{"./lib/animationHelpers":3,"./lib/jqLite":5,"./lib/util":6}]},{},[1]);