if(!this.JSON){JSON={}}(function(){function f(n){return n<10?'0'+n:n}if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(a){return this.getUTCFullYear()+'-'+f(this.getUTCMonth()+1)+'-'+f(this.getUTCDate())+'T'+f(this.getUTCHours())+':'+f(this.getUTCMinutes())+':'+f(this.getUTCSeconds())+'Z'};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()}}var g=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,h=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l,m,o={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},p;function q(b){h.lastIndex=0;return h.test(b)?'"'+b.replace(h,function(a){var c=o[a];if(typeof c==='string'){return c}return'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+b+'"'}function r(a,b){var i,k,v,c,d=l,e,f=b[a];if(f&&typeof f==='object'&&typeof f.toJSON==='function'){f=f.toJSON(a)}if(typeof p==='function'){f=p.call(b,a,f)}switch(typeof f){case'string':return q(f);case'number':return isFinite(f)?String(f):'null';case'boolean':case'null':return String(f);case'object':if(!f){return'null'}l+=m;e=[];if(typeof f.length==='number'&&!f.propertyIsEnumerable('length')){c=f.length;for(i=0;i<c;i+=1){e[i]=r(i,f)||'null'}v=e.length===0?'[]':l?'[\n'+l+e.join(',\n'+l)+'\n'+d+']':'['+e.join(',')+']';l=d;return v}if(p&&typeof p==='object'){c=p.length;for(i=0;i<c;i+=1){k=p[i];if(typeof k==='string'){v=r(k,f);if(v){e.push(q(k)+(l?': ':':')+v)}}}}else{for(k in f){if(Object.hasOwnProperty.call(f,k)){v=r(k,f);if(v){e.push(q(k)+(l?': ':':')+v)}}}}v=e.length===0?'{}':l?'{\n'+l+e.join(',\n'+l)+'\n'+d+'}':'{'+e.join(',')+'}';l=d;return v}}if(typeof JSON.stringify!=='function'){JSON.stringify=function(a,b,c){var i;l='';m='';if(typeof c==='number'){for(i=0;i<c;i+=1){m+=' '}}else if(typeof c==='string'){m=c}p=b;if(b&&typeof b!=='function'&&(typeof b!=='object'||typeof b.length!=='number')){throw new Error('JSON.stringify');}return r('',{'':a})}}if(typeof JSON.parse!=='function'){JSON.parse=function(d,e){var j;function f(a,b){var k,v,c=a[b];if(c&&typeof c==='object'){for(k in c){if(Object.hasOwnProperty.call(c,k)){v=f(c,k);if(v!==undefined){c[k]=v}else{delete c[k]}}}}return e.call(a,b,c)}g.lastIndex=0;if(g.test(d)){d=d.replace(g,function(a){return'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(d.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,''))){j=eval('('+d+')');return typeof e==='function'?f({'':j},''):j}throw new SyntaxError('JSON.parse');}}})();