File: /www/wwwroot//www.xxlht.com/sh/027/js/v2-legacy.js
!function(t,e){"use strict";"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,function(){var t,e=Array.prototype,r=Object.prototype,n=Function.prototype,o=String.prototype,i=Number.prototype,u=e.slice,a=e.splice,c=e.push,f=e.unshift,l=n.call,s=r.toString,p=Array.isArray||function(t){return"[object Array]"===s.call(t)},h="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,y=Function.prototype.toString,g=function(t){try{y.call(t);return!0}catch(e){return!1}},b="[object Function]",d="[object GeneratorFunction]";t=function(t){if("function"!=typeof t)return!1;if(h)return g(t);var e=s.call(t);return e===b||e===d};var v,O=RegExp.prototype.exec,j=function(t){try{O.call(t);return!0}catch(e){return!1}},m="[object RegExp]";v=function(t){return"object"!=typeof t?!1:h?j(t):s.call(t)===m};var w,x=String.prototype.valueOf,_=function(t){try{x.call(t);return!0}catch(e){return!1}},S="[object String]";w=function(t){return"string"==typeof t?!0:"object"!=typeof t?!1:h?_(t):s.call(t)===S};var T=function(e){var r=s.call(e),n="[object Arguments]"===r;n||(n=!p(e)&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&t(e.callee));return n},E=function(t){var e,r=Object.defineProperty&&function(){try{Object.defineProperty({},"x",{});return!0}catch(t){return!1}}();e=r?function(t,e,r,n){!n&&e in t||Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r})}:function(t,e,r,n){!n&&e in t||(t[e]=r)};return function(r,n,o){for(var i in n)t.call(n,i)&&e(r,i,n[i],o)}}(r.hasOwnProperty),N=function(t){var e=typeof t;return null===t||"object"!==e&&"function"!==e},P={ToInteger:function(t){var e=+t;e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e)));return e},ToPrimitive:function(e){var r,n,o;if(N(e))return e;n=e.valueOf;if(t(n)){r=n.call(e);if(N(r))return r}o=e.toString;if(t(o)){r=o.call(e);if(N(r))return r}throw new TypeError},ToObject:function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)},ToUint32:function(t){return t>>>0}},I=function(){};E(n,{bind:function(e){var r=this;if(!t(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,o=u.call(arguments,1),i=function(){if(this instanceof n){var t=r.apply(this,o.concat(u.call(arguments)));return Object(t)===t?t:this}return r.apply(e,o.concat(u.call(arguments)))},a=Math.max(0,r.length-o.length),c=[],f=0;a>f;f++)c.push("$"+f);n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this, arguments); }")(i);if(r.prototype){I.prototype=r.prototype;n.prototype=new I;I.prototype=null}return n}});var D=l.bind(r.hasOwnProperty),F=function(){var t=[1,2],e=t.splice();return 2===t.length&&p(e)&&0===e.length}();E(e,{splice:function(t,e){return 0===arguments.length?[]:a.apply(this,arguments)}},!F);var M=function(){var t={};e.splice.call(t,0,0,1);return 1===t.length}();E(e,{splice:function(t,e){if(0===arguments.length)return[];var r=arguments;this.length=Math.max(P.ToInteger(this.length),0);if(arguments.length>0&&"number"!=typeof e){r=u.call(arguments);r.length<2?r.push(this.length-t):r[1]=P.ToInteger(e)}return a.apply(this,r)}},!M);var C=1!==[].unshift(0);E(e,{unshift:function(){f.apply(this,arguments);return this.length}},C);E(Array,{isArray:p});var J=Object("a"),U="a"!==J[0]||!(0 in J),k=function(t){var e=!0,r=!0;if(t){t.call("foo",function(t,r,n){"object"!=typeof n&&(e=!1)});t.call([1],function(){"use strict";r="string"==typeof this},"x")}return!!t&&e&&r};E(e,{forEach:function(e){var r=P.ToObject(this),n=U&&w(this)?this.split(""):r,o=arguments[1],i=-1,u=n.length>>>0;if(!t(e))throw new TypeError;for(;++i<u;)i in n&&e.call(o,n[i],i,r)}},!k(e.forEach));E(e,{map:function(e){var r=P.ToObject(this),n=U&&w(this)?this.split(""):r,o=n.length>>>0,i=Array(o),u=arguments[1];if(!t(e))throw new TypeError(e+" is not a function");for(var a=0;o>a;a++)a in n&&(i[a]=e.call(u,n[a],a,r));return i}},!k(e.map));E(e,{filter:function(e){var r,n=P.ToObject(this),o=U&&w(this)?this.split(""):n,i=o.length>>>0,u=[],a=arguments[1];if(!t(e))throw new TypeError(e+" is not a function");for(var c=0;i>c;c++)if(c in o){r=o[c];e.call(a,r,c,n)&&u.push(r)}return u}},!k(e.filter));E(e,{every:function(e){var r=P.ToObject(this),n=U&&w(this)?this.split(""):r,o=n.length>>>0,i=arguments[1];if(!t(e))throw new TypeError(e+" is not a function");for(var u=0;o>u;u++)if(u in n&&!e.call(i,n[u],u,r))return!1;return!0}},!k(e.every));E(e,{some:function(e){var r=P.ToObject(this),n=U&&w(this)?this.split(""):r,o=n.length>>>0,i=arguments[1];if(!t(e))throw new TypeError(e+" is not a function");for(var u=0;o>u;u++)if(u in n&&e.call(i,n[u],u,r))return!0;return!1}},!k(e.some));var A=!1;e.reduce&&(A="object"==typeof e.reduce.call("es5",function(t,e,r,n){return n}));E(e,{reduce:function(e){var r=P.ToObject(this),n=U&&w(this)?this.split(""):r,o=n.length>>>0;if(!t(e))throw new TypeError(e+" is not a function");if(!o&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,u=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(u in n){i=n[u++];break}if(++u>=o)throw new TypeError("reduce of empty array with no initial value")}for(;o>u;u++)u in n&&(i=e.call(void 0,i,n[u],u,r));return i}},!A);var R=!1;e.reduceRight&&(R="object"==typeof e.reduceRight.call("es5",function(t,e,r,n){return n}));E(e,{reduceRight:function(e){var r=P.ToObject(this),n=U&&w(this)?this.split(""):r,o=n.length>>>0;if(!t(e))throw new TypeError(e+" is not a function");if(!o&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,u=o-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(u in n){i=n[u--];break}if(--u<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>u)return i;do u in n&&(i=e.call(void 0,i,n[u],u,r));while(u--);return i}},!R);var z=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);E(e,{indexOf:function(t){var e=U&&w(this)?this.split(""):P.ToObject(this),r=e.length>>>0;if(!r)return-1;var n=0;arguments.length>1&&(n=P.ToInteger(arguments[1]));n=n>=0?n:Math.max(0,r+n);for(;r>n;n++)if(n in e&&e[n]===t)return n;return-1}},z);var Z=Array.prototype.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);E(e,{lastIndexOf:function(t){var e=U&&w(this)?this.split(""):P.ToObject(this),r=e.length>>>0;if(!r)return-1;var n=r-1;arguments.length>1&&(n=Math.min(n,P.ToInteger(arguments[1])));n=n>=0?n:r-Math.abs(n);for(;n>=0;n--)if(n in e&&t===e[n])return n;return-1}},Z);var $=!{toString:null}.propertyIsEnumerable("toString"),q=function(){}.propertyIsEnumerable("prototype"),G=!D("x","0"),B=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],H=B.length;E(Object,{keys:function(e){var r=t(e),n=T(e),o=null!==e&&"object"==typeof e,i=o&&w(e);if(!o&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var u=[],a=q&&r;if(i&&G||n)for(var c=0;c<e.length;++c)u.push(String(c));if(!n)for(var f in e)a&&"prototype"===f||!D(e,f)||u.push(String(f));if($)for(var l=e.constructor,s=l&&l.prototype===e,p=0;H>p;p++){var h=B[p];s&&"constructor"===h||!D(e,h)||u.push(h)}return u}});var L=Object.keys&&function(){return 2===Object.keys(arguments).length}(1,2),Y=Object.keys;E(Object,{keys:function(t){return Y(T(t)?e.slice.call(t):t)}},!L);var W=-621987552e5,X="-000001",K=Date.prototype.toISOString&&-1===new Date(W).toISOString().indexOf(X);E(Date.prototype,{toISOString:function(){var t,e,r,n,o;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");n=this.getUTCFullYear();o=this.getUTCMonth();n+=Math.floor(o/12);o=(o%12+12)%12;t=[o+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];n=(0>n?"-":n>9999?"+":"")+("00000"+Math.abs(n)).slice(n>=0&&9999>=n?-4:-6);e=t.length;for(;e--;){r=t[e];10>r&&(t[e]="0"+r)}return n+"-"+t.slice(0,2).join("-")+"T"+t.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}},K);var Q=function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(W).toJSON().indexOf(X)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(t){return!1}}();Q||(Date.prototype.toJSON=function(e){var r=Object(this),n=P.ToPrimitive(r);if("number"==typeof n&&!isFinite(n))return null;var o=r.toISOString;if(!t(o))throw new TypeError("toISOString property is not callable");return o.call(r)});var V=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),tt=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z")),et=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));(!Date.parse||et||tt||!V)&&(Date=function(t){var e=function a(e,r,n,o,i,u,c){var f=arguments.length;if(this instanceof t){var l=1===f&&String(e)===e?new t(a.parse(e)):f>=7?new t(e,r,n,o,i,u,c):f>=6?new t(e,r,n,o,i,u):f>=5?new t(e,r,n,o,i):f>=4?new t(e,r,n,o):f>=3?new t(e,r,n):f>=2?new t(e,r):f>=1?new t(e):new t;E(l,{constructor:a},!0);return l}return t.apply(this,arguments)},r=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),n=[0,31,59,90,120,151,181,212,243,273,304,334,365],o=function(t,e){var r=e>1?1:0;return n[e]+Math.floor((t-1969+r)/4)-Math.floor((t-1901+r)/100)+Math.floor((t-1601+r)/400)+365*(t-1970)},i=function(e){return Number(new t(1970,0,1,0,0,0,e))};for(var u in t)e[u]=t[u];e.now=t.now;e.UTC=t.UTC;e.prototype=t.prototype;e.prototype.constructor=Date;e.parse=function(e){var n=r.exec(e);if(n){var u,a=Number(n[1]),c=Number(n[2]||1)-1,f=Number(n[3]||1)-1,l=Number(n[4]||0),s=Number(n[5]||0),p=Number(n[6]||0),h=Math.floor(1e3*Number(n[7]||0)),y=Boolean(n[4]&&!n[8]),g="-"===n[9]?1:-1,b=Number(n[10]||0),d=Number(n[11]||0);if((s>0||p>0||h>0?24:25)>l&&60>s&&60>p&&1e3>h&&c>-1&&12>c&&24>b&&60>d&&f>-1&&f<o(a,c+1)-o(a,c)){u=60*(24*(o(a,c)+f)+l+b*g);u=1e3*(60*(u+s+d*g)+p)+h;y&&(u=i(u));if(u>=-864e13&&864e13>=u)return u}return NaN}return t.parse.apply(this,arguments)};return e}(Date));Date.now||(Date.now=function(){return(new Date).getTime()});var rt=i.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0)),nt={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(t,e){for(var r=-1,n=e;++r<nt.size;){n+=t*nt.data[r];nt.data[r]=n%nt.base;n=Math.floor(n/nt.base)}},divide:function(t){for(var e=nt.size,r=0;--e>=0;){r+=nt.data[e];nt.data[e]=Math.floor(r/t);r=r%t*nt.base}},numToString:function(){for(var t=nt.size,e="";--t>=0;)if(""!==e||0===t||0!==nt.data[t]){var r=String(nt.data[t]);""===e?e=r:e+="0000000".slice(0,7-r.length)+r}return e},pow:function gt(t,e,r){return 0===e?r:e%2===1?gt(t,e-1,r*t):gt(t*t,e/2,r)},log:function(t){for(var e=0,r=t;r>=4096;){e+=12;r/=4096}for(;r>=2;){e+=1;r/=2}return e}};E(i,{toFixed:function(t){var e,r,n,o,i,u,a,c;e=Number(t);e=e!==e?0:Math.floor(e);if(0>e||e>20)throw new RangeError("Number.toFixed called with invalid number of decimals");r=Number(this);if(r!==r)return"NaN";if(-1e21>=r||r>=1e21)return String(r);n="";if(0>r){n="-";r=-r}o="0";if(r>1e-21){i=nt.log(r*nt.pow(2,69,1))-69;u=0>i?r*nt.pow(2,-i,1):r/nt.pow(2,i,1);u*=4503599627370496;i=52-i;if(i>0){nt.multiply(0,u);a=e;for(;a>=7;){nt.multiply(1e7,0);a-=7}nt.multiply(nt.pow(10,a,1),0);a=i-1;for(;a>=23;){nt.divide(1<<23);a-=23}nt.divide(1<<a);nt.multiply(1,1);nt.divide(2);o=nt.numToString()}else{nt.multiply(0,u);nt.multiply(1<<-i,0);o=nt.numToString()+"0.00000000000000000000".slice(2,2+e)}}if(e>0){c=o.length;o=e>=c?n+"0.0000000000000000000".slice(0,e-c+2)+o:n+o.slice(0,c-e)+"."+o.slice(c-e)}else o=n+o;return o}},rt);var ot=o.split;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 t="undefined"==typeof/()??/.exec("")[1];o.split=function(e,r){var n=this;if("undefined"==typeof e&&0===r)return[];if(!v(e))return ot.call(this,e,r);var o,i,u,a,f=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":""),s=0,p=new RegExp(e.source,l+"g");n+="";t||(o=new RegExp("^"+p.source+"$(?!\\s)",l));var h="undefined"==typeof r?-1>>>0:P.ToUint32(r);i=p.exec(n);for(;i;){u=i.index+i[0].length;if(u>s){f.push(n.slice(s,i.index));!t&&i.length>1&&i[0].replace(o,function(){for(var t=1;t<arguments.length-2;t++)"undefined"==typeof arguments[t]&&(i[t]=void 0)});i.length>1&&i.index<n.length&&c.apply(f,i.slice(1));a=i[0].length;s=u;if(f.length>=h)break}p.lastIndex===i.index&&p.lastIndex++;i=p.exec(n)}s===n.length?(a||!p.test(""))&&f.push(""):f.push(n.slice(s));return f.length>h?f.slice(0,h):f}}():"0".split(void 0,0).length&&(o.split=function(t,e){return"undefined"==typeof t&&0===e?[]:ot.call(this,t,e)});var it=o.replace,ut=function(){var t=[];"x".replace(/x(.)?/g,function(e,r){t.push(r)});return 1===t.length&&"undefined"==typeof t[0]}();ut||(o.replace=function(e,r){var n=t(r),o=v(e)&&/\)[*?]/.test(e.source);if(n&&o){var i=function(t){var n=arguments.length,o=e.lastIndex;e.lastIndex=0;var i=e.exec(t)||[];e.lastIndex=o;i.push(arguments[n-2],arguments[n-1]);return r.apply(this,i)};return it.call(this,e,i)}return it.call(this,e,r)});var at=o.substr,ct="".substr&&"b"!=="0b".substr(-1);E(o,{substr:function(t,e){var r=t;0>t&&(r=Math.max(this.length+t,0));return at.call(this,r,e)}},ct);var ft=" \n\x0B\f\r \u2028\u2029\ufeff",lt="",st="["+ft+"]",pt=new RegExp("^"+st+st+"*"),ht=new RegExp(st+st+"*$"),yt=o.trim&&(ft.trim()||!lt.trim());E(o,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(pt,"").replace(ht,"")}},yt);(8!==parseInt(ft+"08")||22!==parseInt(ft+"0x16"))&&(parseInt=function(t){var e=/^0[xX]/;return function(r,n){var o=String(r).trim(),i=Number(n)||(e.test(o)?16:10);return t(o,i)}}(parseInt))});!function(t,e){"use strict";"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,function(){var t,e,r,n,o=Function.prototype.call,i=Object.prototype,u=o.bind(i.hasOwnProperty),a=u(i,"__defineGetter__");if(a){t=o.bind(i.__defineGetter__);e=o.bind(i.__defineSetter__);r=o.bind(i.__lookupGetter__);n=o.bind(i.__lookupSetter__)}Object.getPrototypeOf||(Object.getPrototypeOf=function(t){var e=t.__proto__;return e||null===e?e:t.constructor?t.constructor.prototype:i});var c=function(t){try{t.sentinel=0;return 0===Object.getOwnPropertyDescriptor(t,"sentinel").value}catch(e){return!1}};if(Object.defineProperty){var f=c({}),l="undefined"==typeof document||c(document.createElement("div"));if(!l||!f)var s=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||s){var p="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(t,e){if("object"!=typeof t&&"function"!=typeof t||null===t)throw new TypeError(p+t);if(s)try{return s.call(Object,t,e)}catch(o){}var c;if(!u(t,e))return c;c={enumerable:!0,configurable:!0};if(a){var f=t.__proto__,l=t!==i;l&&(t.__proto__=i);var h=r(t,e),y=n(t,e);l&&(t.__proto__=f);if(h||y){h&&(c.get=h);y&&(c.set=y);return c}}c.value=t[e];c.writable=!0;return c}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(t){return Object.keys(t)});if(!Object.create){var h,y=!({__proto__:null}instanceof Object);h=y||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var t=document.createElement("iframe"),e=document.body||document.documentElement;t.style.display="none";e.appendChild(t);t.src="javascript:";var r=t.contentWindow.Object.prototype;e.removeChild(t);t=null;delete r.constructor;delete r.hasOwnProperty;delete r.propertyIsEnumerable;delete r.isPrototypeOf;delete r.toLocaleString;delete r.toString;delete r.valueOf;r.__proto__=null;var n=function(){};n.prototype=r;h=function(){return new n};return new n};Object.create=function(t,e){var r,n=function(){};if(null===t)r=h();else{if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object prototype may only be an Object or null");n.prototype=t;r=new n;r.__proto__=t}void 0!==e&&Object.defineProperties(r,e);return r}}var g=function(t){try{Object.defineProperty(t,"sentinel",{});return"sentinel"in t}catch(e){return!1}};if(Object.defineProperty){var b=g({}),d="undefined"==typeof document||g(document.createElement("div"));if(!b||!d)var v=Object.defineProperty,O=Object.defineProperties}if(!Object.defineProperty||v){var j="Property description must be an object: ",m="Object.defineProperty called on non-object: ",w="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(o,u,c){if("object"!=typeof o&&"function"!=typeof o||null===o)throw new TypeError(m+o);if("object"!=typeof c&&"function"!=typeof c||null===c)throw new TypeError(j+c);if(v)try{return v.call(Object,o,u,c)}catch(f){}if("value"in c)if(a&&(r(o,u)||n(o,u))){var l=o.__proto__;o.__proto__=i;delete o[u];o[u]=c.value;o.__proto__=l}else o[u]=c.value;else{if(!a)throw new TypeError(w);"get"in c&&t(o,u,c.get);"set"in c&&e(o,u,c.set)}return o}}(!Object.defineProperties||O)&&(Object.defineProperties=function(t,e){if(O)try{return O.call(Object,t,e)}catch(r){}for(var n in e)u(e,n)&&"__proto__"!==n&&Object.defineProperty(t,n,e[n]);return t});Object.seal||(Object.seal=function(t){if(Object(t)!==t)throw new TypeError("Object.seal can only be called on Objects.");return t});Object.freeze||(Object.freeze=function(t){if(Object(t)!==t)throw new TypeError("Object.freeze can only be called on Objects.");return t});try{Object.freeze(function(){})}catch(x){Object.freeze=function(t){return function(e){return"function"==typeof e?e:t(e)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(t){if(Object(t)!==t)throw new TypeError("Object.preventExtensions can only be called on Objects.");return t});Object.isSealed||(Object.isSealed=function(t){if(Object(t)!==t)throw new TypeError("Object.isSealed can only be called on Objects.");return!1});Object.isFrozen||(Object.isFrozen=function(t){if(Object(t)!==t)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1});Object.isExtensible||(Object.isExtensible=function(t){if(Object(t)!==t)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var e="";u(t,e);)e+="?";t[e]=!0;var r=u(t,e);delete t[e];return r})});"object"!=typeof JSON&&(JSON={});!function(){"use strict";function f(t){return 10>t?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){rx_escapable.lastIndex=0;return rx_escapable.test(t)?'"'+t.replace(rx_escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var r,n,o,i,u,a=gap,c=e[t];c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(t));"function"==typeof rep&&(c=rep.call(e,t,c));switch(typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";gap+=indent;u=[];if("[object Array]"===Object.prototype.toString.apply(c)){i=c.length;for(r=0;i>r;r+=1)u[r]=str(r,c)||"null";o=0===u.length?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+a+"]":"["+u.join(",")+"]";gap=a;return o}if(rep&&"object"==typeof rep){i=rep.length;for(r=0;i>r;r+=1)if("string"==typeof rep[r]){n=rep[r];o=str(n,c);o&&u.push(quote(n)+(gap?": ":":")+o)}}else for(n in c)if(Object.prototype.hasOwnProperty.call(c,n)){o=str(n,c);o&&u.push(quote(n)+(gap?": ":":")+o)}o=0===u.length?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+a+"}":"{"+u.join(",")+"}";gap=a;return o}}var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;if("function"!=typeof Date.prototype.toJSON){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};Boolean.prototype.toJSON=this_value;Number.prototype.toJSON=this_value;String.prototype.toJSON=this_value}var gap,indent,meta,rep;if("function"!=typeof JSON.stringify){meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};JSON.stringify=function(t,e,r){var n;gap="";indent="";if("number"==typeof r)for(n=0;r>n;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);rep=e;if(e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}}"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var r,n,o=t[e];if(o&&"object"==typeof o)for(r in o)if(Object.prototype.hasOwnProperty.call(o,r)){n=walk(o,r);void 0!==n?o[r]=n:delete o[r]}return reviver.call(t,e,o)}var j;text=String(text);rx_dangerous.lastIndex=0;rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}));if(rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,""))){j=eval("("+text+")");return"function"==typeof reviver?walk({"":j},""):j}throw new SyntaxError("JSON.parse")})}();