!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=132)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")()}).call(this,r(57))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(14),i=r(28),c=r(46),a=e.Symbol,u=o("wks");t.exports=function(t){return u[t]||(u[t]=c&&a[t]||(c?a:i)("Symbol."+t))}},function(t,n,r){var e=r(0),o=r(24).f,i=r(6),c=r(15),a=r(21),u=r(43),f=r(50);t.exports=function(t,n){var r,s,l,p,v,d=t.target,h=t.global,g=t.stat;if(r=h?e:g?e[d]||a(d,{}):(e[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(h?s:d+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(r,s,p,t)}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(7),o=r(9),i=r(17);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(1);t.exports=!e((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(5);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,r){var e=r(7),o=r(35),i=r(8),c=r(19),a=Object.defineProperty;n.f=e?a:function(t,n,r){if(i(t),n=c(n,!0),i(r),o)try{return a(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(32),o=r(13);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(12),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(26),o=r(59);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.3.2",mode:e?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(0),o=r(14),i=r(6),c=r(4),a=r(21),u=r(36),f=r(22),s=f.get,l=f.enforce,p=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,n,r,o){var u=!!o&&!!o.unsafe,f=!!o&&!!o.enumerable,s=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof n||c(r,"name")||i(r,"name",n),l(r).source=p.join("string"==typeof n?n:"")),t!==e?(u?!s&&t[n]&&(f=!0):delete t[n],f?t[n]=r:i(t,n,r)):f?t[n]=r:a(n,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||u.call(this)}))},function(t,n,r){var e=r(13);t.exports=function(t){return Object(e(t))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(5);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports={}},function(t,n,r){var e=r(0),o=r(6);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n,r){var e,o,i,c=r(60),a=r(0),u=r(5),f=r(6),s=r(4),l=r(23),p=r(20),v=a.WeakMap;if(c){var d=new v,h=d.get,g=d.has,y=d.set;e=function(t,n){return y.call(d,t,n),n},o=function(t){return h.call(d,t)||{}},i=function(t){return g.call(d,t)}}else{var x=l("state");p[x]=!0,e=function(t,n){return f(t,x,n),n},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!u(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(14),o=r(28),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,r){var e=r(7),o=r(42),i=r(17),c=r(10),a=r(19),u=r(4),f=r(35),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=c(t),n=a(n,!0),f)try{return s(t,n)}catch(t){}if(u(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,r){var e=r(71),o=r(32),i=r(16),c=r(11),a=r(47),u=[].push,f=function(t){var n=1==t,r=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l;return function(v,d,h,g){for(var y,x,b=i(v),m=o(b),w=e(d,h,3),O=c(m.length),j=0,S=g||a,E=n?S(v,O):r?S(v,0):void 0;O>j;j++)if((p||j in m)&&(x=w(y=m[j],j,b),t))if(n)E[j]=x;else if(x)switch(t){case 3:return!0;case 5:return y;case 6:return j;case 2:u.call(E,y)}else if(s)return!1;return l?-1:f||s?s:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},function(t,n){t.exports=!1},function(t,n,r){var e=r(39),o=r(29).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(18);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(12),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(1),o=r(18),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,r){var e=r(8),o=r(72),i=r(29),c=r(20),a=r(73),u=r(38),f=r(23)("IE_PROTO"),s=function(){},l=function(){var t,n=u("iframe"),r=i.length;for(n.style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[i[r]];return l()};t.exports=Object.create||function(t,n){var r;return null!==t?(s.prototype=e(t),r=new s,s.prototype=null,r[f]=t):r=l(),void 0===n?r:o(r,n)},c[f]=!0},function(t,n,r){var e=r(1),o=r(2)("species");t.exports=function(t){return!e((function(){var n=[];return(n.constructor={})[o]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(7),o=r(1),i=r(38);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(14);t.exports=e("native-function-to-string",Function.toString)},function(t,n,r){var e=r(44),o=r(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},function(t,n,r){var e=r(0),o=r(5),i=e.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,r){var e=r(4),o=r(10),i=r(41).indexOf,c=r(20);t.exports=function(t,n){var r,a=o(t),u=0,f=[];for(r in a)!e(c,r)&&e(a,r)&&f.push(r);for(;n.length>u;)e(a,r=n[u++])&&(~i(f,r)||f.push(r));return f}},,function(t,n,r){var e=r(10),o=r(11),i=r(31),c=function(t){return function(n,r,c){var a,u=e(n),f=o(u.length),s=i(c,f);if(t&&r!=r){for(;f>s;)if((a=u[s++])!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(4),o=r(61),i=r(24),c=r(9);t.exports=function(t,n){for(var r=o(n),a=c.f,u=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||a(t,s,u(n,s))}}},function(t,n,r){t.exports=r(0)},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(1);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())}))},function(t,n,r){var e=r(5),o=r(30),i=r(2)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},,,function(t,n,r){var e=r(1),o=/#|\.prototype\./,i=function(t,n){var r=a[c(t)];return r==f||r!=u&&("function"==typeof n?e(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,r){"use strict";var e=r(1);t.exports=function(t,n){var r=[][t];return!r||!e((function(){r.call(null,n||function(){throw 1},1)}))}},function(t,n,r){"use strict";var e,o,i=r(74),c=RegExp.prototype.exec,a=String.prototype.replace,u=c,f=(e=/a/,o=/b*/g,c.call(e,"a"),c.call(o,"a"),0!==e.lastIndex||0!==o.lastIndex),s=void 0!==/()??/.exec("")[1];(f||s)&&(u=function(t){var n,r,e,o,u=this;return s&&(r=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),f&&(n=u.lastIndex),e=c.call(u,t),f&&e&&(u.lastIndex=u.global?e.index+e[0].length:n),s&&e&&e.length>1&&a.call(e[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(e[o]=void 0)})),e}),t.exports=u},function(t,n,r){var e=r(39),o=r(29);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},,,function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},,function(t,n,r){var e=r(0),o=r(21),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(0),o=r(36),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,n,r){var e=r(37),o=r(27),i=r(45),c=r(8);t.exports=e("Reflect","ownKeys")||function(t){var n=o.f(c(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(2),o=r(33),i=r(6),c=e("unscopables"),a=Array.prototype;null==a[c]&&i(a,c,o(null)),t.exports=function(t){a[c][t]=!0}},function(t,n){t.exports="\t\n\v\f\r ???????????????\u2028\u2029\ufeff"},,,,,,function(t,n,r){var e=r(8),o=r(88);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),n=r instanceof Array}catch(t){}return function(r,i){return e(r),o(i),n?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,n,r){var e=r(12),o=r(13),i=function(t){return function(n,r){var i,c,a=String(o(n)),u=e(r),f=a.length;return u<0||u>=f?t?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===f||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,r){var e=r(54);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(7),o=r(9),i=r(8),c=r(53);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=c(n),a=e.length,u=0;a>u;)o.f(t,r=e[u++],n[r]);return t}},function(t,n,r){var e=r(37);t.exports=e("document","documentElement")},function(t,n,r){"use strict";var e=r(8);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";var e=r(6),o=r(15),i=r(1),c=r(2),a=r(52),u=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),s=!i((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,n,r,l){var p=c(t),v=!i((function(){var n={};return n[p]=function(){return 7},7!=""[t](n)})),d=v&&!i((function(){var n=!1,r=/a/;return r.exec=function(){return n=!0,null},"split"===t&&(r.constructor={},r.constructor[u]=function(){return r}),r[p](""),!n}));if(!v||!d||"replace"===t&&!f||"split"===t&&!s){var h=/./[p],g=r(p,""[t],(function(t,n,r,e,o){return n.exec===a?v&&!o?{done:!0,value:h.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}})),y=g[0],x=g[1];o(String.prototype,t,y),o(RegExp.prototype,p,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)}),l&&e(RegExp.prototype[p],"sham",!0)}}},function(t,n,r){var e=r(18),o=r(52);t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var i=r.call(t,n);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==e(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,r){var e=r(13),o="["+r(63)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),a=function(t){return function(n){var r=String(e(n));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(c,"")),r}};t.exports={start:a(1),end:a(2),trim:a(3)}},,,,,,function(t,n,r){"use strict";var e=r(3),o=r(52);e({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,function(t,n,r){"use strict";var e=r(70).charAt;t.exports=function(t,n,r){return n+(r?e(t,n).length:1)}},,,function(t,n,r){var e=r(5);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},,,,,,,function(t,n,r){"use strict";var e=r(3),o=r(25).map;e({target:"Array",proto:!0,forced:!r(34)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},,,function(t,n,r){"use strict";var e=r(75),o=r(8),i=r(16),c=r(11),a=r(12),u=r(13),f=r(85),s=r(76),l=Math.max,p=Math.min,v=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;e("replace",2,(function(t,n,r){return[function(r,e){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,i){var u=r(n,t,this,i);if(u.done)return u.value;var v=o(t),d=String(this),h="function"==typeof i;h||(i=String(i));var g=v.global;if(g){var y=v.unicode;v.lastIndex=0}for(var x=[];;){var b=s(v,d);if(null===b)break;if(x.push(b),!g)break;""===String(b[0])&&(v.lastIndex=f(d,c(v.lastIndex),y))}for(var m,w="",O=0,j=0;j<x.length;j++){b=x[j];for(var S=String(b[0]),E=l(p(a(b.index),d.length),0),_=[],I=1;I<b.length;I++)_.push(void 0===(m=b[I])?m:String(m));var A=b.groups;if(h){var N=[S].concat(_,E,d);void 0!==A&&N.push(A);var C=String(i.apply(void 0,N))}else C=e(S,d,E,_,A,i);E>=O&&(w+=d.slice(O,E)+C,O=E+S.length)}return w+d.slice(O)}];function e(t,r,e,o,c,a){var u=e+t.length,f=o.length,s=h;return void 0!==c&&(c=i(c),s=d),n.call(a,s,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,e);case"'":return r.slice(u);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return n;if(s>f){var l=v(s/10);return 0===l?n:l<=f?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):n}a=o[s-1]}return void 0===a?"":a}))}}))},function(t,n,r){"use strict";var e=r(3),o=r(32),i=r(10),c=r(51),a=[].join,u=o!=Object,f=c("join",",");e({target:"Array",proto:!0,forced:u||f},{join:function(t){return a.call(i(this),void 0===t?",":t)}})},,,,,,,function(t,n,r){"use strict";var e=r(3),o=r(25).find,i=r(62),c=!0;"find"in[]&&Array(1).find((function(){c=!1})),e({target:"Array",proto:!0,forced:c},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},,function(t,n,r){var e=r(5),o=r(69);t.exports=function(t,n,r){var i,c;return o&&"function"==typeof(i=n.constructor)&&i!==r&&e(c=i.prototype)&&c!==r.prototype&&o(t,c),t}},,,,,,function(t,n,r){"use strict";var e=r(7),o=r(0),i=r(50),c=r(15),a=r(4),u=r(18),f=r(108),s=r(19),l=r(1),p=r(33),v=r(27).f,d=r(24).f,h=r(9).f,g=r(77).trim,y=o.Number,x=y.prototype,b="Number"==u(p(x)),m=function(t){var n,r,e,o,i,c,a,u,f=s(t,!1);if("string"==typeof f&&f.length>2)if(43===(n=(f=g(f)).charCodeAt(0))||45===n){if(88===(r=f.charCodeAt(2))||120===r)return NaN}else if(48===n){switch(f.charCodeAt(1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+f}for(c=(i=f.slice(2)).length,a=0;a<c;a++)if((u=i.charCodeAt(a))<48||u>o)return NaN;return parseInt(i,e)}return+f};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,O=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof O&&(b?l((function(){x.valueOf.call(r)})):"Number"!=u(r))?f(new y(m(n)),r,O):m(n)},j=e?v(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;j.length>S;S++)a(y,w=j[S])&&!a(O,w)&&h(O,w,d(y,w));O.prototype=x,x.constructor=O,c(o,"Number",O)}},,,,,,,,,,,,,,,,,,function(t,n,r){"use strict";r.r(n);r(106),r(99),r(95),r(114),r(83),r(98);!function(t){var n,r,e="".concat(["text","password","email","url","tel","number","search","search-md"].map((function(t){return"input[type=".concat(t,"]")})).join(", "),", textarea"),o=function(t){var n=t.siblings("label, i"),r=t.val().length,e=t.attr("placeholder");n["".concat(r||e?"add":"remove","Class")]("active")},i=function(t){if(t.hasClass("validate")){var n=t.val(),r=!n.length,e=!t[0].validity.badInput;if(r&&e)t.removeClass("valid").removeClass("invalid");else{var o=t.is(":valid"),i=Number(t.attr("length"))||0;o&&(!i||i>n.length)?t.removeClass("invalid").addClass("valid"):t.removeClass("valid").addClass("invalid")}}},c=function(){var n=t(void 0);if(n.val().length){var r=t(".hiddendiv"),e=n.css("font-family"),o=n.css("font-size");o&&r.css("font-size",o),e&&r.css("font-family",e),"off"===n.attr("wrap")&&r.css("overflow-wrap","normal").css("white-space","pre"),r.text("".concat(n.val(),"\n"));var i=r.html().replace(/\n/g,"<br>");r.html(i),r.css("width",n.is(":visible")?n.width():t(window).width()/2),n.css("height",r.height())}};t(e).each((function(n,r){var e=t(r),i=e.siblings("label, i");o(e),r.validity.badInput&&i.addClass("active")})),t(document).on("focus",e,(function(n){t(n.target).siblings("label, i").addClass("active")})),t(document).on("blur",e,(function(n){var r=t(n.target),e=!r.val(),o=!n.target.validity.badInput,c=void 0===r.attr("placeholder");e&&o&&c&&r.siblings("label, i").removeClass("active"),i(r)})),t(document).on("change",e,(function(n){var r=t(n.target);o(r),i(r)})),t("input[autofocus]").siblings("label, i").addClass("active"),t(document).on("reset",(function(n){var r=t(n.target);r.is("form")&&(r.find(e).removeClass("valid").removeClass("invalid").each((function(n,r){var e=t(r),o=!e.val(),i=!e.attr("placeholder");o&&i&&e.siblings("label, i").removeClass("active")})),r.find("select.initialized").each((function(n,r){var e=t(r),o=e.siblings("input.select-dropdown"),i=e.children("[selected]").val();e.val(i),o.val(i)})))})),(r=t(".md-textarea-auto")).length&&(n=window.attachEvent?function(t,n,r){t.attachEvent("on".concat(n),r)}:function(t,n,r){t.addEventListener(n,r,!1)},r.each((function(){var t=this;function r(){t.style.height="auto",t.style.height="".concat(t.scrollHeight,"px")}function e(){window.setTimeout(r,0)}n(t,"change",r),n(t,"cut",e),n(t,"paste",e),n(t,"drop",e),n(t,"keydown",e),r()})));var a=t("body");if(!t(".hiddendiv").first().length){var u=t('<div class="hiddendiv common"></div>');a.append(u)}t(".materialize-textarea").each(c),a.on("keyup keydown",".materialize-textarea",c)}(jQuery)}]);
|