PageSourceSearch

https://blockpath.com/static/reddit-init.KseNDd7tKS4.js

js blockpath.com collected 2026-09-25 14:58:01 UTC 460,691 bytes, 1 lines download raw bytes

vendor: 1,595 bytes, line 1
1try{var JSON;if(function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){var n=[],r=n.slice,i=n.concat,o=n.push,a=n.indexOf,s={},u=s.toString,c=s.hasOwnProperty,l={},f=t.document,h=function(t,e){return new h.fn.init(t,e)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,g=/-([\da-z])/gi,v=function(t,e){return e.toUpperCase()};function m(t){var e=t.length,n=h.type(t);return"function"!==n&&!h.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}h.fn=h.prototype={jquery:"2.1.1",constructor:h,selector:"",length:0,toArray:function(){return r.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:r.call(this)},pushStack:function(t){var e=h.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return h.each(this,t,e)},map:function(t){return this.pushStack(h.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:o,sort:n.sort,splice:n.splice},h.extend=h.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{}
vendor: 4,692 bytes, line 1
1,s++),"object"==typeof a||h.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],a!==(r=t[e])&&(c&&r&&(h.isPlainObject(r)||(i=h.isArray(r)))?(i?(i=!1,o=n&&h.isArray(n)?n:[]):o=n&&h.isPlainObject(n)?n:{},a[e]=h.extend(c,o,r)):void 0!==r&&(a[e]=r));return a},h.extend({expando:"jQuery"+("2.1.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===h.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!h.isArray(t)&&t-parseFloat(t)>=0},isPlainObject:function(t){return"object"===h.type(t)&&!t.nodeType&&!h.isWindow(t)&&!(t.constructor&&!c.call(t.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?s[u.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=h.trim(t))&&(1===t.indexOf("use strict")?((e=f.createElement("script")).text=t,f.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(p,"ms-").replace(g,v)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r=0,i=t.length,o=m(t);if(n){if(o)for(;r<i&&!1!==e.apply(t[r],n);r++);else for(r in t)if(!1===e.apply(t[r],n))break}else if(o)for(;r<i&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(d,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(m(Object(t))?h.merge(n,"string"==typeof t?[t]:t):o.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:a.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,o=0,a=t.length,s=[];if(m(t))for(;o<a;o++)null!=(r=e(t[o],o,n))&&s.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&s.push(r);return i.apply([],s)},guid:1,proxy:function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),h.isFunction(t))return i=r.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(r.call(arguments)))}).guid=t.guid=t.guid||h.guid++,o},now:Date.now,support:l}),h.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){s["[object "+e+"]"]=e.toLowerCase()});var y=function(t){var e,n,r,i,o,a,s,u,c,l,f,h,d,p,g,v,m,y,_,x="sizzle"+-new Date,b=t.document,w=0,k=0,C=at(),T=at(),M=at(),S=function(t,e){return t===e&&(f=!0),0},E="undefined",A=1<<31,N={}.hasOwnProperty,D=[],O=D.pop,j=D.push,L=D.push,P=D.slice,R=D.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",q="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F=q.replace("w","w#"),z="\\["+B+"*("+q+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+B+"*\\]",U=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",H=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),W=new RegExp("^"+B+"*,"+B+"*"),X=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),Y=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),J=new RegExp(U),V=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,nt=/'|\\/g,rt=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig"),it=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{L.apply(D=P.call(b.childNodes),b.childNodes),D[b.childNodes.length].nodeType}catch(t){L={apply:D.length?function(t,e){j.apply(t,P.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ot(t,e,r,i){var o,s,c,l,f,p,m,y,w,k;if((e?e.ownerDocument||e:b)!==d&&h(e),r=r||[],!t||"string"!=typeof t)return r;if(1!==(l=(e=e||d).nodeType)&&9!==l)return[];
vendor: 4,354 bytes, line 1
1if(g&&!i){if(o=tt.exec(t))if(c=o[1]){if(9===l){if(!(s=e.getElementById(c))||!s.parentNode)return r;if(s.id===c)return r.push(s),r}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(c))&&_(e,s)&&s.id===c)return r.push(s),r}else{if(o[2])return L.apply(r,e.getElementsByTagName(t)),r;if((c=o[3])&&n.getElementsByClassName&&e.getElementsByClassName)return L.apply(r,e.getElementsByClassName(c)),r}if(n.qsa&&(!v||!v.test(t))){if(y=m=x,w=e,k=9===l&&t,1===l&&"object"!==e.nodeName.toLowerCase()){for(p=a(t),(m=e.getAttribute("id"))?y=m.replace(nt,"\\$&"):e.setAttribute("id",y),y="[id='"+y+"'] ",f=p.length;f--;)p[f]=y+vt(p[f]);w=et.test(t)&&pt(e.parentNode)||e,k=p.join(",")}if(k)try{return L.apply(r,w.querySelectorAll(k)),r}catch(t){}finally{m||e.removeAttribute("id")}}}return u(t.replace(H,"$1"),e,r,i)}function at(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function st(t){return t[x]=!0,t}function ut(t){var e=d.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),i=t.length;i--;)r.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||A)-(~t.sourceIndex||A);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function dt(t){return st(function(e){return e=+e,st(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function pt(t){return t&&typeof t.getElementsByTagName!==E&&t}for(e in n=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=ot.setDocument=function(t){var e,i=t?t.ownerDocument||t:b,a=i.defaultView;return i!==d&&9===i.nodeType&&i.documentElement?(d=i,p=i.documentElement,g=!o(i),a&&a!==a.top&&(a.addEventListener?a.addEventListener("unload",function(){h()},!1):a.attachEvent&&a.attachEvent("onunload",function(){h()})),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(i.getElementsByClassName)&&ut(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),n.getById=ut(function(t){return p.appendChild(t).id=x,!i.getElementsByName||!i.getElementsByName(x).length}),n.getById?(r.find.ID=function(t,e){if(typeof e.getElementById!==E&&g){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(t){var e=t.replace(rt,it);return function(t){return t.getAttribute("id")===e}}):(delete r.find.ID,r.filter.ID=function(t){var e=t.replace(rt,it);return function(t){var n=typeof t.getAttributeNode!==E&&t.getAttributeNode("id");return n&&n.value===e}}),r.find.TAG=n.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!==E)return e.getElementsByTagName(t)}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!==E&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=Z.test(i.querySelectorAll))&&(ut(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&v.push("[*^$]="+B+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+B+"*(?:value|"+I+")"),t.querySelectorAll(":checked").length||v.push(":checked")}),ut(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+B+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),m.push("!=",U)}
vendor: 4,176 bytes, line 1
1),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=Z.test(p.compareDocumentPosition),_=e||Z.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===i||t.ownerDocument===b&&_(b,t)?-1:e===i||e.ownerDocument===b&&_(b,e)?1:l?R.call(l,t)-R.call(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,o=t.parentNode,a=e.parentNode,s=[t],u=[e];if(!o||!a)return t===i?-1:e===i?1:o?-1:a?1:l?R.call(l,t)-R.call(l,e):0;if(o===a)return lt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?lt(s[r],u[r]):s[r]===b?-1:u[r]===b?1:0},i):d},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==d&&h(t),e=e.replace(Y,"='$1']"),n.matchesSelector&&g&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return ot(e,d,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==d&&h(t),_(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==d&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&N.call(r.attrHandle,e.toLowerCase())?i(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(S),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ot.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ot.selectors={cacheLength:50,createPseudo:st,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(rt,it),t[3]=(t[3]||t[4]||t[5]||"").replace(rt,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&J.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(rt,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+B+")"+t+"("+B+"|$)"))&&C(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==E&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ot.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,f,h,d,p,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!u&&!s;if(v){if(o){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}
vendor: 11,338 bytes, line 1
1if(p=[a?v.firstChild:v.lastChild],a&&y){for(d=(c=(l=v[x]||(v[x]={}))[t]||[])[0]===w&&c[1],h=c[0]===w&&c[2],f=d&&v.childNodes[d];f=++d&&f&&f[g]||(h=d=0)||p.pop();)if(1===f.nodeType&&++h&&f===e){l[t]=[w,d,h];break}}else if(y&&(c=(e[x]||(e[x]={}))[t])&&c[0]===w)h=c[1];else for(;(f=++d&&f&&f[g]||(h=d=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++h||(y&&((f[x]||(f[x]={}))[t]=[w,h]),f!==e)););return(h-=i)===r||h%r==0&&h/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[x]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=R.call(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:st(function(t){var e=[],n=[],r=s(t.replace(H,"$1"));return r[x]?st(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),!n.pop()}}),has:st(function(t){return function(e){return ot(t,e).length>0}}),contains:st(function(t){return function(e){return(e.textContent||e.innerText||i(e)).indexOf(t)>-1}}),lang:st(function(t){return V.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(rt,it).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:dt(function(){return[0]}),last:dt(function(t,e){return[e-1]}),eq:dt(function(t,e,n){return[n<0?n+e:n]}),even:dt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:dt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:dt(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:dt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ht(e);function gt(){}function vt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function mt(t,e,n){var r=e.dir,i=n&&"parentNode"===r,o=k++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||i)return t(e,n,o)}:function(e,n,a){var s,u,c=[w,o];if(a){for(;e=e[r];)if((1===e.nodeType||i)&&t(e,n,a))return!0}else for(;e=e[r];)if(1===e.nodeType||i){if((s=(u=e[x]||(e[x]={}))[r])&&s[0]===w&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=t(e,n,a))return!0}}}function yt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,c=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),c&&e.push(s)));return a}function xt(t,e,n,r,i,o){return r&&!r[x]&&(r=xt(r)),i&&!i[x]&&(i=xt(i,o)),st(function(o,a,s,u){var c,l,f,h=[],d=[],p=a.length,g=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)ot(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),v=!t||!o&&e?g:_t(g,h,t,s,u),m=n?i||(o?t:p||r)?[]:a:v;if(n&&n(v,m,s,u),r)for(c=_t(m,d),r(c,[],s,u),l=c.length;l--;)(f=c[l])&&(m[d[l]]=!(v[d[l]]=f));if(o){if(i||t){if(i){for(c=[],l=m.length;l--;)(f=m[l])&&c.push(v[l]=f);i(null,m=[],c,u)}for(l=m.length;l--;)(f=m[l])&&(c=i?R.call(o,f):h[l])>-1&&(o[c]=!(a[c]=f))}}else m=_t(m===a?m.splice(p,m.length):m),i?i(null,a,m,u):L.apply(a,m)})}function bt(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],u=a?1:0,l=mt(function(t){return t===e},s,!0),f=mt(function(t){return R.call(e,t)>-1},s,!0),h=[function(t,n,r){return!a&&(r||n!==c)||((e=n).nodeType?l(t,n,r):f(t,n,r))}];u<o;u++)if(n=r.relative[t[u].type])h=[mt(yt(h),n)];else{if((n=r.filter[t[u].type].apply(null,t[u].matches))[x]){for(i=++u;i<o&&!r.relative[t[i].type];i++);return xt(u>1&&yt(h),u>1&&vt(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(H,"$1"),n,u<i&&bt(t.slice(u,i)),i<o&&bt(t=t.slice(i)),i<o&&vt(t))}h.push(n)}return yt(h)}return gt.prototype=r.filters=r.pseudos,r.setFilters=new gt,a=ot.tokenize=function(t,e){var n,i,o,a,s,u,c,l=T[t+" "];if(l)return e?0:l.slice(0);for(s=t,u=[],c=r.preFilter;s;){for(a in n&&!(i=W.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=X.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),s=s.slice(n.length)),r.filter)!(i=G[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return e?s.length:s?ot.error(t):T(t,u).slice(0)},s=ot.compile=function(t,e){var n,i=[],o=[],s=M[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=bt(e[n]))[x]?i.push(s):o.push(s);(s=M(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,s,u,l){var f,h,p,g=0,v="0",m=o&&[],y=[],_=c,x=o||i&&r.find.TAG("*",l),b=w+=null==_?1:Math.random()||.1,k=x.length;for(l&&(c=a!==d&&a);v!==k&&null!=(f=x[v]);v++){if(i&&f){for(h=0;p=t[h++];)if(p(f,a,s)){u.push(f);break}l&&(w=b)}n&&((f=!p&&f)&&g--,o&&m.push(f))}if(g+=v,n&&v!==g){for(h=0;p=e[h++];)p(m,y,a,s);if(o){if(g>0)for(;v--;)m[v]||y[v]||(y[v]=O.call(u));y=_t(y)}L.apply(u,y),l&&!o&&y.length>0&&g+e.length>1&&ot.uniqueSort(u)}return l&&(w=b,c=_),m};return n?st(o):o}(o,i))).selector=t}return s},u=ot.select=function(t,e,i,o){var u,c,l,f,h,d="function"==typeof t&&t,p=!o&&a(t=d.selector||t);if(i=i||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&n.getById&&9===e.nodeType&&g&&r.relative[c[1].type]){if(!(e=(r.find.ID(l.matches[0].replace(rt,it),e)||[])[0]))return i;d&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(u=G.needsContext.test(t)?0:c.length;u--&&(l=c[u],!r.relative[f=l.type]);)if((h=r.find[f])&&(o=h(l.matches[0].replace(rt,it),et.test(c[0].type)&&pt(e.parentNode)||e))){if(c.splice(u,1),!(t=o.length&&vt(c)))return L.apply(i,o),i;break}}return(d||s(t,p))(o,e,!g,i,et.test(t)&&pt(e.parentNode)||e),i},n.sortStable=x.split("").sort(S).join("")===x,n.detectDuplicates=!!f,h(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(d.createElement("div"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||ct(I,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ot}(t);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var _=h.expr.match.needsContext,x=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,b=/^.[^:#\[\.,]*$/;function w(t,e,n){if(h.isFunction(e))return h.grep(t,function(t,r){return!!e.call(t,r,t)!==n});if(e.nodeType)return h.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(b.test(e))return h.filter(e,t,n);e=h.filter(e,t)}return h.grep(t,function(t){return a.call(e,t)>=0!==n})}h.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?h.find.matchesSelector(r,t)?[r]:[]:h.find.matches(t,h.grep(e,function(t){return 1===t.nodeType}))},h.fn.extend({find:function(t){var e,n=this.length,r=[],i=this;if("string"!=typeof t)return this.pushStack(h(t).filter(function(){for(e=0;e<n;e++)if(h.contains(i[e],this))return!0}));for(e=0;e<n;e++)h.find(t,i[e],r);return(r=this.pushStack(n>1?h.unique(r):r)).selector=this.selector?this.selector+" "+t:t,r},filter:function(t){return this.pushStack(w(this,t||[],!1))},not:function(t){return this.pushStack(w(this,t||[],!0))},is:function(t){return!!w(this,"string"==typeof t&&_.test(t)?h(t):t||[],!1).length}});var k,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(h.fn.init=function(t,e){var n,r;if(!t)return this;if("string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:C.exec(t))||!n[1]&&e)return!e||e.jquery?(e||k).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof h?e[0]:e,h.merge(this,h.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:f,!0)),x.test(n[1])&&h.isPlainObject(e))for(n in e)h.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=f.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=f,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):h.isFunction(t)?void 0!==k.ready?k.ready(t):t(h):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),h.makeArray(t,this))}).prototype=h.fn,k=h(f);var T=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function S(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}h.extend({dir:function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&h(t).is(n))break;r.push(t)}return r},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),h.fn.extend({has:function(t){var e=h(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(h.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],a=_.test(t)||"string"!=typeof t?h(t,e||this.context):0;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&h.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?h.unique(o):o)},index:function(t){return t?"string"==typeof t?a.call(h(t),this[0]):a.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(h.unique(h.merge(this.get(),h(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),h.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return h.dir(t,"parentNode")},parentsUntil:function(t,e,n){return h.dir(t,"parentNode",n)},next:function(t){return S(t,"nextSibling")},prev:function(t){return S(t,"previousSibling")},nextAll:function(t){return h.dir(t,"nextSibling")},prevAll:function(t){return h.dir(t,"previousSibling")},nextUntil:function(t,e,n){return h.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return h.dir(t,"previousSibling",n)},siblings:function(t){return h.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return h.sibling(t.firstChild)}
vendor: 12,762 bytes, line 1
1,contents:function(t){return t.contentDocument||h.merge([],t.childNodes)}},function(t,e){h.fn[t]=function(n,r){var i=h.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=h.filter(r,i)),this.length>1&&(M[t]||h.unique(i),T.test(t)&&i.reverse()),this.pushStack(i)}});var E,A=/\S+/g,N={};function D(){f.removeEventListener("DOMContentLoaded",D,!1),t.removeEventListener("load",D,!1),h.ready()}h.Callbacks=function(t){t="string"==typeof t?N[t]||function(t){var e=N[t]={};return h.each(t.match(A)||[],function(t,n){e[n]=!0}),e}(t):h.extend({},t);var e,n,r,i,o,a,s=[],u=!t.once&&[],c=function(f){for(e=t.memory&&f,n=!0,a=i||0,i=0,o=s.length,r=!0;s&&a<o;a++)if(!1===s[a].apply(f[0],f[1])&&t.stopOnFalse){e=!1;break}r=!1,s&&(u?u.length&&c(u.shift()):e?s=[]:l.disable())},l={add:function(){if(s){var n=s.length;!function e(n){h.each(n,function(n,r){var i=h.type(r);"function"===i?t.unique&&l.has(r)||s.push(r):r&&r.length&&"string"!==i&&e(r)})}(arguments),r?o=s.length:e&&(i=n,c(e))}return this},remove:function(){return s&&h.each(arguments,function(t,e){for(var n;(n=h.inArray(e,s,n))>-1;)s.splice(n,1),r&&(n<=o&&o--,n<=a&&a--)}),this},has:function(t){return t?h.inArray(t,s)>-1:!(!s||!s.length)},empty:function(){return s=[],o=0,this},disable:function(){return s=u=e=void 0,this},disabled:function(){return!s},lock:function(){return u=void 0,e||l.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!s||n&&!u||(e=[t,(e=e||[]).slice?e.slice():e],r?u.push(e):c(e)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},h.extend({Deferred:function(t){var e=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var t=arguments;return h.Deferred(function(n){h.each(e,function(e,o){var a=h.isFunction(t[e])&&t[e];i[o[1]](function(){var t=a&&a.apply(this,arguments);t&&h.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?h.extend(t,r):r}},i={};return r.pipe=r.then,h.each(e,function(t,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(t){var e,n,i,o=0,a=r.call(arguments),s=a.length,u=1!==s||t&&h.isFunction(t.promise)?s:0,c=1===u?t:h.Deferred(),l=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?r.call(arguments):o,i===e?c.notifyWith(n,i):--u||c.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);o<s;o++)a[o]&&h.isFunction(a[o].promise)?a[o].promise().done(l(o,i,a)).fail(c.reject).progress(l(o,n,e)):--u;return u||c.resolveWith(i,a),c.promise()}}),h.fn.ready=function(t){return h.ready.promise().done(t),this},h.extend({isReady:!1,readyWait:1,holdReady:function(t){t?h.readyWait++:h.ready(!0)},ready:function(t){(!0===t?--h.readyWait:h.isReady)||(h.isReady=!0,!0!==t&&--h.readyWait>0||(E.resolveWith(f,[h]),h.fn.triggerHandler&&(h(f).triggerHandler("ready"),h(f).off("ready"))))}}),h.ready.promise=function(e){return E||(E=h.Deferred(),"complete"===f.readyState?setTimeout(h.ready):(f.addEventListener("DOMContentLoaded",D,!1),t.addEventListener("load",D,!1))),E.promise(e)},h.ready.promise();var O=h.access=function(t,e,n,r,i,o,a){var s=0,u=t.length,c=null==n;if("object"===h.type(n))for(s in i=!0,n)h.access(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,h.isFunction(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(h(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:c?e.call(t):u?e(t[0],n):o};function j(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=h.expando+Math.random()}h.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},j.uid=1,j.accepts=h.acceptData,j.prototype={key:function(t){if(!j.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=j.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(r){e[this.expando]=n,h.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var r,i=this.key(t),o=this.cache[i];if("string"==typeof e)o[e]=n;else if(h.isEmptyObject(o))h.extend(this.cache[i],e);else for(r in e)o[r]=e[r];return o},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var r;return void 0===e||e&&"string"==typeof e&&void 0===n?void 0!==(r=this.get(t,e))?r:this.get(t,h.camelCase(e)):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r,i,o=this.key(t),a=this.cache[o];if(void 0===e)this.cache[o]={};else{h.isArray(e)?r=e.concat(e.map(h.camelCase)):(i=h.camelCase(e),r=e in a?[e,i]:(r=i)in a?[r]:r.match(A)||[]),n=r.length;for(;n--;)delete a[r[n]]}},hasData:function(t){return!h.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var L=new j,P=new j,R=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;function B(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(I,"-$1").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?h.parseJSON(n):n)}catch(t){}P.set(t,e,n)}else n=void 0;return n}h.extend({hasData:function(t){return P.hasData(t)||L.hasData(t)},data:function(t,e,n){return P.access(t,e,n)},removeData:function(t,e){P.remove(t,e)},_data:function(t,e,n){return L.access(t,e,n)},_removeData:function(t,e){L.remove(t,e)}}),h.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=P.get(o),1===o.nodeType&&!L.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=h.camelCase(r.slice(5)),B(o,r,i[r]));L.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){P.set(this,t)}):O(this,function(e){var n,r=h.camelCase(t);if(o&&void 0===e)return void 0!==(n=P.get(o,t))?n:void 0!==(n=P.get(o,r))?n:void 0!==(n=B(o,r,void 0))?n:void 0;this.each(function(){var n=P.get(this,r);P.set(this,r,e),-1!==t.indexOf("-")&&void 0!==n&&P.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){P.remove(this,t)})}}),h.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=L.get(t,e),n&&(!r||h.isArray(n)?r=L.access(t,e,h.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=h.queue(t,e),r=n.length,i=n.shift(),o=h._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){h.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return L.get(t,n)||L.access(t,n,{empty:h.Callbacks("once memory").add(function(){L.remove(t,[e+"queue",n])})})}}),h.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?h.queue(this[0],t):void 0===e?this:this.each(function(){var n=h.queue(this,t,e);h._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&h.dequeue(this,t)})},dequeue:function(t){return this.each(function(){h.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=h.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=L.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}});var q,F,z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=["Top","Right","Bottom","Left"],H=function(t,e){return t=e||t,"none"===h.css(t,"display")||!h.contains(t.ownerDocument,t)},W=/^(?:checkbox|radio)$/i;q=f.createDocumentFragment().appendChild(f.createElement("div")),(F=f.createElement("input")).setAttribute("type","radio"),F.setAttribute("checked","checked"),F.setAttribute("name","t"),q.appendChild(F),l.checkClone=q.cloneNode(!0).cloneNode(!0).lastChild.checked,q.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!q.cloneNode(!0).lastChild.defaultValue;l.focusinBubbles="onfocusin"in t;var X=/^key/,Y=/^(?:mouse|pointer|contextmenu)|click/,J=/^(?:focusinfocus|focusoutblur)$/,V=/^([^.]*)(?:\.(.+)|)$/;function G(){return!0}function Q(){return!1}function K(){try{return f.activeElement}catch(t){}}h.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,c,l,f,d,p,g,v,m=L.get(t);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=h.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==h&&h.event.triggered!==e.type?h.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(A)||[""]).length;c--;)p=v=(s=V.exec(e[c])||[])[1],g=(s[2]||"").split(".").sort(),p&&(f=h.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=h.event.special[p]||{},l=h.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&h.expr.match.needsContext.test(i),namespace:g.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,g,a)||t.addEventListener&&t.addEventListener(p,a,!1)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),h.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,a,s,u,c,l,f,d,p,g,v,m=L.hasData(t)&&L.get(t);if(m&&(u=m.events)){for(c=(e=(e||"").match(A)||[""]).length;c--;)if(p=v=(s=V.exec(e[c])||[])[1],g=(s[2]||"").split(".").sort(),p){for(f=h.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)l=d[o],!i&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(o,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(t,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,g,m.handle)||h.removeEvent(t,p,m.handle),delete u[p])}else for(p in u)h.event.remove(t,p+e[c],n,r,!0);h.isEmptyObject(u)&&(delete m.handle,L.remove(t,"events"))}},trigger:function(e,n,r,i){var o,a,s,u,l,d,p,g=[r||f],v=c.call(e,"type")?e.type:e,m=c.call(e,"namespace")?e.namespace.split("."):[];if(a=s=r=r||f,3!==r.nodeType&&8!==r.nodeType&&!J.test(v+h.event.triggered)&&(v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),l=v.indexOf(":")<0&&"on"+v,(e=e[h.expando]?e:new h.Event(v,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=null==n?[e]:h.makeArray(n,[e]),p=h.event.special[v]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!h.isWindow(r)){for(u=p.delegateType||v,J.test(u+v)||(a=a.parentNode);a;a=a.parentNode)g.push(a),s=a;s===(r.ownerDocument||f)&&g.push(s.defaultView||s.parentWindow||t)}for(o=0;(a=g[o++])&&!e.isPropagationStopped();)e.type=o>1?u:p.bindType||v,(d=(L.get(a,"events")||{})[e.type]&&L.get(a,"handle"))&&d.apply(a,n),(d=l&&a[l])&&d.apply&&h.acceptData(a)&&(e.result=d.apply(a,n),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),n)||!h.acceptData(r)||l&&h.isFunction(r[v])&&!h.isWindow(r)&&((s=r[l])&&(r[l]=null),h.event.triggered=v,r[v](),h.event.triggered=void 0,s&&(r[l]=s)),e.result}},dispatch:function(t){t=h.event.fix(t);var e,n,i,o,a,s,u=r.call(arguments),c=(L.get(this,"events")||{})[t.type]||[],l=h.event.special[t.type]||{};if(u[0]=t,t.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(s=h.event.handlers.call(this,t,c),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((h.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,a=[],s=e.delegateCount,u=t.target;if(s&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!==this;u=u.parentNode||this)if(!0!==u.disabled||"click"!==t.type){for(r=[],n=0;n<s;n++)void 0===r[i=(o=e[n]).selector+" "]&&(r[i]=o.needsContext?h(i,this).index(u)>=0:h.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
1,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button;return null==t.pageX&&null!=e.clientX&&(r=(n=t.target.ownerDocument||f).documentElement,i=n.body,t.pageX=e.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[h.expando])return t;var e,n,r,i=t.type,o=t,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Y.test(i)?this.mouseHooks:X.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,t=new h.Event(o),e=r.length;e--;)t[n=r[e]]=o[n];return t.target||(t.target=f),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==K()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===K()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&h.nodeName(this,"input"))return this.click(),!1},_default:function(t){return h.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,r){var i=h.extend(new h.Event,n,{type:t,isSimulated:!0,originalEvent:{}});r?h.event.trigger(i,null,e):h.event.dispatch.call(e,i),i.isDefaultPrevented()&&n.preventDefault()}},h.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},h.Event=function(t,e){if(!(this instanceof h.Event))return new h.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?G:Q):this.type=t,e&&h.extend(this,e),this.timeStamp=t&&t.timeStamp||h.now(),this[h.expando]=!0},h.Event.prototype={isDefaultPrevented:Q,isPropagationStopped:Q,isImmediatePropagationStopped:Q,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=G,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=G,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=G,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 12,848 bytes, line 1
1,h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){h.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||h.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),l.focusinBubbles||h.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){h.event.simulate(e,t.target,h.event.fix(t),!0)};h.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=L.access(r,e);i||r.addEventListener(t,n,!0),L.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=L.access(r,e)-1;i?L.access(r,e,i):(r.removeEventListener(t,n,!0),L.remove(r,e))}}}),h.fn.extend({on:function(t,e,n,r,i){var o,a;if("object"==typeof t){for(a in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(a,e,n,t[a],i);return this}if(null==n&&null==r?(r=e,n=e=void 0):null==r&&("string"==typeof e?(r=n,n=void 0):(r=n,n=e,e=void 0)),!1===r)r=Q;else if(!r)return this;return 1===i&&(o=r,(r=function(t){return h().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=h.guid++)),this.each(function(){h.event.add(this,t,r,n,e)})},one:function(t,e,n,r){return this.on(t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,h(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Q),this.each(function(){h.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){h.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return h.event.trigger(t,e,n,!0)}});var Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,tt=/<([\w:]+)/,et=/<|&#?\w+;/,nt=/<(?:script|style|link)/i,rt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^$|\/(?:java|ecma)script/i,ot=/^true\/(.*)/,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,st={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ut(t,e){return h.nodeName(t,"table")&&h.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function ct(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function lt(t){var e=ot.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function ft(t,e){for(var n=0,r=t.length;n<r;n++)L.set(t[n],"globalEval",!e||L.get(e[n],"globalEval"))}function ht(t,e){var n,r,i,o,a,s,u,c;if(1===e.nodeType){if(L.hasData(t)&&(o=L.access(t),a=L.set(e,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)h.event.add(e,i,c[i][n]);P.hasData(t)&&(s=P.access(t),u=h.extend({},s),P.set(e,u))}}function dt(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&h.nodeName(t,e)?h.merge([t],n):n}st.optgroup=st.option,st.tbody=st.tfoot=st.colgroup=st.caption=st.thead,st.th=st.td,h.extend({clone:function(t,e,n){var r,i,o,a,s,u,c,f=t.cloneNode(!0),d=h.contains(t.ownerDocument,t);if(!(l.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||h.isXMLDoc(t)))for(a=dt(f),r=0,i=(o=dt(t)).length;r<i;r++)s=o[r],u=a[r],c=void 0,"input"===(c=u.nodeName.toLowerCase())&&W.test(s.type)?u.checked=s.checked:"input"!==c&&"textarea"!==c||(u.defaultValue=s.defaultValue);if(e)if(n)for(o=o||dt(t),a=a||dt(f),r=0,i=o.length;r<i;r++)ht(o[r],a[r]);else ht(t,f);return(a=dt(f,"script")).length>0&&ft(a,!d&&dt(t,"script")),f},buildFragment:function(t,e,n,r){for(var i,o,a,s,u,c,l=e.createDocumentFragment(),f=[],d=0,p=t.length;d<p;d++)if((i=t[d])||0===i)if("object"===h.type(i))h.merge(f,i.nodeType?[i]:i);else if(et.test(i)){for(o=o||l.appendChild(e.createElement("div")),a=(tt.exec(i)||["",""])[1].toLowerCase(),s=st[a]||st._default,o.innerHTML=s[1]+i.replace(Z,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;h.merge(f,o.childNodes),(o=l.firstChild).textContent=""}else f.push(e.createTextNode(i));for(l.textContent="",d=0;i=f[d++];)if((!r||-1===h.inArray(i,r))&&(u=h.contains(i.ownerDocument,i),o=dt(l.appendChild(i),"script"),u&&ft(o),n))for(c=0;i=o[c++];)it.test(i.type||"")&&n.push(i);return l},cleanData:function(t){for(var e,n,r,i,o=h.event.special,a=0;void 0!==(n=t[a]);a++){if(h.acceptData(n)&&(i=n[L.expando])&&(e=L.cache[i])){if(e.events)for(r in e.events)o[r]?h.event.remove(n,r):h.removeEvent(n,r,e.handle);L.cache[i]&&delete L.cache[i]}delete P.cache[n[P.expando]]}}}),h.fn.extend({text:function(t){return O(this,function(t){return void 0===t?h.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ut(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=ut(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,r=t?h.filter(t,this):this,i=0;null!=(n=r[i]);i++)e||1!==n.nodeType||h.cleanData(dt(n)),n.parentNode&&(e&&h.contains(n.ownerDocument,n)&&ft(dt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(h.cleanData(dt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return h.clone(this,t,e)})},html:function(t){return O(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!nt.test(t)&&!st[(tt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Z,"<$1></$2>");try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(h.cleanData(dt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,h.cleanData(dt(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=i.apply([],t);var n,r,o,a,s,u,c=0,f=this.length,d=this,p=f-1,g=t[0],v=h.isFunction(g);if(v||f>1&&"string"==typeof g&&!l.checkClone&&rt.test(g))return this.each(function(n){var r=d.eq(n);v&&(t[0]=g.call(this,n,r.html())),r.domManip(t,e)});if(f&&(r=(n=h.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=r),r)){for(a=(o=h.map(dt(n,"script"),ct)).length;c<f;c++)s=n,c!==p&&(s=h.clone(s,!0,!0),a&&h.merge(o,dt(s,"script"))),e.call(this[c],s,c);if(a)for(u=o[o.length-1].ownerDocument,h.map(o,lt),c=0;c<a;c++)s=o[c],it.test(s.type||"")&&!L.access(s,"globalEval")&&h.contains(u,s)&&(s.src?h._evalUrl&&h._evalUrl(s.src):h.globalEval(s.textContent.replace(at,"")))}return this}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){h.fn[t]=function(t){for(var n,r=[],i=h(t),a=i.length-1,s=0;s<=a;s++)n=s===a?this:this.clone(!0),h(i[s])[e](n),o.apply(r,n.get());return this.pushStack(r)}});var pt,gt={};function vt(e,n){var r,i=h(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(r=t.getDefaultComputedStyle(i[0]))?r.display:h.css(i[0],"display");return i.detach(),o}function mt(t){var e=f,n=gt[t];return n||("none"!==(n=vt(t,e))&&n||((e=(pt=(pt||h("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),n=vt(t,e),pt.detach()),gt[t]=n),n}var yt=/^margin/,_t=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),xt=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)};function bt(t,e,n){var r,i,o,a,s=t.style;return(n=n||xt(t))&&(a=n.getPropertyValue(e)||n[e]),n&&(""!==a||h.contains(t.ownerDocument,t)||(a=h.style(t,e)),_t.test(a)&&yt.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){var e,n,r=f.documentElement,i=f.createElement("div"),o=f.createElement("div");function a(){o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o.innerHTML="",r.appendChild(i);var a=t.getComputedStyle(o,null);e="1%"!==a.top,n="4px"===a.width,r.removeChild(i)}o.style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===o.style.backgroundClip,i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",i.appendChild(o),t.getComputedStyle&&h.extend(l,{pixelPosition:function(){return a(),e},boxSizingReliable:function(){return null==n&&a(),n},reliableMarginRight:function(){var e,n=o.appendChild(f.createElement("div"));return n.style.cssText=o.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",o.style.width="1px",r.appendChild(i),e=!parseFloat(t.getComputedStyle(n,null).marginRight),r.removeChild(i),e}}))}(),h.swap=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i};var kt=/^(none|table(?!-c[ea]).+)/,Ct=new RegExp("^("+z+")(.*)$","i"),Tt=new RegExp("^([+-])=("+z+")","i"),Mt={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:"0",fontWeight:"400"},Et=["Webkit","O","Moz","ms"];function At(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),r=e,i=Et.length;i--;)if((e=Et[i]+n)in t)return e;return r}function Nt(t,e,n){var r=Ct.exec(e);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):e}function $t(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=h.css(t,n+U[o],!0,i)),r?("content"===n&&(a-=h.css(t,"padding"+U[o],!0,i)),"margin"!==n&&(a-=h.css(t,"border"+U[o]+"Width",!0,i))):(a+=h.css(t,"padding"+U[o],!0,i),"padding"!==n&&(a+=h.css(t,"border"+U[o]+"Width",!0,i)));return a}function Dt(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=xt(t),a="border-box"===h.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(((i=bt(t,e,o))<0||null==i)&&(i=t.style[e]),_t.test(i))return i;r=a&&(l.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+$t(t,e,n||(a?"border":"content"),r,o)+"px"}function Ot(t,e){for(var n,r,i,o=[],a=0,s=t.length;a<s;a++)(r=t[a]).style&&(o[a]=L.get(r,"olddisplay"),n=r.style.display,e?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&H(r)&&(o[a]=L.access(r,"olddisplay",mt(r.nodeName)))):(i=H(r),"none"===n&&i||L.set(r,"olddisplay",i?n:h.css(r,"display"))));for(a=0;a<s;a++)(r=t[a]).style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[a]||"":"none"));return t}function jt(t,e,n,r,i){return new jt.prototype.init(t,e,n,r,i)}h.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=h.camelCase(e),u=t.style;if(e=h.cssProps[s]||(h.cssProps[s]=At(u,s)),a=h.cssHooks[e]||h.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:u[e];"string"===(o=typeof n)&&(i=Tt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(h.css(t,e)),o="number"),null!=n&&n==n&&("number"!==o||h.cssNumber[s]||(n+="px"),l.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(u[e]=n))}},css:function(t,e,n,r){var i,o,a,s=h.camelCase(e);return e=h.cssProps[s]||(h.cssProps[s]=At(t.style,s)),(a=h.cssHooks[e]||h.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=bt(t,e,r)),"normal"===i&&e in St&&(i=St[e]),""===n||n?(o=parseFloat(i),!0===n||h.isNumeric(o)?o||0:i):i}}),h.each(["height","width"],function(t,e){h.cssHooks[e]={get:function(t,n,r){if(n)return kt.test(h.css(t,"display"))&&0===t.offsetWidth?h.swap(t,Mt,function(){return Dt(t,e,r)}):Dt(t,e,r)}
1,set:function(t,n,r){var i=r&&xt(t);return Nt(0,n,r?$t(t,e,r,"border-box"===h.css(t,"boxSizing",!1,i),i):0)}}}),h.cssHooks.marginRight=wt(l.reliableMarginRight,function(t,e){if(e)return h.swap(t,{display:"inline-block"},bt,[t,"marginRight"])}),h.each({margin:"",padding:"",border:"Width"},function(t,e){h.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+U[r]+e]=o[r]||o[r-2]||o[0];return i}},yt.test(t)||(h.cssHooks[t+e].set=Nt)}),h.fn.extend({css:function(t,e){return O(this,function(t,e,n){var r,i,o={},a=0;if(h.isArray(e)){for(r=xt(t),i=e.length;a<i;a++)o[e[a]]=h.css(t,e[a],!1,r);return o}return void 0!==n?h.style(t,e,n):h.css(t,e)},t,e,arguments.length>1)},show:function(){return Ot(this,!0)},hide:function(){return Ot(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){H(this)?h(this).show():h(this).hide()})}}),h.Tween=jt,jt.prototype={constructor:jt,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||"swing",this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(h.cssNumber[n]?"":"px")},cur:function(){var t=jt.propHooks[this.prop];return t&&t.get?t.get(this):jt.propHooks._default.get(this)},run:function(t){var e,n=jt.propHooks[this.prop];return this.options.duration?this.pos=e=h.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):jt.propHooks._default.set(this),this}},jt.prototype.init.prototype=jt.prototype,jt.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=h.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){h.fx.step[t.prop]?h.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[h.cssProps[t.prop]]||h.cssHooks[t.prop])?h.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},jt.propHooks.scrollTop=jt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},h.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},h.fx=jt.prototype.init,h.fx.step={};var Lt,Pt,Rt=/^(?:toggle|show|hide)$/,It=new RegExp("^(?:([+-])=|)("+z+")([a-z%]*)$","i"),Bt=/queueHooks$/,qt=[function(t,e,n){var r,i,o,a,s,u,c,l=this,f={},d=t.style,p=t.nodeType&&H(t),g=L.get(t,"fxshow");n.queue||(null==(s=h._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--,h.queue(t,"fx").length||s.empty.fire()})}));1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=h.css(t,"display"),"inline"===("none"===c?L.get(t,"olddisplay")||mt(t.nodeName):c)&&"none"===h.css(t,"float")&&(d.display="inline-block"));n.overflow&&(d.overflow="hidden",l.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],Rt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;p=!0}f[r]=g&&g[r]||h.style(t,r)}else c=void 0;if(h.isEmptyObject(f))"inline"===("none"===c?mt(t.nodeName):c)&&(d.display=c);else for(r in g?"hidden"in g&&(p=g.hidden):g=L.access(t,"fxshow",{}),o&&(g.hidden=!p),p?h(t).show():l.done(function(){h(t).hide()}),l.done(function(){var e;for(e in L.remove(t,"fxshow"),f)h.style(t,e,f[e])}),f)a=Ht(p?g[r]:0,r,l),r in g||(g[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],Ft={"*":[function(t,e){var n=this.createTween(t,e),r=n.cur(),i=It.exec(e),o=i&&i[3]||(h.cssNumber[t]?"":"px"),a=(h.cssNumber[t]||"px"!==o&&+r)&&It.exec(h.css(n.elem,t)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do{a/=s=s||".5",h.style(n.elem,t,a+o)}while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function zt(){return setTimeout(function(){Lt=void 0}),Lt=h.now()}function Ut(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=U[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function Ht(t,e,n){for(var r,i=(Ft[e]||[]).concat(Ft["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function Wt(t,e,n){var r,i,o=0,a=qt.length,s=h.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var e=Lt||zt(),n=Math.max(0,c.startTime+c.duration-e),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(t,[c,r,n]),r<1&&a?n:(s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:h.extend({},e),opts:h.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Lt||zt(),duration:n.duration,tweens:[],createTween:function(e,n){var r=h.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?s.resolveWith(t,[c,e]):s.rejectWith(t,[c,e]),this}}),l=c.props;for(!function(t,e){var n,r,i,o,a;
vendor: 1,739 bytes, line 1
1for(n in t)if(i=e[r=h.camelCase(n)],o=t[n],h.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=h.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=qt[o].call(c,t,l,c.opts))return r;return h.map(l,Ht,c),h.isFunction(c.opts.start)&&c.opts.start.call(t,c),h.fx.timer(h.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}h.Animation=h.extend(Wt,{tweener:function(t,e){h.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,r=0,i=t.length;r<i;r++)n=t[r],Ft[n]=Ft[n]||[],Ft[n].unshift(e)},prefilter:function(t,e){e?qt.unshift(t):qt.push(t)}}),h.speed=function(t,e,n){var r=t&&"object"==typeof t?h.extend({},t):{complete:n||!n&&e||h.isFunction(t)&&t,duration:t,easing:n&&e||e&&!h.isFunction(e)&&e};return r.duration=h.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in h.fx.speeds?h.fx.speeds[r.duration]:h.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h.isFunction(r.old)&&r.old.call(this),r.queue&&h.dequeue(this,r.queue)},r},h.fn.extend({fadeTo:function(t,e,n,r){return this.filter(H).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=h.isEmptyObject(t),o=h.speed(e,n,r),a=function(){var e=Wt(this,h.extend({},t),o);(i||L.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=
vendor: 6,665 bytes, line 1
1h.timers,a=L.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Bt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||h.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=L.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=h.timers,a=r?r.length:0;for(n.finish=!0,h.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),h.each(["toggle","show","hide"],function(t,e){var n=h.fn[e];h.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(Ut(e,!0),t,r,i)}}),h.each({slideDown:Ut("show"),slideUp:Ut("hide"),slideToggle:Ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){h.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),h.timers=[],h.fx.tick=function(){var t,e=0,n=h.timers;for(Lt=h.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||h.fx.stop(),Lt=void 0},h.fx.timer=function(t){h.timers.push(t),t()?h.fx.start():h.timers.pop()},h.fx.interval=13,h.fx.start=function(){Pt||(Pt=setInterval(h.fx.tick,h.fx.interval))},h.fx.stop=function(){clearInterval(Pt),Pt=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(t,e){return t=h.fx&&h.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,n){var r=setTimeout(e,t);n.stop=function(){clearTimeout(r)}})},function(){var t=f.createElement("input"),e=f.createElement("select"),n=e.appendChild(f.createElement("option"));t.type="checkbox",l.checkOn=""!==t.value,l.optSelected=n.selected,e.disabled=!0,l.optDisabled=!n.disabled,(t=f.createElement("input")).value="t",t.type="radio",l.radioValue="t"===t.value}();var Xt,Yt=h.expr.attrHandle;h.fn.extend({attr:function(t,e){return O(this,h.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){h.removeAttr(this,t)})}}),h.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?h.prop(t,e,n):(1===o&&h.isXMLDoc(t)||(e=e.toLowerCase(),r=h.attrHooks[e]||(h.expr.match.bool.test(e)?Xt:void 0)),void 0===n?r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=h.find.attr(t,e))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):void h.removeAttr(t,e))},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(A);if(o&&1===t.nodeType)for(;n=o[i++];)r=h.propFix[n]||n,h.expr.match.bool.test(n)&&(t[r]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!l.radioValue&&"radio"===e&&h.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),Xt={set:function(t,e,n){return!1===e?h.removeAttr(t,n):t.setAttribute(n,n),n}},h.each(h.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Yt[e]||h.find.attr;Yt[e]=function(t,e,r){var i,o;return r||(o=Yt[e],Yt[e]=i,i=null!=n(t,e,r)?e.toLowerCase():null,Yt[e]=o),i}});var Jt=/^(?:input|select|textarea|button)$/i;h.fn.extend({prop:function(t,e){return O(this,h.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[h.propFix[t]||t]})}}),h.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var r,i,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!h.isXMLDoc(t))&&(e=h.propFix[e]||e,i=h.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||Jt.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),l.optSelected||(h.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});var Vt=/[\t\r\n\f]/g;h.fn.extend({addClass:function(t){var e,n,r,i,o,a,s="string"==typeof t&&t,u=0,c=this.length;if(h.isFunction(t))return this.each(function(e){h(this).addClass(t.call(this,e,this.className))});if(s)for(e=(t||"").match(A)||[];u<c;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(Vt," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=h.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0===arguments.length||"string"==typeof t&&t,u=0,c=this.length;if(h.isFunction(t))return this.each(function(e){h(this).removeClass(t.call(this,e,this.className))});if(s)for(e=(t||"").match(A)||[];u<c;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(Vt," "):"")){for(o=0;i=e[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=t?h.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):h.isFunction(t)?this.each(function(n){h(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,r=0,i=h(this),o=t.match(A)||[];e=o[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else"undefined"!==n&&"boolean"!==n||(this.className&&L.set(this,"__className__",this.className),this.className=this.className||!1===t?"":L.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Vt," ").indexOf(e)>=0)return!0;return!1}});var Gt=/\r/g;h.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=h.isFunction(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,h(this).val()):t)?i="":"number"==typeof i?i+="":h.isArray(i)&&(i=h.map(i,function(t){return null==t?"":t+""})),(e=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=h.valHooks[i.type]||h.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Gt,""):null==n?"":n:void 0}}),h.extend({valHooks:{option:{get:function(t){var e=h.find.attr(t,"value");return null!=e?e:h.trim(h.text(t))}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(((n=r[u]).selected||u===i)&&(l.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!h.nodeName(n.parentNode,"optgroup"))){if(e=h(n).val(),o)return e;a.push(e)}return a}
vendor: 4,134 bytes, line 1
1,set:function(t,e){for(var n,r,i=t.options,o=h.makeArray(e),a=i.length;a--;)((r=i[a]).selected=h.inArray(r.value,o)>=0)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(t,e){if(h.isArray(e))return t.checked=h.inArray(h(t).val(),e)>=0}},l.checkOn||(h.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){h.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),h.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Qt=h.now(),Kt=/\?/;h.parseJSON=function(t){return JSON.parse(t+"")},h.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||h.error("Invalid XML: "+t),e};var Zt,te,ee=/#.*$/,ne=/([?&])_=[^&]*/,re=/^(.*?):[ \t]*([^\r\n]*)$/gm,ie=/^(?:GET|HEAD)$/,oe=/^\/\//,ae=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,se={},ue={},ce="*/".concat("*");try{te=location.href}catch(t){(te=f.createElement("a")).href="",te=te.href}function le(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(A)||[];if(h.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function fe(t,e,n,r){var i={},o=t===ue;function a(s){var u;return i[s]=!0,h.each(t[s]||[],function(t,s){var c=s(e,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),u}return a(e.dataTypes[0])||!i["*"]&&a("*")}function he(t,e){var n,r,i=h.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&h.extend(!0,t,r),t}Zt=ae.exec(te.toLowerCase())||[],h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:te,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Zt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ce,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?he(he(t,h.ajaxSettings),e):he(h.ajaxSettings,t)},ajaxPrefilter:le(se),ajaxTransport:le(ue),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,i,o,a,s,u,c,l=h.ajaxSetup({},e),f=l.context||l,d=l.context&&(f.nodeType||f.jquery)?h(f):h.event,p=h.Deferred(),g=h.Callbacks("once memory"),v=l.statusCode||{},m={},y={},_=0,x="canceled",b={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!o)for(o={};e=re.exec(i);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===_?i:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return _||(t=y[n]=y[n]||t,m[t]=e),this},overrideMimeType:function(t){return _||(l.mimeType=t),this},statusCode:function(t){var e;if(t)if(_<2)for(e in t)v[e]=[v[e],t[e]];else b.always(t[b.status]);return this},abort:function(t){var e=t||x;return n&&n.abort(e),w(0,e),this}};if(p.promise(b).complete=g.add,b.success=b.done,b.error=b.fail,l.url=((t||l.url||te)+"").replace(ee,"").replace(oe,Zt[1]+"//"),l.type=e.method||e.type||l.method||l.type,l.dataTypes=h.trim(l.dataType||"*").toLowerCase().match(A)||[""],null==l.crossDomain&&(s=ae.exec(l.url.toLowerCase()),l.crossDomain=!(!s||s[1]===Zt[1]&&s[2]===
vendor: 5,276 bytes, line 1
1Zt[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(Zt[3]||("http:"===Zt[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=h.param(l.data,l.traditional)),fe(se,l,e,b),2===_)return b;for(c in(u=l.global)&&0==h.active++&&h.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!ie.test(l.type),r=l.url,l.hasContent||(l.data&&(r=l.url+=(Kt.test(r)?"&":"?")+l.data,delete l.data),!1===l.cache&&(l.url=ne.test(r)?r.replace(ne,"$1_="+Qt++):r+(Kt.test(r)?"&":"?")+"_="+Qt++)),l.ifModified&&(h.lastModified[r]&&b.setRequestHeader("If-Modified-Since",h.lastModified[r]),h.etag[r]&&b.setRequestHeader("If-None-Match",h.etag[r])),(l.data&&l.hasContent&&!1!==l.contentType||e.contentType)&&b.setRequestHeader("Content-Type",l.contentType),b.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+ce+"; q=0.01":""):l.accepts["*"]),l.headers)b.setRequestHeader(c,l.headers[c]);if(l.beforeSend&&(!1===l.beforeSend.call(f,b,l)||2===_))return b.abort();for(c in x="abort",{success:1,error:1,complete:1})b[c](l[c]);if(n=fe(ue,l,e,b)){b.readyState=1,u&&d.trigger("ajaxSend",[b,l]),l.async&&l.timeout>0&&(a=setTimeout(function(){b.abort("timeout")},l.timeout));try{_=1,n.send(m,w)}catch(t){if(!(_<2))throw t;w(-1,t)}}else w(-1,"No Transport");function w(t,e,o,s){var c,m,y,x,w,k=e;2!==_&&(_=2,a&&clearTimeout(a),n=void 0,i=s||"",b.readyState=t>0?4:0,c=t>=200&&t<300||304===t,o&&(x=function(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(l,b,o)),x=function(t,e,n,r){var i,o,a,s,u,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(l,x,b,c),c?(l.ifModified&&((w=b.getResponseHeader("Last-Modified"))&&(h.lastModified[r]=w),(w=b.getResponseHeader("etag"))&&(h.etag[r]=w)),204===t||"HEAD"===l.type?k="nocontent":304===t?k="notmodified":(k=x.state,m=x.data,c=!(y=x.error))):(y=k,!t&&k||(k="error",t<0&&(t=0))),b.status=t,b.statusText=(e||k)+"",c?p.resolveWith(f,[m,k,b]):p.rejectWith(f,[b,k,y]),b.statusCode(v),v=void 0,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[b,l,c?m:y]),g.fireWith(f,[b,k]),u&&(d.trigger("ajaxComplete",[b,l]),--h.active||h.event.trigger("ajaxStop")))}return b},getJSON:function(t,e,n){return h.get(t,e,n,"json")},getScript:function(t,e){return h.get(t,void 0,e,"script")}}),h.each(["get","post"],function(t,e){h[e]=function(t,n,r,i){return h.isFunction(n)&&(i=i||r,r=n,n=void 0),h.ajax({url:t,type:e,dataType:i,data:n,success:r})}}),h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){h.fn[e]=function(t){return this.on(e,t)}}),h._evalUrl=function(t){return h.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},h.fn.extend({wrapAll:function(t){var e;return h.isFunction(t)?this.each(function(e){h(this).wrapAll(t.call(this,e))}):(this[0]&&(e=h(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return h.isFunction(t)?this.each(function(e){h(this).wrapInner(t.call(this,e))}):this.each(function(){var e=h(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=h.isFunction(t);return this.each(function(n){h(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}}),h.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},h.expr.filters.visible=function(t){return!h.expr.filters.hidden(t)};var de=/%20/g,pe=/\[\]$/,ge=/\r?\n/g,ve=/^(?:submit|button|image|reset|file)$/i,me=/^(?:input|select|textarea|keygen)/i;function ye(t,e,n,r){var i;if(h.isArray(e))h.each(e,function(e,i){n||pe.test(t)?r(t,i):ye(t+"["+("object"==typeof i?e:"")+"]",i,n,r)});else if(n||"object"!==h.type(e))r(t,e);else for(i in e)ye(t+"["+i+"]",e[i],n,r)}h.param=function(t,e){var n,r=[],i=function(t,e){e=h.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=h.ajaxSettings&&h.ajaxSettings.traditional),h.isArray(t)||t.jquery&&!h.isPlainObject(t))h.each(t,function(){i(this.name,this.value)});else for(n in t)ye(n,t[n],e,i);return r.join("&").replace(de,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=h.prop(this,"elements");return t?h.makeArray(t):this}
1).filter(function(){var t=this.type;return this.name&&!h(this).is(":disabled")&&me.test(this.nodeName)&&!ve.test(t)&&(this.checked||!W.test(t))}).map(function(t,e){var n=h(this).val();return null==n?null:h.isArray(n)?h.map(n,function(t){return{name:e.name,value:t.replace(ge,"\r\n")}}):{name:e.name,value:n.replace(ge,"\r\n")}}).get()}}),h.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var _e=0,xe={},be={0:200,1223:204},we=h.ajaxSettings.xhr();t.ActiveXObject&&h(t).on("unload",function(){for(var t in xe)xe[t]()}),l.cors=!!we&&"withCredentials"in we,l.ajax=we=!!we,h.ajaxTransport(function(t){var e;if(l.cors||we&&!t.crossDomain)return{send:function(n,r){var i,o=t.xhr(),a=++_e;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(i in t.xhrFields)o[i]=t.xhrFields[i];for(i in t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)o.setRequestHeader(i,n[i]);e=function(t){return function(){e&&(delete xe[a],e=o.onload=o.onerror=null,"abort"===t?o.abort():"error"===t?r(o.status,o.statusText):r(be[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=e(),o.onerror=e("error"),e=xe[a]=e("abort");try{o.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return h.globalEval(t),t}}}),h.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),h.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(r,i){e=h("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),f.head.appendChild(e[0])},abort:function(){n&&n()}}});var ke=[],Ce=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ke.pop()||h.expando+"_"+Qt++;return this[t]=!0,t}}),h.ajaxPrefilter("json jsonp",function(e,n,r){var i,o,a,s=!1!==e.jsonp&&(Ce.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ce.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=h.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ce,"$1"+i):!1!==e.jsonp&&(e.url+=(Kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||h.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=t[i],t[i]=function(){a=arguments},r.always(function(){t[i]=o,e[i]&&(e.jsonpCallback=n.jsonpCallback,ke.push(i)),a&&h.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),h.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||f;var r=x.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=h.buildFragment([t],e,i),i&&i.length&&h(i).remove(),h.merge([],r.childNodes))};var Te=h.fn.load;h.fn.load=function(t,e,n){if("string"!=typeof t&&Te)return Te.apply(this,arguments);var r,i,o,a=this,s=t.indexOf(" ");return s>=0&&(r=h.trim(t.slice(s)),t=t.slice(0,s)),h.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&h.ajax({url:t,type:i,dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?h("<div>").append(h.parseHTML(t)).find(r):t)}).complete(n&&function(t,e){a.each(n,o||[t.responseText,e,t])}),this},h.expr.filters.animated=function(t){return h.grep(h.timers,function(e){return t===e.elem}).length};var Me=t.document.documentElement;function Se(t){return h.isWindow(t)?t:9===t.nodeType&&t.defaultView}h.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,c=h.css(t,"position"),l=h(t),f={};"static"===c&&(t.style.position="relative"),s=l.offset(),o=h.css(t,"top"),u=h.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),h.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):l.css(f)}},h.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){h.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;return o?(e=o.documentElement,h.contains(e,r)?(void 0!==r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=Se(o),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var t,e,n=this[0],r={top:0,left:0};return"fixed"===h.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),h.nodeName(t[0],"html")||(r=t.offset()),r.top+=h.css(t[0],"borderTopWidth",!0),r.left+=h.css(t[0],"borderLeftWidth",!0)),{top:e.top-r.top-h.css(n,"marginTop",!0),left:e.left-r.left-h.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Me;t&&!h.nodeName(t,"html")&&"static"===h.css(t,"position");)t=t.offsetParent;return t||Me})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r="pageYOffset"===n;h.fn[e]=function(i){return O(this,function(e,i,o){var a=Se(e);if(void 0===o)return a?a[n]:e[i];a?a.scrollTo(r?t.pageXOffset:o,r?o:t.pageYOffset):e[i]=o},e,i,arguments.length,null)}}),h.each(["top","left"],function(t,e){h.cssHooks[e]=wt(l.pixelPosition,function(t,n){if(n)return n=bt(t,e),_t.test(n)?h(t).position()[e]+"px":n})}),h.each({Height:"height",Width:"width"},function(t,e){h.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){h.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return O(this,function(e,n,r){var i;return h.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?h.css(e,n,a):h.style(e,n,r,a)},e,o?r:void 0,o,null)}})}),h.fn.size=function(){return this.length},h.fn.andSelf=h.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return h});var Ee=t.jQuery,Ae=t.$;return h.noConflict=function(e){return t.$===h&&(t.$=Ae),e&&t.jQuery===h&&(t.jQuery=Ee),h},void 0===e&&(t.jQuery=t.$=h),h}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,function(){var t=Function.prototype.call,e=Array.prototype,n=Object.prototype,r=e.slice,i=Array.prototype.splice,o=(Array.prototype.push,Array.prototype.unshift),a=n.toString,s=function(t){return"[object Function]"===n.toString.call(t)},u=function(t){return"[object Array]"===a.call(t)},c=function(t){var e=a.call(t),n="[object Arguments]"===e;return n||(n=!u(e)&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&s(t.callee)),n};function l(){}!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},r=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},i=function(t){return decodeURIComponent(t).replace(/\+/g," ")};"URLSearchParams"in t&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var i=function(t){if(Object.defineProperty(this,"_entries",{writable:!0,value:{}}),"string"==typeof t)""!==t&&this._fromString(t);else if(t instanceof i){var e=this;t.forEach(function(t,n){e.append(n,t)})}else{if(null===t||"object"!=typeof t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var n=0;n<t.length;n++){var r=t[n];if("[object Array]"!==Object.prototype.toString.call(r)&&2===r.length)throw new TypeError("Expected [string, any] as entry at index "+n+" of URLSearchParams's input");this.append(r[0],r[1])}else for(var o in t)t.hasOwnProperty(o)&&this.append(o,t[o])}},o=i.prototype;o.append=function(t,e){t in this._entries?this._entries[t].push(String(e)):this._entries[t]=[String(e)]},o.delete=function(t){delete this._entries[t]},o.get=function(t){return t in this._entries?this._entries[t][0]:null},o.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[]},o.has=function(t){return t in this._entries},o.set=function(t,e){this._entries[t]=[String(e)]},o.forEach=function(t,e){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var i=0;i<n.length;i++)t.call(e,n[i],r,this)}},o.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),n(t)},o.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},o.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),n(t)},e&&(o[Symbol.iterator]=o.entries),o.toString=function(){var t=[];return this.forEach(function(e,n){t.push(r(n)+"="+r(e))}),t.join("&")},t.URLSearchParams=i}();var o=URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var t=this,e=[];this.forEach(function(n,r){e.push([r,n]),t._entries||t.delete(r)}),e.sort(function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0}),t._entries&&(t._entries={});for(var n=0;n<e.length;n++)this.append(e[n][0],e[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,
1configurable:!1,writable:!1,value:function(t){if(this._entries)this._entries={};else{var e=this;this.searchParams.forEach(function(t,n){e.delete(n)})}for(var n,r=(t=t.replace(/^\?/,"")).split("&"),o=0;o<r.length;o++)n=r[o].split("="),this.append(i(n[0]),n.length>1?i(n[1]):"")}})}("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(t){return!1}}()||function(){var e=t.URL,n=function(e,n){"string"!=typeof e&&(e=String(e));var r,i=document;if(n&&(void 0===t.location||n!==t.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=i.createElement("a");if(o.href=e,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var a=new URLSearchParams(this.search),s=!0,u=!0,c=this;["append","delete","set"].forEach(function(t){var e=a[t];a[t]=function(){e.apply(a,arguments),s&&(u=!1,c.search=a.toString(),u=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var l=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==l&&(l=this.search,u&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach(function(t){var e;e=t,Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(t){this._anchorElement.search=t,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n}(),void 0!==t.location&&!("origin"in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0})}catch(n){setInterval(function(){t.location.origin=e()},100)}}}("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}}),Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if(!s(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n=r.call(arguments,1),i=Math.max(0,e.length-n.length),o=[],a=0;a<i;a++)o.push("$"+a);var u=Function("binder","return function ("+o.join(",")+"){return binder.apply(this,arguments)}")(function(){if(this instanceof u){var i=e.apply(this,n.concat(r.call(arguments)));return Object(i)===i?i:this}return e.apply(t,n.concat(r.call(arguments)))});return e.prototype&&(l.prototype=e.prototype,u.prototype=new l,l.prototype=null),u});var f=t.bind(n.hasOwnProperty);f(n,"__defineGetter__")&&(t.bind(n.__defineGetter__),t.bind(n.__defineSetter__),t.bind(n.__lookupGetter__),t.bind(n.__lookupSetter__));var h,d,p,g=(h={},Array.prototype.splice.call(h,0,0,1),1===h.length),v=0===[1].splice(0).length;(p=(d=[1,2]).splice(),2===d.length&&u(p)&&0===p.length)&&(Array.prototype.splice=function(t,e){return 0===arguments.length?[]:i.apply(this,arguments)}),v&&g||(Array.prototype.splice=function(t,e){if(0===arguments.length)return[];var n=arguments;return this.length=Math.max(U(this.length),0),arguments.length>0&&"number"!=typeof e&&((n=r.call(arguments)).length<2?n.push(U(e)):n[1]=U(e)),i.apply(this,n)}),1!==[].unshift(0)&&(Array.prototype.unshift=function(){return o.apply(this,arguments),this.length}),Array.isArray||(Array.isArray=u);var m=Object("a"),y="a"!==m[0]||!(0 in m),_=function(t){var e=!0,n=!0;return t&&(t.call("foo",function(t,n,r){"object"!=typeof r&&(e=!1)}),t.call([1],function(){"use strict";n="string"==typeof this},"x")),!!t&&e&&n};Array.prototype.forEach&&_(Array.prototype.forEach)||(Array.prototype.forEach=function(t){var e=W(this),n=y&&"[object String]"===a.call(this)?this.split(""):e,r=arguments[1],i=-1,o=n.length>>>0;if(!s(t))throw new TypeError;for(;++i<o;)i in n&&t.call(r,n[i],i,e)}),Array.prototype.map&&_(Array.prototype.map)||(Array.prototype.map=function(t){var e=W(this),n=y&&"[object String]"===a.call(this)?this.split(""):e,r=n.length>>>0,i=Array(r),o=arguments[1];if(!s(t))throw new TypeError(t+" is not a function");for(var u=0;u<r;
1u++)u in n&&(i[u]=t.call(o,n[u],u,e));return i}),Array.prototype.filter&&_(Array.prototype.filter)||(Array.prototype.filter=function(t){var e,n=W(this),r=y&&"[object String]"===a.call(this)?this.split(""):n,i=r.length>>>0,o=[],u=arguments[1];if(!s(t))throw new TypeError(t+" is not a function");for(var c=0;c<i;c++)c in r&&(e=r[c],t.call(u,e,c,n)&&o.push(e));return o}),Array.prototype.every&&_(Array.prototype.every)||(Array.prototype.every=function(t){var e=W(this),n=y&&"[object String]"===a.call(this)?this.split(""):e,r=n.length>>>0,i=arguments[1];if(!s(t))throw new TypeError(t+" is not a function");for(var o=0;o<r;o++)if(o in n&&!t.call(i,n[o],o,e))return!1;return!0}),Array.prototype.some&&_(Array.prototype.some)||(Array.prototype.some=function(t){var e=W(this),n=y&&"[object String]"===a.call(this)?this.split(""):e,r=n.length>>>0,i=arguments[1];if(!s(t))throw new TypeError(t+" is not a function");for(var o=0;o<r;o++)if(o in n&&t.call(i,n[o],o,e))return!0;return!1});var x=!1;Array.prototype.reduce&&(x="object"==typeof Array.prototype.reduce.call("es5",function(t,e,n,r){return r})),Array.prototype.reduce&&x||(Array.prototype.reduce=function(t){var e=W(this),n=y&&"[object String]"===a.call(this)?this.split(""):e,r=n.length>>>0;if(!s(t))throw new TypeError(t+" is not a function");if(!r&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o<r;o++)o in n&&(i=t.call(void 0,i,n[o],o,e));return i});var b=!1;Array.prototype.reduceRight&&(b="object"==typeof Array.prototype.reduceRight.call("es5",function(t,e,n,r){return r})),Array.prototype.reduceRight&&b||(Array.prototype.reduceRight=function(t){var e=W(this),n=y&&"[object String]"===a.call(this)?this.split(""):e,r=n.length>>>0;if(!s(t))throw new TypeError(t+" is not a function");if(!r&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}if(o<0)return i;do{o in n&&(i=t.call(void 0,i,n[o],o,e))}while(o--);return i}),Array.prototype.indexOf&&-1===[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(t){var e=y&&"[object String]"===a.call(this)?this.split(""):W(this),n=e.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=U(arguments[1])),r=r>=0?r:Math.max(0,n+r);r<n;r++)if(r in e&&e[r]===t)return r;return-1}),Array.prototype.lastIndexOf&&-1===[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(t){var e=y&&"[object String]"===a.call(this)?this.split(""):W(this),n=e.length>>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,U(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in e&&t===e[r])return r;return-1});var w=Object.keys&&function(){return 2===Object.keys(arguments).length}(1,2);if(Object.keys){if(!w){var k=Object.keys;Object.keys=function(t){return c(t)?k(Array.prototype.slice.call(t)):k(t)}}}else{var C=!{toString:null}.propertyIsEnumerable("toString"),T=function(){}.propertyIsEnumerable("prototype"),M=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=M.length;Object.keys=function(t){var e=s(t),n=c(t),r=null!==t&&"object"==typeof t,i=r&&"[object String]"===a.call(t);if(!r&&!e&&!n)throw new TypeError("Object.keys called on a non-object");var o=[],u=T&&e;if(i||n)for(var l=0;l<t.length;++l)o.push(String(l));else for(var h in t)u&&"prototype"===h||!f(t,h)||o.push(String(h));if(C)for(var d=t.constructor,p=d&&d.prototype===t,g=0;g<S;g++){var v=M[g];p&&"constructor"===v||!f(t,v)||o.push(v)}return o}}Date.prototype.toISOString&&-1!==new Date(-621987552e5).toISOString().indexOf("-000001")||(Date.prototype.toISOString=function(){var t,e,n,r,i;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(r=this.getUTCFullYear(),i=this.getUTCMonth(),r+=Math.floor(i/12),t=[(i=(i%12+12)%12)+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],r=(r<0?"-":r>9999?"+":"")+("00000"+Math.abs(r)).slice(0<=r&&r<=9999?-4:-6),e=t.length;e--;)(n=t[e])<10&&(t[e]="0"+n);return r+"-"+t.slice(0,2).join("-")+"T"+t.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"});var E=!1;try{E=Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(-621987552e5).toJSON().indexOf("-000001")&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(t){}E||(Date.prototype.toJSON=function(t){var e,n=Object(this),r=function(t){var e,n,r;if(H(t))return t;if(n=t.valueOf,s(n)&&H(e=n.call(t)))return e;if(r=t.toString,s(r)&&H(e=r.call(t)))return e;throw new TypeError}(n);if("number"==typeof r&&!isFinite(r))return null;if("function"!=typeof(e=n.toISOString))throw new TypeError("toISOString property is not callable");return e.call(n)});var A=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),N=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z")),D=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));Date.parse&&!D&&!N&&A||(Date=function(t){function e(n,r,i,o,a,s,u){var c=arguments.length;if(this instanceof t){var l=1===c&&String(n)===n?new t(e.parse(n)):c>=7?new t(n,r,i,o,a,s,u):c>=6?new t(n,r,i,o,a,s):c>=5?new t(n,r,i,o,a):c>=4?new t(n,r,i,o):c>=3?new t(n,r,i):c>=2?new t(n,r):c>=1?new t(n):new t;return l.constructor=e,l}return t.apply(this,arguments)}var n=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),r=[0,31,59,90,120,151,181,212,243,273,304,334,365];function i(t,e){var n=e>1?1:0;return r[e]+Math.floor((t-1969+n)/4)-Math.floor((t-1901+n)/100)+Math.floor((t-1601+n)/400)+365*(t-1970)}for(var o in t)e[o]=t[o];return e.now=t.now,e.UTC=t.UTC,e.prototype=t.prototype,e.prototype.constructor=e,e.parse=function(e){var r=n.exec(e);if(r){var o,a=Number(r[1]),s=Number(r[2]||1)-1,u=Number(r[3]||1)-1,c=Number(r[4]||0),l=Number(r[5]||0),f=Number(r[6]||0),h=Math.floor(1e3*Number(r[7]||0)),d=Boolean(r[4]&&!r[8]),p="-"===r[9]?1:-1,g=Number(r[10]||0),v=Number(r[11]||0);return c<(l>0||f>0||h>0?24:25)&&l<60&&f<60&&h<1e3&&s>-1&&s<12&&g<24&&v<60&&u>-1&&u<i(a,s+1)-i(a,s)&&(o=1e3*(60*((o=60*(24*(i(a,s)+u)+c+g*p))+l+v*p)+f)+h,d&&(o=Number(new t(1970,0,1,0,0,0,o))),-864e13<=o&&o<=864e13)?o:NaN}return t.parse.apply(this,arguments)},e}(Date)),Date.now||(Date.now=function(){return(new Date).getTime()}),Number.prototype.toFixed&&"0.000"===8e-5.toFixed(3)&&"0"!==.9.toFixed(0)&&"1.25"===1.255.toFixed(2)&&"1000000000000000128"===(0xde0b6b3a7640080).toFixed(0)||function(){var t,e,n;function r(r,i){for(var o=-1;++o<e;)i+=r*n[o],n[o]=i%t,i=Math.floor(i/t)}function i(r){for(var i=e,o=0;--i>=0;)o+=n[i],n[i]=Math.floor(o/r),o=o%r*t}function o(){for(var t=e,r="";--t>=0;)if(""!==r||0===t||0!==n[t]){var i=String(n[t]);""===r?r=i:r+="0000000".slice(0,7-i.length)+i}return r}function a(t,e,n){return 0===e?n:e%2==1?a(t,e-1,n*t):a(t*t,e/2,n)}t=1e7,e=6,n=[0,0,0,0,0,0],Number.prototype.toFixed=function(t){var e,n,s,u,c,l,f,h;
1if((e=(e=Number(t))!=e?0:Math.floor(e))<0||e>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if((n=Number(this))!=n)return"NaN";if(n<=-1e21||n>=1e21)return String(n);if(s="",n<0&&(s="-",n=-n),u="0",n>1e-21)if(l=(c=function(t){for(var e=0;t>=4096;)e+=12,t/=4096;for(;t>=2;)e+=1,t/=2;return e}(n*a(2,69,1))-69)<0?n*a(2,-c,1):n/a(2,c,1),l*=4503599627370496,(c=52-c)>0){for(r(0,l),f=e;f>=7;)r(1e7,0),f-=7;for(r(a(10,f,1),0),f=c-1;f>=23;)i(1<<23),f-=23;i(1<<f),r(1,1),i(2),u=o()}else r(0,l),r(1<<-c,0),u=o()+"0.00000000000000000000".slice(2,2+e);return u=e>0?(h=u.length)<=e?s+"0.0000000000000000000".slice(0,e-h+2)+u:s+u.slice(0,h-e)+"."+u.slice(h-e):s+u}}();var O,j=String.prototype.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(O=void 0===/()??/.exec("")[1],String.prototype.split=function(t,e){var n=this;if(void 0===t&&0===e)return[];if("[object RegExp]"!==a.call(t))return j.call(this,t,e);var r,i,o,s,u=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":""),l=0;for(t=new RegExp(t.source,c+"g"),n+="",O||(r=new RegExp("^"+t.source+"$(?!\\s)",c)),e=void 0===e?-1>>>0:X(e);(i=t.exec(n))&&!((o=i.index+i[0].length)>l&&(u.push(n.slice(l,i.index)),!O&&i.length>1&&i[0].replace(r,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(i[t]=void 0)}),i.length>1&&i.index<n.length&&Array.prototype.push.apply(u,i.slice(1)),s=i[0].length,l=o,u.length>=e));)t.lastIndex===i.index&&t.lastIndex++;return l===n.length?!s&&t.test("")||u.push(""):u.push(n.slice(l)),u.length>e?u.slice(0,e):u}):"0".split(void 0,0).length&&(String.prototype.split=function(t,e){return void 0===t&&0===e?[]:j.call(this,t,e)});var L,P=String.prototype.replace;if((L=[],"x".replace(/x(.)?/g,function(t,e){L.push(e)}),1===L.length&&void 0===L[0])||(String.prototype.replace=function(t,e){var r,i=s(e),o=(r=t,"[object RegExp]"===n.toString.call(r)&&/\)[*?]/.test(t.source));if(i&&o){return P.call(this,t,function(n){var r=arguments.length,i=t.lastIndex;t.lastIndex=0;var o=t.exec(n);return t.lastIndex=i,o.push(arguments[r-2],arguments[r-1]),e.apply(this,o)})}return P.call(this,t,e)}),"".substr&&"b"!=="0b".substr(-1)){var R=String.prototype.substr;String.prototype.substr=function(t,e){return R.call(this,t<0&&(t=this.length+t)<0?0:t,e)}}var I,B,q="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||q.trim()||!"​".trim()){q="["+q+"]";var F=new RegExp("^"+q+q+"*"),z=new RegExp(q+q+"*$");String.prototype.trim=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(F,"").replace(z,"")}}function U(t){return(t=+t)!=t?t=0:0!==t&&t!==1/0&&t!==-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t}function H(t){var e=typeof t;return null===t||"undefined"===e||"boolean"===e||"number"===e||"string"===e}8===parseInt(q+"08")&&22===parseInt(q+"0x16")||(parseInt=(I=parseInt,B=/^0[xX]/,function(t,e){return t=String(t).trim(),Number(e)||(e=B.test(t)?16:10),I(t,e)}));var W=function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return Object(t)},X=function(t){return t>>>0}}),window.Modernizr=function(t,e,n){var r,i,o={},a=e.documentElement,s=e.createElement("modernizr"),u=s.style,c="Webkit Moz O ms".split(" "),l="Webkit Moz O ms".toLowerCase().split(" "),f={},h=[],d=h.slice,p={}.hasOwnProperty;function g(t){u.cssText=t}function v(t,e){return typeof t===e}function m(t,e){for(var r in t){var i=t[r];if(!~(""+i).indexOf("-")&&u[i]!==n)return"pfx"!=e||i}return!1}function y(t,e,r){var i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+c.join(i+" ")+i).split(" ");return v(e,"string")||v(e,"undefined")?m(o,e):function(t,e,r){for(var i in t){var o=e[t[i]];if(o!==n)return!1===r?t[i]:v(o,"function")?o.bind(r||e):o}return!1}(o=(t+" "+l.join(i+" ")+i).split(" "),e,r)}for(var _ in i=v(p,"undefined")||v(p.call,"undefined")?function(t,e){return e in t&&v(t.constructor.prototype[e],"undefined")}:function(t,e){return p.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;
1var n=d.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=e.prototype;var o=new i,a=e.apply(o,n.concat(d.call(arguments)));return Object(a)===a?a:o}return e.apply(t,n.concat(d.call(arguments)))};return r}),f.cssanimations=function(){return y("animationName")},f.csstransforms=function(){return!!y("transform")},f)i(f,_)&&(r=_.toLowerCase(),o[r]=f[_](),h.push((o[r]?"":"no-")+r));return o.addTest=function(t,e){if("object"==typeof t)for(var r in t)i(t,r)&&o.addTest(r,t[r]);else{if(t=t.toLowerCase(),o[t]!==n)return o;e="function"==typeof e?e():e,a.className+=" "+(e?"":"no-")+t,o[t]=e}return o},g(""),s=null,o._version="2.8.3",o._domPrefixes=l,o._cssomPrefixes=c,o.testProp=function(t){return m([t])},o.testAllProps=y,a.className=a.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+h.join(" "),o}(0,this.document),JSON||(JSON={}),function(){"use strict";function f(t){return t<10?"0"+t:t}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(t){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(t){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,r,i,o,a,s=gap,u=e[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof rep&&(u=rep.call(e,t,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,n=0;n<o;n+=1)a[n]=str(n,u)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(i=str(r=rep[n],u))&&a.push(quote(r)+(gap?": ":":")+i);else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(i=str(r,u))&&a.push(quote(r)+(gap?": ":":")+i);return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(t,e){var n,r,i=t[e];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(void 0!==(r=walk(i,n))?i[n]=r:delete i[n]);return reviver.call(t,e,i)}if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(){var t=this,e=t._,n={},r=Array.prototype,i=Object.prototype,o=Function.prototype,a=r.push,s=r.slice,u=r.concat,c=i.toString,l=i.hasOwnProperty,f=r.forEach,h=r.map,d=r.reduce,p=r.reduceRight,g=r.filter,v=r.every,m=r.some,y=r.indexOf,_=r.lastIndexOf,x=Array.isArray,b=Object.keys,w=o.bind,k=function(t){return t instanceof k?t:this instanceof k?void(this._wrapped=t):new k(t)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports._=k):t._=k,k.VERSION="1.4.4";var C=k.each=k.forEach=function(t,e,r){if(null!=t)if(f&&t.forEach===f)t.forEach(e,r);else if(t.length===+t.length){for(var i=0,o=t.length;i<o;i++)if(e.call(r,t[i],i,t)===n)return}else for(var a in t)if(k.has(t,a)&&e.call(r,t[a],a,t)===n)return};k.map=k.collect=function(t,e,n){var r=[];return null==t?r:h&&t.map===h?t.map(e,n):(C(t,function(t,i,o){r[r.length]=e.call(n,t,i,o)}),r)};
1var T="Reduce of empty array with no initial value";k.reduce=k.foldl=k.inject=function(t,e,n,r){var i=arguments.length>2;if(null==t&&(t=[]),d&&t.reduce===d)return r&&(e=k.bind(e,r)),i?t.reduce(e,n):t.reduce(e);if(C(t,function(t,o,a){i?n=e.call(r,n,t,o,a):(n=t,i=!0)}),!i)throw new TypeError(T);return n},k.reduceRight=k.foldr=function(t,e,n,r){var i=arguments.length>2;if(null==t&&(t=[]),p&&t.reduceRight===p)return r&&(e=k.bind(e,r)),i?t.reduceRight(e,n):t.reduceRight(e);var o=t.length;if(o!==+o){var a=k.keys(t);o=a.length}if(C(t,function(s,u,c){u=a?a[--o]:--o,i?n=e.call(r,n,t[u],u,c):(n=t[u],i=!0)}),!i)throw new TypeError(T);return n},k.find=k.detect=function(t,e,n){var r;return M(t,function(t,i,o){if(e.call(n,t,i,o))return r=t,!0}),r},k.filter=k.select=function(t,e,n){var r=[];return null==t?r:g&&t.filter===g?t.filter(e,n):(C(t,function(t,i,o){e.call(n,t,i,o)&&(r[r.length]=t)}),r)},k.reject=function(t,e,n){return k.filter(t,function(t,r,i){return!e.call(n,t,r,i)},n)},k.every=k.all=function(t,e,r){e||(e=k.identity);var i=!0;return null==t?i:v&&t.every===v?t.every(e,r):(C(t,function(t,o,a){if(!(i=i&&e.call(r,t,o,a)))return n}),!!i)};var M=k.some=k.any=function(t,e,r){e||(e=k.identity);var i=!1;return null==t?i:m&&t.some===m?t.some(e,r):(C(t,function(t,o,a){if(i||(i=e.call(r,t,o,a)))return n}),!!i)};k.contains=k.include=function(t,e){return null!=t&&(y&&t.indexOf===y?-1!=t.indexOf(e):M(t,function(t){return t===e}))},k.invoke=function(t,e){var n=s.call(arguments,2),r=k.isFunction(e);return k.map(t,function(t){return(r?e:t[e]).apply(t,n)})},k.pluck=function(t,e){return k.map(t,function(t){return t[e]})},k.where=function(t,e,n){return k.isEmpty(e)?n?null:[]:k[n?"find":"filter"](t,function(t){for(var n in e)if(e[n]!==t[n])return!1;return!0})},k.findWhere=function(t,e){return k.where(t,e,!0)},k.max=function(t,e,n){if(!e&&k.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.max.apply(Math,t);if(!e&&k.isEmpty(t))return-1/0;var r={computed:-1/0,value:-1/0};return C(t,function(t,i,o){var a=e?e.call(n,t,i,o):t;a>=r.computed&&(r={value:t,computed:a})}),r.value},k.min=function(t,e,n){if(!e&&k.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.min.apply(Math,t);if(!e&&k.isEmpty(t))return 1/0;var r={computed:1/0,value:1/0};return C(t,function(t,i,o){var a=e?e.call(n,t,i,o):t;a<r.computed&&(r={value:t,computed:a})}),r.value},k.shuffle=function(t){var e,n=0,r=[];return C(t,function(t){e=k.random(n++),r[n-1]=r[e],r[e]=t}),r};var S=function(t){return k.isFunction(t)?t:function(e){return e[t]}};k.sortBy=function(t,e,n){var r=S(e);return k.pluck(k.map(t,function(t,e,i){return{value:t,index:e,criteria:r.call(n,t,e,i)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index<e.index?-1:1}),"value")};var E=function(t,e,n,r){var i={},o=S(e||k.identity);return C(t,function(e,a){var s=o.call(n,e,a,t);r(i,s,e)}),i};k.groupBy=function(t,e,n){return E(t,e,n,function(t,e,n){(k.has(t,e)?t[e]:t[e]=[]).push(n)})},k.countBy=function(t,e,n){return E(t,e,n,function(t,e){k.has(t,e)||(t[e]=0),t[e]++})},k.sortedIndex=function(t,e,n,r){for(var i=(n=null==n?k.identity:S(n)).call(r,e),o=0,a=t.length;o<a;){var s=o+a>>>1;n.call(r,t[s])<i?o=s+1:a=s}return o},k.toArray=function(t){return t?k.isArray(t)?s.call(t):t.length===+t.length?k.map(t,k.identity):k.values(t):[]},k.size=function(t){return null==t?0:t.length===+t.length?t.length:k.keys(t).length},k.first=k.head=k.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:s.call(t,0,e)},k.initial=function(t,e,n){return s.call(t,0,t.length-(null==e||n?1:e))},k.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:s.call(t,Math.max(t.length-e,0))},k.rest=k.tail=k.drop=function(t,e,n){return s.call(t,null==e||n?1:e)},k.compact=function(t){return k.filter(t,k.identity)};var A=function(t,e,n){return C(t,function(t){k.isArray(t)?e?a.apply(n,t):A(t,e,n):n.push(t)}),n};k.flatten=function(t,e){return A(t,e,[])},k.without=function(t){return k.difference(t,s.call(arguments,1))},k.uniq=k.unique=function(t,e,n,r){k.isFunction(e)&&(r=n,n=e,e=!1);var i=n?k.map(t,n,r):t,o=[],a=[];return C(i,function(n,r){(e?r&&a[a.length-1]===n:k.contains(a,n))||(a.push(n),o.push(t[r]))}),o},k.union=function(){return k.uniq(u.apply(r,arguments))}
1,k.intersection=function(t){var e=s.call(arguments,1);return k.filter(k.uniq(t),function(t){return k.every(e,function(e){return k.indexOf(e,t)>=0})})},k.difference=function(t){var e=u.apply(r,s.call(arguments,1));return k.filter(t,function(t){return!k.contains(e,t)})},k.zip=function(){for(var t=s.call(arguments),e=k.max(k.pluck(t,"length")),n=new Array(e),r=0;r<e;r++)n[r]=k.pluck(t,""+r);return n},k.object=function(t,e){if(null==t)return{};for(var n={},r=0,i=t.length;r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n},k.indexOf=function(t,e,n){if(null==t)return-1;var r=0,i=t.length;if(n){if("number"!=typeof n)return t[r=k.sortedIndex(t,e)]===e?r:-1;r=n<0?Math.max(0,i+n):n}if(y&&t.indexOf===y)return t.indexOf(e,n);for(;r<i;r++)if(t[r]===e)return r;return-1},k.lastIndexOf=function(t,e,n){if(null==t)return-1;var r=null!=n;if(_&&t.lastIndexOf===_)return r?t.lastIndexOf(e,n):t.lastIndexOf(e);for(var i=r?n:t.length;i--;)if(t[i]===e)return i;return-1},k.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=arguments[2]||1;for(var r=Math.max(Math.ceil((e-t)/n),0),i=0,o=new Array(r);i<r;)o[i++]=t,t+=n;return o},k.bind=function(t,e){if(t.bind===w&&w)return w.apply(t,s.call(arguments,1));var n=s.call(arguments,2);return function(){return t.apply(e,n.concat(s.call(arguments)))}},k.partial=function(t){var e=s.call(arguments,1);return function(){return t.apply(this,e.concat(s.call(arguments)))}},k.bindAll=function(t){var e=s.call(arguments,1);return 0===e.length&&(e=k.functions(t)),C(e,function(e){t[e]=k.bind(t[e],t)}),t},k.memoize=function(t,e){var n={};return e||(e=k.identity),function(){var r=e.apply(this,arguments);return k.has(n,r)?n[r]:n[r]=t.apply(this,arguments)}},k.delay=function(t,e){var n=s.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},k.defer=function(t){return k.delay.apply(k,[t,1].concat(s.call(arguments,1)))},k.throttle=function(t,e){var n,r,i,o,a=0,s=function(){a=new Date,i=null,o=t.apply(n,r)};return function(){var u=new Date,c=e-(u-a);return n=this,r=arguments,c<=0?(clearTimeout(i),i=null,a=u,o=t.apply(n,r)):i||(i=setTimeout(s,c)),o}},k.debounce=function(t,e,n){var r,i;return function(){var o=this,a=arguments,s=n&&!r;return clearTimeout(r),r=setTimeout(function(){r=null,n||(i=t.apply(o,a))},e),s&&(i=t.apply(o,a)),i}},k.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}},k.wrap=function(t,e){return function(){var n=[t];return a.apply(n,arguments),e.apply(this,n)}},k.compose=function(){var t=arguments;return function(){for(var e=arguments,n=t.length-1;n>=0;n--)e=[t[n].apply(this,e)];return e[0]}},k.after=function(t,e){return t<=0?e():function(){if(--t<1)return e.apply(this,arguments)}},k.keys=b||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e=[];for(var n in t)k.has(t,n)&&(e[e.length]=n);return e},k.values=function(t){var e=[];for(var n in t)k.has(t,n)&&e.push(t[n]);return e},k.pairs=function(t){var e=[];for(var n in t)k.has(t,n)&&e.push([n,t[n]]);return e},k.invert=function(t){var e={};for(var n in t)k.has(t,n)&&(e[t[n]]=n);return e},k.functions=k.methods=function(t){var e=[];for(var n in t)k.isFunction(t[n])&&e.push(n);return e.sort()},k.extend=function(t){return C(s.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},k.pick=function(t){var e={},n=u.apply(r,s.call(arguments,1));return C(n,function(n){n in t&&(e[n]=t[n])}),e},k.omit=function(t){var e={},n=u.apply(r,s.call(arguments,1));for(var i in t)k.contains(n,i)||(e[i]=t[i]);return e},k.defaults=function(t){return C(s.call(arguments,1),function(e){if(e)for(var n in e)null==t[n]&&(t[n]=e[n])}),t},k.clone=function(t){return k.isObject(t)?k.isArray(t)?t.slice():k.extend({},t):t},k.tap=function(t,e){return e(t),t};var N=function(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof k&&(t=t._wrapped),e instanceof k&&(e=e._wrapped);var i=c.call(t);if(i!=c.call(e))return!1;switch(i){case"[object String]":return t==String(e);case"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.source&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if("object"!=typeof t||"object"!=typeof e)return!1;for(var o=n.length;o--;)if(n[o]==t)return r[o]==e;n.push(t),r.push(e);var a=0,s=!0;if("[object Array]"==i){if(s=(a=t.length)==e.length)for(;a--&&(s=N(t[a],e[a],n,r)););}else{var u=t.constructor,l=e.constructor;if(u!==l&&!(k.isFunction(u)&&u instanceof u&&k.isFunction(l)&&l instanceof l))return!1;for(var f in t)if(k.has(t,f)&&(a++,!(s=k.has(e,f)&&N(t[f],e[f],n,r))))break;if(s){for(f in e)if(k.has(e,f)&&!a--)break;s=!a}}return n.pop(),r.pop(),s};k.isEqual=function(t,e){return N(t,e,[],[])},k.isEmpty=function(t){if(null==t)return!0;
1if(k.isArray(t)||k.isString(t))return 0===t.length;for(var e in t)if(k.has(t,e))return!1;return!0},k.isElement=function(t){return!(!t||1!==t.nodeType)},k.isArray=x||function(t){return"[object Array]"==c.call(t)},k.isObject=function(t){return t===Object(t)},C(["Arguments","Function","String","Number","Date","RegExp"],function(t){k["is"+t]=function(e){return c.call(e)=="[object "+t+"]"}}),k.isArguments(arguments)||(k.isArguments=function(t){return!(!t||!k.has(t,"callee"))}),"function"!=typeof/./&&(k.isFunction=function(t){return"function"==typeof t}),k.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},k.isNaN=function(t){return k.isNumber(t)&&t!=+t},k.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"==c.call(t)},k.isNull=function(t){return null===t},k.isUndefined=function(t){return void 0===t},k.has=function(t,e){return l.call(t,e)},k.noConflict=function(){return t._=e,this},k.identity=function(t){return t},k.times=function(t,e,n){for(var r=Array(t),i=0;i<t;i++)r[i]=e.call(n,i);return r},k.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))};var D={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}};D.unescape=k.invert(D.escape);var O={escape:new RegExp("["+k.keys(D.escape).join("")+"]","g"),unescape:new RegExp("("+k.keys(D.unescape).join("|")+")","g")};k.each(["escape","unescape"],function(t){k[t]=function(e){return null==e?"":(""+e).replace(O[t],function(e){return D[t][e]})}}),k.result=function(t,e){if(null==t)return null;var n=t[e];return k.isFunction(n)?n.call(t):n},k.mixin=function(t){C(k.functions(t),function(e){var n=k[e]=t[e];k.prototype[e]=function(){var t=[this._wrapped];return a.apply(t,arguments),I.call(this,n.apply(k,t))}})};var j=0;k.uniqueId=function(t){var e=++j+"";return t?t+e:e},k.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var L=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},R=/\\|'|\r|\n|\t|\u2028|\u2029/g;k.template=function(t,e,n){var r;n=k.defaults({},n,k.templateSettings);var i=new RegExp([(n.escape||L).source,(n.interpolate||L).source,(n.evaluate||L).source].join("|")+"|$","g"),o=0,a="__p+='";t.replace(i,function(e,n,r,i,s){return a+=t.slice(o,s).replace(R,function(t){return"\\"+P[t]}),n&&(a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(a+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(a+="';\n"+i+"\n__p+='"),o=s+e.length,e}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(n.variable||"obj","_",a)}catch(t){throw t.source=a,t}if(e)return r(e,k);var s=function(t){return r.call(this,t,k)};return s.source="function("+(n.variable||"obj")+"){\n"+a+"}",s},k.chain=function(t){return k(t).chain()};var I=function(t){return this._chain?k(t).chain():t};k.mixin(k),C(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=r[t];k.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!=t&&"splice"!=t||0!==n.length||delete n[0],I.call(this,n)}}),C(["concat","join","slice"],function(t){var e=r[t];k.prototype[t]=function(){return I.call(this,e.apply(this._wrapped,arguments))}}),k.extend(k.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),function(){var t,e={},n=window,r=n.document,i="localStorage",o="globalStorage";if(e.disabled=!1,e.set=function(t,e){},e.get=function(t){},e.remove=function(t){},e.clear=function(){},e.transact=function(t,n,r){var i=e.get(t);null==r&&(r=n,n=null),void 0===i&&(i=n||{}),r(i),e.set(t,i)},e.getAll=function(){},e.serialize=function(t){return JSON.stringify(t)},e.deserialize=function(t){if("string"==typeof t)return JSON.parse(t)},function(){try{return i in n&&n[i]}catch(t){return!1}}())t=n[i],e.set=function(n,r){if(void 0===r)return e.remove(n);t.setItem(n,e.serialize(r))},e.get=function(n){return e.deserialize(t.getItem(n))},e.remove=function(e){t.removeItem(e)},e.clear=function(){t.clear()},e.getAll=function(){for(var n={},r=0;r<t.length;++r){var i=t.key(r);n[i]=e.get(i)}return n};else if(function(){try{return o in n&&n[o]&&n[o][n.location.hostname]}catch(t){return!1}}())t=n[o][n.location.hostname],e.set=function(n,r){if(void 0===r)return e.remove(n);t[n]=e.serialize(r)},e.get=function(n){return e.deserialize(t[n]&&t[n].value)},e.remove=function(e){delete t[e]},e.clear=function(){for(var e in t)delete t[e]},e.getAll=function(){for(var n={},r=0;r<t.length;++r){var i=t.key(r);n[i]=e.get(i)}return n};else if(r.documentElement.addBehavior){var a,s;try{(s=new ActiveXObject("htmlfile")).open(),s.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),s.close(),a=s.w.frames[0].document,t=a.createElement("div")}catch(e){t=r.createElement("div"),a=r.body}function u(n){return function(){var r=Array.prototype.slice.call(arguments,0);r.unshift(t),a.appendChild(t),t.addBehavior("#default#userData"),t.load(i);var o=n.apply(e,r);return a.removeChild(t),o}}function c(t){return"_"+t}e.set=u(function(t,n,r){if(n=c(n),void 0===r)return e.remove(n);t.setAttribute(n,e.serialize(r)),t.save(i)}),e.get=u(function(t,n){return n=c(n),e.deserialize(t.getAttribute(n))}),e.remove=u(function(t,e){e=c(e),t.removeAttribute(e),t.save(i)}),e.clear=u(function(t){var e=t.XMLDocument.documentElement.attributes;t.load(i);for(var n,r=0;n=e[r];r++)t.removeAttribute(n.name);t.save(i)}),e.getAll=u(function(t){var n=t.XMLDocument.documentElement.attributes;t.load(i);for(var r,o={},a=0;r=n[a];++a)o[r]=e.get(r);return o}
1)}try{e.set("__storejs__","__storejs__"),"__storejs__"!=e.get("__storejs__")&&(e.disabled=!0),e.remove("__storejs__")}catch(t){e.disabled=!0}"undefined"!=typeof module&&"function"!=typeof module?module.exports=e:"function"==typeof define&&define.amd?define(e):this.store=e}(),function(t,e){var n=function(t){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"(n != 1);"}}},domain:"messages"},this.options=_.extend({},this.defaults,t),this.textdomain(this.options.domain),t.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+t.domain+"`")};n.context_delimiter=String.fromCharCode(4);var r=_.memoize(function(t){t=t||"(n != 1)";return _.partial(function(t,e){var n=t(e);return!0===n?1:n||0},new Function("n","return "+t))});_.extend(n.prototype,{textdomain:function(t){if(!t)return this._textdomain;this._textdomain=t},gettext:function(t){return this.dcnpgettext.call(this,void 0,void 0,t)},dgettext:function(t,e){return this.dcnpgettext.call(this,t,void 0,e)},dcgettext:function(t,e){return this.dcnpgettext.call(this,t,void 0,e)},ngettext:function(t,e,n){return this.dcnpgettext.call(this,void 0,void 0,t,e,n)},dngettext:function(t,e,n,r){return this.dcnpgettext.call(this,t,void 0,e,n,r)},dcngettext:function(t,e,n,r){return this.dcnpgettext.call(this,t,void 0,e,n,r)},pgettext:function(t,e){return this.dcnpgettext.call(this,void 0,t,e)},dpgettext:function(t,e,n){return this.dcnpgettext.call(this,t,e,n)},dcpgettext:function(t,e,n){return this.dcnpgettext.call(this,t,e,n)},npgettext:function(t,e,n,r){return this.dcnpgettext.call(this,void 0,t,e,n,r)},dnpgettext:function(t,e,n,r,i){return this.dcnpgettext.call(this,t,e,n,r,i)},dcnpgettext:function(t,e,i,o,a){var s;if(o=o||i,t=t||this._textdomain,a=void 0===a?1:a,!this.options)return(s=new n).dcnpgettext.call(s,void 0,void 0,i,o,a);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[t])throw new Error("Domain `"+t+"` was not found.");if(!this.options.locale_data[t][""])throw new Error("No locale meta information provided.");if(!i)throw new Error("No translation key found.");if("number"!=typeof a&&(a=parseInt(a,10),isNaN(a)))throw new Error("The number that was passed in is not a number.");var u,c=e?e+n.context_delimiter+i:i,l=this.options.locale_data[t],f=l[""].plural_forms,h=r(f)(a)+1;if(!l)throw new Error("No domain named `"+t+"` could be found.");return!(u=l[c])||h>=u.length?(this.options.missing_key_callback&&this.options.missing_key_callback(c),[null,i,o][r()(a)+1]):u[h]||[null,i,o][r()(a)+1]}}),t.Jed=n}(this),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.button"),o="object"==typeof e&&e;i||r.data("bs.button",i=new n(this,o)),"toggle"==e?i.toggle():e&&i.setState(e)})}var n=function(e,r){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy(function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=t(n.target);r.hasClass("btn")||(r=r.closest(".btn")),e.call(r,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&t(n);return r&&r.length?r:e.parent()}function n(n){n&&3===n.which||(t(r).remove(),t(i).each(function(){var r=t(this),i=e(r),o={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(i[0],n.target)||(i.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(r.attr("aria-expanded","fal
1se"),i.removeClass("open").trigger("hidden.bs.dropdown",o))))}))}var r=".dropdown-backdrop",i='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.5",o.prototype.toggle=function(r){var i=t(this);if(!i.is(".disabled, :disabled")){var o=e(i),a=o.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(o.trigger(r=t.Event("show.bs.dropdown",s)),r.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=t(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var o=e(r),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(i).trigger("focus"),r.trigger("click");var s=o.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var u=s.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<s.length-1&&u++,~u||(u=0),s.eq(u).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new o(this)),"string"==typeof e&&r[e].call(n)})},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",i,o.prototype.toggle).on("keydown.bs.dropdown.data-api",i,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var r=t(this),i=r.data("bs.affix"),o="object"==typeof e&&e;i||r.data("bs.affix",i=new n(this,o)),"string"==typeof e&&i[e]()})}var n=function(e,r){this.options=t.extend({},n.DEFAULTS,r),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return n>i&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(t-r>=i+a)&&"bottom";var s=null==this.affixed,u=s?i:o.top;return null!=n&&n>=i?"top":null!=r&&u+(s?a:e)>=t-r&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var s=this.getState(a,e,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var u="affix"+(s?"-"+s:""),c=t.Event(u+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-o})}};var r=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),e.call(n,r)})})}(jQuery),function(t){"use strict";function e(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(r)}function n(e){return this.each(function(){var n=t(this),i=n.data("bs.collapse"),o=t.extend({},r.DEFAULTS,n.data(),"object"==typeof e&&e);!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||n.data("bs.collapse",i=new r(this,o)),"string"==typeof e&&i[e]()})}var r=function(e,n){this.$element=t(e),this.options=t.extend({},r.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.5",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(e=i.data("bs.collapse"),e&&e.transitioning))){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),e||i.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var u=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[a](this.$element[0][u])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION):i.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,r){var i=t(r);this.addAriaAndCollapsedClass(e(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=r,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var i=t(this);i.attr("data-target")||r.preventDefault();var o=e(i),a=o.data("bs.collapse")?"toggle":i.data();n.call(o,a)})}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||t(r).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.supp
vendor: 5,437 bytes, line 1
1ort.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),function($){"use strict";var t=function(t,e){this.options=e,this.$body=$(document.body),this.$element=$(t),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,$.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function e(e,n){return this.each(function(){var r=$(this),i=r.data("bs.modal"),o=$.extend({},t.DEFAULTS,r.data(),"object"==typeof e&&e);i||r.data("bs.modal",i=new t(this,o)),"string"==typeof e?i[e](n):o.show&&i.show(n)})}t.VERSION="3.2.0",t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},t.prototype.show=function(t){var e=this,n=$.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',$.proxy(this.hide,this)),this.backdrop(function(){var n=$.support.transition&&e.$element.hasClass("fade");e.$element.parent().length||e.$element.appendTo(e.$body),e.$element.show().scrollTop(0),n&&e.$element[0].offsetWidth,e.$element.addClass("in").attr("aria-hidden",!1),e.enforceFocus();var r=$.Event("shown.bs.modal",{relatedTarget:t});n?e.$element.find(".modal-dialog").one("bsTransitionEnd",function(){e.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(300):e.$element.trigger("focus").trigger(r)}))},t.prototype.hide=function(t){t&&t.preventDefault(),t=$.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),$(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),$.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",$.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},t.prototype.enforceFocus=function(){$(document).off("focusin.bs.modal").on("focusin.bs.modal",$.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",$.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},t.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(t){var e=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=$.support.transition&&n;if(this.$backdrop=$('<div class="modal-backdrop '+n+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",$.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;r?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(150):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var i=function(){e.removeBackdrop(),t&&t()};$.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(150):i()}else t&&t()},t.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},t.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",t+this.scrollbarWidth)},t.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},t.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=$.fn.modal;$.fn.modal=e,$.fn.modal.Constructor=t,$.fn.modal.noConflict=function(){return $.fn.modal=n,this},$(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var n=$(this),r=n.attr("href"),i=$(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=i.data("bs.modal")?"toggle":$.extend({remote:!/#/.test(r)&&r},i.data(),n.data());n.is("a")&&t.preventDefault(),i.one("show.bs.modal",function(t){t.isDefaultPrevented()||i.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),e.call(i,o,this)})}(jQuery),function($){"use strict";$.fn.emulateTransitionEnd=function(t){var e=!1,n=this;$(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||$(n).trigger($.support.transition.end)},t),this},$(function(){$.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),$.support.transition&&($.event.special.bsTransitionEnd={bindType:$.supp
vendor: 4,365 bytes, line 1
1ort.transition.end,delegateType:$.support.transition.end,handle:function(t){if($(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function($){"use strict";var t=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};t.VERSION="3.2.0",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,e,n){this.enabled=!0,this.type=t,this.$element=$(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&$(this.options.viewport.selector||this.options.viewport);for(var r=this.options.trigger.split(" "),i=r.length;i--;){var o=r[i];if("click"==o)this.$element.on("click."+this.type,this.options.selector,$.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focusin",s="hover"==o?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,$.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,$.proxy(this.leave,this))}}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=$.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},e=this.getDefaults();return this._options&&$.each(this._options,function(n,r){e[n]!=r&&(t[n]=r)}),t},t.prototype.enter=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(e&&e.$tip&&e.$tip.is(":visible"))e.hoverState="in";else{if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},t.prototype.leave=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)},t.prototype.show=function(){var e=$.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var r=this,i=this.tip(),o=this.getUID(this.type);this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,u=s.test(a);u&&(a=a.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element);var c=this.getPosition(),l=i[0].offsetWidth,f=i[0].offsetHeight;if(u){var h=a,d=this.options.container?$(this.options.container):this.$element.parent(),p=this.getPosition(d);a="bottom"==a&&c.top+c.height+f-p.scroll>p.height?"top":"top"==a&&c.top-p.scroll-f<p.top?"bottom":"right"==a&&c.right+l>p.width?"left":"left"==a&&c.left-l<p.left?"right":a,i.removeClass(h).addClass(a)}var g=this.getCalculatedOffset(a,c,l,f);this.applyPlacement(g,a);var v=function(){r.$element.trigger("shown.bs."+r.type),r.hoverState=null};$.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",v).emulateTransitionEnd(t.TRANSITION_DURATION):v()}},t.prototype.applyPlacement=function(t,e){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),t.top=t.top+o,t.left=t.left+a,$.offset.setOffset(n[0],$.extend({using:function(t){n.css({top:Math.round(t.top),left
1:Math.round(t.left)})}},t),0),n.addClass("in");var s=n[0].offsetWidth,u=n[0].offsetHeight;"top"==e&&u!=i&&(t.top=t.top+i-u);var c=this.getViewportAdjustedDelta(e,t,s,u);c.left?t.left+=c.left:t.top+=c.top;var l=/top|bottom/.test(e),f=l?2*c.left-r+s:2*c.top-i+u,h=l?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(f,n[0][h],l)},t.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},t.prototype.hide=function(e){var n=this,r=this.tip(),i=$.Event("hide.bs."+this.type);function o(){"in"!=n.hoverState&&r.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}if(this.$element.trigger(i),!i.isDefaultPrevented())return r.removeClass("in"),$.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",o).emulateTransitionEnd(t.TRANSITION_DURATION):o(),this.hoverState=null,this},t.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],n="BODY"==e.tagName,r=e.getBoundingClientRect();null==r.width&&(r=$.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var i=n?{top:0,left:0}:t.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},a=n?{width:$(window).width(),height:$(window).height()}:null;return $.extend({},r,o,a,i)},t.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},t.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,u=e.top+o-a.scroll+r;s<a.top?i.top=a.top-s:u>a.top+a.height&&(i.top=a.top+a.height-u)}else{var c=e.left-o,l=e.left+o+n;c<a.left?i.left=a.left-c:l>a.width&&(i.left=a.left+a.width-l)}return i},t.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},t.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},t.prototype.tip=function(){return this.$tip=this.$tip||$(this.options.template)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var e=this;t&&((e=$(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e))),e.tip().hasClass("in")?e.leave(e):e.enter(e)},t.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var e=$.fn.tooltip;$.fn.tooltip=function(e){return this.each(function(){var n=$(this),r=n.data("bs.tooltip"),i="object"==typeof e&&e;(r||"destroy"!=e)&&(r||n.data("bs.tooltip",r=new t(this,i)),"string"==typeof e&&r[e]())})},$.fn.tooltip.Constructor=t,$.fn.tooltip.noConflict=function(){return $.fn.tooltip=e,this}}(jQuery),function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return i(n||t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){"use strict";var r=e.exports=function(t){};function i(){for(var t=Array.prototype.slice.call(arguments),e={},n=document.cookie.split(";"),r=0;r<n.length;r++){var i=n[r].split("=",2),o=i[0].replace(/^\s+/,"");-1!==t.indexOf(o)&&(e[o]=i[1])}return e}function o(t,e,n){document.cookie=t+"="+e+"; expires="+n.toGMTString()+";"}function a(){if(window.r&&window.r.config&&window.r.config.logged)return{};var t=i("loid","loidcreated");if(t.loid)return t;var e=function(t){for(var e=[],n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<t;r++)e.push(n.charAt(Math.floor(Math.random()*n.length)));return e.join("")}(18),n=(new Date).toISOString(),r=new Date;return r.setFullYear(r.getFullYear()+2),o("loid",e,r),o("loidcreated",
1n,r),i("loid","loidcreated")}(r.prototype.getTrackingData=function(){return a()},"undefined"!=typeof window)&&((window.redditlib=window.redditlib||{}).Tracker=r)},{}]},{},[1]),jQuery.cookie=function(t,e,n){if(arguments.length>1&&"[object Object]"!==String(e)){if(n=jQuery.extend({},n),null==e&&(n.expires=-1),"number"==typeof n.expires){var r=n.expires,i=n.expires=new Date;i.setDate(i.getDate()+r)}return e=String(e),document.cookie=[encodeURIComponent(t),"=",n.raw?e:encodeURIComponent(e),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}var o,a=(n=e||{}).raw?function(t){return t}:decodeURIComponent;return(o=new RegExp("(?:^|; )"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie))?a(o[1]):null},function(t){"use strict";var e=/[^A-Za-z0-9]/;function n(){var e=t.performance&&"function"==typeof t.performance.now?t.performance.now():"function"==typeof Date.now?Date.now():(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)})}function r(t,e,n,r,i,o,a){if(a=a||{},!t)throw"Missing key; pass in event client key as the first argument.";if(this.clientKey=t,!e)throw"Missing secret; pass in event client secret as the second argument.";if(this.clientSecret=e,!n)throw"Missing post function; pass in ajax post function as the third argument.";if(this.postData=n,!r)throw"Missing url to post to; pass in url as the fourth argument.";if(this.eventsUrl=r,!i)throw"Missing appName; pass in appName as the fifth argument.";if(this.appName=i,!o)throw"Missing calculateHash; pass in calculateHash as the sixth argument.";this.calculateHash=o,"undefined"!=typeof window&&(this.appendClientContext=void 0===a.appendClientContext||a.appendClientContext),this.bufferTimeout=a.bufferTimeout||100,this.bufferLength=a.bufferLength||40,this.buffer=[]}r.prototype.track=function(t,e,n){var r=this._buildData(t,e,n||{});this._buffer(r)},r.prototype.send=function(t){if(this.buffer.length){var e=JSON.stringify(this.buffer),n=this.calculateHash(this.clientSecret,e);this.postData({url:this.eventsUrl,data:e,headers:{"Content-Type":"text/plain"},query:{key:this.clientKey,mac:n},done:t||function(){}}),this.buffer=[]}},r.prototype._validateClientName=function(t){if(e.test(t))throw t},r.prototype._buildData=function(t,e,r){var i=new Date,o={event_topic:t,event_type:e,event_ts:i.getTime(),uuid:r.uuid||n(),payload:r};if(o.payload.app_name=this.appName,o.payload.utc_offset=i.getTimezoneOffset()/-60,this.appendClientContext){var a=this._buildClientContext();for(var s in a)o.payload[s]=a[s]}return o},r.prototype._buffer=function(t){this.buffer.push(t),this.buffer.length>=this.bufferLength||!this.bufferTimeout?this.send():this.bufferTimeout&&!this.timer&&this._resetTimer()},r.prototype._resetTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=void 0);var t=this;this.timer=setTimeout(function(){t.send(),t.timer=void 0},this.bufferTimeout)},r.prototype._buildClientContext=function(){return{user_agent:navigator.userAgent,domain:document.location.host,base_url:document.location.pathname+document.location.search+document.location.hash}},"undefined"!=typeof module?module.exports=r:t.EventTracker=r}("undefined"!=typeof global?global:this);var CryptoJS=CryptoJS||function(t,e){var n={},r=n.lib={},i=function(){},o=r.Base={extend:function(t){i.prototype=this;var e=new i;return t&&e.mixIn(t),e.hasOwnProperty("init")||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||u).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes;if(t=t.sigBytes,this.clamp(),r%4)for(var i=0;i<t;i++)e[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;else if(65535<n.length)for(i=0;i<t;i+=4)e[r+i>>>2]=n[i>>>2];else e.push.apply(e,n);return this.sigBytes+=t,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n=[],r=0;r<e;r+=4)n.push(4294967296*t.random()|0);return new a.init(n,e)}}),s=n.enc={},u=s.Hex={stringify:function(t){var e=t.words;t=t.sigBytes;for(var n=[],r=0;r<t;r++){var i=e[r>>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(n,e/2)}},c=s.Latin1={stringify:function(t){var e=t.words;t=t.sigBytes;for(var n=[],r=0;r<t;r++)n.push(String.fromCharCode(e[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(n,e)}},l=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},f=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o);if(e=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*o,i=t.min(4*e,i),e){for(var u=0;u<e;u+=o)this._doProcessBlock(r,u);u=r.splice(0,e),n.sigBytes-=i}return new a.init(u,i)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});r.Hasher=f.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new h.HMAC.init(t,n).finalize(e)}}});var h=n.algo={};return n}(Math),QRCode;function open_menu(t){$(t).siblings(".drop-choices").not(".inuse").css("top",t.offsetHeight+"px").each(function(){$(this).css("left",$(t).position().left+"px").css("top",$(t).height()+$(t).position().top+"px")}).addClass("active inuse")}function close_menu(t){$(t).closest(".drop-choices").removeClass("active inuse")}function close_menus(t){$(".drop-choices.inuse").not(".active").removeClass("inuse"),$(".drop-choices.active").removeClass("active").trigger("close_menu"),$(".flairselector").empty(),0==$(t.target).closest("#search").length&&($("#moresearchinfo").slide
1Up(),1==$("#searchexpando").length?$("#searchexpando").slideUp(function(){$("#search_showmore").parent().show()}):$("#search_showmore").parent().show())}function select_tab_menu(t,e){var n="tabbedpane-"+e,r=$(t).parent().parent().parent();r.find(".tabmenu li").removeClass("selected"),$(t).parent().addClass("selected"),r.find(".tabbedpane").each(function(){this.style.display=this.id==n?"block":"none"})}function post_user(t,e){var n=$(t).find('input[name="user"]').val();return post_form(t,null==n?e:e+"/"+n)}function post_form(t,e,n,i,o){try{return!t.disabled&&(null==n&&(n=function(t){return r.config.status_msg.submitting}),$(t).find(".error").not(".status").hide(),$(t).find(".status").html(n(t)).show(),simple_post_form(t,e,{},o))}catch(t){return!1}}function get_form_fields(t,e,n){return e=e||{},n||(n=function(t){return!0}),$(t).find("select, input, textarea").not(".gray, :disabled").each(function(){var t=$(this),r=t.attr("type");n(this)&&(t.data("send-checked")?e[t.attr("name")]=t.is(":checked"):("radio"!=r&&"checkbox"!=r||t.is(":checked"))&&(e[t.attr("name")]=t.val()))}),null==e.id&&(e.id=$(t).attr("id")?"#"+$(t).attr("id"):""),e}function form_error(t){return function(e){var n;n="ratelimit"==e?r._("please wait a few seconds and try again."):413===e.status?"Error: The file size of your data was too big for our servers, sorry.":r._("an error occurred (status: %(status)s)").format({status:e.status}),$(t).find(".status").text(n)}}function simple_post_form(t,e,n,r,i){return $.request(e,get_form_fields(t,n),i,r,"json",!1,form_error(t)),!1}function post_pseudo_form(t,e,n){return $(t).find(".error").not(".status").hide(),$(t).find(".status").html(r.config.status_msg.submitting).show(),$.request(e,get_form_fields(t,{},function(e){var n=$(e).parents("form:first");return 0==n.length||n.get(0)==$(t).get(0)}),null,n,"json",!1,form_error(t)),!1}function post_multipart_form(t,e){return $(t).find(".error").not(".status").hide(),$(t).find(".status").html(r.config.status_msg.submitting).show(),!0}function showlang(){var t=$("#lang-popup").prop("innerHTML");return new r.ui.Popup({className:"lang-modal",content:t}).show(),!1}function deleteRow(t){$(t).delete_table_row()}function change_state(t,e,n,r,i){var o=$(t).parents("form").first(),a=o.find('input[name="id"]');return simple_post_form(o,e,{id:a=a.length?a.val():$(t).thing_id()},void 0,i),n&&n(o.length?o:t,e),$.defined(r)||o.html(o.find('[name="executed"]').val()),!1}function unread_thing(t){var e=$(t);e.hasClass("thing")||(e=e.thing()),$(e).addClass("new unread")}function read_thing(t){var e=$(t);e.hasClass("thing")||(e=e.thing()),$(e).hasClass("new")?$(e).removeClass("new"):$(e).removeClass("unread"),$.request("read_message",{id:$(e).thing_id()})}function click_thing(t){var e=$(t);e.hasClass("thing")||(e=e.thing()),e.hasClass("message")&&e.hasClass("recipient")&&(e.hasClass("unread")?e.removeClass("unread"):e.hasClass("new")&&read_thing(t))}function hide_thing(t){if(!$("body").hasClass("comments-page")){var e=$(t).thing();if(e.is(".comment")&&e.has(".child:not(:empty)").length){var n="["+_.escape(r._("deleted"))+"]",i=e.addClass("deleted").find(".entry:first");i.find(".usertext").addClass("grayed").find(".md").html("<p>"+n+"</p>"),i.find(".author").replaceWith("<em>"+n+"</em>"),i.find(".userattrs, .score, .buttons").remove()}else e.fadeOut(function(){$(this).toggleClass("hidden");var t=$(this).thing_id();$(document).trigger("hide_thing_"+t)})}}function toggle(t,e,n){if(r.access.isLinkRestricted(t))return!1;r.analytics.breadcrumbs.storeLastClick(t);var i=$(t).parent().addBack().filter(".option").removeClass("active").siblings().addClass("active").get(0);return n&&!i.onclick&&(i.onclick=function(){return toggle(i,n,e)}),e&&e(t),!1}function cancelToggleForm(t,e,n,r){n&&$(t).filter("button").length&&toggle($(t).thing().find(n).children(":visible").filter(":first"));return $(t).thing().find(e).each(function(){r&&r($(this)),$(this).hide().remove()}),!1}function linkstatus(t){return r.config.status_msg.submitting}function subscribe(t){return function(){r.config.logged&&(r.config.cur_site==t&&$("body").addClass("subscriber"),$.things(t).find(".entry").addClass("likes"),$.request("subscribe",{sr:t,action:"sub"}),r.analytics.fireUITrackingPixel("sub",t,{has_subd:r.config.has_subscribed}))}}function unsubscribe(t){return function(){r.config.logged&&(r.config.cur_site==t&&$("body").removeClass("subscriber"),$.things(t).find(".entry").removeClass("likes"),$.request("subscribe",{sr:t,action:"unsub"}),r.analytics.fireUITrackingPixel("unsub",t))}}function quarantine_optout(t){return function(){r.config.logged&&($.request("quarantine_optout",{sr:t}),$.redirect("/"))}}function friend(t,e,n){return function(){r.config.logged&&(encoded=encodeURIComponent(document.referrer),$.request("friend?note="+encoded,{name:t,container:e,type:n}))}}function unfriend(t,e,n){return function(){$.request("unfriend",{name:t,container:e,type:n})}}function reject_promo(t){$(t).thing().find(".rejection-form").show().find("textare").focus()}function cancel_reject_promo(t){$(t).thing().find(".rejection-form").hide()}
1function complete_reject_promo(t){var e=$(t);e.thing().removeClass("accepted").addClass("rejected").find(".reject_promo").remove(),e.data("hide-after-seen")&&hide_thing(t)}function helpon(t){$(t).parents(".usertext-edit:first").children(".markhelp:first").show()}function helpoff(t){$(t).parents(".usertext-edit:first").children(".markhelp:first").hide()}function show_all_messages(t){var e=$(t).parents(".message"),n=e.find(".message"),r=e.add(n),i=[];return _.each(r,function(t){var e=$(t),n=e.find(".expand:first");e.hasClass("collapsed")&&(e.toggleClass("collapsed noncollapsed"),n.text("[-]"),i.push(e.thing_id()))}),i.length&&$.request("uncollapse_message",{id:i.join(",")}),!1}function hide_all_messages(t){var e=$(t).parents(".message"),n=e.find(".message"),r=e.add(n),i=[];return _.each(r,function(t){var e=$(t),n=e.find(".expand:first");e.hasClass("collapsed")||(e.toggleClass("collapsed noncollapsed"),n.text("[+]"),i.push(e.thing_id()))}),i.length&&$.request("collapse_message",{id:i.join(",")}),!1}function togglecomment(t){var e=$(t).thing(),n=e.find(".expand:first"),r=e.hasClass("collapsed");e.toggleClass("collapsed noncollapsed"),r?n.text("[–]"):n.text("[+]")}function toggleSrQuarantine(t){var e=$(".quarantine-tool"),n=e.find(".expand:first"),r=e.hasClass("collapsed");e.toggleClass("collapsed noncollapsed"),r?n.text("[–]"):n.text("[+]")}function togglemessage(t){var e=$(t).thing(),n=e.find(".expand:first"),r=e.hasClass("collapsed");e.toggleClass("collapsed noncollapsed"),r?(n.text("[–]"),$.request("uncollapse_message",{id:$(e).thing_id()})):(n.text("[+]"),$.request("collapse_message",{id:$(e).thing_id()}))}function morechildren(t,e,n,i,o){$(t).html(r.config.status_msg.loading).css("color","red");var a={link_id:e,sort:n,children:i,depth:o,id:$(t).parents(".thing.morechildren:first").thing_id()};return $.request("morechildren",a,void 0,void 0,void 0,!0),!1}function moremessages(t){return $(t).html(r.config.status_msg.loading).css("color","red"),$.request("moremessages",{parent_id:$(t).thing_id()}),!1}function add_thing_to_cookie(t,e){var n=$(t).thing_id();if(n&&n.length)return add_thing_id_to_cookie(n,e)}function add_thing_id_to_cookie(t,e){var n=$.cookie_read(e);if(n.data||(n.data=""),n.data.substring(0,t.length)!=t){n.data=t+","+n.data;var r=n.data.split(",");r.length>5&&(r=$.uniq(r,5),n.data=r.join(",")),$.cookie_write(n)}}function clicked_items(){var t=$.cookie_read("recentclicks2");if(t&&t.data){for(var e=t.data.split(","),n=e.length-1;n>=0;n--)e[n]&&e[n].length||e.splice(n,1);return e}return[]}function clear_clicked_items(){var t=$.cookie_read("recentclicks2");t.data="",$.cookie_write(t),$(".gadget").remove()}function updateEventHandlers(t){(t=$(t)).parent();$(t).filter(".link").find("a.title, a.comments").mousedown(function(){add_thing_to_cookie(this,"recentclicks2")})}function last_click(){var t=r.analytics.breadcrumbs.lastClickFullname();t&&$("body").hasClass("listing-page")&&($(".last-clicked").removeClass("last-clicked"),$(".id-"+t).last().addClass("last-clicked"))}function login(t){return post_user(this,"login")}function register(t){return post_user(this,"register")}function fetch_title(){var t=$("#url-field"),e=t.find(".NO_URL"),n=t.find(".title-status"),i=$("#url").val();if(i){if($('form#newlink textarea[name="title"]').val()&&!confirm("This will replace your existing title, proceed?"))return;n.show().text(r.config.status_msg.loading),e.hide(),$.request("fetch_title",{url:i})}else n.hide(),e.show().text("a url is required")}function highlight_reddit(t){$("#sr-drop-down").children(".sr-selected").removeClass("sr-selected"),t&&$(t).addClass("sr-selected")}function update_dropdown(t){var e=$("#sr-drop-down");if(t.length){var n=e.children(":first");n.removeClass("sr-selected"),e.children().remove(),$.each(t,function(r){if(!(r>10)){var i=t[r],o=n.clone();o.text(i),e.append(o)}});var r=$("#sr-autocomplete").outerHeight();e.css("top",r),e.show()}else e.hide()}function select_form_tab(t,e,n){var r=$(t).parent();r.addClass("selected").siblings().removeClass("selected");var i=r.parent("ul").next(".form-content");i.find(e).show().find(":input").removeAttr("disabled").end(),i.find(n).hide().find(":input").attr("disabled",!0)}function show_edit_usertext(t){var e=t.find(".usertext-edit"),n=t.find(".usertext-body"),r=e.find("div > textarea"),i=Math.max(n.children(".md").width(),500),o=Math.max(n.children(".md").height(),100);if(n.hide(),e.show(),r.css("width",""),r.css("height",""),r.get(0).scrollHeight>r.height()){Math.max(i-5,r.width());var a=Math.max(o,r.height());r.height(a)}t.find(".cancel, .save").show().end().find(".help-toggle").show().end(),r.focus()}function hide_edit_usertext(t){t.find(".usertext-edit").hide().end().find(".usertext-body").show().end().find(".cancel, .save").hide().end().find(".help-toggle").hide().end().find(".markhelp").hide().end()}function comment_reply_for_elem(t){var e=(t=$(t)).thing(),n=t.thing_id(),r=e.find(".child .usertext:first");return r.length&&r.parent().thing_id()==e.thing_id()||(r=$(".usertext.cloneable:first").clone(!0),t.new_thing_child(r),r.prop("thing_id").value=n,r.attr("id","commentreply_"+n),r.find(".error").hide()),r}
1function edit_usertext(t){var e=$(t).thing();e.find(".edit-usertext:first").parent("li").addBack().hide(),show_edit_usertext(e.find(".usertext:first"))}function cancel_usertext(t){$(window).off("beforeunload");var e=$(t);e.thing().find(".edit-usertext:first").parent("li").addBack().show(),hide_edit_usertext(e.closest(".usertext"))}function reply(t){if(!r.access.isLinkRestricted(t)){var n=comment_reply_for_elem(t),i=n.find("textarea");if(window.getSelection&&0==i.val().length){var o=window.getSelection(),a=$(o.focusNode).parents(".md").first(),s=$(o.anchorNode).parents(".md").first();if(a.length&&a.is(s)){var u=o.toString();u.length>0&&(u=u.replace(/^/gm,"> "),i.val(u+"\n\n"),i.scrollTop(i.scrollHeight))}}return show_edit_usertext(n),n.show(),n.find(".cancel").get(0).onclick=function(){$(window).off("beforeunload"),n.hide()},$(e.target).thing().find(".showreplies:visible").click(),!1}}function toggle_distinguish_span(t){var e=$(t).parents("form")[0];$(e).children().toggle()}function set_distinguish(t,e){"yes_sticky"===e&&($(t).parents("form").first().find('input[name="sticky"]').val("true"),e="yes"),change_state(t,"distinguish/"+e),$(t).children().toggle()}function toggle_clear_suggested_sort(t){var e=$(t).parents("form")[0];$(e).children().toggle()}function set_suggested_sort(t,e){$(t).parents("form").first().find('input[name="sort"]').val(e),change_state(t,"set_suggested_sort"),$(t).children().toggle()}function populate_click_gadget(){if($(".click-gadget").length){var t=clicked_items();t&&t.length&&((t=$.uniq(t,5)).sort(),$.request("gadget/click/"+t.join(","),void 0,void 0,void 0,"json",!0))}}function fetch_parent(t,e,n){var i=$(t).thing(),o="";return $(t).css("color","red").html(r.config.status_msg.loading),$.getJSON(e,function(e){$.each(e,function(){this&&this.data.children&&$.each(this.data.children,function(){this.data.name==n&&(o=this.data.body_html)})}),o&&i.find(".md").first().before('<div class="parent rounded">'+$.unsafe(o)+"</div>"),$(t).parent("li").addBack().remove()}),!1}function big_mod_action(t,e){if(!t.hasClass("pressed")){t.addClass("pressed");var n=t.thing_id();d={id:n},t.siblings(".status-msg").hide(),-1==e?(d.spam=!1,$.request("remove",d,null,!0),t.siblings(".removed").show()):-2==e?($.request("remove",d,null,!0),t.siblings(".spammed").show()):1==e&&($.request("approve",d,null,!0),t.siblings(".approved").show())}return t.siblings(".pretty-button").removeClass("pressed"),!1}function big_mod_toggle(t,e,n){return t.toggleClass("pressed"),$.request(t.is(".pressed")?e:n,{id:t.thing_id()},null,!0),!1}function sr_cache(){return $.defined(r.config.sr_cache)?r.srAutocomplete.sr_cache=r.config.sr_cache:r.srAutocomplete.sr_cache=new Array,r.srAutocomplete.sr_cache}function sr_search(t){t=t.toLowerCase();var e=sr_cache();e[t]?update_dropdown(e[t]):$.request("search_reddit_names.json",{query:t,include_over_18:r.config.over_18},function(n){e[t]=n.names,update_dropdown(n.names)})}function sr_name_up(t){var e=$("#sr-autocomplete").val(),n=window.old_sr_name||"";window.old_sr_name=e,""==e?hide_sr_name_list():38==t.keyCode||40==t.keyCode||9==t.keyCode||(27==t.keyCode&&r.srAutocomplete.orig_sr?($("#sr-autocomplete").val(r.srAutocomplete.orig_sr),hide_sr_name_list()):e!=n&&(r.srAutocomplete.orig_sr=e,sr_search($("#sr-autocomplete").val())))}function sr_name_down(t){var e=$("#sr-autocomplete");if(38==t.keyCode||40==t.keyCode){var n=38==t.keyCode?"up":"down",i=$("#sr-drop-down .sr-selected:first"),o=$("#sr-drop-down .sr-name-row:first"),a=$("#sr-drop-down .sr-name-row:last"),s=null;return highlight_reddit(s="down"==n?i.length?i.get(0)==a.get(0)?null:i.next(":first"):o:i.length?i.get(0)==o.get(0)?null:i.prev(":first"):a),s?e.val($.trim(s.text())):e.val(r.srAutocomplete.orig_sr),!1}if(13==t.keyCode)return $("#sr-autocomplete").trigger("sr-changed"),hide_sr_name_list(),e.parents("form").submit(),!1}function hide_sr_name_list(t){$("#sr-drop-down").hide()}function sr_dropdown_mdown(t){return r.srAutocomplete.sr_mouse_row=t,!1}function sr_dropdown_mup(t){if(r.srAutocomplete.sr_mouse_row==t){var e=$(t).text();$("#sr-autocomplete").val(e),$("#sr-drop-down").hide(),$("#sr-autocomplete").trigger("sr-changed")}}
1function set_sr_name(t){var e=$(t).text();$("#sr-autocomplete").trigger("focus").val(e),$("#sr-autocomplete").trigger("sr-changed")}!function(t){for(var e=CryptoJS,n=(i=e.lib).WordArray,r=i.Hasher,i=e.algo,o=[],a=[],s=function(t){return 4294967296*(t-(0|t))|0},u=2,c=0;64>c;){var l;t:{l=u;for(var f=t.sqrt(l),h=2;h<=f;h++)if(!(l%h)){l=!1;break t}l=!0}l&&(8>c&&(o[c]=s(t.pow(u,.5))),a[c]=s(t.pow(u,1/3)),c++),u++}var d=[];i=i.SHA256=r.extend({_doReset:function(){this._hash=new n.init(o.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],s=n[3],u=n[4],c=n[5],l=n[6],f=n[7],h=0;64>h;h++){if(16>h)d[h]=0|t[e+h];else{var p=d[h-15],g=d[h-2];d[h]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+d[h-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+d[h-16]}p=f+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&l)+a[h]+d[h],g=((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+(r&i^r&o^i&o),f=l,l=c,c=u,u=s+p|0,s=o,o=i,i=r,r=p+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=r._createHelper(i),e.HmacSHA256=r._createHmacHelper(i)}(Math),function(){var t=CryptoJS,e=t.enc.Utf8;t.algo.HMAC=t.lib.Base.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=e.parse(n));var r=t.blockSize,i=4*r;n.sigBytes>i&&(n=t.finalize(n)),n.clamp();for(var o=this._oKey=n.clone(),a=this._iKey=n.clone(),s=o.words,u=a.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher;return t=e.finalize(t),e.reset(),e.finalize(this._oKey.clone().concat(t))}})}(),function(){var t=CryptoJS,e=t.lib.WordArray;t.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp(),t=[];for(var i=0;i<n;i+=3)for(var o=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;4>a&&i+.75*a<n;a++)t.push(r.charAt(o>>>6*(3-a)&63));if(e=r.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(t){var n=t.length,r=this._map;(i=r.charAt(64))&&(-1!=(i=t.indexOf(i))&&(n=i));for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r.indexOf(t.charAt(a-1))<<a%4*2,u=r.indexOf(t.charAt(a))>>>6-a%4*2;i[o>>>2]|=(s|u)<<24-o%4*8,o++}return e.create(i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){function e(t,e,n,r,i,o,a){return((t=t+(e&n|~e&r)+i+a)<<o|t>>>32-o)+e}function n(t,e,n,r,i,o,a){return((t=t+(e&r|n&~r)+i+a)<<o|t>>>32-o)+e}function r(t,e,n,r,i,o,a){return((t=t+(e^n^r)+i+a)<<o|t>>>32-o)+e}function i(t,e,n,r,i,o,a){return((t=t+(n^(e|~r))+i+a)<<o|t>>>32-o)+e}for(var o=CryptoJS,a=(u=o.lib).WordArray,s=u.Hasher,u=o.algo,c=[],l=0;64>l;l++)c[l]=4294967296*t.abs(t.sin(l+1))|0;u=u.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,o){for(var a=0;16>a;a++){var s=t[u=o+a];t[u]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}a=this._hash.words;var u=t[o+0],l=(s=t[o+1],t[o+2]),f=t[o+3],h=t[o+4],d=t[o+5],p=t[o+6],g=t[o+7],v=t[o+8],m=t[o+9],y=t[o+10],_=t[o+11],x=t[o+12],b=t[o+13],w=t[o+14],k=t[o+15],C=e(C=a[0],S=a[1],M=a[2],T=a[3],u,7,c[0]),T=e(T,C,S,M,s,12,c[1]),M=e(M,T,C,S,l,17,c[2]),S=e(S,M,T,C,f,22,c[3]);C=e(C,S,M,T,h,7,c[4]),T=e(T,C,S,M,d,12,c[5]),M=e(M,T,C,S,p,17,c[6]),S=e(S,M,T,C,g,22,c[7]),C=e(C,S,M,T,v,7,c[8]),T=e(T,C,S,M,m,12,c[9]),M=e(M,T,C,S,y,17,c[10]),S=e(S,M,T,C,_,22,c[11]),C=e(C,S,M,T,x,7,c[12]),T=e(T,C,S,M,b,12,c[13]),M=e(M,T,C,S,w,17,c[14]),C=n(C,S=e(S,M,T,C,k,22,c[15]),M,T,s,5,c[16]),T=n(T,C,S,M,p,9,c[17]),M=n(M,T,C,S,_,14,c[18]),S=n(S,M,T,C,u,20,c[19]),C=n(C,S,M,T,d,5,c[20]),T=n(T,C,S,M,y,9,c[21]),M=n(M,T,C,S,k,14,c[22]),S=n(S,M,T,C,h,20,c[23]),C=n(C,S,M,T,m,5,c[24]),T=n(T,C,S,M,w,9,c[25]),M=n(M,T,C,S,f,14,c[26]),S=n(S,M,T,C,v,20,c[27]),C=n(C,S,M,T,b,5,c[28]),T=n(T,C,S,M,l,9,c[29]),M=n(M,T,C,S,g,14,c[30]),C=r(C,S=n(S,M,T,C,x,20,c[31]),M,T,d,4,c[32]),T=r(T,C,S,M,v,11,c[33]),M=r(M,T,C,S,_,16,c[34]),S=r(S,M,T,C,w,23,c[35]),C=r(C,S,M,T,s,4,c[36]),T=r(T,C,S,M,h,11,c[37]),M=r(M,T,C,S,g,16,c[38]),S=r(S,M,T,C,y,23,c[39]),C=r(C,S,M,T,b,4,c[40]),T=r(T,C,S,M,u,11,c[41]),M=r(M,T,C,S,f,16,c[42]),S=r(S,M,T,C,p,23,c[43]),C=r(C,S,M,T,m,4,c[44]),T=r(T,C,S,M,x,11,c[45]),M=r(M,T,C,S,k,16,c[46]),C=i(C,S=r(S,M,T,C,l,23,c[47]),M,T,u,6,c[48]),T=i(T,C,S,M,g,10,c[49]),M=i(M,T,C,S,w,15,c[50]),S=i(S,M,T,C,d,21,c[51]),C=i(C,S,M,T,x,6,c[52]),T=i(T,C,S,M,f,10,c[53]),M=i(M,T,C,S,y,15,c[54]),S=i(S,M,T,C,s,21,c[55]),C=i(C,S,M,T,v,6,c[56]),T=i(T,C,S,M,k,10,c[5
vendor: 4,587 bytes, line 1
17]),M=i(M,T,C,S,p,15,c[58]),S=i(S,M,T,C,b,21,c[59]),C=i(C,S,M,T,h,6,c[60]),T=i(T,C,S,M,_,10,c[61]),M=i(M,T,C,S,l,15,c[62]),S=i(S,M,T,C,m,21,c[63]);a[0]=a[0]+C|0,a[1]=a[1]+S|0,a[2]=a[2]+M|0,a[3]=a[3]+T|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296);for(n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(n.length+1),this._process(),n=(e=this._hash).words,r=0;4>r;r++)i=n[r],n[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8);return e},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}}),o.MD5=s._createHelper(u),o.HmacMD5=s._createHmacHelper(u)}(Math),function(){var t,e=CryptoJS,n=(t=e.lib).Base,r=t.WordArray,i=(t=e.algo).EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:t.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var n=(s=this.cfg).hasher.create(),i=r.create(),o=i.words,a=s.keySize,s=s.iterations;o.length<a;){u&&n.update(u);var u=n.update(t).finalize(e);n.reset();for(var c=1;c<s;c++)u=n.finalize(u),n.reset();i.concat(u)}return i.sigBytes=4*a,i}});e.EvpKDF=function(t,e,n){return i.create(n).compute(t,e)}}(),CryptoJS.lib.Cipher||function(t){var e=(d=CryptoJS).lib,n=e.Base,r=e.WordArray,i=e.BufferedBlockAlgorithm,o=d.enc.Base64,a=d.algo.EvpKDF,s=e.Cipher=i.extend({cfg:n.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=e,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(t){return{encrypt:function(e,n,r){return("string"==typeof n?p:h).encrypt(t,e,n,r)},decrypt:function(e,n,r){return("string"==typeof n?p:h).decrypt(t,e,n,r)}}}});e.StreamCipher=s.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u=d.mode={},c=function(t,e,n){var r=this._iv;r?this._iv=void 0:r=this._prevBlock;for(var i=0;i<n;i++)t[e+i]^=r[i]},l=(e.BlockCipherMode=n.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}})).extend();l.Encryptor=l.extend({processBlock:function(t,e){var n=this._cipher,r=n.blockSize;c.call(this,t,e,r),n.encryptBlock(t,e),this._prevBlock=t.slice(e,e+r)}}),l.Decryptor=l.extend({processBlock:function(t,e){var n=this._cipher,r=n.blockSize,i=t.slice(e,e+r);n.decryptBlock(t,e),c.call(this,t,e,r),this._prevBlock=i}}),u=u.CBC=l,l=(d.pad={}).Pkcs7={pad:function(t,e){for(var n,i=(n=(n=4*e)-t.sigBytes%n)<<24|n<<16|n<<8|n,o=[],a=0;a<n;a+=4)o.push(i);n=r.create(o,n),t.concat(n)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},e.BlockCipher=s.extend({cfg:s.cfg.extend({mode:u,padding:l}),reset:function(){s.reset.call(this);var t=(e=this.cfg).iv,e=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=e.createEncryptor;else n=e.createDecryptor,this._minBufferSize=1;this._mode=n.call(e,this,t&&t.words)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else e=this._process(!0),t.unpad(e);return e},blockSize:4});var f=e.CipherParams=n.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),h=(u=(d.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext;return((t=t.salt)?r.create([1398893684,1701076831]).concat(t).concat(e):e).toString(o)},parse:function(t){var e=(t=o.parse(t)).words;if(1398893684==e[0]&&1701076831==e[1]){var n=r.create(e.slice(2,4));e.splice(0,4),t.sigBytes-=16}return f.create({ciphertext:t,salt:n})}},e.SerializableCipher=n.extend({cfg:n.extend({format:u}),encrypt:function(t,e,n,r){r=this.cfg.extend(r);var i=t.createEncryptor(n,r);return e=i.finalize(e),i=i.cfg,f.create({ciphertext:e,key:n,iv:i.iv,algorithm:t,mode:i.mode,padding:i.padding,blockSize:t.blockSize,formatter:r.format})},decrypt:function(t,e,n,r){return r=this.cfg.extend(r),e=this._parse(e,r.format),t.createDecryptor(n,r).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}})),d=(d.kdf={}
1).OpenSSL={execute:function(t,e,n,i){return i||(i=r.random(8)),t=a.create({keySize:e+n}).compute(t,i),n=r.create(t.words.slice(e),4*n),t.sigBytes=4*e,f.create({key:t,iv:n,salt:i})}},p=e.PasswordBasedCipher=h.extend({cfg:h.cfg.extend({kdf:d}),encrypt:function(t,e,n,r){return n=(r=this.cfg.extend(r)).kdf.execute(n,t.keySize,t.ivSize),r.iv=n.iv,(t=h.encrypt.call(this,t,e,n.key,r)).mixIn(n),t},decrypt:function(t,e,n,r){return r=this.cfg.extend(r),e=this._parse(e,r.format),n=r.kdf.execute(n,t.keySize,t.ivSize,e.salt),r.iv=n.iv,h.decrypt.call(this,t,e,n.key,r)}})}(),function(){for(var t=CryptoJS,e=t.lib.BlockCipher,n=t.algo,r=[],i=[],o=[],a=[],s=[],u=[],c=[],l=[],f=[],h=[],d=[],p=0;256>p;p++)d[p]=128>p?p<<1:p<<1^283;var g=0,v=0;for(p=0;256>p;p++){var m=(m=v^v<<1^v<<2^v<<3^v<<4)>>>8^255&m^99;r[g]=m,i[m]=g;var y=d[g],_=d[y],x=d[_],b=257*d[m]^16843008*m;o[g]=b<<24|b>>>8,a[g]=b<<16|b>>>16,s[g]=b<<8|b>>>24,u[g]=b,b=16843009*x^65537*_^257*y^16843008*g,c[m]=b<<24|b>>>8,l[m]=b<<16|b>>>16,f[m]=b<<8|b>>>24,h[m]=b,g?(g=y^d[d[d[x^y]]],v^=d[d[v]]):g=v=1}var w=[0,1,2,4,8,16,32,64,128,27,54];n=n.AES=e.extend({_doReset:function(){for(var t=(n=this._key).words,e=n.sigBytes/4,n=4*((this._nRounds=e+6)+1),i=this._keySchedule=[],o=0;o<n;o++)if(o<e)i[o]=t[o];else{var a=i[o-1];o%e?6<e&&4==o%e&&(a=r[a>>>24]<<24|r[a>>>16&255]<<16|r[a>>>8&255]<<8|r[255&a]):(a=r[(a=a<<8|a>>>24)>>>24]<<24|r[a>>>16&255]<<16|r[a>>>8&255]<<8|r[255&a],a^=w[o/e|0]<<24),i[o]=i[o-e]^a}for(t=this._invKeySchedule=[],e=0;e<n;e++)o=n-e,a=e%4?i[o]:i[o-4],t[e]=4>e||4>=o?a:c[r[a>>>24]]^l[r[a>>>16&255]]^f[r[a>>>8&255]]^h[r[255&a]]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,o,a,s,u,r)},decryptBlock:function(t,e){var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n,this._doCryptBlock(t,e,this._invKeySchedule,c,l,f,h,i),n=t[e+1],t[e+1]=t[e+3],t[e+3]=n},_doCryptBlock:function(t,e,n,r,i,o,a,s){for(var u=this._nRounds,c=t[e]^n[0],l=t[e+1]^n[1],f=t[e+2]^n[2],h=t[e+3]^n[3],d=4,p=1;p<u;p++){var g=r[c>>>24]^i[l>>>16&255]^o[f>>>8&255]^a[255&h]^n[d++],v=r[l>>>24]^i[f>>>16&255]^o[h>>>8&255]^a[255&c]^n[d++],m=r[f>>>24]^i[h>>>16&255]^o[c>>>8&255]^a[255&l]^n[d++];h=r[h>>>24]^i[c>>>16&255]^o[l>>>8&255]^a[255&f]^n[d++],c=g,l=v,f=m}g=(s[c>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^n[d++],v=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&c])^n[d++],m=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[c>>>8&255]<<8|s[255&l])^n[d++],h=(s[h>>>24]<<24|s[c>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^n[d++],t[e]=g,t[e+1]=v,t[e+2]=m,t[e+3]=h},keySize:8});t.AES=e._createHelper(n)}(),function(){var t=CryptoJS,e=(i=t.lib).WordArray,n=i.Hasher,r=[],i=t.algo.SHA1=n.extend({_doReset:function(){this._hash=new e.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=this._hash.words,i=n[0],o=n[1],a=n[2],s=n[3],u=n[4],c=0;80>c;c++){if(16>c)r[c]=0|t[e+c];else{var l=r[c-3]^r[c-8]^r[c-14]^r[c-16];r[c]=l<<1|l>>>31}l=(i<<5|i>>>27)+u+r[c],l=20>c?l+(1518500249+(o&a|~o&s)):40>c?l+(1859775393+(o^a^s)):60>c?l+((o&a|o&s|a&s)-1894007588):l+((o^a^s)-899497514),u=s,s=a,a=o<<30|o>>>2,o=i,i=l}n[0]=n[0]+i|0,n[1]=n[1]+o|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),e[15+(r+64>>>9<<4)]=n,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA1=n._createHelper(i),t.HmacSHA1=n._createHmacHelper(i)}(),function(){var t=CryptoJS,e=t.enc.Utf8;t.algo.HMAC=t.lib.Base.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=e.parse(n));var r=t.blockSize,i=4*r;n.sigBytes>i&&(n=t.finalize(n)),n.clamp();for(var o=this._oKey=n.clone(),a=this._iKey=n.clone(),s=o.words,u=a.words,c=0;c<r;c++)s[c]^=1549556828,u[c]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher;return t=e.finalize(t),e.reset(),e.finalize(this._oKey.clone().concat(t))}})}(),function(){var t,e=CryptoJS,n=(t=e.lib).Base,r=t.WordArray,i=(t=e.algo).HMAC,o=t.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:t.SHA1,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){var n=this.cfg,o=i.create(n.hasher,t),a=r.create(),s=r.create([1]),u=a.words,c=s.words,l=n.keySize;for(n=n.iterations;u.length<l;){var f=o.update(e).finalize(s);o.reset();for(var h=f.words,d=h.length,p=f,g=1;g<n;g++){p=o.finalize(p),o.reset();for(var v=p.words,m=0;m<d;m++)h[m]^=v[m]}a.concat(f),c[0]++}return a.sigBytes=4*l,a}});e.PBKDF2=function(t,e,n){return o.create(n).compute(t,e)}}(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.d3=t.d3||{})}(this,function(t){"use strict";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function n(t){return 1===t.length&&(t=function(t){return function(n,r){return e(t(n),r)}}(t)),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}function r(t){return null===t?NaN:+t}function i(t,e){var n,i,o=t.length,a=0,s=0,u=-1,c=0;if(null==e)for(;++u<o;)isNaN(n=r(t[u]))||(s+=(i=n-a)*(n-(a+=i/++c)));else for(;++u<o;)isNaN(n=r(e(t[u],u,t)))||(s+=(i=n-a)*(n-(a+=i/++c)));if(c>1)return s/(c-1)}function o(t,e){var n=i(t,e);return n?Math.sqrt(n):n}function a(t,e){var n,r,i,o=-1,a=t.length;if(null==e){for(;++o<a;)if(null!=(r=t[o])&&r>=r){n=i=r;break}for(;++o<a;)null!=(r=t[o])&&(n>r&&(n=r),i<r&&(i=r))}else{for(;++o<a;)if(null!=(r=e(t[o],o,t))&&r>=r){n=i=r;break}for(;++o<a;)null!=(r=e(t[o],o,t))&&(n>r&&(n=r),i<r&&(i=r))}return[n,i]}function s(t){return function(){return t}}function u(t){return t}function c(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}function l(t,e,n){var r=f(t,e,n);return c(Math.ceil(t/r)*r,Math.floor(e/r)*r+r/2,r)}function f(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Xu?i*=10:o>=Yu?i*=5:o>=Ju&&(i*=2),e<t?-i:i}function h(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function d(t,e,n){if(null==n&&(n=r),i=t.length){if((e=+e)<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,o=(i-1)*e,a=Math.floor(o),s=+n(t[a],a,t);return s+(+n(t[a+1],a+1,t)-s)*(o-a)}}function p(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n}function g(t,e){var n,r,i=-1,o=t.length;if(null==e){for(;++i<o;)if(null!=(r=t[i])&&r>=r){n=r;break}for(;++i<o;)null!=(r=t[i])&&n>r&&(n=r)}else{for(;++i<o;)if(null!=(r=e(t[i],i,t))&&r>=r){n=r;break}for(;++i<o;)null!=(r=e(t[i],i,t))&&n>r&&(n=r)}return n}function v(t){if(!(i=t.length))return[];for(var e=-1,n=g(t,m),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r}function m(t){return t.length}function y(){}function _(t,e){var n=new y;if(t instanceof y)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}function x(){return{}}function b(t,e,n){t[e]=n}function w(){return _()}function k(t,e,n){t.set(e,n)}function C(){}function T(t,e){var n=new C;if(t instanceof C)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}function M(t,e){var n,r;return t=null==t?0:+t,e=null==e?1:+e,function(){var i;if(null!=n)i=n,n=null;else do{n=2*Math.random()-1,i=2*Math.random()-1,r=n*n+i*i}while(!r||r>1);return t+e*i*Math.sqrt(-2*Math.log(r)/r)}}function S(t){return function(){for(var e=0,n=0;n<t;++n)e+=Math.random();return e}}function E(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function A(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function N(t){return(1-Math.cos(tc*t))/2}function D(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function O(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function j(t){return(t=+t)<nc?fc*t*t:t<ic?fc*(t-=rc)*t+oc:t<sc?fc*(t-=ac)*t+uc:fc*(t-=cc)*t+lc}function L(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function P(t,e){return t[0]-e[0]||t[1]-e[1]}function R(t){for(var e=t.length,n=[0,1],r=2,i=2;i<e;++i){for(;r>1&&L(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function I(){this._x0=this._y0=this._x1=this._y1=null,this._=[]}function B(){return new I}function q(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,s,u,c,l,f,h,d=t._root,p={data:r},g=t._x0,v=t._y0,m=t._x1,y=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((c=e>=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(v+y)/2))?v=a:y=a,i=d,!(d=d[f=l<<1|c]))return i[f]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&n===u)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+m)/2))?g=o:m=o,(l=n>=(a=(v+y)/2))?v=a:y=a}while((f=l<<1|c)==(h=(u>=a)<<1|s>=o));return i[h]=d,i[f]=p,t}function F(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function z(t){return t[0]}function U(t){return t[1]}function H(t,e,n){var r=new W(null==e?z:e,null==n?U:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function W(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function X(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}function Y(t){if(!(t>=1))throw new Error;this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function J(t){if(!t._start)try{!function(t){for(;t._start=t._waiting&&t._active<t._size;){var e=t._ended+t._active,n=t._tasks[e],r=n.length-1,i=n[r];n[r]=V(t,e),--t._waiting,++t._active,n=i.apply(null,n),t._tasks[e]&&(t._tasks[e]=n||Mc)}}(t)}catch(e){t._tasks[t._ended+t._active-1]&&G(t,e)}}function V(t,e){return function(n,r){t._tasks[e]&&(--t._active,++t._ended,t._tasks[e]=null,null==t._error&&(null!=n?G(t,n):(t._data[e]=r,t._waiting?J(t):Q(t))))}}function G(t,e){var n,r=t._tasks.length;for(t._error=e,t._data=void 0,t._waiting=NaN;--r>=0;)if((n=t._tasks[r])&&(t._tasks[r]=null,n.abort))try{n.abort()}catch(t){}t._active=NaN,Q(t)}function Q(t){!t._active&&t._call&&t._call(t._error,t._data)}function K(t){return new Y(arguments.length?+t:1/0)}function Z(t){return function(){return t}}function tt(t){return t.innerRadius}function et(t){return t.outerRadius}function nt(t){return t.startAngle}function rt(t){return t.endAngle}function it(t){return t&&t.padAngle}function ot(t){return t>=1?Ac:t<=-1?-Ac:Math.asin(t)}function at(t,e,n,r,i,o,a){var s=t-n,u=e-r,c=(a?o:-o)/Math.sqrt(s*s+u*u),l=c*u,f=-c*s,h=t+l,d=e+f,p=n+l,g=r+f,v=(h+p)/2,m=(d+g)/2,y=p-h,_=g-d,x=y*y+_*_,b=i-o,w=h*g-p*d,k=(_<0?-1:1)*Math.sqrt(Math.max(0,b*b*x-w*w)),C=(w*_-y*k)/x,T=(-w*y-_*k)/x,M=(w*_+y*k)/x,S=(-w*y+_*k)/x,E=C-v,A=T-m,N=M-v,D=S-m;return E*E+A*A>N*N+D*D&&(C=M,T=S),{cx:C,cy:T,x01:-l,y01:-f,x11:C*(i/b-1),y11:T*(i/b-1)}}function st(t){this._context=t}function ut(t){return new st(t)}function ct(t){return t[0]}function lt(t){return t[1]}function ft(){function t(t){var s,u,c,l=t.length,f=!1;for(null==i&&(a=o(c=B())),s=0;s<=l;++s)!(s<l&&r(u=t[s],s,t))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+e(u,s,t),+n(u,s,t));if(c)return a=null,c+""||null}var e=ct,n=lt,r=Z(!0),i=null,o=ut,a=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Z(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Z(+e),t):n},t.defined=function(e){return arguments.length?(r="function"==typeof e?e:Z(!!e),t):r},t.curve=function(e){return arguments.length?(o=e,null!=i&&(a=o(i)),t):o},t.context=function(e){return arguments.length?(null==e?i=a=null:a=o(i=e),t):i},t}function ht(){function t(t){var e,l,f,h,d,p=t.length,g=!1,v=new Array(p),m=new Array(p);for(null==s&&(c=u(d=B())),e=0;e<=p;++e){if(!(e<p&&a(h=t[e],e,t))===g)if(g=!g)l=e,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=e-1;f>=l;--f)c.point(v[f],m[f]);c.lineEnd(),c.areaEnd()}g&&(v[e]=+n(h,e,t),m[e]=+i(h,e,t),c.point(r?+r(h,e,t):v[e],o?+o(h,e,t):m[e]))}if(d)return c=null,d+""||null}function e(){return ft().defined(a).curve(u).context(s)}var n=ct,r=null,i=Z(0),o=lt,a=Z(!0),s=null,u=ut,c=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:Z(+e),r=null,t):n},t.x0=function(e){return arguments.length?(n="function"==typeof e?e:Z(+e),t):n},t.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Z(+e),t):r},t.y=function(e){return arguments.length?(i="function"==typeof e?e:Z(+e),o=null,t):i},t.y0=function(e){return arguments.length?(i="function"==typeof e?e:Z(+e),t):i},t.y1=function(e){return arguments.length?(o=null==e?null:"function"==typeof e?e:Z(+e),t):o},t.lineX0=t.lineY0=function(){return e().x(n).y(i)},t.lineY1=function(){return e().x(n).y(o)},t.lineX1=function(){return e().x(r).y(i)},t.defined=function(e){return arguments.length?(a="function"==typeof e?e:Z(!!e),t):a},t.curve=function(e){return arguments.length?(u=e,null!=s&&(c=u(s)),t):u},t.context=function(e){return arguments.length?(null==e?s=c=null:c=u(s=e),t):s},t}function dt(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function pt(t){return t}function gt(t){this._curve=t}function vt(t){function e(e){return new gt(t(e))}return e._curve=t,e}function mt(t){var e=t.curve;
vendor: 4,834 bytes, line 1
1return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(vt(t)):e()._curve},t}function yt(){}function _t(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function xt(t){this._context=t}function bt(t){this._context=t}function wt(t){this._context=t}function kt(t,e){this._basis=new xt(t),this._beta=e}function Ct(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Tt(t,e){this._context=t,this._k=(1-e)/6}function Mt(t,e){this._context=t,this._k=(1-e)/6}function St(t,e){this._context=t,this._k=(1-e)/6}function Et(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Sc){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>Sc){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function At(t,e){this._context=t,this._alpha=e}function Nt(t,e){this._context=t,this._alpha=e}function $t(t,e){this._context=t,this._alpha=e}function Dt(t){this._context=t}function Ot(t){return t<0?-1:1}function jt(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Ot(o)+Ot(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Lt(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Pt(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function Rt(t){this._context=t}function It(t){this._context=new Bt(t)}function Bt(t){this._context=t}function qt(t){this._context=t}function Ft(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function zt(t,e){this._context=t,this._t=e}function Ut(t,e){if((r=t.length)>1)for(var n,r,i=1,o=t[e[0]],a=o.length;i<r;++i){n=o,o=t[e[i]];for(var s=0;s<a;++s)o[s][1]+=o[s][0]=isNaN(n[s][1])?n[s][0]:n[s][1]}}function Ht(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Wt(t,e){return t[e]}function Xt(t){var e=t.map(Yt);return Ht(t).sort(function(t,n){return e[t]-e[n]})}function Yt(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}function Jt(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Vt(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Gt(){}function Qt(t){var e;return t=(t+"").trim().toLowerCase(),(e=ol.exec(t))?new ne((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=al.exec(t))?Kt(parseInt(e[1],16)):(e=sl.exec(t))?new ne(e[1],e[2],e[3],1):(e=ul.exec(t))?new ne(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=cl.exec(t))?Zt(e[1],e[2],e[3],e[4]):(e=ll.exec(t))?Zt(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=fl.exec(t))?re(e[1],e[2]/100,e[3]/100,1):(e=hl.exec(t))?re(e[1],e[2]/100,e[3]/100,e[4]):dl.hasOwnProperty(t)?Kt(dl[t]):"transparent"===t?new ne(NaN,NaN,NaN,0):null}function Kt(t){return new ne(t>>16&255,t>>8&255,255&t,1)}function Zt(t,e,n,r){return r<=0&&(t=e=n=NaN),new ne(t,e,n,r)}function te(t){return t instanceof Gt||(t=Qt(t)),t?new ne((t=t.rgb()).r,t.g,t.b,t.opacity):new ne}function ee(t,e,n,r){return 1===arguments.length?te(t):new ne(t,e,n,null==r?1:r)}function ne(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function re(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new oe(t,e,n,r)}function ie(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof oe)return new oe(t.h,t.s,t.l,t.opacity);if(t instanceof Gt||(t=Qt(t)),!t)return new oe;if(t instanceof oe)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new oe(a,s,u,t.opacity)}(t):new oe(t,e,n,null==r?1:r)}function oe(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function ae(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function se(t){if(t instanceof ce)return new ce(t.l,t.a,t.b,t.opacity);if(t instanceof ge){var e=t.h*pl;return new ce(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof ne||(t=te(t));var n=de(t.r),r=de(t.g),i=de(t.b),o=le((.4124564*n+.3575761*r+.1804375*i)/vl),a=le((.2126729*n+.71
vendor: 4,131 bytes, line 1
151522*r+.072175*i)/ml);return new ce(116*a-16,500*(o-a),200*(a-le((.0193339*n+.119192*r+.9503041*i)/yl)),t.opacity)}function ue(t,e,n,r){return 1===arguments.length?se(t):new ce(t,e,n,null==r?1:r)}function ce(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function le(t){return t>wl?Math.pow(t,1/3):t/bl+_l}function fe(t){return t>xl?t*t*t:bl*(t-_l)}function he(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function de(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function pe(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof ge)return new ge(t.h,t.c,t.l,t.opacity);t instanceof ce||(t=se(t));var e=Math.atan2(t.b,t.a)*gl;return new ge(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ge(t,e,n,null==r?1:r)}function ge(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function ve(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof me)return new me(t.h,t.s,t.l,t.opacity);t instanceof ne||(t=te(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Al*r+Sl*e-El*n)/(Al+Sl-El),o=r-i,a=(Ml*(n-i)-Cl*o)/Tl,s=Math.sqrt(a*a+o*o)/(Ml*i*(1-i)),u=s?Math.atan2(a,o)*gl-120:NaN;return new me(u<0?u+360:u,s,i,t.opacity)}(t):new me(t,e,n,null==r?1:r)}function me(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function ye(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}function _e(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return ye((n-r/e)*e,a,i,o,s)}}function xe(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return ye((n-r/e)*e,i,o,a,s)}}function be(t){return function(){return t}}function we(t,e){return function(n){return t+n*e}}function ke(t,e){var n=e-t;return n?we(t,n>180||n<-180?n-360*Math.round(n/360):n):be(isNaN(t)?e:t)}function Ce(t){return 1==(t=+t)?Te:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):be(isNaN(e)?n:e)}}function Te(t,e){var n=e-t;return n?we(t,n):be(isNaN(t)?e:t)}function Me(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=ee(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}function Se(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),a=new Array(r);for(n=0;n<i;++n)o[n]=De(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Ee(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}}function Ae(t,e){return e-=t=+t,function(n){return t+e*n}}function Ne(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=De(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}function $e(t,e){var n,r,i,o=Rl.lastIndex=Il.lastIndex=0,a=-1,s=[],u=[];for(t+="",e+="";(n=Rl.exec(t))&&(r=Il.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Ae(n,r)})),o=Il.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var n,r=0;r<e;++r)s[(n=u[r]).i]=n.x(t);return s.join("")})}function De(t,e){var n,r=typeof e;return null==e||"boolean"===r?be(e):("number"===r?Ae:"string"===r?(n=Qt(e))?(e=n,jl):$e:e instanceof Qt?jl:e instanceof Date?Ee:Array.isArray(e)?Se:isNaN(e)?Ne:Ae)(t,e)}function Oe(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}}function je(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r<e*n&&(t=-t,e=-e,u=-u,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Bl,skewX:Math.atan(u)*Bl,scaleX:a,scaleY:s}}function Le(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}
1function o(t,r,i,o,a,s){if(t!==i||r!==o){var u=a.push("translate(",null,e,null,n);s.push({i:u-4,x:Ae(t,i)},{i:u-2,x:Ae(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}function a(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Ae(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function s(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Ae(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function u(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Ae(t,n)},{i:s-2,x:Ae(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,i),a(e.rotate,n.rotate,r,i),s(e.skewX,n.skewX,r,i),u(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){for(var e,n=-1,o=i.length;++n<o;)r[(e=i[n]).i]=e.x(t);return r.join("")}}}function Pe(t){return((t=Math.exp(t))+1/t)/2}function Re(t,e){var n,r,i=t[0],o=t[1],a=t[2],s=e[0],u=e[1],c=e[2],l=s-i,f=u-o,h=l*l+f*f;if(h<Xl)r=Math.log(c/a)/Ul,n=function(t){return[i+t*l,o+t*f,a*Math.exp(Ul*t*r)]};else{var d=Math.sqrt(h),p=(c*c-a*a+Wl*h)/(2*a*Hl*d),g=(c*c-a*a-Wl*h)/(2*c*Hl*d),v=Math.log(Math.sqrt(p*p+1)-p),m=Math.log(Math.sqrt(g*g+1)-g);r=(m-v)/Ul,n=function(t){var e=t*r,n=Pe(v),s=a/(Hl*d)*(n*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(Ul*e+v)-function(t){return((t=Math.exp(t))-1/t)/2}(v));return[i+s*l,o+s*f,a*n/Pe(Ul*e+v)]}}return n.duration=1e3*r,n}function Ie(t){return function(e,n){var r=t((e=ie(e)).h,(n=ie(n)).h),i=Te(e.s,n.s),o=Te(e.l,n.l),a=Te(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}function Be(t){return function(e,n){var r=t((e=pe(e)).h,(n=pe(n)).h),i=Te(e.c,n.c),o=Te(e.l,n.l),a=Te(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}function qe(t){return function e(n){function r(e,r){var i=t((e=ve(e)).h,(r=ve(r)).h),o=Te(e.s,r.s),a=Te(e.l,r.l),s=Te(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}function Fe(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ze(r)}function ze(t){this._=t}function Ue(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function He(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Zl,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}function We(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}function Xe(t){function e(t,e){function n(){if(l>=c)return s;if(i)return i=!1,a;var e,n=l;if(34===t.charCodeAt(n)){for(var r=n;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return l=r+2,13===(e=t.charCodeAt(r+1))?(i=!0,10===t.charCodeAt(r+2)&&++l):10===e&&(i=!0),t.slice(n+1,r).replace(/""/g,'"')}for(;l<c;){var u=1;if(10===(e=t.charCodeAt(l++)))i=!0;else if(13===e)i=!0,10===t.charCodeAt(l)&&(++l,++u);else if(e!==o)continue;return t.slice(n,l-u)}return t.slice(n)}for(var r,i,a={},s={},u=[],c=t.length,l=0,f=0;(r=n())!==s;){for(var h=[];r!==a&&r!==s;)h.push(r),r=n();e&&null==(h=e(h,f++))||u.push(h)}return u}function n(e){return e.map(r).join(t)}function r(t){return null==t?"":i.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var i=new RegExp('["'+t+"\n]"),o=t.charCodeAt(0);return{parse:function(t,n){var r,i,o=e(t,function(t,e){return r?r(t,e-1):(i=t,void(r=n?function(t,e){var n=We(t);return function(r,i){return e(n(r),i,t)}}(t,n):We(t)))});return o.columns=i,o},parseRows:e,format:function(e,n){return null==n&&(n=function(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}(e)),[n.map(r).join(t)].concat(e.map(function(e){return n.map(function(t){return r(e[t])}).join(t)})).join("\n")},formatRows:function(t){return t.map(n).join("\n")}}}function Ye(t,e){function n(t){var e,n=c.status;if(!n&&function(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}(c)||n>=200&&n<300||304===n){if(o)try{e=o.call(r,c)}catch(t){return void s.call("error",r,t)}else e=c;s.call("load",r,e)}else s.call("error",r,t)}var r,i,o,a,s=Fe("beforesend","progress","load","error"),u=_(),c=new XMLHttpRequest,l=null,f=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(t)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=n:c.onreadystatechange=function(t){c.readyState>3&&n(t)},c.onprogress=function(t){s.call("progress",r,t)},r={header:function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?u.get(t):(null==e?u.remove(t):u.set(t,e+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},password:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,e){return r.send("GET",t,e)},post:function(t,e){return r.send("POST",t,e)},send:function(e,n,o){return c.open(e,t,!0,l,f),null==i||u.has("accept")||u.set("accept",i+",*/*"),c.setRequestHeader&&u.each(function(t,e){c.setRequestHeader(e,t)}),null!=i&&c.overrideMimeType&&c.overrideMimeType(i),null!=a&&(c.responseType=a),h>0&&(c.timeout=h),null==o&&"function"==typeof n&&(o=n,n=null),null!=o&&1===o.length&&(o=function(t){return function(e,n){t(null==e?n:null)}}(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),s.call("beforesend",r,c),c.send(null==n?null:n),r},abort:function(){return c.abort(),r},on:function(){var t=s.on.apply(s,arguments);return t===s?r:t}},null!=e){if("function"!=typeof e)throw new Error("invalid callback: "+e);return r.get(e)}return r}function Je(t,e){return function(n,r){var i=Ye(n).mimeType(t).response(e);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}}function Ve(t,e){return function(n,r,i){arguments.length<3&&(i=r,r=null);var o=Ye(n).mimeType(t);return o.row=function(t){return arguments.length?o.response(function(t,e){return function(n){return t(n.responseText,e)}}(e,r=t)):r},o.row(r),i?o.get(i):o}}function Ge(){return Cf||(Sf(Qe),Cf=Mf.now()+Tf)}function Qe(){Cf=0}function Ke(){this._call=this._time=this._next=null}function Ze(t,e,n){var r=new Ke;return r.restart(t,e,n),r}function tn(){Ge(),++_f;for(var t,e=tf;e;)(t=Cf-e._time)>=0&&e._call.call(null,t),e=e._next;--_f}function en(t){Cf=(kf=t||Mf.now())+Tf,_f=xf=0;try{tn()}finally{_f=0,function(){for(var t,e,n=tf,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:tf=e);ef=t,rn(r)}(),Cf=0}}function nn(){var t=Mf.now(),e=t-kf;e>wf&&(Tf-=e,kf=t)}function rn(t){if(!_f){xf&&(xf=clearTimeout(xf));var e=t-Cf;e>24?(t<1/0&&(xf=setTimeout(en,e)),bf&&(bf=clearInterval(bf))):(bf||(bf=setInterval(nn,wf)),_f=1,Sf(en))}}function on(t,e,n){var r=new Ke;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r}function an(t,e,n,r){function i(e){return t(e=new Date(+e)),e}return i.floor=i,i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(new Date(+n))}while(e(n,o),t(n),n<r);return a},i.filter=function(n){return an(function(e){for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Ef.setTime(+e),Af.setTime(+r),t(Ef),t(Af),Math.floor(n(Ef,Af))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function sn(t){return an(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Df)/jf})}function un(t){return an(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/jf})}function cn(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function ln(t){return(t=cn(Math.abs(t)))?t[1]:NaN}function fn(t,e){var n=cn(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}function hn(t){return new dn(t)}function dn(t){if(!(e=Oh.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",i=e[3]||"-",o=e[4]||"",a=!!e[5],s=e[6]&&+e[6],u=!!e[7],c=e[8]&&+e[8].slice(1),l=e[9]||"";"n"===l?(u=!0,l="g"):Dh[l]||(l=""),(a||"0"===n&&"="===r)&&(a=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=s,this.comma=u,this.precision=c,this.type=l}function pn(t){return t}function gn(t){function e(t){function e(t){var e,r,u,y=p,_=g;if("c"===d)_=v(t)+_,t="";else{var x=((t=+t)<0||1/t<0)&&(t*=-1,!0);if(t=v(t,h),x)for(e=-1,r=t.length,x=!1;++e<r;)if(48<(u=t.charCodeAt(e))&&u<58||"x"===d&&96<u&&u<103||"X"===d&&64<u&&u<71){x=!0;break}if(y=(x?"("===s?s:"-":"-"===s||"("===s?"":s)+y,_=_+("s"===d?Lh[8+Nh/3]:"")+(x&&"("===s?")":""),m)for(e=-1,r=t.length;++e<r;)if(48>(u=t.charCodeAt(e))||u>57){_=(46===u?i+t.slice(e+1):t.slice(e))+_,t=t.slice(0,e);break}}f&&!c&&(t=n(t,1/0));var b=y.length+t.length+_.length,w=b<l?new Array(l-b+1).join(o):"";switch(f&&c&&(t=n(w+t,w.length?l-_.length:1/0),w=""),a){case"<":return y+t+_+w;case"=":return y+w+t+_;case"^":return w.slice(0,b=w.length>>1)+y+t+_+w.slice(b)}return w+y+t+_}var o=(t=hn(t)).fill,a=t.align,s=t.sign,u=t.symbol,c=t.zero,l=t.width,f=t.comma,h=t.precision,d=t.type,p="$"===u?r[0]:"#"
1===u&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",g="$"===u?r[1]:/[%p]/.test(d)?"%":"",v=Dh[d],m=!d||/[defgprs%]/.test(d);return h=null==h?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),e.toString=function(){return t+""},e}var n=t.grouping&&t.thousands?function(t,e){return function(n,r){for(var i=n.length,o=[],a=0,s=t[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(n.substring(i-=s,i+s)),!((u+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(e)}}(t.grouping,t.thousands):pn,r=t.currency,i=t.decimal;return{format:e,formatPrefix:function(t,n){var r=e(((t=hn(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(ln(n)/3))),o=Math.pow(10,-i),a=Lh[8+i/3];return function(t){return r(o*t)+a}}}}function vn(e){return jh=gn(e),t.format=jh.format,t.formatPrefix=jh.formatPrefix,jh}function mn(t){return Math.max(0,-ln(Math.abs(t)))}function yn(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ln(e)/3)))-ln(Math.abs(t)))}function _n(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ln(e)-ln(t))+1}function xn(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function bn(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function wn(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function kn(t){function e(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(i=Rh[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function n(t,e){return function(n){var i=wn(1900);if(r(i,t,n+="",0)!=n.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var o="Z"in i?bn(wn(i.y)).getUTCDay():e(wn(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,bn(i)):e(i)}}function r(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a<s;){if(r>=u)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=C[i in Rh?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}var i=t.dateTime,o=t.date,a=t.time,s=t.periods,u=t.days,c=t.shortDays,l=t.months,f=t.shortMonths,h=Mn(s),d=Sn(s),p=Mn(u),g=Sn(u),v=Mn(c),m=Sn(c),y=Mn(l),_=Sn(l),x=Mn(f),b=Sn(f),w={a:function(t){return c[t.getDay()]},A:function(t){return u[t.getDay()]},b:function(t){return f[t.getMonth()]},B:function(t){return l[t.getMonth()]},c:null,d:zn,e:zn,H:Un,I:Hn,j:Wn,L:Xn,m:Yn,M:Jn,p:function(t){return s[+(t.getHours()>=12)]},S:Vn,U:Gn,w:Qn,W:Kn,x:null,X:null,y:Zn,Y:tr,Z:er,"%":vr},k={a:function(t){return c[t.getUTCDay()]},A:function(t){return u[t.getUTCDay()]},b:function(t){return f[t.getUTCMonth()]},B:function(t){return l[t.getUTCMonth()]},c:null,d:nr,e:nr,H:rr,I:ir,j:or,L:ar,m:sr,M:ur,p:function(t){return s[+(t.getUTCHours()>=12)]},S:cr,U:lr,w:fr,W:hr,x:null,X:null,y:dr,Y:pr,Z:gr,"%":vr},C={a:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.w=m[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=g[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=x.exec(e.slice(n));return r?(t.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=_[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,e,n){return r(t,i,e,n)},d:Ln,e:Ln,H:Rn,I:Rn,j:Pn,L:qn,m:jn,M:In,p:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.p=d[r[0].toLowerCase()],n+r[0].length):-1},S:Bn,U:An,w:En,W:Nn,x:function(t,e,n){return r(t,o,e,n)},X:function(t,e,n){return r(t,a,e,n)},y:Dn,Y:$n,Z:On,"%":Fn};return w.x=e(o,w),w.X=e(a,w),w.c=e(i,w),k.x=e(o,k),k.X=e(a,k),k.c=e(i,k),{format:function(t){var n=e(t+="",w);return n.toString=function(){return t},n},parse:function(t){var e=n(t+="",xn);return e.toString=function(){return t},e},utcFormat:function(t){var n=e(t+="",k);return n.toString=function(){return t},n},utcParse:function(t){var e=n(t,bn);return e.toString=function(){return t},e}}}function Cn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function Tn(t){return t.replace(qh,"\\$&")}function Mn(t){return new RegExp("^(?:"+t.map(Tn).join("|")+")","i")}function Sn(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function En(t,e,n){var r=Ih.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function An(t,e,n){var r=Ih.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function Nn(t,e,n){var r=Ih.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function $n(t,e,n){var r=Ih.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Dn(t,e,n){var r=Ih.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}
1function On(t,e,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function jn(t,e,n){var r=Ih.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ln(t,e,n){var r=Ih.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Pn(t,e,n){var r=Ih.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Rn(t,e,n){var r=Ih.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function In(t,e,n){var r=Ih.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Bn(t,e,n){var r=Ih.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function qn(t,e,n){var r=Ih.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Fn(t,e,n){var r=Bh.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function zn(t,e){return Cn(t.getDate(),e,2)}function Un(t,e){return Cn(t.getHours(),e,2)}function Hn(t,e){return Cn(t.getHours()%12||12,e,2)}function Wn(t,e){return Cn(1+Ff.count(oh(t),t),e,3)}function Xn(t,e){return Cn(t.getMilliseconds(),e,3)}function Yn(t,e){return Cn(t.getMonth()+1,e,2)}function Jn(t,e){return Cn(t.getMinutes(),e,2)}function Vn(t,e){return Cn(t.getSeconds(),e,2)}function Gn(t,e){return Cn(Uf.count(oh(t),t),e,2)}function Qn(t){return t.getDay()}function Kn(t,e){return Cn(Hf.count(oh(t),t),e,2)}function Zn(t,e){return Cn(t.getFullYear()%100,e,2)}function tr(t,e){return Cn(t.getFullYear()%1e4,e,4)}function er(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Cn(e/60|0,"0",2)+Cn(e%60,"0",2)}function nr(t,e){return Cn(t.getUTCDate(),e,2)}function rr(t,e){return Cn(t.getUTCHours(),e,2)}function ir(t,e){return Cn(t.getUTCHours()%12||12,e,2)}function or(t,e){return Cn(1+fh.count(Ah(t),t),e,3)}function ar(t,e){return Cn(t.getUTCMilliseconds(),e,3)}function sr(t,e){return Cn(t.getUTCMonth()+1,e,2)}function ur(t,e){return Cn(t.getUTCMinutes(),e,2)}function cr(t,e){return Cn(t.getUTCSeconds(),e,2)}function lr(t,e){return Cn(dh.count(Ah(t),t),e,2)}function fr(t){return t.getUTCDay()}function hr(t,e){return Cn(ph.count(Ah(t),t),e,2)}function dr(t,e){return Cn(t.getUTCFullYear()%100,e,2)}function pr(t,e){return Cn(t.getUTCFullYear()%1e4,e,4)}function gr(){return"+0000"}function vr(){return"%"}function mr(e){return Ph=kn(e),t.timeFormat=Ph.format,t.timeParse=Ph.parse,t.utcFormat=Ph.utcFormat,t.utcParse=Ph.utcParse,Ph}function yr(t){function e(e){var o=e+"",a=n.get(o);if(!a){if(i!==Yh)return i;n.set(o,a=r.push(e))}return t[(a-1)%t.length]}var n=_(),r=[],i=Yh;return t=null==t?[]:Xh.call(t),e.domain=function(t){if(!arguments.length)return r.slice();r=[],n=_();for(var i,o,a=-1,s=t.length;++a<s;)n.has(o=(i=t[a])+"")||n.set(o,r.push(i));return e},e.range=function(n){return arguments.length?(t=Xh.call(n),e):t.slice()},e.unknown=function(t){return arguments.length?(i=t,e):i},e.copy=function(){return yr().domain(r).range(t).unknown(i)},e}function _r(){function t(){var t=i().length,r=a[1]<a[0],h=a[r-0],d=a[1-r];e=(d-h)/Math.max(1,t-u+2*l),s&&(e=Math.floor(e)),h+=(d-h-e*(t-u))*f,n=e*(1-u),s&&(h=Math.round(h),n=Math.round(n));var p=c(t).map(function(t){return h+e*t});return o(r?p.reverse():p)}var e,n,r=yr().unknown(void 0),i=r.domain,o=r.range,a=[0,1],s=!1,u=0,l=0,f=.5;return delete r.unknown,r.domain=function(e){return arguments.length?(i(e),t()):i()}
1,r.range=function(e){return arguments.length?(a=[+e[0],+e[1]],t()):a.slice()},r.rangeRound=function(e){return a=[+e[0],+e[1]],s=!0,t()},r.bandwidth=function(){return n},r.step=function(){return e},r.round=function(e){return arguments.length?(s=!!e,t()):s},r.padding=function(e){return arguments.length?(u=l=Math.max(0,Math.min(1,e)),t()):u},r.paddingInner=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),t()):u},r.paddingOuter=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),t()):l},r.align=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),t()):f},r.copy=function(){return _r().domain(i()).range(a).round(s).paddingInner(u).paddingOuter(l).align(f)},t()}function xr(t){return function(){return t}}function br(t){return+t}function wr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:xr(e)}function kr(t,e,n,r){var i=t[0],o=t[1],a=e[0],s=e[1];return o<i?(i=n(o,i),a=r(s,a)):(i=n(i,o),a=r(a,s)),function(t){return a(i(t))}}function Cr(t,e,n,r){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)o[s]=n(t[s],t[s+1]),a[s]=r(e[s],e[s+1]);return function(e){var n=Fu(t,e,1,i)-1;return a[n](o[n](e))}}function Tr(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Mr(t,e){function n(){return i=Math.min(s.length,u.length)>2?Cr:kr,o=a=null,r}function r(e){return(o||(o=i(s,u,l?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}(t):t,c)))(+e)}var i,o,a,s=Jh,u=Jh,c=De,l=!1;return r.invert=function(t){return(a||(a=i(u,s,wr,l?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}(e):e)))(+t)},r.domain=function(t){return arguments.length?(s=Wh.call(t,br),n()):s.slice()},r.range=function(t){return arguments.length?(u=Xh.call(t),n()):u.slice()},r.rangeRound=function(t){return u=Xh.call(t),c=Oe,n()},r.clamp=function(t){return arguments.length?(l=!!t,n()):l},r.interpolate=function(t){return arguments.length?(c=t,n()):c},n()}function Sr(e,n,r){var i,o=e[0],a=e[e.length-1],s=f(o,a,null==n?10:n);switch((r=hn(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(a));return null!=r.precision||isNaN(i=yn(s,u))||(r.precision=i),t.formatPrefix(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=_n(s,Math.max(Math.abs(o),Math.abs(a))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=mn(s))||(r.precision=i-2*("%"===r.type))}return t.format(r)}function Er(t){var e=t.domain;return t.ticks=function(t){var n=e();return l(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return Sr(e(),t,n)},t.nice=function(n){var r=e(),i=r.length-1,o=null==n?10:n,a=r[0],s=r[i],u=f(a,s,o);return u&&(u=f(Math.floor(a/u)*u,Math.ceil(s/u)*u,o),r[0]=Math.floor(a/u)*u,r[i]=Math.ceil(s/u)*u,e(r)),t},t}function Ar(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function Nr(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:xr(e)}function $r(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function Dr(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Or(t){return 10===t?Dr:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function jr(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function Lr(t){return function(e){return-t(-e)}}function Pr(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function Rr(){var t=1,e=Mr(function(e,n){return(n=Pr(n,t)-(e=Pr(e,t)))?function(r){return(Pr(r,t)-e)/n}:xr(n)},function(e,n){return n=Pr(n,t)-(e=Pr(e,t)),function(r){return Pr(e+n*r,1/t)}}),n=e.domain;return e.exponent=function(e){return arguments.length?(t=+e,n(n())):t},e.copy=function(){return Tr(e,Rr().exponent(t))},Er(e)}function Ir(t){return new Date(t)}function Br(t){return t instanceof Date?+t:+new Date(+t)}function qr(t,e,r,i,o,a,s,u,c){function l(n){return(s(n)<n?v:a(n)<n?m:o(n)<n?y:i(n)<n?_:e(n)<n?r(n)<n?x:b:t(n)<n?w:k)(n)}function h(e,r,i,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(i-r)/e,s=n(function(t){return t[2]}).right(C,a);s===C.length?(o=f(r/ed,i/ed,e),e=t):s?(o=(s=C[a/C[s-1][2]<C[s][2]/a?s-1:s])[1],e=s[0]):(o=f(r,i,e),e=u)}return null==o?e:e.every(o)}var d=Mr(wr,Ae),p=d.invert,g=d.domain,v=c(".%L"),m=c(":%S"),y=c("%I:%M"),_=c("%I %p"),x=c("%a %d"),b=c("%b %d"),w=c("%B"),k=c("%Y"),C=[[s,1,Vh],[s,5,5*Vh],[s,15,15*Vh],[s,30,30*Vh],[a,1,Gh],[a,5,5*Gh],[a,15,15*Gh],[a,30,30*Gh],[o,1,Qh],[o,3,3*Qh],[o,6,6*Qh],[o,12,12*Qh],[i,1,Kh],[i,2,2*Kh],[r,1,Zh],[e,1,td],[e,3,3*td],[t,1,ed]];return d.invert=function(t){return new Date(p(t))},d.domain=function(t){return arguments.length?g(Wh.call(t,Br)):g().map(Ir)},d.ticks=function(t,e){var n,r=g(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=(n=h(t,i,o,e))?n.range(i,o+1):[],a?n.reverse():n},d.tickFormat=function(t,e){return null==e?l:c(e)},d.nice=function(t,e){var n=g();return(t=h(t,n[0],n[n.length-1],e))?g(Ar(n,t)):d},d.copy=function(){return Tr(d,qr(t,e,r,i,o,a,s,u,c))},d}function Fr(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}function zr(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function Ur(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),gd.hasOwnProperty(e)?{space:gd[e],local:t}:t}function Hr(t){var e=Ur(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===pd&&e.documentElement.namespaceURI===pd?e.createElement(t):e.createElementNS(n,t)}})(e)}function Wr(){return new Xr}function Xr(){this._="@"+(++vd).toString(36)}function Yr(t,e,n){return t=Jr(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function Jr(e,n,r){return function(i){var o=t.event;t.event=i;try{e.call(this,this.__data__,n,r)}finally{t.event=o}}}function Vr(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function Gr(t,e,n){var r=bd.hasOwnProperty(t.type)?Yr:Jr;return function(i,o,a){var s,u=this.__on,c=r(e,o,a);if(u)for(var l=0,f=u.length;l<f;++l)if((s=u[l]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=n),void(s.value=e);this.addEventListener(t.type,c,n),s={type:t.type,name:t.name,value:e,listener:c,capture:n},u?u.push(s):this.__on=[s]}}function Qr(e,n,r,i){var o=t.event;e.sourceEvent=t.event,t.event=e;try{return n.apply(r,i)}finally{t.event=o}}function Kr(){for(var e,n=t.event;e=n.sourceEvent;)n=e;return n}function Zr(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}function ti(t){var e=Kr();return e.changedTouches&&(e=e.changedTouches[0]),Zr(t,e)}function ei(){}function ni(t){return null==t?ei:function(){return this.querySelector(t)}}function ri(){return[]}function ii(t){return null==t?ri:function(){return this.querySelectorAll(t)}}function oi(t){return new Array(t.length)}function ai(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function si(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new ai(t,o[s]);for(;s<u;++s)(a=e[s])&&(i[s]=a)}function ui(t,e,n,r,i,o,a){var s,u,c,l={},f=e.length,h=o.length,d=new Array(f);for(s=0;s<f;++s)(u=e[s])&&(d[s]=c=wd+a.call(u,u.__data__,s,e),c in l?i[s]=u:l[c]=u);for(s=0;s<h;++s)(u=l[c=wd+a.call(t,o[s],s,o)])?(r[s]=u,u.__data__=o[s],l[c]=null):n[s]=new ai(t,o[s]);for(s=0;s<f;++s)(u=e[s])&&l[d[s]]===u&&(i[s]=u)}function ci(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function li(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function fi(t){return t.trim().split(/^|\s+/)}function hi(t){return t.classList||new di(t)}function di(t){this._node=t,this._names=fi(t.getAttribute("class")||"")}function pi(t,e){for(var n=hi(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function gi(t,e){for(var n=hi(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function vi(){this.textContent=""}function mi(){this.innerHTML=""}function yi(){this.nextSibling&&this.parentNode.appendChild(this)}function _i(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function xi(){return null}function bi(){var t=this.parentNode;t&&t.removeChild(this)}function wi(t,e,n){var r=li(t),i=r.CustomEvent;i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dis
1patchEvent(i)}function ki(t,e){this._groups=t,this._parents=e}function Ci(){return new ki([[document.documentElement]],kd)}function Ti(t){return"string"==typeof t?new ki([[document.querySelector(t)]],[document.documentElement]):new ki([[t]],kd)}function Mi(t,e,n){arguments.length<3&&(n=e,e=Kr().changedTouches);for(var r,i=0,o=e?e.length:0;i<o;++i)if((r=e[i]).identifier===n)return Zr(t,r);return null}function Si(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){function r(r){var s,u,c,l;for(s in a)(l=a[s]).name===n.name&&(l.state===Ad?(l.state=$d,l.timer.stop(),l.on.call("interrupt",t,t.__data__,l.index,l.group),delete a[s]):+s<e&&(l.state=$d,l.timer.stop(),delete a[s]));if(on(function(){n.state===Ad&&(n.timer.restart(i,n.delay,n.time),i(r))}),n.state=Ed,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Ed){for(n.state=Ad,o=new Array(c=n.tween.length),s=0,u=-1;s<c;++s)(l=n.tween[s].value.call(t,t.__data__,n.index,n.group))&&(o[++u]=l);o.length=u+1}}function i(r){for(var i=r<n.duration?n.ease.call(null,r/n.duration):(n.state=Nd,1),s=-1,u=o.length;++s<u;)o[s].call(null,i);if(n.state===Nd){for(s in n.state=$d,n.timer.stop(),n.on.call("end",t,t.__data__,n.index,n.group),a)if(+s!==e)return void delete a[e];delete t.__transition}}var o,a=t.__transition;a[e]=n,n.timer=Ze(function(t){n.state=Sd,n.delay<=t?r(t-n.delay):n.timer.restart(r,n.delay,n.time)},0,n.time)}(t,n,{name:e,index:r,group:i,on:Cd,tween:Td,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Md})}function Ei(t,e){var n=t.__transition;if(!n||!(n=n[e])||n.state>Md)throw new Error("too late");return n}function Ai(t,e){var n=t.__transition;if(!n||!(n=n[e])||n.state>Ed)throw new Error("too late");return n}function Ni(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("too late");return n}function $i(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state===Ad,n.state=$d,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}function Di(t,e,n){var r=t._id;return t.each(function(){var t=Ai(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return Ni(t,r).value[e]}}function Oi(t,e){var n;return("number"==typeof e?Ae:e instanceof Qt?jl:(n=Qt(e))?(e=n,jl):$e)(t,e)}function ji(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Li(t){return Ci().transition(t)}function Pi(){return++Od}function Ri(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return Ld.time=Ge(),Ld;return n}function Ii(t){return t}function Bi(t,e,n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"}function qi(t,e,n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"}function Fi(){return!this.__axis}function zi(t,e){function n(n){var c,l=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,f=null==o?e.tickFormat?e.tickFormat.apply(e,r):Ii:o,h=Math.max(a,0)+u,d=t===Id||t===qd?Bi:qi,p=e.range(),g=p[0]+.5,v=p[p.length-1]+.5,m=(e.bandwidth?function(t){var e=t.bandwidth()/2;return t.round()&&(e=Math.round(e)),function(n){return t(n)+e}}:Ii)(e.copy()),y=n.selection?n.selection():n,_=y.selectAll(".domain").data([null]),x=y.selectAll(".tick").data(l,e).order(),b=x.exit(),w=x.enter().append("g").attr("class","tick"),k=x.select("line"),C=x.select("text"),T=t===Id||t===Fd?-1:1,M=t===Fd||t===Bd?(c="x","y"):(c="y","x");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),x=x.merge(w),k=k.merge(w.append("line").attr("stroke","#000").attr(c+"2",T*a).attr(M+"1",.5).attr(M+"2",.5)),C=C.merge(w.append("text").attr("fill","#000").attr(c,T*h).attr(M,.5).attr("dy",t===Id?"0em":t===qd?"0.71em":"0.32em")),n!==y&&(_=_.transition(n),x=x.transition(n),k=k.transition(n),C=C.transition(n),b=b.transition(n).attr("opacity",zd).attr("transform",function(t){return d(m,this.parentNode.__axis||m,t)}),w.attr("opacity",zd).attr("transform",function(t){return d(this.parentNode.__axis||m,m,t)})),b.remove(),_.attr("d",t===Fd||t==Bd?"M"+T*s+","+g+"H0.5V"+v+"H"+T*s:"M"+g+","+T*s+"V0.5H"+v+"V"+T*s),x.attr("opacity",1).attr("transform",function(t){return d(m,m,t)}),k.attr(c+"2",T*a),C.attr(c,T*h).text(f),y.filter(Fi).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Bd?"start":t===Fd?"end":"middle"),y.each(function(){this.__axis=m})}
1var r=[],i=null,o=null,a=6,s=6,u=3;return n.scale=function(t){return arguments.length?(e=t,n):e},n.ticks=function(){return r=Rd.call(arguments),n},n.tickArguments=function(t){return arguments.length?(r=null==t?[]:Rd.call(t),n):r.slice()},n.tickValues=function(t){return arguments.length?(i=null==t?null:Rd.call(t),n):i&&i.slice()},n.tickFormat=function(t){return arguments.length?(o=t,n):o},n.tickSize=function(t){return arguments.length?(a=s=+t,n):a},n.tickSizeInner=function(t){return arguments.length?(a=+t,n):a},n.tickSizeOuter=function(t){return arguments.length?(s=+t,n):s},n.tickPadding=function(t){return arguments.length?(u=+t,n):u},n}function Ui(t,e){return t.parent===e.parent?1:2}function Hi(t,e){return t+e.x}function Wi(t,e){return Math.max(t,e.y)}function Xi(t,e){var n,r,i,o,a,s=new Gi(t),u=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=Yi);n=c.pop();)if(u&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new Gi(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Vi)}function Yi(t){return t.children}function Ji(t){t.data=t.data.data}function Vi(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Gi(t){this.data=t,this.depth=this.height=0,this.parent=null}function Qi(t){this._=t,this.next=null}function Ki(t){return function t(e,n){var r,i,o,a=null,s=e.head;switch(n.length){case 1:r=function(t){return{x:t.x,y:t.y,r:t.r}}(n[0]);break;case 2:r=function(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,s=e.r,u=o-n,c=a-r,l=s-i,f=Math.sqrt(u*u+c*c);return{x:(n+o+u/f*l)/2,y:(r+a+c/f*l)/2,r:(f+i+s)/2}}(n[0],n[1]);break;case 3:r=function(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,s=e.y,u=e.r,c=n.x,l=n.y,f=n.r,h=2*(r-a),d=2*(i-s),p=2*(u-o),g=r*r+i*i-o*o-a*a-s*s+u*u,v=2*(r-c),m=2*(i-l),y=2*(f-o),_=r*r+i*i-o*o-c*c-l*l+f*f,x=v*d-h*m,b=(d*_-m*g)/x-r,w=(m*p-d*y)/x,k=(v*g-h*_)/x-i,C=(h*y-v*p)/x,T=w*w+C*C-1,M=2*(b*w+k*C+o),S=b*b+k*k-o*o,E=(-M-Math.sqrt(M*M-4*T*S))/(2*T);return{x:b+w*E+r,y:k+C*E+i,r:E}}(n[0],n[1],n[2])}for(;s;)o=s._,i=s.next,r&&Zi(r,o)?a=s:(a?(e.tail=a,a.next=null):e.head=e.tail=null,n.push(o),r=t(e,n),n.pop(),e.head?(s.next=e.head,e.head=s):(s.next=null,e.head=e.tail=s),a=e.tail,a.next=i),s=i;return e.tail=a,r}(function(t){for(var e=(t=t.slice()).length,n=null,r=n;e;){var i=new Qi(t[e-1]);r=r?r.next=i:n=i,t[void 0]=t[--e]}return{head:n,tail:r}}(t),[])}function Zi(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r-e.r;return i*i+1e-6>n*n+r*r}function to(t,e,n){var r=t.x,i=t.y,o=e.r+n.r,a=t.r+n.r,s=e.x-r,u=e.y-i,c=s*s+u*u;if(c){var l=.5+((a*=a)-(o*=o))/(2*c),f=Math.sqrt(Math.max(0,2*o*(a+c)-(a-=c)*a-o*o))/(2*c);n.x=r+l*s+f*u,n.y=i+l*u-f*s}else n.x=r+a,n.y=i}function eo(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return i*i>n*n+r*r}function no(t,e,n){var r=t.x-e,i=t.y-n;return r*r+i*i}function ro(t){this._=t,this.next=null,this.previous=null}function io(t){if(!(i=t.length))return 0;var e,n,r,i;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;to(n,e,r=t[2]);var o,a,s,u,c,l,f,h=e.r*e.r,d=n.r*n.r,p=r.r*r.r,g=h+d+p,v=h*e.x+d*n.x+p*r.x,m=h*e.y+d*n.y+p*r.y;e=new ro(e),n=new ro(n),r=new ro(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s<i;++s){if(to(e._,n._,r=t[s]),r=new ro(r),(c=e.previous)===(u=n.next)){if(eo(u._,r._)){e=n,n=u,--s;continue t}}else{l=u._.r,f=c._.r;do{if(l<=f){if(eo(u._,r._)){n=u,e.next=n,n.previous=e,--s;continue t}l+=(u=u.next)._.r}else{if(eo(c._,r._)){(e=c).next=n,n.previous=e,--s;continue t}f+=(c=c.previous)._.r}}while(u!==c.next)}for(r.previous=e,r.next=n,e.next=n.previous=n=r,g+=p=r._.r*r._.r,v+=p*r._.x,m+=p*r._.y,h=no(e._,o=v/g,a=m/g);(r=r.next)!==n;)(p=no(r._,o,a))<h&&(e=r,h=p);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=Ki(e),s=0;s<i;++s)(e=t[s]).x-=r.x,e.y-=r.y;return r.r}function oo(t){if("function"!=typeof t)throw new Error;return t}function ao(){return 0}function so(t){return function(){return t}}function uo(t){return Math.sqrt(t.value)}function co(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function lo(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,s=t(n)*e||0;if(s)for(i=0;i<a;++i)r[i].r+=s;if(o=io(r),s)for(i=0;i<a;++i)r[i].r-=s;n.r=o+s}}}function fo(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function ho(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function po(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(r-e)/t.value;++s<u;)(o=a[s]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*c}function go(t){return t.id}function vo(t){return t.parentId}function mo(t,e){return t.parent===e.parent?1:2}function yo(t){var e=t.children;return e?e[0]:t.t}function _o(t){var e=t.children;return e?e[e.length-1]:t.t}function xo(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function bo(t,e,n){return t.a.parent===e.parent?t.a:n}function wo(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function ko(t,e,n,r,i){for(var o,a=t.children,s=-1,u=a.length,c=t.value&&(i-n)/t.value;++s<u;)(o=a[s]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*c}function Co(t,e,n,r,i,o){for(var a,s,u,c,l,f,h,d,p,g,v,m,y=[],_=e.children,x=0,b=_.length,w=e.value;x<b;){for(c=i-n,l=o-r,h=d=f=_[x].value,m=f*f*(v=Math.max(l/c,c/l)/(w*t)),g=Math.max(d/m,m/h),u=x+1;u<b;++u){if(f+=s=_[u].value,s<h&&(h=s),s>d&&(d=s),m=f*f*v,(p=Math.max(d/m,m/h))>g){f-=s;break}g=p}y.push(a={value:f,dice:c<l,children:_.slice(x,u)}),a.dice?po(a,n,r,i,w?r+=l*f/w:o):ko(a,n,r,w?n+=c*f/w:i,o),w-=f,x=u}return y}function To(t){return function(){return t}}function Mo(){return 1e-6*(Math.random()-.5)}function So(t){return t.x+t.vx}function Eo(t){return t.y+t.vy}function Ao(t,e){return e}function No(t){return t.x}function $o(t){return t.y}function Do(){t.event.stopImmediatePropagation()}function Oo(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function jo(t){var e=t.document.documentElement,n=Ti(t).on("dragstart.drag",Oo,!0);"onselectstart"in e?n.on("selectstart.drag",Oo,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function Lo(t,e){var n=t.document.documentElement,r=Ti(t).on("dragstart.drag",null);e&&(r.on("click.drag",Oo,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Po(t){return function(){return t}}function Ro(t,e,n,r,i,o,a,s,u,c){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=s,this.dy=u,this._=c}function Io(){return!t.event.button}function Bo(){return this.parentNode}function qo(e){return null==e?{x:t.event.x,y:t.event.y}:e}function Fo(t){return function(){return t}}function zo(t){return t[0]}function Uo(t){return t[1]}function Ho(){this._=null}function Wo(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Xo(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Yo(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function Jo(t){for(;t.L;)t=t.L;return t}function Vo(t,e,n,r){var i=[null,null],o=ep.push(i)-1;return i.left=t,i.right=e,n&&Qo(i,t,e,n),r&&Qo(i,e,t,r),Zd[t.index].halfedges.push(o),Zd[e.index].halfedges.push(o),i}function Go(t,e,n){var r=[e,n];return r.left=t,r}function Qo(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function Ko(t,e,n,r,i){var o,a=t[0],s=t[1],u=a[0],c=a[1],l=0,f=1,h=s[0]-u,d=s[1]-c;if(o=e-u,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>l&&(l=o)}if(o=r-u,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<f&&(f=o)}if(o=n-c,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(t[0]=[u+l*h,c+l*d]),f<1&&(t[1]=[u+f*h,c+f*d]),!0)}}}}}function Zo(t,e,n,r,i){var o=t[1];if(o)return!0;var a,s,u=t[0],c=t.left,l=t.right,f=c[0],h=c[1],d=l[0],p=l[1],g=(f+d)/2,v=(h+p)/2;if(p===h){if(g<e||g>=r)return;if(f>d){if(u){if(u[1]>=i)return}else u=[g,n];o=[g,i]}else{if(u){if(u[1]<n)return}else u=[g,i];o=[g,n]}}else if(s=v-(a=(f-d)/(p-h))*g,a<-1||a>1)if(f>d){if(u){if(u[1]>=i)return}else u=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(u){if(u[1]<n)return}else u=[(i-s)/a,i];o=[(n-s)/a,n]}else if(h<p){if(u){if(u[0]>=r)return}else u=[e,a*e+s];o=[r,a*r+s]}else{if(u){if(u[0]<e)return}else u=[r,a*r+s];o=[e,a*e+s]}return t[0]=u,t[1]=o,!0}function ta(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function ea(t,e){return e[+(e.left!==t.site)]}function na(t,e){return e[+(e.left===t.site)]}function ra(){Wo(this),this.x=this.y=this.arc=this.site=this.cy=null}function ia(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,o=n.site;
1if(r!==o){var a=i[0],s=i[1],u=r[0]-a,c=r[1]-s,l=o[0]-a,f=o[1]-s,h=2*(u*f-c*l);if(!(h>=-op)){var d=u*u+c*c,p=l*l+f*f,g=(f*d-c*p)/h,v=(u*p-l*d)/h,m=np.pop()||new ra;m.arc=t,m.site=i,m.x=g+a,m.y=(m.cy=v+s)+Math.sqrt(g*g+v*v),t.circle=m;for(var y=null,_=tp._;_;)if(m.y<_.y||m.y===_.y&&m.x<=_.x){if(!_.L){y=_.P;break}_=_.L}else{if(!_.R){y=_;break}_=_.R}tp.insert(y,m),y||(Qd=m)}}}}function oa(t){var e=t.circle;e&&(e.P||(Qd=e.N),tp.remove(e),np.push(e),Wo(e),t.circle=null)}function aa(){Wo(this),this.edge=this.site=this.circle=null}function sa(t){var e=rp.pop()||new aa;return e.site=t,e}function ua(t){oa(t),Kd.remove(t),rp.push(t),Wo(t)}function ca(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],o=t.P,a=t.N,s=[t];ua(t);for(var u=o;u.circle&&Math.abs(n-u.circle.x)<ip&&Math.abs(r-u.circle.cy)<ip;)o=u.P,s.unshift(u),ua(u),u=o;s.unshift(u),oa(u);for(var c=a;c.circle&&Math.abs(n-c.circle.x)<ip&&Math.abs(r-c.circle.cy)<ip;)a=c.N,s.push(c),ua(c),c=a;s.push(c),oa(c);var l,f=s.length;for(l=1;l<f;++l)c=s[l],u=s[l-1],Qo(c.edge,u.site,c.site,i);u=s[0],(c=s[f-1]).edge=Vo(u.site,c.site,null,i),ia(u),ia(c)}function la(t){for(var e,n,r,i,o=t[0],a=t[1],s=Kd._;s;)if((r=fa(s,a)-o)>ip)s=s.L;else{if(!((i=o-ha(s,a))>ip)){r>-ip?(e=s.P,n=s):i>-ip?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){Zd[t.index]={site:t,halfedges:[]}}(t);var u=sa(t);if(Kd.insert(e,u),e||n){if(e===n)return oa(e),n=sa(e.site),Kd.insert(u,n),u.edge=n.edge=Vo(e.site,u.site),ia(e),void ia(n);if(!n)return void(u.edge=Vo(e.site,u.site));oa(e),oa(n);var c=e.site,l=c[0],f=c[1],h=t[0]-l,d=t[1]-f,p=n.site,g=p[0]-l,v=p[1]-f,m=2*(h*v-d*g),y=h*h+d*d,_=g*g+v*v,x=[(v*y-d*_)/m+l,(h*_-g*y)/m+f];Qo(n.edge,c,p,x),u.edge=Vo(c,t,null,x),n.edge=Vo(t,p,null,x),ia(e),ia(n)}}function fa(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site)[0],u=n[1],c=u-e;if(!c)return s;var l=s-r,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-u+c/2+i-o/2)))/f+r:(r+s)/2}function ha(t,e){var n=t.N;if(n)return fa(n,e);var r=t.site;return r[1]===e?r[0]:1/0}function da(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function pa(t,e){return e[1]-t[1]||e[0]-t[0]}function ga(t,e){var n,r,i,o=t.sort(pa).pop();for(ep=[],Zd=new Array(t.length),Kd=new Ho,tp=new Ho;;)if(i=Qd,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===n&&o[1]===r||(la(o),n=o[0],r=o[1]),o=t.pop();else{if(!i)break;ca(i.arc)}if(function(){for(var t,e,n,r,i=0,o=Zd.length;i<o;++i)if((t=Zd[i])&&(r=(e=t.halfedges).length)){var a=new Array(r),s=new Array(r);for(n=0;n<r;++n)a[n]=n,s[n]=ta(t,ep[e[n]]);for(a.sort(function(t,e){return s[e]-s[t]}),n=0;n<r;++n)s[n]=e[a[n]];for(n=0;n<r;++n)e[n]=s[n]}}(),e){var a=+e[0][0],s=+e[0][1],u=+e[1][0],c=+e[1][1];(function(t,e,n,r){for(var i,o=ep.length;o--;)Zo(i=ep[o],t,e,n,r)&&Ko(i,t,e,n,r)&&(Math.abs(i[0][0]-i[1][0])>ip||Math.abs(i[0][1]-i[1][1])>ip)||delete ep[o]})(a,s,u,c),function(t,e,n,r){var i,o,a,s,u,c,l,f,h,d,p,g,v=Zd.length,m=!0;for(i=0;i<v;++i)if(o=Zd[i]){for(a=o.site,s=(u=o.halfedges).length;s--;)ep[u[s]]||u.splice(s,1);for(s=0,c=u.length;s<c;)p=(d=na(o,ep[u[s]]))[0],g=d[1],f=(l=ea(o,ep[u[++s%c]]))[0],h=l[1],(Math.abs(p-f)>ip||Math.abs(g-h)>ip)&&(u.splice(s,0,ep.push(Go(a,d,Math.abs(p-t)<ip&&r-g>ip?[t,Math.abs(f-t)<ip?h:r]:Math.abs(g-r)<ip&&n-p>ip?[Math.abs(h-r)<ip?f:n,r]:Math.abs(p-n)<ip&&g-e>ip?[n,Math.abs(f-n)<ip?h:e]:Math.abs(g-e)<ip&&p-t>ip?[Math.abs(h-e)<ip?f:t,e]:null))-1),++c);c&&(m=!1)}if(m){var y,_,x,b=1/0;for(i=0,m=null;i<v;++i)(o=Zd[i])&&(x=(y=(a=o.site)[0]-t)*y+(_=a[1]-e)*_)<b&&(b=x,m=o);if(m){var w=[t,e],k=[t,r],C=[n,r],T=[n,e];m.halfedges.push(ep.push(Go(a=m.site,w,k))-1,ep.push(Go(a,k,C))-1,ep.push(Go(a,C,T))-1,ep.push(Go(a,T,w))-1)}}for(i=0;i<v;++i)(o=Zd[i])&&(o.halfedges.length||delete Zd[i])}(a,s,u,c)}this.edges=ep,this.cells=Zd,Kd=tp=ep=Zd=null}function va(t){return function(){return t}}function ma(t,e,n){this.target=t,this.type=e,this.transform=n}function ya(t,e,n){this.k=t,this.x=e,this.y=n}function _a(t){return t.__zoom||ap}function xa(){t.event.stopImmediatePropagation()}function ba(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function wa(){return!t.event.button}function ka(){var t,e,n=this;return n instanceof SVGElement?(t=(n=n.ownerSVGElement||n).width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function Ca(){return this.__zoom||ap}function Ta(t){return function(){return t}}function Ma(t,e,n){this.target=t,this.type=e,this.selection=n}function Sa(){t.event.stopImmediatePropagation()}function Ea(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function Aa(t){return{type:t}}function Na(){return!t.event.button}function $a(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Da(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Oa(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function ja(e){function n(t){var n=t.property("__brush",s).selectAll(".overlay").data([Aa("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",pp.overlay).merge(n).each(function(){var t=Da(this).extent;Ti(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([Aa("selection")]).enter().append("rect").attr("class","selection").attr("cursor",pp.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=t.selectAll(".handle").data(e.handles,function(t){return t.type});
1i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return pp[t.type]}),t.each(r).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",a)}function r(){var t=Ti(this),e=Da(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-h/2:e[0][0]-h/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-h/2:e[0][1]-h/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+h:h}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+h:h})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function i(t,e){return t.__brush.emitter||new o(t,e)}function o(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function a(){function n(){var t=ti(w);!L||x||b||(Math.abs(t[0]-R[0])>Math.abs(t[1]-R[1])?b=!0:x=!0),R=t,_=!0,Ea(),o()}function o(){var t;switch(m=R[0]-P[0],y=R[1]-P[1],C){case up:case sp:T&&(m=Math.max(N-s,Math.min(O-d,m)),c=s+m,p=d+m),M&&(y=Math.max(D-f,Math.min(j-g,y)),h=f+y,v=g+y);break;case cp:T<0?(m=Math.max(N-s,Math.min(O-s,m)),c=s+m,p=d):T>0&&(m=Math.max(N-d,Math.min(O-d,m)),c=s,p=d+m),M<0?(y=Math.max(D-f,Math.min(j-f,y)),h=f+y,v=g):M>0&&(y=Math.max(D-g,Math.min(j-g,y)),h=f,v=g+y);break;case lp:T&&(c=Math.max(N,Math.min(O,s-m*T)),p=Math.max(N,Math.min(O,d+m*T))),M&&(h=Math.max(D,Math.min(j,f-y*M)),v=Math.max(D,Math.min(j,g+y*M)))}p<c&&(T*=-1,t=s,s=d,d=t,t=c,c=p,p=t,k in gp&&q.attr("cursor",pp[k=gp[k]])),v<h&&(M*=-1,t=f,f=g,g=t,t=h,h=v,v=t,k in vp&&q.attr("cursor",pp[k=vp[k]])),A=S.selection,x&&(c=A[0][0],p=A[1][0]),b&&(h=A[0][1],v=A[1][1]),A[0][0]===c&&A[0][1]===h&&A[1][0]===p&&A[1][1]===v||(S.selection=[[c,h],[p,v]],r.call(w),I.brush())}function a(){if(Sa(),t.event.touches){if(t.event.touches.length)return;u&&clearTimeout(u),u=setTimeout(function(){u=null},500),B.on("touchmove.brush touchend.brush touchcancel.brush",null)}else Lo(t.event.view,_),F.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);B.attr("pointer-events","all"),q.attr("cursor",pp.overlay),Oa(A)&&(S.selection=null,r.call(w)),I.end()}if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return Ea()}else if(u)return;if(l.apply(this,arguments)){var s,c,f,h,d,p,g,v,m,y,_,x,b,w=this,k=t.event.target.__data__.type,C="selection"===(t.event.metaKey?k="overlay":k)?sp:t.event.altKey?lp:cp,T=e===hp?null:mp[k],M=e===fp?null:yp[k],S=Da(w),E=S.extent,A=S.selection,N=E[0][0],D=E[0][1],O=E[1][0],j=E[1][1],L=T&&M&&t.event.shiftKey,P=ti(w),R=P,I=i(w,arguments).beforestart();"overlay"===k?S.selection=A=[[s=e===hp?N:P[0],f=e===fp?D:P[1]],[d=e===hp?O:s,g=e===fp?j:f]]:(s=A[0][0],f=A[0][1],d=A[1][0],g=A[1][1]),c=s,h=f,p=d,v=g;var B=Ti(w).attr("pointer-events","none"),q=B.selectAll(".overlay").attr("cursor",pp[k]);if(t.event.touches)B.on("touchmove.brush",n,!0).on("touchend.brush touchcancel.brush",a,!0);else{var F=Ti(t.event.view).on("keydown.brush",function(){switch(t.event.keyCode){case 16:L=T&&M;break;case 18:C===cp&&(T&&(d=p-m*T,s=c+m*T),M&&(g=v-y*M,f=h+y*M),C=lp,o());break;case 32:C!==cp&&C!==lp||(T<0?d=p-m:T>0&&(s=c-m),M<0?g=v-y:M>0&&(f=h-y),C=up,q.attr("cursor",pp.selection),o());break;default:return}Ea()},!0).on("keyup.brush",function(){switch(t.event.keyCode){case 16:L&&(x=b=L=!1,o());break;case 18:C===lp&&(T<0?d=p:T>0&&(s=c),M<0?g=v:M>0&&(f=h),C=cp,o());break;case 32:C===up&&(t.event.altKey?(T&&(d=p-m*T,s=c+m*T),M&&(g=v-y*M,f=h+y*M),C=lp):(T<0?d=p:T>0&&(s=c),M<0?g=v:M>0&&(f=h),C=cp),q.attr("cursor",pp[k]),o());break;default:return}Ea()},!0).on("mousemove.brush",n,!0).on("mouseup.brush",a,!0);jo(t.event.view)}Sa(),$i(w),r.call(w),I.start()}}function s(){var t=this.__brush||{selection:null};return t.extent=c.apply(this,arguments),t.dim=e,t}var u,c=$a,l=Na,f=Fe(n,"start","brush","end"),h=6;return n.move=function(t,n){t.selection?t.on("start.brush",function(){i(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){i(this,arguments).end()}).tween("brush",function(){function t(t){a.selection=1===t&&Oa(c)?null:l(t),r.call(o),s.brush()}var o=this,a=o.__brush,s=i(o,arguments),u=a.selection,c=e.input("function"==typeof n?n.apply(this,arguments):n,a.extent),l=De(u,c);return u&&c?t:t(1)}):t.each(function(){var t=this,o=arguments,a=t.__brush,s=e.input("function"==typeof n?n.apply(t,o):n,a.extent),u=i(t,o).beforestart();$i(t),a.selection=null==s||Oa(s)?null:s,r.call(t),u.start().brush().end()})},o.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit
vendor: 4,568 bytes, line 1
1("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){Qr(new Ma(n,t,e.output(this.state.selection)),f.apply,f,[t,this.that,this.args])}},n.extent=function(t){return arguments.length?(c="function"==typeof t?t:Ta([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),n):c},n.filter=function(t){return arguments.length?(l="function"==typeof t?t:Ta(!!t),n):l},n.handleSize=function(t){return arguments.length?(h=+t,n):h},n.on=function(){var t=f.on.apply(f,arguments);return t===f?n:t},n}function La(t){return function(){return t}}function Pa(t){return t.source}function Ra(t){return t.target}function Ia(t){return t.radius}function Ba(t){return t.startAngle}function qa(t){return t.endAngle}function Fa(){return new za}function za(){this.reset()}function Ua(t,e,n){var r=t.s=e+n,i=r-e,o=r-i;t.t=e-o+(n-i)}function Ha(t){return t>1?0:t<-1?ag:Math.acos(t)}function Wa(t){return t>1?sg:t<-1?-sg:Math.asin(t)}function Xa(t){return(t=xg(t/2))*t}function Ya(){}function Ja(t,e){t&&Tg.hasOwnProperty(t.type)&&Tg[t.type](t,e)}function Va(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function Ga(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Va(t[n],e,1);e.polygonEnd()}function Qa(t,e){t&&Cg.hasOwnProperty(t.type)?Cg[t.type](t,e):Ja(t,e)}function Ka(){Eg.point=ts}function Za(){es(Mp,Sp)}function ts(t,e){Eg.point=es,Mp=t,Sp=e,Ep=t*=fg,Ap=gg(e=(e*=fg)/2+ug),Np=xg(e)}function es(t,e){var n=(t*=fg)-Ep,r=n>=0?1:-1,i=r*n,o=gg(e=(e*=fg)/2+ug),a=xg(e),s=Np*a,u=Ap*o+s*gg(i),c=s*r*xg(i);Mg.add(pg(c,u)),Ep=t,Ap=o,Np=a}function ns(t){return[pg(t[1],t[0]),Wa(t[2])]}function rs(t){var e=t[0],n=t[1],r=gg(n);return[r*gg(e),r*xg(e),xg(n)]}function is(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function os(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function as(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ss(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function us(t){var e=wg(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function cs(t,e){Bp.push(qp=[$p=t,Op=t]),e<Dp&&(Dp=e),e>jp&&(jp=e)}function ls(t,e){var n=rs([t*fg,e*fg]);if(Ip){var r=os(Ip,n),i=os([r[1],-r[0],0],r);us(i),i=ns(i);var o,a=t-Lp,s=a>0?1:-1,u=i[0]*lg*s,c=hg(a)>180;c^(s*Lp<u&&u<s*t)?(o=i[1]*lg)>jp&&(jp=o):c^(s*Lp<(u=(u+360)%360-180)&&u<s*t)?(o=-i[1]*lg)<Dp&&(Dp=o):(e<Dp&&(Dp=e),e>jp&&(jp=e)),c?t<Lp?vs($p,t)>vs($p,Op)&&(Op=t):vs(t,Op)>vs($p,Op)&&($p=t):Op>=$p?(t<$p&&($p=t),t>Op&&(Op=t)):t>Lp?vs($p,t)>vs($p,Op)&&(Op=t):vs(t,Op)>vs($p,Op)&&($p=t)}else cs(t,e);Ip=n,Lp=t}function fs(){Ng.point=ls}function hs(){qp[0]=$p,qp[1]=Op,Ng.point=cs,Ip=null}function ds(t,e){if(Ip){var n=t-Lp;Ag.add(hg(n)>180?n+(n>0?360:-360):n)}else Pp=t,Rp=e;Eg.point(t,e),ls(t,e)}function ps(){Eg.lineStart()}function gs(){ds(Pp,Rp),Eg.lineEnd(),hg(Ag)>ig&&($p=-(Op=180)),qp[0]=$p,qp[1]=Op,Ip=null}function vs(t,e){return(e-=t)<0?e+360:e}function ms(t,e){return t[0]-e[0]}function ys(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function _s(t,e){t*=fg;var n=gg(e*=fg);xs(n*gg(t),n*xg(t),xg(e))}function xs(t,e,n){Up+=(t-Up)/++Fp,Hp+=(e-Hp)/Fp,Wp+=(n-Wp)/Fp}function bs(){$g.point=ws}function ws(t,e){t*=fg;var n=gg(e*=fg);tg=n*gg(t),eg=n*xg(t),ng=xg(e),$g.point=ks,xs(tg,eg,ng)}function ks(t,e){t*=fg;var n=gg(e*=fg),r=n*gg(t),i=n*xg(t),o=xg(e),a=pg(wg((a=eg*o-ng*i)*a+(a=ng*r-tg*o)*a+(a=tg*i-eg*r)*a),tg*r+eg*i+ng*o);zp+=a,Xp+=a*(tg+(tg=r)),Yp+=a*(eg+(eg=i)),Jp+=a*(ng+(ng=o)),xs(tg,eg,ng)}function Cs(){$g.point=_s}function Ts(){$g.point=Ss}function Ms(){Es(Kp,Zp),$g.point=_s}function Ss(t,e){Kp=t,Zp=e,t*=fg,e*=fg,$g.point=Es;var n=gg(e);tg=n*gg(t),eg=n*xg(t),ng=xg(e),xs(tg,eg,ng)}function Es(t,e){t*=fg;var n=gg(e*=fg),r=n*gg(t),i=n*xg(t),o=xg(e),a=eg*o-ng*i,s=ng*r-tg*o,u=tg*i-eg*r,c=wg(a*a+s*s+u*u),l=tg*r+eg*i+ng*o,f=c&&-Ha(l)/c,h=pg(c,l);Vp+=f*a,Gp+=f*s,Qp+=f*u,zp+=h,Xp+=h*(tg+(tg=r)),Yp+=h*(eg+(eg=i)),Jp+=h*(ng+(ng=o)),xs(tg,eg,ng)}function As(t){return function(){return t}}function Ns(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function $s(t,e){return[t>ag?t-cg:t<-ag?t+cg:t,e]}function Ds(t,e,n){return(t%=cg)?e||n?Ns(js(t),Ls(e,n)):js(t):e||n?Ls(e,n):$s}function Os(t){return function(e,n){return[(e+=t)>ag?e-cg:e<-ag?e+cg:e,n]}}function js(t){var e=Os(t);return e.invert=Os(-t),e}function Ls(t,e){function n(t,e){var n=gg(e),s=gg(t)*n,u=xg(t)*n,c=xg(e),l=c*r+s*i;return[pg(u*o-l*a,s*r-c*i),Wa(l*o+u*a)]}
vendor: 5,218 bytes, line 1
1var r=gg(t),i=xg(t),o=gg(e),a=xg(e);return n.invert=function(t,e){var n=gg(e),s=gg(t)*n,u=xg(t)*n,c=xg(e),l=c*o-u*a;return[pg(u*o+c*a,s*r+l*i),Wa(l*r-s*i)]},n}function Ps(t,e,n,r,i,o){if(n){var a=gg(e),s=xg(e),u=r*n;null==i?(i=e+r*cg,o=e-u/2):(i=Rs(a,i),o=Rs(a,o),(r>0?i<o:i>o)&&(i+=r*cg));for(var c,l=i;r>0?l>o:l<o;l-=u)c=ns([a,-s*gg(l),-s*xg(l)]),t.point(c[0],c[1])}}function Rs(t,e){(e=rs(e))[0]-=t,us(e);var n=Ha(-e[1]);return((-e[2]<0?-n:n)+cg-ig)%cg}function Is(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:Ya,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function Bs(t,e){return hg(t[0]-e[0])<ig&&hg(t[1]-e[1])<ig}function qs(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Fs(t,e,n,r,i){var o,a,s=[],u=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(Bs(r,a)){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}s.push(n=new qs(r,t,null,!0)),u.push(n.o=new qs(r,null,n,!1)),s.push(n=new qs(a,t,null,!1)),u.push(n.o=new qs(a,null,n,!0))}}),s.length){for(u.sort(e),zs(s),zs(u),o=0,a=u.length;o<a;++o)u[o].e=n=!n;for(var c,l,f=s[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=c.length;o<a;++o)i.point((l=c[o])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(c=h.p.z,o=c.length-1;o>=0;--o)i.point((l=c[o])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}c=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}}function zs(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function Us(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,s,c){var l=0,f=0;if(null==i||(l=a(i,s))!==(f=a(o,s))||u(i,o)<0^s>0)do{c.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+s+4)%4)!==f);else c.point(o[0],o[1])}function a(r,i){return hg(r[0]-t)<ig?i>0?0:3:hg(r[0]-n)<ig?i>0?2:1:hg(r[1]-e)<ig?i>0?1:0:i>0?3:2}function s(t,e){return u(t.x,e.x)}function u(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){function u(t,e){i(t,e)&&k.point(t,e)}function c(){for(var e=0,n=0,i=h.length;n<i;++n)for(var o,a,s=h[n],u=1,c=s.length,l=s[0],f=l[0],d=l[1];u<c;++u)o=f,a=d,f=(l=s[u])[0],d=l[1],a<=r?d>r&&(f-o)*(r-a)>(d-a)*(t-o)&&++e:d<=r&&(f-o)*(r-a)<(d-a)*(t-o)&&--e;return e}function l(o,a){var s=i(o,a);if(h&&d.push([o,a]),b)g=o,v=a,m=s,b=!1,s&&(k.lineStart(),k.point(o,a));else if(s&&x)k.point(o,a);else{var u=[y=Math.max(Hg,Math.min(Ug,y)),_=Math.max(Hg,Math.min(Ug,_))],c=[o=Math.max(Hg,Math.min(Ug,o)),a=Math.max(Hg,Math.min(Ug,a))];!function(t,e,n,r,i,o){var a,s=t[0],u=t[1],c=0,l=1,f=e[0]-s,h=e[1]-u;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<c)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>c&&(c=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a<c)return;a<l&&(l=a)}if(a=r-u,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>c&&(c=a)}if(a=o-u,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<l&&(l=a)}return c>0&&(t[0]=s+c*f,t[1]=u+c*h),l<1&&(e[0]=s+l*f,e[1]=u+l*h),!0}}}}}(u,c,t,e,n,r)?s&&(k.lineStart(),k.point(o,a),w=!1):(x||(k.lineStart(),k.point(u[0],u[1])),k.point(c[0],c[1]),s||k.lineEnd(),w=!1)}y=o,_=a,x=s}var f,h,d,g,v,m,y,_,x,b,w,k=a,C=Is(),T={point:u,lineStart:function(){T.point=l,h&&h.push(d=[]),b=!0,x=!1,y=_=NaN},lineEnd:function(){f&&(l(g,v),m&&x&&C.rejoin(),f.push(C.result())),T.point=u,x&&k.lineEnd()},polygonStart:function(){k=C,f=[],h=[],w=!0},polygonEnd:function(){var t=c(),e=w&&t,n=(f=p(f)).length;(e||n)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),n&&Fs(f,s,t,o,a),a.polygonEnd()),k=a,f=h=d=null}};return T}}function Hs(){Xg.point=Xg.lineEnd=Ya}function Ws(t,e){Dg=t*=fg,Og=xg(e*=fg),jg=gg(e),Xg.point=Xs}function Xs(t,e){t*=fg;var n=xg(e*=fg),r=gg(e),i=hg(t-Dg),o=gg(i),a=r*xg(i),s=jg*n-Og*r*o,u=Og*n+jg*r*o;Wg.add(pg(wg(a*a+s*s),u)),Dg=t,Og=n,jg=r}function Ys(t){return Wg.reset(),Qa(t,Xg),+Wg}function Js(t,e,n){var r=c(t,e-ig,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function Vs(t,e,n){var r=c(t,e-ig,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function Gs(t){return t}function Qs(){Qg.point=Ks}function Ks(t,e){Qg.point=Zs,Lg=Rg=t,Pg=Ig=e}function Zs(t,e){Gg.add(Ig*t-Rg*e),Rg=t,Ig=e}function tu(){Zs(Lg,Pg)}function eu(t,e){rv+=t,iv+=e,++ov}function nu(){hv.point=ru}function ru(t,e){hv.point=iu,eu(Fg=t,zg=e)}function iu(t,e){var n=t-Fg,r=e-zg,i=wg(n*n+r*r);av+=i*(Fg+t)/2,sv+=i*(zg+e)/2,uv+=i,eu(Fg=t,zg=e)}function ou(){hv.point=eu}function au(){hv.point=uu}function su(){cu(Bg,qg)}function uu(t,e){hv.point=cu,eu(Bg=Fg=t,qg=zg=e)}function cu(t,e){var n=t-Fg,r=e-zg,i=wg(n*n+r*r);av+=i*(Fg+t)/2,sv+=i*(zg+e)/2,uv+=i,cv+=(i=zg*t-Fg*e)*(Fg+t),lv+=i*(zg+e),fv+=3*i,eu(Fg=t,zg=e)}function lu(t){function e(e,n){t.moveTo(e+a,n),t.arc(e,n,a,0,cg)}function n(e,n){t.moveTo(e,n),s.point=r}function r(e,n){t.lineTo(e,n)}function i(){s.point=e}function o(){t.closePath()}var a=4.5,s={point:e,lineStart:function(){s.point=n},lineEnd:i,polygonStart:function(){s.lineEnd=o}
1,polygonEnd:function(){s.lineEnd=i,s.point=e},pointRadius:function(t){return a=t,s},result:Ya};return s}function fu(){function t(t,e){a.push("M",t,",",e,o)}function e(t,e){a.push("M",t,",",e),s.point=n}function n(t,e){a.push("L",t,",",e)}function r(){s.point=t}function i(){a.push("Z")}var o=hu(4.5),a=[],s={point:t,lineStart:function(){s.point=e},lineEnd:r,polygonStart:function(){s.lineEnd=i},polygonEnd:function(){s.lineEnd=r,s.point=t},pointRadius:function(t){return o=hu(t),s},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return s}function hu(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function du(t,e,n,r){return function(i,o){function a(e,n){var r=i(e,n);t(e=r[0],n=r[1])&&o.point(e,n)}function s(t,e){var n=i(t,e);m.point(n[0],n[1])}function u(){w.point=s,m.lineStart()}function c(){w.point=a,m.lineEnd()}function l(t,e){v.push([t,e]);var n=i(t,e);x.point(n[0],n[1])}function f(){x.lineStart(),v=[]}function h(){l(v[0][0],v[0][1]),x.lineEnd();var t,e,n,r,i=x.clean(),a=_.result(),s=a.length;if(v.pop(),d.push(v),v=null,s)if(1&i){if((e=(n=a[0]).length-1)>0){for(b||(o.polygonStart(),b=!0),o.lineStart(),t=0;t<e;++t)o.point((r=n[t])[0],r[1]);o.lineEnd()}}else s>1&&2&i&&a.push(a.pop().concat(a.shift())),g.push(a.filter(pu))}var d,g,v,m=e(o),y=i.invert(r[0],r[1]),_=Is(),x=e(_),b=!1,w={point:a,lineStart:u,lineEnd:c,polygonStart:function(){w.point=l,w.lineStart=f,w.lineEnd=h,g=[],d=[]},polygonEnd:function(){w.point=a,w.lineStart=u,w.lineEnd=c,g=p(g);var t=function(t,e){var n=e[0],r=e[1],i=[xg(n),-gg(n),0],o=0,a=0;dv.reset();for(var s=0,u=t.length;s<u;++s)if(l=(c=t[s]).length)for(var c,l,f=c[l-1],h=f[0],d=f[1]/2+ug,p=xg(d),g=gg(d),v=0;v<l;++v,h=y,p=x,g=b,f=m){var m=c[v],y=m[0],_=m[1]/2+ug,x=xg(_),b=gg(_),w=y-h,k=w>=0?1:-1,C=k*w,T=C>ag,M=p*x;if(dv.add(pg(M*k*xg(C),g*b+M*gg(C))),o+=T?w+k*cg:w,T^h>=n^y>=n){var S=os(rs(f),rs(m));us(S);var E=os(i,S);us(E);var A=(T^w>=0?-1:1)*Wa(E[2]);(r>A||r===A&&(S[0]||S[1]))&&(a+=T^w>=0?1:-1)}}return(o<-ig||o<ig&&dv<-ig)^1&a}(d,y);g.length?(b||(o.polygonStart(),b=!0),Fs(g,gu,t,n,o)):t&&(b||(o.polygonStart(),b=!0),o.lineStart(),n(null,null,1,o),o.lineEnd()),b&&(o.polygonEnd(),b=!1),g=d=null},sphere:function(){o.polygonStart(),o.lineStart(),n(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return w}}function pu(t){return t.length>1}function gu(t,e){return((t=t.x)[0]<0?t[1]-sg-ig:sg-t[1])-((e=e.x)[0]<0?e[1]-sg-ig:sg-e[1])}function vu(t){function e(){}var n=e.prototype=Object.create(mu.prototype);for(var r in t)n[r]=t[r];return function(t){var n=new e;return n.stream=t,n}}function mu(){}function yu(t,e,n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),Qa(n,t.stream(nv));var a=nv.result(),s=Math.min(r/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),u=+e[0][0]+(r-s*(a[1][0]+a[0][0]))/2,c=+e[0][1]+(i-s*(a[1][1]+a[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*s).translate([u,c])}function _u(t){return function(e,n){return yu(t,[[0,0],e],n)}}function xu(t){return function(e,n){return yu(t,e,n)}}function bu(t,e){return+e?function(t,e){function n(r,i,o,a,s,u,c,l,f,h,d,p,g,v){var m=c-r,y=l-i,_=m*m+y*y;if(_>4*e&&g--){var x=a+h,b=s+d,w=u+p,k=wg(x*x+b*b+w*w),C=Wa(w/=k),T=hg(hg(w)-1)<ig||hg(o-f)<ig?(o+f)/2:pg(b,x),M=t(T,C),S=M[0],E=M[1],A=S-r,N=E-i,D=y*A-m*N;(D*D/_>e||hg((m*A+y*N)/_-.5)>.3||a*h+s*d+u*p<vv)&&(n(r,i,o,a,s,u,S,E,T,x/=k,b/=k,w,g,v),v.point(S,E),n(S,E,T,x,b,w,c,l,f,h,d,p,g,v))}}return function(e){function r(n,r){n=t(n,r),e.point(n[0],n[1])}function i(){m=NaN,w.point=o,e.lineStart()}function o(r,i){var o=rs([r,i]),a=t(r,i);n(m,y,v,_,x,b,m=a[0],y=a[1],v=r,_=o[0],x=o[1],b=o[2],gv,e),e.point(m,y)}function a(){w.point=r,e.lineEnd()}function s(){i(),w.point=u,w.lineEnd=c}function u(t,e){o(l=t,e),f=m,h=y,d=_,p=x,g=b,w.point=o}function c(){n(m,y,v,_,x,b,f,h,l,d,p,g,gv,e),w.lineEnd=a,a()}var l,f,h,d,p,g,v,m,y,_,x,b,w={point:r,lineStart:i,lineEnd:a,polygonStart:function(){e.polygonStart(),w.lineStart=s},polygonEnd:function(){e.polygonEnd(),w.lineStart=i}};return w}}(t,e):function(t){return vu({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}function wu(t){return ku(function(){return t})()}function ku(t){function e(t){return[(t=l(t[0]*fg,t[1]*fg))[0]*v+s,u-t[1]*v]}function n(t){return(t=l.invert((t[0]-s)/v,(u-t[1])/v))&&[t[0]*lg,t[1]*lg]}function r(t,e){return[(t=a(t,e))[0]*v+s,u-t[1]*v]}function i(){l=Ns(c=Ds(b,w,k),a);var t=a(_,x);return s=m-t[0]*v,u=y+t[1]*v,o()}function o(){return p=g=null,e}var a,s,u,c,l,f,h,d,p,g,v=150,m=480,y=250,_=0,x=0,b=0,w=0,k=0,C=null,T=pv,M=null,S=Gs,E=.5,A=bu(r,E);return e.stream=function(t){return p&&g===t?p:p=mv(T(c,A(S(g=t))))},e.clipAngle=function(t){return arguments.length?(T=+t?function(t,e){function n(t,e){return gg(t)*gg(e)>o}function r(t,e,n){var r=[1,0,0],i=os(rs(t),rs(e)),a=is(i,i),s=i[0],u=a-s*s;if(!u)return!n&&t;
1var c=o*a/u,l=-o*s/u,f=os(r,i),h=ss(r,c);as(h,ss(i,l));var d=f,p=is(h,d),g=is(d,d),v=p*p-g*(is(h,h)-1);if(!(v<0)){var m=wg(v),y=ss(d,(-p-m)/g);if(as(y,h),y=ns(y),!n)return y;var _,x=t[0],b=e[0],w=t[1],k=e[1];b<x&&(_=x,x=b,b=_);var C=b-x,T=hg(C-ag)<ig;if(!T&&k<w&&(_=w,w=k,k=_),T||C<ig?T?w+k>0^y[1]<(hg(y[0]-x)<ig?w:k):w<=y[1]&&y[1]<=k:C>ag^(x<=y[0]&&y[0]<=b)){var M=ss(d,(-p+m)/g);return as(M,h),[y,ns(M)]}}}function i(e,n){var r=a?t:ag-t,i=0;return e<-r?i|=1:e>r&&(i|=2),n<-r?i|=4:n>r&&(i|=8),i}var o=gg(t),a=o>0,s=hg(o)>ig;return du(n,function(t){var e,o,u,c,l;return{lineStart:function(){c=u=!1,l=1},point:function(f,h){var d,p=[f,h],g=n(f,h),v=a?g?0:i(f,h):g?i(f+(f<0?ag:-ag),h):0;if(!e&&(c=u=g)&&t.lineStart(),g!==u&&(d=r(e,p),(Bs(e,d)||Bs(p,d))&&(p[0]+=ig,p[1]+=ig,g=n(p[0],p[1]))),g!==u)l=0,g?(t.lineStart(),d=r(p,e),t.point(d[0],d[1])):(d=r(e,p),t.point(d[0],d[1]),t.lineEnd()),e=d;else if(s&&e&&a^g){var m;v&o||!(m=r(p,e,!0))||(l=0,a?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!g||e&&Bs(e,p)||t.point(p[0],p[1]),e=p,u=g,o=v},lineEnd:function(){u&&t.lineEnd(),e=null},clean:function(){return l|(c&&u)<<1}}},function(n,r,i,o){Ps(o,t,e,i,n,r)},a?[0,-t]:[-ag,t-ag])}(C=t*fg,6*fg):(C=null,pv),o()):C*lg},e.clipExtent=function(t){return arguments.length?(S=null==t?(M=f=h=d=null,Gs):Us(M=+t[0][0],f=+t[0][1],h=+t[1][0],d=+t[1][1]),o()):null==M?null:[[M,f],[h,d]]},e.scale=function(t){return arguments.length?(v=+t,i()):v},e.translate=function(t){return arguments.length?(m=+t[0],y=+t[1],i()):[m,y]},e.center=function(t){return arguments.length?(_=t[0]%360*fg,x=t[1]%360*fg,i()):[_*lg,x*lg]},e.rotate=function(t){return arguments.length?(b=t[0]%360*fg,w=t[1]%360*fg,k=t.length>2?t[2]%360*fg:0,i()):[b*lg,w*lg,k*lg]},e.precision=function(t){return arguments.length?(A=bu(r,E=t*t),o()):wg(E)},e.fitExtent=xu(e),e.fitSize=_u(e),function(){return a=t.apply(this,arguments),e.invert=a.invert&&n,i()}}function Cu(t){var e=0,n=ag/3,r=ku(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*fg,n=t[1]*fg):[e*lg,n*lg]},i}function Tu(t,e){function n(t,e){var n=wg(o-2*i*xg(e))/i;return[n*xg(t*=i),a-n*gg(t)]}var r=xg(t),i=(r+xg(e))/2,o=1+r*(2*i-r),a=wg(o)/i;return n.invert=function(t,e){var n=a-e;return[pg(t,n)/i,Wa((o-(t*t+n*n)*i*i)/(2*i))]},n}function Mu(){return Cu(Tu).scale(155.424).center([0,33.6442])}function Su(){return Mu().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Eu(t){return function(e,n){var r=gg(e),i=gg(n),o=t(r*i);return[o*i*xg(e),o*xg(n)]}}function Au(t){return function(e,n){var r=wg(e*e+n*n),i=t(r),o=xg(i),a=gg(i);return[pg(e*o,r*a),Wa(r&&n*o/r)]}}function Nu(t,e){return[t,yg(kg((sg+e)/2))]}function $u(t){var e,n=wu(t),r=n.scale,i=n.translate,o=n.clipExtent;return n.scale=function(t){return arguments.length?(r(t),e&&n.clipExtent(null),n):r()},n.translate=function(t){return arguments.length?(i(t),e&&n.clipExtent(null),n):i()},n.clipExtent=function(t){if(!arguments.length)return e?null:o();if(e=null==t){var a=ag*r(),s=i();t=[[s[0]-a,s[1]-a],[s[0]+a,s[1]+a]]}return o(t),n},n.clipExtent(null)}function Du(t){return kg((sg+t)/2)}function Ou(t,e){function n(t,e){o>0?e<-sg+ig&&(e=-sg+ig):e>sg-ig&&(e=sg-ig);var n=o/_g(Du(e),i);return[n*xg(i*t),o-n*gg(i*t)]}var r=gg(t),i=t===e?xg(t):yg(r/gg(e))/yg(Du(e)/Du(t)),o=r*_g(Du(t),i)/i;return i?(n.invert=function(t,e){var n=o-e,r=bg(i)*wg(t*t+n*n);return[pg(t,n)/i,2*dg(_g(o/r,1/i))-sg]},n):Nu}function ju(t,e){return[t,e]}function Lu(t,e){function n(t,e){var n=o-e,r=i*t;return[n*xg(r),o-n*gg(r)]}var r=gg(t),i=t===e?xg(t):(r-gg(e))/(e-t),o=r/i+t;return hg(i)<ig?ju:(n.invert=function(t,e){var n=o-e;return[pg(t,n)/i,o-bg(i)*wg(t*t+n*n)]},n)}function Pu(t,e){var n=gg(e),r=gg(t)*n;return[n*xg(t)/r,xg(e)/r]}function Ru(t,e){return[gg(e)*xg(t),xg(e)]}function Iu(t,e){var n=gg(e),r=1+gg(t)*n;return[n*xg(t)/r,xg(e)/r]}function Bu(t,e){return[yg(kg((sg+e)/2)),-t]}var qu=n(e),Fu=qu.right,zu=qu.left,Uu=Array.prototype,Hu=Uu.slice,Wu=Uu.map,Xu=Math.sqrt(50),Yu=Math.sqrt(10),Ju=Math.sqrt(2),Vu="$";y.prototype=_.prototype={constructor:y,has:function(t){return Vu+t in this},get:function(t){return this[Vu+t]}
1,set:function(t,e){return this[Vu+t]=e,this},remove:function(t){var e=Vu+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===Vu&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===Vu&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===Vu&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===Vu&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===Vu&&++t;return t},empty:function(){for(var t in this)if(t[0]===Vu)return!1;return!0},each:function(t){for(var e in this)e[0]===Vu&&t(this[e],e.slice(1),this)}};var Gu=_.prototype;C.prototype=T.prototype={constructor:C,has:Gu.has,add:function(t){return this[Vu+(t+="")]=t,this},remove:Gu.remove,clear:Gu.clear,values:Gu.keys,size:Gu.size,empty:Gu.empty,each:Gu.each};var Qu=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),Ku=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Zu=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),tc=Math.PI,ec=tc/2,nc=4/11,rc=6/11,ic=8/11,oc=.75,ac=9/11,sc=10/11,uc=.9375,cc=21/22,lc=63/64,fc=1/nc/nc,hc=1.70158,dc=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(hc),pc=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(hc),gc=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(hc),vc=2*Math.PI,mc=function t(e,n){function r(t){return e*Math.pow(2,10*--t)*Math.sin((i-t)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=vc);return r.amplitude=function(e){return t(e,n*vc)},r.period=function(n){return t(e,n)},r}(1,.3),yc=function t(e,n){function r(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=vc);return r.amplitude=function(e){return t(e,n*vc)},r.period=function(n){return t(e,n)},r}(1,.3),_c=function t(e,n){function r(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((i-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((i+t)/n))/2}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=vc);return r.amplitude=function(e){return t(e,n*vc)},r.period=function(n){return t(e,n)},r}(1,.3),xc=Math.PI,bc=2*xc,wc=1e-6,kc=bc-wc;I.prototype=B.prototype={constructor:I,moveTo:function(t,e){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._.push("Z"))},lineTo:function(t,e){this._.push("L",this._x1=+t,",",this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._.push("Q",+t,",",+e,",",this._x1=+n,",",this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._.push("C",+t,",",+e,",",+n,",",+r,",",this._x1=+i,",",this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-t,u=r-e,c=o-t,l=a-e,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._.push("M",this._x1=t,",",this._y1=e);else if(f>wc)if(Math.abs(l*s-u*c)>wc&&i){var h=n-o,d=r-a,p=s*s+u*u,g=h*h+d*d,v=Math.sqrt(p),m=Math.sqrt(f),y=i*Math.tan((xc-Math.acos((p+f-g)/(2*v*m)))/2),_=y/m,x=y/v;Math.abs(_-1)>wc&&this._.push("L",t+_*c,",",e+_*l),this._.push("A",i,",",i,",0,0,",+(l*h>c*d),",",this._x1=t+x*s,",",this._y1=e+x*u)}else this._.push("L",this._x1=t,",",this._y1=e)},arc:function(t,e,n,r,i,o){t=+t,e=+e;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),u=t+a,c=e+s,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._.push("M",u,",",c):(Math.abs(this._x1-u)>wc||Math.abs(this._y1-c)>wc)&&this._.push("L",u,",",c),n&&(f>kc?this._.push("A",n,",",n,",0,1,",l,",",t-a,",",e-s,"A",n,",",n,",0,1,",l,",",this._x1=u,",",this._y1=c):(f<0&&(f=f%bc+bc),this._.push("A",n,",",n,",0,",+(f>=xc),",",l,",",this._x1=t+n*Math.cos(i),",",this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._.push("M",this._x0=this._x1=+t,",",this._y0=this._y1=+e,"h",+n,"v",+r,"h",-n,"Z")},toString:function(){return this._.join("")}};var Cc=H.prototype=W.prototype;Cc.copy=function(){var t,e,n=new W(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=X(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=X(e));return n},Cc.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return q(this.cover(e,n),e,n,t)},Cc.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),u=1/0,c=1/0,l=-1/0,f=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=r,s[n]=i,r<u&&(u=r),r>l&&(l=r),i<c&&(c=i),i>f&&(f=i));for(l<u&&(u=this._x0,l=this._x1),f<c&&(c=this._y0,f=this._y1),this.cover(u,c).cover(l,f),n=0;n<o;++n)q(this,a[n],s[n],t[n]);return this},Cc.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{if(!(n>t||t>i||r>e||e>o))return this;var a,s,u=i-n,c=this._root;switch(s=(e<(r+o)/2)<<1|t<(n+i)/2){case 0:do{(a=new Array(4))[s]=c,c=a}while(o=r+(u*=2),t>(i=n+u)||e>o);break;case 1:do{(a=new Array(4))[s]=c,c=a}while(o=r+(u*=2),(n=i-u)>t||e>o);break;case 2:do{(a=new Array(4))[s]=c,c=a}while(r=o-(u*=2),t>(i=n+u)||r>e);break;case 3:do{(a=new Array(4))[s]=c,c=a}while(r=o-(u*=2),(n=i-u)>t||r>e)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},Cc.data=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t},Cc.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Cc.find=function(t,e,n){var r,i,o,a,s,u,c,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new F(g,l,f,h,d)),null==n?n=1/0:(l=t-n,f=e-n,h=t+n,d=e+n,n*=n);u=p.pop();)if(!(!(g=u.node)||(i=u.x0)>h||(o=u.y0)>
vendor: 20,315 bytes, line 1
1d||(a=u.x1)<l||(s=u.y1)<f))if(g.length){var v=(i+a)/2,m=(o+s)/2;p.push(new F(g[3],v,m,a,s),new F(g[2],i,m,v,s),new F(g[1],v,o,a,m),new F(g[0],i,o,v,m)),(c=(e>=m)<<1|t>=v)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),x=y*y+_*_;if(x<n){var b=Math.sqrt(n=x);l=t-b,f=e-b,h=t+b,d=e+b,r=g.data}}return r},Cc.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,s,u,c,l,f,h,d=this._root,p=this._x0,g=this._y0,v=this._x1,m=this._y1;if(!d)return this;if(d.length)for(;;){if((c=o>=(s=(p+v)/2))?p=s:v=s,(l=a>=(u=(g+m)/2))?g=u:m=u,e=d,!(d=d[f=l<<1|c]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)},Cc.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},Cc.root=function(){return this._root},Cc.size=function(){var t=0;return this.visit(function(e){if(!e.length)do{++t}while(e=e.next)}),t},Cc.visit=function(t){var e,n,r,i,o,a,s=[],u=this._root;for(u&&s.push(new F(u,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(u=e.node,r=e.x0,i=e.y0,o=e.x1,a=e.y1)&&u.length){var c=(r+o)/2,l=(i+a)/2;(n=u[3])&&s.push(new F(n,c,l,o,a)),(n=u[2])&&s.push(new F(n,r,l,c,a)),(n=u[1])&&s.push(new F(n,c,i,o,l)),(n=u[0])&&s.push(new F(n,r,i,c,l))}return this},Cc.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new F(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var o,a=e.x0,s=e.y0,u=e.x1,c=e.y1,l=(a+u)/2,f=(s+c)/2;(o=i[0])&&n.push(new F(o,a,s,l,f)),(o=i[1])&&n.push(new F(o,l,s,u,f)),(o=i[2])&&n.push(new F(o,a,f,l,c)),(o=i[3])&&n.push(new F(o,l,f,u,c))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},Cc.x=function(t){return arguments.length?(this._x=t,this):this._x},Cc.y=function(t){return arguments.length?(this._y=t,this):this._y};var Tc=[].slice,Mc={};Y.prototype=K.prototype={constructor:Y,defer:function(t){if("function"!=typeof t||this._call)throw new Error;if(null!=this._error)return this;var e=Tc.call(arguments,1);return e.push(t),++this._waiting,this._tasks.push(e),J(this),this},abort:function(){return null==this._error&&G(this,new Error("abort")),this},await:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=function(e,n){t.apply(null,[e].concat(n))},Q(this),this},awaitAll:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=t,Q(this),this}};var Sc=1e-12,Ec=Math.PI,Ac=Ec/2,Nc=2*Ec;st.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var $c=vt(ut);gt.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Dc={draw:function(t,e){var n=Math.sqrt(e/Ec);t.moveTo(n,0),t.arc(0,0,n,0,Nc)}},Oc={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},jc=Math.sqrt(1/3),Lc=2*jc,Pc={draw:function(t,e){var n=Math.sqrt(e/Lc),r=n*jc;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Rc=Math.sin(Ec/10)/Math.sin(7*Ec/10),Ic=Math.sin(Nc/10)*Rc,Bc=-Math.cos(Nc/10)*Rc,qc={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=Ic*n,i=Bc*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=Nc*o/5,s=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-s*n),t.lineTo(s*r-u*i,u*r+s*i)}t.closePath()}},Fc={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},zc=Math.sqrt(3),Uc={draw:function(t,e){var n=-Math.sqrt(e/(3*zc));t.moveTo(0,2*n),t.lineTo(-zc*n,-n),t.lineTo(zc*n,-n),t.closePath()}},Hc=-.5,Wc=Math.sqrt(3)/2,Xc=1/Math.sqrt(12),Yc=3*(Xc/2+1),Jc={draw:function(t,e){var n=Math.sqrt(e/Yc),r=n/2,i=n*Xc,o=r,a=n*Xc+n,s=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,u),t.lineTo(Hc*r-Wc*i,Wc*r+Hc*i),t.lineTo(Hc*o-Wc*a,Wc*o+Hc*a),t.lineTo(Hc*s-Wc*u,Wc*s+Hc*u),t.lineTo(Hc*r+Wc*i,Hc*i-Wc*r),t.lineTo(Hc*o+Wc*a,Hc*a-Wc*o),t.lineTo(Hc*s+Wc*u,Hc*u-Wc*s),t.closePath()}},Vc=[Dc,Oc,Pc,Fc,qc,Uc,Jc];xt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:_t(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:_t(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},bt.prototype={areaStart:yt,areaEnd:yt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:_t(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:_t(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},kt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Gc=function t(e){function n(t){return 1===e?new xt(t):new kt(t,e)}return n.beta=function(e){return t(+e)},n}(.85);Tt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ct(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Ct(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Qc=function t(e){function n(t){return new Tt(t,e)}return n.tension=function(e){return t(+e)},n}(0);Mt.prototype={areaStart:yt,areaEnd:yt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ct(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Kc=function t(e){function n(t){return new Mt(t,e)}return n.tension=function(e){return t(+e)},n}(0);St.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ct(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Zc=function t(e){function n(t){return new St(t,e)}return n.tension=function(e){return t(+e)},n}(0);At.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this,this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Et(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var tl=function t(e){function n(t){return e?new At(t,e):new Tt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);Nt.prototype={areaStart:yt,areaEnd:yt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Et(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var el=function t(e){function n(t){return e?new Nt(t,e):new Mt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);$t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Et(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var nl=function t(e){function n(t){return e?new $t(t,e):new St(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);Dt.prototype={areaStart:yt,areaEnd:yt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Pt(this,this._t0,Lt(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Pt(this,Lt(this,n=jt(this,t,e)),n);break;default:Pt(this,this._t0,n=jt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(It.prototype=Object.create(Rt.prototype)).point=function(t,e){Rt.prototype.point.call(this,e,t)},Bt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},qt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Ft(t),i=Ft(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},zt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var rl=Array.prototype.slice,il=1/.7,ol=/^#([0-9a-f]{3})$/,al=/^#([0-9a-f]{6})$/,sl=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,ul=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,cl=/^rgba\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,ll=/^rgba\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,fl=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,hl=/^hsla\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,dl={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Jt(Gt,Qt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Jt(ne,ee,Vt(Gt,{brighter:function(t){return t=null==t?il:Math.pow(il,t),new ne(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new ne(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Jt(oe,ie,Vt(Gt,{brighter:function(t){return t=null==t?il:Math.pow(il,t),new oe(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new oe(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new ne(ae(t>=240?t-240:t+120,i,r),ae(t,i,r),ae(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var pl=Math.PI/180,gl=180/Math.PI,vl=.95047,ml=1,yl=1.08883,_l=4/29,xl=6/29,bl=3*xl*xl,wl=xl*xl*xl;Jt(ce,ue,Vt(Gt,{brighter:function(t){return new ce(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new ce(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=ml*fe(t),new ne(he(3.2404542*(e=vl*fe(e))-1.5371385*t-.4985314*(n=yl*fe(n))),he(-.969266*e+1.8760108*t+.041556*n),he(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),Jt(ge,pe,Vt(Gt,{brighter:function(t){return new ge(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new ge(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return se(this).rgb()}}));var kl=1.78277,Cl=-.29227,Tl=-.90649,Ml=1.97294,Sl=Ml*Tl,El=Ml*kl,Al=kl*Cl- -.14861*Tl;Jt(me,ve,Vt(Gt,{brighter:function(t){return t=null==t?il:Math.pow(il,t),new me(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new me(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*pl,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new ne(255*(e+n*(-.14861*r+kl*i)),255*(e+n*(Cl*r+Tl*i)),255*(e+n*(Ml*r)),this.opacity)}}));var Nl,$l,Dl,Ol,jl=function t(e){function n(t,e){var n=r((t=ee(t)).r,(e=ee(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=r(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}var r=Ce(e);return n.gamma=t,n}(1),Ll=Me(_e),Pl=Me(xe),Rl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Il=new RegExp(Rl.source,"g"),Bl=180/Math.PI,ql={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Fl=Le(function(t){return"none"===t?ql:(Nl||(Nl=document.createElement("DIV"),$l=document.documentElement,Dl=document.defaultView),Nl.style.transform=t,t=Dl.getComputedStyle($l.appendChild(Nl),null).getPropertyValue("transform"),$l.removeChild(Nl),je(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),zl=Le(function(t){return null==t?ql:(Ol||(Ol=document.createElementNS("http://www.w3.org/2000/svg","g")),Ol.setAttribute("transform",t),(t=Ol.transform.baseVal.consolidate())?je((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ql)},", ",")",")"),Ul=Math.SQRT2,Hl=2,Wl=4,Xl=1e-12,Yl=Ie(ke),Jl=Ie(Te),Vl=Be(ke),Gl=Be(Te),Ql=qe(ke),Kl=qe(Te),Zl={value:function(){}};ze.prototype=Fe.prototype={constructor:ze,on:function(t,e){var n,r=this._,i=function(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=He(r[n],t.name,e);else if(null==e)for(n in r)r[n]=He(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=Ue(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ze(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var tf,ef,nf=Xe(","),rf=nf.parse,of=nf.parseRows,af=nf.format,sf=nf.formatRows,uf=Xe("\t"),cf=uf.parse,lf=uf.parseRows,ff=uf.format,hf=uf.formatRows,df=Je("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),pf=Je("application/json",function(t){return JSON.parse(t.responseText)}),gf=Je("text/plain",function(t){return t.responseText}),vf=Je("application/xml",function(t){var e=t.responseXML;if(!e)throw new Error("parse error");return e}),mf=Ve("text/csv",rf),yf=Ve("text/tab-separated-values",cf),_f=0,xf=0,bf=0,wf=1e3,kf=0,Cf=0,Tf=0,Mf="object"==typeof performance&&performance.now?performance:Date,Sf="function"==typeof requestAnimationFrame?Mf===Date?function(t){requestAnimationFrame(function(){t(Mf.now())})}:requestAnimationFrame:function(t){setTimeout(t,17)};Ke.prototype=Ze.prototype={constructor:Ke,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Ge():+n)+(null==e?0:+e),this._next||ef===this||(ef?ef._next=this:tf=this,ef=this),this._call=t,this._time=n,rn()},stop:function(){this._call&&(this._call=null,this._time=1/0,rn())}};var Ef=new Date,Af=new Date,Nf=an(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Nf.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?an(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Nf:null};var $f=Nf.range,Df=6e4,Of=36e5,jf=6048e5,Lf=an(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),Pf=Lf.range,Rf=an(function(t){t.setTime(Math.floor(t/Df)*Df)},function(t,e){t.setTime(+t+e*Df)},function(t,e){return(e-t)/Df},function(t){return t.getMinutes()}),If=Rf.range,Bf=an(function(t){var e=t.getTimezoneOffset()*Df%Of;e<0&&(e+=Of),t.setTime(Math.floor((+t-e)/Of)*Of+e)},function(t,e){t.setTime(+t+e*Of)},function(t,e){return(e-t)/Of},function(t){return t.getHours()}),qf=Bf.range,Ff=an(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Df)/864e5},function(t){return t.getDate()-1}),zf=Ff.range,Uf=sn(0),Hf=sn(1),Wf=sn(2),Xf=sn(3),Yf=sn(4),Jf=sn(5),Vf=sn(6),Gf=Uf.range,Qf=Hf.range,Kf=Wf.range,Zf=Xf.range,th=Yf.range,eh=Jf.range,nh=Vf.range,rh=an(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),ih=rh.range,oh=an(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});oh.every=function(t){return isFinite(t=Math.floor(t))&&t>0?an(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var ah=oh.range,sh=an(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Df)},function(t,e){return(e-t)/Df},function(t){return t.getUTCMinutes()}),uh=sh.range,ch=an(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*Of)},function(t,e){return(e-t)/Of},function(t){return t.getUTCHours()}),lh=ch.range,fh=an(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}
1),hh=fh.range,dh=un(0),ph=un(1),gh=un(2),vh=un(3),mh=un(4),yh=un(5),_h=un(6),xh=dh.range,bh=ph.range,wh=gh.range,kh=vh.range,Ch=mh.range,Th=yh.range,Mh=_h.range,Sh=an(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Eh=Sh.range,Ah=an(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Ah.every=function(t){return isFinite(t=Math.floor(t))&&t>0?an(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Nh,$h=Ah.range,Dh={"":function(t,e){t:for(var n,r=(t=t.toPrecision(e)).length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=n=i;break;case"0":0===o&&(o=i),n=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t},"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return fn(100*t,e)},r:fn,s:function(t,e){var n=cn(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Nh=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+cn(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Oh=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;dn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var jh,Lh=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];vn({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Ph,Rh={"-":"",_:" ",0:"0"},Ih=/^\s*\d+/,Bh=/^%/,qh=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;mr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Fh="%Y-%m-%dT%H:%M:%S.%LZ",zh=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat(Fh),Uh=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:t.utcParse(Fh),Hh=Array.prototype,Wh=Hh.map,Xh=Hh.slice,Yh={name:"implicit"},Jh=[0,1],Vh=1e3,Gh=60*Vh,Qh=60*Gh,Kh=24*Qh,Zh=7*Kh,td=30*Kh,ed=365*Kh,nd=Fr("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),rd=Fr("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),id=Fr("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),od=Fr("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),ad=Kl(ve(300,.5,0),ve(-240,.5,1)),sd=Kl(ve(-100,.75,.35),ve(80,1.5,.8)),ud=Kl(ve(260,.75,.35),ve(80,1.5,.8)),cd=ve(),ld=zr(Fr("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588
1c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),fd=zr(Fr("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),hd=zr(Fr("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),dd=zr(Fr("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0a
1a58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),pd="http://www.w3.org/1999/xhtml",gd={svg:"http://www.w3.org/2000/svg",xhtml:pd,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},vd=0;Xr.prototype=Wr.prototype={constructor:Xr,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var md=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var yd=document.documentElement;if(!yd.matches){var _d=yd.webkitMatchesSelector||yd.msMatchesSelector||yd.mozMatchesSelector||yd.oMatchesSelector;md=function(t){return function(){return _d.call(this,t)}}}}var xd=md,bd={};(t.event=null,"undefined"!=typeof document)&&("onmouseenter"in document.documentElement||(bd={mouseenter:"mouseover",mouseleave:"mou
1seout"}));ai.prototype={constructor:ai,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var wd="$";di.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var kd=[null];ki.prototype=Ci.prototype={constructor:ki,select:function(t){"function"!=typeof t&&(t=ni(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],u=s.length,c=r[i]=new Array(u),l=0;l<u;++l)(o=s[l])&&(a=t.call(o,o.__data__,l,s))&&("__data__"in o&&(a.__data__=o.__data__),c[l]=a);return new ki(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=ii(t));for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],u=s.length,c=0;c<u;++c)(a=s[c])&&(r.push(t.call(a,a.__data__,c,s)),i.push(a));return new ki(r,i)},filter:function(t){"function"!=typeof t&&(t=xd(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,u=r[i]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new ki(r,this._parents)},data:function(t,e){if(!t)return d=new Array(this.size()),c=-1,this.each(function(t){d[++c]=t}),d;var n=e?ui:si,r=this._parents,i=this._groups;"function"!=typeof t&&(t=function(t){return function(){return t}}(t));for(var o=i.length,a=new Array(o),s=new Array(o),u=new Array(o),c=0;c<o;++c){var l=r[c],f=i[c],h=f.length,d=t.call(l,l&&l.__data__,c,r),p=d.length,g=s[c]=new Array(p),v=a[c]=new Array(p);n(l,f,g,v,u[c]=new Array(h),d,e);for(var m,y,_=0,x=0;_<p;++_)if(m=g[_]){for(_>=x&&(x=_+1);!(y=v[x])&&++x<p;);m._next=y||null}}return(a=new ki(a,r))._enter=s,a._exit=u,a},enter:function(){return new ki(this._enter||this._groups.map(oi),this._parents)},exit:function(){return new ki(this._exit||this._groups.map(oi),this._parents)},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var u,c=e[s],l=n[s],f=c.length,h=a[s]=new Array(f),d=0;d<f;++d)(u=c[d]||l[d])&&(h[d]=u);for(;s<r;++s)a[s]=e[s];return new ki(a,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=ci);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],u=s.length,c=i[o]=new Array(u),l=0;l<u;++l)(a=s[l])&&(c[l]=a);c.sort(e)}return new ki(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=Ur(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){var r;return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):li(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=fi(t+"");
vendor: 4,102 bytes, line 1
1if(arguments.length<2){for(var r=hi(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?pi:gi)(this,t)}}:e?function(t){return function(){pi(this,t)}}:function(t){return function(){gi(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?vi:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?mi:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(yi)},lower:function(){return this.each(_i)},append:function(t){var e="function"==typeof t?t:Hr(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:Hr(t),r=null==e?xi:"function"==typeof e?e:ni(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(bi)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Gr:Vr,null==n&&(n=!1),r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var u,c=0,l=s.length;c<l;++c)for(r=0,u=s[c];r<a;++r)if((i=o[r]).type===u.type&&i.name===u.name)return u.value},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return wi(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return wi(this,t,e)}})(t,e))}};var Cd=Fe("start","end","interrupt"),Td=[],Md=0,Sd=1,Ed=2,Ad=3,Nd=4,$d=5,Dd=Ci.prototype.constructor,Od=0,jd=Ci.prototype;ji.prototype=Li.prototype={constructor:ji,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ni(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,u,c=r[a],l=c.length,f=o[a]=new Array(l),h=0;h<l;++h)(s=c[h])&&(u=t.call(s,s.__data__,h,c))&&("__data__"in s&&(u.__data__=s.__data__),f[h]=u,Si(f[h],e,n,h,f,Ni(s,n)));return new ji(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ii(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var u,c=r[s],l=c.length,f=0;f<l;++f)if(u=c[f]){for(var h,d=t.call(u,u.__data__,f,c),p=Ni(u,n),g=0,v=d.length;g<v;++g)(h=d[g])&&Si(h,e,n,g,d,p);o.push(d),a.push(u)}return new ji(o,a,e,n)},filter:function(t){"function"!=typeof t&&(t=xd(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,u=r[i]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new ji(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var u,c=e[s],l=n[s],f=c.length,h=a[s]=new Array(f),d=0;d<f;++d)(u=c[d]||l[d])&&(h[d]=u);for(;s<r;++s)a[s]=e[s];return new ji(a,this._parents,this._name,this._id)},selection:function(){return new Dd(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Pi(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],u=s.length,c=0;c<u;++c)if(a=s[c]){var l=Ni(a,e);Si(a,t,n,c,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new ji(r,this._parents,t,n)},call:jd.call,nodes:jd.nodes,node:jd.node,size:jd.size,empty:jd.empty,each:jd.each,on:function(t,e){var n=this._id;return arguments.length<2?Ni(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>
1=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Ei:Ai;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=Ur(t),r="transform"===n?zl:Oi;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,s=n(this);return null==s?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===s?null:a===r&&s===i?o:o=e(r=a,i=s)}}:function(t,e,n){var r,i,o;return function(){var a,s=n(this);return null==s?void this.removeAttribute(t):(a=this.getAttribute(t))===s?null:a===r&&s===i?o:o=e(r=a,i=s)}})(n,r,Di(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===n?null:o===r?i:i=e(r=o,n)}}:function(t,e,n){var r,i;return function(){var o=this.getAttribute(t);return o===n?null:o===r?i:i=e(r=o,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=Ur(t);return this.tween(n,(r.local?function(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttributeNS(t.space,t.local,r(e))}}return n._value=e,n}:function(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttribute(t,r(e))}}return n._value=e,n})(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Fl:Oi;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=li(this).getComputedStyle(this,null),a=o.getPropertyValue(t),s=(this.style.removeProperty(t),o.getPropertyValue(t));return a===s?null:a===n&&s===r?i:i=e(n=a,r=s)}}(t,r)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof e?function(t,e,n){var r,i,o;return function(){var a=li(this).getComputedStyle(this,null),s=a.getPropertyValue(t),u=n(this);return null==u&&(this.style.removeProperty(t),u=a.getPropertyValue(t)),s===u?null:s===r&&u===i?o:o=e(r=s,i=u)}}(t,r,Di(this,"style."+t,e)):function(t,e,n){var r,i;return function(){var o=li(this).getComputedStyle(this,null).getPropertyValue(t);return o===n?null:o===r?i:i=e(r=o,n)}}(t,r,e),n)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){function r(){var r=this,i=e.apply(r,arguments);return i&&function(e){r.style.setProperty(t,i(e),n)}}return r._value=e,r}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(Di(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Ni(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=Ai(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=Ai(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},u=0,c=i.length;u<c;++u)if(i[u].name===e){i[u]=s;break}u===c&&i.push(s)}o.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){Ei(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){Ei(this,t).delay=e}})(e,t)):Ni(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){Ai(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){Ai(this,t).duration=e}})(e,t)):Ni(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){Ai(this,t).ease=e}}(e,t)):Ni(this.node(),e).ease}};var Ld={time:null,delay:0,duration:250,ease:A};Ci.prototype.interrupt=function(t){return this.each(function(){$i(this,t)})},Ci.prototype.transition=function(t){var e,n;t instanceof ji?(e=t._id,t=t._name):(e=Pi(),(n=Ld).time=Ge(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],u=s.length,c=0;c<u;++c)(a=s[c])&&Si(a,t,e,c,s,n||Ri(a,e));return new ji(r,this._parents,t,e)};var Pd=[null],Rd=Array.prototype.slice,Id=1,Bd=2,qd=3,Fd=4,zd=1e-6;Gi.prototype=Xi.prototype={constructor:Gi,each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}
1,copy:function(){return Xi(this).eachBefore(Ji)}};var Ud="$",Hd={depth:-1},Wd={};wo.prototype=Object.create(Gi.prototype);var Xd=(1+Math.sqrt(5))/2,Yd=function t(e){function n(t,n,r,i,o){Co(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Xd),Jd=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,u,c,l,f=-1,h=a.length,d=t.value;++f<h;){for(u=(s=a[f]).children,c=s.value=0,l=u.length;c<l;++c)s.value+=u[c].value;s.dice?po(s,n,r,i,r+=(o-r)*s.value/d):ko(s,n,r,n+=(i-n)*s.value/d,o),d-=s.value}else t._squarify=a=Co(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(Xd),Vd=10,Gd=Math.PI*(3-Math.sqrt(5));Ro.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t},Ho.prototype={constructor:Ho,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=Jo(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(Xo(this,n),n=(t=n).U),n.C=!1,r.C=!0,Yo(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(Yo(this,n),n=(t=n).U),n.C=!1,r.C=!0,Xo(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,o=t.L,a=t.R;if(n=o?a?Jo(a):o:a,i?i.L===t?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=t.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=a,a.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Xo(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Yo(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Xo(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,Yo(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Xo(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,Yo(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Qd,Kd,Zd,tp,ep,np=[],rp=[],ip=1e-6,op=1e-12;ga.prototype={constructor:ga,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return ea(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,r){for(var i,o=n.site,a=n.halfedges,s=-1,u=a.length,c=e[a[u-1]],l=c.left===o?c.right:c.left;++s<u;)i=l,l=(c=e[a[s]]).left===o?c.right:c.left,r<i.index&&r<l.index&&da(o,i,l)<0&&t.push([o.data,i.data,l.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})}},ya.prototype={constructor:ya,scale:function(t){return 1===t?this:new ya(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new ya(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ap=new ya(1,0,0);_a.prototype=ya.prototype;var sp={name:"drag"},up={name:"space"},cp={name:"handle"},lp={name:"center"},fp={name:"x",handles:["e","w"].map(Aa),input:function(t,e){return t&&[[t[0],e[0][1]],[t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},hp={name:"y",handles:["n","s"].map(Aa),input:function(t,e){return t&&[[e[0][0],t[0]],[e[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},dp={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Aa),input:function(t){return t},output:function(t){return t}},pp={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},gp={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},vp={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},mp={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},yp={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},_p=Math.cos,xp=Math.sin,bp=Math.PI,wp=bp/2,kp=2*bp,Cp=Math.max,Tp=Array.prototype.slice;za.prototype={constructor:za,reset:function(){this.s=this.t=0},add:function(t){Ua(rg,t,this.t),Ua(this,rg.s,this.s),this.s?this.t+=rg.t:this.s=rg.t}
vendor: 4,176 bytes, line 1
1,valueOf:function(){return this.s}};var Mp,Sp,Ep,Ap,Np,$p,Dp,Op,jp,Lp,Pp,Rp,Ip,Bp,qp,Fp,zp,Up,Hp,Wp,Xp,Yp,Jp,Vp,Gp,Qp,Kp,Zp,tg,eg,ng,rg=new za,ig=1e-6,og=1e-12,ag=Math.PI,sg=ag/2,ug=ag/4,cg=2*ag,lg=180/ag,fg=ag/180,hg=Math.abs,dg=Math.atan,pg=Math.atan2,gg=Math.cos,vg=Math.ceil,mg=Math.exp,yg=Math.log,_g=Math.pow,xg=Math.sin,bg=Math.sign||function(t){return t>0?1:t<0?-1:0},wg=Math.sqrt,kg=Math.tan,Cg={Feature:function(t,e){Ja(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)Ja(n[r].geometry,e)}},Tg={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Va(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Va(n[r],e,0)},Polygon:function(t,e){Ga(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Ga(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)Ja(n[r],e)}},Mg=Fa(),Sg=Fa(),Eg={point:Ya,lineStart:Ya,lineEnd:Ya,polygonStart:function(){Mg.reset(),Eg.lineStart=Ka,Eg.lineEnd=Za},polygonEnd:function(){var t=+Mg;Sg.add(t<0?cg+t:t),this.lineStart=this.lineEnd=this.point=Ya},sphere:function(){Sg.add(cg)}},Ag=Fa(),Ng={point:cs,lineStart:fs,lineEnd:hs,polygonStart:function(){Ng.point=ds,Ng.lineStart=ps,Ng.lineEnd=gs,Ag.reset(),Eg.polygonStart()},polygonEnd:function(){Eg.polygonEnd(),Ng.point=cs,Ng.lineStart=fs,Ng.lineEnd=hs,Mg<0?($p=-(Op=180),Dp=-(jp=90)):Ag>ig?jp=90:Ag<-ig&&(Dp=-90),qp[0]=$p,qp[1]=Op}},$g={sphere:Ya,point:_s,lineStart:bs,lineEnd:Cs,polygonStart:function(){$g.lineStart=Ts,$g.lineEnd=Ms},polygonEnd:function(){$g.lineStart=bs,$g.lineEnd=Cs}};$s.invert=$s;var Dg,Og,jg,Lg,Pg,Rg,Ig,Bg,qg,Fg,zg,Ug=1e9,Hg=-Ug,Wg=Fa(),Xg={sphere:Ya,point:Ya,lineStart:function(){Xg.point=Ws,Xg.lineEnd=Hs},lineEnd:Ya,polygonStart:Ya,polygonEnd:Ya},Yg=[null,null],Jg={type:"LineString",coordinates:Yg},Vg=Fa(),Gg=Fa(),Qg={point:Ya,lineStart:Ya,lineEnd:Ya,polygonStart:function(){Qg.lineStart=Qs,Qg.lineEnd=tu},polygonEnd:function(){Qg.lineStart=Qg.lineEnd=Qg.point=Ya,Vg.add(hg(Gg)),Gg.reset()},result:function(){var t=Vg/2;return Vg.reset(),t}},Kg=1/0,Zg=Kg,tv=-Kg,ev=tv,nv={point:function(t,e){t<Kg&&(Kg=t),t>tv&&(tv=t),e<Zg&&(Zg=e),e>ev&&(ev=e)},lineStart:Ya,lineEnd:Ya,polygonStart:Ya,polygonEnd:Ya,result:function(){var t=[[Kg,Zg],[tv,ev]];return tv=ev=-(Zg=Kg=1/0),t}},rv=0,iv=0,ov=0,av=0,sv=0,uv=0,cv=0,lv=0,fv=0,hv={point:eu,lineStart:nu,lineEnd:ou,polygonStart:function(){hv.lineStart=au,hv.lineEnd=su},polygonEnd:function(){hv.point=eu,hv.lineStart=nu,hv.lineEnd=ou},result:function(){var t=fv?[cv/fv,lv/fv]:uv?[av/uv,sv/uv]:ov?[rv/ov,iv/ov]:[NaN,NaN];return rv=iv=ov=av=sv=uv=cv=lv=fv=0,t}},dv=Fa(),pv=du(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?ag:-ag,u=hg(o-n);hg(u-ag)<ig?(t.point(n,r=(r+a)/2>0?sg:-sg),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&u>=ag&&(hg(n-i)<ig&&(n-=i*ig),hg(o-s)<ig&&(o-=s*ig),r=function(t,e,n,r){var i,o,a=xg(t-n);return hg(a)>ig?dg((xg(e)*(o=gg(r))*xg(n)-xg(r)*(i=gg(e))*xg(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*sg,r.point(-ag,i),r.point(0,i),r.point(ag,i),r.point(ag,0),r.point(ag,-i),r.point(0,-i),r.point(-ag,-i),r.point(-ag,0),r.point(-ag,i);else if(hg(t[0]-e[0])>ig){var o=t[0]<e[0]?ag:-ag;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])},[-ag,-sg]);mu.prototype={point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var gv=16,vv=gg(30*fg),mv=vu({point:function(t,e){this.stream.point(t*fg,e*fg)}}),yv=Eu(function(t){return wg(2/(1+t))});
1yv.invert=Au(function(t){return 2*Wa(t/2)});var _v=Eu(function(t){return(t=Ha(t))&&t/xg(t)});_v.invert=Au(function(t){return t}),Nu.invert=function(t,e){return[t,2*dg(mg(e))-sg]},ju.invert=ju,Pu.invert=Au(dg),Ru.invert=Au(Wa),Iu.invert=Au(function(t){return 2+dg(t)}),Bu.invert=function(t,e){return[-e,2*dg(mg(t))-sg]},t.version="4.2.1",t.bisect=Fu,t.bisectRight=Fu,t.bisectLeft=zu,t.ascending=e,t.bisector=n,t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=o,t.extent=a,t.histogram=function(){function t(t){var i,o,a=t.length,s=new Array(a);for(i=0;i<a;++i)s[i]=e(t[i],i,t);var u=n(s),c=u[0],f=u[1],h=r(s,c,f);Array.isArray(h)||(h=l(c,f,h));for(var d=h.length;h[0]<=c;)h.shift(),--d;for(;h[d-1]>=f;)h.pop(),--d;var p,g=new Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?h[i-1]:c,p.x1=i<d?h[i]:f;for(i=0;i<a;++i)c<=(o=s[i])&&o<=f&&g[Fu(h,o,0,d)].push(t[i]);return g}var e=u,n=a,r=h;return t.value=function(n){return arguments.length?(e="function"==typeof n?n:s(n),t):e},t.domain=function(e){return arguments.length?(n="function"==typeof e?e:s([e[0],e[1]]),t):n},t.thresholds=function(e){return arguments.length?(r="function"==typeof e?e:s(Array.isArray(e)?Hu.call(e):e),t):r},t},t.thresholdFreedmanDiaconis=function(t,n,i){return t=Wu.call(t,r).sort(e),Math.ceil((i-n)/(2*(d(t,.75)-d(t,.25))*Math.pow(t.length,-1/3)))},t.thresholdScott=function(t,e,n){return Math.ceil((n-e)/(3.5*o(t)*Math.pow(t.length,-1/3)))},t.thresholdSturges=h,t.max=function(t,e){var n,r,i=-1,o=t.length;if(null==e){for(;++i<o;)if(null!=(r=t[i])&&r>=r){n=r;break}for(;++i<o;)null!=(r=t[i])&&r>n&&(n=r)}else{for(;++i<o;)if(null!=(r=e(t[i],i,t))&&r>=r){n=r;break}for(;++i<o;)null!=(r=e(t[i],i,t))&&r>n&&(n=r)}return n},t.mean=function(t,e){var n,i=0,o=t.length,a=-1,s=o;if(null==e)for(;++a<o;)isNaN(n=r(t[a]))?--s:i+=n;else for(;++a<o;)isNaN(n=r(e(t[a],a,t)))?--s:i+=n;if(s)return i/s},t.median=function(t,n){var i,o=[],a=t.length,s=-1;if(null==n)for(;++s<a;)isNaN(i=r(t[s]))||o.push(i);else for(;++s<a;)isNaN(i=r(n(t[s],s,t)))||o.push(i);return d(o.sort(e),.5)},t.merge=p,t.min=g,t.pairs=function(t){for(var e=0,n=t.length-1,r=t[0],i=new Array(n<0?0:n);e<n;)i[e]=[r,r=t[++e]];return i},t.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},t.quantile=d,t.range=c,t.scan=function(t,n){if(r=t.length){var r,i,o=0,a=0,s=t[a];for(n||(n=e);++o<r;)(n(i=t[o],s)<0||0!==n(s,s))&&(s=i,a=o);return 0===n(s,s)?a:void 0}},t.shuffle=function(t,e,n){for(var r,i,o=(null==n?t.length:n)-(e=null==e?0:+e);o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},t.sum=function(t,e){var n,r=0,i=t.length,o=-1;if(null==e)for(;++o<i;)(n=+t[o])&&(r+=n);else for(;++o<i;)(n=+e(t[o],o,t))&&(r+=n);return r},t.ticks=l,t.tickStep=f,t.transpose=v,t.variance=i,t.zip=function(){return v(arguments)},t.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e},t.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},t.map=_,t.set=T,t.nest=function(){function t(r,o,a,s){if(o>=i.length)return null!=n?n(r):null!=e?r.sort(e):r;for(var u,c,l,f=-1,h=r.length,d=i[o++],p=_(),g=a();++f<h;)(l=p.get(u=d(c=r[f])+""))?l.push(c):p.set(u,[c]);return p.each(function(e,n){s(g,n,t(e,o,a,s))}),g}var e,n,r,i=[],o=[];return r={object:function(e){return t(e,0,x,b)},map:function(e){return t(e,0,w,k)},entries:function(e){return function t(e,r){if(++r>i.length)return e;var a,s=o[r-1];return null!=n&&r>=i.length?a=e.entries():(a=[],e.each(function(e,n){a.push({key:n,values:t(e,r)})})),null!=s?a.sort(function(t,e){return s(t.key,e.key)}):a}(t(e,0,w,k),0)},key:function(t){return i.push(t),r},sortKeys:function(t){return o[i.length-1]=t,r},sortValues:function(t){return e=t,r},rollup:function(t){return n=t,r}}},t.randomUniform=function(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return Math.random()*e+t}},t.randomNormal=M,t.randomLogNormal=function(){var t=M.apply(this,arguments);return function(){return Math.exp(t())}},t.randomBates=function(t){var e=S(t);return function(){return e()/t}},t.randomIrwinHall=S,t.randomExponential=function(t){return function(){return-Math.log(1-Math.random())/t}},t.easeLinear=function(t){return+t},t.easeQuad=E,t.easeQuadIn=function(t){return t*t},t.easeQuadOut=function(t){return t*(2-t)},t.easeQuadInOut=E,t.easeCubic=A,t.easeCubicIn=function(t){return t*t*t},t.easeCubicOut=function(t){return--t*t*t+1},t.easeCubicInOut=A,t.easePoly=Zu,t.easePolyIn=Qu,t.easePolyOut=Ku,t.easePolyInOut=Zu,t.easeSin=N,t.easeSinIn=function(t){return 1-Math.cos(t*ec)},t.easeSinOut=function(t){return Math.sin(t*ec)},t.easeSinInOut=N,t.easeExp=D,t.easeExpIn=function(t){return Math.pow(2,10*t-10)},t.easeExpOut=function(t){return 1-Math.pow(2,-10*t)},t.easeExpInOut=D,t.easeCircle=O,t.easeCircleIn=function(t){return 1-Math.sqrt(1-t*t)},t.easeCircleOut=function(t){return Math.sqrt(1- --t*t)},t.easeCircleInOut=O,t.easeBounce=j,t.easeBounceIn=function(t){return 1-j(1-t)},t.easeBounceOut=j,t.easeBounceInOut=function(t){return((t*=2)<=1?1-j(1-t):j(t-1)+1)/2},t.easeBack=gc,t.easeBackIn=dc,t.easeBackOut=pc,t.easeBackInOut=gc,t.easeElastic=yc,t.easeElasticIn=mc,t.easeElasticOut=yc,t.easeElasticInOut=_c,t.polygonArea=function(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[1]*i[0]-e[0]*i[1];return o/2},t.polygonCentroid=function(t){for(var e,n,r=-1,i=t.length,o=0,a=0,s=t[i-1],u=0;++r<i;)e=s,s=t[r],u+=n=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*n,a+=(e[1]+s[1])*n;return[o/(u*=3),a/u]}
1,t.polygonHull=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(P),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var o=R(r),a=R(i),s=a[0]===o[0],u=a[a.length-1]===o[o.length-1],c=[];for(e=o.length-1;e>=0;--e)c.push(t[r[o[e]][2]]);for(e=+s;e<a.length-u;++e)c.push(t[r[a[e]][2]]);return c},t.polygonContains=function(t,e){for(var n,r,i=t.length,o=t[i-1],a=e[0],s=e[1],u=o[0],c=o[1],l=!1,f=0;f<i;++f)n=(o=t[f])[0],(r=o[1])>s!=c>s&&a<(u-n)*(s-r)/(c-r)+n&&(l=!l),u=n,c=r;return l},t.polygonLength=function(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],s=o[1],u=0;++r<i;)e=a,n=s,e-=a=(o=t[r])[0],n-=s=o[1],u+=Math.sqrt(e*e+n*n);return u},t.path=B,t.quadtree=H,t.queue=K,t.arc=function(){function t(){var t,c,l=+e.apply(this,arguments),f=+n.apply(this,arguments),h=o.apply(this,arguments)-Ac,d=a.apply(this,arguments)-Ac,p=Math.abs(d-h),g=d>h;if(u||(u=t=B()),f<l&&(c=f,f=l,l=c),f>Sc)if(p>Nc-Sc)u.moveTo(f*Math.cos(h),f*Math.sin(h)),u.arc(0,0,f,h,d,!g),l>Sc&&(u.moveTo(l*Math.cos(d),l*Math.sin(d)),u.arc(0,0,l,d,h,g));else{var v,m,y=h,_=d,x=h,b=d,w=p,k=p,C=s.apply(this,arguments)/2,T=C>Sc&&(i?+i.apply(this,arguments):Math.sqrt(l*l+f*f)),M=Math.min(Math.abs(f-l)/2,+r.apply(this,arguments)),S=M,E=M;if(T>Sc){var A=ot(T/l*Math.sin(C)),N=ot(T/f*Math.sin(C));(w-=2*A)>Sc?(x+=A*=g?1:-1,b-=A):(w=0,x=b=(h+d)/2),(k-=2*N)>Sc?(y+=N*=g?1:-1,_-=N):(k=0,y=_=(h+d)/2)}var D=f*Math.cos(y),O=f*Math.sin(y),j=l*Math.cos(b),L=l*Math.sin(b);if(M>Sc){var P=f*Math.cos(_),R=f*Math.sin(_),I=l*Math.cos(x),q=l*Math.sin(x);if(p<Ec){var F=w>Sc?function(t,e,n,r,i,o,a,s){var u=n-t,c=r-e,l=a-i,f=s-o,h=(l*(e-o)-f*(t-i))/(f*u-l*c);return[t+h*u,e+h*c]}(D,O,I,q,P,R,j,L):[j,L],z=D-F[0],U=O-F[1],H=P-F[0],W=R-F[1],X=1/Math.sin(Math.acos((z*H+U*W)/(Math.sqrt(z*z+U*U)*Math.sqrt(H*H+W*W)))/2),Y=Math.sqrt(F[0]*F[0]+F[1]*F[1]);S=Math.min(M,(l-Y)/(X-1)),E=Math.min(M,(f-Y)/(X+1))}}k>Sc?E>Sc?(v=at(I,q,D,O,f,E,g),m=at(P,R,j,L,f,E,g),u.moveTo(v.cx+v.x01,v.cy+v.y01),E<M?u.arc(v.cx,v.cy,E,Math.atan2(v.y01,v.x01),Math.atan2(m.y01,m.x01),!g):(u.arc(v.cx,v.cy,E,Math.atan2(v.y01,v.x01),Math.atan2(v.y11,v.x11),!g),u.arc(0,0,f,Math.atan2(v.cy+v.y11,v.cx+v.x11),Math.atan2(m.cy+m.y11,m.cx+m.x11),!g),u.arc(m.cx,m.cy,E,Math.atan2(m.y11,m.x11),Math.atan2(m.y01,m.x01),!g))):(u.moveTo(D,O),u.arc(0,0,f,y,_,!g)):u.moveTo(D,O),l>Sc&&w>Sc?S>Sc?(v=at(j,L,P,R,l,-S,g),m=at(D,O,I,q,l,-S,g),u.lineTo(v.cx+v.x01,v.cy+v.y01),S<M?u.arc(v.cx,v.cy,S,Math.atan2(v.y01,v.x01),Math.atan2(m.y01,m.x01),!g):(u.arc(v.cx,v.cy,S,Math.atan2(v.y01,v.x01),Math.atan2(v.y11,v.x11),!g),u.arc(0,0,l,Math.atan2(v.cy+v.y11,v.cx+v.x11),Math.atan2(m.cy+m.y11,m.cx+m.x11),g),u.arc(m.cx,m.cy,S,Math.atan2(m.y11,m.x11),Math.atan2(m.y01,m.x01),!g))):u.arc(0,0,l,b,x,g):u.lineTo(j,L)}else u.moveTo(0,0);if(u.closePath(),t)return u=null,t+""||null}var e=tt,n=et,r=Z(0),i=null,o=nt,a=rt,s=it,u=null;return t.centroid=function(){var t=(+e.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Ec/2;return[Math.cos(r)*t,Math.sin(r)*t]},t.innerRadius=function(n){return arguments.length?(e="function"==typeof n?n:Z(+n),t):e},t.outerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Z(+e),t):n},t.cornerRadius=function(e){return arguments.length?(r="function"==typeof e?e:Z(+e),t):r},t.padRadius=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:Z(+e),t):i},t.startAngle=function(e){return arguments.length?(o="function"==typeof e?e:Z(+e),t):o},t.endAngle=function(e){return arguments.length?(a="function"==typeof e?e:Z(+e),t):a},t.padAngle=function(e){return arguments.length?(s="function"==typeof e?e:Z(+e),t):s},t.context=function(e){return arguments.length?(u=null==e?null:e,t):u},t},t.area=ht,t.line=ft,t.pie=function(){function t(t){var s,u,c,l,f,h=t.length,d=0,p=new Array(h),g=new Array(h),v=+i.apply(this,arguments),m=Math.min(Nc,Math.max(-Nc,o.apply(this,arguments)-v)),y=Math.min(Math.abs(m)/h,a.apply(this,arguments)),_=y*(m<0?-1:1);for(s=0;s<h;++s)(f=g[p[s]=s]=+e(t[s],s,t))>0&&(d+=f);for(null!=n?p.sort(function(t,e){return n(g[t],g[e])}):null!=r&&p.sort(function(e,n){return r(t[e],t[n])}),s=0,c=d?(m-h*_)/d:0;s<h;++s,v=l)u=p[s],l=v+((f=g[u])>0?f*c:0)+_,g[u]={data:t[u],index:s,value:f,startAngle:v,endAngle:l,padAngle:y};return g}var e=pt,n=dt,r=null,i=Z(0),o=Z(Nc),a=Z(0);return t.value=function(n){return arguments.length?(e="function"==typeof n?n:Z(+n),t):e},t.sortValues=function(e){return arguments.length?(n=e,r=null,t):n},t.sort=function(e){return arguments.length?(r=e,n=null,t):r},t.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Z(+e),t):i},t.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Z(+e),t):o},t.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Z(+e),t):a},t},t.radialArea=function(){var t=ht().curve($c),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radiu
1s=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return mt(n())},delete t.lineX0,t.lineEndAngle=function(){return mt(r())},delete t.lineX1,t.lineInnerRadius=function(){return mt(i())},delete t.lineY0,t.lineOuterRadius=function(){return mt(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(vt(t)):e()._curve},t},t.radialLine=function(){return mt(ft().curve($c))},t.symbol=function(){function t(){var t;if(r||(r=t=B()),e.apply(this,arguments).draw(r,+n.apply(this,arguments)),t)return r=null,t+""||null}var e=Z(Dc),n=Z(64),r=null;return t.type=function(n){return arguments.length?(e="function"==typeof n?n:Z(n),t):e},t.size=function(e){return arguments.length?(n="function"==typeof e?e:Z(+e),t):n},t.context=function(e){return arguments.length?(r=null==e?null:e,t):r},t},t.symbols=Vc,t.symbolCircle=Dc,t.symbolCross=Oc,t.symbolDiamond=Pc,t.symbolSquare=Fc,t.symbolStar=qc,t.symbolTriangle=Uc,t.symbolWye=Jc,t.curveBasisClosed=function(t){return new bt(t)},t.curveBasisOpen=function(t){return new wt(t)},t.curveBasis=function(t){return new xt(t)},t.curveBundle=Gc,t.curveCardinalClosed=Kc,t.curveCardinalOpen=Zc,t.curveCardinal=Qc,t.curveCatmullRomClosed=el,t.curveCatmullRomOpen=nl,t.curveCatmullRom=tl,t.curveLinearClosed=function(t){return new Dt(t)},t.curveLinear=ut,t.curveMonotoneX=function(t){return new Rt(t)},t.curveMonotoneY=function(t){return new It(t)},t.curveNatural=function(t){return new qt(t)},t.curveStep=function(t){return new zt(t,.5)},t.curveStepAfter=function(t){return new zt(t,1)},t.curveStepBefore=function(t){return new zt(t,0)},t.stack=function(){function t(t){var o,a,s=e.apply(this,arguments),u=t.length,c=s.length,l=new Array(c);for(o=0;o<c;++o){for(var f,h=s[o],d=l[o]=new Array(u),p=0;p<u;++p)d[p]=f=[0,+i(t[p],h,p,t)],f.data=t[p];d.key=h}for(o=0,a=n(l);o<c;++o)l[a[o]].index=o;return r(l,a),l}var e=Z([]),n=Ht,r=Ut,i=Wt;return t.keys=function(n){return arguments.length?(e="function"==typeof n?n:Z(rl.call(n)),t):e},t.value=function(e){return arguments.length?(i="function"==typeof e?e:Z(+e),t):i},t.order=function(e){return arguments.length?(n=null==e?Ht:"function"==typeof e?e:Z(rl.call(e)),t):n},t.offset=function(e){return arguments.length?(r=null==e?Ut:e,t):r},t},t.stackOffsetExpand=function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}Ut(t,e)}},t.stackOffsetNone=Ut,t.stackOffsetSilhouette=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}Ut(t,e)}},t.stackOffsetWiggle=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,u=0,c=0;s<i;++s){for(var l=t[e[s]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<s;++d){var p=t[e[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}u+=f,c+=h*f}n[a-1][1]+=n[a-1][0]=o,u&&(o-=c/u)}n[a-1][1]+=n[a-1][0]=o,Ut(t,e)}},t.stackOrderAscending=Xt,t.stackOrderDescending=function(t){return Xt(t).reverse()},t.stackOrderInsideOut=function(t){var e,n,r=t.length,i=t.map(Yt),o=Ht(t).sort(function(t,e){return i[e]-i[t]}),a=0,s=0,u=[],c=[];for(e=0;e<r;++e)n=o[e],a<s?(a+=i[n],u.push(n)):(s+=i[n],c.push(n));return c.reverse().concat(u)},t.stackOrderNone=Ht,t.stackOrderReverse=function(t){return Ht(t).reverse()},t.color=Qt,t.rgb=ee,t.hsl=ie,t.lab=ue,t.hcl=pe,t.cubehelix=ve,t.interpolate=De,t.interpolateArray=Se,t.interpolateDate=Ee,t.interpolateNumber=Ae,t.interpolateObject=Ne,t.interpolateRound=Oe,t.interpolateString=$e,t.interpolateTransformCss=Fl,t.interpolateTransformSvg=zl,t.interpolateZoom=Re,t.interpolateRgb=jl,t.interpolateRgbBasis=Ll,t.interpolateRgbBasisClosed=Pl,t.interpolateHsl=Yl,t.interpolateHslLong=Jl,t.interpolateLab=function(t,e){var n=Te((t=ue(t)).l,(e=ue(e)).l),r=Te(t.a,e.a),i=Te(t.b,e.b),o=Te(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}},t.interpolateHcl=Vl,t.interpolateHclLong=Gl,t.interpolateCubehelix=Ql,t.interpolateCubehelixLong=Kl,t.interpolateBasis=_e,t.interpolateBasisClosed=xe,t.quantize=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n},t.dispatch=Fe,t.dsvFormat=Xe,t.csvParse=rf,t.csvParseRows=of,t.csvFormat=af,t.csvFormatRows=sf,t.tsvParse=cf,t.tsvParseRows=lf,t.tsvFormat=ff,t.tsvFormatRows=hf,t.request=Ye,t.html=df,t.json=pf,t.text=gf,t.xml=vf,t.csv=mf,t.tsv=yf,t.now=Ge,t.timer=Ze,t.timerFlush=tn,t.timeout=on,t.interval=function(t,e,n){var r=new Ke,i=e;return null==e?(r.restart(t,e,n),r):(e=+e,n=null==n?Ge():+n,r.restart(function o(a){a+=i,r.restart(o,i+=e,n),t(a)},e,n),r)},t.timeInterval=an,t.timeMillisecond=Nf,t.timeMilliseconds=$f,t.timeSecond=Lf,t.timeSeconds=Pf,t.timeMinute=Rf,t.timeMinutes=If,t.timeHour=Bf,t.timeHours=qf,t.timeDay=Ff,t.timeDays=zf,t.timeWeek=Uf,t.timeWeeks=Gf,t.timeSunday=Uf,t.timeSundays=Gf,t.timeMonday=Hf,t.timeMondays=Qf,t.timeTuesday=Wf,t.timeTuesdays=Kf,t.timeWednesday=Xf,t.timeWednesdays=Zf,t.timeThursday=Yf,t.timeThursdays=th,t.timeFriday=Jf,t.timeFridays=eh,t.timeSaturday=Vf,t.timeSaturdays=nh,t.timeMonth=rh,t.timeMonths=ih,t.timeYear=oh,t.timeYears=ah,t.utcMillisecond=Nf,t.utcMilliseconds=$f,t.utcSecond=Lf,t.utcSeconds=Pf,t.utcMinute=sh,t.utcMinutes=uh,t.utcHour=ch,t.utcHours=lh,t.utcDay=fh,t.utcDays=hh,t.utcWeek=dh,t.utcWeeks=xh,t.utcSunday=dh,t.utcSundays=xh,t.utcMonday=ph,t.utcMondays=bh,t.utcTuesday=gh,t.utcTuesdays=wh,t.utcWednesday=vh,t.utcWednesdays=kh,t.utcThursday=mh,t.utcThursdays=Ch,t.utcFriday=yh,t.utcFridays=Th,t.utcSaturday=_h,t.utcSaturdays=Mh,t.utcMonth=Sh,t.utcMonths=Eh,t.utcYear=Ah,t.utcYears=$h,t.formatLocale=gn,t.formatDefaultLocale=vn,t.formatSpecifier=hn,t.precisionFixed=mn,t.precisionPrefix=yn,t.precisionRound=_n,t.isoFormat=zh,t.isoParse=Uh,t.timeFormatLocale=kn,t.timeFormatDefaultLocale=mr,t.scaleBand=_r,t.scalePoint=function(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(_r().paddingInner(1))},t.scaleIdentity=function t(){function e(t){return+t}var n=[0,1];return e.invert=e,e.domain=e.range=function(t){return arguments.length?(n=Wh.call(t,br),e):n.slice()},e.copy=function(){return t().domain(n)},Er(e)},t.scaleLinear=function t(){var e=Mr(wr,Ae);return e.copy=function(){return Tr(e,t())},Er(e)},t.scaleLog=function e(){function n(){return a=jr(o),s=Or(o),i()[0]<0&&(a=Lr
1(a),s=Lr(s)),r}var r=Mr(Nr,$r).domain([1,10]),i=r.domain,o=10,a=jr(10),s=Or(10);return r.base=function(t){return arguments.length?(o=+t,n()):o},r.domain=function(t){return arguments.length?(i(t),n()):i()},r.ticks=function(t){var e,n=i(),r=n[0],u=n[n.length-1];(e=u<r)&&(d=r,r=u,u=d);var c,f,h,d=a(r),p=a(u),g=null==t?10:+t,v=[];if(!(o%1)&&p-d<g){if(d=Math.round(d)-1,p=Math.round(p)+1,r>0){for(;d<p;++d)for(f=1,c=s(d);f<o;++f)if(!((h=c*f)<r)){if(h>u)break;v.push(h)}}else for(;d<p;++d)for(f=o-1,c=s(d);f>=1;--f)if(!((h=c*f)<r)){if(h>u)break;v.push(h)}}else v=l(d,p,Math.min(p-d,g)).map(s);return e?v.reverse():v},r.tickFormat=function(e,n){if(null==n&&(n=10===o?".0e":","),"function"!=typeof n&&(n=t.format(n)),e===1/0)return n;null==e&&(e=10);var i=Math.max(1,o*e/r.ticks().length);return function(t){var e=t/s(Math.round(a(t)));return e*o<o-.5&&(e*=o),e<=i?n(t):""}},r.nice=function(){return i(Ar(i(),{floor:function(t){return s(Math.floor(a(t)))},ceil:function(t){return s(Math.ceil(a(t)))}}))},r.copy=function(){return Tr(r,e().base(o))},r},t.scaleOrdinal=yr,t.scaleImplicit=Yh,t.scalePow=Rr,t.scaleSqrt=function(){return Rr().exponent(.5)},t.scaleQuantile=function t(){function n(){var t=0,e=Math.max(1,o.length);for(a=new Array(e-1);++t<e;)a[t-1]=d(i,t/e);return r}function r(t){if(!isNaN(t=+t))return o[Fu(a,t)]}var i=[],o=[],a=[];return r.invertExtent=function(t){var e=o.indexOf(t);return e<0?[NaN,NaN]:[e>0?a[e-1]:i[0],e<a.length?a[e]:i[i.length-1]]},r.domain=function(t){if(!arguments.length)return i.slice();i=[];for(var r,o=0,a=t.length;o<a;++o)null==(r=t[o])||isNaN(r=+r)||i.push(r);return i.sort(e),n()},r.range=function(t){return arguments.length?(o=Xh.call(t),n()):o.slice()},r.quantiles=function(){return a.slice()},r.copy=function(){return t().domain(i).range(o)},r},t.scaleQuantize=function t(){function e(t){if(t<=t)return s[Fu(a,t,0,o)]}function n(){var t=-1;for(a=new Array(o);++t<o;)a[t]=((t+1)*i-(t-o)*r)/(o+1);return e}var r=0,i=1,o=1,a=[.5],s=[0,1];return e.domain=function(t){return arguments.length?(r=+t[0],i=+t[1],n()):[r,i]},e.range=function(t){return arguments.length?(o=(s=Xh.call(t)).length-1,n()):s.slice()},e.invertExtent=function(t){var e=s.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,a[0]]:e>=o?[a[o-1],i]:[a[e-1],a[e]]},e.copy=function(){return t().domain([r,i]).range(s)},Er(e)},t.scaleThreshold=function t(){function e(t){if(t<=t)return r[Fu(n,t,0,i)]}var n=[.5],r=[0,1],i=1;return e.domain=function(t){return arguments.length?(n=Xh.call(t),i=Math.min(n.length,r.length-1),e):n.slice()},e.range=function(t){return arguments.length?(r=Xh.call(t),i=Math.min(n.length,r.length-1),e):r.slice()},e.invertExtent=function(t){var e=r.indexOf(t);return[n[e-1],n[e]]},e.copy=function(){return t().domain(n).range(r)},e},t.scaleTime=function(){return qr(oh,rh,Uf,Ff,Bf,Rf,Lf,Nf,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},t.scaleUtc=function(){return qr(Ah,Sh,dh,fh,ch,sh,Lf,Nf,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},t.schemeCategory10=nd,t.schemeCategory20b=rd,t.schemeCategory20c=id,t.schemeCategory20=od,t.scaleSequential=function t(e){function n(t){var n=(t-r)/(i-r);return e(o?Math.max(0,Math.min(1,n)):n)}var r=0,i=1,o=!1;return n.domain=function(t){return arguments.length?(r=+t[0],i=+t[1],n):[r,i]},n.clamp=function(t){return arguments.length?(o=!!t,n):o},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return t(e).domain([r,i]).clamp(o)},Er(n)},t.interpolateCubehelixDefault=ad,t.interpolateRainbow=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return cd.h=360*t-100,cd.s=1.5-1.5*e,cd.l=.8-.9*e,cd+""},t.interpolateWarm=sd,t.interpolateCool=ud,t.interpolateViridis=ld,t.interpolateMagma=fd,t.interpolateInferno=hd,t.interpolatePlasma=dd,t.creator=Hr,t.customEvent=Qr,t.local=Wr,t.matcher=xd,t.mouse=ti,t.namespace=Ur,t.namespaces=gd,t.select=Ti,t.selectAll=function(t){return"string"==typeof t?new ki([document.querySelectorAll(t)],[document.documentElement]):new ki([null==t?[]:t],kd)},t.selection=Ci,t.selector=ni,t.selectorAll=ii,t.touch=Mi,t.touches=function(t,e){null==e&&(e=Kr().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=Zr(t,e[n]);return i},t.window=li,t.active=function(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>Sd&&n.name===e)return new ji([[t]],Pd,e,+r);return null}
vendor: 6,780 bytes, line 1
1,t.interrupt=$i,t.transition=Li,t.axisTop=function(t){return zi(Id,t)},t.axisRight=function(t){return zi(Bd,t)},t.axisBottom=function(t){return zi(qd,t)},t.axisLeft=function(t){return zi(Fd,t)},t.cluster=function(){function t(t){var o,a=0;t.eachAfter(function(t){var n=t.children;n?(t.x=function(t){return t.reduce(Hi,0)/t.length}(n),t.y=function(t){return 1+t.reduce(Wi,0)}(n)):(t.x=o?a+=e(t,o):0,t.y=0,o=t)});var s=function(t){for(var e;e=t.children;)t=e[0];return t}(t),u=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(t),c=s.x-e(s,u)/2,l=u.x+e(u,s)/2;return t.eachAfter(i?function(e){e.x=(e.x-t.x)*n,e.y=(t.y-e.y)*r}:function(e){e.x=(e.x-c)/(l-c)*n,e.y=(1-(t.y?e.y/t.y:1))*r})}var e=Ui,n=1,r=1,i=!1;return t.separation=function(n){return arguments.length?(e=n,t):e},t.size=function(e){return arguments.length?(i=!1,n=+e[0],r=+e[1],t):i?null:[n,r]},t.nodeSize=function(e){return arguments.length?(i=!0,n=+e[0],r=+e[1],t):i?[n,r]:null},t},t.hierarchy=Xi,t.pack=function(){function t(t){return t.x=n/2,t.y=r/2,e?t.eachBefore(co(e)).eachAfter(lo(i,.5)).eachBefore(fo(1)):t.eachBefore(co(uo)).eachAfter(lo(ao,1)).eachAfter(lo(i,t.r/Math.min(n,r))).eachBefore(fo(Math.min(n,r)/(2*t.r))),t}var e=null,n=1,r=1,i=ao;return t.radius=function(n){return arguments.length?(e=function(t){return null==t?null:oo(t)}(n),t):e},t.size=function(e){return arguments.length?(n=+e[0],r=+e[1],t):[n,r]},t.padding=function(e){return arguments.length?(i="function"==typeof e?e:so(+e),t):i},t},t.packSiblings=function(t){return io(t),t},t.packEnclose=Ki,t.partition=function(){function t(t){var o=t.height+1;return t.x0=t.y0=r,t.x1=e,t.y1=n/o,t.eachBefore(function(t,e){return function(n){n.children&&po(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var i=n.x0,o=n.y0,a=n.x1-r,s=n.y1-r;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),n.x0=i,n.y0=o,n.x1=a,n.y1=s}}(n,o)),i&&t.eachBefore(ho),t}var e=1,n=1,r=0,i=!1;return t.round=function(e){return arguments.length?(i=!!e,t):i},t.size=function(r){return arguments.length?(e=+r[0],n=+r[1],t):[e,n]},t.padding=function(e){return arguments.length?(r=+e,t):r},t},t.stratify=function(){function t(t){var r,i,o,a,s,u,c,l=t.length,f=new Array(l),h={};for(i=0;i<l;++i)r=t[i],s=f[i]=new Gi(r),null!=(u=e(r,i,t))&&(u+="")&&(h[c=Ud+(s.id=u)]=c in h?Wd:s);for(i=0;i<l;++i)if(s=f[i],null!=(u=n(t[i],i,t))&&(u+="")){if(!(a=h[Ud+u]))throw new Error("missing: "+u);if(a===Wd)throw new Error("ambiguous: "+u);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error("multiple roots");o=s}if(!o)throw new Error("no root");if(o.parent=Hd,o.eachBefore(function(t){t.depth=t.parent.depth+1,--l}).eachBefore(Vi),o.parent=null,l>0)throw new Error("cycle");return o}var e=go,n=vo;return t.id=function(n){return arguments.length?(e=oo(n),t):e},t.parentId=function(e){return arguments.length?(n=oo(e),t):n},t},t.tree=function(){function t(t){var u=function(t){for(var e,n,r,i,o,a=new wo(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new wo(r[i],i)),n.parent=e;return(a.parent=new wo(null,0)).children=[a],a}(t);if(u.eachAfter(e),u.parent.m=-u.z,u.eachBefore(n),s)t.eachBefore(r);else{var c=t,l=t,f=t;t.eachBefore(function(t){t.x<c.x&&(c=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)});var h=c===l?1:i(c,l)/2,d=h-c.x,p=o/(l.x+h+d),g=a/(f.depth||1);t.eachBefore(function(t){t.x=(t.x+d)*p,t.y=t.depth*g})}return t}function e(t){var e=t.children,n=t.parent.children,r=t.i?n[t.i-1]:null;if(e){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(t);var o=(e[0].z+e[e.length-1].z)/2;r?(t.z=r.z+i(t._,r._),t.m=t.z-o):t.z=o}else r&&(t.z=r.z+i(t._,r._));t.parent.A=function(t,e,n){if(e){for(var r,o=t,a=t,s=e,u=o.parent.children[0],c=o.m,l=a.m,f=s.m,h=u.m;s=_o(s),o=yo(o),s&&o;)u=yo(u),(a=_o(a)).a=t,(r=s.z+f-o.z-c+i(s._,o._))>0&&(xo(bo(s,t,n),t,r),c+=r,l+=r),f+=s.m,c+=o.m,h+=u.m,l+=a.m;s&&!_o(a)&&(a.t=s,a.m+=f-l),o&&!yo(u)&&(u.t=o,u.m+=c-h,n=t)}return n}(t,r,t.parent.A||n[0])}function n(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t){t.x*=o,t.y=t.depth*a}var i=mo,o=1,a=1,s=null;return t.separation=function(e){return arguments.length?(i=e,t):i},t.size=function(e){return arguments.length?(s=!1,o=+e[0],a=+e[1],t):s?null:[o,a]},t.nodeSize=function(e){return arguments.length?(s=!0,o=+e[0],a=+e[1],t):s?[o,a]:null},t},t.treemap=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(e),a=[0],r&&t.eachBefore(ho),t}function e(t){var e=a[t.depth],r=t.x0+e,i=t.y0+e,o=t.x1-e,h=t.y1-e;o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=h,t.children&&(e=a[t.depth+1]=s(t)/2,r+=f(t)-e,i+=u(t)-e,(o-=c(t)-e)<r&&(r=o=(r+o)/2),(h-=l(t)-e)<i&&(i=h=(i+h)/2),n(t,r,i,o,h))}var n=Yd,r=!1,i=1,o=1,a=[0],s=ao,u=ao,c=ao,l=ao,f=ao;return t.round=function(e){return arguments.length?(r=!!e,t):r},t.size=function(e){return arguments.length?(i=+e[0],o=+e[1],t):[i,o]},t.tile=function(e){return arguments.length?(n=oo(e),t):n},t.padding=function(e){return arguments.length?t.paddingInner(e).paddingOuter(e):t.paddingInner()},t.paddingInner=function(e){return arguments.length?(s="function"==typeof e?e:so(+e),t):s},t.paddingOuter=function(e){return arguments.length?t.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):t.paddingTop()},t.paddingTop=function(e){return arguments.length?(u="function"==typeof e?e:so(+e),t):u},t.paddingRight=function(e){return arguments.length?(c="function"==typeof e?e:so(+e),t):c},t.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:so(+e),t):l},t.paddingLeft=function(e){return arguments.length?(f="function"==typeof e?e:so(+e),t):f},t},t.treemapBinary=function(t,e,n,r,i){var o,a,s=t.children,u=s.length,c=new Array(u+1);for(c[0]=a=o=0;o<u;++o)c[o+1]=a+=s[o].value;!function t(e,n,r,i,o,a,u){if(e>=n-1){var l=s[e];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=u)}for(var f=c[e],h=r/2+f,d=e+1,p=n-1;d<p;){var g=d+p>>>1;c[g]<h?d=g+1:p=g}var v=c[d]-f,m=r-v;if(u-o>a-i){var y=(o*m+u*v)/r;t(e,d,v,i,o,a,y),t(d,n,m,i,y,a,u)}else{var _=(i*m+a*v)/r;t(e,d,v,i,o,_,u),t(d,n,m,_,o,a,u)}}(0,u,t.value,e,n,r,i)},t.treemapDice=po,t.treemapSlice=ko,t.treemapSliceDice=function(t,e,n,r,i){(1&t.depth?ko:po)(t,e,n,r,i)},t.treemapSquarify=Yd,t.treemapResquarify=Jd,t.forceCenter=function(t,e){function n(){var n,i,o=r.length,a=0,s=0;for(n=0;n<o;++n)a+=(i=r[n]).x,s+=i.y;for(a=a/o-t,s=s/o-e,n=0;n<o;++n)(i=r[n]).x-=a,i.y-=s}var r;return null==t&&(t=0),null==e&&(e=0),n.initialize=function(t){r=t},n.x=function(e){return arguments.length?(t=+e,n):t},n.y=function(t){return arguments.length?(e=+t,n):e},n},t.forceCollide=function(t){function e(){function t(t,n,r,i,a){var s=t.data,d=t.r,p=f+d;if(!s)return n>c+p||i<c-p||r>l+p||a<l-p;if(s.index>e){var g=c-s.x-s.vx,v=l-s.y-s.vy,m=g*g+v*v;
1m<p*p&&(0===g&&(m+=(g=Mo())*g),0===v&&(m+=(v=Mo())*v),m=(p-(m=Math.sqrt(m)))/m*o,u.vx+=(g*=m)*(p=(d*=d)/(h+d)),u.vy+=(v*=m)*p,s.vx-=g*(p=1-p),s.vy-=v*p)}}for(var e,s,u,c,l,f,h,d=r.length,p=0;p<a;++p)for(s=H(r,So,Eo).visitAfter(n),e=0;e<d;++e)u=r[e],f=i[e],h=f*f,c=u.x+u.vx,l=u.y+u.vy,s.visit(t)}function n(t){if(t.data)return t.r=i[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}var r,i,o=1,a=1;return"function"!=typeof t&&(t=To(null==t?1:+t)),e.initialize=function(e){var n,o=(r=e).length;for(i=new Array(o),n=0;n<o;++n)i[n]=+t(r[n],n,r)},e.iterations=function(t){return arguments.length?(a=+t,e):a},e.strength=function(t){return arguments.length?(o=+t,e):o},e.radius=function(n){return arguments.length?(t="function"==typeof n?n:To(+n),e):t},e},t.forceLink=function(t){function e(e){for(var n=0,r=t.length;n<d;++n)for(var i,s,u,l,f,h,p,g=0;g<r;++g)s=(i=t[g]).source,l=(u=i.target).x+u.vx-s.x-s.vx||Mo(),f=u.y+u.vy-s.y-s.vy||Mo(),l*=h=((h=Math.sqrt(l*l+f*f))-a[g])/h*e*o[g],f*=h,u.vx-=l*(p=c[g]),u.vy-=f*p,s.vx+=l*(p=1-p),s.vy+=f*p}function n(){if(s){var e,n,f=s.length,h=t.length,d=_(s,l);for(e=0,u=new Array(f);e<f;++e)u[e]=0;for(e=0;e<h;++e)(n=t[e]).index=e,"object"!=typeof n.source&&(n.source=d.get(n.source)),"object"!=typeof n.target&&(n.target=d.get(n.target)),++u[n.source.index],++u[n.target.index];for(e=0,c=new Array(h);e<h;++e)n=t[e],c[e]=u[n.source.index]/(u[n.source.index]+u[n.target.index]);o=new Array(h),r(),a=new Array(h),i()}}function r(){if(s)for(var e=0,n=t.length;e<n;++e)o[e]=+f(t[e],e,t)}function i(){if(s)for(var e=0,n=t.length;e<n;++e)a[e]=+h(t[e],e,t)}var o,a,s,u,c,l=Ao,f=function(t){return 1/Math.min(u[t.source.index],u[t.target.index])},h=To(30),d=1;return null==t&&(t=[]),e.initialize=function(t){s=t,n()},e.links=function(r){return arguments.length?(t=r,n(),e):t},e.id=function(t){return arguments.length?(l=t,e):l},e.iterations=function(t){return arguments.length?(d=+t,e):d},e.strength=function(t){return arguments.length?(f="function"==typeof t?t:To(+t),r(),e):f},e.distance=function(t){return arguments.length?(h="function"==typeof t?t:To(+t),i(),e):h},e},t.forceManyBody=function(){function t(t){var e,s=i.length,u=H(i,No,$o).visitAfter(n);for(a=t,e=0;e<s;++e)o=i[e],u.visit(r)}function e(){if(i){var t,e=i.length;for(s=new Array(e),t=0;t<e;++t)s[t]=+u(i[t],t,i)}}function n(t){var e,n,r,i,o,a=0;if(t.length){for(r=i=o=0;o<4;++o)(e=t[o])&&(n=e.value)&&(a+=n,r+=n*e.x,i+=n*e.y);t.x=r/a,t.y=i/a}else{(e=t).x=e.data.x,e.y=e.data.y;do{a+=s[e.data.index]}while(e=e.next)}t.value=a}function r(t,e,n,r){if(!t.value)return!0;var i=t.x-o.x,u=t.y-o.y,h=r-e,d=i*i+u*u;if(h*h/f<d)return d<l&&(0===i&&(d+=(i=Mo())*i),0===u&&(d+=(u=Mo())*u),d<c&&(d=Math.sqrt(c*d)),o.vx+=i*t.value*a/d,o.vy+=u*t.value*a/d),!0;if(!(t.length||d>=l)){(t.data!==o||t.next)&&(0===i&&(d+=(i=Mo())*i),0===u&&(d+=(u=Mo())*u),d<c&&(d=Math.sqrt(c*d)));do{t.data!==o&&(h=s[t.data.index]*a/d,o.vx+=i*h,o.vy+=u*h)}while(t=t.next)}}var i,o,a,s,u=To(-30),c=1,l=1/0,f=.81;return t.initialize=function(t){i=t,e()},t.strength=function(n){return arguments.length?(u="function"==typeof n?n:To(+n),e(),t):u},t.distanceMin=function(e){return arguments.length?(c=e*e,t):Math.sqrt(c)},t.distanceMax=function(e){return arguments.length?(l=e*e,t):Math.sqrt(l)},t.theta=function(e){return arguments.length?(f=e*e,t):Math.sqrt(f)},t},t.forceSimulation=function(t){function e(){n(),d.call("tick",o),a<s&&(h.stop(),d.call("end",o))}function n(){var e,n,r=t.length;for(a+=(c-a)*u,f.each(function(t){t(a)}),e=0;e<r;++e)null==(n=t[e]).fx?n.x+=n.vx*=l:(n.x=n.fx,n.vx=0),null==n.fy?n.y+=n.vy*=l:(n.y=n.fy,n.vy=0)}function r(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,isNaN(e.x)||isNaN(e.y)){var i=Vd*Math.sqrt(n),o=n*Gd;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function i(e){return e.initialize&&e.initialize(t),e}var o,a=1,s=.001,u=1-Math.pow(s,1/300),c=0,l=.6,f=_(),h=Ze(e),d=Fe("tick","end");return null==t&&(t=[]),r(),o={tick:n,restart:function(){return h.restart(e),o},stop:function(){return h.stop(),o},nodes:function(e){return arguments.length?(t=e,r(),f.each(i),o):t},alpha:function(t){return arguments.length?(a=+t,o):a},alphaMin:function(t){return arguments.length?(s=+t,o):s},alphaDecay:function(t){return arguments.length?(u=+t,o):+u},alphaTarget:function(t){return arguments.length?(c=+t,o):c},velocityDecay:function(t){return arguments.length?(l=1-t,o):1-l},force:function(t,e){return arguments.length>1?(null==e?f.remove(t):f.set(t,i(e)),o):f.get(t)},find:function(e,n,r){var i,o,a,s,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c<l;
1++c)(a=(i=e-(s=t[c]).x)*i+(o=n-s.y)*o)<r&&(u=s,r=a);return u},on:function(t,e){return arguments.length>1?(d.on(t,e),o):d.on(t)}}},t.forceX=function(t){function e(t){for(var e,n=0,a=r.length;n<a;++n)(e=r[n]).vx+=(o[n]-e.x)*i[n]*t}function n(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)i[e]=isNaN(o[e]=+t(r[e],e,r))?0:+a(r[e],e,r)}}var r,i,o,a=To(.1);return"function"!=typeof t&&(t=To(null==t?0:+t)),e.initialize=function(t){r=t,n()},e.strength=function(t){return arguments.length?(a="function"==typeof t?t:To(+t),n(),e):a},e.x=function(r){return arguments.length?(t="function"==typeof r?r:To(+r),n(),e):t},e},t.forceY=function(t){function e(t){for(var e,n=0,a=r.length;n<a;++n)(e=r[n]).vy+=(o[n]-e.y)*i[n]*t}function n(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)i[e]=isNaN(o[e]=+t(r[e],e,r))?0:+a(r[e],e,r)}}var r,i,o,a=To(.1);return"function"!=typeof t&&(t=To(null==t?0:+t)),e.initialize=function(t){r=t,n()},e.strength=function(t){return arguments.length?(a="function"==typeof t?t:To(+t),n(),e):a},e.y=function(r){return arguments.length?(t="function"==typeof r?r:To(+r),n(),e):t},e},t.drag=function(){function e(t){t.on("mousedown.drag",n).on("touchstart.drag",o).on("touchmove.drag",a).on("touchend.drag touchcancel.drag",s).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(){if(!l&&f.apply(this,arguments)){var e=u("mouse",h.apply(this,arguments),ti,this,arguments);e&&(Ti(t.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",i,!0),jo(t.event.view),Do(),c=!1,e("start"))}}function r(){Oo(),c=!0,p.mouse("drag")}function i(){Ti(t.event.view).on("mousemove.drag mouseup.drag",null),Lo(t.event.view,c),Oo(),p.mouse("end")}function o(){if(f.apply(this,arguments)){var e,n,r=t.event.changedTouches,i=h.apply(this,arguments),o=r.length;for(e=0;e<o;++e)(n=u(r[e].identifier,i,Mi,this,arguments))&&(Do(),n("start"))}}function a(){var e,n,r=t.event.changedTouches,i=r.length;for(e=0;e<i;++e)(n=p[r[e].identifier])&&(Oo(),n("drag"))}function s(){var e,n,r=t.event.changedTouches,i=r.length;for(l&&clearTimeout(l),l=setTimeout(function(){l=null},500),e=0;e<i;++e)(n=p[r[e].identifier])&&(Do(),n("end"))}function u(n,r,i,o,a){var s,u,c,l=i(r,n),f=g.copy();if(Qr(new Ro(e,"beforestart",s,n,v,l[0],l[1],0,0,f),function(){return null!=(t.event.subject=s=d.apply(o,a))&&(u=s.x-l[0]||0,c=s.y-l[1]||0,!0)}))return function t(h){var d,g=l;switch(h){case"start":p[n]=t,d=v++;break;case"end":delete p[n],--v;case"drag":l=i(r,n),d=v}Qr(new Ro(e,h,s,n,d,l[0]+u,l[1]+c,l[0]-g[0],l[1]-g[1],f),f.apply,f,[h,o,a])}}var c,l,f=Io,h=Bo,d=qo,p={},g=Fe("start","drag","end"),v=0;return e.filter=function(t){return arguments.length?(f="function"==typeof t?t:Po(!!t),e):f},e.container=function(t){return arguments.length?(h="function"==typeof t?t:Po(t),e):h},e.subject=function(t){return arguments.length?(d="function"==typeof t?t:Po(t),e):d},e.on=function(){var t=g.on.apply(g,arguments);return t===g?e:t},e},t.dragDisable=jo,t.dragEnable=Lo,t.voronoi=function(){function t(t){return new ga(t.map(function(r,i){var o=[Math.round(e(r,i,t)/ip)*ip,Math.round(n(r,i,t)/ip)*ip];return o.index=i,o.data=r,o}),r)}var e=zo,n=Uo,r=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(n){return arguments.length?(e="function"==typeof n?n:Fo(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Fo(+e),t):n},t.extent=function(e){return arguments.length?(r=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},t.size=function(e){return arguments.length?(r=null==e?null:[[0,0],[+e[0],+e[1]]],t):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},t},t.zoom=function(){function e(t){t.on("wheel.zoom",c).on("mousedown.zoom",l).on("dblclick.zoom",f).on("touchstart.zoom",h).on("touchmove.zoom",d).on("touchend.zoom touchcancel.zoom",p).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",Ca)}function n(t,e){return(e=Math.max(_,Math.min(x,e)))===t.k?t:new ya(e,t.x,t.y)}function r(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new ya(t.k,r,i)}function i(t,e){var n=Math.min(0,t.invertX(e[0][0])-b)||Math.max(0,t.invertX(e[1][0])-w),r=Math.min(0,t.invertY(e[0][1])-k)||Math.max(0,t.invertY(e[1][1])-C);return n||r?t.translate(n,r):t}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function a(t,e,n){t.on("start.zoom",function(){s(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){s(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=s(t,r),a=y.apply(t,r),u=n||o(a),c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),l=t.__zoom,f="function"==typeof e?e.apply(t,r):e,h=Re(l.invert(u).concat(c/l.k),f.invert(u).concat(c/f.k));return function(t){if(1===t)t=f;else{var e=h(t),n=c/e[2];t=new ya(n,u[0]-e[0]*n,u[1]-e[1]*n)}i.zoom(null,t)}})}function s(t,e){for(var n,r=0,i=M.length;r<i;++r)if((n=M[r]).that===t)return n;return new u(t,e)}function u(t,e){this.that=t,this.args=e,this.index=-1,this.active=0,this.extent=y.apply(t,e)}function c(){if(m.apply(this,arguments)){var e=s(this,arguments),o=this.__zoom,a=Math.max(_,Math.min(x,o.k*Math.pow(2,-t.event.deltaY*(t.event.deltaMode?
1120:1)/500))),u=ti(this);if(e.wheel)e.mouse[0][0]===u[0]&&e.mouse[0][1]===u[1]||(e.mouse[1]=o.invert(e.mouse[0]=u)),clearTimeout(e.wheel);else{if(o.k===a)return;e.mouse=[u,o.invert(u)],$i(this),e.start()}ba(),e.wheel=setTimeout(function(){e.wheel=null,e.end()},A),e.zoom("mouse",i(r(n(o,a),e.mouse[0],e.mouse[1]),e.extent))}}function l(){if(!v&&m.apply(this,arguments)){var e=s(this,arguments),n=Ti(t.event.view).on("mousemove.zoom",function(){ba(),e.moved=!0,e.zoom("mouse",i(r(e.that.__zoom,e.mouse[0]=ti(e.that),e.mouse[1]),e.extent))},!0).on("mouseup.zoom",function(){n.on("mousemove.zoom mouseup.zoom",null),Lo(t.event.view,e.moved),ba(),e.end()},!0),o=ti(this);jo(t.event.view),xa(),e.mouse=[o,this.__zoom.invert(o)],$i(this),e.start()}}function f(){if(m.apply(this,arguments)){var o=this.__zoom,s=ti(this),u=o.invert(s),c=i(r(n(o,o.k*(t.event.shiftKey?.5:2)),s,u),y.apply(this,arguments));ba(),T>0?Ti(this).transition().duration(T).call(a,c,s):Ti(this).call(e.transform,c)}}function h(){if(m.apply(this,arguments)){var e,n,r,i=s(this,arguments),o=t.event.changedTouches,a=o.length;for(xa(),e=0;e<a;++e)r=[r=Mi(this,o,(n=o[e]).identifier),this.__zoom.invert(r),n.identifier],i.touch0?i.touch1||(i.touch1=r):i.touch0=r;return g&&(g=clearTimeout(g),!i.touch1)?(i.end(),f.apply(this,arguments)):void(t.event.touches.length===a&&(g=setTimeout(function(){g=null},E),$i(this),i.start()))}}function d(){var e,o,a,u,c=s(this,arguments),l=t.event.changedTouches,f=l.length;for(ba(),g&&(g=clearTimeout(g)),e=0;e<f;++e)a=Mi(this,l,(o=l[e]).identifier),c.touch0&&c.touch0[2]===o.identifier?c.touch0[0]=a:c.touch1&&c.touch1[2]===o.identifier&&(c.touch1[0]=a);if(o=c.that.__zoom,c.touch1){var h=c.touch0[0],d=c.touch0[1],p=c.touch1[0],v=c.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,y=(y=v[0]-d[0])*y+(y=v[1]-d[1])*y;o=n(o,Math.sqrt(m/y)),a=[(h[0]+p[0])/2,(h[1]+p[1])/2],u=[(d[0]+v[0])/2,(d[1]+v[1])/2]}else{if(!c.touch0)return;a=c.touch0[0],u=c.touch0[1]}c.zoom("touch",i(r(o,a,u),c.extent))}function p(){var e,n,r=s(this,arguments),i=t.event.changedTouches,o=i.length;for(xa(),v&&clearTimeout(v),v=setTimeout(function(){v=null},E),e=0;e<o;++e)n=i[e],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0||r.end()}var g,v,m=wa,y=ka,_=0,x=1/0,b=-x,w=x,k=b,C=w,T=250,M=[],S=Fe("start","zoom","end"),E=500,A=150;return e.transform=function(t,e){var n=t.selection?t.selection():t;n.property("__zoom",Ca),t!==n?a(t,e):n.interrupt().each(function(){s(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},e.scaleBy=function(t,n){e.scaleTo(t,function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)})},e.scaleTo=function(t,a){e.transform(t,function(){var t=y.apply(this,arguments),e=this.__zoom,s=o(t),u=e.invert(s);return i(r(n(e,"function"==typeof a?a.apply(this,arguments):a),s,u),t)})},e.translateBy=function(t,n,r){e.transform(t,function(){return i(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof r?r.apply(this,arguments):r),y.apply(this,arguments))})},u.prototype={start:function(){return 1==++this.active&&(this.index=M.push(this)-1,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(M.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){Qr(new ma(e,t,this.that.__zoom),S.apply,S,[t,this.that,this.args])}},e.filter=function(t){return arguments.length?(m="function"==typeof t?t:va(!!t),e):m},e.extent=function(t){return arguments.length?(y="function"==typeof t?t:va([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):y},e.scaleExtent=function(t){return arguments.length?(_=+t[0],x=+t[1],e):[_,x]},e.translateExtent=function(t){return arguments.length?(b=+t[0][0],w=+t[1][0],k=+t[0][1],C=+t[1][1],e):[[b,k],[w,C]]},e.duration=function(t){return arguments.length?(T=+t,e):T},e.on=function(){var t=S.on.apply(S,arguments);return t===S?e:t},e},t.zoomIdentity=ap,t.zoomTransform=_a,t.brush=function(){return ja(dp)},t.brushX=function(){return ja(fp)},t.brushY=function(){return ja(hp)},t.brushSelection=function(t){var e=t.__brush;return e?e.dim.output(e.selection):null},t.chord=function(){function t(t){var o,a,s,u,l,f,h=t.length,d=[],p=c(h),g=[],v=[],m=v.groups=new Array(h),y=new Array(h*h);for(o=0,l=-1;++l<h;){for(a=0,f=-1;++f<h;)a+=t[l][f];
1d.push(a),g.push(c(h)),o+=a}for(n&&p.sort(function(t,e){return n(d[t],d[e])}),r&&g.forEach(function(e,n){e.sort(function(e,i){return r(t[n][e],t[n][i])})}),u=(o=Cp(0,kp-e*h)/o)?e:kp/h,a=0,l=-1;++l<h;){for(s=a,f=-1;++f<h;){var _=p[l],x=g[_][f],b=t[_][x],w=a,k=a+=b*o;y[x*h+_]={index:_,subindex:x,startAngle:w,endAngle:k,value:b}}m[_]={index:_,startAngle:s,endAngle:a,value:d[_]},a+=u}for(l=-1;++l<h;)for(f=l-1;++f<h;){var C=y[f*h+l],T=y[l*h+f];(C.value||T.value)&&v.push(C.value<T.value?{source:T,target:C}:{source:C,target:T})}return i?v.sort(i):v}var e=0,n=null,r=null,i=null;return t.padAngle=function(n){return arguments.length?(e=Cp(0,n),t):e},t.sortGroups=function(e){return arguments.length?(n=e,t):n},t.sortSubgroups=function(e){return arguments.length?(r=e,t):r},t.sortChords=function(e){return arguments.length?(null==e?i=null:(i=function(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}(e))._=e,t):i&&i._},t},t.ribbon=function(){function t(){var t,s=Tp.call(arguments),u=e.apply(this,s),c=n.apply(this,s),l=+r.apply(this,(s[0]=u,s)),f=i.apply(this,s)-wp,h=o.apply(this,s)-wp,d=l*_p(f),p=l*xp(f),g=+r.apply(this,(s[0]=c,s)),v=i.apply(this,s)-wp,m=o.apply(this,s)-wp;if(a||(a=t=B()),a.moveTo(d,p),a.arc(0,0,l,f,h),f===v&&h===m||(a.quadraticCurveTo(0,0,g*_p(v),g*xp(v)),a.arc(0,0,g,v,m)),a.quadraticCurveTo(0,0,d,p),a.closePath(),t)return a=null,t+""||null}var e=Pa,n=Ra,r=Ia,i=Ba,o=qa,a=null;return t.radius=function(e){return arguments.length?(r="function"==typeof e?e:La(+e),t):r},t.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:La(+e),t):i},t.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:La(+e),t):o},t.source=function(n){return arguments.length?(e=n,t):e},t.target=function(e){return arguments.length?(n=e,t):n},t.context=function(e){return arguments.length?(a=null==e?null:e,t):a},t},t.geoAlbers=Su,t.geoAlbersUsa=function(){function t(t){var e=t[0],n=t[1];return a=null,r.point(e,n),a||(i.point(e,n),a)||(o.point(e,n),a)}var e,n,r,i,o,a,s=Su(),u=Mu().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=Mu().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,e){a=[t,e]}};return t.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:s).invert(t)},t.stream=function(t){return e&&n===t?e:e=function(t){var e=t.length;return{point:function(n,r){for(var i=-1;++i<e;)t[i].point(n,r)},sphere:function(){for(var n=-1;++n<e;)t[n].sphere()},lineStart:function(){for(var n=-1;++n<e;)t[n].lineStart()},lineEnd:function(){for(var n=-1;++n<e;)t[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<e;)t[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<e;)t[n].polygonEnd()}}}([s.stream(n=t),u.stream(t),c.stream(t)])},t.precision=function(e){return arguments.length?(s.precision(e),u.precision(e),c.precision(e),t):s.precision()},t.scale=function(e){return arguments.length?(s.scale(e),u.scale(.35*e),c.scale(e),t.translate(s.translate())):s.scale()},t.translate=function(e){if(!arguments.length)return s.translate();var n=s.scale(),a=+e[0],f=+e[1];return r=s.translate(e).clipExtent([[a-.455*n,f-.238*n],[a+.455*n,f+.238*n]]).stream(l),i=u.translate([a-.307*n,f+.201*n]).clipExtent([[a-.425*n+ig,f+.12*n+ig],[a-.214*n-ig,f+.234*n-ig]]).stream(l),o=c.translate([a-.205*n,f+.212*n]).clipExtent([[a-.214*n+ig,f+.166*n+ig],[a-.115*n-ig,f+.234*n-ig]]).stream(l),t},t.fitExtent=xu(t),t.fitSize=_u(t),t.scale(1070)},t.geoArea=function(t){return Sg.reset(),Qa(t,Eg),2*Sg},t.geoAzimuthalEqualArea=function(){return wu(yv).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=yv,t.geoAzimuthalEquidistant=function(){return wu(_v).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=_v,t.geoBounds=function(t){var e,n,r,i,o,a,s;if(jp=Op=-($p=Dp=1/0),Bp=[],Qa(t,Ng),n=Bp.length){for(Bp.sort(ms),e=1,o=[r=Bp[0]];e<n;++e)ys(r,(i=Bp[e])[0])||ys(r,i[1])?(vs(r[0],i[1])>vs(r[0],r[1])&&(r[1]=i[1]),vs(i[0],r[1])>vs(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(s=vs(r[1],i[0]))>a&&(a=s,$p=i[0],Op=r[1])}return Bp=qp=null,$p===1/0||Dp===1/0?[[NaN,NaN],[NaN,NaN]]:[[$p,Dp],[Op,jp]]},t.geoCentroid=function(t){Fp=zp=Up=Hp=Wp=Xp=Yp=Jp=Vp=Gp=Qp=0,Qa(t,$g);var e=Vp,n=Gp,r=Qp,i=e*e+n*n+r*r;return i<og&&(e=Xp,n=Yp,r=Jp,zp<ig&&(e=Up,n=Hp,r=Wp),(i=e*e+n*n+r*r)<og)?[NaN,NaN]:[pg(n,e)*lg,Wa(r/wg(i))*lg]},t.geoCircle=function(){function t(){var t=r.apply(this,arguments),s=i.apply(this,arguments)*fg,u=o.apply(this,arguments)*fg;return e=[],n=Ds(-t[0]*fg,-t[1]*fg,0).invert,Ps(a,s,u,1),t={type:"Polygon",coordinates:[e]},e=n=null,t}var e,n,r=As([0,0]),i=As(90),o=As(6),a={point:function(t,r){e.push(t=n(t,r)),t[0]*=lg,t[1]*=lg}};return t.center=function(e){return arguments.length?(r="function"==typeof e?e:As([+e[0],+e[1]]),t):r}
vendor: 4,274 bytes, line 1
1,t.radius=function(e){return arguments.length?(i="function"==typeof e?e:As(+e),t):i},t.precision=function(e){return arguments.length?(o="function"==typeof e?e:As(+e),t):o},t},t.geoClipExtent=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=Us(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}},t.geoConicConformal=function(){return Cu(Ou).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=Ou,t.geoConicEqualArea=Mu,t.geoConicEqualAreaRaw=Tu,t.geoConicEquidistant=function(){return Cu(Lu).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=Lu,t.geoDistance=function(t,e){return Yg[0]=t,Yg[1]=e,Ys(Jg)},t.geoEquirectangular=function(){return wu(ju).scale(152.63)},t.geoEquirectangularRaw=ju,t.geoGnomonic=function(){return wu(Pu).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=Pu,t.geoGraticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return c(vg(o/m)*m,i,m).map(d).concat(c(vg(l/y)*y,u,y).map(p)).concat(c(vg(r/g)*g,n,g).filter(function(t){return hg(t%m)>ig}).map(f)).concat(c(vg(s/v)*v,a,v).filter(function(t){return hg(t%y)>ig}).map(h))}var n,r,i,o,a,s,u,l,f,h,d,p,g=10,v=g,m=90,y=360,_=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(p(u).slice(1),d(i).reverse().slice(1),p(l).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.extentMajor(e).extentMinor(e):t.extentMinor()},t.extentMajor=function(e){return arguments.length?(o=+e[0][0],i=+e[1][0],l=+e[0][1],u=+e[1][1],o>i&&(e=o,o=i,i=e),l>u&&(e=l,l=u,u=e),t.precision(_)):[[o,l],[i,u]]},t.extentMinor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),t.precision(_)):[[r,s],[n,a]]},t.step=function(e){return arguments.length?t.stepMajor(e).stepMinor(e):t.stepMinor()},t.stepMajor=function(e){return arguments.length?(m=+e[0],y=+e[1],t):[m,y]},t.stepMinor=function(e){return arguments.length?(g=+e[0],v=+e[1],t):[g,v]},t.precision=function(e){return arguments.length?(_=+e,f=Js(s,a,90),h=Vs(r,n,_),d=Js(l,u,90),p=Vs(o,i,_),t):_},t.extentMajor([[-180,-90+ig],[180,90-ig]]).extentMinor([[-180,-80-ig],[180,80+ig]])},t.geoInterpolate=function(t,e){var n=t[0]*fg,r=t[1]*fg,i=e[0]*fg,o=e[1]*fg,a=gg(r),s=xg(r),u=gg(o),c=xg(o),l=a*gg(n),f=a*xg(n),h=u*gg(i),d=u*xg(i),p=2*Wa(wg(Xa(o-r)+a*u*Xa(i-n))),g=xg(p),v=p?function(t){var e=xg(t*=p)/g,n=xg(p-t)/g,r=n*l+e*h,i=n*f+e*d,o=n*s+e*c;return[pg(i,r)*lg,pg(o,wg(r*r+i*i))*lg]}:function(){return[n*lg,r*lg]};return v.distance=p,v},t.geoLength=Ys,t.geoMercator=function(){return $u(Nu).scale(961/cg)},t.geoMercatorRaw=Nu,t.geoOrthographic=function(){return wu(Ru).scale(249.5).clipAngle(90+ig)},t.geoOrthographicRaw=Ru,t.geoPath=function(){function t(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),Qa(t,n(i))),i.result()}var e,n,r,i,o=4.5;return t.area=function(t){return Qa(t,n(Qg)),Qg.result()},t.bounds=function(t){return Qa(t,n(nv)),nv.result()},t.centroid=function(t){return Qa(t,n(hv)),hv.result()},t.projection=function(r){return arguments.length?(n=null==(e=r)?Gs:r.stream,t):e},t.context=function(e){return arguments.length?(i=null==(r=e)?new fu:new lu(e),"function"!=typeof o&&i.pointRadius(o),t):r},t.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:(i.pointRadius(+e),+e),t):o},t.projection(null).context(null)},t.geoProjection=wu,t.geoProjectionMutator=ku,t.geoRotation=function(t){function e(e){return(e=t(e[0]*fg,e[1]*fg))[0]*=lg,e[1]*=lg,e}return t=Ds(t[0]*fg,t[1]*fg,t.length>2?t[2]*fg:0),e.invert=function(e){return(e=t.invert(e[0]*fg,e[1]*fg))[0]*=lg,e[1]*=lg,e},e},t.geoStereographic=function(){return wu(Iu).scale(250).clipAngle(142)},t.geoStereographicRaw=Iu,t.geoStream=Qa,t.geoTransform=function(t){return{stream:vu(t)}},t.geoTransverseMercator=function(){var t=$u(Bu),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}
vendor: 16,221 bytes, line 1
1,t.geoTransverseMercatorRaw=Bu,Object.defineProperty(t,"__esModule",{value:!0})}),function(){function t(t){this.mode=s.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=[],n=0,r=this.data.length;r>n;n++){var i=this.data.charCodeAt(n);i>65536?(e[0]=240|(1835008&i)>>>18,e[1]=128|(258048&i)>>>12,e[2]=128|(4032&i)>>>6,e[3]=128|63&i):i>2048?(e[0]=224|(61440&i)>>>12,e[1]=128|(4032&i)>>>6,e[2]=128|63&i):i>128?(e[0]=192|(1984&i)>>>6,e[1]=128|63&i):e[0]=i,this.parsedData=this.parsedData.concat(e)}this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function n(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var r=0;r<t.length-n;r++)this.num[r]=t[r+n]}function r(t,e){this.totalCount=t,this.dataCount=e}function i(){this.buffer=[],this.length=0}function o(){var t=!1,e=navigator.userAgent;return/android/i.test(e)&&(t=!0,aMat=e.toString().match(/android ([0-9]\.[0-9])/i),aMat&&aMat[1]&&(t=parseFloat(aMat[1]))),t}function a(t,e){for(var n=1,r=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),i=0,o=d.length;o>=i;i++){var a=0;switch(e){case u.L:a=d[i][0];break;case u.M:a=d[i][1];break;case u.Q:a=d[i][2];break;case u.H:a=d[i][3]}if(a>=r)break;n++}if(n>d.length)throw new Error("Too long data");return n}t.prototype={getLength:function(){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;n>e;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var n=new t(e);this.dataList.push(n),this.dataCache=null},isDark:function(t,e){if(0>t||this.moduleCount<=t||0>e||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,n),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(t,e){for(var n=-1;7>=n;n++)if(!(-1>=t+n||this.moduleCount<=t+n))for(var r=-1;7>=r;r++)-1>=e+r||this.moduleCount<=e+r||(this.modules[t+n][e+r]=n>=0&&6>=n&&(0==r||6==r)||r>=0&&6>=r&&(0==n||6==n)||n>=2&&4>=n&&r>=2&&4>=r)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;8>n;n++){this.makeImpl(!0,n);var r=l.getLostPoint(this);(0==n||t>r)&&(t=r,e=n)}return e},createMovieClip:function(t,e,n){var r=t.createEmptyMovieClip(e,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var s=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=0==t%2);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=0==e%2)},setupPositionAdjustPattern:function(){for(var t=l.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var r=t[e],i=t[n];if(null==this.modules[r][i])for(var o=-2;2>=o;o++)for(var a=-2;2>=a;a++)this.modules[r+o][i+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=l.getBCHTypeNumber(this.typeNumber),n=0;18>n;n++){var r=!t&&1==(1&e>>n);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;18>n;n++){r=!t&&1==(1&e>>n);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,r=l.getBCHTypeInfo(n),i=0;15>i;i++){var o=!t&&1==(1&r>>i);6>i?this.modules[i][8]=o:8>i?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;15>i;i++){o=!t&&1==(1&r>>i);8>i?this.modules[8][this.moduleCount-i-1]=o:9>i?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;2>s;s++)if(null==this.modules[r][a-s]){var u=!1;o<t.length&&(u=1==(1&t[o]>>>i)),l.getMask(e,r,a-s)&&(u=!u),this.modules[r][a-s]=u,-1==--i&&(o++,i=7)}if(0>(r+=n)||this.moduleCount<=r){r-=n,n=-n;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,n,o){for(var a=r.getRSBlocks(t,n),s=new i,u=0;u<o.length;u++){var c=o[u];s.put(c.mode,4),s.put(c.getLength(),l.getLengthInBits(c.mode,t)),c.write(s)}var f=0;for(u=0;u<a.length;u++)f+=a[u].dataCount;if(s.getLengthInBits()>8*f)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*f+")");for(s.getLengthInBits()+4<=8*f&&s.put(0,4);0!=s.getLengthInBits()%8;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*f)&&(s.put(e.PAD0,8),!(s.getLengthInBits()>=8*f));)s.put(e.PAD1,8);return e.createBytes(s,a)},e.createBytes=function(t,e){for(var r=0,i=0,o=0,a=new Array(e.length),s=new Array(e.length),u=0;u<e.length;u++){var c=e[u].dataCount,f=e[u].totalCount-c;i=Math.max(i,c),o=Math.max(o,f),a[u]=new Array(c);for(var h=0;h<a[u].length;h++)a[u][h]=255&t.buffer[h+r];r+=c;var d=l.getErrorCorrectPolynomial(f),p=new n(a[u],d.getLength()-1).mod(d);s[u]=new Array(d.getLength()-1);for(h=0;h<s[u].length;h++){var g=h+p.getLength()-s[u].length;s[u][h]=g>=0?p.get(g):0}}var v=0;for(h=0;h<e.length;h++)v+=e[h].totalCount;var m=new Array(v),y=0;for(h=0;i>h;h++)for(u=0;u<e.length;u++)h<a[u].length&&(m[y++]=a[u][h]);for(h=0;o>h;h++)for(u=0;u<e.length;u++)h<s[u].length&&(m[y++]=s[u][h]);return m};for(var s={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},u={L:1,M:0,Q:3,H:2},c={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},l={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;l.getBCHDigit(e)-l.getBCHDigit(l.G15)>=0;)e^=l.G15<<l.getBCHDigit(e)-l.getBCHDigit(l.G15);return(t<<10|e)^l.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;l.getBCHDigit(e)-l.getBCHDigit(l.G18)>=0;)e^=l.G18<<l.getBCHDigit(e)-l.getBCHDigit(l.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return l.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case c.PATTERN000:return 0==(e+n)%2;case c.PATTERN001:return 0==e%2;case c.PATTERN010:return 0==n%3;case c.PATTERN011:return 0==(e+n)%3;case c.PATTERN100:return 0==(Math.floor(e/2)+Math.floor(n/3))%2;case c.PATTERN101:return 0==e*n%2+e*n%3;case c.PATTERN110:return 0==(e*n%2+e*n%3)%2;case c.PATTERN111:return 0==(e*n%3+(e+n)%2)%2;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new n([1],0),r=0;t>r;r++)e=e.multiply(new n([1,f.gexp(r)],0));return e},getLengthInBits:function(t,e){if(e>=1&&10>e)switch(t){case s.MODE_NUMBER:return 10;case s.MODE_ALPHA_NUM:return 9;case s.MODE_8BIT_BYTE:case s.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(27>e)switch(t){case s.MODE_NUMBER:return 12;case s.MODE_ALPHA_NUM:return 11;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(41>e))throw new Error("type:"+e);switch(t){case s.MODE_NUMBER:return 14;case s.MODE_ALPHA_NUM:return 13;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,r=0;e>r;r++)for(var i=0;e>i;i++){for(var o=0,a=t.isDark(r,i),s=-1;1>=s;s++)if(!(0>r+s||r+s>=e))for(var u=-1;1>=u;u++)0>i+u||i+u>=e||(0!=s||0!=u)&&a==t.isDark(r+s,i+u)&&o++;o>5&&(n+=3+o-5)}for(r=0;e-1>r;r++)for(i=0;e-1>i;i++){var c=0;t.isDark(r,i)&&c++,t.isDark(r+1,i)&&c++,t.isDark(r,i+1)&&c++,t.isDark(r+1,i+1)&&c++,(0==c||4==c)&&(n+=3)}for(r=0;e>r;r++)for(i=0;e-6>i;i++)t.isDark(r,i)&&!t.isDark(r,i+1)&&t.isDark(r,i+2)&&t.isDark(r,i+3)&&t.isDark(r,i+4)&&!t.isDark(r,i+5)&&t.isDark(r,i+6)&&(n+=40);for(i=0;e>i;i++)for(r=0;e-6>r;r++)t.isDark(r,i)&&!t.isDark(r+1,i)&&t.isDark(r+2,i)&&t.isDark(r+3,i)&&t.isDark(r+4,i)&&!t.isDark(r+5,i)&&t.isDark(r+6,i)&&(n+=40);var l=0;for(i=0;e>i;i++)for(r=0;e>r;r++)t.isDark(r,i)&&l++;return n+10*(Math.abs(100*l/e/e-50)/5)}},f={glog:function(t){if(1>t)throw new Error("glog("+t+")");return f.LOG_TABLE[t]},gexp:function(t){for(;0>t;)t+=255;for(;t>=256;)t-=255;return f.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;8>h;h++)f.EXP_TABLE[h]=1<<h;for(h=8;256>h;h++)f.EXP_TABLE[h]=f.EXP_TABLE[h-4]^f.EXP_TABLE[h-5]^f.EXP_TABLE[h-6]^f.EXP_TABLE[h-8];for(h=0;255>h;h++)f.LOG_TABLE[f.EXP_TABLE[h]]=h;n.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var i=0;i<t.getLength();i++)e[r+i]^=f.gexp(f.glog(this.get(r))+f.glog(t.get(i)));return new n(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=f.glog(this.get(0))-f.glog(t.get(0)),r=new Array(this.getLength()),i=0;i<this.getLength();i++)r[i]=this.get(i);for(i=0;i<t.getLength();i++)r[i]^=f.gexp(f.glog(t.get(i))+e);return new n(r,0).mod(t)}},r.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],r.getRSBlocks=function(t,e){var n=r.getRsBlockTable(t,e);if(null==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=n.length/3,o=[],a=0;i>a;a++)for(var s=n[3*a+0],u=n[3*a+1],c=n[3*a+2],l=0;s>l;l++)o.push(new r(u,c));return o},r.getRsBlockTable=function(t,e){switch(e){case u.L:return r.RS_BLOCK_TABLE[4*(t-1)+0];case u.M:return r.RS_BLOCK_TABLE[4*(t-1)+1];case u.Q:return r.RS_BLOCK_TABLE[4*(t-1)+2];case u.H:return r.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},i.prototype={get:function(t){var e=Math.floor(t/8);return 1==(1&this.buffer[e]>>>7-t%8)},put:function(t,e){for(var n=0;e>n;n++)this.putBit(1==(1&t>>>e-n-1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var d=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],p=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){function e(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg",t);for(var r in e)e.hasOwnProperty(r)&&n.setAttribute(r,e[r]);return n}var n=this._htOption,r=this._el,i=t.getModuleCount();Math.floor(n.width/i),Math.floor(n.height/i),this.clear();var o=e("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:n.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(o),o.appendChild(e("rect",{fill:n.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;i>a;a++)for(var s=0;i>s;s++)if(t.isDark(a,s)){var u=e("use",{x:String(a),y:String(s)});u.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(u)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),g="svg"===document.documentElement.tagName.toLowerCase()?p:"undefined"!=typeof CanvasRenderingContext2D?function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,r,i,o,a,s,u,c){if("nodeName"in t&&/img/i.test(t.no
1deName))for(var l=arguments.length-1;l>=1;l--)arguments[l]=arguments[l]*e;else void 0===c&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);n.apply(this,arguments)}}var r=function(t,e){this._bIsPainted=!1,this._android=o(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return r.prototype.draw=function(t){var e=this._elImage,n=this._oContext,r=this._htOption,i=t.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),u=Math.round(a);e.style.display="none",this.clear();for(var c=0;i>c;c++)for(var l=0;i>l;l++){var f=t.isDark(c,l),h=l*o,d=c*a;n.strokeStyle=f?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=f?r.colorDark:r.colorLight,n.fillRect(h,d,o,a),n.strokeRect(Math.floor(h)+.5,Math.floor(d)+.5,s,u),n.strokeRect(Math.ceil(h)-.5,Math.ceil(d)-.5,s,u)}this._bIsPainted=!0},r.prototype.makeImage=function(){this._bIsPainted&&function(t,e){var n=this;if(n._fFail=e,n._fSuccess=t,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&_fFail.call(n)};return r.onabort=i,r.onerror=i,r.onload=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)},void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}.call(this,t)},r.prototype.isPainted=function(){return this._bIsPainted},r.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},r.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},r}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,n=this._el,r=t.getModuleCount(),i=Math.floor(e.width/r),o=Math.floor(e.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;r>s;s++){a.push("<tr>");for(var u=0;r>u;u++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(t.isDark(s,u)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var c=n.childNodes[0],l=(e.width-c.offsetWidth)/2,f=(e.height-c.offsetHeight)/2;l>0&&f>0&&(c.style.margin=f+"px "+l+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();(QRCode=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:u.H},"string"==typeof e&&(e={text:e}),e)for(var n in e)this._htOption[n]=e[n];"string"==typeof t&&(t=document.getElementById(t)),this._android=o(),this._el=t,this._oQRCode=null,this._oDrawing=new g(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(a(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},QRCode.prototype.clear=function(){this._oDrawing.clear()},QRCode.CorrectLevel=u}(),Notify=function(t,e,n,r){var i=$("#notifications");void 0===r&&(r="warning");var o=$('<div class="alert alert-'+r+'  hide"><i class="fa fa-info-circle "></i> '+t+"</div>");function a(){o.stop().fadeOut("slow").remove()}$("<a>",{text:"×",class:"notifyClose",style:"",href:"#",click:function(t){t.preventDefault(),n&&n(),a()}}).prependTo(o),i.prepend(o),o.removeClass("hide").hide().fadeIn("slow");var s=setInterval(a,"7000");$(o).hover(function(){clearInterval(s)},function(){s=setInterval(a,"7000")}),o.on("click",function(){clearInterval(s),e&&e(),a()})},function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}var n,r,i;function o(t,e){(n(t,e)?i:r)(t,e)}"classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},r=function(t,e){t.classList.add(e)},i=function(t,e){t.classList.remove(e)}):(n=function(t,n){return e(n).test(t.className)},r=function(t,e){n(t,e)||(t.className=t.className+" "+e)},i=function(t,n){t.className=t.className.replace(e(n)," ")}
1);var a={hasClass:n,addClass:r,removeClass:i,toggleClass:o,has:n,add:r,remove:i,toggle:o};"function"==typeof define&&define.amd?define(a):t.classie=a}(window),$(function(){!function(){var t=document.body,e=document.querySelector('[role="main"]'),n=document.querySelector('[class="blockpath-footer-parent"]');function r(){isOpen?classie.remove(t,"show-menu"):classie.add(t,"show-menu"),isOpen=!isOpen}bannerContent=document.querySelector('[role="banner"]'),openbtn=document.getElementById("open-button"),sidemenuopenbtn=document.getElementById("sidemenu-open-button"),isOpen=!1,openbtn&&sidemenuopenbtn&&e&&n&&bannerContent&&(openbtn.addEventListener("click",r),sidemenuopenbtn.addEventListener("click",r),e.addEventListener("click",function(t){var e=t.target;isOpen&&e!==openbtn&&r()}),n.addEventListener("click",function(t){var e=t.target;isOpen&&e!==openbtn&&r()}),bannerContent.addEventListener("click",function(t){var e=t.target;isOpen&&e!==openbtn&&r()}))}()}),function(t,e){var n=navigator.userAgent.match(/(?:\b(?:MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:)(\d+(?:\.?\d+)?)/i),r=n&&n[1]&&parseFloat(n[1]),i=navigator.doNotTrack||t.doNotTrack||navigator.msDoNotTrack;t.DO_NOT_TRACK=/^(yes|1)$/i.test(i)&&10!==r}(this),function($){var t=window.jQuery.fn.tooltip.Constructor.prototype,e=t.getCalculatedOffset;t.getCalculatedOffset=function(t,n,r,i){var o;return"top-right"!==t?e.apply(this,arguments):(o={top:n.top-i-10,left:n.left+n.width-r},this.$element.outerWidth()<=18&&(o.left+=4),o)},t.replaceArrow=function(t,e,n){var r=1-t/e;1!==r&&this.arrow().css(n?"left":"top",50*r+"%"),this.arrow().css(n?"top":"left","")}}(),r=window.r||{},function(t){t.uuid=function(){var t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)})}}(r),function(t){var e={};function n(t){this.name=t,this.called=!1,this._callbacks=[]}n.prototype.register=function(t){this.called?t.call(window):this._callbacks.push(t)},n.prototype.call=function(){if(this.called)throw"Hook "+this.name+" already called.";var t=this._callbacks;this.called=!0,this._callbacks=null;for(var e=0;e<t.length;e++)t[e].call(window)},t.hooks={get:function(t){if(t in e)return e[t];var r=new n(t);return e[t]=r,r}
1,call:function(e){return t.hooks.get(e).call()}}}(window.r=window.r||{}),r.setup=function(t){r.config=t,r.config.currentOrigin=location.protocol+"//"+location.host,r.hooks.get("setup").call()},function(t,e){t.ajax=function(e){var n=e.url;if("GET"==e.type&&_.isEmpty(e.data)){var r=t.preload.read(n);if(null!=r){e.dataFilter&&(r=e.dataFilter(r,"json")),e.success(r);var i=new jQuery.Deferred;return i.resolve(r),i}}return n&&("/"==n[0]||0==n.lastIndexOf(t.config.currentOrigin,0))&&(e.headers||(e.headers={}),e.headers["X-Modhash"]=t.config.modhash),$.ajax(e)}}(r),function(t,e,n){e.safeGet=function(n,r){if(e.disabled)return r;try{return e.get(n)}catch(e){return t.sendError('Unable to read storage key "%(key)s" (%(err)s)'.format({key:n,err:e})),r}},e.safeSet=function(n,r){if(e.disabled)return!1;try{return e.set(n,r),!0}catch(e){return t.warn('Unable to set storage key "%(key)s" (%(err)s)'.format({key:n,err:e})),!1}}}(r,store),r.preload={timestamp:new Date,maxAge:3e5,data:{},isExpired:function(){return new Date-this.timestamp>this.maxAge},set:function(t){_.extend(this.data,t)},read:function(t){var e=this.data[t];return"#"==t[0]?e:this.isExpired()?void 0:e}},r.logging={},r.logging.pageAgeLimit=300,r.logging.sendThrottle=8,r.logging.exceptionMessageTemplate=_.template('Client Error: "<%= errorType %>" thrown at L<%= line %>:<%= character %> in <%= file %> Message: "<%= message %> BPlog <%= BPlog %>"'),r.logging.defaultExceptionValues={message:"UNKNOWN MESSAGE",file:"UNKNOWN FILE",line:"?",character:"?",errorType:"UNKNOWN ERROR TYPE",BPlog:"No Log"},r.logging.sendException=function(t){if(!t)throw"No exception object was passed in.";"undefined"!=typeof blockpath_log&&(t.BPlog=JSON.stringify(blockpath_log.getLog())),_.defaults(t,r.logging.defaultExceptionValues);var e=r.logging.exceptionMessageTemplate(t);e=e.substring(0,4e3),r.logging.sendError(e,{tag:"unknown"})},r.logging.init=function(){_.each(["debug","log","warn","error"],function(t){r[t]=("debug"!=t||r.config.debug)&&window.console&&console[t]?_.bind(console[t],console):function(){}}),r.sendError=r.logging.sendError},r.logging.serverLogger={logCount:0,_queuedLogs:[],queueLog:function(t){if(r.config)if(r.warn||(r.warn=function(){}),this.logCount>=3)r.warn("Not sending debug log; already sent",this.logCount);else{var e=new Date/1e3-r.config.server_time;Math.abs(e)>r.logging.pageAgeLimit?r.warn("Not sending debug log; page too old:",e):r.config.send_logs?(t.url=window.location.toString(),this._queuedLogs.push(t),this.logCount++,_.defer(_.bind(function(){this._sendLogs()},this))):r.warn("Server-side debug logging disabled")}},_sendLogs:_.throttle(function(){var t=this._queuedLogs.length;r.ajax({type:"POST",url:"/web/log/error.json",data:{logs:JSON.stringify(this._queuedLogs)},headers:{"X-Loggit":!0},success:function(){r.log("Sent",t,"debug logs to server")},error:function(t,e,n){r.warn("Error sending debug logs to server:",e,";",n)}}),this._queuedLogs=[]},1e3*r.logging.sendThrottle)},r.logging.sendError=function(){var t=_.toArray(arguments),e=_.last(t),n={};_.isObject(e)&&(n=e,t.pop());var i=_.defaults({msg:t.join(" ")},n);r.error&&r.error.apply(r,arguments),r.logging.serverLogger.queueLog(i)},r.hooks.get("setup").register(function(){r.logging.init()}),function(t,$,e,n){"use strict";var r=t.onerror;t.onerror=function(n,i,o,a,s){if(!/^(chrome:\/\/|file:\/\/)/i.test(i)&&!/((^Script error\.$)|(atomicFindClose))/i.test(n)){var u={message:n,file:i,line:o,character:a,errorType:s};e.logging.sendException(u),r&&r.apply(t,arguments)}}}(this,jQuery,r,_),function(t){var e,n=window.MouseEvent,r=document.createEvent;r&&(r=r.bind(document));try{n&&(e=new n("click",{bubbles:!0}))}catch(t){}try{!e&&r&&(e=r("MouseEvent"))}catch(t){}e||(e={}),window.MouseEvent=function(t,n){return e},document.createEvent=function(t){return"MouseEvent"===t||"MouseEvents"===t?e:r(t)},$(function(){$(document.body).on("click",".arrow",function(r){var i=$(this);if(t.config.logged&&!t.access.isLinkRestricted(this)&&!i.hasClass("archived")){var o,a=i.thing(),s=a.thing_id(),u=i.hasClass("up")?1:i.hasClass("down")?-1:0;o=!(!r||!r.originalEvent)&&(n instanceof Function&&"isTrusted"in n.prototype?r.originalEvent.isTrusted:n instanceof Function?r.originalEvent instanceof n&&r.originalEvent!==e:r.originalEvent!==e);var c={id:s,dir:u,vh:t.config.vote_hash,isTrusted:o},l=a.data("rank");l&&(c.rank=parseInt(l)),$.request("vote",c),a.updateThing({voted:u})}})})}(r),r.ui={},r.ui.Base=function(t){this.$el=$(t)}
1,r.ui.collapsibleSideBox=function(t){var e=$("#"+t);return new r.ui.Collapse(e.find(".title"),e.find(".content"),t)},r.ui.Collapse=function(t,e,n){r.ui.Base.call(this,t),this.target=e,this.key="ui.collapse."+n,this.isCollapsed=1==store.safeGet(this.key),this.$el.click($.proxy(this,"toggle",null,!1)),this.toggle(this.isCollapsed,!0)},r.ui.Collapse.prototype={animDuration:200,toggle:function(t,e){null==t&&(t=!this.isCollapsed);var n=e?0:this.animDuration;t?$(this.target).slideUp(n):$(this.target).slideDown(n),this.isCollapsed=t,store.safeSet(this.key,t),this.update()},update:function(){this.$el.find(".collapse-button").text(this.isCollapsed?"+":"-")}},r.ui.Summarize=function(t,e){r.ui.Base.call(this,t),this.maxCount=e,this._updateItems(),this.$hiddenItems.length>0&&(this.$toggleButton=$('<button class="expand-summary">').click($.proxy(this,"_toggle")),this.$el.after(this.$toggleButton),this._summarize())},r.ui.Summarize.prototype={_updateItems:function(){var t=this.$el.children(".important"),e=this.$el.children(":not(.important)"),n=this.maxCount?Math.max(0,this.maxCount-t.length):0,r=e.slice(0,n-1);this.$summaryItems=t.add(r),this.$hiddenItems=e.slice(n)},_summarize:function(){this.$el.addClass("summarized"),this.$hiddenItems.hide(),this.$toggleButton.text(r._("… and %(count)s more ⇒").format({count:this.$hiddenItems.length}))},_expand:function(){this.$el.removeClass("summarized"),this.$hiddenItems.show(),this.$toggleButton.text(r._("⇐ less"))},_toggle:function(t){this.$el.hasClass("summarized")?this._expand():this._summarize(),t.preventDefault()}},r.i18n={jed:new Jed({locale_data:{messages:{"":{domain:"messages",lang:"en"}}}}),setPluralForms:function(t){this.jed.options.locale_data.messages[""].plural_forms=t},addMessages:function(t){_.extend(this.jed.options.locale_data.messages,t)}},r._=_.bind(r.i18n.jed.gettext,r.i18n.jed),r.P_=_.bind(r.i18n.jed.ngettext,r.i18n.jed),r.N_=_.identity,r.NP_=function(t,e){return[t,e]},r.utils={replaceUrlParams:function(t,e){var n=document.createElement("a"),r=$.url(t).param();return Object.keys(e).forEach(function(t){r[t]=e[t]}),n.href=t,n.search=$.param(r),n.href},formatFileSize:function(t){var e=t?parseInt(Math.log2(t)/10,10):0;return(t/(1<<10*e)).toFixed(3).replace(/\.?0+$/,"")+" "+["bytes","KiB","MiB","GiB","TiB","EiB","ZiB"][e]},fullnameToId:function(t){var e=t.split("_"),n=e&&e[1];return n&&parseInt(n,36)},escapeSelector:function(t){return t.replace(/([ #;?%&,.+*~\':"!^$[\]()=>|\/@])/g,"\\$1")},clamp:function(t,e,n){return Math.max(e,Math.min(n,t))},staticURL:function(t){return r.config.static_root+"/"+t},s3HTTPS:function(t){return"https:"==location.protocol?t.replace("http://","https://s3.amazonaws.com/"):t},parseTimestamp:function(t){var e,n=t.data("timestamp");return n||(e=t.attr("datetime"),n=Date.parse(e),t.data("timestamp",n)),n},joinURLs:function(){return _.map(arguments,function(t,e){return e>0&&t&&"/"!=t[0]&&(t="/"+t),t}).join("")},_scOn:"\x3c!-- SC_ON --\x3e",_scOff:"\x3c!-- SC_OFF --\x3e",_scBetweenTags1:/>\s+/g,_scBetweenTags2:/\s+</g,_scSpaces:/\s+/g,_scDirectives:/(<!-- SC_ON -->|<!-- SC_OFF -->)/,spaceCompress:function(t){for(var e="",n=!0,r=t.split(this._scDirectives),i=0;i<r.length;++i){var o=r[i];o===this._scOn?n=!0:o===this._scOff?n=!1:e+=n?o=(o=(o=o.replace(this._scSpaces," ")).replace(this._scBetweenTags1,">")).replace(this._scBetweenTags2,"<"):o}return e},tup:function(t){return _.isArray(t)||(t=[t]),t},structuredMap:function(t,e){if(_.isArray(t))return _.map(t,function(t){return r.utils.structuredMap(t,e)});if(_.isObject(t)){var n={};return _.each(t,function(t,i){n[e(i,"key")]=r.utils.structuredMap(t,e)}),n}return e(t,"value")},unescapeJson:function(t){return r.utils.structuredMap(t,function(t){return _.isString(t)?_.unescape(t):t})},querySelectorFromEl:function(t,e){return $(t).parents().addBack().filter(e||"*").map(function(t,e){var n=[],r=$(e),i=r.data("fullname"),o=r.attr("id"),a=r.attr("class");return n.push(e.nodeName.toLowerCase()),i?n.push('[data-fullname="'+i+'"]'):o?n.push("#"+o):a&&n.push("."+_.compact(a.split(/\s+/)).join(".")),n.join("")}).toArray().join(" ")},serializeForm:function(t){var e={};return $.each(t.serializeArray(),function(t,n){e[n.name]=n.value}),e},_pyStrFormatRe:/%\((\w+)\)s/g,pyStrFormat:function(t,e){return t.replace(this._pyStrFormatRe,function(t,n){if(!(n in e))throw"missing format parameter";return e[n]})},_mdLinkRe:/\[(.*?)\]\((.*?)\)/g,formatMarkdownLinks:function(t){return _.escape(t).replace(this._mdLinkRe,function(t,e,n){return'<a href="'+n+'">'+e+"</a>"})},prettyNumber:function(t){var e=parseInt(t);return e?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):t},LRUCache:function(t){var e=t>0?t:16,n=[],r={},i=function(t){o(t),n.push(t),n.length>e&&delete r[n.shift()]},o=function(t){var e=_.indexOf(n,t);e>=0&&n.splice(e,1)};this.remove=function(t){o(t),delete r[t]},this.set=function(t,e){_.isUndefined(e)?this.remove(t):(r[t]=e,i(t))},this.get=function(t){var e=r[t];return _.isUndefined(e)||i(t),e},this.ajax=function(t,e){var n=this.get(t);return _.isUndefined(n)?$.ajax(e).done(_.bind(this.set,this,t)):(new $.Deferred).resolve(n)}},parseError:function(t){return{name:t[0],message:t[1],field:t[2]}},onTrident:function(){return"ActiveXObject"in window}},String.prototype.format=function(t){return r.utils.pyStrFormat(this,t)},r.analytics={init:function(){if($(document).delegate(".organic-listing .promotedlink.promoted","onshow",_.bind(function(t){this.fireTrackingPixel(t.target)},this)),$(".promotedlink.promoted:visible").trigger("onshow"),r.analytics.addEventPredicate("ads",function(){return!r.config.is_sponsor}),r.config.ads_virtual_page&&r.analytics.fireFunnelEvent("ads",r.config.ads_virtual_page),r.analytics.contextData={dnt:window.DO_NOT_TRACK,language:document.getElementsByTagName("html")[0].getAttribute("lang"),link_id:r.config.cur_link?r.utils.fullnameToId(r.config.cur_link):null,loid:null,loid_created:null,referrer_url:document.referrer||"",referrer_domain:null,sr_id:r.config.cur_site?r.utils.fullnameToId(r.config.cur_site):null,sr_name:r.config.post_site||null,user_id:null,user_name:null,user_in_beta:r.config.pref_beta},r.config.user_id)r.analytics.contextData.user_id=r.config.user_id,r.analytics.contextData.user_name=r.config.logged;else{var t=(new redditlib.Tracker).getTrackingData();t&&t.loid&&(r.analytics.contextData.loid=t.loid,t.loidcreated&&(r.analytics.contextData.loid_created=decodeURIComponent(t.loidcreated)))}if(document.referrer){var e=document.referrer.match(/\/\/([^\/]+)/);e&&e.length>1&&(r.analytics.contextData.referrer_domain=e[1])}$("body").hasClass("comments-page")?r.analytics.contextData.page_type="comments":$("body").hasClass("listing-page")&&(r.analytics.contextData.page_type="listing",r.config.cur_listing&&(r.analytics.contextData.listing_name=r.config.cur_listing)),r.config.feature_screenview_events&&r.analytics.screenviewEvent(),r.config.expando_preference&&(r.analytics.contextData.expando_preference=r.config.expando_preference),r.config.pref_no_profanity&&(r.analytics.contextData.media_preference_hide_nsfw=r.config.pref_no_profanity),r.analytics.firePageTrackingPixel(r.analytics.stripAnalyticsParams),r.hooks.get("analytics").call()},_eventPredicates:{},addEventPredicate:function(t,e){var n=this._eventPredicates[t]||[];n.push(e),this._eventPredicates[t]=n},shouldFireEvent:function(t){var e=_.rest(arguments);return!this._eventPredicates[t]||this._eventPredicates[t].every(function(t){return t.apply(this,e)})}
1,_isGALoaded:!1,isGALoaded:function(){if(this._isGALoaded)return!0;if(!_.isArray(_gaq)){var t=!1;return _gaq.push(function(){t=!0}),this._isGALoaded=t,t}},_wrapCallback:function(t){var e=t;return e.called=!1,t=function(){e.called||(e(),e.called=!0)},setTimeout(t,500),t},fireFunnelEvent:function(t,e,n,r){n=n||{},r=r||window.Function.prototype;var i="/"+_.compact([t,e,n.label]).join("-");if(n.tracker&&"_ga"in window&&window._ga.getByName&&window._ga.getByName(n.tracker))return window._ga(n.tracker+".send","pageview",{page:i,hitCallback:r}),void(n.value&&window._ga(n.tracker+".send","event",t,e,n.label,n.value));window._gaq&&this.shouldFireEvent.apply(this,arguments)?(this.isGALoaded()||(r=this._wrapCallback(r)),_gaq.push(["_trackPageview",i]),n.value&&_gaq.push(["_trackEvent",t,e,n.label,n.value]),_gaq.push(r)):r()},fireGAEvent:function(t,e,n,r,i,o){(n=n||"",r=r||0,i=!!i,o=o||function(){},window._gaq&&this.shouldFireEvent.apply(this,arguments))?(this.isGALoaded()||(o=this._wrapCallback(o)),_gaq.push(["_trackEvent",t,e,n,r,i]),_gaq.push(o)):o()},fireTrackingPixel:function(t){var e=$(t),n=$("body").hasClass("comments-page");if(!e.data("trackerFired")&&!n){var r=new Image,i=e.data("impPixel");if(i&&(r.src=i),!adBlockIsEnabled){var o=e.data("thirdPartyTrackingUrl");if(o)(new Image).src=o;var a=e.data("thirdPartyTrackingTwoUrl");if(a)(new Image).src=a}var s=new Image,u=e.data("adserverImpPixel");e.data("adserverClickUrl");u&&(s.src=u),e.data("trackerFired",!0)}},fireUITrackingPixel:function(t,e,n){(new Image).src=r.config.uitracker_url+"?"+$.param(_.extend({act:t,sr:e,r:Math.round(2147483647*Math.random())},r.analytics.breadcrumbs.toParams(),n))},firePageTrackingPixel:function(t){var e=r.config.tracker_url;if(e){var n={dnt:this.contextData.dnt};this.contextData.loid&&(n.loid=this.contextData.loid),this.contextData.loid_created&&(n.loidcreated=decodeURIComponent(this.contextData.loid_created));var i=["r="+Math.random()];for(var o in this.contextData.referrer_domain&&i.push("referrer_domain="+encodeURIComponent(this.contextData.referrer_domain)),n)n.hasOwnProperty(o)&&i.push(encodeURIComponent(o)+"="+encodeURIComponent(n[o]));var a=new Image;a.onload=a.onerror=t,a.src=e+"&"+i.join("&")}},stripAnalyticsParams:function(){var t=!(!window.history||!window.history.replaceState),e=$.url().param(),n=["ref","ref_source","ref_campaign"];_.keys(e).forEach(function(t){0===t.indexOf("utm_")&&n.push(t)});var r=_.omit(e,n);if(t&&!_.isEqual(e,r)){var i=document.createElement("a");i.href=window.location.href,i.search=$.param(r),window.history.replaceState({},document.title,i.href)}},addContextData:function(t,e){return e=e||{},this.contextData.user_id?(e.user_id=this.contextData.user_id,e.user_name=this.contextData.user_name):(e.loid=this.contextData.loid,e.loid_created=decodeURIComponent(this.contextData.loid_created)),t.forEach(function(t){null!=this.contextData[t]&&(e[t]=this.contextData[t])}.bind(this)),e},screenviewEvent:function(){var t=this.addContextData(["sr_name","sr_id","listing_name","language","dnt","referrer_domain","referrer_url","user_in_beta"]);if(r.config.event_target)for(var e in r.config.event_target){var n=r.config.event_target[e];null!==n&&(t[e]=n)}var i={};$(".linklisting .thing.link").each(function(){var t=$(this),e=t.data("fullname"),n=parseInt(t.data("rank"))||"";i[e]=n}),_.isEmpty(i)||(t.rank_by_link=i),r.events.track("screenview_events","cs.screenview",t).send()},loginRequiredEvent:function(t,e,n,i){var o="cs.loggedout_"+t,a=this.addContextData(["sr_name","sr_id","listing_name","referrer_domain","referrer_url"]);a.process_notes="LOGIN_REQUIRED",e&&(a.details_text=e),n&&(a.target_type=n),i&&(a.target_fullname=i,a.target_id=r.utils.fullnameToId(i)),r.events.track("login_events",o,a).send()},timeoutForbiddenEvent:function(t,e,n,i){var o="cs.forbidden_"+t,a=this.addContextData(["sr_name","sr_id"]);a.process_notes="IN_TIMEOUT",e&&(a.details_text=e),n&&(a.target_type=n),i&&(a.target_fullname=i,a.target_id=r.utils.fullnameToId(i)),r.events.track("forbidden_actions",o,a).send()},expandoEvent:function(t,e){var n="cs."+t,i=this.addContextData(["page_type","listing_name","referrer_domain","referrer_url","expando_preference","media_preference_hide_nsfw"]);"linkIsNSFW"in e&&(i.nsfw=e.linkIsNSFW),"linkType"in e&&(i.target_type=e.linkType),"provider"in e&&(i.provider=e.provider),"linkFullname"in e&&(i.target_fullname=e.linkFullname,i.target_id=r.utils.fullnameToId(e.linkFullname)),"linkCreated"in e&&(i.target_create_ts=e.linkCreated),"linkURL"in e&&(i.target_url=e.linkURL),"linkDomain"in e&&(i.target_url_domain=e.linkDomain),"authorFullname"in e&&(i.target_author_id=r.utils.fullnameToId(e.authorFullname)),"subredditName"in e&&(i.sr_name=e.subredditName),"subredditFullname"in e&&(i.sr_id=r.utils.fullnameToId(e.subredditFullname)),r.events.track("expando_events",n,i).send()},sendEvent:function(t,e,n,i,o){var a="cs."+e,s=this.addContextData(n,i);r.events.track(t,a,s).send(o)}},r.analytics.breadcrumbs={selector:".thing, .side, .sr-list, .srdrop, .tagline, .md, .organic-listing, .gadget, .sr-interest-bar, .trending-subreddits, a, button, input",maxLength:3,sendLength:2,init:function(){this.hasSessionStorage=this._checkSessionStorage(),this.data=this._load(),this.data[0]&&this.data[0].url==window.location||this._storeBreadcrumb(),$(document).delegate("a, button","click",$.proxy(function(t){this.storeLastClick($(t.target))},this))},_checkSessionStorage:function(){try{return sessionStorage.setItem("__test__","test"),sessionStorage.removeItem("__test__"),!0}catch(t){return!1}},_load:function(){if(!this.hasSessionStorage)return[{stored:!1}];var t;try{t=JSON.parse(sessionStorage.breadcrumbs)}catch(e){t=[]}return _.isArray(t)||(t=[]),t},store:function(){this.hasSessionStorage&&(sessionStorage.breadcrumbs=JSON.stringify(this.data))},_storeBreadcrumb:function(){var t={url:location.toString()};if("referrer"in document){var e=!document.referrer.match("^"+r.config.currentOrigin),n=this.data[0]&&document.referrer!=this.data[0].url;(e||n)&&(t.ref=document.referrer)}this.data.unshift(t),this.data=this.data.slice(0,this.maxLength),this.store(
1)},storeLastClick:function(t){try{this.data[0].click=r.utils.querySelectorFromEl(t,this.selector),this.store()}catch(t){}},lastClickFullname:function(){var t=_.find(this.data,function(t){return t.click});if(t){var e=t.click.match(/.*data-fullname="(\w+)"/);return e&&e[1]}},toParams:function(){params=[];for(var t=0;t<this.sendLength;t++)_.each(this.data[t],function(e,n){params["c"+t+"_"+n]=e});return params}},r.hooks.get("setup").register(function(){r.analytics.breadcrumbs.init()}),function(t){"use strict";function e(t){$.ajax({method:"POST",url:t.url+"?"+jQuery.param(t.query),data:t.data,contentType:"text/plain",complete:t.done})}function n(t,e){return CryptoJS.HmacSHA256(e,t).toString(CryptoJS.enc.Hex)}var r;t.events={init:function(){t.config.events_collector_key&&t.config.events_collector_secret&&t.config.events_collector_url&&(r=new EventTracker(t.config.events_collector_key,t.config.events_collector_secret,e,t.config.events_collector_url,"reddit.com",n))},track:function(t,e,n){return r&&r.track(t,e,n),this},send:function(t){return r?r.send(t):"function"==typeof t&&t(),this}}}(r),function(t){t.access={};var e=!1,n=[];_.extend(t.access,{init:function(){e=!0,n.forEach(function(t){t()}),n.length=0},isLinkRestricted:function(t){return!1},initHook:function(t){e?t():n.push(t)}})}(r),function(t){t.hooks.get("reddit-init").register(function(){try{t.events.init(),t.analytics.init(),t.access.init()}catch(e){t.sendError("Error during reddit-init.js init",e.toString())}}),$(function(){t.hooks.get("reddit-init").call()})}(r),function($){var t,e;$.log=function(t){window.console?window.console.debug?window.console.debug(t):window.console.log&&window.console.log(t):alert(t)},$.debug=function(t){if($.with_default(r.config.debug,!1))return $.log(t)},$.fn.debug=function(){return $.debug($(this)),$(this)},$.redirect=function(t){window.location=t},$.fn.redirect=function(t){if($(this).filter("form").find(".status").show().html("redirecting..."),"_top"==$(this).attr("target")){for(var e=window;e!=e.parent;)e=e.parent;e.location=t}else $.redirect(t);return $(this)},$.refresh=function(){window.location.reload(!0)},$.defined=function(t){return void 0!==t},$.with_default=function(t,e){return $.defined(t)?t:e},$.websafe=function(t){return"string"==typeof t&&(t=t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/>/g,"&gt;").replace(/</g,"&lt;")),t||""},$.unsafe=function(t){return"string"==typeof t&&(t=t.replace(/&quot;/g,'"').replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&")),t||""},$.uniq=function(t,e){for(var n=[],r={},i=e||t.length,o=0;o<t.length&&n.length<i;o++)r[t[o]]||(r[t[o]]=!0,n.push(t[o]));return n},t=$.fn.show,e=$.fn.hide,$.fn.show=function(e,n){return $(this).trigger("onshow"),t.call(this,e,n)},$.fn.hide=function(t,n){return $(this).trigger("onhide"),e.call(this,t,n)};var n={};function i(t){delete n[t]}function o(t){return function(t){if(t.jquery){var e={};e[0]=jQuery,$.map(t.jquery,function(t){var n=t[0],r=t[1],i=t[2],o=t[3];if("string"==typeof o)o=$.unsafe(o);else for(var a=0;o.length&&a<o.length;a++)o[a]=$.unsafe(o[a]);"call"==i?e[r]=e[n].apply(e[n]._obj,o):"attr"==i?("redirect"==o&&$(window).off("beforeunload"),e[r]=e[n][o],e[r]?e[r]._obj=e[n]:$.debug("unrecognized")):"refresh"==i?$.refresh():$.debug("unrecognized")})}}}$.handleResponse=o;$.request=function(t,e,a,s,u,c,l){var f=t;if(rate_limit(t))l&&l("ratelimit");else if(window==window.top){var h=!$.with_default(s,!1)||function(t){return!n[t]&&(n[t]=!0,!0)}(f);e=$.with_default(e,{}),a=$.with_default(a,o()),u=$.with_default(u,"json");var d=$("form.warn-on-unload");"function"!=typeof a&&(a=o());errorhandler_in=$.with_default(l,function(){}),l=function(t){return i(f),errorhandler_in(t)},c=$.with_default(c,!1),r.config.post_site&&(e.r=r.config.post_site),r.config.logged&&(e.uh=r.config.modhash),e.renderstyle=r.config.renderstyle,h&&(t="/api/"+t,$.ajax({type:c?"GET":"POST",url:t,data:e,success:function(t){return i(f),$(d).length&&t.success&&$(window).off("beforeunload"),a(t)},error:l,dataType:u}))}};var a,s,u;rate_limit=(a={vote:333,comment:333,ignore:0,ban:0,unban:0,assignad:0},s={},u=Date,function(t){var e=new u,n=t in a?a[t]:333,r=s[t],i=r&&e-r<n;return s[t]=e,i}),$.fn.removeLinkFlairClass=function(){$(this).removeClass("linkflair").attr("class",function(t,e){return e.replace(/(^|\s)linkflair\S+/g,"")})}
1,$.fn.updateThing=function(t){var e=$(this),n=e.children(".entry");if("enemy"in t)e.remove();else{if("friend"in t){var i='<a class="friend" title="friend" href="/prefs/friends">F</a>';n.find(".author").addClass("friend").next(".userattrs").each(function(){var t=$(this);t.html()?t.find(".friend").length||t.find("a:first").before(i+","):t.html(" ["+i+"]")})}if("voted"in t){var o=e.children(".midcol"),a=o.find(".arrow.up, .arrow.upmod"),s=o.find(".arrow.down, .arrow.downmod"),u=$(o).add(n);switch(t.voted){case 1:u.addClass("likes").removeClass("dislikes unvoted"),a.removeClass("up").addClass("upmod"),s.removeClass("downmod").addClass("down");break;case-1:u.addClass("dislikes").removeClass("likes unvoted"),a.removeClass("upmod").addClass("up"),s.removeClass("down").addClass("downmod");break;default:u.addClass("unvoted").removeClass("likes dislikes"),a.removeClass("upmod").addClass("up"),s.removeClass("downmod").addClass("down")}}"saved"in t&&(e.addClass("saved"),n.find(".save-button a").text(r._("unsave")))}},$.fn.resetInput=function(){var t=$(this);return t.wrap("<form>").closest("form").get(0).reset(),t.unwrap(),this},$.fn.show_unvotable_message=function(){},$.fn.thing=function(){return this.parents(".thing:first")},$.fn.all_things_by_id=function(){return this.thing().add($.things(this.thing_id()))},$.fn.thing_id=function(){var t=this.hasClass("thing")?this:this.thing();if(!t.length)return"";var e=t.data("fullname");return e||((e=$.grep(t.get(0).className.match(/\S+/g),function(t){return t.match(/^id-/)})).length?e[0].slice(3,e[0].length):"")},$.things=function(){var t=$.map(arguments,function(t){return".thing.id-"+t}).join(", ");return $(t)},$.fn.things=function(){var t=$.map(arguments,function(t){return".thing.id-"+t}).join(", ");return this.find(t)},$.listing=function(t){"#"!=(t=t||"").slice(0,1)&&"."!=t.slice(0,1)||(t=t.slice(1,t.length));var e=t;"siteTable"!=t.slice(0,"siteTable".length)?e="siteTable"+(t?"_"+t:""):t=t.slice("siteTable".length+1,t.length);var n=$("#"+e).filter(":first");return 0==n.length&&(n=$.things(t).find(".child").append(document.createElement("div")).children(":last").addClass("sitetable").attr("id",e)),n};var c,l,f=function(){};$.fn.set_thing_init=function(t){f=t,$(this).find(".thing:not(.stub)").each(function(){t(this)})},$.fn.new_thing_child=function(t,e){var n=this.thing_id(),r=e?$.listing(n):this.thing().find(".child:first");return("string"==typeof t?r.prepend(t).children(":first"):t.hide().prependTo(r).show().find('input[name="parent"]').val(n).end()).randomize_ids()},$.fn.randomize_ids=function(){var t=(Math.random()+"").split(".")[1];return $(this).find("*[id]").each(function(){$(this).attr("id",$(this).attr("id")+t)}).end().find("label").each(function(){$(this).attr("for",$(this).attr("for")+t)}),$(this)},$.fn.replace_things=function(t,e,n,r){var i=this,o=$.map(t,function(t){var o=t.data,a=$(i).things(o.id);if(r&&(a=a.filter(".stub")),0==a.length){var s=$.things(o.parent);s.length&&(a=$("<div></div>"),s.find(".child:first").append(a))}a.after($.unsafe(o.content));var u=a.next();return e&&(u.show().children(".midcol, .entry").hide().end().children(".child:first").html(a.children(".child:first").remove().html()).end(),n&&(a.hide(),u.children(".midcol, .entry").show()),u.find(".rank:first").html(a.find(".rank:first").html())),n?(a.hide(),e?u.children(".midcol, .entry").show():u.show(),a.remove()):(u.hide(),a.remove()),f(u),$(document).trigger("new_thing",u),u});return $(document).trigger("new_things_inserted"),o},$.insert_things=function(t,e){var n=$.map(t,function(t){var n=t.data,r=$.listing(n.parent);return r=e?r.append($.unsafe(n.content)).children(".thing:last"):r.prepend($.unsafe(n.content)).children(".thing:first"),f(r.hide().show()),$(document).trigger("new_thing",r),r});return $(document).trigger("new_things_inserted"),n},$.fn.delete_table_row=function(t){var e=this.parents("tr:first").get(0),n=this.parents("table").get(0);e?$(e).fadeOut(function(){n.deleteRow(e.rowIndex),t&&t()}):t&&t()},$.fn.insert_table_rows=function(t,e){var n=this.is("table")?this.filter("table"):this.parents("table:first");return $.map(n.get(),function(n){$.map(t,function(t){var r=e;r<0&&(r=Math.max(n.rows.length+r+1,0)),r=Math.min(r,n.rows.length);var i=$(n.insertRow(r)),o=$($.parseHTML($.unsafe(t)));o.hide(),i.replaceWith(o),o.trigger("insert-row"),o.css("display","table-row"),o.fadeIn()})}),this}
1,$.fn.captcha=function(t){var e=this.find(".capimage");return t&&e.attr("src","/captcha/"+t+".png").siblings('input[name="iden"]').val(t),e},$.fn.insertAtCursor=function(t){return $(this).filter("textarea").each(function(){var e=$(this).get(0),n=e.scrollTop;if(document.selection)e.focus(),document.selection.createRange().text=t;else if(e.selectionStart){var r=e.selectionStart;e.value=e.value.substring(0,e.selectionStart)+t+e.value.substring(e.selectionEnd,e.value.length),r+=t.length,e.setSelectionRange(r,r)}else e.value+=t;e.scrollHeight&&(e.scrollTop=n),$(this).focus()}).end()},$.fn.select_line=function(t){return $(this).filter("textarea").each(function(){var e="\n",n=1,r=0;!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())&&(e="\r",n=0,r=1);for(var i=$(this).val().split(e),o=0;o<t-1;o++)r+=i[o].length+n;var a=r;if(t<=i.length&&(a+=i[t-1].length+n),$(this).focus(),this.createTextRange){var s=this.createTextRange();s.move("character",r);var u=this.createTextRange();u.move("character",a),s.setEndPoint("StartToEnd",u),s.select()}else this.selectionStart&&this.setSelectionRange(r,a);if(this.scrollHeight){var c=this.scrollHeight/i.length;this.scrollTop=(t-2)*c}})},$.apply_stylesheet=function(t){var e=$("head").children("link[title], style[title]").filter(":first").attr("title")||"preferred stylesheet";if(document.styleSheets[0].cssText){for(var n=document.styleSheets,r=0;r<n.length;r++)if(n[r].title==e){n[r].cssText=t;break}}else{$("head").children('*[title="'+e+'"]').remove(),document.body.offsetHeight;$('<style type="text/css" media="screen"></style>').attr("title",e).text(t).appendTo("head")}},$.apply_stylesheet_url=function(t,e){var n="applied_subreddit_stylesheet",r=$('link[title="'+n+'"]');0==r.length&&($("head").append('<link type="text/css" title="'+n+'" rel="stylesheet">'),r=$('link[title="'+n+'"]')),r.attr("href",t),$("#sr_style_enabled").prop("checked",e),$("#sr_style_throbber").html("").css("display","none")},$.apply_header_image=function(t,e,n){var r=$("#header-img");r.is("a")&&(r.attr("id","header-img-a").text("").append('<img id="header-img"/>'),r=$("#header-img")),r.removeClass("default-header"),r.attr("src",t),r.attr("title",n),e?(r.attr("width",e[0]),r.attr("height",e[1])):(r.removeAttr("width"),r.removeAttr("height"))},$.remove_header_image=function(){var t=$("#header-img-a");t&&(t.addClass("default-header").attr("id","header-img").empty(),$("#header-img").empty(),t.attr("id","header-img"))},$.default_cookie_domain=function(t){t&&(c=t)},$.default_cookie_security=function(t){l=t};var h="_";$.cookie_name_prefix=function(t){t&&(h=t+"_")},$.cookie_write=function(t){if(t.name){var e={};e.expires=t.expires,e.domain=t.domain||c,e.path=t.path||"/",e.secure=t.secure||l;var n=h+t.name,r=t.data;null===r||""==r?r=null:"string"!=typeof r&&(r=JSON.stringify(r)),$.cookie(n,r,e)}},$.cookie_read=function(t,e){var n=(e||h)+t,r=$.cookie(n);try{r=JSON.parse(r)}catch(t){}return{name:t,data:r}},$.fn.highlight=function(t){if(!t)return this;var e=$.websafe(t.trim()).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=new RegExp("\\b"+e+"\\b","gi");return this.each(function(){this.children.length||(this.innerHTML=this.innerHTML.replace(n,function(t){return"<mark>"+t+"</mark>"}))})}}(jQuery),function($){"use strict";var t="c-has-feedback",e={loading:"c-has-throbber",success:"c-has-success",error:"c-has-error"},n={loading:"throbber",success:"success",error:"error"};function r(t){var e=t.offset();return t.outerWidth()+(e?e.left:0)}function i(){var n=e;return arguments.length&&(n=_.pick(n,_.toArray(arguments))),_.values(n).concat(t).join(" ")}var o=function(t,e){this.initialize(t,e)};_.extend(o.prototype,{_currentState:null,_getFeedbackSelector:function(){var t=this.getCurrentState();return".c-form-control-feedback-"+n[t]},initialize:function(t,e){return this.$el=$(t).closest(".c-form-group"),this},getCurrentState:function(){return this._currentState},set:function(t){return this._currentState!==t&&(this.clear(),this._currentState=t,this.$el.addClass(i(t))),arguments.length>1&&this.showMessage.apply(this,_.toArray(arguments).slice(1)),this},showMessage:function(t){if(t){var e=this._getFeedbackSelector(),n=this.$el.find(".c-form-control"),i=this.$el.find(e);if(t!==i.attr("data-original-title")){if(i.attr("title",t),i.data("bs.tooltip"))return i.tooltip("fixTitle"),void(n.is(":focus")&&i.tooltip("show"));if(i.tooltip({template:'<div class="c-tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',placement:"right",trigger:"manual"}),n.is(":focus")||n.parents("form").find('[type="submit"]:focus').length){i.tooltip("show");var o=$("body"),a=i.data("bs.tooltip"),s=a.$tip;o.length&&r(o)<r(s)&&(a.options.placement="top-right",i.tooltip("show"))}n.on("focus.c.stateify",function(){n.parents("form").find(e).not(i).tooltip("hide");var t=i.data("bs.tooltip");t&&t.tip().off("bsTransitionEnd"),i.tooltip("show")}).on("blur.c.stateify",function(){i.tooltip("hide")}),i.on("mouseenter.c.stateify",function(){n.is(":focus")||i.tooltip("show")}).on("mouseleave.c.stateify",function(){n.is(":focus")||i.tooltip("hide")})}}},clear:function(){var t=this.$el.find(this._getFeedbackSelector()),e=this.$el.find(".c-form-control");return t.tooltip("destroy").removeAttr("data-original-title").off("mouseenter.c.stateify mouseleave.c.stateify"),e.off("focus.c.stateify blur.c.stateify"),this.$el.removeClass(i()),this._currentState=null,this}}),$.fn.stateify=function(t){var e=_.toArray(arguments).slice(1);if(t&&/^get/.test(t)){var n=this.data("c.stateify");return n&&n[t].apply(n,e)}return this.each(function(){var n=$(this),r=n.data("c.stateify");r||(r=new o(this,"object"==typeof t&&t),n.data("c.stateify",r)),"string"==typeof t&&r[t].apply(r,e)})}}(window.jQuery),function($){"use strict";var t=function(t,e){this.initialize(t,e)};t.DEFAULTS={delay:600,loadingTimeout:250,https:!1},_.extend(t.prototype,{_loadingTimeout:!1,initialize:function(e,n){var r=this.$el=$(e),i=r.data("validate-on")||"keyup change blur";return this.options=$.extend({}
1,t.DEFAULTS,n),r.on(i,_.debounce($.proxy(this._validate,this),this.options.delay)),r.trigger("initialize.validator"),this},_validate:function(t){if(!(9===t.keyCode||13===t.keyCode||"blur"===t.type&&t.relatedTarget&&$(t.relatedTarget).is("[type=submit]"))){var e=this,n=this.$el,r=n.data("validate-min"),i=n.val();if("keyup"===t.type&&i.length<r)return delete this._keyupValue,void n.trigger("cleared.validator");if(!/change|blur/.test(t.type)||this._keyupValue!==i)if(!/^\s*$/.test(i)||n.data("validate-noclear")){var o=n.parents("form"),a=n.data("validate-url"),s=(n.data("validate-with")||"").split(/,s*/),u={};if(this.options.https){var c=document.createElement("a");c.href=a,c.protocol="https:",a=c.href}u[n.attr("name")]=i,"keyup"===t.type&&(this._keyupValue=i),_.each(s,function(t){u[t]=o.find('[name="'+t+'"]').val()}),this._loadingTimeout=setTimeout(function(){n.trigger("loading.validator")},this.options.loadingTimeout),this.xhr&&4!==this.xhr.readyState&&this.xhr.abort(),this.xhr=$.ajax({type:"POST",url:a,data:u,dataType:"json",success:function(t,e,r){var i=t&&t.json;i&&i.errors&&i.errors.length?n.trigger("invalid.validator",i):n.trigger("valid.validator")},error:function(t){0!==t.status&&(409!==t.status?n.trigger("valid.validator"):n.trigger("cleared.validator"))},complete:function(){clearTimeout(e._loadingTimeout),n.trigger("loaded.validator")}})}else n.trigger("cleared.validator")}}}),$.fn.validator=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var r=$(this),i=r.data("c.validator");i||(i=new t(this,"object"==typeof e&&e),r.data("c.validator",i)),"string"==typeof e&&i[e].apply(i,n)})},$.fn.validator.Constructor=t}(window.jQuery),function($){"use strict";var t=function(t,e){this.initialize(t,e)};t.DEFAULTS={template:'<div class="strength-meter"><div class="strength-meter-fill"></div></div>',delay:100,minimumDisplay:5,trigger:"keyup change blur"};var e=[/^password(\d+)?$/i,/^letmein(\d+)?$/i,/^welcome(\d+)?$/i,/^secret(\d+)?$/i,/^reddit(\d+)?$/i,/^(reddit)\1+/i,/^(test)\1+$/i,/^abcd?e?f?1234?5?6?$/i,/^iloveyou$/i,/^admin$/i,/^trustno1$/i,/^.werty$/i,/^sunshine$/i,/^monkey$/i,/^shadow$/i,/^princess$/i,/^dragon$/i];function n(t){return function(e){var n=new RegExp(t+"+","g"),r=e.match(n)||[];return _.reduce(r,function(t,e){return t+e.length},0)}}function r(t){return function(e){for(var n=e.toLowerCase(),r=0,i=0,o=t.length-3;i<o;i++){var a=t.substring(i,i+3),s=_.toArray(a).reverse().join("");-1==n.indexOf(a)&&-1==n.indexOf(s)||r++}return r}}var i=[{test:/./g,weight:4},{test:/[A-Z]/g,weight:function(t,e){return e&&t.length!==e?2*(t.length-e):0}},{test:/[a-z]/g,weight:function(t,e){return e&&t.length!==e?2*(t.length-e):0}},{test:/\d/g,weight:function(t,e){return e&&t.length!==e?4*e:0}},{test:/\W|_/g,weight:6},{test:/^[a-z]+$/i,weight:-1},{test:/^\d+$/i,weight:-1},{test:r("abcdefghijklmnopqrstuvwxyz"),weight:-3},{test:r("qwertyuiopasdfghjklzxcvbnm"),weight:-3},{test:r("qazwsxedcrfvtgbyhnujmikolp"),weight:-3},{test:r("01234567890"),weight:-3},{test:r("!@#$%^&*()"),weight:-3},{test:n("[a-z]"),weight:-2},{test:n("[A-Z]"),weight:-2},{test:n("\\d"),weight:-2},{test:function(t){for(var e=_.toArray(t),n=_.unique(e).length,r=0,i=0,o=e.length;i<o;i++)for(var a=0;a<o;a++)e[i]===e[a]&&i!==a&&(r+=Math.abs(o/(a-i)));return Math.ceil(0===n?r:r/n)},weight:-1}];function o(t,n){return function(t,n){return _.any(n,function(e){return e&&-1!==t.indexOf(e)})||_.any(e,function(e){return e.test(t)})}(t=t||"",n)?0:_.reduce(i,function(e,n){return e+function(t,e){var n=0;if(e.test instanceof Function)n=e.test(t);else{var r=t.match(e.test);n=r?r.length:0}return e.weight instanceof Function?e.weight(t,n):e.weight*n}(t,n)},0)}_.extend(t.prototype,{_cancelScore:!1,initialize:function(e,n){this.options=$.extend({},t.DEFAULTS,n);var r=this.$el=$(e),i=this.$meter=$(this.options.template);"manual"!==this.options.trigger&&r.on(this.options.trigger,_.debounce(this.score.bind(this),this.options.delay)),i.insertAfter(r);var o=i.outerWidth()+5+"px";return r.css({"padding-right":o}),r.trigger("initialize.strengthMeter"),this},score:function(){var t=o(this.$el.val(),_.map(this.options.related,function(t){return $(t).val()||""})),e=Math.min(100,Math.max(this.options.minimumDisplay,t));this.$el.trigger("score.strengthMeter",e),this._cancelScore||this.$meter.find(".strength-meter-fill").css({width:e+"%"}),this._cancelScore=!1},cancelScore:function(){this._cancelScore=!0}}),$.fn.strengthMeter=function(e){var n=Array.prototype.slice.call(arguments,1
1);return this.each(function(){var r=$(this),i=r.data("c.strengthMeter");i||(i=new t(this,"object"==typeof e&&e),r.data("c.strengthMeter",i)),"string"==typeof e&&i[e].apply(i,n)})},$.fn.strengthMeter.Constructor=t}(window.jQuery),function($){"use strict";var t=function(t,e){this.initialize(t,e)};_.extend(t.prototype,{initialize:function(t,e){return(this.$el=$(t)).on("click",function(t){var e=$(t.target),n=e.data("toggle");e.toggleClass("c-toggle-toggled"),$(n).toggleClass("c-toggle-content-toggled")}),this}}),$.fn.togglable=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var r=$(this),i=r.data("c.toggle");i||(i=new t(this,"object"==typeof e&&e),r.data("c.toggle",i)),"string"==typeof e&&i[e].apply(i,n)})},$.fn.togglable.Constructor=t}(window.jQuery),$(function(){$("body").click(close_menus),$("body").set_thing_init(updateEventHandlers),"placeholder"in document.createElement("input")||$("textarea[placeholder], input[placeholder]").addClass("gray").each(function(){var t=$(this),e=t.attr("placeholder");""==t.val()&&t.val(e)}),$("textarea.gray, input.gray").focus(function(){$(this).attr("rows",7).filter(".gray").removeClass("gray").val("")}),r.config.logged&&$.cookie_name_prefix(r.config.logged),$.default_cookie_domain(r.config.cur_domain.split(":")[0]),$.default_cookie_security(r.config.https_forced),$('#search input[name="q"]').focus(function(){$("#searchexpando").slideDown()}),$('#search input[name="restrict_sr"]').change(function(){store.safeSet("search.restrict_sr.checked",this.checked)}),$('#searchexpando input[name="restrict_sr"]').prop("checked",!!store.safeGet("search.restrict_sr.checked")),$("#search_showmore").click(function(t){$("#search_showmore").parent().hide(),$("#moresearchinfo").slideDown(),t.preventDefault()}),$("#moresearchinfo").prepend('<a href="#" id="search_hidemore">[-]</a>'),$("#search_hidemore").click(function(t){$("#search_showmore").parent().show(),$("#moresearchinfo").slideUp(),t.preventDefault()});var t=$('#search input[name="q"]').val();function e(){return toggle(this)}$(".search-result-listing").find(".search-title, .search-link, .search-subreddit-link, .search-result-body").highlight(t),$(".search-result-link").find("a.search-title, a.thumbnail").mousedown(function(){var t=$(this).closest("[data-fullname]").data("fullname");t&&add_thing_id_to_cookie(t,"recentclicks2")}),$("#shortlink-text").click(function(){$(this).select()}),$(".sr_style_toggle").change(function(){return $("#sr_style_throbber").html('<img src="'+r.utils.staticURL("throbber.gif")+'" />').css("display","inline-block"),post_form($(this),"set_sr_style_enabled")}),$(".reddit-themes .theme").click(function(){$("div.theme.selected").removeClass("selected"),$("input[name='enable_default_themes']").prop("checked",!0),$(this).hasClass("select-custom-theme")?$("#other_theme_selector").prop("checked",!0):$("input[name='theme_selector'][value='"+$(this).attr("id")+"']").prop("checked",!0),$(this).addClass("selected")}),$("body").delegate(".ajax-yn-button","submit",function(){return post_form(this,$(this).find('input[name="_op"]').val()),!1}).delegate(".ajax-yn-button .togglebutton","click",e).delegate(".ajax-yn-button .no","click",e).delegate(".ajax-yn-button .yes","click",function(){$(this).closest("form").submit()})}),r.srAutocomplete={}}catch(t){r.sendError("Error running module","reddit-init.js",":",t.toString())}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.