(function(){!function(n){var e;null==n.gl&&(n.gl={}),null==(e=n.gl).utils&&(e.utils={}),n.gl.utils.getParameterValues=function(n){var e,t,l,r,i;for(t=decodeURIComponent(window.location.search.substring(1)),r=t.split("&"),l=void 0,i=[],e=0;e<r.length;)l=r[e].split("="),l[0]===n&&i.push(l[1].replace(/\+/g," ")),e++;return i},n.gl.utils.mergeUrlParams=function(n,e){var t,l,r,i,o;l=decodeURIComponent(e);for(r in n)i=n[r],o=new RegExp("\\b("+r+"=).*?(&|$)"),l=null==i?l.replace(o,""):-1!==e.search(o)?l.replace(o,"$1"+i+"$2"):""+l+(l.indexOf("?")>0?"&":"?")+r+"="+i;return t=l[l.length-1],"&"===t&&(l=l.slice(0,-1)),l},n.gl.utils.removeParamQueryString=function(n,e){var t,l;return n=decodeURIComponent(n),t=n.split("&"),function(){var n,r,i;for(i=[],n=0,r=t.length;r>n;n++)l=t[n],-1===l.indexOf(e)&&i.push(l);return i}().join("&")},n.gl.utils.getLocationHash=function(n){var e;return"undefined"==typeof n&&(n=window.location.href),e=n.indexOf("#"),-1===e?null:n.substring(e+1)}}(window)}).call(this);