YUI.add("querystring-parse",function(c,r){var u=c.namespace("QueryString"),a=function(i){return function s(r,e){var n,a,t;return 2!==arguments.length?(r=r.split(i),s(u.unescape(r.shift()),u.unescape(r.join(i)))):(r=r.replace(/^\s+|\s+$/g,""),c.Lang.isString(e)&&(e=e.replace(/^\s+|\s+$/g,""),isNaN(e)||e===(n=+e).toString(10)&&(e=n)),(n=/(.*)\[([^\]]*)\]$/.exec(r))?(a=n[2],n=n[1],a?((t={})[a]=e,s(n,t)):s(n,[e])):(t={},r&&(t[r]=e),t))}},i=function(r,e){{if(r){if(c.Lang.isArray(r))return r.concat(e);if(c.Lang.isObject(r)&&c.Lang.isObject(e)){var n=r,a=e,t;for(t in a)t&&a.hasOwnProperty(t)&&(n[t]=i(n[t],a[t]));return n}return[r].concat(e)}return e}};u.parse=function(r,e,n){return c.Array.reduce(c.Array.map(r.split(e||"&"),a(n||"=")),{},i)},u.unescape=function(r){return decodeURIComponent(r.replace(/\+/g," "))}},"patched-v3.18.4",{requires:["yui-base","array-extras"]});