//>>built
require({cache:{"JBrowse/Plugin":function(){define(["dojo/_base/declare","JBrowse/Component"],function(h,l){return h(l,{constructor:function(b){this.name=b.name;this.cssLoaded=b.cssLoaded;this._finalizeConfig(b.config)},_defaultConfig:function(){return{baseUrl:"/plugins/"+this.name}}})})}}});
define("CategoryUrl/main",["dojo/_base/declare","dojo/_base/lang","dojo/Deferred","JBrowse/Plugin","JBrowse/Util"],function(h,l,b,m,n){return h(m,{constructor:function(b){var e=this;this.browser.oldShowTracks=this.browser.showTracks;this.browser.showTracks=function(f){var b=0,g=e.browser.config.tracks,a=e.getUrlParam("cat");if(null!=a){for(var k=a.split("/"),a=0;a<k.length;a++)k[a]=k[a].replace(/^[ ]+|[ ]+$/g,"");b=k.length}if(b){for(a=0;a<g.length;a++){var d=[],c=0;"undefined"!==typeof g[a].metadata&&
"undefined"!==typeof g[a].metadata.category&&(d=g[a].metadata.category.split("/"),c=d.length);"undefined"!==typeof g[a].category&&(d=g[a].category.split("/"),c=d.length);if(b<=c){for(c=0;c<d.length;c++)d[c]=d[c].replace(/^[ ]+|[ ]+$/g,"");for(var h=!0,c=0;c<b;c++)k[c]!=d[c]&&(h=!1);!0==h&&f.push(g[a].label)}}f=n.uniq(f)}e.browser.oldShowTracks(f)}},getUrlParam:function(b,e){e||(e=window.location.href);b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var f=RegExp("[\\?\x26]"+b+"\x3d([^\x26#]*)").exec(e);
return null==f?null:decodeURIComponent(f[1])}})});
//# sourceMappingURL=main.js.map