new function(a){var b=a.separator||"&";var f=a.spaces===false?false:true;var g=a.suffix===false?"":"[]";var e=a.prefix===false?false:true;var d=e?a.hash===true?"#":"?":"";var c=a.numbers===false?false:true;jQuery.query=new function(){var i=function(l,m){return l!=undefined&&l!==null&&(!!m?l.constructor==m:true)};var h=function(n){var p,q=/\[([^[]*)\]/g,o=/^([^[]+)(\[.*\])?$/.exec(n),l=o[1],r=[];while(p=q.exec(o[2])){r.push(p[1])}return[l,r]};var k=function(s,q,l){var n,r=q.shift();if(typeof s!="object"){s=null}if(r===""){if(!s){s=[]}if(i(s,Array)){s.push(q.length==0?l:k(null,q.slice(0),l))}else{if(i(s,Object)){var m=0;while(s[m++]!=null){}s[--m]=q.length==0?l:k(s[m],q.slice(0),l)}else{s=[];s.push(q.length==0?l:k(null,q.slice(0),l))}}}else{if(r&&r.match(/^\s*[0-9]+\s*$/)){var t=parseInt(r,10);if(!s){s=[]}s[t]=q.length==0?l:k(s[t],q.slice(0),l)}else{if(r){var t=r.replace(/^\s*|\s*$/g,"");if(!s){s={}}if(i(s,Array)){var p={};for(var m=0;m<s.length;++m){p[m]=s[m]}s=p}s[t]=q.length==0?l:k(s[t],q.slice(0),l)}else{return l}}}return s};var j=function(l){var m=this;m.keys={};if(l.queryObject){jQuery.each(l.get(),function(n,o){m.SET(n,o)})}else{jQuery.each(arguments,function(){var n=""+this;n=n.replace(/^[?#]/,"");n=n.replace(/[;&]$/,"");if(f){n=n.replace(/[+]/g," ")}jQuery.each(n.split(/[&;]/),function(){var o=decodeURIComponent(this.split("=")[0]||"");var p=decodeURIComponent(this.split("=")[1]||"");if(!o){return}if(c){if(/^[+-]?[0-9]+\.[0-9]*$/.test(p)){p=parseFloat(p)}else{if(/^[+-]?[0-9]+$/.test(p)){p=parseInt(p,10)}}}p=(!p&&p!==0)?true:p;if(p!==false&&p!==true&&typeof p!="number"){p=p}m.SET(o,p)})})}return m};j.prototype={queryObject:true,has:function(n,m){var l=this.get(n);return i(l,m)},GET:function(p){if(!i(p)){return this.keys}var o=h(p),n=o[0],m=o[1];var l=this.keys[n];while(l!=null&&m.length!=0){l=l[m.shift()]}return typeof l=="number"?l:l||""},get:function(l){var m=this.GET(l);if(i(m,Object)){return jQuery.extend(true,{},m)}else{if(i(m,Array)){return m.slice(0)}}return m},SET:function(q,n){var l=!i(n)?null:n;var r=h(q),m=r[0],p=r[1];var o=this.keys[m];this.keys[m]=k(o,p.slice(0),l);return this},set:function(l,m){return this.copy().SET(l,m)},REMOVE:function(l){return this.SET(l,null).COMPACT()},remove:function(l){return this.copy().REMOVE(l)},EMPTY:function(){var l=this;jQuery.each(l.keys,function(m,n){delete l.keys[m]});return l},load:function(l){var n=l.replace(/^.*?[#](.+?)(?:\?.+)?$/,"$1");var m=l.replace(/^.*?[?](.+?)(?:#.+)?$/,"$1");return new j(l.length==m.length?"":m,l.length==n.length?"":n)},empty:function(){return this.copy().EMPTY()},copy:function(){return new j(this)},COMPACT:function(){function l(m){var o=typeof m=="object"?i(m,Array)?[]:{}:m;if(typeof m=="object"){function n(p,r,q){if(i(p,Array)){p.push(q)}else{p[r]=q}}jQuery.each(m,function(p,q){if(!i(q)){return true}n(o,p,l(q))})}return o}this.keys=l(this.keys);return this},compact:function(){return this.copy().COMPACT()},toString:function(){var l=0,r=[],o=[],m=this;var q=function(s){s=s+"";return encodeURIComponent(s)};var n=function(s,v,t){if(!i(t)||t===false){return}var u=[q(v)];if(t!==true){u.push("=");u.push(q(t))}s.push(u.join(""))};var p=function(u,t){var s=function(v){return !t||t==""?[v].join(""):[t,"[",v,"]"].join("")};jQuery.each(u,function(v,w){if(typeof w=="object"){p(w,s(v))}else{n(o,s(v),w)}})};p(this.keys);if(o.length>0){r.push(d)}r.push(o.join(b));return r.join("")}};return new j(location.search,location.hash)}}(jQuery.query||{});
