(function(){$.extend($,{UserConfig:function(f,g){g=g||{};try{var a=("sessionStorage"==g.type?window.sessionStorage:window.localStorage)||{};a.support_check=(new Date).getTime()}catch(h){a={}}if("string"!==typeof f)throw Error('UserConfig Error: Your Namespace must be a string, such as UserConfig("namespace")');var c=function(b,d){var e=[f,".",b].join("");if(void 0===d)return a[e];try{return a[e]=d}catch(g){c.removeAll(!0);try{return a[e]=d}catch(h){}return d}};c.remove=function(b){b=[f,".",b].join("");
a.removeItem?a.removeItem(b):delete a[b]};c.get=function(b,a){var e=c(b);return void 0!==a&&(null===e||void 0===e)?c(b,a):e};c.set=function(a,d){if(void 0!==d)return c(a,d)};c.removeAll=function(b){for(key in a)if(0===key.indexOf(f)||b)a.removeItem?a.removeItem(key):delete a[key]};return c}})})();
