var defColumns={uniprot:"id,entry name,reviewed,protein names,genes,organism,length",uniparc:"id,organisms,kb,first-seen,last-seen,length",uniref:"id,reviewed,name,count,members,organisms,length,identity",proteomes:"id,name,organism-id,proteincount,busco,cpd,assembly_representation"};
var cookieNames={longColumns:"-longColumns4",viewColumns:"-view-columns4",cart:"cart4",basket:"basket4",blastOptions:"blast-options4",allSelected:"allSelected4",jobNames:"jobs4",columns:"-columns4",javaScriptLoaded:"javaScriptLoaded4",uploadListColumns:"-columns4",resultsDownload:"-results-download4",helpBox:"-help4",limit:"limit4",peptideSearchOptions:"peptidesearch-options4",uploadOptions:"upload-options4",sectionsView:"-sections-view4",privacy:"uniprot-privacy-policy"};
var uniprot={};var __bind=function(a,b){return function(){return a.apply(b,arguments)
}};String.prototype.replaceAll=function(b,a){return this.replace(new RegExp(b,"g"),a)
};String.prototype.startsWith=function(a){return(this.indexOf(a)==0)};String.prototype.endsWith=function(a){return(this.indexOf(a)===(a.length-1))
};uniprot.IframeOnload=function(b){var a=function(){try{var d=b.contentDocument.body;
var c=d.firstChild.getBoundingClientRect();var f=d.querySelector(".interaction-tooltip").getBoundingClientRect();
b.style.height=(Math.max(c.height,f.bottom)+20)+"px";b.style.width=(Math.max(c.right,f.right)+20)+"px"
}catch(g){if(g instanceof TypeError){console.log("not yet ready to resize interaction viewer",g)
}throw g}};setTimeout(a,500);setTimeout(a,2000);setTimeout(a,4000);setTimeout(a,8000);
b.contentDocument.addEventListener("click",function(){setTimeout(a,200)})};uniprot.protVistaIframeLoad=function(c){window.pv=c;
var a=function(){var e=c.contentDocument.body;var d=e.querySelector(":nth-child(2)").getBoundingClientRect();
var f=e.querySelectorAll("protvista-tooltip")[0];if(f.style.display&&"none"!==f.style.display){var g=f.getBoundingClientRect();
c.style.width=(Math.max(d.right,g.right)+20)+"px";c.style.height=(Math.max(d.height,g.bottom)+20)+"px"
}else{c.style.height=(d.height+20)+"px";c.style.width=(d.right+20)+"px"}};var b=setInterval(function(){var d=window.pv.contentDocument.body;
if(d.querySelectorAll("protvista-tooltip").length>0){clearInterval(b);a();delete window.pv
}},1000);c.contentDocument.addEventListener("click",function(){setTimeout(a,200)})
};uniprot.namespace="";uniprot.jobid="";uniprot.resultsize=0;