(function(l){var i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,k={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function h(a){return'"'+a.replace(i,function(c){var b=k[c];return typeof b==="string"?b:"\\u"+("0000"+c.charCodeAt(0).toString(16)).slice(-4)})+'"'}function f(a){return a<10?"0"+a:a}function j(a,b){var c,d,g,e,p=b[a],q=typeof p;if(p&&typeof p==="object"&&typeof p.toJSON==="function"){p=p.toJSON(a);q=typeof p}switch(q){case"string":return h(p);case"number":return isFinite(p)?String(p):"null";case"boolean":return String(p);case"object":if(!p){return"null"}switch(Object.prototype.toString.call(p)){case"[object Date]":return isFinite(p.valueOf())?'"'+p.getUTCFullYear()+"-"+f(p.getUTCMonth()+1)+"-"+f(p.getUTCDate())+"T"+f(p.getUTCHours())+":"+f(p.getUTCMinutes())+":"+f(p.getUTCSeconds())+'Z"':"null";case"[object Array]":g=p.length;e=[];for(c=0;c<g;c++){e.push(j(c,p)||"null")}return"["+e.join(",")+"]";default:e=[];for(c in p){if(Object.prototype.hasOwnProperty.call(p,c)){d=j(c,p);if(d){e.push(h(c)+":"+d)}}}return"{"+e.join(",")+"}"}}}l.stringifyJSON=function(a){if(window.JSON&&window.JSON.stringify){return window.JSON.stringify(a)}return j("",{"":a})}}(jQuery));