(function(){var e=function(e){var t=this,n=function(){var t={undHash:/_|-/,colons:/::/,words:/([A-Z]+)([A-Z][a-z])/g,lowUp:/([a-z\d])([A-Z])/g,dash:/([a-z\d])([A-Z])/g,replacer:/\{([^\}]+)\}/g,dot:/\./},n=function(e,t,n){return e[t]!==undefined?e[t]:n&&(e[t]={})},r=function(e){var t=typeof e;return e&&(t=="function"||t=="object")},i,s=e.String=e.extend(e.String||{},{getObject:i=function(i,s,o){var u=i?i.split(t.dot):[],a=u.length,f,l,c,h=0,p;s=e.isArray(s)?s:[s||window];if(a==0)return s[0];while(f=s[h++]){for(c=0;c<a-1&&r(f);c++)f=n(f,u[c],o);if(r(f)){l=n(f,u[c],o);if(l!==undefined)return o===!1&&delete f[u[c]],l}}},capitalize:function(e,t){return e.charAt(0).toUpperCase()+e.substr(1)},camelize:function(e){return e=s.classize(e),e.charAt(0).toLowerCase()+e.substr(1)},classize:function(e,n){var r=e.split(t.undHash),i=0;for(;i<r.length;i++)r[i]=s.capitalize(r[i]);return r.join(n||"")},niceName:function(e){return s.classize(e," ")},underscore:function(e){return e.replace(t.colons,"/").replace(t.words,"$1_$2").replace(t.lowUp,"$1_$2").replace(t.dash,"_").toLowerCase()},sub:function(e,n,r){var s=[];return s.push(e.replace(t.replacer,function(e,t){var o=i(e,n,typeof r=="boolean"?!r:r)||i(t,n,typeof r=="boolean"?!r:r),u=typeof o;return u!=="object"&&u!=="function"||u===null?""+o:(s.push(o),"")})),s.length>1?s:s[0]},_regs:t})};n(),t.resolveWith(n)};dispatch("mvc/lang.string").containing(e).to("Foundry/2.1 Modules")})();