//>>built
define("dojox/secure/fromJson",["dijit","dojo","dojox"],function(E,v,w){v.provide("dojox.secure.fromJson");w.secure.fromJson="undefined"!=typeof JSON?JSON.parse:function(){function x(q,k,l){return k?y[k]:String.fromCharCode(parseInt(l,16))}var z=RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),A=RegExp("\\\\(?:([^u])|u(.{4}))","g"),y={'"':'"',"/":"/","\\":"\\",
b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},B=new String(""),C=Object.hasOwnProperty;return function(q,k){var l=q.match(z),c=l[0],m=!1;if("{"===c)var f={};else"["===c?f=[]:(f=[],m=!0);for(var b,d=[f],n=1-m,D=l.length;n<D;++n)switch(c=l[n],c.charCodeAt(0)){default:var a=d[0];a[b||a.length]=+c;b=void 0;break;case 34:c=c.substring(1,c.length-1);-1!==c.indexOf("\\")&&(c=c.replace(A,x));a=d[0];if(!b)if(a instanceof Array)b=a.length;else{b=c||B;break}a[b]=c;b=void 0;break;case 91:a=d[0];d.unshift(a[b||a.length]=
[]);b=void 0;break;case 93:d.shift();break;case 102:a=d[0];a[b||a.length]=!1;b=void 0;break;case 110:a=d[0];a[b||a.length]=null;b=void 0;break;case 116:a=d[0];a[b||a.length]=!0;b=void 0;break;case 123:a=d[0];d.unshift(a[b||a.length]={});b=void 0;break;case 125:d.shift()}if(m){if(1!==d.length)throw Error();f=f[0]}else if(d.length)throw Error();if(k){var t=function(p,r){var e=p[r];if(e&&"object"===typeof e){var h=null,g;for(g in e)if(C.call(e,g)&&e!==p){var u=t(e,g);void 0!==u?e[g]=u:(h||(h=[]),h.push(g))}if(h)for(g=
h.length;0<=--g;)delete e[h[g]]}return k.call(p,r,e)};f=t({"":f},"")}return f}}()});