(function(g){function e(a){return 10>a?"0"+a:a}function m(a){h.lastIndex=0;return h.test(a)?'"'+a.replace(h,function(a){var c=n[a];return"string"===typeof c?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function k(a,c){var f,e=d,b=c[a];b&&"object"===typeof b&&"function"===typeof b.toJSON&&(b=b.toJSON(a));"function"===typeof l&&(b=l.call(c,a,b));switch(typeof b){case "string":return m(b);case "number":return isFinite(b)?String(b):"null";case "boolean":case "null":return String(b);
case "object":if(!b)return"null";a=[];if("[object Array]"===Object.prototype.toString.apply(b)){c=b.length;for(f=0;f<c;f+=1)a[f]=k(f,b)||"null";c=0===a.length?"[]":d?"[\n"+d+a.join(",\n"+d)+"\n"+e+"]":"["+a.join(",")+"]";d=e;return c}for(f in b)Object.hasOwnProperty.call(b,f)&&(c=k(f,b))&&a.push(m(f)+(d?": ":":")+c);c=0===a.length?"{}":d?"{\n"+d+a.join(",\n"+d)+"\n"+e+"}":"{"+a.join(",")+"}";d=e;return c}}"function"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(a){return this.valueOf()?
this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var h=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;g.toJSON=function(a,
c){d="";l=c;return k("",{"":a})};g.evalJSON=function(a){return(new Function("return ("+a+")"))()};g.j2d=function(a){if(null==a)return null;a=a.split(".");return Dates.newInstance([parseInt(a[0],10),parseInt(a[1])-1,parseInt(a[2]),parseInt(a[3]),parseInt(a[4]),parseInt(a[5]),parseInt(a[6])],"UTC")};g.d2j=function(a){return a?[a.getUTCFullYear(),a.getUTCMonth()+1,a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()].join("."):null}})(jq);
