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