comparison test-data/venn_diagram_summary.html @ 0:6f22d2726103 draft default tip

planemo upload
author lnguyen
date Fri, 15 Sep 2017 09:32:19 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6f22d2726103
1 <!DOCTYPE html>
2 <!--
3 # Copyright (C) 2015 INRA
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 -->
18 <html>
19 <head>
20 <title>Jvenn+</title>
21 <meta charset="UTF-8">
22 <meta name="version" content="2.0.1">
23 <link rel="stylesheet" href="https://cdn.datatables.net/1.10.6/css/jquery.dataTables.css"></link>
24 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"></link>
25 <style type="text/css">
26 #js-alert {
27 width: 90%;
28 margin-right: auto;
29 margin-left: auto;
30 }
31 #content {
32 width: 90%;
33 margin-right: auto;
34 margin-left: auto;
35 }
36 .clear {
37 clear: both;
38 height: 0px;
39 width: 100%;
40 float: none !important;
41 }
42 ul.nav-tabs {
43 margin-bottom: 30px;
44 }
45 #venn-filters {
46 padding: 10px;
47 background-color: #FFF;
48 background-clip: padding-box;
49 border: 1px solid rgba(0, 0, 0, 0.15);
50 border-radius: 4px;
51 box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
52 margin-right: auto;
53 margin-left: auto;
54 margin-bottom: 30px;
55 }
56 #byFilters-jvenn {
57 margin-right: auto;
58 margin-left: auto;
59 }
60 #venn-filters ul {
61 list-style-type: none;
62 }
63 </style>
64
65 <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
66 <script type="text/javascript" src="http://code.highcharts.com/4.1.4/highcharts.js"></script>
67 <script type="text/javascript" src="http://code.highcharts.com/4.1.4/modules/exporting.js"></script>
68 <script type="text/javascript" src="https://cdn.datatables.net/1.10.6/js/jquery.dataTables.min.js"></script>
69 <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
70 <script type="text/javascript">
71 /***************************************************************
72 * Copyright notice
73 *
74 * (c) 2014 PF bioinformatique de Toulouse
75 * All rights reserved
76 *
77 *
78 * This script is an adaptation of the venny script developed by
79 * Juan Carlos Oliveros, BioinfoGP, CNB-CSIC:
80 * Oliveros, J.C. (2007) VENNY. An interactive tool for comparing
81 * lists with Venn Diagrams.
82 * http://bioinfogp.cnb.csic.es/tools/venny/index.html.
83 * It is distributed under the terms of the GNU General Public
84 * License as published by the Free Software Foundation; either
85 * version 2 of the License, or (at your option) any later version.
86 *
87 * The GNU General Public License can be found at
88 * http://www.gnu.org/copyleft/gpl.html.
89 *
90 * This script is distributed in the hope that it will be useful,
91 * but WITHOUT ANY WARRANTY; without even the implied warranty of
92 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
93 * GNU General Public License for more details.
94 *
95 * This copyright notice MUST APPEAR in all copies of the script!
96 ***************************************************************/
97 !function(){"use strict";function s(s,t){var e,l=Object.keys(t);for(e=0;e<l.length;e++)s=s.replace(new RegExp("\\{"+l[e]+"\\}","gi"),t[l[e]]);return s}function t(s){var t,e,l;if(!s)throw new Error("cannot create a random attribute name for an undefined object");t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",e="";do for(e="",l=0;12>l;l++)e+=t[Math.floor(Math.random()*t.length)];while(s[e]);return e}function e(s,t){var e,l,r,o={};for(s=s.split(","),t=t||10,e=0;e<s.length;e+=2)l="&"+s[e+1]+";",r=parseInt(s[e],t),o[l]="&#"+r+";";return o["\\xa0"]="&#160;",o}function l(s){var t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[s]||t.start}function r(s){var t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[s]||t.alphabetic}var o,c,i,a,u;u=e("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),o={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"}},i=function(s){this.__root=s},i.prototype.addColorStop=function(t,e){var l,r,o=document.createElementNS("http://www.w3.org/2000/svg","stop");o.setAttribute("offset",t),-1!==e.indexOf("rgba")?(l=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,r=l.exec(e),o.setAttribute("stop-color",s("rgb({r},{g},{b})",{r:r[1],g:r[2],b:r[3]})),o.setAttribute("stop-opacity",r[4])):o.setAttribute("stop-color",e),this.__root.appendChild(o)},a=function(s,t){this.__root=s,this.__ctx=t},c=function(s){var t,e={width:500,height:500,enableMirroring:!1};return arguments.length>1?(t=e,t.width=arguments[0],t.height=arguments[1]):t=s?s:e,this instanceof c?(this.width=t.width||e.width,this.height=t.height||e.height,this.enableMirroring=void 0!==t.enableMirroring?t.enableMirroring:e.enableMirroring,this.canvas=this,this.__canvas=document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.__setDefaultStyles(),this.__stack=[this.__getStyleState()],this.__groupStack=[],this.__root=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__root.setAttribute("version",1.1),this.__root.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__root.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__root.setAttribute("width",this.width),this.__root.setAttribute("height",this.height),this.__ids={},this.__defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__root.appendChild(this.__defs),this.__currentElement=document.createElementNS("http://www.w3.org/2000/svg","g"),void this.__root.appendChild(this.__currentElement)):new c(t)},c.prototype.__createElement=function(s,t,e){var l,r,o=document.createElementNS("http://www.w3.org/2000/svg",s),c=Object.keys(t);for(e&&(o.setAttribute("fill","none"),o.setAttribute("stroke","none")),l=0;l<c.length;l++)r=c[l],o.setAttribute(r,t[r]);return o},c.prototype.__setDefaultStyles=function(){var s,t,e=Object.keys(o);for(s=0;s<e.length;s++)t=e[s],this[t]=o[t].canvas},c.prototype.__applyStyleState=function(s){var t,e,l=Object.keys(s);for(t=0;t<l.length;t++)e=l[t],this[e]=s[e]},c.prototype.__getStyleState=function(){var s,t,e={},l=Object.keys(o);for(s=0;s<l.length;s++)t=l[s],e[t]=this[t];return e},c.prototype.__applyStyleToCurrentElement=function(t){var e,l,r,c,u,p,n=Object.keys(o);for(e=0;e<n.length;e++)if(l=o[n[e]],r=this[n[e]],l.apply)if(-1!==l.apply.indexOf("fill")&&r instanceof a){if(r.__ctx)for(;r.__ctx.__defs.childNodes.length;)c=r.__ctx.__defs.childNodes[0].getAttribute("id"),this.__ids[c]=c,this.__defs.appendChild(r.__ctx.__defs.childNodes[0]);this.__currentElement.setAttribute("fill",s("url(#{id})",{id:r.__root.getAttribute("id")}))}else-1!==l.apply.indexOf("fill")&&r instanceof i?this.__currentElement.setAttribute("fill",s("url(#{id})",{id:r.__root.getAttribute("id")})):-1!==l.apply.indexOf(t)&&l.svg!==r&&("stroke"!==l.svgAttr&&"fill"!==l.svgAttr||-1===r.indexOf("rgba")?this.__currentElement.setAttribute(l.svgAttr,r):(u=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,p=u.exec(r),this.__currentElement.setAttribute(l.svgAttr,s("rgb({r},{g},{b})",{r:p[1],g:p[2],b:p[3]})),this.__currentElement.setAttribute(l.svgAttr+"-opacity",p[4])))},c.prototype.__closestGroupOrSvg=function(s){return s=s||this.__currentElement,"g"===s.nodeName||"svg"===s.nodeName?s:this.__closestGroupOrSvg(s.parentNode)},c.prototype.getSerializedSvg=function(s){var t,e,l,r,o,c,i=(new XMLSerializer).serializeToString(this.__root);if(c=/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi,c.test(i)&&(i=i.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),s)for(t=Object.keys(u),e=0;e<t.length;e++)l=t[e],r=u[l],o=new RegExp(l,"gi"),o.test(i)&&(i=i.replace(o,r));return i},c.prototype.getSvg=function(){return this.__root},c.prototype.save=function(){var s=document.createElementNS("http://www.w3.org/2000/svg","g"),t=this.__closestGroupOrSvg();this.__groupStack.push(t),t.appendChild(s),this.__currentElement=s,this.__stack.push(this.__getStyleState())},c.prototype.restore=function(){this.__currentElement=this.__groupStack.pop();var s=this.__stack.pop();this.__applyStyleState(s)},c.prototype.__addTransform=function(s){var t=this.__currentElement.getAttribute("transform");t?t+=" ":t="",t+=s,this.__currentElement.setAttribute("transform",t)},c.prototype.scale=function(t,e){void 0===e&&(e=t),this.__addTransform(s("scale({x},{y})",{x:t,y:e}))},c.prototype.rotate=function(t){var e=180*t/Math.PI;this.__addTransform(s("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))},c.prototype.translate=function(t,e){this.__addTransform(s("translate({x},{y})",{x:t,y:e}))},c.prototype.transform=function(t,e,l,r,o,c){this.__addTransform(s("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:l,d:r,e:o,f:c}))},c.prototype.beginPath=function(){var s,t;s=this.__createElement("path",{},!0),t=this.__closestGroupOrSvg(),t.appendChild(s),this.__currentElement=s},c.prototype.__addPathCommand=function(s){if("path"!==this.__currentElement.nodeName)throw new Error("Attempted to add path command to node "+this.__currentElement.nodeName);var t=this.__currentElement.getAttribute("d");t?t+=" ":t="",t+=s,this.__currentElement.setAttribute("d",t)},c.prototype.moveTo=function(t,e){"path"!==this.__currentElement.nodeName&&this.beginPath(),this.__addPathCommand(s("M {x} {y}",{x:t,y:e}))},c.prototype.closePath=function(){this.__addPathCommand("Z")},c.prototype.lineTo=function(t,e){this.__addPathCommand(s("L {x} {y}",{x:t,y:e}))},c.prototype.bezierCurveTo=function(t,e,l,r,o,c){this.__addPathCommand(s("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:l,cp2y:r,x:o,y:c}))},c.prototype.quadraticCurveTo=function(t,e,l,r){this.__addPathCommand(s("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:l,y:r}))},c.prototype.stroke=function(){this.__applyStyleToCurrentElement("stroke")},c.prototype.fill=function(){this.__applyStyleToCurrentElement("fill")},c.prototype.rect=function(s,t,e,l){"path"!==this.__currentElement.nodeName&&this.beginPath(),this.moveTo(s,t),this.lineTo(s+e,t),this.lineTo(s+e,t+l),this.lineTo(s,t+l),this.lineTo(s,t),this.closePath()},c.prototype.fillRect=function(s,t,e,l){var r,o;r=this.__createElement("rect",{x:s,y:t,width:e,height:l},!0),o=this.__closestGroupOrSvg(),o.appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("fill")},c.prototype.strokeRect=function(s,t,e,l){var r,o;r=this.__createElement("rect",{x:s,y:t,width:e,height:l},!0),o=this.__closestGroupOrSvg(),o.appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("stroke")},c.prototype.clearRect=function(s,t,e,l){var r,o=this.__closestGroupOrSvg();r=this.__createElement("rect",{x:s,y:t,width:e,height:l,fill:"#FFFFFF"},!0),o.appendChild(r)},c.prototype.createLinearGradient=function(s,e,l,r){var o=this.__createElement("linearGradient",{id:t(this.__ids),x1:s+"px",x2:l+"px",y1:e+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(o),new i(o)},c.prototype.createRadialGradient=function(s,e,l,r,o,c){var a=this.__createElement("radialGradient",{id:t(this.__ids),cx:r+"px",cy:o+"px",r:c+"px",fx:s+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(a),new i(a)},c.prototype.__parseFont=function(){var s,t,e=this.font,l=0,r={style:"normal",size:"10px",family:"sans-serif",weight:"normal",decoration:"none",href:null};for("underline"===this.__fontUnderline&&(r.decoration="underline"),this.__fontHref&&(r.href=this.__fontHref),s=e.split(" "),t=s[l];/italic|bold|normal/.test(t);)"bold"===t?r.weight=t:r.style=t,l++,t=s[l];return/em|px|pt|%/.test(t)&&(r.size=t,l++),s.splice(0,l),r.family=s.join(" "),r},c.prototype.__wrapTextLink=function(s,t){if(s.href){var e=document.createElementNS("http://www.w3.org/2000/svg","a");return e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s.href),e.appendChild(t),e}return t},c.prototype.__applyText=function(s,t,e,o){var c=this.__parseFont(),i=this.__closestGroupOrSvg(),a=this.__createElement("text",{"font-family":c.family,"font-size":c.size,"font-style":c.style,"font-weight":c.weight,"text-decoration":c.decoration,x:t,y:e,"text-anchor":l(this.textAlign),"dominant-baseline":r(this.textBaseline)},!0);a.appendChild(document.createTextNode(s)),this.__currentElement=a,this.__applyStyleToCurrentElement(o),i.appendChild(this.__wrapTextLink(c,a))},c.prototype.fillText=function(s,t,e){this.__applyText(s,t,e,"fill")},c.prototype.strokeText=function(s,t,e){this.__applyText(s,t,e,"stroke")},c.prototype.measureText=function(s){return this.__ctx.font=this.font,this.__ctx.measureText(s)},c.prototype.arc=function(t,e,l,r,o,c){r%=2*Math.PI,o%=2*Math.PI,r===o&&(o=(o+2*Math.PI-.001*(c?-1:1))%(2*Math.PI));var i=t+l*Math.cos(o),a=e+l*Math.sin(o),u=t+l*Math.cos(r),p=e+l*Math.sin(r),n=c?0:1,C=0,f=o-r;0>f&&(f+=2*Math.PI),C=c?f>Math.PI?0:1:f>Math.PI?1:0,this.moveTo(u,p),this.__addPathCommand(s("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:l,ry:l,xAxisRotation:0,largeArcFlag:C,sweepFlag:n,endX:i,endY:a}))},c.prototype.clip=function(){var e=this.__closestGroupOrSvg(),l=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),r=t(this.__ids),o=document.createElementNS("http://www.w3.org/2000/svg","g");e.removeChild(this.__currentElement),l.setAttribute("id",r),l.appendChild(this.__currentElement),this.__defs.appendChild(l),e.setAttribute("clip-path",s("url(#{id})",{id:r})),e.appendChild(o),this.__currentElement=o},c.prototype.drawImage=function(){var s,t,e,l,r,o,i,a,u,p,n,C,f,h,d,b=Array.prototype.slice.call(arguments),v=b[0],m=0,g=0;if(3===b.length)s=b[1],t=b[2],r=v.width,o=v.height,e=r,l=o;else if(5===b.length)s=b[1],t=b[2],e=b[3],l=b[4],r=v.width,o=v.height;else{if(9!==b.length)throw new Error("Inavlid number of arguments passed to drawImage: "+arguments.length);m=b[1],g=b[2],r=b[3],o=b[4],s=b[5],t=b[6],e=b[7],l=b[8]}if(i=this.__closestGroupOrSvg(),n=this.__currentElement,v instanceof c){for(a=v.getSvg(),u=a.childNodes[0];u.childNodes.length;)d=u.childNodes[0].getAttribute("id"),this.__ids[d]=d,this.__defs.appendChild(u.childNodes[0]);p=a.childNodes[1],i.appendChild(p),this.__currentElement=p,this.translate(s,t),this.__currentElement=n}else("CANVAS"===v.nodeName||"IMG"===v.nodeName)&&(C=document.createElementNS("http://www.w3.org/2000/svg","image"),C.setAttribute("width",e),C.setAttribute("height",l),C.setAttribute("preserveAspectRatio","none"),(m||g||r!==v.width||o!==v.height)&&(f=document.createElement("canvas"),f.width=e,f.height=l,h=f.getContext("2d"),h.drawImage(v,m,g,r,o,0,0,e,l),v=f),C.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","CANVAS"===v.nodeName?v.toDataURL():v.getAttribute("src")),i.appendChild(C),this.__currentElement=C,this.translate(s,t),this.__currentElement=n)},c.prototype.createPattern=function(s){var e,l=document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=t(this.__ids);return l.setAttribute("id",r),l.setAttribute("width",s.width),l.setAttribute("height",s.height),"CANVAS"===s.nodeName||"IMG"===s.nodeName?(e=document.createElementNS("http://www.w3.org/2000/svg","image"),e.setAttribute("width",s.width),e.setAttribute("height",s.height),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","CANVAS"===s.nodeName?s.toDataURL():s.getAttribute("src")),l.appendChild(e),this.__defs.appendChild(l)):s instanceof c&&(l.appendChild(s.__root.childNodes[1]),this.__defs.appendChild(l)),new a(l,this)},c.prototype.drawFocusRing=function(){},c.prototype.createImageData=function(){},c.prototype.getImageData=function(){},c.prototype.putImageData=function(){},c.prototype.globalCompositeOperation=function(){},c.prototype.arcTo=function(){},c.prototype.setTransform=function(){},window.C2S=c}(),function(s){s.fn.jvenn=function(e){function l(s,t,e,l,r,o,c){j.beginPath(),j.save(),j.translate(s,t),j.rotate(o*Math.PI/180),j.scale(l,r),j.arc(0,0,e,0,2*Math.PI),j.fillStyle=c,j.fill(),j.restore()}function r(s,t,e,l,r,o,c){j.beginPath(),j.save(),j.moveTo(s,t),j.lineTo(e,l),j.lineTo(r,o),j.fillStyle=c,j.fill(),j.restore()}function o(s,t,e,l,r){j.lineWidth=1,j.beginPath(),j.moveTo(s,t),j.lineTo(e,l),j.strokeStyle=r,j.stroke()}function c(s,t,e,l,r,o,c){j.beginPath(),j.save(),j.translate(s,t),j.rotate(o*Math.PI/180),j.scale(l,r),j.arc(0,0,e,0,2*Math.PI),j.lineWidth=3,j.strokeStyle=c,d(c)>=.6&&(j.fillStyle=h(c,.1),j.fill()),j.stroke(),j.restore()}function a(s){var t=!1;j.strokeStyle=s,j.lineWidth=3,j.beginPath(),j.arc(120,205,90,.25*Math.PI,1.75*Math.PI,t),j.stroke(),j.beginPath(),j.arc(370,205,90,1.25*Math.PI,.75*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,360,110,1.3*Math.PI,1.7*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,50,110,.3*Math.PI,.7*Math.PI,t),j.stroke(),d(s)>=.6&&(j.save(),j.beginPath(),j.moveTo(0,0),j.lineTo(500,0),j.lineTo(500,415),j.lineTo(0,415),j.closePath(),j.clip(),j.strokeStyle="rgba(0,0,0,0)",j.lineCap="butt",j.lineJoin="miter",j.miterLimit=4,j.save(),j.restore(),j.save(),j.restore(),j.save(),j.translate(-11,-633),j.save(),j.strokeStyle="rgba(0,0,0,0)",j.translate(0,636),j.beginPath(),j.moveTo(116.68996,288.55847),j.bezierCurveTo(114.18984,288.06339,109.64415,287.21717,106.58843999999999,286.67797),j.bezierCurveTo(91.905866,284.08711,74.873379,272.58587,62.202665,256.70632),j.bezierCurveTo(50.11906,241.56257,44.228048,226.01748,43.257799,206.71498),j.bezierCurveTo(41.560634,172.95091,57.502272,144.04252,87.68464900000001,126.1518),j.bezierCurveTo(113.85468,110.63942,151.67555000000002,111.15554999999999,176.27348,127.36075),j.bezierCurveTo(180.25579000000002,129.9843,185.18402,133.59167,187.22511,135.37712),j.bezierCurveTo(194.61144,141.83832999999998,205.94366,148.05088999999998,218.69964,152.63209999999998),j.bezierCurveTo(245.95179,162.41950999999997,276.56952,161.09978999999998,302.53531,149.01852999999997),j.bezierCurveTo(312.66749999999996,144.30425999999997,319.21466,140.23029999999997,324.17127999999997,135.55560999999997),j.bezierCurveTo(333.89739,126.38270999999997,351.79472999999996,118.14201999999997,367.20779999999996,115.73977999999997),j.bezierCurveTo(378.37728999999996,113.99892999999997,395.02293999999995,115.10837999999997,406.09866999999997,118.33190999999997),j.bezierCurveTo(427.39104999999995,124.52893999999996,447.81205,140.89770999999996,458.49307999999996,160.32946999999996),j.bezierCurveTo(466.21541999999994,174.37854999999996,468.14135,182.79986999999997,468.18706999999995,202.71742999999995),j.bezierCurveTo(468.21646999999996,215.53506999999996,467.84246999999993,219.76843999999994,466.13687999999996,225.92328999999995),j.bezierCurveTo(460.34646999999995,246.81870999999995,443.97394999999995,267.47014999999993,423.77633999999995,279.35468999999995),j.bezierCurveTo(411.54527999999993,286.55159999999995,399.98404999999997,289.09283999999997,379.83469999999994,289.01338999999996),j.bezierCurveTo(354.90229999999997,288.91508999999996,338.08241999999996,282.66270999999995,322.01485999999994,267.52031999999997),j.bezierCurveTo(312.0940299999999,258.17073,292.45028999999994,249.89035999999996,272.32759999999996,246.57576999999998),j.bezierCurveTo(254.94397999999995,243.71236999999996,234.25916999999995,245.61216,218.58554999999996,251.51169),j.bezierCurveTo(206.28085999999996,256.14317,191.57338999999996,264.45267,188.72360999999995,268.38324),j.bezierCurveTo(186.89117999999996,270.91063,172.96095999999994,280.26608,166.96462999999994,282.99643),j.bezierCurveTo(164.03704999999994,284.32946999999996,158.23248999999996,286.16623,154.06560999999994,287.07811999999996),j.bezierCurveTo(145.28290999999993,289.00015999999994,123.31454999999994,289.87026999999995,116.68995999999993,288.55846999999994),j.lineTo(116.68995999999993,288.55846999999994),j.closePath(),j.fillStyle=h(s,.1),j.fill(),j.stroke(),j.restore(),j.restore(),j.restore())}function u(s){var t=!1;j.strokeStyle=s,j.lineWidth=3,j.beginPath(),j.arc(145,205,40,.35*Math.PI,1.65*Math.PI,t),j.stroke(),j.beginPath(),j.arc(345,205,40,1.35*Math.PI,.65*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,100,40,.8*Math.PI,2.2*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,310,40,1.82*Math.PI,1.18*Math.PI,t),j.stroke(),j.beginPath(),j.arc(182,140,35,1.84*Math.PI,.7*Math.PI,t),j.stroke(),j.beginPath(),j.arc(308,140,35,.3*Math.PI,1.18*Math.PI,t),j.stroke(),j.beginPath(),j.arc(182,270,35,1.3*Math.PI,.2*Math.PI,t),j.stroke(),j.beginPath(),j.arc(308,270,35,.8*Math.PI,1.7*Math.PI,t),j.stroke(),d(s)>=.6&&(j.save(),j.beginPath(),j.moveTo(0,0),j.lineTo(500,0),j.lineTo(500,415),j.lineTo(0,415),j.closePath(),j.clip(),j.strokeStyle="rgba(0,0,0,0)",j.lineCap="butt",j.lineJoin="miter",j.miterLimit=4,j.save(),j.restore(),j.save(),j.restore(),j.save(),j.translate(-140,-212),j.save(),j.strokeStyle="rgba(0,0,0,0)",j.translate(139,217),j.beginPath(),j.moveTo(234.95394,341.16933),j.bezierCurveTo(231.80731999999998,340.135,227.61570999999998,338.28931,225.63925999999998,337.0678),j.bezierCurveTo(221.28248999999997,334.37516999999997,214.37806999999998,326.70736999999997,211.83772,321.74032),j.bezierCurveTo(207.9414,314.12196,208.45042999999998,293.37118,212.67719,287.51943),j.bezierCurveTo(215.87649,283.09018,218.95801,274.65101,219.59244,268.58113),j.bezierCurveTo(220.45250000000001,260.35249,218.0029,251.63114999999996,212.48275,243.26837999999998),j.bezierCurveTo(206.02273000000002,233.48175999999998,198.89664000000002,229.43794999999997,185.95006,228.21201),j.bezierCurveTo(178.17816000000002,227.47606,172.06373000000002,228.9391,162.89332000000002,233.72894),j.bezierCurveTo(156.28128,237.18251999999998,155.23208000000002,237.42228,146.73088,237.42244),j.bezierCurveTo(135.51808000000003,237.42266,128.41302000000002,234.90269,121.10778000000002,228.33465999999999),j.bezierCurveTo(114.30638000000002,222.21962,111.33466000000001,216.76216,109.78745000000002,207.54525999999998),j.bezierCurveTo(108.21951000000003,198.20489999999998,109.69855000000003,187.35654,113.42449000000002,180.86914),j.bezierCurveTo(116.70310000000002,175.16054,123.50535000000002,169.17129,130.61112000000003,165.73660999999998),j.bezierCurveTo(135.84135000000003,163.2085,137.81975000000003,162.82216,145.72073000000003,162.78605),j.bezierCurveTo(154.43018000000004,162.74624999999997,155.21524000000002,162.9348,164.40855000000002,167.27446999999998),j.bezierCurveTo(173.55745000000002,171.59319999999997,174.43144,171.80518999999998,183.14876,171.82016),j.bezierCurveTo(191.71748000000002,171.83496,192.78155,171.59418,200.06856000000002,167.99274),j.bezierCurveTo(206.71571000000003,164.70754,208.40559000000002,163.31437,211.70876,158.39629),j.bezierCurveTo(216.86766,150.71523,219.00004,144.97677,219.64970000000002,137.02646),j.bezierCurveTo(220.25703000000001,129.59413999999998,217.81806000000003,120.60798999999999,213.36866000000003,113.88449999999999),j.bezierCurveTo(208.31047000000004,106.24103999999998,207.60430000000002,86.789031,212.06743000000003,78.04059099999999),j.bezierCurveTo(215.36468000000002,71.57742099999999,222.48250000000002,64.79066099999999,229.83172000000002,61.10251999999999),j.bezierCurveTo(236.05208000000002,57.98088699999999,237.41276000000002,57.68862899999999,245.72583000000003,57.68862899999999),j.bezierCurveTo(253.41441000000003,57.68862899999999,255.67446000000004,58.09343499999999,260.37304,60.31215099999999),j.bezierCurveTo(277.08479,68.203604,286.51407,86.23497699999999,282.57463,102.76767),j.bezierCurveTo(281.86319000000003,105.75339,279.29147,112.06009,276.85971,116.78255),j.bezierCurveTo(273.65874,122.99881,272.27383000000003,127.0461,271.84239,131.44528),j.bezierCurveTo(270.33639000000005,146.80139,279.61874,162.9296,293.20300000000003,168.5596),j.bezierCurveTo(306.55802000000006,174.09458999999998,314.0903,173.65240999999997,329.06341000000003,166.45448),j.bezierCurveTo(336.00568000000004,163.11717,337.40021,162.8096,345.73093000000006,162.77846),j.bezierCurveTo(353.96010000000007,162.74776,355.45355000000006,163.05339,361.47832000000005,166.00153),j.bezierCurveTo(369.53210000000007,169.94254,376.64791,177.20452,380.3403400000001,185.25103000000001),j.bezierCurveTo(382.5644300000001,190.09773,382.9971500000001,192.49377,383.0256800000001,200.12014000000002),j.bezierCurveTo(383.0562800000001,208.31117000000003,382.74275000000006,209.86176000000003,379.8593200000001,215.77750000000003),j.bezierCurveTo(376.0651900000001,223.56169000000003,370.1637800000001,229.56756000000004,362.0334900000001,233.91890000000004),j.bezierCurveTo(351.4550500000001,239.58048000000002,339.7398500000001,239.17006000000003,326.6582200000001,232.67959000000005),j.bezierCurveTo(310.6073100000001,224.71590000000003,294.4869300000001,227.24494000000004,281.98739000000006,239.68774000000005),j.bezierCurveTo(270.03863000000007,251.58229000000006,268.4080000000001,270.18789000000004,277.92910000000006,285.99336000000005),j.bezierCurveTo(284.3299400000001,296.61906000000005,285.13914000000005,307.05507000000006,280.51249000000007,319.31069),j.bezierCurveTo(277.5959900000001,327.03626,268.9701400000001,335.93369,260.6715500000001,339.77631),j.bezierCurveTo(253.04107000000008,343.30956000000003,243.1026400000001,343.84789,234.95394000000007,341.16933),j.lineTo(234.95394000000007,341.16933),j.closePath(),j.fillStyle=h(s,.1),j.fill(),j.stroke(),j.restore(),j.restore(),j.restore())}function p(s){var t=!1;j.strokeStyle=s,j.lineWidth=3,j.beginPath(),j.arc(151,205,18,.4*Math.PI,1.6*Math.PI,t),j.stroke(),j.beginPath(),j.arc(167,238,18,1.35*Math.PI,2.42*Math.PI,t),j.stroke(),j.beginPath(),j.arc(180,272,18,.18*Math.PI,1.33*Math.PI,t),j.stroke(),j.beginPath(),j.arc(212,289,18,1.15*Math.PI,2.1*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,302,18,1.85*Math.PI,1.15*Math.PI,t),j.stroke(),j.beginPath(),j.arc(279,289,18,.87*Math.PI,1.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(311,272,18,1.65*Math.PI,.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(325,238,18,.54*Math.PI,1.68*Math.PI,t),j.stroke(),j.beginPath(),j.arc(340,205,18,1.37*Math.PI,.59*Math.PI,t),j.stroke(),j.beginPath(),j.arc(325,172,18,.35*Math.PI,1.4*Math.PI,t),j.stroke(),j.beginPath(),j.arc(311,138,18,1.15*Math.PI,2.35*Math.PI,t),j.stroke(),j.beginPath(),j.arc(279,122,18,.17*Math.PI,1.1*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,108,18,.8*Math.PI,2.15*Math.PI,t),j.stroke(),j.beginPath(),j.arc(212,122,18,1.9*Math.PI,.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(180,138,18,.65*Math.PI,1.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(167,172,18,1.6*Math.PI,.7*Math.PI,t),j.stroke(),d(s)>=.6&&(j.save(),j.beginPath(),j.moveTo(0,0),j.lineTo(500,0),j.lineTo(500,415),j.lineTo(0,415),j.closePath(),j.clip(),j.strokeStyle="rgba(0,0,0,0)",j.lineCap="butt",j.lineJoin="miter",j.miterLimit=4,j.save(),j.restore(),j.save(),j.restore(),j.save(),j.translate(-4,-637),j.save(),j.strokeStyle="rgba(0,0,0,0)",j.translate(0,637),j.beginPath(),j.moveTo(242.80929,316.76895),j.bezierCurveTo(239.2558,315.3947,234.83257,308.84895,234.18254000000002,304.00262000000004),j.bezierCurveTo(233.85998,301.59777,234.27994,298.62012000000004,235.27891000000002,296.22928),j.bezierCurveTo(237.39948,291.15406,237.29592000000002,285.99823000000004,234.97058,280.87787000000003),j.bezierCurveTo(231.58546,273.42388000000005,224.01393000000002,268.42150000000004,216.05280000000002,268.37923),j.bezierCurveTo(210.33377000000002,268.34883,202.51030000000003,272.78013,198.27794000000003,278.44704),j.bezierCurveTo(196.41545000000002,280.94083,193.36619000000002,284.00917000000004,191.50181000000003,285.26557),j.bezierCurveTo(180.81154000000004,292.46974,165.85368000000003,281.37461,168.71196000000003,268.36097),j.bezierCurveTo(169.66342000000003,264.02899,174.42957000000004,258.84685,179.89636000000004,256.20042),j.bezierCurveTo(188.48844000000005,252.04107000000002,193.00795000000005,242.34352,190.58184000000006,233.27254000000002),j.bezierCurveTo(189.87870000000007,230.64358000000001,188.21908000000005,227.07100000000003,186.89381000000006,225.33348),j.bezierCurveTo(182.51221000000007,219.58889000000002,172.48125000000005,216.46373,166.00572000000005,218.82574),j.bezierCurveTo(160.88401000000005,220.69395,153.47334000000006,221.17446999999999,149.58323000000004,219.89061),j.bezierCurveTo(147.65941000000004,219.25570000000002,144.69894000000005,217.15717,143.00442000000004,215.22721),j.bezierCurveTo(140.25313000000003,212.09367,139.92347000000004,211.02317000000002,139.92347000000004,205.22251),j.bezierCurveTo(139.92347000000004,199.42185,140.25313000000003,198.35135,143.00442000000004,195.21781),j.bezierCurveTo(148.08184000000003,189.43495,155.59116000000003,188.31217999999998,166.73325000000003,191.66995999999997),j.bezierCurveTo(171.89873000000003,193.22662999999997,176.76581000000002,192.32402999999996,182.19737000000003,188.80213999999998),j.bezierCurveTo(186.99980000000002,185.68819,191.44125000000003,178.0236,191.44125000000003,172.85002999999998),j.bezierCurveTo(191.44125000000003,165.91124999999997,187.02605000000003,157.91411999999997,181.72540000000004,155.25199999999998),j.bezierCurveTo(168.68097000000003,148.70074999999997,164.62205000000003,137.69753999999998,171.78539000000004,128.30592),j.bezierCurveTo(178.71368000000004,119.22245999999998,190.67567000000003,120.01398999999998,197.23888000000002,129.99017999999998),j.bezierCurveTo(204.51058000000003,141.04331,214.32951000000003,144.72351999999998,224.37555000000003,140.16123),j.bezierCurveTo(235.23365000000004,135.23013999999998,238.86734000000004,125.44275999999999,234.78543000000002,112.12207),j.bezierCurveTo(233.16446000000002,106.83225999999999,234.54797000000002,101.56208,238.76789000000002,96.95178),j.bezierCurveTo(248.33151000000004,86.503446,267.39820000000003,96.55735,264.708,110.63005),j.bezierCurveTo(262.24834000000004,123.49681,263.43732,130.24138,269.17704000000003,135.9811),j.bezierCurveTo(273.84920000000005,140.65326,279.80664,142.46487,287.54524000000004,141.56671),j.bezierCurveTo(290.80029,141.18892,293.25246000000004,140.53831,292.99449000000004,140.12091),j.bezierCurveTo(292.73652000000004,139.70352,293.68403000000006,138.74196,295.10007,137.98412000000002),j.bezierCurveTo(296.51611,137.22628000000003,298.81193,134.66566000000003,300.2019,132.29385000000002),j.bezierCurveTo(303.47878000000003,126.70229000000002,307.77937000000003,123.14413000000002,312.28166000000004,122.29950000000002),j.bezierCurveTo(323.19238000000007,120.25263000000002,332.5219000000001,130.29284,330.36964000000006,141.76535),j.bezierCurveTo(329.6006300000001,145.86456,323.8285400000001,152.29884,317.5065000000001,156.10419000000002),j.bezierCurveTo(312.2969800000001,159.23989,308.17124000000007,167.72107000000003,308.8642700000001,173.86973),j.bezierCurveTo(309.6787300000001,181.09556,313.7704700000001,186.95133,320.2047800000001,190.09934),j.bezierCurveTo(326.1904100000001,193.02784000000003,330.20042000000007,193.13284000000002,338.9627100000001,190.59052000000003),j.bezierCurveTo(344.9917000000001,188.84125000000003,350.1988400000001,189.89377000000002,354.59001000000006,193.74927000000002),j.bezierCurveTo(368.2933100000001,205.78092000000004,353.68808000000007,226.52374000000003,336.55395000000004,219.36465),j.bezierCurveTo(323.93852000000004,214.09358,308.93266000000006,224.16784,308.71798000000007,238.05247),j.bezierCurveTo(308.6646800000001,241.50290999999999,311.2253800000001,248.07176,313.86683000000005,251.26035),j.bezierCurveTo(314.59179000000006,252.13548,316.54865000000007,253.7222,318.21540000000005,254.7864),j.bezierCurveTo(324.03371000000004,258.50135,328.85284000000007,263.67991,329.97401,267.42204),j.bezierCurveTo(332.95992,277.3881,325.11943,287.55831,314.45977000000005,287.54616999999996),j.bezierCurveTo(309.88386,287.54116999999997,305.3854400000001,284.53792999999996,300.84666000000004,278.45842999999996),j.bezierCurveTo(295.84636000000006,271.76072,288.36647000000005,267.87215,281.88796,268.60236999999995),j.bezierCurveTo(274.64614,269.41862999999995,268.80722000000003,273.50679999999994,265.64137,279.97756999999996),j.bezierCurveTo(263.21128,284.94451999999995,262.99769,286.21504999999996,263.64589,291.84819999999996),j.bezierCurveTo(265.39685000000003,307.06499999999994,264.64547,310.09781999999996,257.87161000000003,315.15523999999994),j.bezierCurveTo(254.81776000000002,317.43526999999995,246.76347000000004,318.2981699999999,242.80929000000003,316.76894999999996),j.lineTo(242.80929000000003,316.76894999999996),j.closePath(),j.fillStyle=h(s,.1),j.fill(),j.stroke(),j.restore(),j.restore(),j.restore())
98 }function n(s,t,e,l,r){var o=10;j.beginPath(),j.moveTo(s+o,t),j.lineTo(s+e-o,t),j.quadraticCurveTo(s+e,t,s+e,t+o),j.lineTo(s+e,t+l-o),j.quadraticCurveTo(s+e,t+l,s+e-o,t+l),j.lineTo(s+o,t+l),j.quadraticCurveTo(s,t+l,s,t+l-o),j.lineTo(s,t+o),j.quadraticCurveTo(s,t,s+o,t),j.closePath(),j.lineWidth=3,j.strokeStyle=r,d(r)>=.6&&(j.fillStyle=h(r,.1),j.fill()),j.stroke()}function C(s,t,e,l,r){s.beginPath(),s.moveTo(t,e),s.lineTo(l,r),s.closePath(),s.stroke()}function f(s,t,e,l,r,o,c){s.beginPath(),s.rect(t,e,l,r),s.closePath(),s.lineWidth=.75,s.shadowColor="rgba(0,0,0, 0.4)",s.shadowBlur=7,s.shadowOffsetX=2,s.shadowOffsetY=-2,s.strokeStyle=c,s.stroke(),s.fillStyle=o,s.fill()}function h(s,t){var e=s.slice(s.indexOf("(")+1,s.indexOf(")")),l=e.split(",");return"rgba("+l[0]+","+l[1]+","+l[2]+","+t+")"}function d(s){var t=s.slice(s.indexOf("(")+1,s.indexOf(")")),e=t.split(",");return e[3]}function b(){j.clearRect(0,0,O,N)}function v(t){for(var e="rgba(0,0,0, 0.7)",l=120,o=70,c=415,i=20,a=(370-t*i)/t,u=265,p=A(),n=new Array,d=0,b=0;t>b;b++)d=Math.max(d,p[b]);for(var b=0;t>b;b++)n.push(p[b]/d*(l-50));j.fillStyle="#000",j.font="italic 10pt Arial",j.textAlign="center",j.fillText("Size of each list",250,c+27),j.font="normal 8pt Arial",j.textAlign="right",j.fillText(0,45,c+l+2),j.fillText(d/2,45,c+(l+55)/2),j.fillText(d,45,c+54),j.textAlign="left";for(var b=0;t>b;b++)f(j,o+b*a+b*i,c+l-n[b],a,n[b],h(B.colors[b],.5),B.colors[b]),l-n[b]+15<=l-10?(j.textAlign="right",j.fillStyle="white",j.fillText(p[b],a+65+b*a+b*i,c+l-n[b]+15)):(j.textAlign="right",j.fillText(p[b],a+65+b*a+b*i,c+l-n[b]-10)),u=b%2&&t>2?c+l+25:c+l+15,j.fillStyle="#000",j.textAlign="center",j.fillText(s("#label"+(b+1)).html(),o+b*a+b*i+a/2,u,200),j.strokeStyle=e,j.lineWidth=.4,C(j,o+b*a+b*i+a/2,c+l,o+b*a+b*i+a/2,c+l+5);j.lineWidth=1,j.strokeStyle=e,C(j,50,c+l,50,c+35),C(j,50,c+l,450,c+l),j.lineWidth=.4,C(j,47,c+(l+48)/2,53,c+(l+48)/2),C(j,47,c+50,53,c+50),r(50,c+25,46,c+35,54,c+35,e),r(460,c+l,450,c+l-4,450,c+l+4,e);var v=k(),m=new Array;i=2,o=60,c+=l+50;for(var g=390+i,x=0,b=0;t>b;b++)x+=v[b];for(var b=0;t>b;b++)m.push(v[b]/x*g);j.font="italic 10pt Arial",j.textAlign="center",j.fillText("Number of elements: specific (1) or shared by 2, 3, ... lists",250,c),j.font="normal 8pt Arial";for(var y=0,_=0,b=t-1;b>=0;b--)0!=m[b]&&(f(j,o+y,c+15,m[b]-i,20,h("rgb(156,106,156)",1/(b+1.5)),"rgba(0,0,0,0.5)"),j.textAlign="center",j.fillStyle="white",m[b]-i<25?(j.fillStyle="#000",j.fillText(b+1,(m[b]-i)/2+o+y,c+57+_),j.textAlign="left",j.fillText("("+v[b]+")",(m[b]-i)/2+o+y+6,c+57+_),48!=_?_+=12:_=0):(_>=24&&(_=0),j.fillText(v[b],(m[b]-i)/2+o+y,c+29),j.fillStyle="#000",j.fillText(b+1,(m[b]-i)/2+o+y,c+57+_),_=0),j.strokeStyle=e,j.lineWidth=.4,C(j,(m[b]-i)/2+o+y,c+40,(m[b]-i)/2+o+y,c+45),y+=m[b]);j.lineWidth=1,j.strokeStyle=e,C(j,50,c+40,460,c+40)}function m(s,t,e,l){B.shortNumber&&s.text().length>l&&s.html("<span title="+s.text()+">?</span>");var r=t-(s.text().length-1)/2*4;s.css("left",r).css("top",e)}function g(s){var t=s.length?s.length:0,e=s[0]instanceof Array?s[0].length:0;for(l=0;t>l;l++)s[l]instanceof Array&&s[l].length>e&&(e=s[l].length);if(0===e||0===t)return[];var l,r,o=[];for(l=0;e>l;l++)for(o[l]=[],r=0;t>r;r++)o[l][r]=s[r][l];return o}function x(t){var e="rgba(0,0,0,0.1)";6==t?(r(0,11,254,160,174,235,h(B.colors[0],s("#label1").css("opacity"))),r(188,0,134,242,236,202,h(B.colors[1],s("#label2").css("opacity"))),r(338,52,135,123,191,242,h(B.colors[2],s("#label3").css("opacity"))),r(500,260,163,117,134,219,h(B.colors[3],s("#label4").css("opacity"))),r(250,415,133,150,203,67,h(B.colors[4],s("#label5").css("opacity"))),r(11,307,263,81,214,220,h(B.colors[5],s("#label6").css("opacity"))),s("#label1").css("left",35).css("top",10).css("color",B.colors[0]),s("#label2").css("left",200).css("top",5).css("color",B.colors[1]),s("#label3").css("left",335).css("top",60).css("color",B.colors[2]),s("#label4").css("left",410).css("top",200).css("color",B.colors[3]),s("#label5").css("left",255).css("top",385).css("color",B.colors[4]),s("#label6").css("left",30).css("top",300).css("color",B.colors[5]),m(s("#resultC100000"),98,90,6),m(s("#resultC010000"),187,50,4),m(s("#resultC001000"),280,80,6),m(s("#resultC000100"),320,205,6),m(s("#resultC000010"),212,272,5),m(s("#resultC000001"),100,240,6),m(s("#resultC111111"),185,170,6),o(140,80,166,110,e),m(s("#resultC110000"),132,60,6),m(s("#resultC101000"),142,116,2),o(75,180,145,185,e),o(75,180,65,175,e),m(s("#resultC100100"),55,157,6),m(s("#resultC100010"),140,145,2),o(75,200,142,190,e),o(75,200,65,195,e),m(s("#resultC100001"),55,177,6),o(230,80,212,115,e),m(s("#resultC011000"),230,60,6),m(s("#resultC010100"),225,190,1),m(s("#resultC010010"),193,82,3),m(s("#resultC010001"),145,218,2),o(295,145,235,180,e),m(s("#resultC001100"),302,132,6),o(275,270,193,233,e),m(s("#resultC001010"),275,268,6),m(s("#resultC001001"),232,113,4),m(s("#resultC000110"),216,211,1),o(75,220,140,205,e),o(75,220,65,215,e),m(s("#resultC000101"),55,197,6),o(150,270,183,230,e),m(s("#resultC000011"),145,268,6),m(s("#resultC111110"),170,130,6),s("#resultC111110").hide(),m(s("#resultC111101"),218,155,6),s("#resultC111101").hide(),m(s("#resultC111011"),205,125,6),s("#resultC111011").hide(),m(s("#resultC110111"),160,190,6),s("#resultC110111").hide(),m(s("#resultC101111"),180,212,6),s("#resultC101111").hide(),m(s("#resultC011111"),208,197,6),s("#resultC011111").hide(),m(s("#resultC111100"),225,170,6),s("#resultC111100").hide(),m(s("#resultC111010"),182,113,6),s("#resultC111010").hide(),m(s("#resultC110110"),149,163,6),s("#resultC110110").hide(),m(s("#resultC101110"),152,140,6),s("#resultC101110").hide(),m(s("#resultC011110"),215,195,6),s("#resultC011110").hide(),m(s("#resultC111001"),212,128,6),s("#resultC111001").hide(),m(s("#resultC110101"),150,194,6),s("#resultC110101").hide(),m(s("#resultC110011"),168,216,6),s("#resultC110011").hide(),m(s("#resultC101101"),226,145,6),s("#resultC101101").hide(),m(s("#resultC101011"),178,216,6),s("#resultC101011").hide(),m(s("#resultC100111"),178,214,6),s("#resultC100111").hide(),m(s("#resultC011101"),218,180,6),s("#resultC011101").hide(),m(s("#resultC011011"),206,122,6),s("#resultC011011").hide(),m(s("#resultC010111"),215,198,6),s("#resultC010111").hide(),m(s("#resultC001111"),200,208,6),s("#resultC001111").hide(),m(s("#resultC111000"),156,105,6),s("#resultC111000").hide(),m(s("#resultC110100"),145,174,6),s("#resultC110100").hide(),m(s("#resultC110010"),163,100,6),s("#resultC110010").hide(),m(s("#resultC101100"),238,152,6),s("#resultC101100").hide(),m(s("#resultC101010"),148,128,6),s("#resultC101010").hide(),m(s("#resultC100110"),145,158,6),s("#resultC100110").hide(),m(s("#resultC011100"),226,178,6),s("#resultC011100").hide(),m(s("#resultC011010"),195,105,6),s("#resultC011010").hide(),m(s("#resultC010110"),218,198,6),s("#resultC010110").hide(),m(s("#resultC001110"),202,216,6),s("#resultC001110").hide(),m(s("#resultC110001"),160,213,6),s("#resultC110001").hide(),m(s("#resultC101001"),220,132,6),s("#resultC101001").hide(),m(s("#resultC100101"),139,182,6),s("#resultC100101").hide(),m(s("#resultC100011"),170,220,6),s("#resultC100011").hide(),m(s("#resultC011001"),212,122,6),s("#resultC011001").hide(),m(s("#resultC010101"),146,203,6),s("#resultC010101").hide(),m(s("#resultC010011"),164,220,6),s("#resultC010011").hide(),m(s("#resultC001101"),233,138,6),s("#resultC001101").hide(),m(s("#resultC001011"),185,218,6),s("#resultC001011").hide(),m(s("#resultC000111"),209,207,6),s("#resultC000111").hide()):5==t?(l(214,230,10,18.6,9.5,25,h(B.colors[0],s("#label1").css("opacity"))),l(232,187,10,18.6,9.5,98,h(B.colors[1],s("#label2").css("opacity"))),l(273,196,10,18.6,9.5,170,h(B.colors[2],s("#label3").css("opacity"))),l(282,238,10,18.6,9.5,62,h(B.colors[3],s("#label4").css("opacity"))),l(242,260,10,18.6,9.5,134,h(B.colors[4],s("#label5").css("opacity"))),s("#label1").css("left",0).css("top",100).css("color",B.colors[0]),s("#label2").css("left",310).css("top",15).css("color",B.colors[1]),s("#label3").css("left",450).css("top",120).css("color",B.colors[2]),s("#label4").css("left",387).css("top",400).css("color",B.colors[3]),s("#label5").css("left",40).css("top",400).css("color",B.colors[4]),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),75,150,6),m(s("#resultC010000"),245,30,6),m(s("#resultC001000"),415,162,6),m(s("#resultC000100"),350,370,6),m(s("#resultC000010"),132,370,6),m(s("#resultC110000"),152,118,2),m(s("#resultC101000"),110,200,6),m(s("#resultC100100"),350,295,6),m(s("#resultC100010"),125,273,2),m(s("#resultC011000"),309,94,3),m(s("#resultC010100"),215,82,6),m(s("#resultC010010"),195,340,6),m(s("#resultC001100"),378,232,2),m(s("#resultC001010"),360,140,5),m(s("#resultC000110"),261,347,2),m(s("#resultC111000"),148,180,4),m(s("#resultC110100"),168,113,2),m(s("#resultC110010"),176,295,6),m(s("#resultC101100"),367,248,2),m(s("#resultC101010"),127,256,2),m(s("#resultC100110"),305,300,4),m(s("#resultC011100"),240,110,6),m(s("#resultC011010"),317,108,2),m(s("#resultC010110"),248,338,2),m(s("#resultC001110"),345,180,4),m(s("#resultC111100"),185,140,6),m(s("#resultC111010"),158,245,6),m(s("#resultC110110"),250,310,6),m(s("#resultC101110"),330,240,6),m(s("#resultC011110"),290,133,6),m(s("#resultC111110"),245,210,6),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):4==t?(l(181,238,10,18.5,11.5,40,h(B.colors[0],s("#label1").css("opacity"))),l(242,177,10,18.5,11.5,40,h(B.colors[1],s("#label2").css("opacity"))),l(259,177,10,18.5,11.5,140,h(B.colors[2],s("#label3").css("opacity"))),l(320,238,10,18.5,11.5,140,h(B.colors[3],s("#label4").css("opacity"))),s("#label1").css("left",5).css("top",70).css("color",B.colors[0]),s("#label2").css("left",85).css("top",5).css("color",B.colors[1]),s("#label3").css("left",350).css("top",5).css("color",B.colors[2]),s("#label4").css("left",428).css("top",70).css("color",B.colors[3]),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),55,190,6),m(s("#resultC010000"),140,60,6),m(s("#resultC001000"),335,60,6),m(s("#resultC000100"),430,190,6),m(s("#resultC110000"),105,120,6),m(s("#resultC101000"),130,260,6),m(s("#resultC100100"),245,340,6),m(s("#resultC011000"),245,90,6),m(s("#resultC010100"),365,260,6),m(s("#resultC001100"),385,120,6),m(s("#resultC111000"),160,170,6),m(s("#resultC110100"),310,290,6),m(s("#resultC101100"),180,290,6),m(s("#resultC011100"),330,170,6),m(s("#resultC111100"),245,220,6),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):3==t?(l(171,142,120,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),l(327,142,120,1,1,0,h(B.colors[1],s("#label2").css("opacity"))),l(249,271,120,1,1,0,h(B.colors[2],s("#label3").css("opacity"))),s("#label1").css("left",55).css("top",5).css("color",B.colors[0]),s("#label2").css("left",380).css("top",5).css("color",B.colors[1]),s("#label3").css("left",220).css("top",400).css("color",B.colors[2]),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),120,100,8),m(s("#resultC010000"),360,100,8),m(s("#resultC001000"),245,330,8),m(s("#resultC110000"),245,100,8),m(s("#resultC101000"),170,220,8),m(s("#resultC011000"),320,220,8),m(s("#resultC111000"),245,175,8),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):2==t?(l(171,206,140,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),l(327,206,140,1,1,0,h(B.colors[1],s("#label2").css("opacity"))),s("#label1").css("left",95).css("top",40).css("color",B.colors[0]),s("#label2").css("left",360).css("top",40).css("color",B.colors[1]),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),120,195,10),m(s("#resultC010000"),360,195,10),m(s("#resultC110000"),250,195,10),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):(l(246,210,140,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),s("#label1").css("left",225).css("top",30).css("color",B.colors[0]),s("#label2").css("left",-1e3).css("top",-2200),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),245,200,10),s("#resultC010000").css("left",-1e3).css("top",-2200),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC110000").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200))}function y(t){6==t?(c(246,206,90,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),a(h(B.colors[3],s("#label4").css("opacity"))),u(h(B.colors[4],s("#label5").css("opacity"))),p(h(B.colors[5],s("#label6").css("opacity"))),s("#label1").css("left",297).css("top",90).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",55).css("top",90).css("color",B.colors[3]),s("#label5").css("left",282).css("top",45).css("color",B.colors[4]),s("#label6").css("left",297).css("top",302).css("color",B.colors[5]),m(s("#resultC100000"),204,122,1),m(s("#resultC010000"),390,70,6),m(s("#resultC001000"),85,330,6),m(s("#resultC000100"),85,150,6),m(s("#resultC000010"),225,70,3),m(s("#resultC110000"),280,122,1),m(s("#resultC101000"),204,269,1),m(s("#resultC100100"),172,155,1),m(s("#resultC100010"),218,118,1),m(s("#resultC011000"),390,330,6),m(s("#resultC010100"),390,150,6),m(s("#resultC010010"),258,70,3),m(s("#resultC001100"),85,240,6),m(s("#resultC001010"),225,320,3),m(s("#resultC000110"),120,178,2),m(s("#resultC111000"),280,269,1),m(s("#resultC110100"),314,155,1),m(s("#resultC110010"),266,118,1),m(s("#resultC101100"),172,235,1),m(s("#resultC101010"),219,274,1),m(s("#resultC100110"),167,171,1),m(s("#resultC011100"),390,240,6),m(s("#resultC011010"),258,320,3),m(s("#resultC010110"),365,178,2),m(s("#resultC001110"),120,212,2),m(s("#resultC111100"),315,235,1),m(s("#resultC111010"),266,274,1),m(s("#resultC110110"),320,171,1),m(s("#resultC101110"),166,218,1),m(s("#resultC011110"),365,212,2),m(s("#resultC111110"),320,218,1),m(s("#resultC000001"),180,120,1),m(s("#resultC100001"),199,134,1),m(s("#resultC010001"),304,120,1),m(s("#resultC001001"),179,271,1),m(s("#resultC000101"),169,132,1),m(s("#resultC000011"),234,95,1),m(s("#resultC110001"),286,134,1),m(s("#resultC101001"),199,256,1),m(s("#resultC100101"),190,149,1),m(s("#resultC100011"),228,135,3),m(s("#resultC011001"),306,272,1),m(s("#resultC010101"),317,132,1),m(s("#resultC010011"),250,95,1),m(s("#resultC001101"),167,260,1),m(s("#resultC001011"),233,296,1),m(s("#resultC000111"),143,187,1),m(s("#resultC111001"),285,256,1),m(s("#resultC110101"),295,149,1),m(s("#resultC110011"),255,135,3),m(s("#resultC101101"),190,242,1),m(s("#resultC101011"),227,255,3),m(s("#resultC100111"),213,178,6),m(s("#resultC011101"),318,259,1),m(s("#resultC011011"),250,296,1),m(s("#resultC010111"),342,187,1),m(s("#resultC001111"),143,203,1),m(s("#resultC111101"),295,240,1),m(s("#resultC111011"),256,255,3),m(s("#resultC110111"),270,178,6),m(s("#resultC101111"),213,212,6),m(s("#resultC011111"),342,203,1),m(s("#resultC111111"),270,212,6)):5==t?(c(246,206,90,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),a(h(B.colors[3],s("#label4").css("opacity"))),u(h(B.colors[4],s("#label5").css("opacity"))),s("#label1").css("left",297).css("top",90).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",55).css("top",90).css("color",B.colors[3]),s("#label5").css("left",282).css("top",45).css("color",B.colors[4]),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),200,130,3),m(s("#resultC010000"),390,70,6),m(s("#resultC001000"),85,330,6),m(s("#resultC000100"),85,150,6),m(s("#resultC000010"),225,80,4),m(s("#resultC110000"),284,130,3),m(s("#resultC101000"),200,260,3),m(s("#resultC100100"),185,150,4),m(s("#resultC100010"),228,130,3),m(s("#resultC011000"),390,330,6),m(s("#resultC010100"),390,150,6),m(s("#resultC010010"),258,80,4),m(s("#resultC001100"),85,240,6),m(s("#resultC001010"),225,310,4),m(s("#resultC000110"),133,178,6),m(s("#resultC111000"),284,260,3),m(s("#resultC110100"),300,150,4),m(s("#resultC110010"),255,130,3),m(s("#resultC101100"),185,240,4),m(s("#resultC101010"),228,260,3),m(s("#resultC100110"),213,178,6),m(s("#resultC011100"),390,240,6),m(s("#resultC011010"),258,310,4),m(s("#resultC010110"),355,178,6),m(s("#resultC001110"),133,212,6),m(s("#resultC111100"),300,240,4),m(s("#resultC111010"),256,260,3),m(s("#resultC110110"),270,178,6),m(s("#resultC101110"),213,212,6),m(s("#resultC011110"),355,212,6),m(s("#resultC111110"),270,212,6),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):4==t?(c(246,206,90,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),a(h(B.colors[3],s("#label4").css("opacity"))),s("#label1").css("left",267).css("top",90).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",27).css("top",90).css("color",B.colors[3]),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),215,130,6),m(s("#resultC010000"),390,70,6),m(s("#resultC001000"),85,330,6),m(s("#resultC000100"),85,150,6),m(s("#resultC110000"),265,130,6),m(s("#resultC101000"),215,260,6),m(s("#resultC100100"),200,170,6),m(s("#resultC011000"),390,330,6),m(s("#resultC010100"),390,150,6),m(s("#resultC001100"),85,240,6),m(s("#resultC111000"),265,260,6),m(s("#resultC110100"),280,170,6),m(s("#resultC101100"),200,220,6),m(s("#resultC011100"),390,240,6),m(s("#resultC111100"),280,220,6),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):3==t?(c(246,206,110,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),s("#label1").css("left",95).css("top",75).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),190,150,8),m(s("#resultC010000"),390,70,8),m(s("#resultC001000"),85,330,8),m(s("#resultC110000"),290,150,8),m(s("#resultC101000"),190,240,8),m(s("#resultC011000"),390,330,8),m(s("#resultC111000"),290,240,8),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):2==t?(c(246,206,110,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),s("#label1").css("left",95).css("top",75).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),180,195,10),m(s("#resultC010000"),420,195,10),m(s("#resultC110000"),290,195,10),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):(c(246,210,140,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),s("#label1").css("left",225).css("top",30).css("color",B.colors[0]),s("#label2").css("left",-1e3).css("top",-2200),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),245,200,10),s("#resultC010000").css("left",-1e3).css("top",-2200),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC110000").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200))
99 }function _(t,e){$t=t;var l=1,r="",o='<div class="module-legend">';s("*[id^=label]").each(function(){o+='<div id="item-'+l+'" name="'+s(this).text()+'" class="leg-items" style="opacity:0.5; background-color:'+s(this).css("color")+r+'">',o+='<span style="background-color:white; margin-left:0px; padding:0px 2px 0px 2px; transition: margin-left .3s ease-in-out;">off</span></div>',l+=1,l>e&&(r=";display:none")}),o+="</div>",$t.append(o),s("*[id^=item]").hover(function(){s(this).css("opacity",.75),s(this).css("box-shadow","0px 0px 8px 1px lightgrey")},function(){"off"===s(this).children("span").text()&&s(this).css("opacity",.5),s(this).css("box-shadow","none")}),s("*[id^=item]").click(function(){var t=null;t="off"===s(this).children("span").text()?M(s(this).attr("name")):I(s(this).attr("name")),null!=B.searchInput&&(B.searchInput.val(""),null!=B.searchStatus&&B.searchStatus.text("")),b(),"edwards"==B.displayMode?y(e):x(e),B.displayStat&&v(e),"resultC000000"!=t&&s("#"+t).show()})}function w(){var e=new Array,l=new Array;for(l[0]=new Array,l[1]=new Array,l[2]=new Array,l[3]=new Array,l[4]=new Array,l[5]=new Array,c=0;c<B.series.length;c++){l[c]=new Array;var r=B.series[c].data;for(t=0;t<r.length;t++)r[t].length>0&&(l[c][r[t]]?l[c][r[t]]++:l[c][r[t]]=1,e[r[t]]="C")}for(t=0;6>t;t++){for(tt in l[t])e[tt]&&(e[tt]=e[tt]+"1");for(cl in e)e[cl].length<t+2&&(e[cl]=e[cl]+"0")}for(cl in e){var o=parseInt(s("#result"+e[cl]).html());if(B.useValues)for(var c=0;c<B.series.length;c++){var i=B.series[c].data.indexOf(cl);-1!=i&&(o+=parseInt(B.series[c].values[i]))}else o+=1;s("#result"+e[cl]).html(o),s("#result"+e[cl]).removeClass("number-empty")}6==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name),s("#label4").html(B.series[3].name),s("#label5").html(B.series[4].name),s("#label6").html(B.series[5].name)):5==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name),s("#label4").html(B.series[3].name),s("#label5").html(B.series[4].name)):4==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name),s("#label4").html(B.series[3].name)):3==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name)):2==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name)):1==B.series.length&&s("#label1").html(B.series[0].name),B.disableClick||(s("*[id^=resultC]").mouseover(function(){s(this).addClass("number-over")}),s("*[id^=resultC]").mouseout(function(){s(this).removeClass("number-over")}),s("*[id^=resultC]").click(B.fnClickCallback)),s("*[id^=resultC]").each(function(){this.listnames=new Array;for(var t=6;t<s(this).attr("id").length;t++)if("1"==s(this).attr("id").substring(t+1,t+2))try{this.listnames.push(B.series[t-6].name)}catch(l){}this.empty=!0,this.list=new Array;var r=s(this).attr("id").substring(6,13);for(cl in e)e[cl]==r&&(this.list.push(cl),this.empty=!1)})}function k(){var t=new Array(0,0,0,0,0,0);return s("*[id^=resultC]").each(function(){for(var e=0,l=6;l<s(this).attr("id").length;l++)e+="1"==s(this).attr("id").substring(l+1,l+2);var r=s(this).text();"?"==r&&(r=s(this).children("span").attr("title")),t[e-1]+=parseInt(r)}),t}function A(){var t=new Array(0,0,0,0,0,0);return s("*[id^=resultC]").each(function(){for(var e=6;e<s(this).attr("id").length;e++)if("1"==s(this).attr("id").substring(e+1,e+2)){var l=s(this).text();"?"==l&&(l=s(this).children("span").attr("title")),t[e-6]+=parseInt(l)}}),t}function T(t){t.A&&s("#resultC100000").html(t.A),t.B&&s("#resultC010000").html(t.B),t.C&&s("#resultC001000").html(t.C),t.D&&s("#resultC000100").html(t.D),t.E&&s("#resultC000010").html(t.E),t.F&&s("#resultC000001").html(t.F),t.AB&&s("#resultC110000").html(t.AB),t.AC&&s("#resultC101000").html(t.AC),t.AD&&s("#resultC100100").html(t.AD),t.AE&&s("#resultC100010").html(t.AE),t.AF&&s("#resultC100001").html(t.AF),t.BC&&s("#resultC011000").html(t.BC),t.BD&&s("#resultC010100").html(t.BD),t.BE&&s("#resultC010010").html(t.BE),t.BF&&s("#resultC010001").html(t.BF),t.CD&&s("#resultC001100").html(t.CD),t.CE&&s("#resultC001010").html(t.CE),t.CF&&s("#resultC001001").html(t.CF),t.DE&&s("#resultC000110").html(t.DE),t.DF&&s("#resultC000101").html(t.DF),t.EF&&s("#resultC000011").html(t.EF),t.ABC&&s("#resultC111000").html(t.ABC),t.ABD&&s("#resultC110100").html(t.ABD),t.ABE&&s("#resultC110010").html(t.ABE),t.ABF&&s("#resultC110001").html(t.ABF),t.ACD&&s("#resultC101100").html(t.ACD),t.ACE&&s("#resultC101010").html(t.ACE),t.ACF&&s("#resultC101001").html(t.ACF),t.ADE&&s("#resultC100110").html(t.ADE),t.ADF&&s("#resultC100101").html(t.ADF),t.AEF&&s("#resultC100011").html(t.AEF),t.BCD&&s("#resultC011100").html(t.BCD),t.BCE&&s("#resultC011010").html(t.BCE),t.BCF&&s("#resultC011001").html(t.BCF),t.BDE&&s("#resultC010110").html(t.BDE),t.BDF&&s("#resultC010101").html(t.BDF),t.BEF&&s("#resultC010011").html(t.BEF),t.CDE&&s("#resultC001110").html(t.CDE),t.CDF&&s("#resultC001101").html(t.CDF),t.CEF&&s("#resultC001011").html(t.CEF),t.DEF&&s("#resultC000111").html(t.DEF),t.ABCD&&s("#resultC111100").html(t.ABCD),t.ABCE&&s("#resultC111010").html(t.ABCE),t.ABCF&&s("#resultC111001").html(t.ABCF),t.ABDE&&s("#resultC110110").html(t.ABDE),t.ABDF&&s("#resultC110101").html(t.ABDF),t.ACDE&&s("#resultC101110").html(t.ACDE),t.ACDF&&s("#resultC101101").html(t.ACDF),t.BCDE&&s("#resultC011110").html(t.BCDE),t.BCDF&&s("#resultC011101").html(t.BCDF),t.CDEF&&s("#resultC001111").html(t.CDEF),t.BDEF&&s("#resultC010111").html(t.BDEF),t.BCEF&&s("#resultC011011").html(t.BCEF),t.ADEF&&s("#resultC100111").html(t.ADEF),t.ACEF&&s("#resultC101011").html(t.ACEF),t.ABEF&&s("#resultC110011").html(t.ABEF),t.ABCDE&&s("#resultC111110").html(t.ABCDE),t.ABCDF&&s("#resultC111101").html(t.ABCDF),t.ABCEF&&s("#resultC111011").html(t.ABCEF),t.ABDEF&&s("#resultC110111").html(t.ABDEF),t.ACDEF&&s("#resultC101111").html(t.ACDEF),t.BCDEF&&s("#resultC011111").html(t.BCDEF),t.ABCDEF&&s("#resultC111111").html(t.ABCDEF)}function E(){if(B.series[0].name.A&&s("#label1").html(B.series[0].name.A),B.series[0].name.B&&s("#label2").html(B.series[0].name.B),B.series[0].name.C&&s("#label3").html(B.series[0].name.C),B.series[0].name.D&&s("#label4").html(B.series[0].name.D),B.series[0].name.E&&s("#label5").html(B.series[0].name.E),B.series[0].name.F&&s("#label6").html(B.series[0].name.F),B.series[0].hasOwnProperty("values")&&B.series[0].hasOwnProperty("data"))T(B.series[0].values);else if(B.series[0].hasOwnProperty("data")){var t={};for(var e in B.series[0].data)t[e]=B.series[0].data[e].length;T(t)}else B.series[0].hasOwnProperty("values")&&T(B.series[0].values);s("*[id^=resultC]").each(function(){this.listnames=new Array;for(var t=6;t<s(this).attr("id").length;t++)if("1"==s(this).attr("id").substring(t+1,t+2))try{t-6==0?this.listnames.push(B.series[0].name.A):t-6==1?this.listnames.push(B.series[0].name.B):t-6==2?this.listnames.push(B.series[0].name.C):t-6==3?this.listnames.push(B.series[0].name.D):t-6==4?this.listnames.push(B.series[0].name.E):t-6==5&&this.listnames.push(B.series[0].name.F)}catch(e){}if(B.series[0].hasOwnProperty("data")){for(var l="",t=6;t<s(this).attr("id").length;t++)"1"==s(this).attr("id").substring(t+1,t+2)&&(6==t?l+="A":7==t?l+="B":8==t?l+="C":9==t?l+="D":10==t?l+="E":11==t&&(l+="F"));this.list=B.series[0].data[l],B.disableClick||(s(this).mouseover(function(){s(this).addClass("number-over")}),s(this).mouseout(function(){s(this).removeClass("number-over")}),s(this).click(B.fnClickCallback))}s(this).text()>0&&s(this).removeClass("number-empty")})}function z(){if(B.series.length>1)return new Array("list",B.series.length);if(void 0!=B.series[0]&&B.series[0].name.A){var s=0;for(i in B.series[0].name)s++;return new Array("count",s)}return new Array("list",B.series.length)}function P(s,t,e,l,r,o,c,i,a){return a?(t=parseInt(t.replace("px",""))+20,e=parseInt(e.replace("px",""))+14):(t=parseInt(t.replace("px",""))+5,e=parseInt(e.replace("px",""))+14),'<text fill="'+l+'" fill-opacity="'+r+'" stroke="none" font-family="'+o+'" font-size="'+c+'"pt font-style="normal" font-weight="'+i+'" text-decoration="none" x="'+t+'"pt y="'+e+'"pt text-anchor="middle" dominant-baseline="alphabetic">'+s+"</text>"}function S(t,e,l){$t=t;var r='<div id="module-export" style="position: relative; left:475px; top: -'+(418+e)+'px; width: 25px; height: 20px;">';r+='<a id="data-export" href="" download="" style="display:none;"></a>',r+='<canvas id="canvasExport" style="border:1px solid white" width="25" height="20"></canvas>',r+='<div id="export-menu" style="position: relative;width:150px; height:30px; display:none; right:123px; top:-4px;">',r+='<div style="box-shadow: 3px 3px 10px rgb(136, 136, 136); border: 1px solid rgb(160, 160, 160); background: none repeat scroll 0% 0% rgb(255, 255, 255);padding: 5px 0px;">',r+='<div id="format-png" style="padding: 0px 10px; background: none repeat scroll 0% 0% transparent; color: rgb(48, 48, 48); font-size: 12px;">Download PNG image</div>',r+='<div id="format-svg" style="padding: 0px 10px; background: none repeat scroll 0% 0% transparent; color: rgb(48, 48, 48); font-size: 12px;">Download SVG image</div>',"list"==l&&(r+='<div id="format-csv" style="padding: 0px 10px; background: none repeat scroll 0% 0% transparent; color: rgb(48, 48, 48); font-size: 12px;">Download CSV lists</div>'),r+="</div>",r+="</div>",r+="</div>",$t.append(r);var o=s("#canvasExport")[0],c=o.getContext("2d");for(i=0;3>i;i++)c.lineWidth=3,c.beginPath(),c.lineCap="round",c.moveTo(5,5+5.2*i),c.lineTo(20,5+5.2*i),c.strokeStyle="#666",c.stroke();var a=s("#export-menu"),u=s("#canvasExport").css("background");s("#format-png").click(function(){s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide();var t=document.createElement("canvas");export_ctx=t.getContext("2d"),t.width=O,t.height=N;var e=document.createElement("img"),l=s("<div></div>");l.append(j.getSerializedSvg(!0)),s("[id^=resultC]").each(function(){"none"!=s(this).css("display")&&(value=0===s(this).html().indexOf("<span")?"?":s(this).html(),l.children("svg").children("g").append(P(value,s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!1)))}),s("[id^=label]").each(function(){l.children("svg").children("g").append(P(s(this).html(),s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!0))}),e.setAttribute("src","data:image/svg+xml;base64,"+window.btoa(l.html())),e.setAttribute("height","700px"),e.setAttribute("width","500px"),e.onload=function(){export_ctx.drawImage(e,0,0);var l=t.toDataURL("image/png");s("#data-export").attr("href",l),s("#data-export").attr("download","jVenn_chart.png"),s("#data-export")[0].click()}}),s("#format-svg").click(function(){s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide();var t=s("<div></div>");t.append(j.getSerializedSvg(!0)),s("[id^=resultC]").each(function(){"none"!=s(this).css("display")&&(value=0===s(this).html().indexOf("<span")?"?":s(this).html(),t.children("svg").children("g").append(P(value,s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!1)))}),s("[id^=label]").each(function(){t.children("svg").children("g").append(P(s(this).html(),s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!0))});var e="data:image/svg+xml;base64,"+window.btoa(t.html()),l=encodeURI(e);s("#data-export").attr("href",l),s("#data-export").attr("download","jVenn_chart.svg"),s("#data-export")[0].click()}),s("#format-csv").click(function(){s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide();var t=new Array,e=!1;s("*[id^=resultC]").each(function(){if(!this.empty){var s=new Array,l=this.listnames.join("|");l.indexOf(",")>=0&&(e=!0,l=l.replace(/,/g,"_")),s.push(l);for(var r=0;r<this.list.length;r++)l=this.list[r],this.list[r].indexOf(",")>=0&&(e=!0,l=this.list[r].replace(/,/g,"_")),s.push(l);t.push(s)}});var l="data:text/csv;charset=utf-8,";e&&(l+="##\n## Warning: comma(s) have been replaced by underscore(s)\n##\n"),g(t).forEach(function(s){l+=s.join(",")+"\n"});var r=encodeURI(l);s("#data-export").attr("href",r),s("#data-export").attr("download","jVenn.csv"),s("#data-export")[0].click()}),s("#canvasExport").click(function(){s(this).css("background","linear-gradient(to bottom, #AECEFF, white) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s("#canvasExport").unbind("mouseenter mouseleave"),a.show(),a.is(":visible")&&s(document).mouseup(function(t){0===a.has(t.target).length&&(s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide())});var t=s("div[id^=format-]").css("background");s("div[id^=format-]").hover(function(){s(this).css("background","rgba(69,114,165,0.75)"),s(this).css("color","white")},function(){s(this).css("background",t),s(this).css("color","")})}),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")})}function I(t,e){var e=null==e?!0:e,l=null;s("*[id^=label]").each(function(){if(s(this).html()==t){s(this).css("opacity",.1),s(this).removeClass("is-selected");var e=s(this).attr("id");l=e.charAt(e.length-1)}}),legend_button=s("#item-"+l),legend_button.children("span").css("margin-left","0px"),legend_button.css("opacity",.5),legend_button.children("span").text("off");var r="resultC000000";return s(".is-selected").each(function(){var t=s(this).attr("id"),e=6+parseInt(t.charAt(t.length-1));r=r.substr(0,e)+1+r.substr(e+1)}),"resultC000000"==r&&e?(s(".number-black").each(function(){s(this).css("opacity",1)}),s("*[id^=label]").each(function(){s(this).css("opacity",.6)})):s(".number-black").each(function(){s(this).attr("id")==r?s(this).css("opacity",1):s(this).css("opacity",.1)}),r}function M(t){var e=null;s("*[id^=label]").each(function(){if(s(this).html()==t){s(this).css("opacity",.6),s(this).addClass("is-selected");var l=s(this).attr("id");e=l.charAt(l.length-1)}else s(this).hasClass("is-selected")||s(this).css("opacity",.1)}),legend_button=s("#item-"+e),legend_button.children("span").css("margin-left","13px"),legend_button.css("opacity",.75),legend_button.css("color","black"),legend_button.children("span").text("on");var l="resultC000000";return s(".is-selected").each(function(){var t=s(this).attr("id"),e=6+parseInt(t.charAt(t.length-1));l=l.substr(0,e)+1+l.substr(e+1)}),s(".number-black").each(function(){s(this).attr("id")==l?s(this).css("opacity",1):s(this).css("opacity",.1)}),l}function F(t,e){var e=null==e?1:e,l=new Array,r="resultC000000",o=0;if(s("*[id^=label]").each(function(){""!=s(this).html()&&(l[s(this).html()]="unselected")}),""==t||e>t.length)for(var c in l)r=I(c);else{var i=null,a=!1;if(s(".number-black:not(.number-empty)").each(function(){for(var s=0;s<this.list.length&&!a;s++)-1!=this.list[s].indexOf(t)&&(this.list[s]==t&&(a=!0),i=this.listnames,o++)}),1==o||a){for(var u=0;u<i.length;u++)l[i[u]]="selected";o=1}if(1>=o)for(var c in l)r="selected"==l[c]?M(c):I(c,!1);else for(var c in l)r=I(c)}null!=B.searchStatus&&(""==t||e>t.length?B.searchStatus.text(""):0==o?B.searchStatus.text("not found"):1==o?B.searchStatus.text("found"):o>1&&B.searchStatus.text("ambiguous")),b(),"edwards"==B.displayMode?y(z()[1]):x(z()[1]),B.displayStat&&v(z()[1]),"resultC000000"!=r&&s("#"+r).show()}var D={series:[{name:"Actors",data:["Marilyn Monroe","Arnold Schwarzenegger","Jack Nicholson","Barbra Streisand","Robert de Niro","Dean Martin","Harrison Ford"]},{name:"Singers",data:["Freddy Mercury","Barbra Streisand","Dean Martin","Ricky Martin","Celine Dion","Marilyn Monroe"]}],fnClickCallback:function(){var s="";s+=1==this.listnames.length?"Elements only in ":"Common elements in ";for(name in this.listnames)s+=this.listnames[name]+" ";s+=":\n";for(val in this.list)s+=this.list[val]+"\n";alert(s)},disableClick:!1,useValues:!1,exporting:!0,displayMode:"classic",displayStat:!1,shortNumber:!0,searchInput:null,searchStatus:null,searchMinSize:1,colors:["rgb(0,102,0)","rgb(90,155,212)","rgb(241,90,96)","rgb(250,220,91)","rgb(255,117,0)","rgb(192,152,83)"],fontSize:"12px",fontFamily:"Arial"},B=s.extend(D,e),O=500,N=415,j=null;return this.each(function(){var t=s(this),e=0;B.displayStat&&(e=280,N+=e),t.css({width:"500px",height:""+(450+e)+"px"}),s("<style>.number-black{font-weight:bold;color:#000000;text-decoration:none;font-size:12px;}.number-over{font-weight:bold;cursor:pointer;color:#0000FF;text-decoration:underline;}.number-empty{font-weight:normal;font-size:12px;}</style>").appendTo("body");var l=434,r=130;"edwards"==B.displayMode&&(l=10,r=425),s("<style>.module-legend{border:1px solid lightgrey;border-radius:5px;position:relative;left:"+l+"px;top:-"+(r+e)+"px;width:35px;padding-bottom:3px}</style>").appendTo("body"),s("<style>.leg-items{padding-top:1px;margin:3px 3px 0px 3px;cursor:pointer;border: 1px solid grey;border-radius:2px;width:27px;height:11px;font-size:0.65em;line-height:10px;opacity:0.75}</style>").appendTo("body");var o='<div id="frame" style="position: relative; left: 0pt; top: 5pt; width: 500px; height: "'+(445+e)+'px;">';o+='<div id="canvasEllipse" width="500px" height="'+(415+e)+'px;"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111111"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label1"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label2"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label3"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label4"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label5"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label6"></div>',o+="</div>",t.html(o),j=new C2S(O,N),s("*[id^=resultC]").each(function(){s(this).html(0),s(this).addClass("number-empty"),s(this).css("font-size",B.fontSize),s(this).css("font-family",B.fontFamily)}),s("*[id^=label]").each(function(){s(this).css("font-family",B.fontFamily)});var c=z();"list"==c[0]?w():"count"==c[0]&&E(),null!=B.searchInput&&B.searchInput.keyup(function(){F(B.searchInput.val(),B.searchMinSize)}),"edwards"==B.displayMode?y(c[1]):x(c[1]),B.displayStat&&v(c[1]),B.exporting===!0&&S(t,e,c[0]),c[1]>=4&&_(t,c[1]),s(".number-black").hover(function(){var t=!1;s("*[id^=item]").each(function(){"on"===s(this).children("span").text()&&(t=!0)});var e=!1;if(null!=B.searchInput&&""!=B.searchInput.val()&&(e=!0),!t&&!e&&""!==s(this).text()){var l=this.listnames,r=this;s("*[id^=label]").each(function(){l.indexOf(s(this).text())<0?s(this).css("opacity",.1):s(this).css("opacity",.6)}),s(".number-black").each(function(){this!=r&&s(this).css("opacity",.1)}),b(),"edwards"==B.displayMode?y(c[1]):x(c[1]),B.displayStat&&v(c[1])}},function(){var t=!1;s("*[id^=item]").each(function(){"on"===s(this).children("span").text()&&(t=!0)});var e=!1;if(null!=B.searchInput&&""!=B.searchInput.val()&&(e=!0),!t&&!e&&""!==s(this).text()){{this.listnames}s("*[id^=label]").each(function(){s(this).css("opacity",.5)}),s(".number-black").each(function(){s(this).css("opacity",1)}),b(),"edwards"==B.displayMode?y(c[1]):x(c[1]),B.displayStat&&v(c[1])}}),s("#canvasEllipse").html(j.getSvg())}),this}}(jQuery);
100 </script>
101 <script type="text/javascript">
102 /*
103 * HTMLTable.js 0.1.0 - HTMLTable Library
104 *
105 * Copyright (c) 2015 Escudie Frederic
106 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
107 */
108 function HTMLtable(e){var t,r,n=e,a=";";this.deleteColumns=function(e){for(var a=n.getElementsByTagName("tr"),o=0;o<a.length;o++){s=0;var i=a[o].getElementsByTagName("td");0==i.length&&(i=a[o].getElementsByTagName("th"));for(var v=0,s=0;s<t[1];s++)if(!r[o][s]){var f=i[v].getAttribute("colspan");if(null!=f)for(var m=0;f>m;m++){if(in_array(s+m,e)){var u=i[v].getAttribute("colspan");u-1==0?i[v].removeAttribute("colspan"):i[v].setAttribute("colspan",u-1)}if(null==i[v].getAttribute("colspan")){var h=i[v];a[o].removeChild(h),v--}}else if(in_array(s,e)){var h=i[v];a[o].removeChild(h),v--}v++}}l(),g()},this.filter=function(e,a){var l=new RegExp(e),g=new Array;null!=a&&a||(g.c0=!0);for(var o=n.getElementsByTagName("tr"),i=0;i<o.length;i++){f=0;var v=o[i].getElementsByTagName("td");if(0!=v.length)for(var s=0,f=0;f<t[1];f++)r[i][f]||(l.test(v[s].innerHTML)&&(g["c"+f]=!0),s++)}for(var m=new Array,u=0;u<t[1];u++)void 0===g["c"+u]&&m.push(u);this.deleteColumns(m)},this.getModel=function(){return n};var l=function(){for(var e=0,r=0,a=n.getElementsByTagName("tr"),l=0;l<a.length;l++){var g=0;e++;var o=a[l].getElementsByTagName("td");0==o.length&&(o=a[l].getElementsByTagName("th"));for(var i=0;i<o.length;i++){var v=o[i].getAttribute("colspan");g+=null==v?1:parseInt(v)}g>r&&(r=g)}t=new Array(2),t[0]=e,t[1]=r},g=function(){r=new Array(t[0]);for(var e=0;e<t[0];e++){r[e]=new Array(t[1]);for(var a=0;a<t[1];a++)r[e][a]=!1}for(var l=n.getElementsByTagName("tr"),g=0;g<l.length;g++){v=0;var o=l[g].getElementsByTagName("td");0==o.length&&(o=l[g].getElementsByTagName("th"));for(var i=0,v=0;v<t[1];v++)if(!r[g][v]){var s=0,f=0,m=o[i].getAttribute("rowspan");null!=m&&(s=parseInt(m)-1);var u=o[i].getAttribute("colspan");null!=u&&(f=parseInt(u)-1);for(var h=s;h>=0;h--)for(var y=f;y>=0;y--)(0!=h||0!=y)&&(r[g+h][v+y]=!0);i++}}};this.replace=function(e,a,l){var g=new RegExp(e);null==a&&(a=""),null==l&&(l="");for(var o=n.getElementsByTagName("tr"),i=0;i<o.length;i++){f=0;var v=o[i].getElementsByTagName("td");if(0!=v.length)for(var s=0,f=0;f<t[1];f++)if(!r[i][f]){var m=g.exec(v[s].innerHTML);null!=m&&(void 0===m[1]&&(m[1]=""),v[s].innerHTML=a+m[1]+l),s++}}},this.toCSV=function(){for(var e="",l=n.getElementsByTagName("tr"),g=0;g<l.length;g++){var o=l[g].getElementsByTagName("td");0==o.length&&(o=l[g].getElementsByTagName("th"));for(var i=0,v=0;v<t[1];v++)r[g][v]||(e+=o[i].innerHTML,i++),e+=a;e=e.substr(0,e.length-1)+"\n"}return e},l(),g()}var in_array=function(e,t){for(var r in t)if(t[r]==e)return!0;return!1};
109
110 /*
111 * dataTableExtractor.plugin.js 0.1.0 - datatableExport Library
112 *
113 * Copyright (c) 2015 Escudie Frederic
114 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
115 */
116 !function(t){t.fn.datatableExport=function(a){var e={anchor_id:t(this).attr("id"),table_id:null,csv_separator:";",omitted_columns:[]},n=t.extend(e,a);if(!t(this).length)throw"The element where the datatableExport is called does not exist.";if(void 0==n.anchor_id)throw"The datatableExport plugin must be called on an element with id.";if(null==n.table_id)throw"You must set the table_id parameter in datatableExport plugin.";if(!t("#"+n.table_id))throw"The datatable '#"+n.table_id+"' cannot be retieve in DOM.";return this.each(function(){var a=t(this);a.on("click",function(){t.fn.datatableExport.csv(n.anchor_id,n.table_id,n.csv_separator,n.omitted_columns)})})},t.fn.datatableExport.cleanCellMarkup=function(a,e){t.parseHTML(e);t("#"+a).append('<div class="hidden data-tmp">'+e+"</div>"),t("#"+a+" .data-tmp").find("input").each(function(){var a="";a=t(this).is(":checkbox")?t(this).is(":checked")?"true":"false":t(this).val(),t(this).replaceWith(a)});var n=t("#"+a+" .data-tmp").text();return t("#"+a+" .data-tmp").remove(),n},t.fn.datatableExport.csv=function(a,e,n,i){var l="",r=t("#"+e).DataTable(),d=t("#"+e+" thead")[0],o=new HTMLtable(d.cloneNode(!0));o.deleteColumns(i),l+=o.toCSV();var c=r.rows().data();t.each(c,function(e,n){for(var r="",d=0;d<n.length;d++)-1==t.inArray(d,i)&&(r+='"'+t.fn.datatableExport.cleanCellMarkup(a,n[d])+'";');""!=r&&(r=r.slice(0,-1)),l+=r+"\n"}),t("#"+a+"-extract-csv").length||t("#"+a).append('<a id="'+a+'-extract-csv" href="data:text/csv;charset=UTF-8,'+encodeURI(l)+'" download="data.csv" style="display:none;"></a>'),t("#"+a+"-extract-csv")[0].click()}}(jQuery);
117 </script>
118
119 <script type="text/javascript">
120 /*
121 $(document).ready(function(){
122 $('#example').jvenn({
123 series: [{
124 name: {A: 'Actors',
125 B: 'Singers'},
126 data: {A: ["Arnold Schwarzenegger", "Jack Nicholson", "Robert de Niro", "Harrison Ford"], B: ["Freddy Mercury", "Ricky Martin", "Celine Dion"], AB: ["Marilyn Monroe", "Barbra Streisand", "Dean Martin"]},
127 values: {A: 4, B: 3, AB: 3}
128 }],
129 });
130 });
131 */
132 var jvenn_data = {"series": [{"values": {"BD": 0, "BE": 0, "BF": 5, "ACF": 0, "ACE": 0, "BC": 0, "DF": 0, "BCE": 0, "BCF": 0, "DE": 0, "BEF": 2, "AC": 0, "ACD": 0, "AB": 8, "AEF": 106, "AE": 13, "ABCE": 0, "DEF": 0, "AD": 0, "BCDE": 0, "CEF": 0, "BCDF": 0, "ABCF": 0, "AF": 6, "ABC": 0, "BCDEF": 1, "BCD": 1, "ADEF": 2, "ABDEF": 146, "ABEF": 484, "BDEF": 1, "A": 63, "ACEF": 0, "C": 0, "B": 24, "E": 0, "D": 0, "ABF": 3, "F": 27, "ABCDE": 0, "EF": 15, "ABD": 0, "CF": 0, "CE": 0, "CD": 0, "ADF": 0, "ADE": 0, "ABDE": 0, "ACDF": 0, "BDF": 0, "ABDF": 0, "ACDEF": 1, "ABCDEF": 394, "ABCDF": 0, "BCEF": 0, "CDE": 0, "CDF": 0, "CDEF": 2, "ABE": 5, "ABCD": 0, "ABCEF": 18, "BDE": 0, "ACDE": 0}, "data": {"BD": [], "BE": [], "BF": ["G004321", "G002493", "G001369", "G004173", "G002562"], "ACF": [], "ACE": [], "BC": [], "DF": [], "BCE": [], "BCF": [], "DE": [], "BEF": ["G002976", "G000483"], "AC": [], "ACD": [], "AB": ["G002826", "G004420", "G003424", "G000164", "G001536", "G001779", "G003094", "G001994"], "AEF": ["G001195", "G000114", "G004177", "G001510", "G000742", "G000510", "G002339", "G003039", "G004026", "G000994", "G005074", "G001180", "G003397", "G002226", "G003792", "G000197", "G003008", "G003005", "G004542", "G002029", "G002382", "G004087", "G003326", "G004278", "G005029", "G001364", "G002944", "G002098", "G000604", "G001570", "G000600", "G004559", "G002010", "G002018", "G003318", "G001808", "G003922", "G005158", "G001581", "G000215", "G003144", "G003929", "G004636", "G000865", "G000942", "G004407", "G002712", "G004957", "G005221", "G001246", "G001240", "G003891", "G002961", "G003876", "G003441", "G003440", "G003270", "G004888", "G002075", "G004249", "G002762", "G001941", "G004184", "G004499", "G000419", "G001238", "G000129", "G005262", "G001787", "G001425", "G002263", "G002261", "G002189", "G004367", "G000095", "G002684", "G005041", "G004333", "G000304", "G003203", "G002106", "G001671", "G004826", "G004199", "G004214", "G002210", "G005186", "G004908", "G002354", "G002118", "G004726", "G002059", "G005217", "G005215", "G003904", "G001215", "G004786", "G004222", "G001528", "G004561", "G003020", "G004682", "G003344", "G000242", "G004355", "G004356"], "AE": ["G000080", "G004384", "G002405", "G003427", "G004700", "G002541", "G004994", "G003751", "G004667", "G004089", "G002905", "G002841", "G001451"], "ABCE": [], "DEF": [], "AD": [], "BCDE": [], "CEF": [], "BCDF": [], "ABCF": [], "AF": ["G001203", "G004708", "G003149", "G002637", "G001114", "G002037"], "ABC": [], "BCDEF": ["G005214"], "BCD": ["G002462"], "ADEF": ["G001285", "G002062"], "ABDEF": ["G001197", "G001193", "G001052", "G003936", "G003838", "G004554", "G000391", "G002234", "G002237", "G001985", "G002131", "G003232", "G002336", "G004206", "G003729", "G002912", "G000026", "G000236", "G004365", "G004473", "G002224", "G003390", "G001184", "G004492", "G001469", "G000318", "G004537", "G000751", "G004389", "G003240", "G000706", "G004061", "G004276", "G003153", "G001874", "G003089", "G002922", "G002895", "G003794", "G005021", "G004863", "G005023", "G000365", "G004009", "G001883", "G002310", "G000605", "G003709", "G004556", "G003014", "G004262", "G002780", "G002392", "G001483", "G002893", "G005138", "G000276", "G001160", "G002362", "G001901", "G001647", "G001567", "G003269", "G003570", "G003576", "G002796", "G003678", "G004151", "G004086", "G002880", "G002886", "G001550", "G002888", "G004749", "G002966", "G000669", "G001794", "G000663", "G004438", "G004478", "G004431", "G001724", "G004733", "G003760", "G002767", "G003078", "G003077", "G002582", "G004753", "G002874", "G000256", "G001785", "G000716", "G000493", "G000805", "G003699", "G002343", "G004394", "G003362", "G001831", "G003368", "G004424", "G005044", "G002775", "G003596", "G001934", "G004213", "G001732", "G001737", "G002191", "G001534", "G002195", "G002215", "G001634", "G001635", "G000832", "G003625", "G002288", "G000082", "G001888", "G003359", "G000931", "G004693", "G002690", "G005050", "G005053", "G003218", "G003219", "G001333", "G002056", "G003746", "G001026", "G001219", "G000431", "G000167", "G001609", "G002206", "G004445", "G002750", "G003340", "G001629", "G004350", "G002901", "G002187", "G002510", "G002040"], "ABEF": ["G001344", "G004551", "G001597", "G000748", "G000620", "G000628", "G000629", "G001296", "G003031", "G001726", "G002038", "G002032", "G001687", "G002526", "G001465", "G004491", "G004144", "G001665", "G001668", "G004467", "G002650", "G004462", "G000845", "G004547", "G002146", "G002624", "G002625", "G002620", "G004648", "G004860", "G000362", "G004643", "G004795", "G004334", "G003661", "G000218", "G003143", "G003928", "G001169", "G000273", "G003110", "G001893", "G001895", "G001897", "G004814", "G002085", "G002245", "G002246", "G002242", "G002715", "G005148", "G005149", "G000444", "G005142", "G004729", "G004082", "G002882", "G002881", "G000788", "G001306", "G000668", "G000540", "G001090", "G000646", "G003446", "G001393", "G004885", "G002402", "G002401", "G000231", "G000144", "G001001", "G002913", "G005033", "G001949", "G002814", "G001944", "G002816", "G001766", "G001940", "G002760", "G001542", "G002585", "G001232", "G002589", "G001628", "G003695", "G001626", "G002007", "G004421", "G002061", "G003043", "G002107", "G003044", "G002104", "G004191", "G003915", "G001434", "G001433", "G004699", "G004698", "G004695", "G004697", "G003183", "G002613", "G002612", "G004458", "G004104", "G004850", "G004593", "G002436", "G005274", "G002200", "G003980", "G003823", "G002209", "G001997", "G001991", "G000982", "G004604", "G003139", "G003138", "G000323", "G004982", "G000116", "G005002", "G005001", "G003522", "G001146", "G001906", "G002446", "G002444", "G000022", "G000023", "G000027", "G000181", "G000180", "G005178", "G000186", "G001278", "G001279", "G001374", "G001379", "G001271", "G004108", "G000759", "G000612", "G005091", "G003411", "G000754", "G002535", "G004972", "G002380", "G002929", "G001972", "G001878", "G001970", "G001877", "G001697", "G001694", "G001978", "G001474", "G004481", "G001478", "G004484", "G004485", "G003381", "G001579", "G004999", "G000976", "G000879", "G004411", "G004410", "G000872", "G003099", "G002655", "G002654", "G004328", "G000274", "G004325", "G004635", "G000270", "G004439", "G003179", "G003953", "G003776", "G003898", "G003956", "G003770", "G003892", "G000203", "G003670", "G004520", "G004745", "G004743", "G004740", "G001155", "G005121", "G004021", "G005231", "G004730", "G005234", "G002996", "G005237", "G000475", "G003818", "G002879", "G002878", "G001707", "G000790", "G004867", "G000497", "G005196", "G005199", "G000498", "G002470", "G001836", "G001385", "G001015", "G002774", "G001937", "G001201", "G002599", "G000834", "G003057", "G002694", "G003588", "G002973", "G002970", "G002979", "G003906", "G003903", "G000988", "G000909", "G002183", "G003637", "G004568", "G000904", "G003733", "G002609", "G003227", "G002184", "G004704", "G003836", "G000232", "G000338", "G000339", "G003643", "G004203", "G000238", "G003649", "G003648", "G004014", "G000041", "G004011", "G001802", "G000194", "G002734", "G003199", "G002301", "G002303", "G000427", "G001119", "G000584", "G001116", "G001110", "G001854", "G002942", "G002941", "G003784", "G004944", "G004947", "G003013", "G003542", "G001809", "G001960", "G001746", "G001749", "G002838", "G001968", "G002391", "G001645", "G001644", "G001646", "G000944", "G003306", "G003302", "G004404", "G004892", "G003261", "G003308", "G001244", "G001241", "G003286", "G000268", "G003282", "G003281", "G004237", "G000261", "G005172", "G005173", "G003160", "G001121", "G004123", "G000404", "G003766", "G004120", "G004539", "G004243", "G003601", "G000890", "G000896", "G000894", "G005118", "G004059", "G000002", "G005114", "G000411", "G002348", "G005073", "G002344", "G004832", "G002341", "G000098", "G003116", "G000301", "G004332", "G004331", "G005204", "G000466", "G005200", "G002868", "G002865", "G002860", "G002863", "G003500", "G003503", "G002194", "G002714", "G005182", "G000526", "G000524", "G004883", "G002464", "G002469", "G002749", "G001929", "G005220", "G004088", "G001022", "G001604", "G001355", "G001606", "G001353", "G001210", "G004302", "G000637", "G000635", "G000631", "G000737", "G000827", "G000730", "G002120", "G003025", "G003342", "G002687", "G001289", "G001324", "G001325", "G001281", "G003938", "G004022", "G003931", "G003163", "G001517", "G001457", "G002051", "G003233", "G003791", "G003238", "G003480", "G003337", "G004470", "G004610", "G000358", "G003800", "G004657", "G004874", "G003808", "G000352", "G004625", "G002228", "G001711", "G004784", "G004377", "G004007", "G001179", "G000078", "G000660", "G004392", "G002096", "G004398", "G002093", "G005227", "G002705", "G002251", "G001108", "G000592", "G001756", "G000772", "G001825", "G002891", "G002439", "G002489", "G002484", "G002957", "G003474", "G002388", "G001083", "G001080", "G002555", "G001394", "G002843", "G001952", "G001073", "G001810", "G001812", "G001776", "G002414", "G002417", "G001227", "G001495", "G001559", "G000468", "G000810", "G000709", "G002671", "G003375", "G004435", "G003076", "G003296", "G000253", "G004220", "G000254", "G001424", "G003949", "G002458", "G000929", "G000927", "G001578", "G004137", "G004501", "G003612", "G004245", "G003201", "G003972", "G004989", "G004988", "G004755", "G004040", "G000405", "G005265", "G004044", "G004980", "G004829", "G002213", "G004290", "G003850", "G004346", "G000317", "G001049", "G003701", "G003538", "G000530", "G000534", "G004535", "G002757", "G002459", "G001910", "G002751", "G002758", "G002320", "G000031", "G001032"], "BDEF": ["G004118"], "A": ["G001905", "G000130", "G000349", "G002946", "G004042", "G002598", "G002420", "G002190", "G004395", "G000389", "G001410", "G000053", "G000189", "G001293", "G001291", "G003379", "G002906", "G000222", "G003407", "G003764", "G002974", "G003644", "G002782", "G002172", "G002079", "G003965", "G000773", "G004036", "G001047", "G004140", "G004711", "G000880", "G004716", "G003934", "G003416", "G004838", "G002205", "G002365", "G004085", "G003453", "G003681", "G001788", "G002084", "G001421", "G003174", "G003630", "G002752", "G004453", "G003690", "G004978", "G002192", "G003433", "G003739", "G003598", "G004208", "G003498", "G001071", "G002640", "G004526", "G000200", "G003425", "G003490", "G002287"], "ACEF": [], "C": [], "B": ["G004580", "G001204", "G002864", "G002803", "G003997", "G001436", "G005184", "G003688", "G000569", "G003544", "G001298", "G004121", "G005031", "G001761", "G004037", "G005014", "G001485", "G004679", "G000570", "G000881", "G001563", "G003758", "G001696", "G004115"], "E": [], "D": [], "ABF": ["G000655", "G004703", "G000046"], "F": ["G003283", "G002316", "G000950", "G001094", "G000919", "G003033", "G003401", "G003940", "G003662", "G002781", "G003484", "G001580", "G002176", "G004364", "G005211", "G005018", "G004659", "G004637", "G001481", "G002220", "G000718", "G000731", "G003851", "G001387", "G002455", "G001139", "G003155"], "ABCDE": [], "EF": ["G001936", "G004930", "G004238", "G000875", "G001275", "G002311", "G003088", "G001657", "G003943", "G001072", "G001509", "G002635", "G000309", "G000471", "G004081"], "ABD": [], "CF": [], "CE": [], "CD": [], "ADF": [], "ADE": [], "ABDE": [], "ACDF": [], "BDF": [], "ABDF": [], "ACDEF": ["G005180"], "ABCDEF": ["G001598", "G000305", "G001343", "G000749", "G005089", "G004967", "G003403", "G001725", "G001729", "G001467", "G001461", "G005250", "G000962", "G000966", "G004096", "G001507", "G004466", "G004543", "G004469", "G003080", "G002628", "G002626", "G003322", "G004649", "G004793", "G004260", "G003142", "G003881", "G004034", "G002899", "G005131", "G000061", "G001890", "G001891", "G002361", "G001899", "G002369", "G002368", "G003041", "G002710", "G002711", "G005222", "G000447", "G002969", "G002968", "G002885", "G000783", "G002967", "G000547", "G001093", "G000665", "G004887", "G002569", "G001820", "G004922", "G004925", "G000147", "G001007", "G001751", "G001760", "G001765", "G001547", "G000714", "G000715", "G000717", "G001780", "G000711", "G001623", "G001620", "G004428", "G003366", "G004907", "G003593", "G003592", "G002101", "G003594", "G004192", "G003919", "G004210", "G003912", "G001539", "G001431", "G003589", "G000934", "G003628", "G002616", "G002610", "G003962", "G003747", "G003964", "G004856", "G004671", "G004992", "G005276", "G004772", "G005273", "G002202", "G003828", "G001998", "G001995", "G001993", "G004351", "G004353", "G000985", "G000984", "G000987", "G002416", "G001283", "G001226", "G001051", "G001053", "G002722", "G001904", "G002331", "G002332", "G002333", "G001123", "G005176", "G005175", "G000028", "G000029", "G000185", "G005094", "G005095", "G002533", "G003558", "G003550", "G001753", "G001976", "G001975", "G002385", "G002384", "G002024", "G001791", "G003388", "G004487", "G004468", "G001575", "G004558", "G001218", "G003093", "G002658", "G002153", "G003315", "G003317", "G004329", "G000420", "G004324", "G001409", "G003177", "G004258", "G000012", "G005126", "G002373", "G000381", "G000376", "G000377", "G004735", "G001704", "G001703", "G003511", "G005192", "G000490", "G005198", "G002475", "G004932", "G004934", "G005043", "G002779", "G002594", "G002595", "G000721", "G000720", "G000725", "G000726", "G001630", "G000728", "G002981", "G001633", "G001288", "G002693", "G002691", "G003059", "G002050", "G002053", "G002975", "G002055", "G002054", "G001840", "G003905", "G003901", "G004161", "G004160", "G001328", "G003634", "G000902", "G003229", "G004119", "G002601", "G004113", "G003222", "G005248", "G005241", "G005243", "G001983", "G002231", "G001987", "G003645", "G000237", "G003125", "G005019", "G000514", "G001061", "G001189", "G000165", "G000696", "G002309", "G000195", "G001386", "G000426", "G004064", "G001115", "G005169", "G000581", "G000517", "G001112", "G002497", "G001362", "G001360", "G003464", "G002011", "G003619", "G003543", "G002833", "G002784", "G002834", "G001748", "G001640", "G001560", "G001565", "G003304", "G003305", "G003865", "G002648", "G004578", "G001247", "G002641", "G004589", "G004623", "G000262", "G001649", "G000899", "G005266", "G003948", "G004241", "G004532", "G000008", "G000009", "G000418", "G000412", "G002928", "G002267", "G003843", "G003847", "G002346", "G000302", "G003113", "G000306", "G004330", "G005201", "G005203", "G005202", "G001736", "G003502", "G005188", "G002199", "G005185", "G005055", "G002297", "G000356", "G001926", "G001605", "G001352", "G001351", "G001359", "G002998", "G002992", "G003023", "G002682", "G002902", "G002048", "G002044", "G001287", "G004170", "G003230", "G004577", "G000857", "G000851", "G004479", "G003486", "G004471", "G002972", "G004475", "G004477", "G004718", "G004307", "G000355", "G004712", "G004713", "G004714", "G004715", "G004783", "G004273", "G004373", "G003154", "G004004", "G005024", "G001171", "G000177", "G001880", "G001889", "G002709", "G002254", "G002383", "G002702", "G005254", "G005255", "G005159", "G004099", "G001102", "G005154", "G004095", "G001107", "G001105", "G002894", "G001319", "G002896", "G002488", "G001317", "G002953", "G003902", "G003579", "G002551", "G004895", "G002001", "G001951", "G001819", "G002797", "G001771", "G001772", "G001554", "G000705", "G000704", "G000701", "G000951", "G001650", "G001651", "G002077", "G003075", "G001006", "G000259", "G004187", "G004565", "G004131", "G004136", "G003208", "G003611", "G005119", "G004762", "G005269", "G005268", "G004768", "G005264", "G005263", "G004299", "G002097", "G000311", "G000316", "G004612", "G005212", "G004349", "G004618", "G001136", "G000101", "G001045", "G001043", "G000005", "G003539", "G003220", "G002755", "G002453", "G005105", "G000030", "G002282"], "ABCDF": [], "BCEF": [], "CDE": [], "CDF": [], "CDEF": ["G004293", "G005246"], "ABE": ["G002821", "G004455", "G003971", "G000024", "G004855"], "ABCD": [], "ABCEF": ["G004239", "G003173", "G004545", "G004051", "G002566", "G002518", "G001525", "G000722", "G001029", "G004391", "G000370", "G003082", "G003602", "G002180", "G005167", "G004789", "G000824", "G005259"], "BDE": [], "ACDE": []}, "name": {"A": "DESeq", "C": "RPKM", "B": "FQ", "E": "TMM", "D": "TC", "F": "UQ"}}], "displaySwitch": "true", "shortNumber": "true", "displayStat": "true"} ;
133 $(document).ready(function(){
134 $('#example').jvenn(jvenn_data);
135 });
136
137 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
138 //
139 // Data
140 //
141 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
142 //var processed_filters = ###PORCESSED_FILTERS### ;
143 /* Example:
144 ['filterA', 'filterB', 'filterC']
145 */
146 //var global_results = ###GLOBAL_RESULTS### ;
147 /* Example:
148 {
149 'nb_clstr_kept': 100,
150 'nb_clstr_ini': 300,
151 'nb_seq_kept': 100,
152 'nb_seq_ini': 100000
153 }
154 */
155 //var by_samples_results = ###SAMPLES_RESULTS### ;
156 /* Example:
157 {
158 'sampleA':{
159 'filtered':{
160 'filterA': 10,
161 'filterB': 20
162 },
163 'initial': 75,
164 'kept': 50
165 },
166 'sampleB':{
167 'filtered':{
168 'filterB': 20,
169 },
170 'initial': 110,
171 'kept': 90
172 }
173 }
174 */
175 //var by_filters_results = ###FILTERS_RESULTS### ;
176 /* Example:
177 [
178 {'filters':['filterA'], 'count': 10},
179 {'filters':['filterB'], 'count': 20},
180 {'filters':['filterC'], 'count': 30},
181 {'filters':['filterA', 'filterB'], 'count': 1},
182 {'filters':['filterA', 'filterC'], 'count': 2},
183 {'filters':['filterB', 'filterC'], 'count': 3},
184 {'filters':['filterA', 'filterB', 'filterC'], 'count': 4}
185 ];
186 */
187
188 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
189 //
190 // Main
191 //
192 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
193 $(function() {
194 // Remove alert
195 $('#js-alert').remove();
196 $('#content').removeClass("hidden");
197
198 // Load active tab
199 global_filters_load();
200 intersections_filters_load();
201
202 // Add tab listener
203 $('.nav-tabs a').click(function (e) {
204 e.preventDefault();
205 $(this).tab('show');
206 if( $(this).attr('href') == "#view-by-samples" && $('#view-by-samples').hasClass('disabled') ){
207 $('#view-by-samples').removeClass('disabled')
208 samples_filters_load( "filter-log" );
209 }
210 })
211 });
212 </script>
213
214 </head>
215 <body>
216 <!-- Alert -->
217 <p id="js-alert" class="alert alert-warning">
218 javascript is needed to display data.<br />
219 If you try to view this data on galaxy please contact your administrator to authorise javascript or download the file to view.
220 </p>
221
222 <!-- Content -->
223 <div id="example"></div>
224 </div>
225
226
227 </body>
228 </html>