/*! amaze ui v2.7.2 ~ ie8 fucker | by amaze ui team | (c) 2016 allmobilize, inc. | licensed under mit | 2016-08-17t16:17:24+0800 */ !function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.returnexports=t()}(this,function(){var e,t,n=array,r=n.prototype,o=object,i=o.prototype,a=function,c=a.prototype,s=string,u=s.prototype,l=number,f=l.prototype,p=r.slice,h=r.splice,d=r.push,y=r.unshift,g=r.concat,v=r.join,b=c.call,m=c.apply,w=math.max,o=math.min,t=i.tostring,j="function"==typeof symbol&&"symbol"==typeof symbol.tostringtag,x=function.prototype.tostring,e=/^\s*class /,s=function(e){try{var t=x.call(e),n=t.replace(/\/\/.*\n/g,""),r=n.replace(/\/\*[.\s\s]*\*\//g,""),o=r.replace(/\n/gm," ").replace(/ {2}/g," ");return e.test(o)}catch(i){return!1}},d=function(e){try{return!s(e)&&(x.call(e),!0)}catch(t){return!1}},_="[object function]",m="[object generatorfunction]",e=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(j)return d(e);if(s(e))return!1;var t=t.call(e);return t===_||t===m},p=regexp.prototype.exec,i=function(e){try{return p.call(e),!0}catch(t){return!1}},c="[object regexp]";t=function(e){return"object"==typeof e&&(j?i(e):t.call(e)===c)};var f,n=string.prototype.valueof,k=function(e){try{return n.call(e),!0}catch(t){return!1}},z="[object string]";f=function(e){return"string"==typeof e||"object"==typeof e&&(j?k(e):t.call(e)===z)};var r=o.defineproperty&&function(){try{var e={};o.defineproperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(n){return!1}}(),$=function(e){var t;return t=r?function(e,t,n,r){!r&&t in e||o.defineproperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,r){!r&&t in e||(e[t]=n)},function(n,r,o){for(var i in r)e.call(r,i)&&t(n,i,r[i],o)}}(i.hasownproperty),u=function(e){var t=typeof e;return null===e||"object"!==t&&"function"!==t},a=l.isnan||function(e){return e!==e},l={tointeger:function(e){var t=+e;return a(t)?t=0:0!==t&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*math.floor(math.abs(t))),t},toprimitive:function(t){var n,r,o;if(u(t))return t;if(r=t.valueof,e(r)&&(n=r.call(t),u(n)))return n;if(o=t.tostring,e(o)&&(n=o.call(t),u(n)))return n;throw new typeerror},toobject:function(e){if(null==e)throw new typeerror("can't convert "+e+" to object");return o(e)},touint32:function(e){return e>>>0}},x=function(){};$(c,{bind:function(t){var n=this;if(!e(n))throw new typeerror("function.prototype.bind called on incompatible "+n);for(var r,i=p.call(arguments,1),c=function(){if(this instanceof r){var e=m.call(n,this,g.call(i,p.call(arguments)));return o(e)===e?e:this}return m.call(n,t,g.call(i,p.call(arguments)))},s=w(0,n.length-i.length),u=[],l=0;l1&&(n=arguments[1]),!e(t))throw new typeerror("array.prototype.foreach callback must be a function");for(;++i1&&(r=arguments[1]),!e(t))throw new typeerror("array.prototype.map callback must be a function");for(var s=0;s1&&(r=arguments[1]),!e(t))throw new typeerror("array.prototype.filter callback must be a function");for(var s=0;s1&&(n=arguments[1]),!e(t))throw new typeerror("array.prototype.every callback must be a function");for(var a=0;a1&&(n=arguments[1]),!e(t))throw new typeerror("array.prototype.some callback must be a function");for(var a=0;a=2)i=arguments[1];else for(;;){if(a in r){i=r[a++];break}if(++a>=o)throw new typeerror("reduce of empty array with no initial value")}for(;a=2)i=arguments[1];else for(;;){if(a in r){i=r[a--];break}if(--a<0)throw new typeerror("reduceright of empty array with no initial value")}if(a<0)return i;do a in r&&(i=t(i,r[a],a,n));while(a--);return i}},!ie);var ae=r.indexof&&[0,1].indexof(1,2)!==-1;$(r,{indexof:function(e){var t=ne&&f(this)?h(this,""):l.toobject(this),n=l.touint32(t.length);if(0===n)return-1;var r=0;for(arguments.length>1&&(r=l.tointeger(arguments[1])),r=r>=0?r:w(0,n+r);r1&&(r=o(r,l.tointeger(arguments[1]))),r=r>=0?r:n-math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}},ce);var se=function(){var e=[1,2],t=e.splice();return 2===e.length&&k(t)&&0===t.length}();$(r,{splice:function(e,t){return 0===arguments.length?[]:h.apply(this,arguments)}},!se);var ue=function(){var e={};return r.splice.call(e,0,0,1),1===e.length}();$(r,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=w(l.tointeger(this.length),0),arguments.length>0&&"number"!=typeof t&&(n=j(arguments),n.length<2?y(n,this.length-e):n[1]=l.tointeger(t)),h.apply(this,n)}},!ue);var le=function(){var e=new n(1e5);return e[8]="x",e.splice(1,1),7===e.indexof("x")}(),fe=function(){var e=256,t=[];return t[e]="a",t.splice(e+1,0,"b"),"a"===t[e]}();$(r,{splice:function(e,t){for(var n,r=l.toobject(this),o=[],i=l.touint32(r.length),a=l.tointeger(e),c=a<0?w(i+a,0):o(a,i),u=o(w(l.tointeger(t),0),i-c),l=0;ly;)delete r[l-1],l-=1}else if(h>u)for(l=i-u;l>c;)n=s(l+u-1),f=s(l+h-1),b(r,n)?r[f]=r[n]:delete r[f],l-=1;l=c;for(var g=0;g=0&&!k(t)&&e(t.callee)},fe=ie(arguments)?ie:ce;$(o,{keys:function(t){var n=e(t),r=fe(t),o=null!==t&&"object"==typeof t,i=o&&f(t);if(!o&&!n&&!r)throw new typeerror("object.keys called on a non-object");var a=[],c=je&&n;if(i&&xe||r)for(var u=0;u11?e+1:e},getmonth:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=ge(this),t=je(this);return e<0&&t>11?0:t},getdate:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=ge(this),t=je(this),n=qe(this);if(e<0&&t>11){if(12===t)return n;var r=rt(0,e+1);return r-n+1}return n},getutcfullyear:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=ze(this);return e<0&&he(this)>11?e+1:e},getutcmonth:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=ze(this),t=he(this);return e<0&&t>11?0:t},getutcdate:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=ze(this),t=he(this),n=we(this);if(e<0&&t>11){if(12===t)return n;var r=rt(0,e+1);return r-n+1}return n}},ue),$(date.prototype,{toutcstring:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=ye(this),t=we(this),n=he(this),r=ze(this),o=qe(this),i=ve(this),a=ke(this);return tt[e]+", "+(t<10?"0"+t:t)+" "+nt[n]+" "+r+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+" gmt"}},ue||xe),$(date.prototype,{todatestring:function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=this.getday(),t=this.getdate(),n=this.getmonth(),r=this.getfullyear();return tt[e]+" "+nt[n]+" "+(t<10?"0"+t:t)+" "+r}},ue||re),(ue||$e)&&(date.prototype.tostring=function(){if(!(this&&this instanceof date))throw new typeerror("this is not a date object.");var e=this.getday(),t=this.getdate(),n=this.getmonth(),r=this.getfullyear(),o=this.gethours(),i=this.getminutes(),a=this.getseconds(),c=this.gettimezoneoffset(),s=math.floor(math.abs(c)/60),u=math.floor(math.abs(c)%60);return tt[e]+" "+nt[n]+" "+(t<10?"0"+t:t)+" "+r+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)+" gmt"+(c>0?"-":"+")+(s<10?"0"+s:s)+(u<10?"0"+u:u)},r&&o.defineproperty(date.prototype,"tostring",{configurable:!0,enumerable:!1,writable:!0}));var ot=-621987552e5,it="-000001",at=date.prototype.toisostring&&new date(ot).toisostring().indexof(it)===-1,ct=date.prototype.toisostring&&"1969-12-31t23:59:59.999z"!==new date((-1)).toisostring(),st=b.bind(date.prototype.gettime);$(date.prototype,{toisostring:function(){if(!isfinite(this)||!isfinite(st(this)))throw new rangeerror("date.prototype.toisostring called on non-finite value.");var e=ze(this),t=he(this);e+=math.floor(t/12),t=(t%12+12)%12;var n=[t+1,we(this),qe(this),ve(this),ke(this)];e=(e<0?"-":e>9999?"+":"")+z("00000"+math.abs(e),0<=e&&e<=9999?-4:-6);for(var r=0;r=7&&u>ht){var d=math.floor(u/ht)*ht,y=math.floor(d/1e3);p+=y,h-=1e3*y}l=1===f&&s(n)===n?new e(t.parse(n)):f>=7?new e(n,r,o,i,a,p,h):f>=6?new e(n,r,o,i,a,p):f>=5?new e(n,r,o,i,a):f>=4?new e(n,r,o,i):f>=3?new e(n,r,o):f>=2?new e(n,r):f>=1?new e(n instanceof e?+n:n):new e}else l=e.apply(this,arguments);return u(l)||$(l,{constructor:t},!0),l},n=new regexp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:t(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365],o=function(e,t){var n=t>1?1:0;return r[t]+math.floor((e-1969+n)/4)-math.floor((e-1901+n)/100)+math.floor((e-1601+n)/400)+365*(e-1970)},i=function(t){var n=0,r=t;if(dt&&r>ht){var o=math.floor(r/ht)*ht,i=math.floor(o/1e3);n+=i,r-=1e3*i}return l(new e(1970,0,1,0,0,n,r))};for(var a in e)b(e,a)&&(t[a]=e[a]);$(t,{now:e.now,utc:e.utc},!0),t.prototype=e.prototype,$(t.prototype,{constructor:t},!0);var c=function(t){var r=n.exec(t);if(r){var a,c=l(r[1]),s=l(r[2]||1)-1,u=l(r[3]||1)-1,f=l(r[4]||0),p=l(r[5]||0),h=l(r[6]||0),d=math.floor(1e3*l(r[7]||0)),y=boolean(r[4]&&!r[8]),g="-"===r[9]?1:-1,v=l(r[10]||0),b=l(r[11]||0),m=p>0||h>0||d>0;return f<(m?24:25)&&p<60&&h<60&&d<1e3&&s>-1&&s<12&&v<24&&b<60&&u>-1&&u=0;)n+=gt.data[t],gt.data[t]=math.floor(n/e),n=n%e*gt.base},numtostring:function(){for(var e=gt.size,t="";--e>=0;)if(""!==t||0===e||0!==gt.data[e]){var n=s(gt.data[e]);""===t?t=n:t+=z("0000000",0,7-n.length)+n}return t},pow:function zt(e,t,n){return 0===t?n:t%2===1?zt(e,t-1,n*e):zt(e*e,t/2,n)},log:function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}},vt=function(e){var t,n,r,o,i,a,c,u;if(t=l(e),t=a(t)?0:math.floor(t),t<0||t>20)throw new rangeerror("number.tofixed called with invalid number of decimals");if(n=l(this),a(n))return"nan";if(n<=-1e21||n>=1e21)return s(n);if(r="",n<0&&(r="-",n=-n),o="0",n>1e-21)if(i=gt.log(n*gt.pow(2,69,1))-69,a=i<0?n*gt.pow(2,-i,1):n/gt.pow(2,i,1),a*=4503599627370496,i=52-i,i>0){for(gt.multiply(0,a),c=t;c>=7;)gt.multiply(1e7,0),c-=7;for(gt.multiply(gt.pow(10,c,1),0),c=i-1;c>=23;)gt.divide(1<<23),c-=23;gt.divide(1<0?(u=o.length,o=u<=t?r+z("0.0000000000000000000",0,t-u+2)+o:r+z(o,0,u-t)+"."+z(o,u-t)):o=r+o,o};$(f,{tofixed:vt},yt);var bt=function(){try{return"1"===1..toprecision(void 0)}catch(e){return!0}}(),mt=f.toprecision;$(f,{toprecision:function(e){return"undefined"==typeof e?mt.call(this):mt.call(this,e)}},bt),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var e="undefined"==typeof/()??/.exec("")[1],n=math.pow(2,32)-1;u.split=function(r,o){var i=string(this);if("undefined"==typeof r&&0===o)return[];if(!t(r))return h(this,r,o);var a,c,s,u,l=[],f=(r.ignorecase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":""),p=0,h=new regexp(r.source,f+"g");e||(a=new regexp("^"+h.source+"$(?!\\s)",f));var y="undefined"==typeof o?n:l.touint32(o);for(c=h.exec(i);c&&(s=c.index+c[0].length,!(s>p&&(y(l,z(i,p,c.index)),!e&&c.length>1&&c[0].replace(a,function(){for(var e=1;e1&&c.index=y)));)h.lastindex===c.index&&h.lastindex++,c=h.exec(i);return p===i.length?!u&&h.test("")||y(l,""):y(l,z(i,p)),l.length>y?j(l,0,y):l}}():"0".split(void 0,0).length&&(u.split=function(e,t){return"undefined"==typeof e&&0===t?[]:h(this,e,t)});var wt=u.replace,ot=function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){y(e,n)}),1===e.length&&"undefined"==typeof e[0]}();ot||(u.replace=function(n,r){var o=e(r),i=t(n)&&/\)[*?]/.test(n.source);if(o&&i){var a=function(e){var t=arguments.length,o=n.lastindex;n.lastindex=0;var i=n.exec(e)||[];return n.lastindex=o,y(i,arguments[t-2],arguments[t-1]),r.apply(this,i)};return wt.call(this,n,a)}return wt.call(this,n,r)});var tt=u.substr,jt="".substr&&"b"!=="0b".substr(-1);$(u,{substr:function(e,t){var n=e;return e<0&&(n=w(this.length+e,0)),tt.call(this,n,t)}},jt);var xt="\t\n\x0b\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff",et="\u200b",st="["+xt+"]",dt=new regexp("^"+st+st+"*"),_t=new regexp(st+st+"*$"),mt=u.trim&&(xt.trim()||!et.trim());$(u,{trim:function(){if("undefined"==typeof this||null===this)throw new typeerror("can't convert "+this+" to object");return s(this).replace(dt,"").replace(_t,"")}},mt);var pt=b.bind(string.prototype.trim),it=u.lastindexof&&"abc\u3042\u3044".lastindexof("\u3042\u3044",2)!==-1;$(u,{lastindexof:function(e){if("undefined"==typeof this||null===this)throw new typeerror("can't convert "+this+" to object");for(var t=s(this),n=s(e),r=arguments.length>1?l(arguments[1]):nan,o=a(r)?1/0:l.tointeger(r),i=o(w(o,0),t.length),a=n.length,c=i+a;c>0;){c=w(0,c-a);var u=w(z(t,c,i+a),n);if(u!==-1)return c+u}return-1}},it);var ct=u.lastindexof;if($(u,{lastindexof:function(e){return ct.apply(this,arguments)}},1!==u.lastindexof.length),8===parseint(xt+"08")&&22===parseint(xt+"0x16")||(parseint=function(e){var t=/^[\-+]?0[xx]/;return function(n,r){var o=pt(n),i=l(r)||(t.test(o)?16:10);return e(o,i)}}(parseint)),1/parsefloat("-0")!==-(1/0)&&(parsefloat=function(e){return function(t){var n=pt(t),r=e(n);return 0===r&&"-"===z(n,0,1)?-0:r}}(parsefloat)),"rangeerror: test"!==string(new rangeerror("test"))){var ft=function(){if("undefined"==typeof this||null===this)throw new typeerror("can't convert "+this+" to object");var e=this.name;"undefined"==typeof e?e="error":"string"!=typeof e&&(e=s(e));var t=this.message;return"undefined"==typeof t?t="":"string"!=typeof t&&(t=s(t)),e?t?e+": "+t:e:t};error.prototype.tostring=ft}if(r){var nt=function(e,t){if(q(e,t)){var n=object.getownpropertydescriptor(e,t);n.enumerable=!1,object.defineproperty(e,t,n)}};nt(error.prototype,"message"),""!==error.prototype.message&&(error.prototype.message=""),nt(error.prototype,"name")}if("/a/gim"!==string(/a/gim)){var kt=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignorecase&&(e+="i"),this.multiline&&(e+="m"),e};regexp.prototype.tostring=kt}}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.returnexports=t()}(this,function(){var e,t,n,r,o=function.call,i=object.prototype,a=o.bind(i.hasownproperty),c=o.bind(i.propertyisenumerable),s=o.bind(i.tostring),u=a(i,"__definegetter__");u&&(e=o.bind(i.__definegetter__),t=o.bind(i.__definesetter__),n=o.bind(i.__lookupgetter__),r=o.bind(i.__lookupsetter__)),object.getprototypeof||(object.getprototypeof=function(e){var t=e.__proto__;return t||null===t?t:"[object function]"===s(e.constructor)?e.constructor.prototype:e instanceof object?i:null});var l=function(e){try{return e.sentinel=0,0===object.getownpropertydescriptor(e,"sentinel").value}catch(t){return!1}};if(object.defineproperty){var f=l({}),p="undefined"==typeof document||l(document.createelement("div"));if(!p||!f)var h=object.getownpropertydescriptor}if(!object.getownpropertydescriptor||h){var d="object.getownpropertydescriptor called on a non-object: ";object.getownpropertydescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new typeerror(d+e);if(h)try{return h.call(object,e,t)}catch(o){}var s;if(!a(e,t))return s;if(s={enumerable:c(e,t),configurable:!0},u){var l=e.__proto__,f=e!==i;f&&(e.__proto__=i);var p=n(e,t),y=r(e,t);if(f&&(e.__proto__=l),p||y)return p&&(s.get=p),y&&(s.set=y),s}return s.value=e[t],s.writable=!0,s}}if(object.getownpropertynames||(object.getownpropertynames=function(e){return object.keys(e)}),!object.create){var y,g=!({__proto__:null}instanceof object),v=function(){if(!document.domain)return!1;try{return!!new activexobject("htmlfile")}catch(e){return!1}},b=function(){var e,t;return t=new activexobject("htmlfile"),t.write(""),t.close(),e=t.parentwindow.object.prototype,t=null,e},m=function(){var e,t=document.createelement("iframe"),n=document.body||document.documentelement;return t.style.display="none",n.appendchild(t),t.src="javascript:",e=t.contentwindow.object.prototype,n.removechild(t),t=null,e};y=g||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var e=v()?b():m();delete e.constructor,delete e.hasownproperty,delete e.propertyisenumerable,delete e.isprototypeof,delete e.tolocalestring,delete e.tostring,delete e.valueof;var t=function(){};return t.prototype=e,y=function(){return new t},new t},object.create=function(e,t){var n,r=function(){};if(null===e)n=y();else{if("object"!=typeof e&&"function"!=typeof e)throw new typeerror("object prototype may only be an object or null");r.prototype=e,n=new r,n.__proto__=e}return void 0!==t&&object.defineproperties(n,t),n}}var w=function(e){try{return object.defineproperty(e,"sentinel",{}),"sentinel"in e}catch(t){return!1}};if(object.defineproperty){var o=w({}),t="undefined"==typeof document||w(document.createelement("div"));if(!o||!t)var j=object.defineproperty,x=object.defineproperties}if(!object.defineproperty||j){var e="property description must be an object: ",s="object.defineproperty called on non-object: ",d="getters & setters can not be defined on this javascript engine";object.defineproperty=function(o,a,c){if("object"!=typeof o&&"function"!=typeof o||null===o)throw new typeerror(s+o);if("object"!=typeof c&&"function"!=typeof c||null===c)throw new typeerror(e+c);if(j)try{return j.call(object,o,a,c)}catch(s){}if("value"in c)if(u&&(n(o,a)||r(o,a))){var l=o.__proto__;o.__proto__=i,delete o[a],o[a]=c.value,o.__proto__=l}else o[a]=c.value;else{if(!u&&("get"in c||"set"in c))throw new typeerror(d);"get"in c&&e(o,a,c.get),"set"in c&&t(o,a,c.set)}return o}}object.defineproperties&&!x||(object.defineproperties=function(e,t){if(x)try{return x.call(object,e,t)}catch(n){}return object.keys(t).foreach(function(n){"__proto__"!==n&&object.defineproperty(e,n,t[n])}),e}),object.seal||(object.seal=function(e){if(object(e)!==e)throw new typeerror("object.seal can only be called on objects.");return e}),object.freeze||(object.freeze=function(e){if(object(e)!==e)throw new typeerror("object.freeze can only be called on objects.");return e});try{object.freeze(function(){})}catch(_){object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(object.freeze)}object.preventextensions||(object.preventextensions=function(e){if(object(e)!==e)throw new typeerror("object.preventextensions can only be called on objects.");return e}),object.issealed||(object.issealed=function(e){if(object(e)!==e)throw new typeerror("object.issealed can only be called on objects.");return!1}),object.isfrozen||(object.isfrozen=function(e){if(object(e)!==e)throw new typeerror("object.isfrozen can only be called on objects.");return!1}),object.isextensible||(object.isextensible=function(e){if(object(e)!==e)throw new typeerror("object.isextensible can only be called on objects.");for(var t="";a(e,t);)t+="?";e[t]=!0;var n=a(e,t);return delete e[t],n})}),function(e){"use strict";e.console=e.console||{};for(var t,n,r=e.console,o={},i=function(){},a="memory".split(","),c="assert,clear,count,debug,dir,dirxml,error,exception,group,groupcollapsed,groupend,info,log,marktimeline,profile,profiles,profileend,show,table,time,timeend,timeline,timelineend,timestamp,trace,warn".split(",");t=a.pop();)r[t]||(r[t]=o);for(;n=c.pop();)"function"!=typeof r[n]&&(r[n]=i)}("undefined"==typeof window?this:window),!window.addeventlistener&&function(e,t,n,r,o,i,a){e[r]=t[r]=n[r]=function(e,t){var n=this;a.unshift([n,e,t,function(e){e.currenttarget=n,e.preventdefault=function(){e.returnvalue=!1},e.stoppropagation=function(){e.cancelbubble=!0},e.target=e.srcelement||n,t.call(n,e)}]),this.attachevent("on"+e,a[0][3])},e[o]=t[o]=n[o]=function(e,t){for(var n,r=0;n=a[r];++r)if(n[0]==this&&n[1]==e&&n[2]==t)return this.detachevent("on"+e,a.splice(r,1)[0][3])},e[i]=t[i]=n[i]=function(e){return this.fireevent("on"+e.type,e)}}(window.prototype,htmldocument.prototype,element.prototype,"addeventlistener","removeeventlistener","dispatchevent",[]),function(e,t){"use strict";var n=function(){var e=document.createelement("div");return e.style.csstext="font-size: 1rem;",/rem/.test(e.style.fontsize)},r=function(){for(var e=document.getelementsbytagname("link"),t=[],n=0;n0?(b=[],v=[],d=[],o()):c()}},a=function(e,t){for(var n,r=f(e).replace(/\/\*[\s\s]*?\*\//g,""),o=/[\w\d\s\-\/\\\[\]:,.'"*()<>+~%#^$_=|@]+\{[\w\d\s\-\/\\%#:!;,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!;,.'"*()]*\}/g,i=r.match(o),a=/\d*\.?\d+rem/g,c=r.match(a),s=/(.*\/)/,u=s.exec(t)[0],l=/@import (?:url\()?['"]?([^'\)"]*)['"]?\)?[^;]*/gm;null!==(n=l.exec(e));)0===n[1].indexof("/")?d.push(n[1]):d.push(u+n[1]);null!==i&&0!==i.length&&(y=y.concat(i),g=g.concat(c))},c=function(){for(var e=/[\w\d\s\-\/\\%#:,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!,.'"*()]*[;}]/g,t=0;t #mq-test-1 { width: 42px; }',n.insertbefore(o,r),t=42===i.offsetwidth,n.removechild(o),{matches:t,media:e}}}(e.document)}(this),function(e){"use strict";function t(){o(!0)}var n={};e.respond=n,n.update=function(){};var r=[],o=function(){var t=!1;try{t=new e.xmlhttprequest}catch(n){t=new e.activexobject("microsoft.xmlhttp")}return function(){return t; }}(),i=function(e,t){var n=o();n&&(n.open("get",e,!0),n.onreadystatechange=function(){4!==n.readystate||200!==n.status&&304!==n.status||t(n.responsetext)},4!==n.readystate&&n.send(null))},a=function(e){return e.replace(n.regex.minmaxwh,"").match(n.regex.other)};if(n.ajax=i,n.queue=r,n.unsupportedmq=a,n.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^\/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findstyles:/@media *([^\{]+)\{([\s\s]+?)$/,only:/(only\s+)?([a-za-z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},n.mediaqueriessupported=e.matchmedia&&null!==e.matchmedia("only all")&&e.matchmedia("only all").matches,!n.mediaqueriessupported){var c,s,u,l=e.document,f=l.documentelement,p=[],h=[],d=[],y={},g=30,v=l.getelementsbytagname("head")[0]||f,b=l.getelementsbytagname("base")[0],m=v.getelementsbytagname("link"),w=function(){var e,t=l.createelement("div"),n=l.body,r=f.style.fontsize,o=n&&n.style.fontsize,i=!1;return t.style.csstext="position:absolute;font-size:1em;width:1em",n||(n=i=l.createelement("body"),n.style.background="none"),f.style.fontsize="100%",n.style.fontsize="100%",n.appendchild(t),i&&f.insertbefore(n,f.firstchild),e=t.offsetwidth,i?f.removechild(n):n.removechild(t),f.style.fontsize=r,o&&(n.style.fontsize=o),e=u=parsefloat(e)},o=function(t){var n="clientwidth",r=f[n],o="css1compat"===l.compatmode&&r||l.body[n]||r,i={},a=m[m.length-1],y=(new date).gettime();if(t&&c&&g>y-c)return e.cleartimeout(s),void(s=e.settimeout(o,g));c=y;for(var b in p)if(p.hasownproperty(b)){var t=p[b],j=t.minw,x=t.maxw,e=null===j,s=null===x,d="em";j&&(j=parsefloat(j)*(j.indexof(d)>-1?u||w():1)),x&&(x=parsefloat(x)*(x.indexof(d)>-1?u||w():1)),t.hasquery&&(e&&s||!(e||o>=j)||!(s||x>=o))||(i[t.media]||(i[t.media]=[]),i[t.media].push(h[t.rules]))}for(var _ in d)d.hasownproperty(_)&&d[_]&&d[_].parentnode===v&&v.removechild(d[_]);d.length=0;for(var m in i)if(i.hasownproperty(m)){var p=l.createelement("style"),i=i[m].join("\n");p.type="text/css",p.media=m,v.insertbefore(p,a.nextsibling),p.stylesheet?p.stylesheet.csstext=i:p.appendchild(l.createtextnode(i)),d.push(p)}},t=function(e,t,r){var o=e.replace(n.regex.comments,"").replace(n.regex.keyframes,"").match(n.regex.media),i=o&&o.length||0;t=t.substring(0,t.lastindexof("/"));var c=function(e){return e.replace(n.regex.urls,"$1"+t+"$2$3")},s=!i&&r;t.length&&(t+="/"),s&&(i=1);for(var u=0;i>u;u++){var l,f,d,y;s?(l=r,h.push(c(e))):(l=o[u].match(n.regex.findstyles)&®exp.$1,h.push(regexp.$2&&c(regexp.$2))),d=l.split(","),y=d.length;for(var g=0;y>g;g++)f=d[g],a(f)||p.push({media:f.split("(")[0].match(n.regex.only)&®exp.$2||"all",rules:h.length-1,hasquery:f.indexof("(")>-1,minw:f.match(n.regex.minw)&&parsefloat(regexp.$1)+(regexp.$2||""),maxw:f.match(n.regex.maxw)&&parsefloat(regexp.$1)+(regexp.$2||"")})}o()},j=function(){if(r.length){var t=r.shift();i(t.href,function(n){t(n,t.href,t.media),y[t.href]=!0,e.settimeout(function(){j()},0)})}},x=function(){for(var t=0;t