gophish/static/js/dist/vendor.min.js
Jordan Wright 6222c5e180
Upgrade SweetAlert2 Dependency (#1583)
Upgrades the SweetAlert2 dependency to version 8.x.x.

Co-authored-by: Glenn Wilkinson <glenn.wilkinson@gmail.com>
2019-09-10 19:49:23 -05:00

1 line
No EOL
955 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

if(function(p,_){function e(t,e){return e.toUpperCase()}function i(t){(g.addEventListener||"load"===t.type||"complete"===g.readyState)&&(L(),xt.ready())}var r,n,v=typeof _,t=p.location,g=p.document,o=g.documentElement,a=p.jQuery,s=p.$,l={},h=[],u="1.10.2",m=h.concat,c=h.push,d=h.slice,f=h.indexOf,y=l.toString,b=l.hasOwnProperty,x=u.trim,xt=function(t,e){return new xt.fn.init(t,e,n)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,C=/\S+/g,S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,P=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,E=/^-ms-/,O=/-([\da-z])/gi,L=function(){g.addEventListener?(g.removeEventListener("DOMContentLoaded",i,!1),p.removeEventListener("load",i,!1)):(g.detachEvent("onreadystatechange",i),p.detachEvent("onload",i))};function I(t){var e=t.length,n=xt.type(t);return!xt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}xt.fn=xt.prototype={jquery:u,constructor:xt,init:function(t,e,n){var i,r;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):xt.isFunction(t)?n.ready(t):(t.selector!==_&&(this.selector=t.selector,this.context=t.context),xt.makeArray(t,this));if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof xt?e[0]:e,xt.merge(this,xt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),M.test(i[1])&&xt.isPlainObject(e))for(i in e)xt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((r=g.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=g,this.selector=t,this},selector:"",length:0,toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=xt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return xt.each(this,t,e)},ready:function(t){return xt.ready.promise().done(t),this},slice:function(){return this.pushStack(d.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(0<=n&&n<e?[this[n]]:[])},map:function(n){return this.pushStack(xt.map(this,function(t,e){return n.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:c,sort:[].sort,splice:[].splice},xt.fn.init.prototype=xt.fn,xt.extend=xt.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[1]||{},s=2),"object"==typeof a||xt.isFunction(a)||(a={}),l===s&&(a=this,--s);s<l;s++)if(null!=(r=arguments[s]))for(i in r)t=a[i],a!==(n=r[i])&&(u&&n&&(xt.isPlainObject(n)||(e=xt.isArray(n)))?(o=e?(e=!1,t&&xt.isArray(t)?t:[]):t&&xt.isPlainObject(t)?t:{},a[i]=xt.extend(u,o,n)):n!==_&&(a[i]=n));return a},xt.extend({expando:"jQuery"+(u+Math.random()).replace(/\D/g,""),noConflict:function(t){return p.$===xt&&(p.$=s),t&&p.jQuery===xt&&(p.jQuery=a),xt},isReady:!1,readyWait:1,holdReady:function(t){t?xt.readyWait++:xt.ready(!0)},ready:function(t){if(!0===t?!--xt.readyWait:!xt.isReady){if(!g.body)return setTimeout(xt.ready);(xt.isReady=!0)!==t&&0<--xt.readyWait||(r.resolveWith(g,[xt]),xt.fn.trigger&&xt(g).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===xt.type(t)},isArray:Array.isArray||function(t){return"array"===xt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[y.call(t)]||"object":typeof t},isPlainObject:function(t){var e;if(!t||"object"!==xt.type(t)||t.nodeType||xt.isWindow(t))return!1;try{if(t.constructor&&!b.call(t,"constructor")&&!b.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(xt.support.ownLast)for(e in t)return b.call(t,e);for(e in t);return e===_||b.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw Error(t)},parseHTML:function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||g;var i=M.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=xt.buildFragment([t],e,r),r&&xt(r).remove(),xt.merge([],i.childNodes))},parseJSON:function(t){return p.JSON&&p.JSON.parse?p.JSON.parse(t):null===t?t:"string"==typeof t&&((t=xt.trim(t))&&T.test(t.replace(A,"@").replace(P,"]").replace(D,"")))?Function("return "+t)():(xt.error("Invalid JSON: "+t),_)},parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{p.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=_}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||xt.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&xt.trim(t)&&(p.execScript||function(t){p.eval.call(p,t)})(t)},camelCase:function(t){return t.replace(E,"ms-").replace(O,e)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,r=t.length,o=I(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:x&&!x.call("\ufeff ")?function(t){return null==t?"":x.call(t)}:function(t){return null==t?"":(t+"").replace(S,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(I(Object(t))?xt.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){var i;if(e){if(f)return f.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){var n=e.length,i=t.length,r=0;if("number"==typeof n)for(;r<n;r++)t[i++]=e[r];else for(;e[r]!==_;)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){var i=[],r=0,o=t.length;for(n=!!n;r<o;r++)n!==!!e(t[r],r)&&i.push(t[r]);return i},map:function(t,e,n){var i,r=0,o=t.length,a=[];if(I(t))for(;r<o;r++)null!=(i=e(t[r],r,n))&&(a[a.length]=i);else for(r in t)null!=(i=e(t[r],r,n))&&(a[a.length]=i);return m.apply([],a)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(r=t[e],e=t,t=r),xt.isFunction(t)?(n=d.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(d.call(arguments)))}).guid=t.guid=t.guid||xt.guid++,i):_},access:function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;if("object"===xt.type(n))for(s in r=!0,n)xt.access(t,e,s,n[s],!0,o,a);else if(i!==_&&(r=!0,xt.isFunction(i)||(a=!0),u&&(e=a?(e.call(t,i),null):(u=e,function(t,e,n){return u.call(xt(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:u?e.call(t):l?e(t[0],n):o},now:function(){return(new Date).getTime()},swap:function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in r=n.apply(t,i||[]),e)t.style[o]=a[o];return r}}),xt.ready.promise=function(t){if(!r)if(r=xt.Deferred(),"complete"===g.readyState)setTimeout(xt.ready);else if(g.addEventListener)g.addEventListener("DOMContentLoaded",i,!1),p.addEventListener("load",i,!1);else{g.attachEvent("onreadystatechange",i),p.attachEvent("onload",i);var n=!1;try{n=null==p.frameElement&&g.documentElement}catch(t){}n&&n.doScroll&&function e(){if(!xt.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}L(),xt.ready()}}()}return r.promise(t)},xt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()}),n=xt(g),function(n,r){var t,p,w,S,o,i,g,_,u,m,C,a,v,y,s,c,b,x="sizzle"+-new Date,k=n.document,M=0,h=0,l=rt(),d=rt(),f=rt(),T=!1,D=function(t,e){return t===e&&(T=!0),0},A=typeof r,P={}.hasOwnProperty,e=[],E=e.pop,O=e.push,L=e.push,I=e.slice,N=e.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",H=j.replace("w","w#"),B="\\["+F+"*("+j+")"+F+"*(?:([*^$|!~]?=)"+F+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+H+")|)|)"+F+"*\\]",z=":("+j+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),$=RegExp("^"+F+"*,"+F+"*"),q=RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),U=RegExp(F+"*[+~]"),Y=RegExp("="+F+"*([^\\]'\"]*)"+F+"*\\]","g"),G=RegExp(z),X=RegExp("^"+H+"$"),V={ID:RegExp("^#("+j+")"),CLASS:RegExp("^\\.("+j+")"),TAG:RegExp("^("+j.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+z),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,tt=/'|\\/g,et=RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(55296|i>>10,56320|1023&i)};try{L.apply(e=I.call(k.childNodes),k.childNodes),e[k.childNodes.length].nodeType}catch(t){L={apply:e.length?function(t,e){O.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function it(t,e,n,i){var r,o,a,s,l,u,c,h,d,f;if((e?e.ownerDocument||e:k)!==C&&m(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=(e=e||C).nodeType)&&9!==s)return[];if(v&&!i){if(r=K.exec(t))if(a=r[1]){if(9===s){if(!(o=e.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&b(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return L.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&p.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(a)),n}if(p.qsa&&(!y||!y.test(t))){if(h=c=x,d=e,f=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=ft(t),(c=e.getAttribute("id"))?h=c.replace(tt,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+pt(u[l]);d=U.test(t)&&e.parentNode||e,f=u.join(",")}if(f)try{return L.apply(n,d.querySelectorAll(f)),n}catch(t){}finally{c||e.removeAttribute("id")}}}return function(t,e,n,i){var r,o,a,s,l,u=ft(t);if(!i&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&p.getById&&9===e.nodeType&&v&&S.relative[o[1].type]){if(!(e=(S.find.ID(a.matches[0].replace(et,nt),e)||[])[0]))return n;t=t.slice(o.shift().value.length)}for(r=V.needsContext.test(t)?0:o.length;r--&&(a=o[r],!S.relative[s=a.type]);)if((l=S.find[s])&&(i=l(a.matches[0].replace(et,nt),U.test(o[0].type)&&e.parentNode||e))){if(o.splice(r,1),!(t=i.length&&pt(o)))return L.apply(n,i),n;break}}return g(t,u)(i,e,!v,n,U.test(t)),n}(t.replace(W,"$1"),e,n,i)}function rt(){var i=[];return function t(e,n){return i.push(e+=" ")>S.cacheLength&&delete t[i.shift()],t[e]=n}}function ot(t){return t[x]=!0,t}function at(t){var e=C.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t,e){for(var n=t.split("|"),i=t.length;i--;)S.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ut(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ct(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function ht(a){return ot(function(o){return o=+o,ot(function(t,e){for(var n,i=a([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}for(t in i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},p=it.support={},m=it.setDocument=function(t){var l=t?t.ownerDocument||t:k,e=l.defaultView;return l!==C&&9===l.nodeType&&l.documentElement?(a=(C=l).documentElement,v=!i(l),e&&e.attachEvent&&e!==e.top&&e.attachEvent("onbeforeunload",function(){m()}),p.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=at(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=at(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),p.getById=at(function(t){return a.appendChild(t).id=x,!l.getElementsByName||!l.getElementsByName(x).length}),p.getById?(S.find.ID=function(t,e){if(typeof e.getElementById!=A&&v){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},S.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var n=t.replace(et,nt);return function(t){var e=typeof t.getAttributeNode!=A&&t.getAttributeNode("id");return e&&e.value===n}}),S.find.TAG=p.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!=A?e.getElementsByTagName(t):r}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},S.find.CLASS=p.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!=A&&v?e.getElementsByClassName(t):r},s=[],y=[],(p.qsa=Z.test(l.querySelectorAll))&&(at(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||y.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll(":checked").length||y.push(":checked")}),at(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&y.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),y.push(",.*:")})),(p.matchesSelector=Z.test(c=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&at(function(t){p.disconnectedMatch=c.call(t,"div"),c.call(t,"[s!='']:x"),s.push("!=",z)}),y=y.length&&RegExp(y.join("|")),s=s.length&&RegExp(s.join("|")),b=Z.test(a.contains)||a.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},D=a.compareDocumentPosition?function(t,e){if(t===e)return T=!0,0;var n=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return n?1&n||!p.sortDetached&&e.compareDocumentPosition(t)===n?t===l||b(k,t)?-1:e===l||b(k,e)?1:u?N.call(u,t)-N.call(u,e):0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(t===e)return T=!0,0;if(!r||!o)return t===l?-1:e===l?1:r?-1:o?1:u?N.call(u,t)-N.call(u,e):0;if(r===o)return lt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?lt(a[i],s[i]):a[i]===k?-1:s[i]===k?1:0},l):C},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&m(t),e=e.replace(Y,"='$1']"),!(!p.matchesSelector||!v||s&&s.test(e)||y&&y.test(e)))try{var n=c.call(t,e);if(n||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<it(e,C,null,[t]).length},it.contains=function(t,e){return(t.ownerDocument||t)!==C&&m(t),b(t,e)},it.attr=function(t,e){(t.ownerDocument||t)!==C&&m(t);var n=S.attrHandle[e.toLowerCase()],i=n&&P.call(S.attrHandle,e.toLowerCase())?n(t,e,!v):r;return i===r?p.attributes||!v?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null:i},it.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},it.uniqueSort=function(t){var e,n=[],i=0,r=0;if(T=!p.detectDuplicates,u=!p.sortStable&&t.slice(0),t.sort(D),T){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return t},o=it.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i];i++)n+=o(e);return n},(S=it.selectors={cacheLength:50,createPseudo:ot,match:V,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(et,nt),t[3]=(t[4]||t[5]||"").replace(et,nt),"~="===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]||it.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]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return V.CHILD.test(t[0])?null:(t[3]&&t[4]!==r?t[2]=t[4]:n&&G.test(n)&&(e=ft(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(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!=A&&t.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(t){var e=it.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===r:"!="===i?e!==r:"^="===i?r&&0===e.indexOf(r):"*="===i?r&&-1<e.indexOf(r):"$="===i?r&&e.slice(-r.length)===r:"~="===i?-1<(" "+e+" ").indexOf(r):"|="===i&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(f,t,e,p,g){var m="nth"!==f.slice(0,3),v="last"!==f.slice(-4),y="of-type"===t;return 1===p&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,r,o,a,s,l,u=m!=v?"nextSibling":"previousSibling",c=t.parentNode,h=y&&t.nodeName.toLowerCase(),d=!n&&!y;if(c){if(m){for(;u;){for(o=t;o=o[u];)if(y?o.nodeName.toLowerCase()===h:1===o.nodeType)return!1;l=u="only"===f&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&d){for(s=(i=(r=c[x]||(c[x]={}))[f]||[])[0]===M&&i[1],a=i[0]===M&&i[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){r[f]=[M,s,a];break}}else if(d&&(i=(t[x]||(t[x]={}))[f])&&i[0]===M)a=i[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((y?o.nodeName.toLowerCase()!==h:1!==o.nodeType)||!++a||(d&&((o[x]||(o[x]={}))[f]=[M,a]),o!==t)););return(a-=g)===p||0==a%p&&0<=a/p}}},PSEUDO:function(t,o){var e,a=S.pseudos[t]||S.setFilters[t.toLowerCase()]||it.error("unsupported pseudo: "+t);return a[x]?a(o):1<a.length?(e=[t,t,"",o],S.setFilters.hasOwnProperty(t.toLowerCase())?ot(function(t,e){for(var n,i=a(t,o),r=i.length;r--;)t[n=N.call(t,i[r])]=!(e[n]=i[r])}):function(t){return a(t,0,e)}):a}},pseudos:{not:ot(function(t){var i=[],r=[],s=g(t.replace(W,"$1"));return s[x]?ot(function(t,e,n,i){for(var r,o=s(t,null,i,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,e,n){return i[0]=t,s(i,null,n,r),!r.pop()}}),has:ot(function(e){return function(t){return 0<it(e,t).length}}),contains:ot(function(e){return function(t){return-1<(t.textContent||t.innerText||o(t)).indexOf(e)}}),lang:ot(function(n){return X.test(n||"")||it.error("unsupported lang: "+n),n=n.replace(et,nt).toLowerCase(),function(t){var e;do{if(e=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===a},focus:function(t){return t===C.activeElement&&(!C.hasFocus||C.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.nodeName||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!S.pseudos.empty(t)},header:function(t){return Q.test(t.nodeName)},input:function(t){return J.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"))||e.toLowerCase()===t.type)},first:ht(function(){return[0]}),last:ht(function(t,e){return[e-1]}),eq:ht(function(t,e,n){return[n<0?n+e:n]}),even:ht(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ht(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ht(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:ht(function(t,e,n){for(var i=n<0?n+e:n;e>++i;)t.push(i);return t})}}).pseudos.nth=S.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[t]=ut(t);for(t in{submit:!0,reset:!0})S.pseudos[t]=ct(t);function dt(){}function ft(t,e){var n,i,r,o,a,s,l,u=d[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],l=S.preFilter;a;){for(o in(!n||(i=$.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=q.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(W," ")}),a=a.slice(n.length)),S.filter)!(i=V[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?it.error(t):d(t,s).slice(0)}function pt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function gt(s,t,e){var l=t.dir,u=e&&"parentNode"===l,c=h++;return t.first?function(t,e,n){for(;t=t[l];)if(1===t.nodeType||u)return s(t,e,n)}:function(t,e,n){var i,r,o,a=M+" "+c;if(n){for(;t=t[l];)if((1===t.nodeType||u)&&s(t,e,n))return!0}else for(;t=t[l];)if(1===t.nodeType||u)if((r=(o=t[x]||(t[x]={}))[l])&&r[0]===a){if(!0===(i=r[1])||i===w)return!0===i}else if((r=o[l]=[a])[1]=s(t,e,n)||w,!0===r[1])return!0}}function mt(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function vt(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(!n||n(o,i,r))&&(a.push(o),u&&e.push(s));return a}function yt(f,p,g,m,v,t){return m&&!m[x]&&(m=yt(m)),v&&!v[x]&&(v=yt(v,t)),ot(function(t,e,n,i){var r,o,a,s=[],l=[],u=e.length,c=t||function(t,e,n){for(var i=0,r=e.length;i<r;i++)it(t,e[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),h=!f||!t&&p?c:vt(c,s,f,n,i),d=g?v||(t?f:u||m)?[]:e:h;if(g&&g(h,d,n,i),m)for(r=vt(d,l),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(d[l[o]]=!(h[l[o]]=a));if(t){if(v||f){if(v){for(r=[],o=d.length;o--;)(a=d[o])&&r.push(h[o]=a);v(null,d=[],r,i)}for(o=d.length;o--;)(a=d[o])&&-1<(r=v?N.call(t,a):s[o])&&(t[r]=!(e[r]=a))}}else d=vt(d===e?d.splice(u,d.length):d),v?v(null,e,d,i):L.apply(e,d)})}function bt(t){for(var i,e,n,r=t.length,o=S.relative[t[0].type],a=o||S.relative[" "],s=o?1:0,l=gt(function(t){return t===i},a,!0),u=gt(function(t){return-1<N.call(i,t)},a,!0),c=[function(t,e,n){return!o&&(n||e!==_)||((i=e).nodeType?l(t,e,n):u(t,e,n))}];s<r;s++)if(e=S.relative[t[s].type])c=[gt(mt(c),e)];else{if((e=S.filter[t[s].type].apply(null,t[s].matches))[x]){for(n=++s;n<r&&!S.relative[t[n].type];n++);return yt(1<s&&mt(c),1<s&&pt(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(W,"$1"),e,s<n&&bt(t.slice(s,n)),n<r&&bt(t=t.slice(n)),n<r&&pt(t))}c.push(e)}return mt(c)}dt.prototype=S.filters=S.pseudos,S.setFilters=new dt,g=it.compile=function(t,e){var n,i=[],r=[],o=f[t+" "];if(!o){for(e||(e=ft(t)),n=e.length;n--;)(o=bt(e[n]))[x]?i.push(o):r.push(o);o=f(t,function(m,v){function t(t,e,n,i,r){var o,a,s,l=[],u=0,c="0",h=t&&[],d=null!=r,f=_,p=t||x&&S.find.TAG("*",r&&e.parentNode||e),g=M+=null==f?1:Math.random()||.1;for(d&&(_=e!==C&&e,w=y);null!=(o=p[c]);c++){if(x&&o){for(a=0;s=m[a++];)if(s(o,e,n)){i.push(o);break}d&&(M=g,w=++y)}b&&((o=!s&&o)&&u--,t&&h.push(o))}if(u+=c,b&&c!==u){for(a=0;s=v[a++];)s(h,l,e,n);if(t){if(0<u)for(;c--;)h[c]||l[c]||(l[c]=E.call(i));l=vt(l)}L.apply(i,l),d&&!t&&0<l.length&&1<u+v.length&&it.uniqueSort(i)}return d&&(M=g,_=f),h}var y=0,b=0<v.length,x=0<m.length;return b?ot(t):t}(r,i))}return o},p.sortStable=x.split("").sort(D).join("")===x,p.detectDuplicates=T,m(),p.sortDetached=at(function(t){return 1&t.compareDocumentPosition(C.createElement("div"))}),at(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||st("type|href|height|width",function(t,e,n){return n?r:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&&at(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||st("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?r:t.defaultValue}),at(function(t){return null==t.getAttribute("disabled")})||st(R,function(t,e,n){var i;return n?r:(i=t.getAttributeNode(e))&&i.specified?i.value:!0===t[e]?e.toLowerCase():null}),xt.find=it,xt.expr=it.selectors,xt.expr[":"]=xt.expr.pseudos,xt.unique=it.uniqueSort,xt.text=it.getText,xt.isXMLDoc=it.isXML,xt.contains=it.contains}(p);var N={};xt.Callbacks=function(r){r="string"==typeof r?N[r]||function(t){var n=N[t]={};return xt.each(t.match(C)||[],function(t,e){n[e]=!0}),n}(r):xt.extend({},r);var i,e,n,o,a,s,l=[],u=!r.once&&[],c=function(t){for(e=r.memory&&t,n=!0,a=s||0,s=0,o=l.length,i=!0;l&&a<o;a++)if(!1===l[a].apply(t[0],t[1])&&r.stopOnFalse){e=!1;break}i=!1,l&&(u?u.length&&c(u.shift()):e?l=[]:h.disable())},h={add:function(){if(l){var t=l.length;(function i(t){xt.each(t,function(t,e){var n=xt.type(e);"function"===n?r.unique&&h.has(e)||l.push(e):e&&e.length&&"string"!==n&&i(e)})})(arguments),i?o=l.length:e&&(s=t,c(e))}return this},remove:function(){return l&&xt.each(arguments,function(t,e){for(var n;-1<(n=xt.inArray(e,l,n));)l.splice(n,1),i&&(n<=o&&o--,n<=a&&a--)}),this},has:function(t){return t?-1<xt.inArray(t,l):!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=e=_,this},disabled:function(){return!l},lock:function(){return u=_,e||h.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!l||n&&!u||(e=[t,(e=e||[]).slice?e.slice():e],i?u.push(e):c(e)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},xt.extend({Deferred:function(t){var a=[["resolve","done",xt.Callbacks("once memory"),"resolved"],["reject","fail",xt.Callbacks("once memory"),"rejected"],["notify","progress",xt.Callbacks("memory")]],r="pending",s={state:function(){return r},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return xt.Deferred(function(r){xt.each(a,function(t,e){var n=e[0],i=xt.isFunction(o[t])&&o[t];l[e[1]](function(){var t=i&&i.apply(this,arguments);t&&xt.isFunction(t.promise)?t.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[n+"With"](this===s?r.promise():this,i?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?xt.extend(t,s):s}},l={};return s.pipe=s.then,xt.each(a,function(t,e){var n=e[2],i=e[3];s[e[1]]=n.add,i&&n.add(function(){r=i},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?s:this,arguments),this},l[e[0]+"With"]=n.fireWith}),s.promise(l),t&&t.call(l,l),l},when:function(t){function e(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?d.call(arguments):t,i===r?u.notifyWith(n,i):--l||u.resolveWith(n,i)}}var r,n,i,o=0,a=d.call(arguments),s=a.length,l=1!==s||t&&xt.isFunction(t.promise)?s:0,u=1===l?t:xt.Deferred();if(1<s)for(r=Array(s),n=Array(s),i=Array(s);o<s;o++)a[o]&&xt.isFunction(a[o].promise)?a[o].promise().done(e(o,i,a)).fail(u.reject).progress(e(o,n,r)):--l;return l||u.resolveWith(i,a),u.promise()}}),xt.support=function(o){var t,e,n,i,r,a,s,l,u,c=g.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(i=g.createElement("select")).appendChild(g.createElement("option")),n=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!g.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,i.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(t){o.deleteExpando=!1}for(u in(n=g.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(r=g.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in p||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,xt(o))break;return o.ownLast="0"!==u,xt(function(){var t,e,n,i="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",r=g.getElementsByTagName("body")[0];r&&((t=g.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",r.appendChild(t).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",xt.swap(r,null!=r.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),p.getComputedStyle&&(o.pixelPosition="1%"!==(p.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(p.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(g.createElement("div"))).style.cssText=c.style.cssText=i,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((p.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==v&&(c.innerHTML="",c.style.cssText=i+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(r.style.zoom=1)),r.removeChild(t),t=c=n=e=null)}),t=i=r=a=e=n=null,o}({});var R=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,F=/([A-Z])/g;function j(t,e,n,i){if(xt.acceptData(t)){var r,o,a=xt.expando,s=t.nodeType,l=s?xt.cache:t,u=s?t[a]:t[a]&&a;if(u&&l[u]&&(i||l[u].data)||n!==_||"string"!=typeof e)return u||(u=s?t[a]=h.pop()||xt.guid++:a),l[u]||(l[u]=s?{}:{toJSON:xt.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[u]=xt.extend(l[u],e):l[u].data=xt.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),n!==_&&(o[xt.camelCase(e)]=n),"string"==typeof e?null==(r=o[e])&&(r=o[xt.camelCase(e)]):r=o,r}}function H(t,e,n){if(xt.acceptData(t)){var i,r,o=t.nodeType,a=o?xt.cache:t,s=o?t[xt.expando]:xt.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){r=(e=xt.isArray(e)?e.concat(xt.map(e,xt.camelCase)):e in i?[e]:(e=xt.camelCase(e))in i?[e]:e.split(" ")).length;for(;r--;)delete i[e[r]];if(n?!z(i):!xt.isEmptyObject(i))return}(n||(delete a[s].data,z(a[s])))&&(o?xt.cleanData([t],!0):xt.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function B(t,e,n){if(n===_&&1===t.nodeType){var i="data-"+e.replace(F,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?xt.parseJSON(n):n)}catch(t){}xt.data(t,e,n)}else n=_}return n}function z(t){var e;for(e in t)if(("data"!==e||!xt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}xt.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?xt.cache[t[xt.expando]]:t[xt.expando])&&!z(t)},data:function(t,e,n){return j(t,e,n)},removeData:function(t,e){return H(t,e)},_data:function(t,e,n){return j(t,e,n,!0)},_removeData:function(t,e){return H(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&xt.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),xt.fn.extend({data:function(t,e){var n,i,r=null,o=0,a=this[0];if(t!==_)return"object"==typeof t?this.each(function(){xt.data(this,t)}):1<arguments.length?this.each(function(){xt.data(this,t,e)}):a?B(a,t,xt.data(a,t)):null;if(this.length&&(r=xt.data(a),1===a.nodeType&&!xt._data(a,"parsedAttrs"))){for(n=a.attributes;n.length>o;o++)0===(i=n[o].name).indexOf("data-")&&B(a,i=xt.camelCase(i.slice(5)),r[i]);xt._data(a,"parsedAttrs",!0)}return r},removeData:function(t){return this.each(function(){xt.removeData(this,t)})}}),xt.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=xt._data(t,e),n&&(!i||xt.isArray(n)?i=xt._data(t,e,xt.makeArray(n)):i.push(n)),i||[]):_},dequeue:function(t,e){e=e||"fx";var n=xt.queue(t,e),i=n.length,r=n.shift(),o=xt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){xt.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return xt._data(t,n)||xt._data(t,n,{empty:xt.Callbacks("once memory").add(function(){xt._removeData(t,e+"queue"),xt._removeData(t,n)})})}}),xt.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),t>arguments.length?xt.queue(this[0],e):n===_?this:this.each(function(){var t=xt.queue(this,e,n);xt._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&xt.dequeue(this,e)})},dequeue:function(t){return this.each(function(){xt.dequeue(this,t)})},delay:function(i,t){return i=xt.fx&&xt.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--r||o.resolveWith(a,[a])}var i,r=1,o=xt.Deferred(),a=this,s=this.length;for("string"!=typeof t&&(e=t,t=_),t=t||"fx";s--;)(i=xt._data(a[s],t+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(e)}});var W,$,q=/[\t\r\n\f]/g,U=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,G=/^(?:a|area)$/i,X=/^(?:checked|selected)$/i,V=xt.support.getSetAttribute,Z=xt.support.input;xt.fn.extend({attr:function(t,e){return xt.access(this,xt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){xt.removeAttr(this,t)})},prop:function(t,e){return xt.access(this,xt.prop,t,e,1<arguments.length)},removeProp:function(t){return t=xt.propFix[t]||t,this.each(function(){try{this[t]=_,delete this[t]}catch(t){}})},addClass:function(e){var t,n,i,r,o,a=0,s=this.length,l="string"==typeof e&&e;if(xt.isFunction(e))return this.each(function(t){xt(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(C)||[];a<s;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(q," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");n.className=xt.trim(i)}return this},removeClass:function(e){var t,n,i,r,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(xt.isFunction(e))return this.each(function(t){xt(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(C)||[];a<s;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(q," "):"")){for(o=0;r=t[o++];)for(;0<=i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");n.className=e?xt.trim(i):""}return this},toggleClass:function(r,e){var o=typeof r;return"boolean"==typeof e&&"string"==o?e?this.addClass(r):this.removeClass(r):xt.isFunction(r)?this.each(function(t){xt(this).toggleClass(r.call(this,t,this.className,e),e)}):this.each(function(){if("string"==o)for(var t,e=0,n=xt(this),i=r.match(C)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else(o===v||"boolean"==o)&&(this.className&&xt._data(this,"__className__",this.className),this.className=this.className||!1===r?"":xt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(q," ").indexOf(e))return!0;return!1},val:function(n){var t,i,r,e=this[0];return arguments.length?(r=xt.isFunction(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=r?n.call(this,t,xt(this).val()):n)?e="":"number"==typeof e?e+="":xt.isArray(e)&&(e=xt.map(e,function(t){return null==t?"":t+""})),(i=xt.valHooks[this.type]||xt.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,e,"value")!==_||(this.value=e))})):e?(i=xt.valHooks[e.type]||xt.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&(t=i.get(e,"value"))!==_?t:"string"==typeof(t=e.value)?t.replace(U,""):null==t?"":t:void 0}}),xt.extend({valHooks:{option:{get:function(t){var e=xt.find.attr(t,"value");return null!=e?e:t.text}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l<s;l++)if(!(!(n=i[l]).selected&&l!==r||(xt.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&xt.nodeName(n.parentNode,"optgroup"))){if(e=xt(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=xt.makeArray(e),a=r.length;a--;)((i=r[a]).selected=0<=xt.inArray(xt(i).val(),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}},attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===v?xt.prop(t,e,n):(1===o&&xt.isXMLDoc(t)||(e=e.toLowerCase(),i=xt.attrHooks[e]||(xt.expr.match.bool.test(e)?$:W)),n===_?i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=xt.find.attr(t,e))?_:r:null!==n?i&&"set"in i&&(r=i.set(t,n,e))!==_?r:(t.setAttribute(e,n+""),n):(xt.removeAttr(t,e),_))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(C);if(o&&1===t.nodeType)for(;n=o[r++];)i=xt.propFix[n]||n,xt.expr.match.bool.test(n)?Z&&V||!X.test(n)?t[i]=!1:t[xt.camelCase("default-"+n)]=t[i]=!1:xt.attr(t,n,""),t.removeAttribute(V?n:i)},attrHooks:{type:{set:function(t,e){if(!xt.support.radioValue&&"radio"===e&&xt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!xt.isXMLDoc(t))&&(e=xt.propFix[e]||e,r=xt.propHooks[e]),n!==_?r&&"set"in r&&(i=r.set(t,n,e))!==_?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=xt.find.attr(t,"tabindex");return e?parseInt(e,10):Y.test(t.nodeName)||G.test(t.nodeName)&&t.href?0:-1}}}}),$={set:function(t,e,n){return!1===e?xt.removeAttr(t,n):Z&&V||!X.test(n)?t.setAttribute(!V&&xt.propFix[n]||n,n):t[xt.camelCase("default-"+n)]=t[n]=!0,n}},xt.each(xt.expr.match.bool.source.match(/\w+/g),function(t,e){var o=xt.expr.attrHandle[e]||xt.find.attr;xt.expr.attrHandle[e]=Z&&V||!X.test(e)?function(t,e,n){var i=xt.expr.attrHandle[e],r=n?_:(xt.expr.attrHandle[e]=_)!=o(t,e,n)?e.toLowerCase():null;return xt.expr.attrHandle[e]=i,r}:function(t,e,n){return n?_:t[xt.camelCase("default-"+e)]?e.toLowerCase():null}}),Z&&V||(xt.attrHooks.value={set:function(t,e,n){return xt.nodeName(t,"input")?(t.defaultValue=e,_):W&&W.set(t,e,n)}}),V||(W={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:_}},xt.expr.attrHandle.id=xt.expr.attrHandle.name=xt.expr.attrHandle.coords=function(t,e,n){var i;return n?_:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},xt.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:_},set:W.set},xt.attrHooks.contenteditable={set:function(t,e,n){W.set(t,""!==e&&e,n)}},xt.each(["width","height"],function(t,n){xt.attrHooks[n]={set:function(t,e){return""===e?(t.setAttribute(n,"auto"),e):_}}})),xt.support.hrefNormalized||xt.each(["href","src"],function(t,e){xt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),xt.support.style||(xt.attrHooks.style={get:function(t){return t.style.cssText||_},set:function(t,e){return t.style.cssText=e+""}}),xt.support.optSelected||(xt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),xt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){xt.propFix[this.toLowerCase()]=this}),xt.support.enctype||(xt.propFix.enctype="encoding"),xt.each(["radio","checkbox"],function(){xt.valHooks[this]={set:function(t,e){return xt.isArray(e)?t.checked=0<=xt.inArray(xt(t).val(),e):_}},xt.support.checkOn||(xt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var K=/^(?:input|select|textarea)$/i,J=/^key/,Q=/^(?:mouse|contextmenu)|click/,tt=/^(?:focusinfocus|focusoutblur)$/,et=/^([^.]*)(?:\.(.+)|)$/;function nt(){return!0}function it(){return!1}function rt(){try{return g.activeElement}catch(t){}}xt.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,p,g,m=xt._data(t);if(m){for(n.handler&&(n=(l=n).handler,r=l.selector),n.guid||(n.guid=xt.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||((c=m.handle=function(t){return typeof xt===v||t&&xt.event.triggered===t.type?_:xt.event.dispatch.apply(c.elem,arguments)}).elem=t),s=(e=(e||"").match(C)||[""]).length;s--;)f=g=(o=et.exec(e[s])||[])[1],p=(o[2]||"").split(".").sort(),f&&(u=xt.event.special[f]||{},f=(r?u.delegateType:u.bindType)||f,u=xt.event.special[f]||{},h=xt.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&xt.expr.match.needsContext.test(r),namespace:p.join(".")},l),(d=a[f])||((d=a[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,p,c)||(t.addEventListener?t.addEventListener(f,c,!1):t.attachEvent&&t.attachEvent("on"+f,c))),u.add&&(u.add.call(t,h),h.handler.guid||(h.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,h):d.push(h),xt.event.global[f]=!0);t=null}},remove:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,p,g,m=xt.hasData(t)&&xt._data(t);if(m&&(c=m.events)){for(u=(e=(e||"").match(C)||[""]).length;u--;)if(f=g=(s=et.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(h=xt.event.special[f]||{},d=c[f=(i?h.delegateType:h.bindType)||f]||[],s=s[2]&&RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!r&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,h.remove&&h.remove.call(t,a));l&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||xt.removeEvent(t,f,m.handle),delete c[f])}else for(f in c)xt.event.remove(t,f+e[u],n,i,!0);xt.isEmptyObject(c)&&(delete m.handle,xt._removeData(t,"events"))}},trigger:function(t,e,n,i){var r,o,a,s,l,u,c,h=[n||g],d=b.call(t,"type")?t.type:t,f=b.call(t,"namespace")?t.namespace.split("."):[];if(a=u=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!tt.test(d+xt.event.triggered)&&(0<=d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[xt.expando]?t:new xt.Event(d,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=f.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=_,t.target||(t.target=n),e=null==e?[t]:xt.makeArray(e,[t]),l=xt.event.special[d]||{},i||!l.trigger||!1!==l.trigger.apply(n,e))){if(!i&&!l.noBubble&&!xt.isWindow(n)){for(s=l.delegateType||d,tt.test(s+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(n.ownerDocument||g)&&h.push(u.defaultView||u.parentWindow||p)}for(c=0;(a=h[c++])&&!t.isPropagationStopped();)t.type=1<c?s:l.bindType||d,(r=(xt._data(a,"events")||{})[t.type]&&xt._data(a,"handle"))&&r.apply(a,e),(r=o&&a[o])&&xt.acceptData(a)&&r.apply&&!1===r.apply(a,e)&&t.preventDefault();if(t.type=d,!i&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(h.pop(),e))&&xt.acceptData(n)&&o&&n[d]&&!xt.isWindow(n)){(u=n[o])&&(n[o]=null),xt.event.triggered=d;try{n[d]()}catch(t){}xt.event.triggered=_,u&&(n[o]=u)}return t.result}},dispatch:function(t){t=xt.event.fix(t);var e,n,i,r,o,a=[],s=d.call(arguments),l=(xt._data(this,"events")||{})[t.type]||[],u=xt.event.special[t.type]||{};if((s[0]=t).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(a=xt.event.handlers.call(this,t,l),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,(n=((xt.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s))!==_&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],o=0;o<s;o++)r[n=(i=e[o]).selector+" "]===_&&(r[n]=i.needsContext?0<=xt(n,this).index(l):xt.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return e.length>s&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[xt.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:J.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new xt.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];return t.target||(t.target=o.srcElement||g),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(r=(i=t.target.ownerDocument||g).documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===_||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==rt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===rt()&&this.blur?(this.blur(),!1):_},delegateType:"focusout"},click:{trigger:function(){return xt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):_},_default:function(t){return xt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==_&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=xt.extend(new xt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?xt.event.trigger(r,null,e):xt.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},xt.removeEvent=g.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===v&&(t[i]=null),t.detachEvent(i,n))},xt.Event=function(t,e){return this instanceof xt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?nt:it):this.type=t,e&&xt.extend(this,e),this.timeStamp=t&&t.timeStamp||xt.now(),this[xt.expando]=!0,_):new xt.Event(t,e)},xt.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=nt,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=nt,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=nt,this.stopPropagation()}},xt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,r){xt.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return(!n||n!==this&&!xt.contains(this,n))&&(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),xt.support.submitBubbles||(xt.event.special.submit={setup:function(){return!xt.nodeName(this,"form")&&(xt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=xt.nodeName(e,"input")||xt.nodeName(e,"button")?e.form:_;n&&!xt._data(n,"submitBubbles")&&(xt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),xt._data(n,"submitBubbles",!0))}),_)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&xt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!xt.nodeName(this,"form")&&(xt.event.remove(this,"._submit"),_)}}),xt.support.changeBubbles||(xt.event.special.change={setup:function(){return K.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(xt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),xt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),xt.event.simulate("change",this,t,!0)})),!1):(xt.event.add(this,"beforeactivate._change",function(t){var e=t.target;K.test(e.nodeName)&&!xt._data(e,"changeBubbles")&&(xt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||xt.event.simulate("change",this.parentNode,t,!0)}),xt._data(e,"changeBubbles",!0))}),_)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):_},teardown:function(){return xt.event.remove(this,"._change"),!K.test(this.nodeName)}}),xt.support.focusinBubbles||xt.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){xt.event.simulate(e,t.target,xt.event.fix(t),!0)}var i=0;xt.event.special[e]={setup:function(){0==i++&&g.addEventListener(t,n,!0)},teardown:function(){0==--i&&g.removeEventListener(t,n,!0)}}}),xt.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=_),t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=_):null==i&&("string"==typeof e?(i=n,n=_):(i=n,n=e,e=_)),!1===i)i=it;else if(!i)return this;return 1===r&&(a=i,(i=function(t){return xt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=xt.guid++)),this.each(function(){xt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,xt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return(!1===e||"function"==typeof e)&&(n=e,e=_),!1===n&&(n=it),this.each(function(){xt.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this},trigger:function(t,e){return this.each(function(){xt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?xt.event.trigger(t,e,n,!0):_}});var ot=/^.[^:#\[\.,]*$/,at=/^(?:parents|prev(?:Until|All))/,st=xt.expr.match.needsContext,lt={children:!0,contents:!0,next:!0,prev:!0};function ut(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function ct(t,n,i){if(xt.isFunction(n))return xt.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return xt.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(ot.test(n))return xt.filter(n,t,i);n=xt.filter(n,t)}return xt.grep(t,function(t){return 0<=xt.inArray(t,n)!==i})}function ht(t){var e=dt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}xt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(xt(t).filter(function(){for(e=0;e<r;e++)if(xt.contains(i[e],this))return!0}));for(e=0;e<r;e++)xt.find(t,i[e],n);return(n=this.pushStack(1<r?xt.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},has:function(t){var e,n=xt(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(xt.contains(this,n[e]))return!0})},not:function(t){return this.pushStack(ct(this,t||[],!0))},filter:function(t){return this.pushStack(ct(this,t||[],!1))},is:function(t){return!!ct(this,"string"==typeof t&&st.test(t)?xt(t):t||[],!1).length},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=st.test(t)||"string"!=typeof t?xt(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&xt.find.matchesSelector(n,t))){n=o.push(n);break}return this.pushStack(1<o.length?xt.unique(o):o)},index:function(t){return t?"string"==typeof t?xt.inArray(this[0],xt(t)):xt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var n="string"==typeof t?xt(t,e):xt.makeArray(t&&t.nodeType?[t]:t),i=xt.merge(this.get(),n);return this.pushStack(xt.unique(i))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),xt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return xt.dir(t,"parentNode")},parentsUntil:function(t,e,n){return xt.dir(t,"parentNode",n)},next:function(t){return ut(t,"nextSibling")},prev:function(t){return ut(t,"previousSibling")},nextAll:function(t){return xt.dir(t,"nextSibling")},prevAll:function(t){return xt.dir(t,"previousSibling")},nextUntil:function(t,e,n){return xt.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return xt.dir(t,"previousSibling",n)},siblings:function(t){return xt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return xt.sibling(t.firstChild)},contents:function(t){return xt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:xt.merge([],t.childNodes)}},function(i,r){xt.fn[i]=function(t,e){var n=xt.map(this,r,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=xt.filter(e,n)),1<this.length&&(lt[i]||(n=xt.unique(n)),at.test(i)&&(n=n.reverse())),this.pushStack(n)}}),xt.extend({filter:function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?xt.find.matchesSelector(i,t)?[i]:[]:xt.find.matches(t,xt.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(n===_||1!==r.nodeType||!xt(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}});var dt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ft=/ jQuery\d+="(?:null|\d+)"/g,pt=RegExp("<(?:"+dt+")[\\s/>]","i"),gt=/^\s+/,mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,yt=/<tbody/i,bt=/<|&#?\w+;/,wt=/<(?:script|style|link)/i,St=/^(?:checkbox|radio)$/i,_t=/checked\s*(?:[^=]|=\s*.checked.)/i,Ct=/^$|\/(?:java|ecma)script/i,kt=/^true\/(.*)/,Mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Tt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:xt.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Dt=ht(g).appendChild(g.createElement("div"));function At(t,e){return xt.nodeName(t,"table")&&xt.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function Pt(t){return t.type=(null!==xt.find.attr(t,"type"))+"/"+t.type,t}function Et(t){var e=kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ot(t,e){for(var n,i=0;null!=(n=t[i]);i++)xt._data(n,"globalEval",!e||xt._data(e[i],"globalEval"))}function Lt(t,e){if(1===e.nodeType&&xt.hasData(t)){var n,i,r,o=xt._data(t),a=xt._data(e,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(i=0,r=s[n].length;i<r;i++)xt.event.add(e,n,s[n][i]);a.data&&(a.data=xt.extend({},a.data))}}function It(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!xt.support.noCloneEvent&&e[xt.expando]){for(i in(r=xt._data(e)).events)xt.removeEvent(e,i,r.handle);e.removeAttribute(xt.expando)}"script"===n&&e.text!==t.text?(Pt(e).text=t.text,Et(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),xt.support.html5Clone&&t.innerHTML&&!xt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&St.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function Nt(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==v?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==v?t.querySelectorAll(e||"*"):_;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||xt.nodeName(i,e)?o.push(i):xt.merge(o,Nt(i,e));return e===_||e&&xt.nodeName(t,e)?xt.merge([t],o):o}function Rt(t){St.test(t.type)&&(t.defaultChecked=t.checked)}Tt.optgroup=Tt.option,Tt.tbody=Tt.tfoot=Tt.colgroup=Tt.caption=Tt.thead,Tt.th=Tt.td,xt.fn.extend({text:function(t){return xt.access(this,function(t){return t===_?xt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||g).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||At(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=At(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,i=t?xt.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||xt.cleanData(Nt(n)),n.parentNode&&(e&&xt.contains(n.ownerDocument,n)&&Ot(Nt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&xt.cleanData(Nt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&xt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return xt.clone(this,t,e)})},html:function(t){return xt.access(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===_)return 1===e.nodeType?e.innerHTML.replace(ft,""):_;if(!("string"!=typeof t||wt.test(t)||!xt.support.htmlSerialize&&pt.test(t)||!xt.support.leadingWhitespace&&gt.test(t)||Tt[(vt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(mt,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(xt.cleanData(Nt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=xt.map(this,function(t){return[t.nextSibling,t.parentNode]}),r=0;return this.domManip(arguments,function(t){var e=i[r++],n=i[r++];n&&(e&&e.parentNode!==n&&(e=this.nextSibling),xt(this).remove(),n.insertBefore(t,e))},!0),r?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,i,r){n=m.apply([],n);var t,e,o,a,s,l,u=0,c=this.length,h=this,d=c-1,f=n[0],p=xt.isFunction(f);if(p||!(c<=1||"string"!=typeof f||xt.support.checkClone)&&_t.test(f))return this.each(function(t){var e=h.eq(t);p&&(n[0]=f.call(this,t,e.html())),e.domManip(n,i,r)});if(c&&(t=(l=xt.buildFragment(n,this[0].ownerDocument,!1,!r&&this)).firstChild,1===l.childNodes.length&&(l=t),t)){for(o=(a=xt.map(Nt(l,"script"),Pt)).length;u<c;u++)e=l,u!==d&&(e=xt.clone(e,!0,!0),o&&xt.merge(a,Nt(e,"script"))),i.call(this[u],e,u);if(o)for(s=a[a.length-1].ownerDocument,xt.map(a,Et),u=0;u<o;u++)e=a[u],Ct.test(e.type||"")&&!xt._data(e,"globalEval")&&xt.contains(s,e)&&(e.src?xt._evalUrl(e.src):xt.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Mt,"")));l=t=null}return this}}),xt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){xt.fn[t]=function(t){for(var e,n=0,i=[],r=xt(t),o=r.length-1;n<=o;n++)e=n===o?this:this.clone(!0),xt(r[n])[a](e),c.apply(i,e.get());return this.pushStack(i)}}),xt.extend({clone:function(t,e,n){var i,r,o,a,s,l=xt.contains(t.ownerDocument,t);if(xt.support.html5Clone||xt.isXMLDoc(t)||!pt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Dt.innerHTML=t.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(xt.support.noCloneEvent&&xt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||xt.isXMLDoc(t)))for(i=Nt(o),s=Nt(t),a=0;null!=(r=s[a]);++a)i[a]&&It(r,i[a]);if(e)if(n)for(s=s||Nt(t),i=i||Nt(o),a=0;null!=(r=s[a]);a++)Lt(r,i[a]);else Lt(t,o);return 0<(i=Nt(o,"script")).length&&Ot(i,!l&&Nt(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,h=t.length,d=ht(e),f=[],p=0;p<h;p++)if((o=t[p])||0===o)if("object"===xt.type(o))xt.merge(f,o.nodeType?[o]:o);else if(bt.test(o)){for(s=s||d.appendChild(e.createElement("div")),l=(vt.exec(o)||["",""])[1].toLowerCase(),c=Tt[l]||Tt._default,s.innerHTML=c[1]+o.replace(mt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!xt.support.leadingWhitespace&&gt.test(o)&&f.push(e.createTextNode(gt.exec(o)[0])),!xt.support.tbody)for(r=(o="table"!==l||yt.test(o)?"<table>"!==c[1]||yt.test(o)?0:s:s.firstChild)&&o.childNodes.length;r--;)xt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(xt.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else f.push(e.createTextNode(o));for(s&&d.removeChild(s),xt.support.appendChecked||xt.grep(Nt(f,"input"),Rt),p=0;o=f[p++];)if((!i||-1===xt.inArray(o,i))&&(a=xt.contains(o.ownerDocument,o),s=Nt(d.appendChild(o),"script"),a&&Ot(s),n))for(r=0;o=s[r++];)Ct.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(t,e){for(var n,i,r,o,a=0,s=xt.expando,l=xt.cache,u=xt.support.deleteExpando,c=xt.event.special;null!=(n=t[a]);a++)if((e||xt.acceptData(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?xt.event.remove(n,i):xt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==v?n.removeAttribute(s):n[s]=null,h.push(r))}},_evalUrl:function(t){return xt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),xt.fn.extend({wrapAll:function(e){if(xt.isFunction(e))return this.each(function(t){xt(this).wrapAll(e.call(this,t))});if(this[0]){var t=xt(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(n){return xt.isFunction(n)?this.each(function(t){xt(this).wrapInner(n.call(this,t))}):this.each(function(){var t=xt(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=xt.isFunction(e);return this.each(function(t){xt(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){xt.nodeName(this,"body")||xt(this).replaceWith(this.childNodes)}).end()}});var Ft,jt,Ht,Bt=/alpha\([^)]*\)/i,zt=/opacity\s*=\s*([^)]*)/,Wt=/^(top|right|bottom|left)$/,$t=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Ut=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Gt=RegExp("^([+-])=("+w+")","i"),Xt={BODY:"block"},Vt={position:"absolute",visibility:"hidden",display:"block"},Zt={letterSpacing:0,fontWeight:400},Kt=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"];function Qt(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Jt.length;r--;)if((e=Jt[r]+n)in t)return e;return i}function te(t,e){return t=e||t,"none"===xt.css(t,"display")||!xt.contains(t.ownerDocument,t)}function ee(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)(i=t[a]).style&&(o[a]=xt._data(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&te(i)&&(o[a]=xt._data(i,"olddisplay",oe(i.nodeName)))):o[a]||(r=te(i),(n&&"none"!==n||!r)&&xt._data(i,"olddisplay",r?n:xt.css(i,"display"))));for(a=0;a<s;a++)(i=t[a]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function ne(t,e,n){var i=Ut.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function ie(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=xt.css(t,n+Kt[o],!0,r)),i?("content"===n&&(a-=xt.css(t,"padding"+Kt[o],!0,r)),"margin"!==n&&(a-=xt.css(t,"border"+Kt[o]+"Width",!0,r))):(a+=xt.css(t,"padding"+Kt[o],!0,r),"padding"!==n&&(a+=xt.css(t,"border"+Kt[o]+"Width",!0,r)));return a}function re(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=jt(t),a=xt.support.boxSizing&&"border-box"===xt.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(((r=Ht(t,e,o))<0||null==r)&&(r=t.style[e]),Yt.test(r))return r;i=a&&(xt.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+ie(t,e,n||(a?"border":"content"),i,o)+"px"}function oe(t){var e=g,n=Xt[t];return n||("none"!==(n=ae(t,e))&&n||((e=((Ft=(Ft||xt("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Ft[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),n=ae(t,e),Ft.detach()),Xt[t]=n),n}function ae(t,e){var n=xt(e.createElement(t)).appendTo(e.body),i=xt.css(n[0],"display");return n.remove(),i}xt.fn.extend({css:function(t,e){return xt.access(this,function(t,e,n){var i,r,o={},a=0;if(xt.isArray(e)){for(r=jt(t),i=e.length;a<i;a++)o[e[a]]=xt.css(t,e[a],!1,r);return o}return n!==_?xt.style(t,e,n):xt.css(t,e)},t,e,1<arguments.length)},show:function(){return ee(this,!0)},hide:function(){return ee(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){te(this)?xt(this).show():xt(this).hide()})}}),xt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ht(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:xt.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=xt.camelCase(e),l=t.style;if(e=xt.cssProps[s]||(xt.cssProps[s]=Qt(l,s)),a=xt.cssHooks[e]||xt.cssHooks[s],n===_)return a&&"get"in a&&(r=a.get(t,!1,i))!==_?r:l[e];if("string"===(o=typeof n)&&(r=Gt.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(xt.css(t,e)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||xt.cssNumber[s]||(n+="px"),xt.support.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(n=a.set(t,n,i))===_)))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var r,o,a,s=xt.camelCase(e);return e=xt.cssProps[s]||(xt.cssProps[s]=Qt(t.style,s)),(a=xt.cssHooks[e]||xt.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),o===_&&(o=Ht(t,e,i)),"normal"===o&&e in Zt&&(o=Zt[e]),""===n||n?(r=parseFloat(o),!0===n||xt.isNumeric(r)?r||0:o):o}}),p.getComputedStyle?(jt=function(t){return p.getComputedStyle(t,null)},Ht=function(t,e,n){var i,r,o,a=n||jt(t),s=a?a.getPropertyValue(e)||a[e]:_,l=t.style;return a&&(""!==s||xt.contains(t.ownerDocument,t)||(s=xt.style(t,e)),Yt.test(s)&&qt.test(e)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=a.width,l.width=i,l.minWidth=r,l.maxWidth=o)),s}):g.documentElement.currentStyle&&(jt=function(t){return t.currentStyle},Ht=function(t,e,n){var i,r,o,a=n||jt(t),s=a?a[e]:_,l=t.style;return null==s&&l&&l[e]&&(s=l[e]),Yt.test(s)&&!Wt.test(e)&&(i=l.left,(o=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),l.left="fontSize"===e?"1em":s,s=l.pixelLeft+"px",l.left=i,o&&(r.left=o)),""===s?"auto":s}),xt.each(["height","width"],function(t,r){xt.cssHooks[r]={get:function(t,e,n){return e?0===t.offsetWidth&&$t.test(xt.css(t,"display"))?xt.swap(t,Vt,function(){return re(t,r,n)}):re(t,r,n):_},set:function(t,e,n){var i=n&&jt(t);return ne(0,e,n?ie(t,r,n,xt.support.boxSizing&&"border-box"===xt.css(t,"boxSizing",!1,i),i):0)}}}),xt.support.opacity||(xt.cssHooks.opacity={get:function(t,e){return zt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=xt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===xt.trim(o.replace(Bt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=Bt.test(o)?o.replace(Bt,r):o+" "+r)}}),xt(function(){xt.support.reliableMarginRight||(xt.cssHooks.marginRight={get:function(t,e){return e?xt.swap(t,{display:"inline-block"},Ht,[t,"marginRight"]):_}}),!xt.support.pixelPosition&&xt.fn.position&&xt.each(["top","left"],function(t,n){xt.cssHooks[n]={get:function(t,e){return e?(e=Ht(t,n),Yt.test(e)?xt(t).position()[n]+"px":e):_}}})}),xt.expr&&xt.expr.filters&&(xt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!xt.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||xt.css(t,"display"))},xt.expr.filters.visible=function(t){return!xt.expr.filters.hidden(t)}),xt.each({margin:"",padding:"",border:"Width"},function(r,o){xt.cssHooks[r+o]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+Kt[e]+o]=i[e]||i[e-2]||i[0];return n}},qt.test(r)||(xt.cssHooks[r+o].set=ne)});var se=/%20/g,le=/\[\]$/,ue=/\r?\n/g,ce=/^(?:submit|button|image|reset|file)$/i,he=/^(?:input|select|textarea|keygen)/i;function de(n,t,i,r){var e;if(xt.isArray(t))xt.each(t,function(t,e){i||le.test(n)?r(n,e):de(n+"["+("object"==typeof e?t:"")+"]",e,i,r)});else if(i||"object"!==xt.type(t))r(n,t);else for(e in t)de(n+"["+e+"]",t[e],i,r)}xt.fn.extend({serialize:function(){return xt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=xt.prop(this,"elements");return t?xt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!xt(this).is(":disabled")&&he.test(this.nodeName)&&!ce.test(t)&&(this.checked||!St.test(t))}).map(function(t,e){var n=xt(this).val();return null==n?null:xt.isArray(n)?xt.map(n,function(t){return{name:e.name,value:t.replace(ue,"\r\n")}}):{name:e.name,value:n.replace(ue,"\r\n")}}).get()}}),xt.param=function(t,e){function n(t,e){e=xt.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var i,r=[];if(e===_&&(e=xt.ajaxSettings&&xt.ajaxSettings.traditional),xt.isArray(t)||t.jquery&&!xt.isPlainObject(t))xt.each(t,function(){n(this.name,this.value)});else for(i in t)de(i,t[i],e,n);return r.join("&").replace(se,"+")},xt.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,n){xt.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),xt.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,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var fe,pe,ge=xt.now(),me=/\?/,ve=/#.*$/,ye=/([?&])_=[^&]*/,be=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,xe=/^(?:GET|HEAD)$/,we=/^\/\//,Se=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,_e=xt.fn.load,Ce={},ke={},Me="*/".concat("*");try{pe=t.href}catch(t){(pe=g.createElement("a")).href="",pe=pe.href}function Te(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(C)||[];if(xt.isFunction(e))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function De(e,r,o,a){var s={},l=e===ke;function u(t){var i;return s[t]=!0,xt.each(e[t]||[],function(t,e){var n=e(r,o,a);return"string"!=typeof n||l||s[n]?l?!(i=n):_:(r.dataTypes.unshift(n),u(n),!1)}),i}return u(r.dataTypes[0])||!s["*"]&&u("*")}function Ae(t,e){var n,i,r=xt.ajaxSettings.flatOptions||{};for(i in e)e[i]!==_&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&xt.extend(!0,t,n),t}fe=Se.exec(pe.toLowerCase())||[],xt.fn.load=function(t,e,n){if("string"!=typeof t&&_e)return _e.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return 0<=s&&(i=t.slice(s,t.length),t=t.slice(0,s)),xt.isFunction(e)?(n=e,e=_):e&&"object"==typeof e&&(o="POST"),0<a.length&&xt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?xt("<div>").append(xt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},xt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){xt.fn[e]=function(t){return this.on(e,t)}}),xt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pe,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(fe[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,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":xt.parseJSON,"text xml":xt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ae(Ae(t,xt.ajaxSettings),e):Ae(xt.ajaxSettings,t)},ajaxPrefilter:Te(Ce),ajaxTransport:Te(ke),ajax:function(t,e){"object"==typeof t&&(e=t,t=_),e=e||{};var n,i,c,h,d,f,p,r,g=xt.ajaxSetup({},e),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?xt(m):xt.event,y=xt.Deferred(),b=xt.Callbacks("once memory"),x=g.statusCode||{},o={},a={},w=0,s="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!r)for(r={};e=be.exec(h);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?h:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=a[n]=a[n]||t,o[t]=e),this},overrideMimeType:function(t){return w||(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)x[e]=[x[e],t[e]];else S.always(t[S.status]);return this},abort:function(t){var e=t||s;return p&&p.abort(e),l(0,e),this}};if(y.promise(S).complete=b.add,S.success=S.done,S.error=S.fail,g.url=((t||g.url||pe)+"").replace(ve,"").replace(we,fe[1]+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=xt.trim(g.dataType||"*").toLowerCase().match(C)||[""],null==g.crossDomain&&(n=Se.exec(g.url.toLowerCase()),g.crossDomain=!(!n||n[1]===fe[1]&&n[2]===fe[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(fe[3]||("http:"===fe[1]?"80":"443")))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=xt.param(g.data,g.traditional)),De(Ce,g,e,S),2===w)return S;for(i in(f=g.global)&&0==xt.active++&&xt.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!xe.test(g.type),c=g.url,g.hasContent||(g.data&&(c=g.url+=(me.test(c)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=ye.test(c)?c.replace(ye,"$1_="+ge++):c+(me.test(c)?"&":"?")+"_="+ge++)),g.ifModified&&(xt.lastModified[c]&&S.setRequestHeader("If-Modified-Since",xt.lastModified[c]),xt.etag[c]&&S.setRequestHeader("If-None-Match",xt.etag[c])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&S.setRequestHeader("Content-Type",g.contentType),S.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Me+"; q=0.01":""):g.accepts["*"]),g.headers)S.setRequestHeader(i,g.headers[i]);if(g.beforeSend&&(!1===g.beforeSend.call(m,S,g)||2===w))return S.abort();for(i in s="abort",{success:1,error:1,complete:1})S[i](g[i]);if(p=De(ke,g,e,S)){S.readyState=1,f&&v.trigger("ajaxSend",[S,g]),g.async&&0<g.timeout&&(d=setTimeout(function(){S.abort("timeout")},g.timeout));try{w=1,p.send(o,l)}catch(t){if(!(w<2))throw t;l(-1,t)}}else l(-1,"No Transport");function l(t,e,n,i){var r,o,a,s,l,u=e;2!==w&&(w=2,d&&clearTimeout(d),p=_,h=i||"",S.readyState=0<t?4:0,r=200<=t&&t<300||304===t,n&&(s=function(t,e,n){var i,r,o,a,s=t.contents,l=t.dataTypes;for(;"*"===l[0];)l.shift(),r===_&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}i||(i=a)}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):_}(g,S,n)),s=function(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];o=c.shift();for(;o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.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 "+l+" to "+o}}}return{state:"success",data:e}}(g,s,S,r),r?(g.ifModified&&((l=S.getResponseHeader("Last-Modified"))&&(xt.lastModified[c]=l),(l=S.getResponseHeader("etag"))&&(xt.etag[c]=l)),204===t||"HEAD"===g.type?u="nocontent":304===t?u="notmodified":(u=s.state,o=s.data,r=!(a=s.error))):(a=u,(t||!u)&&(u="error",t<0&&(t=0))),S.status=t,S.statusText=(e||u)+"",r?y.resolveWith(m,[o,u,S]):y.rejectWith(m,[S,u,a]),S.statusCode(x),x=_,f&&v.trigger(r?"ajaxSuccess":"ajaxError",[S,g,r?o:a]),b.fireWith(m,[S,u]),f&&(v.trigger("ajaxComplete",[S,g]),--xt.active||xt.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,n){return xt.get(t,e,n,"json")},getScript:function(t,e){return xt.get(t,_,e,"script")}}),xt.each(["get","post"],function(t,r){xt[r]=function(t,e,n,i){return xt.isFunction(e)&&(i=i||n,n=e,e=_),xt.ajax({url:t,type:r,dataType:i,data:e,success:n})}}),xt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return xt.globalEval(t),t}}}),xt.ajaxPrefilter("script",function(t){t.cache===_&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),xt.ajaxTransport("script",function(e){if(e.crossDomain){var i,r=g.head||xt("head")[0]||g.documentElement;return{send:function(t,n){(i=g.createElement("script")).async=!0,e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(t,e){(e||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,e||n(200,"success"))},r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(_,!0)}}}});var Pe=[],Ee=/(=)\?(?=&|$)|\?\?/;xt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Pe.pop()||xt.expando+"_"+ge++;return this[t]=!0,t}}),xt.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,o,a=!1!==t.jsonp&&(Ee.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ee.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=xt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ee,"$1"+i):!1!==t.jsonp&&(t.url+=(me.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||xt.error(i+" was not called"),o[0]},t.dataTypes[0]="json",r=p[i],p[i]=function(){o=arguments},n.always(function(){p[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,Pe.push(i)),o&&xt.isFunction(r)&&r(o[0]),o=r=_}),"script"):_});var Oe,Le,Ie=0,Ne=p.ActiveXObject&&function(){var t;for(t in Oe)Oe[t](_,!0)};function Re(){try{return new p.XMLHttpRequest}catch(t){}}xt.ajaxSettings.xhr=p.ActiveXObject?function(){return!this.isLocal&&Re()||function(){try{return new p.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:Re,Le=xt.ajaxSettings.xhr(),xt.support.cors=!!Le&&"withCredentials"in Le,(Le=xt.support.ajax=!!Le)&&xt.ajaxTransport(function(u){var c;if(!u.crossDomain||xt.support.cors)return{send:function(t,a){var s,e,l=u.xhr();if(u.username?l.open(u.type,u.url,u.async,u.username,u.password):l.open(u.type,u.url,u.async),u.xhrFields)for(e in u.xhrFields)l[e]=u.xhrFields[e];u.mimeType&&l.overrideMimeType&&l.overrideMimeType(u.mimeType),u.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest");try{for(e in t)l.setRequestHeader(e,t[e])}catch(t){}l.send(u.hasContent&&u.data||null),c=function(t,e){var n,i,r,o;try{if(c&&(e||4===l.readyState))if(c=_,s&&(l.onreadystatechange=xt.noop,Ne&&delete Oe[s]),e)4!==l.readyState&&l.abort();else{o={},n=l.status,i=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(o.text=l.responseText);try{r=l.statusText}catch(t){r=""}n||!u.isLocal||u.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(t){e||a(-1,t)}o&&a(n,r,o,i)},u.async?4===l.readyState?setTimeout(c):(s=++Ie,Ne&&(Oe||(Oe={},xt(p).unload(Ne)),Oe[s]=c),l.onreadystatechange=c):c()},abort:function(){c&&c(_,!0)}}});var Fe,je,He=/^(?:toggle|show|hide)$/,Be=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),ze=/queueHooks$/,We=[function(e,t,n){var i,r,o,a,s,l,u=this,c={},h=e.style,d=e.nodeType&&te(e),f=xt._data(e,"fxshow");for(i in n.queue||(null==(s=xt._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,xt.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===xt.css(e,"display")&&"none"===xt.css(e,"float")&&(xt.support.inlineBlockNeedsLayout&&"inline"!==oe(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",xt.support.shrinkWrapBlocks||u.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),t)if(r=t[i],He.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(d?"hide":"show"))continue;c[i]=f&&f[i]||xt.style(e,i)}if(!xt.isEmptyObject(c))for(i in f?"hidden"in f&&(d=f.hidden):f=xt._data(e,"fxshow",{}),o&&(f.hidden=!d),d?xt(e).show():u.done(function(){xt(e).hide()}),u.done(function(){var t;for(t in xt._removeData(e,"fxshow"),c)xt.style(e,t,c[t])}),c)a=Ue(d?f[i]:0,i,u),i in f||(f[i]=a.start,d&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}],$e={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=Be.exec(e),o=r&&r[3]||(xt.cssNumber[t]?"":"px"),a=(xt.cssNumber[t]||"px"!==o&&+i)&&Be.exec(xt.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],r=r||[],a=+i||1;a/=s=s||".5",xt.style(n.elem,t,a+o),s!==(s=n.cur()/i)&&1!==s&&--l;);return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};function qe(){return setTimeout(function(){Fe=_}),Fe=xt.now()}function Ue(t,e,n){for(var i,r=($e[e]||[]).concat($e["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function Ye(o,t,e){var n,a,i=0,r=We.length,s=xt.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=Fe||qe(),e=Math.max(0,u.startTime+u.duration-t),n=1-(e/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return s.notifyWith(o,[u,n,e]),n<1&&r?e:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:xt.extend({},t),opts:xt.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Fe||qe(),duration:e.duration,tweens:[],createTween:function(t,e){var n=xt.Tween(o,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var e=0,n=t?u.tweens.length:0;if(a)return this;for(a=!0;e<n;e++)u.tweens[e].run(1);return t?s.resolveWith(o,[u,t]):s.rejectWith(o,[u,t]),this}}),c=u.props;for(function(t,e){var n,i,r,o,a;for(n in t)if(i=xt.camelCase(n),r=e[i],o=t[n],xt.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=xt.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(c,u.opts.specialEasing);i<r;i++)if(n=We[i].call(u,o,c,u.opts))return n;return xt.map(c,Ue,u),xt.isFunction(u.opts.start)&&u.opts.start.call(o,u),xt.fx.timer(xt.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function Ge(t,e,n,i,r){return new Ge.prototype.init(t,e,n,i,r)}function Xe(t,e){var n,i={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=Kt[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function Ve(t){return xt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}xt.Animation=xt.extend(Ye,{tweener:function(t,e){for(var n,i=0,r=(t=xt.isFunction(t)?(e=t,["*"]):t.split(" ")).length;i<r;i++)n=t[i],$e[n]=$e[n]||[],$e[n].unshift(e)},prefilter:function(t,e){e?We.unshift(t):We.push(t)}}),((xt.Tween=Ge).prototype={constructor:Ge,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(xt.cssNumber[n]?"":"px")},cur:function(){var t=Ge.propHooks[this.prop];return t&&t.get?t.get(this):Ge.propHooks._default.get(this)},run:function(t){var e,n=Ge.propHooks[this.prop];return this.pos=e=this.options.duration?xt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):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):Ge.propHooks._default.set(this),this}}).init.prototype=Ge.prototype,(Ge.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=xt.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){xt.fx.step[t.prop]?xt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[xt.cssProps[t.prop]]||xt.cssHooks[t.prop])?xt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=Ge.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},xt.each(["toggle","show","hide"],function(t,i){var r=xt.fn[i];xt.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(Xe(i,!0),t,e,n)}}),xt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(te).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){function r(){var t=Ye(this,xt.extend({},e),a);(o||xt._data(this,"finish"))&&t.stop(!0)}var o=xt.isEmptyObject(e),a=xt.speed(t,n,i);return r.finish=r,o||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(r,t,o){function a(t){var e=t.stop;delete t.stop,e(o)}return"string"!=typeof r&&(o=t,t=r,r=_),t&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=xt.timers,i=xt._data(this);if(e)i[e]&&i[e].stop&&a(i[e]);else for(e in i)i[e]&&i[e].stop&&ze.test(e)&&a(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(o),t=!1,n.splice(e,1));(t||!o)&&xt.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=xt._data(this),n=e[a+"queue"],i=e[a+"queueHooks"],r=xt.timers,o=n?n.length:0;for(e.finish=!0,xt.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===a&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),xt.each({slideDown:Xe("show"),slideUp:Xe("hide"),slideToggle:Xe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){xt.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),xt.speed=function(t,e,n){var i=t&&"object"==typeof t?xt.extend({},t):{complete:n||!n&&e||xt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!xt.isFunction(e)&&e};return i.duration=xt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in xt.fx.speeds?xt.fx.speeds[i.duration]:xt.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){xt.isFunction(i.old)&&i.old.call(this),i.queue&&xt.dequeue(this,i.queue)},i},xt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},xt.timers=[],xt.fx=Ge.prototype.init,xt.fx.tick=function(){var t,e=xt.timers,n=0;for(Fe=xt.now();e.length>n;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||xt.fx.stop(),Fe=_},xt.fx.timer=function(t){t()&&xt.timers.push(t)&&xt.fx.start()},xt.fx.interval=13,xt.fx.start=function(){je||(je=setInterval(xt.fx.tick,xt.fx.interval))},xt.fx.stop=function(){clearInterval(je),je=null},xt.fx.speeds={slow:600,fast:200,_default:400},xt.fx.step={},xt.expr&&xt.expr.filters&&(xt.expr.filters.animated=function(e){return xt.grep(xt.timers,function(t){return e===t.elem}).length}),xt.fn.offset=function(e){if(arguments.length)return e===_?this:this.each(function(t){xt.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(t=o.documentElement,xt.contains(t,r)?(typeof r.getBoundingClientRect!==v&&(i=r.getBoundingClientRect()),n=Ve(o),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},xt.offset={setOffset:function(t,e,n){var i=xt.css(t,"position");"static"===i&&(t.style.position="relative");var r,o,a=xt(t),s=a.offset(),l=xt.css(t,"top"),u=xt.css(t,"left"),c={},h={};o=("absolute"===i||"fixed"===i)&&-1<xt.inArray("auto",[l,u])?(r=(h=a.position()).top,h.left):(r=parseFloat(l)||0,parseFloat(u)||0),xt.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(c.top=e.top-s.top+r),null!=e.left&&(c.left=e.left-s.left+o),"using"in e?e.using.call(t,c):a.css(c)}},xt.fn.extend({position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===xt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),xt.nodeName(t[0],"html")||(n=t.offset()),n.top+=xt.css(t[0],"borderTopWidth",!0),n.left+=xt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-xt.css(i,"marginTop",!0),left:e.left-n.left-xt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||o;t&&!xt.nodeName(t,"html")&&"static"===xt.css(t,"position");)t=t.offsetParent;return t||o})}}),xt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o=/Y/.test(r);xt.fn[e]=function(t){return xt.access(this,function(t,e,n){var i=Ve(t);return n===_?i?r in i?i[r]:i.document.documentElement[e]:t[e]:(i?i.scrollTo(o?xt(i).scrollLeft():n,o?n:xt(i).scrollTop()):t[e]=n,_)},e,t,arguments.length,null)}}),xt.each({Height:"height",Width:"width"},function(o,a){xt.each({padding:"inner"+o,content:a,"":"outer"+o},function(i,t){xt.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return xt.access(this,function(t,e,n){var i;return xt.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+o],i["scroll"+o],t.body["offset"+o],i["offset"+o],i["client"+o])):n===_?xt.css(t,e,r):xt.style(t,e,n,r)},a,n?t:_,n,null)}})}),xt.fn.size=function(){return this.length},xt.fn.andSelf=xt.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=xt:(p.jQuery=p.$=xt,"function"==typeof define&&define.amd&&define("jquery",[],function(){return xt}))}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");!function(i){"use strict";i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;i(this).one(i.support.transition.end,function(){e=!0});return setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.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]}}()})}(jQuery),function(o){"use strict";function i(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';i.prototype.close=function(t){function e(){r.trigger("closed.bs.alert").remove()}var n=o(this),i=n.attr("data-target");i||(i=(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""));var r=o(i);t&&t.preventDefault(),r.length||(r=n.hasClass("alert")?n:n.parent()),r.trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(r.removeClass("in"),o.support.transition&&r.hasClass("fade")?r.one(o.support.transition.end,e).emulateTransitionEnd(150):e())};var t=o.fn.alert;o.fn.alert=function(n){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new i(this)),"string"==typeof n&&e[n].call(t)})},o.fn.alert.Constructor=i,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(r){"use strict";var o=function(t,e){this.$element=r(t),this.options=r.extend({},o.DEFAULTS,e)};o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.is("input")?"val":"html",r=n.data();t+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[t]||this.options[t]),setTimeout(function(){"loadingText"==t?n.addClass(e).attr(e,e):n.removeClass(e).removeAttr(e)},0)},o.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons"]');t.length&&("radio"===this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change").prop("type")&&t.find(".active").removeClass("active"));this.$element.toggleClass("active")};var t=r.fn.button;r.fn.button=function(i){return this.each(function(){var t=r(this),e=t.data("bs.button"),n="object"==typeof i&&i;e||t.data("bs.button",e=new o(this,n)),"toggle"==i?e.toggle():i&&e.setState(i)})},r.fn.button.Constructor=o,r.fn.button.noConflict=function(){return r.fn.button=t,this},r(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var e=r(t.target);e.hasClass("btn")||(e=e.closest(".btn")),e.button("toggle"),t.preventDefault()})}(jQuery),function(u){"use strict";function o(t,e){this.$element=u(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",u.proxy(this.pause,this)).on("mouseleave",u.proxy(this.cycle,this))}o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},o.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(u.proxy(this.next,this),this.options.interval)),this},o.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},o.prototype.to=function(t){var e=this,n=this.getActiveIndex();return t>this.$items.length-1||t<0?void 0:this.sliding?this.$element.one("slid",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",u(this.$items[t]))},o.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&u.support.transition.end&&(this.$element.trigger(u.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},o.prototype.next=function(){return this.sliding?void 0:this.slide("next")},o.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},o.prototype.slide=function(t,e){var n=this.$element.find(".item.active"),i=e||n[t](),r=this.interval,o="next"==t?"left":"right",a="next"==t?"first":"last",s=this;if(!i.length){if(!this.options.wrap)return;i=this.$element.find(".item")[a]()}this.sliding=!0,r&&this.pause();var l=u.Event("slide.bs.carousel",{relatedTarget:i[0],direction:o});if(!i.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=u(s.$indicators.children()[s.getActiveIndex()]);t&&t.addClass("active")})),u.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(l),l.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,n.addClass(o),i.addClass(o),n.one(u.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),s.sliding=!1,setTimeout(function(){s.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(l),l.isDefaultPrevented())return;n.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return r&&this.cycle(),this}};var t=u.fn.carousel;u.fn.carousel=function(r){return this.each(function(){var t=u(this),e=t.data("bs.carousel"),n=u.extend({},o.DEFAULTS,t.data(),"object"==typeof r&&r),i="string"==typeof r?r:n.slide;e||t.data("bs.carousel",e=new o(this,n)),"number"==typeof r?e.to(r):i?e[i]():n.interval&&e.pause().cycle()})},u.fn.carousel.Constructor=o,u.fn.carousel.noConflict=function(){return u.fn.carousel=t,this},u(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var e,n=u(this),i=u(n.attr("data-target")||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")),r=u.extend({},i.data(),n.data()),o=n.attr("data-slide-to");o&&(r.interval=!1),i.carousel(r),(o=n.attr("data-slide-to"))&&i.data("bs.carousel").to(o),t.preventDefault()}),u(window).on("load",function(){u('[data-ride="carousel"]').each(function(){var t=u(this);t.carousel(t.data())})})}(jQuery),function(u){"use strict";var r=function(t,e){this.$element=u(t),this.options=u.extend({},r.DEFAULTS,e),this.transitioning=null,this.options.parent&&(this.$parent=u(this.options.parent)),this.options.toggle&&this.toggle()};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 t=u.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.$parent&&this.$parent.find("> .panel > .in");if(e&&e.length){var n=e.data("bs.collapse");if(n&&n.transitioning)return;e.collapse("hide"),n||e.data("bs.collapse",null)}var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("in")[i]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!u.support.transition)return r.call(this);var o=u.camelCase(["scroll",i].join("-"));this.$element.one(u.support.transition.end,u.proxy(r,this)).emulateTransitionEnd(350)[i](this.$element[0][o])}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=u.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return u.support.transition?void this.$element[e](0).one(u.support.transition.end,u.proxy(n,this)).emulateTransitionEnd(350):n.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=u.fn.collapse;u.fn.collapse=function(i){return this.each(function(){var t=u(this),e=t.data("bs.collapse"),n=u.extend({},r.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.collapse",e=new r(this,n)),"string"==typeof i&&e[i]()})},u.fn.collapse.Constructor=r,u.fn.collapse.noConflict=function(){return u.fn.collapse=t,this},u(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var e,n=u(this),i=n.attr("data-target")||t.preventDefault()||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),r=u(i),o=r.data("bs.collapse"),a=o?"toggle":n.data(),s=n.attr("data-parent"),l=s&&u(s);o&&o.transitioning||(l&&l.find('[data-toggle=collapse][data-parent="'+s+'"]').not(n).addClass("collapsed"),n[r.hasClass("in")?"addClass":"removeClass"]("collapsed")),r.collapse(a)})}(jQuery),function(a){"use strict";function r(){a(".dropdown-backdrop").remove(),a(l).each(function(t){var e=s(a(this));e.hasClass("open")&&(e.trigger(t=a.Event("hide.bs.dropdown")),t.isDefaultPrevented()||e.removeClass("open").trigger("hidden.bs.dropdown"))})}function s(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var n=e&&a(e);return n&&n.length?n:t.parent()}function i(t){a(t).on("click.bs.dropdown",this.toggle)}var l="[data-toggle=dropdown]";i.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var n=s(e),i=n.hasClass("open");if(r(),!i){if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",r),n.trigger(t=a.Event("show.bs.dropdown")),t.isDefaultPrevented())return;n.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},i.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=s(e),i=n.hasClass("open");if(!i||i&&27==t.keyCode)return 27==t.which&&n.find(l).focus(),e.click();var r=a("[role=menu] li:not(.divider):visible a",n);if(r.length){var o=r.index(r.filter(":focus"));38==t.keyCode&&0<o&&o--,40==t.keyCode&&o<r.length-1&&o++,~o||(o=0),r.eq(o).focus()}}}};var t=a.fn.dropdown;a.fn.dropdown=function(n){return this.each(function(){var t=a(this),e=t.data("dropdown");e||t.data("dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},a.fn.dropdown.Constructor=i,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",l,i.prototype.toggle).on("keydown.bs.dropdown.data-api",l+", [role=menu]",i.prototype.keydown)}(jQuery),function(o){"use strict";function a(t,e){this.options=e,this.$element=o(t),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)}a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(t){return this[this.isShown?"hide":"show"](t)},a.prototype.show=function(n){var i=this,t=o.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',o.proxy(this.hide,this)),this.backdrop(function(){var t=o.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(document.body),i.$element.show(),t&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var e=o.Event("shown.bs.modal",{relatedTarget:n});t?i.$element.find(".modal-dialog").one(o.support.transition.end,function(){i.$element.focus().trigger(e)}).emulateTransitionEnd(300):i.$element.focus().trigger(e)}))},a.prototype.hide=function(t){t&&t.preventDefault(),t=o.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),o(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one(o.support.transition.end,o.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},a.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",o.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},a.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(t){var e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=o.support.transition&&e;if(this.$backdrop=o('<div class="modal-backdrop '+e+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",o.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;n?this.$backdrop.one(o.support.transition.end,t).emulateTransitionEnd(150):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(o.support.transition.end,t).emulateTransitionEnd(150):t()):t&&t()};var t=o.fn.modal;o.fn.modal=function(i,r){return this.each(function(){var t=o(this),e=t.data("bs.modal"),n=o.extend({},a.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new a(this,n)),"string"==typeof i?e[i](r):n.show&&e.show(r)})},o.fn.modal.Constructor=a,o.fn.modal.noConflict=function(){return o.fn.modal=t,this},o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=o(this),n=e.attr("href"),i=o(e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),r=i.data("modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},i.data(),e.data());t.preventDefault(),i.modal(r,this).one("hide",function(){e.is(":visible")&&e.focus()})}),o(document).on("show.bs.modal",".modal",function(){o(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){o(document.body).removeClass("modal-open")})}(jQuery),function(g){"use strict";function r(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)}r.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},r.prototype.init=function(t,e,n){this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(n);for(var i=this.options.trigger.split(" "),r=i.length;r--;){var o=i[r];if("click"==o)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focus",s="hover"==o?"mouseleave":"blur";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.getOptions=function(t){return(t=g.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},r.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&g.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},r.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show()},r.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide()},r.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(t),t.isDefaultPrevented())return;var e=this.tip();this.setContent(),this.options.animation&&e.addClass("fade");var n="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,r=i.test(n);r&&(n=n.replace(i,"")||"top"),e.detach().css({top:0,left:0,display:"block"}).addClass(n),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element);var o=this.getPosition(),a=e[0].offsetWidth,s=e[0].offsetHeight;if(r){var l=this.$element.parent(),u=n,c=document.documentElement.scrollTop||document.body.scrollTop,h="body"==this.options.container?window.innerWidth:l.outerWidth(),d="body"==this.options.container?window.innerHeight:l.outerHeight(),f="body"==this.options.container?0:l.offset().left;n="bottom"==n&&o.top+o.height+s-c>d?"top":"top"==n&&o.top-c-s<0?"bottom":"right"==n&&o.right+a>h?"left":"left"==n&&o.left-a<f?"right":n,e.removeClass(u).addClass(n)}var p=this.getCalculatedOffset(n,o,a,s);this.applyPlacement(p,n),this.$element.trigger("shown.bs."+this.type)}},r.prototype.applyPlacement=function(t,e){var n,i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top=t.top+a,t.left=t.left+s,i.offset(t).addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;if("top"==e&&u!=o&&(n=!0,t.top=t.top+o-u),/bottom|top/.test(e)){var c=0;t.left<0&&(c=-2*t.left,t.left=0,i.offset(t),l=i[0].offsetWidth,u=i[0].offsetHeight),this.replaceArrow(c-r+l,l,"left")}else this.replaceArrow(u-o,u,"top");n&&i.offset(t)},r.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},r.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")},r.prototype.hide=function(){function t(){"in"!=e.hoverState&&n.detach()}var e=this,n=this.tip(),i=g.Event("hide.bs."+this.type);return this.$element.trigger(i),i.isDefaultPrevented()?void 0:(n.removeClass("in"),g.support.transition&&this.$tip.hasClass("fade")?n.one(g.support.transition.end,t).emulateTransitionEnd(150):t(),this.$element.trigger("hidden.bs."+this.type),this)},r.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","")},r.prototype.hasContent=function(){return this.getTitle()},r.prototype.getPosition=function(){var t=this.$element[0];return g.extend({},"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},r.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},r.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)},r.prototype.tip=function(){return this.$tip=this.$tip||g(this.options.template)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},r.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},r.prototype.enable=function(){this.enabled=!0},r.prototype.disable=function(){this.enabled=!1},r.prototype.toggleEnabled=function(){this.enabled=!this.enabled},r.prototype.toggle=function(t){var e=t?g(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;e.tip().hasClass("in")?e.leave(e):e.enter(e)},r.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var t=g.fn.tooltip;g.fn.tooltip=function(i){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;e||t.data("bs.tooltip",e=new r(this,n)),"string"==typeof i&&e[i]()})},g.fn.tooltip.Constructor=r,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=t,this}}(jQuery),function(r){"use strict";function o(t,e){this.init("popover",t,e)}if(!r.fn.tooltip)throw new Error("Popover requires tooltip.js");o.DEFAULTS=r.extend({},r.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((o.prototype=r.extend({},r.fn.tooltip.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},o.prototype.tip=function(){return this.$tip||(this.$tip=r(this.options.template)),this.$tip};var t=r.fn.popover;r.fn.popover=function(i){return this.each(function(){var t=r(this),e=t.data("bs.popover"),n="object"==typeof i&&i;e||t.data("bs.popover",e=new o(this,n)),"string"==typeof i&&e[i]()})},r.fn.popover.Constructor=o,r.fn.popover.noConflict=function(){return r.fn.popover=t,this}}(jQuery),function(o){"use strict";function r(t,e){var n,i=o.proxy(this.process,this);this.$element=o(t).is("body")?o(window):o(t),this.$body=o("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",i),this.options=o.extend({},r.DEFAULTS,e),this.selector=(this.options.target||(n=o(t).attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=o([]),this.targets=o([]),this.activeTarget=null,this.refresh(),this.process()}r.DEFAULTS={offset:10},r.prototype.refresh=function(){var i=this.$element[0]==window?"offset":"position";this.offsets=o([]),this.targets=o([]);var r=this;this.$body.find(this.selector).map(function(){var t=o(this),e=t.data("target")||t.attr("href"),n=/^#\w/.test(e)&&o(e);return n&&n.length&&[[n[i]().top+(!o.isWindow(r.$scrollElement.get(0))&&r.$scrollElement.scrollTop()),e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},r.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),i=this.offsets,r=this.targets,o=this.activeTarget;if(n<=e)return o!=(t=r.last()[0])&&this.activate(t);for(t=i.length;t--;)o!=r[t]&&e>=i[t]&&(!i[t+1]||e<=i[t+1])&&this.activate(r[t])},r.prototype.activate=function(t){this.activeTarget=t,o(this.selector).parents(".active").removeClass("active");var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=o(e).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")};var t=o.fn.scrollspy;o.fn.scrollspy=function(i){return this.each(function(){var t=o(this),e=t.data("bs.scrollspy"),n="object"==typeof i&&i;e||t.data("bs.scrollspy",e=new r(this,n)),"string"==typeof i&&e[i]()})},o.fn.scrollspy.Constructor=r,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=t,this},o(window).on("load",function(){o('[data-spy="scroll"]').each(function(){var t=o(this);t.scrollspy(t.data())})})}(jQuery),function(a){"use strict";function i(t){this.element=a(t)}i.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=e.find(".active:last a")[0],r=a.Event("show.bs.tab",{relatedTarget:i});if(t.trigger(r),!r.isDefaultPrevented()){var o=a(n);this.activate(t.parent("li"),e),this.activate(o,o.parent(),function(){t.trigger({type:"shown.bs.tab",relatedTarget:i})})}}},i.prototype.activate=function(t,e,n){function i(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),n&&n()}var r=e.find("> .active"),o=n&&a.support.transition&&r.hasClass("fade");o?r.one(a.support.transition.end,i).emulateTransitionEnd(150):i(),r.removeClass("in")};var t=a.fn.tab;a.fn.tab=function(n){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new i(this)),"string"==typeof n&&e[n]()})},a.fn.tab.Constructor=i,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),a(this).tab("show")})}(jQuery),function(s){"use strict";var l=function(t,e){this.options=s.extend({},l.DEFAULTS,e),this.$window=s(window).on("scroll.bs.affix.data-api",s.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",s.proxy(this.checkPositionWithEventLoop,this)),this.$element=s(t),this.affixed=this.unpin=null,this.checkPosition()};l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0},l.prototype.checkPositionWithEventLoop=function(){setTimeout(s.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=s(document).height(),e=this.$window.scrollTop(),n=this.$element.offset(),i=this.options.offset,r=i.top,o=i.bottom;"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top()),"function"==typeof o&&(o=i.bottom());var a=!(null!=this.unpin&&e+this.unpin<=n.top)&&(null!=o&&n.top+this.$element.height()>=t-o?"bottom":null!=r&&e<=r&&"top");this.affixed!==a&&(this.unpin&&this.$element.css("top",""),this.affixed=a,this.unpin="bottom"==a?n.top-e:null,this.$element.removeClass(l.RESET).addClass("affix"+(a?"-"+a:"")),"bottom"==a&&this.$element.offset({top:document.body.offsetHeight-o-this.$element.height()}))}};var t=s.fn.affix;s.fn.affix=function(i){return this.each(function(){var t=s(this),e=t.data("bs.affix"),n="object"==typeof i&&i;e||t.data("bs.affix",e=new l(this,n)),"string"==typeof i&&e[i]()})},s.fn.affix.Constructor=l,s.fn.affix.noConflict=function(){return s.fn.affix=t,this},s(window).on("load",function(){s('[data-spy="affix"]').each(function(){var t=s(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),t.affix(e)})})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function p(){return Dt.apply(null,arguments)}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function s(t,e,n,i){return V(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),t._pf}function l(t){if(null==t._isValid){var e=m(t);t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function u(t){var e=s(NaN);return null!=t?a(m(e),t):m(e).userInvalidated=!0,e}function c(t,e){var n,i,r;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=m(e)),void 0!==e._locale&&(t._locale=e._locale),0<Pt.length)for(n in Pt)void 0!==(r=e[i=Pt[n]])&&(t[i]=r);return t}function h(t){c(this,t),this._d=new Date(+t._d),!1===Et&&(Et=!0,p.updateOffset(this),Et=!1)}function d(t){return t instanceof h||null!=t&&null!=t._isAMomentObject}function f(t){var e=+t,n=0;return 0!=e&&isFinite(e)&&(n=0<=e?Math.floor(e):Math.ceil(e)),n}function v(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&f(t[i])!==f(e[i]))&&a++;return a+o}function n(){}function y(t){return t?t.toLowerCase().replace("_","-"):t}function b(t){var e=null;if(!Ot[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=At._abbr,require("./locale/"+t),i(e)}catch(t){}return Ot[t]}function i(t,e){var n;return t&&((n=void 0===e?w(t):x(t,e))&&(At=n)),At._abbr}function x(t,e){return null!==e?(e.abbr=t,Ot[t]||(Ot[t]=new n),Ot[t].set(e),i(t),Ot[t]):(delete Ot[t],null)}function w(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return At;if(!r(t)){if(e=b(t))return e;t=[t]}return function(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=y(t[o]).split("-")).length,n=(n=y(t[o+1]))?n.split("-"):null;0<e;){if(i=b(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&v(r,n,!0)>=e-1)break;e--}o++}return null}(t)}function t(t,e){var n=t.toLowerCase();Lt[n]=Lt[n+"s"]=Lt[e]=t}function S(t){return"string"==typeof t?Lt[t]||Lt[t.toLowerCase()]:void 0}function _(t){var e,n,i={};for(n in t)g(t,n)&&((e=S(n))&&(i[e]=t[n]));return i}function e(e,n){return function(t){return null!=t?(k(this,e,t),p.updateOffset(this,n),this):C(this,e)}}function C(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function k(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function M(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if("function"==typeof this[t=S(t)])return this[t](e);return this}function T(t,e,n){for(var i=""+Math.abs(t),r=0<=t;i.length<e;)i="0"+i;return(r?n?"+":"":"-")+i}function D(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Ft[t]=r),e&&(Ft[e[0]]=function(){return T(r.apply(this,arguments),e[1],e[2])}),n&&(Ft[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function A(t,e){return t.isValid()?(e=P(e,t.localeData()),Rt[e]||(Rt[e]=function(n){var i,r,t,o=n.match(It);for(i=0,r=o.length;i<r;i++)Ft[o[i]]?o[i]=Ft[o[i]]:o[i]=(t=o[i]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var e="";for(i=0;i<r;i++)e+=o[i]instanceof Function?o[i].call(t,n):o[i];return e}}(e)),Rt[e](t)):t.localeData().invalidDate()}function P(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Nt.lastIndex=0;0<=i&&Nt.test(t);)t=t.replace(Nt,n),Nt.lastIndex=0,i-=1;return t}function E(t,e,n){Zt[t]="function"==typeof e?e:function(t){return t&&n?n:e}}function O(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),"number"==typeof n&&(i=function(t,e){e[n]=f(t)}),e=0;e<t.length;e++)Kt[t[e]]=i}function L(t,r){O(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}function I(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function N(t,e){var n;return"string"==typeof e&&"number"!=typeof(e=t.localeData().monthsParse(e))||(n=Math.min(t.date(),I(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n)),t}function R(t){return null!=t?(N(this,t),p.updateOffset(this,!0),this):C(this,"Month")}function F(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[Qt]<0||11<n[Qt]?Qt:n[te]<1||n[te]>I(n[Jt],n[Qt])?te:n[ee]<0||24<n[ee]||24===n[ee]&&(0!==n[ne]||0!==n[ie]||0!==n[re])?ee:n[ne]<0||59<n[ne]?ne:n[ie]<0||59<n[ie]?ie:n[re]<0||999<n[re]?re:-1,m(t)._overflowDayOfYear&&(e<Jt||te<e)&&(e=te),m(t).overflow=e),t}function j(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function H(t,e){var n=!0,i=t+"\n"+(new Error).stack;return a(function(){return n&&(j(i),n=!1),e.apply(this,arguments)},e)}function B(t){var e,n,i=t._i,r=le.exec(i);if(r){for(m(t).iso=!0,e=0,n=ue.length;e<n;e++)if(ue[e][1].exec(i)){t._f=ue[e][0]+(r[6]||" ");break}for(e=0,n=ce.length;e<n;e++)if(ce[e][1].exec(i)){t._f+=ce[e][0];break}i.match(Xt)&&(t._f+="Z"),G(t)}else t._isValid=!1}function z(t){var e=new Date(Date.UTC.apply(null,arguments));return t<1970&&e.setUTCFullYear(t),e}function W(t){return $(t)?366:365}function $(t){return t%4==0&&t%100!=0||t%400==0}function q(t,e,n){var i,r=n-e,o=n-t.day();return r<o&&(o-=7),o<r-7&&(o+=7),i=Z(t).add(o,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function U(t,e,n){return null!=t?t:null!=e?e:n}function Y(t){var e,n,i,r,o=[];if(!t._d){for(i=function(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[te]&&null==t._a[Qt]&&function(t){var e,n,i,r,o,a,s;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,n=U(e.GG,t._a[Jt],q(Z(),1,4).year),i=U(e.W,1),r=U(e.E,1)):(o=t._locale._week.dow,a=t._locale._week.doy,n=U(e.gg,t._a[Jt],q(Z(),o,a).year),i=U(e.w,1),null!=e.d?(r=e.d,r<o&&++i):r=null!=e.e?e.e+o:o),s=function(t,e,n,i,r){var o,a=z(t,0,1).getUTCDay();return{year:0<(o=7*(e-1)+((n=null!=n?n:r)-r)+(r-(a=0===a?7:a)+(i<a?7:0)-(a<r?7:0))+1)?t:t-1,dayOfYear:0<o?o:W(t-1)+o}}(n,i,r,a,o),t._a[Jt]=s.year,t._dayOfYear=s.dayOfYear}(t),t._dayOfYear&&(r=U(t._a[Jt],i[Jt]),t._dayOfYear>W(r)&&(m(t)._overflowDayOfYear=!0),n=z(r,0,t._dayOfYear),t._a[Qt]=n.getUTCMonth(),t._a[te]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ee]&&0===t._a[ne]&&0===t._a[ie]&&0===t._a[re]&&(t._nextDay=!0,t._a[ee]=0),t._d=(t._useUTC?z:function(t,e,n,i,r,o,a){var s=new Date(t,e,n,i,r,o,a);return t<1970&&s.setFullYear(t),s}).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ee]=24)}}function G(t){if(t._f!==p.ISO_8601){t._a=[],m(t).empty=!0;var e,n,i,r,o,a,s,l,u,c,h=""+t._i,d=h.length,f=0;for(i=P(t._f,t._locale).match(It)||[],e=0;e<i.length;e++)r=i[e],(n=(h.match((c=t,g(Zt,u=r)?Zt[u](c._strict,c._locale):new RegExp(function(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}(u))))||[])[0])&&(0<(o=h.substr(0,h.indexOf(n))).length&&m(t).unusedInput.push(o),h=h.slice(h.indexOf(n)+n.length),f+=n.length),Ft[r]?(n?m(t).empty=!1:m(t).unusedTokens.push(r),a=r,l=t,null!=(s=n)&&g(Kt,a)&&Kt[a](s,l._a,l,a)):t._strict&&!n&&m(t).unusedTokens.push(r);m(t).charsLeftOver=d-f,0<h.length&&m(t).unusedInput.push(h),!0===m(t).bigHour&&t._a[ee]<=12&&0<t._a[ee]&&(m(t).bigHour=void 0),t._a[ee]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0)),e)}(t._locale,t._a[ee],t._meridiem),Y(t),F(t)}else B(t)}function X(t){var e,n=t._i,i=t._f;return t._locale=t._locale||w(t._l),null===n||void 0===i&&""===n?u({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),d(n)?new h(F(n)):(r(i)?function(t){var e,n,i,r,o;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,e=c({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],G(e),l(e)&&(o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,(null==i||o<i)&&(i=o,n=e));a(t,n||e)}(t):i?G(t):o(n)?t._d=n:function(t){var e=t._i;void 0===e?t._d=new Date:o(e)?t._d=new Date(+e):"string"==typeof e?function(t){var e=he.exec(t._i);null!==e?t._d=new Date(+e[1]):(B(t),!1===t._isValid&&(delete t._isValid,p.createFromInputFallback(t)))}(t):r(e)?(t._a=function(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}(e.slice(0),function(t){return parseInt(t,10)}),Y(t)):"object"==typeof e?function(t){if(!t._d){var e=_(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],Y(t)}}(t):"number"==typeof e?t._d=new Date(e):p.createFromInputFallback(t)}(t),(e=new h(F(t)))._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e))}function V(t,e,n,i,r){var o={};return"boolean"==typeof n&&(i=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,X(o)}function Z(t,e,n,i){return V(t,e,n,i,!1)}function K(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Z();for(n=e[0],i=1;i<e.length;++i)e[i][t](n)&&(n=e[i]);return n}function J(t){var e=_(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*s,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=w(),this._bubble()}function Q(t){return t instanceof J}function tt(t,n){D(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+T(~~(t/60),2)+n+T(~~t%60,2)})}function et(t){var e=(t||"").match(Xt)||[],n=((e[e.length-1]||[])+"").match(ge)||["-",0,0],i=60*n[1]+f(n[2]);return"+"===n[0]?i:-i}function nt(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(d(t)||o(t)?+t:+Z(t))-+n,n._d.setTime(+n._d+i),p.updateOffset(n,!1),n):Z(t).local()}function it(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function rt(){return this._isUTC&&0===this._offset}function ot(t,e){var n,i,r,o=t,a=null;return Q(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(a=me.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:f(a[te])*n,h:f(a[ee])*n,m:f(a[ne])*n,s:f(a[ie])*n,ms:f(a[re])*n}):(a=ve.exec(t))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),d:at(a[4],n),h:at(a[5],n),m:at(a[6],n),s:at(a[7],n),w:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=function(t,e){var n;return e=nt(e,t),t.isBefore(e)?n=st(t,e):((n=st(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n}(Z(o.from),Z(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),i=new J(o),Q(t)&&g(t,"_locale")&&(i._locale=t._locale),i}function at(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function st(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function lt(i,r){return function(t,e){var n;return null===e||isNaN(+e)||(function(t,e){se[t]||(j(e),se[t]=!0)}(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period)."),n=t,t=e,e=n),ut(this,ot(t="string"==typeof t?+t:t,e),i),this}}function ut(t,e,n,i){var r=e._milliseconds,o=e._days,a=e._months;i=null==i||i,r&&t._d.setTime(+t._d+r*n),o&&k(t,"Date",C(t,"Date")+o*n),a&&N(t,C(t,"Month")+a*n),i&&p.updateOffset(t,o||a)}function ct(t){return t<0?Math.ceil(t):Math.floor(t)}function ht(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():A(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):A(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function dt(t){var e;return void 0===t?this._locale._abbr:(null!=(e=w(t))&&(this._locale=e),this)}function ft(){return this._locale}function pt(t,e){D(0,[t,t.length],0,e)}function gt(t,e,n){return q(Z([t,11,31+e-n]),e,n).week}function mt(t,e){D(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function vt(t,e){return e._meridiemParse}function yt(t){D(0,[t,3],0,"millisecond")}function bt(t){return t}function xt(t,e,n,i){var r=w(),o=s().set(i,e);return r[n](o,t)}function wt(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return xt(t,e,n,r);var o,a=[];for(o=0;o<i;o++)a[o]=xt(t,o,n,r);return a}function St(t,e,n,i){var r=ot(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function _t(t){return 400*t/146097}function Ct(t){return 146097*t/400}function kt(t){return function(){return this.as(t)}}function Mt(t){return function(){return this._data[t]}}function Tt(){var t=Ze(this.years()),e=Ze(this.months()),n=Ze(this.days()),i=Ze(this.hours()),r=Ze(this.minutes()),o=Ze(this.seconds()+this.milliseconds()/1e3),a=this.asSeconds();return a?(a<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(i||r||o?"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}var Dt,At,Pt=p.momentProperties=[],Et=!1,Ot={},Lt={},It=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Nt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rt={},Ft={},jt=/\d/,Ht=/\d\d/,Bt=/\d{3}/,zt=/\d{4}/,Wt=/[+-]?\d{6}/,$t=/\d\d?/,qt=/\d{1,3}/,Ut=/\d{1,4}/,Yt=/[+-]?\d{1,6}/,Gt=/[+-]?\d+/,Xt=/Z|[+-]\d\d:?\d\d/gi,Vt=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Zt={},Kt={},Jt=0,Qt=1,te=2,ee=3,ne=4,ie=5,re=6;D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),D("MMMM",0,0,function(t){return this.localeData().months(this,t)}),t("month","M"),E("M",$t),E("MM",$t,Ht),E("MMM",Vt),E("MMMM",Vt),O(["M","MM"],function(t,e){e[Qt]=f(t)-1}),O(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[Qt]=r:m(n).invalidMonth=t});var oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),se={};p.suppressDeprecationWarnings=!1;var le=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ue=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],ce=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],he=/^\/?Date\((\-?\d+)/i;p.createFromInputFallback=H("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),t("year","y"),E("Y",Gt),E("YY",$t,Ht),E("YYYY",Ut,zt),E("YYYYY",Yt,Wt),E("YYYYYY",Yt,Wt),O(["YYYY","YYYYY","YYYYYY"],Jt),O("YY",function(t,e){e[Jt]=p.parseTwoDigitYear(t)});var de=e("FullYear",!(p.parseTwoDigitYear=function(t){return f(t)+(68<f(t)?1900:2e3)}));D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),E("w",$t),E("ww",$t,Ht),E("W",$t),E("WW",$t,Ht),L(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=f(t)});D("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),E("DDD",qt),E("DDDD",Bt),O(["DDD","DDDD"],function(t,e,n){n._dayOfYear=f(t)}),p.ISO_8601=function(){};var fe=H("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Z.apply(null,arguments);return t<this?this:t}),pe=H("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Z.apply(null,arguments);return this<t?this:t});tt("Z",":"),tt("ZZ",""),E("Z",Xt),E("ZZ",Xt),O(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=et(t)});var ge=/([\+\-]|\d\d)/gi;p.updateOffset=function(){};var me=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,ve=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;ot.fn=J.prototype;var ye=lt(1,"add"),be=lt(-1,"subtract");p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var xe=H("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100}),pt("gggg","weekYear"),pt("ggggg","weekYear"),pt("GGGG","isoWeekYear"),pt("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),E("G",Gt),E("g",Gt),E("GG",$t,Ht),E("gg",$t,Ht),E("GGGG",Ut,zt),E("gggg",Ut,zt),E("GGGGG",Yt,Wt),E("ggggg",Yt,Wt),L(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=f(t)}),L(["gg","GG"],function(t,e,n,i){e[i]=p.parseTwoDigitYear(t)}),D("Q",0,0,"quarter"),t("quarter","Q"),E("Q",jt),O("Q",function(t,e){e[Qt]=3*(f(t)-1)}),D("D",["DD",2],"Do","date"),t("date","D"),E("D",$t),E("DD",$t,Ht),E("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),O(["D","DD"],te),O("Do",function(t,e){e[te]=f(t.match($t)[0])});var we=e("Date",!0);D("d",0,"do","day"),D("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),D("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),D("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),E("d",$t),E("e",$t),E("E",$t),E("dd",Vt),E("ddd",Vt),E("dddd",Vt),L(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:m(n).invalidWeekday=t}),L(["d","e","E"],function(t,e,n,i){e[i]=f(t)});var Se="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_e="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ce="Su_Mo_Tu_We_Th_Fr_Sa".split("_");D("H",["HH",2],0,"hour"),D("h",["hh",2],0,function(){return this.hours()%12||12}),mt("a",!0),mt("A",!1),t("hour","h"),E("a",vt),E("A",vt),E("H",$t),E("h",$t),E("HH",$t,Ht),E("hh",$t,Ht),O(["H","HH"],ee),O(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),O(["h","hh"],function(t,e,n){e[ee]=f(t),m(n).bigHour=!0});var ke=e("Hours",!0);D("m",["mm",2],0,"minute"),t("minute","m"),E("m",$t),E("mm",$t,Ht),O(["m","mm"],ne);var Me=e("Minutes",!1);D("s",["ss",2],0,"second"),t("second","s"),E("s",$t),E("ss",$t,Ht),O(["s","ss"],ie);var Te=e("Seconds",!1);D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),yt("SSS"),yt("SSSS"),t("millisecond","ms"),E("S",qt,jt),E("SS",qt,Ht),E("SSS",qt,Bt),E("SSSS",/\d+/),O(["S","SS","SSS","SSSS"],function(t,e){e[re]=f(1e3*("0."+t))});var De=e("Milliseconds",!1);D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");var Ae=h.prototype;Ae.add=ye,Ae.calendar=function(t){var e=t||Z(),n=nt(e,this).startOf("day"),i=this.diff(n,"days",!0),r=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(r,this,Z(e)))},Ae.clone=function(){return new h(this)},Ae.diff=function(t,e,n){var i,r,o=nt(t,this),a=6e4*(o.utcOffset()-this.utcOffset());return"year"===(e=S(e))||"month"===e||"quarter"===e?(r=function(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return i=e-o<0?(n=t.clone().add(r-1,"months"),(e-o)/(o-n)):(n=t.clone().add(1+r,"months"),(e-o)/(n-o)),-(r+i)}(this,o),"quarter"===e?r/=3:"year"===e&&(r/=12)):(i=this-o,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-a)/864e5:"week"===e?(i-a)/6048e5:i),n?r:ct(r)},Ae.endOf=function(t){return void 0===(t=S(t))||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},Ae.format=function(t){var e=A(this,t||p.defaultFormat);return this.localeData().postformat(e)},Ae.from=function(t,e){return this.isValid()?ot({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Ae.fromNow=function(t){return this.from(Z(),t)},Ae.to=function(t,e){return this.isValid()?ot({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Ae.toNow=function(t){return this.to(Z(),t)},Ae.get=M,Ae.invalidAt=function(){return m(this).overflow},Ae.isAfter=function(t,e){return"millisecond"===(e=S(void 0!==e?e:"millisecond"))?+(t=d(t)?t:Z(t))<+this:(d(t)?+t:+Z(t))<+this.clone().startOf(e)},Ae.isBefore=function(t,e){var n;return"millisecond"===(e=S(void 0!==e?e:"millisecond"))?+this<+(t=d(t)?t:Z(t)):(n=d(t)?+t:+Z(t),+this.clone().endOf(e)<n)},Ae.isBetween=function(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)},Ae.isSame=function(t,e){var n;return"millisecond"===(e=S(e||"millisecond"))?+this==+(t=d(t)?t:Z(t)):(n=+Z(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))},Ae.isValid=function(){return l(this)},Ae.lang=xe,Ae.locale=dt,Ae.localeData=ft,Ae.max=pe,Ae.min=fe,Ae.parsingFlags=function(){return a({},m(this))},Ae.set=M,Ae.startOf=function(t){switch(t=S(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},Ae.subtract=be,Ae.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Ae.toDate=function(){return this._offset?new Date(+this):this._d},Ae.toISOString=ht,Ae.toJSON=ht,Ae.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ae.unix=function(){return Math.floor(+this/1e3)},Ae.valueOf=function(){return+this._d-6e4*(this._offset||0)},Ae.year=de,Ae.isLeapYear=function(){return $(this.year())},Ae.weekYear=function(t){var e=q(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")},Ae.isoWeekYear=function(t){var e=q(this,1,4).year;return null==t?e:this.add(t-e,"y")},Ae.quarter=Ae.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Ae.month=R,Ae.daysInMonth=function(){return I(this.year(),this.month())},Ae.week=Ae.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Ae.isoWeek=Ae.isoWeeks=function(t){var e=q(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Ae.weeksInYear=function(){var t=this.localeData()._week;return gt(this.year(),t.dow,t.doy)},Ae.isoWeeksInYear=function(){return gt(this.year(),1,4)},Ae.date=we,Ae.day=Ae.days=function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){if("string"==typeof t)if(isNaN(t)){if("number"!=typeof(t=e.weekdaysParse(t)))return null}else t=parseInt(t,10);return t}(t,this.localeData()),this.add(t-e,"d")):e},Ae.weekday=function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Ae.isoWeekday=function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},Ae.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Ae.hour=Ae.hours=ke,Ae.minute=Ae.minutes=Me,Ae.second=Ae.seconds=Te,Ae.millisecond=Ae.milliseconds=De,Ae.utcOffset=function(t,e){var n,i=this._offset||0;return null!=t?("string"==typeof t&&(t=et(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&e&&(n=it(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==t&&(!e||this._changeInProgress?ut(this,ot(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:it(this)},Ae.utc=function(t){return this.utcOffset(0,t)},Ae.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(it(this),"m")),this},Ae.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(et(this._i)),this},Ae.hasAlignedHourOffset=function(t){return t=t?Z(t).utcOffset():0,(this.utcOffset()-t)%60==0},Ae.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ae.isDSTShifted=function(){if(this._a){var t=this._isUTC?s(this._a):Z(this._a);return this.isValid()&&0<v(this._a,t.toArray())}return!1},Ae.isLocal=function(){return!this._isUTC},Ae.isUtcOffset=function(){return this._isUTC},Ae.isUtc=rt,Ae.isUTC=rt,Ae.zoneAbbr=function(){return this._isUTC?"UTC":""},Ae.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ae.dates=H("dates accessor is deprecated. Use date instead.",we),Ae.months=H("months accessor is deprecated. Use month instead",R),Ae.years=H("years accessor is deprecated. Use year instead",de),Ae.zone=H("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()});var Pe=Ae,Ee=n.prototype;Ee._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ee.calendar=function(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i},Ee._longDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Ee.longDateFormat=function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},Ee._invalidDate="Invalid date",Ee.invalidDate=function(){return this._invalidDate},Ee._ordinal="%d",Ee.ordinal=function(t){return this._ordinal.replace("%d",t)},Ee._ordinalParse=/\d{1,2}/,Ee.preparse=bt,Ee.postformat=bt,Ee._relativeTime={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ee.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)},Ee.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},Ee.set=function(t){var e,n;for(n in t)"function"==typeof(e=t[n])?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},Ee.months=function(t){return this._months[t.month()]},Ee._months=oe,Ee.monthsShort=function(t){return this._monthsShort[t.month()]},Ee._monthsShort=ae,Ee.monthsParse=function(t,e,n){var i,r,o;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=s([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},Ee.week=function(t){return q(t,this._week.dow,this._week.doy).week},Ee._week={dow:0,doy:6},Ee.firstDayOfYear=function(){return this._week.doy},Ee.firstDayOfWeek=function(){return this._week.dow},Ee.weekdays=function(t){return this._weekdays[t.day()]},Ee._weekdays=Se,Ee.weekdaysMin=function(t){return this._weekdaysMin[t.day()]},Ee._weekdaysMin=Ce,Ee.weekdaysShort=function(t){return this._weekdaysShort[t.day()]},Ee._weekdaysShort=_e,Ee.weekdaysParse=function(t){var e,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;e<7;e++)if(this._weekdaysParse[e]||(n=Z([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},Ee.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Ee._meridiemParse=/[ap]\.?m?\.?/i,Ee.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},i("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===f(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=H("moment.lang is deprecated. Use moment.locale instead.",i),p.langData=H("moment.langData is deprecated. Use moment.localeData instead.",w);var Oe=Math.abs,Le=kt("ms"),Ie=kt("s"),Ne=kt("m"),Re=kt("h"),Fe=kt("d"),je=kt("w"),He=kt("M"),Be=kt("y"),ze=Mt("milliseconds"),We=Mt("seconds"),$e=Mt("minutes"),qe=Mt("hours"),Ue=Mt("days"),Ye=Mt("months"),Ge=Mt("years"),Xe=Math.round,Ve={s:45,m:45,h:22,d:26,M:11},Ze=Math.abs,Ke=J.prototype;return Ke.abs=function(){var t=this._data;return this._milliseconds=Oe(this._milliseconds),this._days=Oe(this._days),this._months=Oe(this._months),t.milliseconds=Oe(t.milliseconds),t.seconds=Oe(t.seconds),t.minutes=Oe(t.minutes),t.hours=Oe(t.hours),t.months=Oe(t.months),t.years=Oe(t.years),this},Ke.add=function(t,e){return St(this,t,e,1)},Ke.subtract=function(t,e){return St(this,t,e,-1)},Ke.as=function(t){var e,n,i=this._milliseconds;if("month"===(t=S(t))||"year"===t)return e=this._days+i/864e5,n=this._months+12*_t(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Ct(this._months/12)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Ke.asMilliseconds=Le,Ke.asSeconds=Ie,Ke.asMinutes=Ne,Ke.asHours=Re,Ke.asDays=Fe,Ke.asWeeks=je,Ke.asMonths=He,Ke.asYears=Be,Ke.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12)},Ke._bubble=function(){var t,e,n,i=this._milliseconds,r=this._days,o=this._months,a=this._data,s=0;return a.milliseconds=i%1e3,t=ct(i/1e3),a.seconds=t%60,e=ct(t/60),a.minutes=e%60,n=ct(e/60),a.hours=n%24,r+=ct(n/24),o+=ct((r-=ct(Ct(s=ct(_t(r)))))/30),r%=30,s+=ct(o/12),o%=12,a.days=r,a.months=o,a.years=s,this},Ke.get=function(t){return this[(t=S(t))+"s"]()},Ke.milliseconds=ze,Ke.seconds=We,Ke.minutes=$e,Ke.hours=qe,Ke.days=Ue,Ke.weeks=function(){return ct(this.days()/7)},Ke.months=Ye,Ke.years=Ge,Ke.humanize=function(t){var e=this.localeData(),n=function(t,e,n){var i=ot(t).abs(),r=Xe(i.as("s")),o=Xe(i.as("m")),a=Xe(i.as("h")),s=Xe(i.as("d")),l=Xe(i.as("M")),u=Xe(i.as("y")),c=r<Ve.s&&["s",r]||1===o&&["m"]||o<Ve.m&&["mm",o]||1===a&&["h"]||a<Ve.h&&["hh",a]||1===s&&["d"]||s<Ve.d&&["dd",s]||1===l&&["M"]||l<Ve.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=e,c[3]=0<+t,c[4]=n,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Ke.toISOString=Tt,Ke.toString=Tt,Ke.toJSON=Tt,Ke.locale=dt,Ke.localeData=ft,Ke.toIsoString=H("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Tt),Ke.lang=xe,D("X",0,0,"unix"),D("x",0,0,"valueOf"),E("x",Gt),E("X",/[+-]?\d+(\.\d{1,3})?/),O("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),O("x",function(t,e,n){n._d=new Date(f(t))}),p.version="2.10.3",Dt=Z,p.fn=Pe,p.min=function(){return K("isBefore",[].slice.call(arguments,0))},p.max=function(){return K("isAfter",[].slice.call(arguments,0))},p.utc=s,p.unix=function(t){return Z(1e3*t)},p.months=function(t,e){return wt(t,e,"months",12,"month")},p.isDate=o,p.locale=i,p.invalid=u,p.duration=ot,p.isMoment=d,p.weekdays=function(t,e){return wt(t,e,"weekdays",7,"day")},p.parseZone=function(){return Z.apply(null,arguments).parseZone()},p.localeData=w,p.isDuration=Q,p.monthsShort=function(t,e){return wt(t,e,"monthsShort",12,"month")},p.weekdaysMin=function(t,e){return wt(t,e,"weekdaysMin",7,"day")},p.defineLocale=x,p.weekdaysShort=function(t,e){return wt(t,e,"weekdaysShort",7,"day")},p.normalizeUnits=S,p.relativeTimeThreshold=function(t,e){return void 0!==Ve[t]&&(void 0===e?Ve[t]:(Ve[t]=e,!0))},p}),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&"undefined"!=typeof exports?module.exports=e():t.Papa=e()}(this,function(){"use strict";function a(t){this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=p(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null),this._handle=new n(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t){if(this.isFirstChunk&&O(this._config.beforeFirstChunk)){var e=this._config.beforeFirstChunk(t);void 0!==e&&(t=e)}this.isFirstChunk=!1;var n=this._partialLine+t;this._partialLine="";var i=this._handle.parse(n,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var r=i.meta.cursor;this._finished||(this._partialLine=n.substring(r-this._baseIndex),this._baseIndex=r),i&&i.data&&(this._rowCount+=i.data.length);var o=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(y)v.postMessage({results:i,workerId:S.WORKER_ID,finished:o});else if(O(this._config.chunk)){if(this._config.chunk(i,this._handle),this._paused)return;i=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),!o||!O(this._config.complete)||i&&i.meta.aborted||this._config.complete(this._completeResults,this._input),o||i&&i.meta.paused||this._nextChunk(),i}},this._sendError=function(t){O(this._config.error)?this._config.error(t):y&&this._config.error&&v.postMessage({workerId:S.WORKER_ID,error:t,finished:!1})}}function o(t){var i;(t=t||{}).chunkSize||(t.chunkSize=S.RemoteChunkSize),a.call(this,t),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(i=new XMLHttpRequest,this._config.withCredentials&&(i.withCredentials=this._config.withCredentials),r||(i.onload=f(this._chunkLoaded,this),i.onerror=f(this._chunkError,this)),i.open("GET",this._input,!r),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var e in t)i.setRequestHeader(e,t[e])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;i.setRequestHeader("Range","bytes="+this._start+"-"+n),i.setRequestHeader("If-None-Match","webkit-no-cache")}try{i.send()}catch(t){this._chunkError(t.message)}r&&0===i.status?this._chunkError():this._start+=this._config.chunkSize}},this._chunkLoaded=function(){if(4==i.readyState){if(i.status<200||400<=i.status)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>function(t){var e=t.getResponseHeader("Content-Range");return null===e?-1:parseInt(e.substr(e.lastIndexOf("/")+1))}(i),this.parseChunk(i.responseText)}},this._chunkError=function(t){var e=i.statusText||t;this._sendError(e)}}function s(t){(t=t||{}).chunkSize||(t.chunkSize=S.LocalChunkSize),a.call(this,t);var i,r,o="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,r=t.slice||t.webkitSlice||t.mozSlice,o?((i=new FileReader).onload=f(this._chunkLoaded,this),i.onerror=f(this._chunkError,this)):i=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input;if(this._config.chunkSize){var e=Math.min(this._start+this._config.chunkSize,this._input.size);t=r.call(t,this._start,e)}var n=i.readAsText(t,this._config.encoding);o||this._chunkLoaded({target:{result:n}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(i.error)}}function l(t){var n;a.call(this,t=t||{}),this.stream=function(t){return n=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t=this._config.chunkSize,e=t?n.substr(0,t):n;return n=t?n.substr(t):"",this._finished=!n,this.parseChunk(e)}}}function u(t){a.call(this,t=t||{});var e=[],n=!0;this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._nextChunk=function(){e.length?this.parseChunk(e.shift()):n=!0},this._streamData=f(function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this.parseChunk(e.shift()))}catch(t){this._streamError(t)}},this),this._streamError=f(function(t){this._streamCleanUp(),this._sendError(t.message)},this),this._streamEnd=f(function(){this._streamCleanUp(),this._finished=!0,this._streamData("")},this),this._streamCleanUp=f(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function n(g){function o(){if(f&&u&&(a("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+S.DefaultDelimiter+"'"),u=!1),g.skipEmptyLines)for(var t=0;t<f.data.length;t++)1===f.data[t].length&&""===f.data[t][0]&&f.data.splice(t--,1);return n()&&function(){if(f){for(var t=0;n()&&t<f.data.length;t++)for(var e=0;e<f.data[t].length;e++)d.push(f.data[t][e]);f.data.splice(0,1)}}(),function(){if(!f||!g.header&&!g.dynamicTyping)return f;for(var t=0;t<f.data.length;t++){for(var e=g.header?{}:[],n=0;n<f.data[t].length;n++){var i=n,r=f.data[t][n];g.header&&(i=n>=d.length?"__parsed_extra":d[n]),o=r,r=function(t){return g.dynamicTypingFunction&&void 0===g.dynamicTyping[t]&&(g.dynamicTyping[t]=g.dynamicTypingFunction(t)),!0===(g.dynamicTyping[t]||g.dynamicTyping)}(i)?"true"===o||"TRUE"===o||"false"!==o&&"FALSE"!==o&&function(t){return c.test(t)?parseFloat(t):t}(o):o,"__parsed_extra"===i?(e[i]=e[i]||[],e[i].push(r)):e[i]=r}f.data[t]=e,g.header&&(n>d.length?a("FieldMismatch","TooManyFields","Too many fields: expected "+d.length+" fields but parsed "+n,t):n<d.length&&a("FieldMismatch","TooFewFields","Too few fields: expected "+d.length+" fields but parsed "+n,t))}var o;return g.header&&f.meta&&(f.meta.fields=d),f}()}function n(){return g.header&&0===d.length}function a(t,e,n,i){f.errors.push({type:t,code:e,message:n,row:i})}var s,l,u,c=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,e=this,i=0,h=!1,t=!1,d=[],f={data:[],errors:[],meta:{}};if(O(g.step)){var r=g.step;g.step=function(t){if(f=t,n())o();else{if(o(),0===f.data.length)return;i+=t.data.length,g.preview&&i>g.preview?l.abort():r(f,e)}}}this.parse=function(t,e,n){if(g.newline||(g.newline=function(t){var e=(t=t.substr(0,1048576)).split("\r"),n=t.split("\n"),i=1<n.length&&n[0].length<e[0].length;if(1===e.length||i)return"\n";for(var r=0,o=0;o<e.length;o++)"\n"===e[o][0]&&r++;return r>=e.length/2?"\r\n":"\r"}(t)),u=!1,g.delimiter)O(g.delimiter)&&(g.delimiter=g.delimiter(t),f.meta.delimiter=g.delimiter);else{var i=function(t,e,n){for(var i,r,o,a=[",","\t","|",";",S.RECORD_SEP,S.UNIT_SEP],s=0;s<a.length;s++){var l=a[s],u=0,c=0,h=0;o=void 0;for(var d=new m({delimiter:l,newline:e,preview:10}).parse(t),f=0;f<d.data.length;f++)if(n&&1===d.data[f].length&&0===d.data[f][0].length)h++;else{var p=d.data[f].length;c+=p,void 0!==o?1<p&&(u+=Math.abs(p-o),o=p):o=p}0<d.data.length&&(c/=d.data.length-h),(void 0===r||u<r)&&1.99<c&&(r=u,i=l)}return{successful:!!(g.delimiter=i),bestDelimiter:i}}(t,g.newline,g.skipEmptyLines);i.successful?g.delimiter=i.bestDelimiter:(u=!0,g.delimiter=S.DefaultDelimiter),f.meta.delimiter=g.delimiter}var r=p(g);return g.preview&&g.header&&r.preview++,s=t,l=new m(r),f=l.parse(s,e,n),o(),h?{meta:{paused:!0}}:f||{meta:{paused:!1}}},this.paused=function(){return h},this.pause=function(){h=!0,l.abort(),s=s.substr(l.getCharIndex())},this.resume=function(){h=!1,e.streamer.parseChunk(s)},this.aborted=function(){return t},this.abort=function(){t=!0,l.abort(),f.meta.aborted=!0,O(g.complete)&&g.complete(f),s=""}}function m(t){var _=(t=t||{}).delimiter,C=t.newline,k=t.comments,M=t.step,T=t.preview,D=t.fastMode,A=t.quoteChar||'"';if(("string"!=typeof _||-1<S.BAD_DELIMITERS.indexOf(_))&&(_=","),k===_)throw"Comment character same as delimiter";!0===k?k="#":("string"!=typeof k||-1<S.BAD_DELIMITERS.indexOf(k))&&(k=!1),"\n"!=C&&"\r"!=C&&"\r\n"!=C&&(C="\n");var P=0,E=!1;this.parse=function(e,n,i){function r(t){f.push(t),m=P}function t(t){return i||(void 0===t&&(t=e.substr(P)),g.push(t),P=l,r(g),d&&s()),a()}function o(t){P=t,r(g),g=[],x=e.indexOf(C,P)}function a(t){return{data:f,errors:p,meta:{delimiter:_,linebreak:C,aborted:E,truncated:!!t,cursor:m+(n||0)}}}function s(){M(a()),f=[],p=[]}if("string"!=typeof e)throw"Input must be a string";var l=e.length,u=_.length,c=C.length,h=k.length,d=O(M),f=[],p=[],g=[],m=P=0;if(!e)return a();if(D||!1!==D&&-1===e.indexOf(A)){for(var v=e.split(C),y=0;y<v.length;y++){g=v[y];if(P+=g.length,y!==v.length-1)P+=C.length;else if(i)return a();if(!k||g.substr(0,h)!==k){if(d){if(f=[],r(g.split(_)),s(),E)return a()}else r(g.split(_));if(T&&T<=y)return f=f.slice(0,T),a(!0)}}return a()}for(var b=e.indexOf(_,P),x=e.indexOf(C,P),w=new RegExp(A+A,"g");;)if(e[P]!==A)if(k&&0===g.length&&e.substr(P,h)===k){if(-1===x)return a();P=x+c,x=e.indexOf(C,P),b=e.indexOf(_,P)}else if(-1!==b&&(b<x||-1===x))g.push(e.substring(P,b)),P=b+u,b=e.indexOf(_,P);else{if(-1===x)break;if(g.push(e.substring(P,x)),o(x+c),d&&(s(),E))return a();if(T&&f.length>=T)return a(!0)}else{var S=P;for(P++;;){if(-1===(S=e.indexOf(A,S+1)))return i||p.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:f.length,index:P}),t();if(S===l-1)return t(e.substring(P,S).replace(w,A));if(e[S+1]!==A){if(e[S+1]===_){g.push(e.substring(P,S).replace(w,A)),P=S+1+u,b=e.indexOf(_,P),x=e.indexOf(C,P);break}if(e.substr(S+1,c)===C){if(g.push(e.substring(P,S).replace(w,A)),o(S+1+c),b=e.indexOf(_,P),d&&(s(),E))return a();if(T&&f.length>=T)return a(!0);break}p.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:f.length,index:P}),S++}else S++}}return t()},this.abort=function(){E=!0},this.getCharIndex=function(){return P}}function c(t){var e=t.data,n=x[e.workerId],i=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){i=!0,h(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:d,resume:d};if(O(n.userStep)){for(var o=0;o<e.results.data.length&&(n.userStep({data:[e.results.data[o]],errors:e.results.errors,meta:e.results.meta},r),!i);o++);delete e.results}else O(n.userChunk)&&(n.userChunk(e.results,r,e.file),delete e.results)}e.finished&&!i&&h(e.workerId,e.results)}function h(t,e){var n=x[t];O(n.userComplete)&&n.userComplete(e),n.terminate(),delete x[t]}function d(){throw"Not implemented."}function p(t){if("object"!=typeof t)return t;var e=t instanceof Array?[]:{};for(var n in t)e[n]=p(t[n]);return e}function f(t,e){return function(){t.apply(e,arguments)}}function O(t){return"function"==typeof t}var g,t,v="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==v?v:{},r=!v.document&&!!v.postMessage,y=r&&/(\?|&)papaworker(=|&|$)/.test(v.location.search),b=!1,x={},w=0,S={};if(S.parse=function(t,e){var n=(e=e||{}).dynamicTyping||!1;if(O(n)&&(e.dynamicTypingFunction=n,n={}),e.dynamicTyping=n,e.worker&&S.WORKERS_SUPPORTED){var i=function(){if(!S.WORKERS_SUPPORTED)return!1;if(!b&&null===S.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var t=S.SCRIPT_PATH||g;t+=(-1!==t.indexOf("?")?"&":"?")+"papaworker";var e=new v.Worker(t);return e.onmessage=c,e.id=w++,x[e.id]=e}();return i.userStep=e.step,i.userChunk=e.chunk,i.userComplete=e.complete,i.userError=e.error,e.step=O(e.step),e.chunk=O(e.chunk),e.complete=O(e.complete),e.error=O(e.error),delete e.worker,void i.postMessage({input:t,config:e,workerId:i.id})}var r=null;return"string"==typeof t?r=e.download?new o(e):new l(e):!0===t.readable&&O(t.read)&&O(t.on)?r=new u(e):(v.File&&t instanceof File||t instanceof Object)&&(r=new s(e)),r.stream(t)},S.unparse=function(t,e){function n(t){if("object"!=typeof t)return[];var e=[];for(var n in t)e.push(n);return e}function i(t,e){var n="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var i=t instanceof Array&&0<t.length,r=!(e[0]instanceof Array);if(i&&h){for(var o=0;o<t.length;o++)0<o&&(n+=d),n+=c(t[o],o);0<e.length&&(n+=f)}for(var a=0;a<e.length;a++){for(var s=i?t.length:e[a].length,l=0;l<s;l++){0<l&&(n+=d);var u=i&&r?t[l]:l;n+=c(e[a][u],l)}a<e.length-1&&(n+=f)}return n}function c(t,e){return null==t?"":(t=t.toString().replace(a,o+o),"boolean"==typeof r&&r||r instanceof Array&&r[e]||function(t,e){for(var n=0;n<e.length;n++)if(-1<t.indexOf(e[n]))return!0;return!1}(t,S.BAD_DELIMITERS)||-1<t.indexOf(d)||" "===t.charAt(0)||" "===t.charAt(t.length-1)?o+t+o:t)}var r=!1,h=!0,d=",",f="\r\n",o='"';"object"==typeof e&&("string"==typeof e.delimiter&&1===e.delimiter.length&&-1===S.BAD_DELIMITERS.indexOf(e.delimiter)&&(d=e.delimiter),("boolean"==typeof e.quotes||e.quotes instanceof Array)&&(r=e.quotes),"string"==typeof e.newline&&(f=e.newline),"string"==typeof e.quoteChar&&(o=e.quoteChar),"boolean"==typeof e.header&&(h=e.header));var a=new RegExp(o,"g");if("string"==typeof t&&(t=JSON.parse(t)),t instanceof Array){if(!t.length||t[0]instanceof Array)return i(null,t);if("object"==typeof t[0])return i(n(t[0]),t)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),t.data instanceof Array&&(t.fields||(t.fields=t.meta&&t.meta.fields),t.fields||(t.fields=t.data[0]instanceof Array?t.fields:n(t.data[0])),t.data[0]instanceof Array||"object"==typeof t.data[0]||(t.data=[t.data])),i(t.fields||[],t.data||[]);throw"exception: Unable to serialize unrecognized input"},S.RECORD_SEP=String.fromCharCode(30),S.UNIT_SEP=String.fromCharCode(31),S.BYTE_ORDER_MARK="\ufeff",S.BAD_DELIMITERS=["\r","\n",'"',S.BYTE_ORDER_MARK],S.WORKERS_SUPPORTED=!r&&!!v.Worker,S.SCRIPT_PATH=null,S.LocalChunkSize=10485760,S.RemoteChunkSize=5242880,S.DefaultDelimiter=",",S.Parser=m,S.ParserHandle=n,S.NetworkStreamer=o,S.FileStreamer=s,S.StringStreamer=l,S.ReadableStreamStreamer=u,v.jQuery){var _=v.jQuery;_.fn.parse=function(r){function t(){if(0!==o.length){var e=o[0];if(O(r.before)){var t=r.before(e.file,e.inputElem);if("object"==typeof t){if("abort"===t.action)return void function(t,e,n,i){O(r.error)&&r.error({name:t},e,n,i)}("AbortError",e.file,e.inputElem,t.reason);if("skip"===t.action)return void i();"object"==typeof t.config&&(e.instanceConfig=_.extend(e.instanceConfig,t.config))}else if("skip"===t)return void i()}var n=e.instanceConfig.complete;e.instanceConfig.complete=function(t){O(n)&&n(t,e.file,e.inputElem),i()},S.parse(e.file,e.instanceConfig)}else O(r.complete)&&r.complete()}function i(){o.splice(0,1),t()}var n=r.config||{},o=[];return this.each(function(t){if(!("INPUT"===_(this).prop("tagName").toUpperCase()&&"file"===_(this).attr("type").toLowerCase()&&v.FileReader)||!this.files||0===this.files.length)return!0;for(var e=0;e<this.files.length;e++)o.push({file:this.files[e],inputElem:this,instanceConfig:_.extend({},n)})}),t(),this}}return y?v.onmessage=function(t){var e=t.data;if(void 0===S.WORKER_ID&&e&&(S.WORKER_ID=e.workerId),"string"==typeof e.input)v.postMessage({workerId:S.WORKER_ID,results:S.parse(e.input,e.config),finished:!0});else if(v.File&&e.input instanceof File||e.input instanceof Object){var n=S.parse(e.input,e.config);n&&v.postMessage({workerId:S.WORKER_ID,results:n,finished:!0})}}:S.WORKERS_SUPPORTED&&(t=document.getElementsByTagName("script"),g=t.length?t[t.length-1].src:"",document.body?document.addEventListener("DOMContentLoaded",function(){b=!0},!0):b=!0),(o.prototype=Object.create(a.prototype)).constructor=o,(s.prototype=Object.create(a.prototype)).constructor=s,(l.prototype=Object.create(l.prototype)).constructor=l,(u.prototype=Object.create(a.prototype)).constructor=u,S}),function(){function a(t,e){return t<e?-1:e<t?1:e<=t?0:NaN}function u(t){return null===t?NaN:+t}function c(t){return!isNaN(t)}function t(o){return{left:function(t,e,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);n<i;){var r=n+i>>>1;o(t[r],e)<0?n=1+r:i=r}return n},right:function(t,e,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);n<i;){var r=n+i>>>1;0<o(t[r],e)?i=r:n=1+r}return n}}}function s(t){return t.length}function e(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function y(){this._=Object.create(null)}function n(t){return(t+="")===no||t[0]===io?io+t:t}function i(t){return(t+="")[0]===io?t.slice(1):t}function r(t){return n(t)in this._}function o(t){return(t=n(t))in this._&&delete this._[t]}function l(){var t=[];for(var e in this._)t.push(i(e));return t}function h(){var t=0;for(var e in this._)++t;return t}function d(){for(var t in this._)return!1;return!0}function f(){this._=Object.create(null)}function p(e,n,i){return function(){var t=i.apply(n,arguments);return t===n?e:t}}function g(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,i=ro.length;n<i;++n){var r=ro[n]+e;if(r in t)return r}}function v(){}function m(){}function b(r){function t(){for(var t,e=o,n=-1,i=e.length;++n<i;)(t=e[n].on)&&t.apply(this,arguments);return r}var o=[],a=new y;return t.on=function(t,e){var n,i=a.get(t);return arguments.length<2?i&&i.on:(i&&(i.on=null,o=o.slice(0,n=o.indexOf(i)).concat(o.slice(n+1)),a.remove(t)),e&&o.push(a.set(t,{on:e})),r)},t}function L(){$r.event.preventDefault()}function x(){for(var t,e=$r.event;t=e.sourceEvent;)e=t;return e}function I(r){for(var o=new m,t=0,e=arguments.length;++t<e;)o[arguments[t]]=b(o);return o.of=function(n,i){return function(t){try{var e=t.sourceEvent=$r.event;t.target=r,$r.event=t,o[t.type].apply(n,i)}finally{$r.event=e}}},o}function w(t){return ao(t,ho),t}function S(t){return"function"==typeof t?t:function(){return so(t,this)}}function _(t){return"function"==typeof t?t:function(){return lo(t,this)}}function C(e,n){return e=$r.ns.qualify(e),null==n?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:"function"==typeof n?e.local?function(){var t=n.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}:function(){var t=n.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}:e.local?function(){this.setAttributeNS(e.space,e.local,n)}:function(){this.setAttribute(e,n)}}function k(t){return t.trim().replace(/\s+/g," ")}function M(t){return new RegExp("(?:^|\\s+)"+$r.requote(t)+"(?:\\s+|$)","g")}function T(t){return(t+"").trim().split(/^|\s+/)}function D(n,i){var r=(n=T(n).map(A)).length;return"function"==typeof i?function(){for(var t=-1,e=i.apply(this,arguments);++t<r;)n[t](this,e)}:function(){for(var t=-1;++t<r;)n[t](this,i)}}function A(i){var r=M(i);return function(t,e){if(n=t.classList)return e?n.add(i):n.remove(i);var n=t.getAttribute("class")||"";e?(r.lastIndex=0,r.test(n)||t.setAttribute("class",k(n+" "+i))):t.setAttribute("class",k(n.replace(r," ")))}}function P(e,n,i){return null==n?function(){this.style.removeProperty(e)}:"function"==typeof n?function(){var t=n.apply(this,arguments);null==t?this.style.removeProperty(e):this.style.setProperty(e,t,i)}:function(){this.style.setProperty(e,n,i)}}function E(e,n){return null==n?function(){delete this[e]}:"function"==typeof n?function(){var t=n.apply(this,arguments);null==t?delete this[e]:this[e]=t}:function(){this[e]=n}}function O(t){return"function"==typeof t?t:(t=$r.ns.qualify(t)).local?function(){return this.ownerDocument.createElementNS(t.space,t.local)}:function(){return this.ownerDocument.createElementNS(this.namespaceURI,t)}}function N(){var t=this.parentNode;t&&t.removeChild(this)}function R(t){return{__data__:t}}function F(t){return function(){return co(this,t)}}function j(t,e){for(var n=0,i=t.length;n<i;n++)for(var r,o=t[n],a=0,s=o.length;a<s;a++)(r=o[a])&&e(r,a,n);return t}function H(t){return ao(t,po),t}function B(r,e,n){function i(){var t=this[o];t&&(this.removeEventListener(r,t,t.$),delete this[o])}var o="__on"+r,t=r.indexOf("."),a=z;0<t&&(r=r.slice(0,t));var s=mo.get(r);return s&&(r=s,a=W),t?e?function(){var t=a(e,Ur(arguments));i.call(this),this.addEventListener(r,this[o]=t,t.$=n),t._=e}:i:e?v:function(){var t,e=new RegExp("^__on([^.]+)"+$r.requote(r)+"$");for(var n in this)if(t=n.match(e)){var i=this[n];this.removeEventListener(t[1],i,i.$),delete this[n]}}}function z(n,i){return function(t){var e=$r.event;$r.event=t,i[0]=this.__data__;try{n.apply(this,i)}finally{$r.event=e}}}function W(t,e){var n=z(t,e);return function(t){var e=t.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||n.call(this,t)}}function $(){var n=".dragsuppress-"+ ++yo,i="click"+n,r=$r.select(Xr).on("touchmove"+n,L).on("dragstart"+n,L).on("selectstart"+n,L);if(vo){var o=Gr.style,a=o[vo];o[vo]="none"}return function(t){if(r.on(n,null),vo&&(o[vo]=a),t){function e(){r.on(i,null)}r.on(i,function(){L(),e()},!0),setTimeout(e,0)}}}function q(t,e){e.changedTouches&&(e=e.changedTouches[0]);var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();if(bo<0&&(Xr.scrollX||Xr.scrollY)){var r=(n=$r.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM();bo=!(r.f||r.e),n.remove()}return bo?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),[(i=i.matrixTransform(t.getScreenCTM().inverse())).x,i.y]}var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}function U(){return $r.event.changedTouches[0].identifier}function Y(){return $r.event.target}function G(){return Xr}function X(t){return 0<t?1:t<0?-1:0}function V(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function Z(t){return 1<t?0:t<-1?So:Math.acos(t)}function K(t){return 1<t?ko:t<-1?-ko:Math.asin(t)}function J(t){return((t=Math.exp(t))+1/t)/2}function Q(t){return(t=Math.sin(t/2))*t}function tt(){}function et(t,e,n){return this instanceof et?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof et?new et(t.h,t.s,t.l):gt(""+t,mt,et):new et(t,e,n)}function nt(t,e,n){function i(t){return Math.round(255*function(t){return 360<t?t-=360:t<0&&(t+=360),t<60?r+(o-r)*t/60:t<180?o:t<240?r+(o-r)*(240-t)/60:r}(t))}var r,o;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:e<0?0:1<e?1:e,r=2*(n=n<0?0:1<n?1:n)-(o=n<=.5?n*(1+e):n+e-n*e),new ht(i(t+120),i(t),i(t-120))}function it(t,e,n){return this instanceof it?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof it?new it(t.h,t.c,t.l):st(t instanceof ot?t.l:(t=vt((t=$r.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new it(t,e,n)}function rt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new ot(n,Math.cos(t*=Mo)*e,Math.sin(t)*e)}function ot(t,e,n){return this instanceof ot?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof ot?new ot(t.l,t.a,t.b):t instanceof it?rt(t.h,t.c,t.l):vt((t=ht(t)).r,t.g,t.b):new ot(t,e,n)}function at(t,e,n){var i=(t+16)/116,r=i+e/500,o=i-n/200;return new ht(ct(3.2404542*(r=lt(r)*No)-1.5371385*(i=lt(i)*Ro)-.4985314*(o=lt(o)*Fo)),ct(-.969266*r+1.8760108*i+.041556*o),ct(.0556434*r-.2040259*i+1.0572252*o))}function st(t,e,n){return 0<t?new it(Math.atan2(n,e)*To,Math.sqrt(e*e+n*n),t):new it(NaN,NaN,t)}function lt(t){return.206893034<t?t*t*t:(t-4/29)/7.787037}function ut(t){return.008856<t?Math.pow(t,1/3):7.787037*t+4/29}function ct(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function ht(t,e,n){return this instanceof ht?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof ht?new ht(t.r,t.g,t.b):gt(""+t,ht,nt):new ht(t,e,n)}function dt(t){return new ht(t>>16,255&t>>8,255&t)}function ft(t){return dt(t)+""}function pt(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function gt(t,e,n){var i,r,o,a=0,s=0,l=0;if(i=/([a-z]+)\((.*)\)/i.exec(t))switch(r=i[2].split(","),i[1]){case"hsl":return n(parseFloat(r[0]),parseFloat(r[1])/100,parseFloat(r[2])/100);case"rgb":return e(bt(r[0]),bt(r[1]),bt(r[2]))}return(o=Bo.get(t))?e(o.r,o.g,o.b):(null==t||"#"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,l=15&o,l|=l<<4):7===t.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,l=255&o)),e(a,s,l))}function mt(t,e,n){var i,r,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(r=l<.5?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(e<n?6:0):e==a?(n-t)/s+2:(t-e)/s+4,i*=60):(i=NaN,r=0<l&&l<1?0:i),new et(i,r,l)}function vt(t,e,n){var i=ut((.4124564*(t=yt(t))+.3575761*(e=yt(e))+.1804375*(n=yt(n)))/No),r=ut((.2126729*t+.7151522*e+.072175*n)/Ro);return ot(116*r-16,500*(i-r),200*(r-ut((.0193339*t+.119192*e+.9503041*n)/Fo)))}function yt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function bt(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function xt(t){return"function"==typeof t?t:function(){return t}}function wt(t){return t}function St(i){return function(t,e,n){return 2===arguments.length&&"function"==typeof e&&(n=e,e=null),_t(t,e,i,n)}}function _t(r,o,n,t){function e(){var t,e=u.status;if(!e&&function(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}(u)||200<=e&&e<300||304===e){try{t=n.call(a,u)}catch(t){return void s.error.call(a,t)}s.load.call(a,t)}else s.error.call(a,u)}var a={},s=$r.dispatch("beforesend","progress","load","error"),l={},u=new XMLHttpRequest,c=null;return!Xr.XDomainRequest||"withCredentials"in u||!/^(http(s)?:)?\/\//.test(r)||(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=e:u.onreadystatechange=function(){3<u.readyState&&e()},u.onprogress=function(t){var e=$r.event;$r.event=t;try{s.progress.call(a,u)}finally{$r.event=e}},a.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?l[t]:(null==e?delete l[t]:l[t]=e+"",a)},a.mimeType=function(t){return arguments.length?(o=null==t?null:t+"",a):o},a.responseType=function(t){return arguments.length?(c=t,a):c},a.response=function(t){return n=t,a},["get","post"].forEach(function(t){a[t]=function(){return a.send.apply(a,[t].concat(Ur(arguments)))}}),a.send=function(t,e,n){if(2===arguments.length&&"function"==typeof e&&(n=e,e=null),u.open(t,r,!0),null==o||"accept"in l||(l.accept=o+",*/*"),u.setRequestHeader)for(var i in l)u.setRequestHeader(i,l[i]);return null!=o&&u.overrideMimeType&&u.overrideMimeType(o),null!=c&&(u.responseType=c),null!=n&&a.on("error",n).on("load",function(t){n(null,t)}),s.beforesend.call(a,u),u.send(null==e?null:e),a},a.abort=function(){return u.abort(),a},$r.rebind(a,s,"on"),null==t?a:a.get(function(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}(t))}function Ct(){var t=kt(),e=Mt()-t;24<e?(isFinite(e)&&(clearTimeout(qo),qo=setTimeout(Ct,e)),$o=0):($o=1,Yo(Ct))}function kt(){var t=Date.now();for(Uo=zo;Uo;)t>=Uo.t&&(Uo.f=Uo.c(t-Uo.t)),Uo=Uo.n;return t}function Mt(){for(var t,e=zo,n=1/0;e;)e=e.f?t?t.n=e.n:zo=e.n:(e.t<n&&(n=e.t),(t=e).n);return Wo=t,n}function Tt(t,e){return e-(t?Math.ceil(Math.log(t)/Math.LN10):1)}function Dt(t){return t+""}function At(){this._=new Date(1<arguments.length?Date.UTC.apply(this,arguments):arguments[0])}function Pt(i,o,a){function t(t){var e=i(t),n=r(e,1);return t-e<n-t?e:n}function s(t){return o(t=i(new Ko(t-1)),1),t}function r(t,e){return o(t=new Ko(+t),e),t}function l(t,e,n){var i=s(t),r=[];if(1<n)for(;i<e;)a(i)%n||r.push(new Date(+i)),o(i,1);else for(;i<e;)r.push(new Date(+i)),o(i,1);return r}(i.floor=i).round=t,i.ceil=s,i.offset=r,i.range=l;var e=i.utc=Et(i);return(e.floor=e).round=Et(t),e.ceil=Et(s),e.offset=Et(r),e.range=function(t,e,n){try{var i=new(Ko=At);return i._=t,l(i,e,n)}finally{Ko=Date}},i}function Et(i){return function(t,e){try{var n=new(Ko=At);return n._=t,i(n,e)._}finally{Ko=Date}}}function Ot(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o<n?new Array(n-o+1).join(e)+r:r)}function Lt(t){return new RegExp("^(?:"+t.map($r.requote).join("|")+")","i")}function It(t){for(var e=new y,n=-1,i=t.length;++n<i;)e.set(t[n].toLowerCase(),n);return e}function Nt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function Rt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n));return i?(t.U=+i[0],n+i[0].length):-1}function Ft(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n));return i?(t.W=+i[0],n+i[0].length):-1}function jt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function Ht(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+2));return i?(t.y=function(t){return t+(68<t?1900:2e3)}(+i[0]),n+i[0].length):-1}function Bt(t,e,n){return/^[+-]\d{4}$/.test(e=e.slice(n,n+5))?(t.Z=-e,n+5):-1}function zt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function Wt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function $t(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+3));return i?(t.j=+i[0],n+i[0].length):-1}function qt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function Ut(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function Yt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function Gt(t,e,n){ta.lastIndex=0;var i=ta.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function Xt(t){var e=t.getTimezoneOffset(),n=0<e?"-":"+",i=0|eo(e)/60,r=eo(e)%60;return n+Ot(i,"0",2)+Ot(r,"0",2)}function Vt(t,e,n){ea.lastIndex=0;var i=ea.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function Zt(i){for(var t=i.length,e=-1;++e<t;)i[e][0]=this(i[e][0]);return function(t){for(var e=0,n=i[e];!n[1](t);)n=i[++e];return n[0](t)}}function Kt(){}function Jt(t,e,n){var i=n.s=t+e,r=i-t,o=i-r;n.t=t-o+(e-r)}function Qt(t,e){t&&oa.hasOwnProperty(t.type)&&oa[t.type](t,e)}function te(t,e,n){var i,r=-1,o=t.length-n;for(e.lineStart();++r<o;)i=t[r],e.point(i[0],i[1],i[2]);e.lineEnd()}function ee(t,e){var n=-1,i=t.length;for(e.polygonStart();++n<i;)te(t[n],e,1);e.polygonEnd()}function ne(){function n(t,e){e=e*Mo/2+So/4;var n=(t*=Mo)-c,i=0<=n?1:-1,r=i*n,o=Math.cos(e),a=Math.sin(e),s=d*a,l=h*o+s*Math.cos(r),u=s*i*Math.sin(r);sa.add(Math.atan2(u,l)),c=t,h=o,d=a}var i,r,c,h,d;la.point=function(t,e){la.point=n,c=(i=t)*Mo,h=Math.cos(e=(r=e)*Mo/2+So/4),d=Math.sin(e)},la.lineEnd=function(){n(i,r)}}function ie(t){var e=t[0],n=t[1],i=Math.cos(n);return[i*Math.cos(e),i*Math.sin(e),Math.sin(n)]}function re(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function oe(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 ae(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function se(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function le(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function ue(t){return[Math.atan2(t[1],t[0]),K(t[2])]}function ce(t,e){return eo(t[0]-e[0])<xo&&eo(t[1]-e[1])<xo}function he(t,e){t*=Mo;var n=Math.cos(e*=Mo);de(n*Math.cos(t),n*Math.sin(t),Math.sin(e))}function de(t,e,n){ha+=(t-ha)/++ua,da+=(e-da)/ua,fa+=(n-fa)/ua}function fe(){function i(t,e){t*=Mo;var n=Math.cos(e*=Mo),i=n*Math.cos(t),r=n*Math.sin(t),o=Math.sin(e),a=Math.atan2(Math.sqrt((a=l*o-u*r)*a+(a=u*i-s*o)*a+(a=s*r-l*i)*a),s*i+l*r+u*o);ca+=a,pa+=a*(s+(s=i)),ga+=a*(l+(l=r)),ma+=a*(u+(u=o)),de(s,l,u)}var s,l,u;xa.point=function(t,e){t*=Mo;var n=Math.cos(e*=Mo);s=n*Math.cos(t),l=n*Math.sin(t),u=Math.sin(e),xa.point=i,de(s,l,u)}}function pe(){xa.point=he}function ge(){function i(t,e){t*=Mo;var n=Math.cos(e*=Mo),i=n*Math.cos(t),r=n*Math.sin(t),o=Math.sin(e),a=p*o-g*r,s=g*i-f*o,l=f*r-p*i,u=Math.sqrt(a*a+s*s+l*l),c=f*i+p*r+g*o,h=u&&-Z(c)/u,d=Math.atan2(u,c);va+=h*a,ya+=h*s,ba+=h*l,ca+=d,pa+=d*(f+(f=i)),ga+=d*(p+(p=r)),ma+=d*(g+(g=o)),de(f,p,g)}var r,o,f,p,g;xa.point=function(t,e){r=t,o=e,xa.point=i,t*=Mo;var n=Math.cos(e*=Mo);f=n*Math.cos(t),p=n*Math.sin(t),g=Math.sin(e),de(f,p,g)},xa.lineEnd=function(){i(r,o),xa.lineEnd=pe,xa.point=he}}function me(n,i){function t(t,e){return t=n(t,e),i(t[0],t[1])}return n.invert&&i.invert&&(t.invert=function(t,e){return(t=i.invert(t,e))&&n.invert(t[0],t[1])}),t}function ve(){return!0}function ye(t,e,n,i,s){var l=[],u=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n=t[0],i=t[e];if(ce(n,i)){s.lineStart();for(var r=0;r<e;++r)s.point((n=t[r])[0],n[1]);return void s.lineEnd()}var o=new xe(n,t,null,!0),a=new xe(n,null,o,!1);o.o=a,l.push(o),u.push(a),a=new xe(i,null,o=new xe(i,t,null,!1),!0),o.o=a,l.push(o),u.push(a)}}),u.sort(e),be(l),be(u),l.length){for(var r=0,o=n,a=u.length;r<a;++r)u[r].e=o=!o;for(var c,h,d=l[0];;){for(var f=d,p=!0;f.v;)if((f=f.n)===d)return;c=f.z,s.lineStart();do{if(f.v=f.o.v=!0,f.e){if(p)for(r=0,a=c.length;r<a;++r)s.point((h=c[r])[0],h[1]);else i(f.x,f.n.x,1,s);f=f.n}else{if(p)for(r=(c=f.p.z).length-1;0<=r;--r)s.point((h=c[r])[0],h[1]);else i(f.x,f.p.x,-1,s);f=f.p}c=(f=f.o).z,p=!p}while(!f.v);s.lineEnd()}}}function be(t){if(e=t.length){for(var e,n,i=0,r=t[0];++i<e;)r.n=n=t[i],n.p=r,r=n;r.n=n=t[0],n.p=r}}function xe(t,e,n,i){this.x=t,this.z=e,this.o=n,this.e=i,this.v=!1,this.n=this.p=null}function we(y,b,x,w){return function(i,a){function e(t,e){var n=i(t,e);y(t=n[0],e=n[1])&&a.point(t,e)}function t(t,e){var n=i(t,e);d.point(n[0],n[1])}function n(){p.point=t,d.lineStart()}function r(){p.point=e,d.lineEnd()}function s(t,e){h.push([t,e]);var n=i(t,e);m.point(n[0],n[1])}function o(){m.lineStart(),h=[]}function l(){s(h[0][0],h[0][1]),m.lineEnd();var t,e=m.clean(),n=g.buffer(),i=n.length;if(h.pop(),c.push(h),h=null,i)if(1&e){var r,o=-1;if(0<(i=(t=n[0]).length-1)){for(v||(a.polygonStart(),v=!0),a.lineStart();++o<i;)a.point((r=t[o])[0],r[1]);a.lineEnd()}}else 1<i&&2&e&&n.push(n.pop().concat(n.shift())),u.push(n.filter(Se))}var u,c,h,d=b(a),f=i.invert(w[0],w[1]),p={point:e,lineStart:n,lineEnd:r,polygonStart:function(){p.point=s,p.lineStart=o,p.lineEnd=l,u=[],c=[]},polygonEnd:function(){p.point=e,p.lineStart=n,p.lineEnd=r,u=$r.merge(u);var t=function(t,e){var n=t[0],i=t[1],r=[Math.sin(n),-Math.cos(n),0],o=0,a=0;sa.reset();for(var s=0,l=e.length;s<l;++s){var u=e[s],c=u.length;if(c)for(var h=u[0],d=h[0],f=h[1]/2+So/4,p=Math.sin(f),g=Math.cos(f),m=1;;){m===c&&(m=0);var v=(t=u[m])[0],y=t[1]/2+So/4,b=Math.sin(y),x=Math.cos(y),w=v-d,S=0<=w?1:-1,_=S*w,C=So<_,k=p*b;if(sa.add(Math.atan2(k*S*Math.sin(_),g*x+k*Math.cos(_))),o+=C?w+S*_o:w,C^n<=d^n<=v){var M=oe(ie(h),ie(t));le(M);var T=oe(r,M);le(T);var D=(C^0<=w?-1:1)*K(T[2]);(D<i||i===D&&(M[0]||M[1]))&&(a+=C^0<=w?1:-1)}if(!m++)break;d=v,p=b,g=x,h=t}}return(o<-xo||o<xo&&sa<0)^1&a}(f,c);u.length?(v||(a.polygonStart(),v=!0),ye(u,Ce,t,x,a)):t&&(v||(a.polygonStart(),v=!0),a.lineStart(),x(null,null,1,a),a.lineEnd()),v&&(a.polygonEnd(),v=!1),u=c=null},sphere:function(){a.polygonStart(),a.lineStart(),x(null,null,1,a),a.lineEnd(),a.polygonEnd()}},g=_e(),m=b(g),v=!1;return p}}function Se(t){return 1<t.length}function _e(){var n,e=[];return{lineStart:function(){e.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:v,buffer:function(){var t=e;return e=[],n=null,t},rejoin:function(){1<e.length&&e.push(e.pop().concat(e.shift()))}}}function Ce(t,e){return((t=t.x)[0]<0?t[1]-ko-xo:ko-t[1])-((e=e.x)[0]<0?e[1]-ko-xo:ko-e[1])}function ke(c,h,d,f){return function(t){var e,n=t.a,i=t.b,r=n.x,o=n.y,a=0,s=1,l=i.x-r,u=i.y-o;if(e=c-r,l||!(0<e)){if(e/=l,l<0){if(e<a)return;e<s&&(s=e)}else if(0<l){if(s<e)return;a<e&&(a=e)}if(e=d-r,l||!(e<0)){if(e/=l,l<0){if(s<e)return;a<e&&(a=e)}else if(0<l){if(e<a)return;e<s&&(s=e)}if(e=h-o,u||!(0<e)){if(e/=u,u<0){if(e<a)return;e<s&&(s=e)}else if(0<u){if(s<e)return;a<e&&(a=e)}if(e=f-o,u||!(e<0)){if(e/=u,u<0){if(s<e)return;a<e&&(a=e)}else if(0<u){if(e<a)return;e<s&&(s=e)}return 0<a&&(t.a={x:r+a*l,y:o+a*u}),s<1&&(t.b={x:r+s*l,y:o+s*u}),t}}}}}}function Me(x,w,S,_){function C(t,e){return eo(t[0]-x)<xo?0<e?0:3:eo(t[0]-S)<xo?0<e?2:1:eo(t[1]-w)<xo?0<e?1:0:0<e?3:2}function k(t,e){return M(t.x,e.x)}function M(t,e){var n=C(t,1),i=C(e,1);return n!==i?n-i:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(r){function i(t,e,n,i){var r=0,o=0;if(null==t||(r=C(t,n))!==(o=C(e,n))||M(t,e)<0^0<n)for(;i.point(0===r||3===r?x:S,1<r?_:w),(r=(r+n+4)%4)!==o;);else i.point(e[0],e[1])}function o(t,e){return x<=t&&t<=S&&w<=e&&e<=_}function t(t,e){o(t,e)&&r.point(t,e)}function e(t,e){var n=o(t=Math.max(-Sa,Math.min(Sa,t)),e=Math.max(-Sa,Math.min(Sa,e)));if(c&&s.push([t,e]),g)l=t,u=e,g=!1,(h=n)&&(r.lineStart(),r.point(t,e));else if(n&&p)r.point(t,e);else{var i={a:{x:d,y:f},b:{x:t,y:e}};y(i)?(p||(r.lineStart(),r.point(i.a.x,i.a.y)),r.point(i.b.x,i.b.y),n||r.lineEnd(),m=!1):n&&(r.lineStart(),r.point(t,e),m=!1)}d=t,f=e,p=n}var a,c,s,l,u,h,d,f,p,g,m,v=r,n=_e(),y=ke(x,w,S,_),b={point:t,lineStart:function(){b.point=e,c&&c.push(s=[]),p=!(g=!0),d=f=NaN},lineEnd:function(){a&&(e(l,u),h&&p&&n.rejoin(),a.push(n.buffer())),b.point=t,p&&r.lineEnd()},polygonStart:function(){r=n,a=[],c=[],m=!0},polygonEnd:function(){r=v,a=$r.merge(a);var t=function(t){for(var e=0,n=c.length,i=t[1],r=0;r<n;++r)for(var o,a=1,s=c[r],l=s.length,u=s[0];a<l;++a)o=s[a],u[1]<=i?o[1]>i&&0<V(u,o,t)&&++e:o[1]<=i&&V(u,o,t)<0&&--e,u=o;return 0!==e}([x,_]),e=m&&t,n=a.length;(e||n)&&(r.polygonStart(),e&&(r.lineStart(),i(null,null,1,r),r.lineEnd()),n&&ye(a,k,t,i,r),r.polygonEnd()),a=c=s=null}};return b}}function Te(t){var e=0,n=So/3,i=ze(t),r=i(e,n);return r.parallels=function(t){return arguments.length?i(e=t[0]*So/180,n=t[1]*So/180):[e/So*180,n/So*180]},r}function De(t,e){function n(t,e){var n=Math.sqrt(o-2*r*Math.sin(e))/r;return[n*Math.sin(t*=r),a-n*Math.cos(t)]}var i=Math.sin(t),r=(i+Math.sin(e))/2,o=1+i*(2*r-i),a=Math.sqrt(o)/r;return n.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/r,K((o-(t*t+n*n)*r*r)/(2*r))]},n}function Ae(){function n(t,e){Ca+=a*t-o*e,o=t,a=e}var i,r,o,a;Aa.point=function(t,e){Aa.point=n,i=o=t,r=a=e},Aa.lineEnd=function(){n(i,r)}}function Pe(){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 i(){s.point=t}function r(){a.push("Z")}var o=Ee(4.5),a=[],s={point:t,lineStart:function(){s.point=e},lineEnd:i,polygonStart:function(){s.lineEnd=r},polygonEnd:function(){s.lineEnd=i,s.point=t},pointRadius:function(t){return o=Ee(t),s},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return s}function Ee(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Oe(t,e){ha+=t,da+=e,++fa}function Le(){function n(t,e){var n=t-o,i=e-a,r=Math.sqrt(n*n+i*i);pa+=r*(o+t)/2,ga+=r*(a+e)/2,ma+=r,Oe(o=t,a=e)}var o,a;Ea.point=function(t,e){Ea.point=n,Oe(o=t,a=e)}}function Ie(){Ea.point=Oe}function Ne(){function n(t,e){var n=t-o,i=e-a,r=Math.sqrt(n*n+i*i);pa+=r*(o+t)/2,ga+=r*(a+e)/2,ma+=r,va+=(r=a*t-o*e)*(o+t),ya+=r*(a+e),ba+=3*r,Oe(o=t,a=e)}var i,r,o,a;Ea.point=function(t,e){Ea.point=n,Oe(i=o=t,r=a=e)},Ea.lineEnd=function(){n(i,r)}}function Re(n){function t(t,e){n.moveTo(t+a,e),n.arc(t,e,a,0,_o)}function e(t,e){n.moveTo(t,e),s.point=i}function i(t,e){n.lineTo(t,e)}function r(){s.point=t}function o(){n.closePath()}var a=4.5,s={point:t,lineStart:function(){s.point=e},lineEnd:r,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=r,s.point=t},pointRadius:function(t){return a=t,s},result:v};return s}function Fe(A){function e(t){return(w?function(r){function t(t,e){t=A(t,e),r.point(t[0],t[1])}function e(){g=NaN,x.point=n,r.lineStart()}function n(t,e){var n=ie([t,e]),i=A(t,e);P(g,m,p,v,y,b,g=i[0],m=i[1],p=t,v=n[0],y=n[1],b=n[2],w,r),r.point(g,m)}function i(){x.point=t,r.lineEnd()}function o(){e(),x.point=a,x.lineEnd=s}function a(t,e){n(l=t,e),u=g,c=m,h=v,d=y,f=b,x.point=n}function s(){P(g,m,p,v,y,b,u,c,l,h,d,f,w,r),(x.lineEnd=i)()}var l,u,c,h,d,f,p,g,m,v,y,b,x={point:t,lineStart:e,lineEnd:i,polygonStart:function(){r.polygonStart(),x.lineStart=o},polygonEnd:function(){r.polygonEnd(),x.lineStart=e}};return x}:function(n){return He(n,function(t,e){t=A(t,e),n.point(t[0],t[1])})})(t)}function P(t,e,n,i,r,o,a,s,l,u,c,h,d,f){var p=a-t,g=s-e,m=p*p+g*g;if(4*E<m&&d--){var v=i+u,y=r+c,b=o+h,x=Math.sqrt(v*v+y*y+b*b),w=Math.asin(b/=x),S=eo(eo(b)-1)<xo||eo(n-l)<xo?(n+l)/2:Math.atan2(y,v),_=A(S,w),C=_[0],k=_[1],M=C-t,T=k-e,D=g*M-p*T;(E<D*D/m||.3<eo((p*M+g*T)/m-.5)||i*u+r*c+o*h<O)&&(P(t,e,n,i,r,o,C,k,S,v/=x,y/=x,b,d,f),f.point(C,k),P(C,k,S,v,y,b,a,s,l,u,c,h,d,f))}}var E=.5,O=Math.cos(30*Mo),w=16;return e.precision=function(t){return arguments.length?(w=0<(E=t*t)&&16,e):Math.sqrt(E)},e}function je(t){this.stream=t}function He(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function Be(t){return ze(function(){return t})()}function ze(t){function e(t){return[(t=s(t[0]*Mo,t[1]*Mo))[0]*d+l,u-t[1]*d]}function n(t){return(t=s.invert((t[0]-l)/d,(u-t[1])/d))&&[t[0]*To,t[1]*To]}function i(){s=me(a=Ue(v,y,b),o);var t=o(g,m);return l=f-t[0]*d,u=p+t[1]*d,r()}function r(){return c&&(c.valid=!1,c=null),e}var o,a,s,l,u,c,h=Fe(function(t,e){return[(t=o(t,e))[0]*d+l,u-t[1]*d]}),d=150,f=480,p=250,g=0,m=0,v=0,y=0,b=0,x=wa,w=wt,S=null,_=null;return e.stream=function(t){return c&&(c.valid=!1),(c=We(x(a,h(w(t))))).valid=!0,c},e.clipAngle=function(t){return arguments.length?(x=null==t?(S=t,wa):function(r){function f(t,e){return Math.cos(t)*Math.cos(e)>M}function p(t,e,n){var i=[1,0,0],r=oe(ie(t),ie(e)),o=re(r,r),a=r[0],s=o-a*a;if(!s)return!n&&t;var l=M*o/s,u=-M*a/s,c=oe(i,r),h=se(i,l);ae(h,se(r,u));var d=c,f=re(h,d),p=re(d,d),g=f*f-p*(re(h,h)-1);if(!(g<0)){var m=Math.sqrt(g),v=se(d,(-f-m)/p);if(ae(v,h),v=ue(v),!n)return v;var y,b=t[0],x=e[0],w=t[1],S=e[1];x<b&&(y=b,b=x,x=y);var _=x-b,C=eo(_-So)<xo;if(!C&&S<w&&(y=w,w=S,S=y),C||_<xo?C?0<w+S^v[1]<(eo(v[0]-b)<xo?w:S):w<=v[1]&&v[1]<=S:So<_^(b<=v[0]&&v[0]<=x)){var k=se(d,(-f+m)/p);return ae(k,h),[v,ue(k)]}}}function g(t,e){var n=m?r:So-r,i=0;return t<-n?i|=1:n<t&&(i|=2),e<-n?i|=4:n<e&&(i|=8),i}var M=Math.cos(r),m=0<M,v=eo(M)>xo;return we(f,function(s){var l,u,c,h,d;return{lineStart:function(){h=c=!1,d=1},point:function(t,e){var n,i=[t,e],r=f(t,e),o=m?r?0:g(t,e):r?g(t+(t<0?So:-So),e):0;if(!l&&(h=c=r)&&s.lineStart(),r!==c&&(n=p(l,i),(ce(l,n)||ce(i,n))&&(i[0]+=xo,i[1]+=xo,r=f(i[0],i[1]))),r!==c)d=0,r?(s.lineStart(),n=p(i,l),s.point(n[0],n[1])):(n=p(l,i),s.point(n[0],n[1]),s.lineEnd()),l=n;else if(v&&l&&m^r){var a;o&u||!(a=p(i,l,!0))||(d=0,m?(s.lineStart(),s.point(a[0][0],a[0][1]),s.point(a[1][0],a[1][1]),s.lineEnd()):(s.point(a[1][0],a[1][1]),s.lineEnd(),s.lineStart(),s.point(a[0][0],a[0][1])))}!r||l&&ce(l,i)||s.point(i[0],i[1]),l=i,c=r,u=o},lineEnd:function(){c&&s.lineEnd(),l=null},clean:function(){return d|(h&&c)<<1}}},Ve(r,6*Mo),m?[0,-r]:[-So,r-So])}((S=+t)*Mo),r()):S},e.clipExtent=function(t){return arguments.length?(w=(_=t)?Me(t[0][0],t[0][1],t[1][0],t[1][1]):wt,r()):_},e.scale=function(t){return arguments.length?(d=+t,i()):d},e.translate=function(t){return arguments.length?(f=+t[0],p=+t[1],i()):[f,p]},e.center=function(t){return arguments.length?(g=t[0]%360*Mo,m=t[1]%360*Mo,i()):[g*To,m*To]},e.rotate=function(t){return arguments.length?(v=t[0]%360*Mo,y=t[1]%360*Mo,b=2<t.length?t[2]%360*Mo:0,i()):[v*To,y*To,b*To]},$r.rebind(e,h,"precision"),function(){return o=t.apply(this,arguments),e.invert=o.invert&&n,i()}}function We(n){return He(n,function(t,e){n.point(t*Mo,e*Mo)})}function $e(t,e){return[t,e]}function qe(t,e){return[So<t?t-_o:t<-So?t+_o:t,e]}function Ue(t,e,n){return t?e||n?me(Ge(t),Xe(e,n)):Ge(t):e||n?Xe(e,n):qe}function Ye(n){return function(t,e){return[So<(t+=n)?t-_o:t<-So?t+_o:t,e]}}function Ge(t){var e=Ye(t);return e.invert=Ye(-t),e}function Xe(t,e){function n(t,e){var n=Math.cos(e),i=Math.cos(t)*n,r=Math.sin(t)*n,o=Math.sin(e),a=o*s+i*l;return[Math.atan2(r*u-a*c,i*s-o*l),K(a*u+r*c)]}var s=Math.cos(t),l=Math.sin(t),u=Math.cos(e),c=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),i=Math.cos(t)*n,r=Math.sin(t)*n,o=Math.sin(e),a=o*u-r*c;return[Math.atan2(r*u+o*c,i*s+a*l),K(a*s-i*l)]},n}function Ve(s,l){var u=Math.cos(s),c=Math.sin(s);return function(t,e,n,i){var r=n*l;null!=t?(t=Ze(u,t),e=Ze(u,e),(0<n?t<e:e<t)&&(t+=n*_o)):(t=s+n*_o,e=s-.5*r);for(var o,a=t;0<n?e<a:a<e;a-=r)i.point((o=ue([u,-c*Math.cos(a),-c*Math.sin(a)]))[0],o[1])}}function Ze(t,e){var n=ie(e);n[0]-=t,le(n);var i=Z(-n[1]);return((-n[2]<0?-i:i)+2*Math.PI-xo)%(2*Math.PI)}function Ke(t,e,n){var i=$r.range(t,e-xo,n).concat(e);return function(e){return i.map(function(t){return[e,t]})}}function Je(t,e,n){var i=$r.range(t,e-xo,n).concat(e);return function(e){return i.map(function(t){return[t,e]})}}function Qe(t){return t.source}function tn(t){return t.target}function en(o,a){function t(t,e){var n=Math.cos(t),i=Math.cos(e),r=o(n*i);return[r*i*Math.sin(t),r*Math.sin(e)]}return t.invert=function(t,e){var n=Math.sqrt(t*t+e*e),i=a(n),r=Math.sin(i),o=Math.cos(i);return[Math.atan2(t*r,n*o),Math.asin(n&&e*r/n)]},t}function nn(t,e){function n(t,e){0<a?e<-ko+xo&&(e=-ko+xo):ko-xo<e&&(e=ko-xo);var n=a/Math.pow(i(e),o);return[n*Math.sin(o*t),a-n*Math.cos(o*t)]}function i(t){return Math.tan(So/4+t/2)}var r=Math.cos(t),o=t===e?Math.sin(t):Math.log(r/Math.cos(e))/Math.log(i(e)/i(t)),a=r*Math.pow(i(t),o)/o;return o?(n.invert=function(t,e){var n=a-e,i=X(o)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/o,2*Math.atan(Math.pow(a/i,1/o))-ko]},n):on}function rn(t,e){function n(t,e){var n=o-e;return[n*Math.sin(r*t),o-n*Math.cos(r*t)]}var i=Math.cos(t),r=t===e?Math.sin(t):(i-Math.cos(e))/(e-t),o=i/r+t;return eo(r)<xo?$e:(n.invert=function(t,e){var n=o-e;return[Math.atan2(t,n)/r,o-X(r)*Math.sqrt(t*t+n*n)]},n)}function on(t,e){return[t,Math.log(Math.tan(So/4+e/2))]}function an(t){var r,o=Be(t),a=o.scale,s=o.translate,l=o.clipExtent;return o.scale=function(){var t=a.apply(o,arguments);return t===o?r?o.clipExtent(null):o:t},o.translate=function(){var t=s.apply(o,arguments);return t===o?r?o.clipExtent(null):o:t},o.clipExtent=function(t){var e=l.apply(o,arguments);if(e===o){if(r=null==t){var n=So*a(),i=s();l([[i[0]-n,i[1]-n],[i[0]+n,i[1]+n]])}}else r&&(e=null);return e},o.clipExtent(null)}function sn(t,e){return[Math.log(Math.tan(So/4+e/2)),-t]}function ln(t){return t[0]}function un(t){return t[1]}function cn(t){for(var e=t.length,n=[0,1],i=2,r=2;r<e;r++){for(;1<i&&V(t[n[i-2]],t[n[i-1]],t[r])<=0;)--i;n[i++]=r}return n.slice(0,i)}function hn(t,e){return t[0]-e[0]||t[1]-e[1]}function dn(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function fn(t,e,n,i){var r=t[0],o=n[0],a=e[0]-r,s=i[0]-o,l=t[1],u=n[1],c=e[1]-l,h=i[1]-u,d=(s*(l-u)-h*(r-o))/(h*a-s*c);return[r+d*a,l+d*c]}function pn(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}function gn(){Ln(this),this.edge=this.site=this.circle=null}function mn(t){var e=Ua.pop()||new gn;return e.site=t,e}function vn(t){Mn(t),Wa.remove(t),Ua.push(t),Ln(t)}function yn(t){var e=t.circle,n=e.x,i=e.cy,r={x:n,y:i},o=t.P,a=t.N,s=[t];vn(t);for(var l=o;l.circle&&eo(n-l.circle.x)<xo&&eo(i-l.circle.cy)<xo;)o=l.P,s.unshift(l),vn(l),l=o;s.unshift(l),Mn(l);for(var u=a;u.circle&&eo(n-u.circle.x)<xo&&eo(i-u.circle.cy)<xo;)a=u.N,s.push(u),vn(u),u=a;s.push(u),Mn(u);var c,h=s.length;for(c=1;c<h;++c)u=s[c],l=s[c-1],Pn(u.edge,l.site,u.site,r);l=s[0],(u=s[h-1]).edge=An(l.site,u.site,null,r),kn(l),kn(u)}function bn(t){for(var e,n,i,r,o=t.x,a=t.y,s=Wa._;s;)if(i=xn(s,a)-o,xo<i)s=s.L;else{if(r=o-wn(s,a),!(xo<r)){-xo<i?(e=s.P,n=s):-xo<r?n=(e=s).N:e=n=s;break}if(!s.R){e=s;break}s=s.R}var l=mn(t);if(Wa.insert(e,l),e||n){if(e===n)return Mn(e),n=mn(e.site),Wa.insert(l,n),l.edge=n.edge=An(e.site,l.site),kn(e),void kn(n);if(!n)return void(l.edge=An(e.site,l.site));Mn(e),Mn(n);var u=e.site,c=u.x,h=u.y,d=t.x-c,f=t.y-h,p=n.site,g=p.x-c,m=p.y-h,v=2*(d*m-f*g),y=d*d+f*f,b=g*g+m*m,x={x:(m*y-f*b)/v+c,y:(d*b-g*y)/v+h};Pn(n.edge,u,p,x),l.edge=An(u,t,null,x),n.edge=An(t,p,null,x),kn(e),kn(n)}}function xn(t,e){var n=t.site,i=n.x,r=n.y,o=r-e;if(!o)return i;var a=t.P;if(!a)return-1/0;var s=(n=a.site).x,l=n.y,u=l-e;if(!u)return s;var c=s-i,h=1/o-1/u,d=c/u;return h?(-d+Math.sqrt(d*d-2*h*(c*c/(-2*u)-l+u/2+r-o/2)))/h+i:(i+s)/2}function wn(t,e){var n=t.N;if(n)return xn(n,e);var i=t.site;return i.y===e?i.x:1/0}function Sn(t){this.site=t,this.edges=[]}function _n(t,e){return e.angle-t.angle}function Cn(){Ln(this),this.x=this.y=this.arc=this.site=this.cy=null}function kn(t){var e=t.P,n=t.N;if(e&&n){var i=e.site,r=t.site,o=n.site;if(i!==o){var a=r.x,s=r.y,l=i.x-a,u=i.y-s,c=o.x-a,h=2*(l*(m=o.y-s)-u*c);if(!(-wo<=h)){var d=l*l+u*u,f=c*c+m*m,p=(m*d-u*f)/h,g=(l*f-c*d)/h,m=g+s,v=Ya.pop()||new Cn;v.arc=t,v.site=r,v.x=p+a,v.y=m+Math.sqrt(p*p+g*g),v.cy=m,t.circle=v;for(var y=null,b=qa._;b;)if(v.y<b.y||v.y===b.y&&v.x<=b.x){if(!b.L){y=b.P;break}b=b.L}else{if(!b.R){y=b;break}b=b.R}qa.insert(y,v),y||($a=v)}}}}function Mn(t){var e=t.circle;e&&(e.P||($a=e.N),qa.remove(e),Ya.push(e),Ln(e),t.circle=null)}function Tn(t,e){var n=t.b;if(n)return!0;var i,r,o=t.a,a=e[0][0],s=e[1][0],l=e[0][1],u=e[1][1],c=t.l,h=t.r,d=c.x,f=c.y,p=h.x,g=h.y,m=(d+p)/2,v=(f+g)/2;if(g===f){if(m<a||s<=m)return;if(p<d){if(o){if(o.y>=u)return}else o={x:m,y:l};n={x:m,y:u}}else{if(o){if(o.y<l)return}else o={x:m,y:u};n={x:m,y:l}}}else if(r=v-(i=(d-p)/(g-f))*m,i<-1||1<i)if(p<d){if(o){if(o.y>=u)return}else o={x:(l-r)/i,y:l};n={x:(u-r)/i,y:u}}else{if(o){if(o.y<l)return}else o={x:(u-r)/i,y:u};n={x:(l-r)/i,y:l}}else if(f<g){if(o){if(o.x>=s)return}else o={x:a,y:i*a+r};n={x:s,y:i*s+r}}else{if(o){if(o.x<a)return}else o={x:s,y:i*s+r};n={x:a,y:i*a+r}}return t.a=o,t.b=n,!0}function Dn(t,e){this.l=t,this.r=e,this.a=this.b=null}function An(t,e,n,i){var r=new Dn(t,e);return Ba.push(r),n&&Pn(r,t,e,n),i&&Pn(r,e,t,i),za[t.i].edges.push(new En(r,t,e)),za[e.i].edges.push(new En(r,e,t)),r}function Pn(t,e,n,i){t.a||t.b?t.l===n?t.b=i:t.a=i:(t.a=i,t.l=e,t.r=n)}function En(t,e,n){var i=t.a,r=t.b;this.edge=t,this.site=e,this.angle=n?Math.atan2(n.y-e.y,n.x-e.x):t.l===e?Math.atan2(r.x-i.x,i.y-r.y):Math.atan2(i.x-r.x,r.y-i.y)}function On(){this._=null}function Ln(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function In(t,e){var n=e,i=e.R,r=n.U;r?r.L===n?r.L=i:r.R=i:t._=i,i.U=r,n.U=i,n.R=i.L,n.R&&(n.R.U=n),i.L=n}function Nn(t,e){var n=e,i=e.L,r=n.U;r?r.L===n?r.L=i:r.R=i:t._=i,i.U=r,n.U=i,n.L=i.R,n.L&&(n.L.U=n),i.R=n}function Rn(t){for(;t.L;)t=t.L;return t}function Fn(t,e){var n,i,r,o=t.sort(jn).pop();for(Ba=[],za=new Array(t.length),Wa=new On,qa=new On;;)if(r=$a,o&&(!r||o.y<r.y||o.y===r.y&&o.x<r.x))(o.x!==n||o.y!==i)&&(za[o.i]=new Sn(o),bn(o),n=o.x,i=o.y),o=t.pop();else{if(!r)break;yn(r.arc)}e&&(function(t){for(var e,n=Ba,i=ke(t[0][0],t[0][1],t[1][0],t[1][1]),r=n.length;r--;)(!Tn(e=n[r],t)||!i(e)||eo(e.a.x-e.b.x)<xo&&eo(e.a.y-e.b.y)<xo)&&(e.a=e.b=null,n.splice(r,1))}(e),function(t){for(var e,n,i,r,o,a,s,l,u,c,h=t[0][0],d=t[1][0],f=t[0][1],p=t[1][1],g=za,m=g.length;m--;)if((o=g[m])&&o.prepare())for(l=(s=o.edges).length,a=0;a<l;)i=(c=s[a].end()).x,r=c.y,e=(u=s[++a%l].start()).x,n=u.y,(eo(i-e)>xo||eo(r-n)>xo)&&(s.splice(a,0,new En((v=o.site,y=c,b=eo(i-h)<xo&&xo<p-r?{x:h,y:eo(e-h)<xo?n:p}:eo(r-p)<xo&&xo<d-i?{x:eo(n-p)<xo?e:d,y:p}:eo(i-d)<xo&&xo<r-f?{x:d,y:eo(e-d)<xo?n:f}:eo(r-f)<xo&&xo<i-h?{x:eo(n-f)<xo?e:h,y:f}:null,x=void 0,(x=new Dn(v,null)).a=y,x.b=b,Ba.push(x),x),o.site,null)),++l);var v,y,b,x}(e));var a={cells:za,edges:Ba};return Wa=qa=Ba=za=null,a}function jn(t,e){return e.y-t.y||e.x-t.x}function Hn(t){return t.x}function Bn(t){return t.y}function zn(t,e){t=$r.rgb(t),e=$r.rgb(e);var n=t.r,i=t.g,r=t.b,o=e.r-n,a=e.g-i,s=e.b-r;return function(t){return"#"+pt(Math.round(n+o*t))+pt(Math.round(i+a*t))+pt(Math.round(r+s*t))}}function Wn(t,e){var n,i={},r={};for(n in t)n in e?i[n]=Un(t[n],e[n]):r[n]=t[n];for(n in e)n in t||(r[n]=e[n]);return function(t){for(n in i)r[n]=i[n](t);return r}}function $n(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function qn(t,i){var e,n,r,o=Xa.lastIndex=Va.lastIndex=0,a=-1,s=[],l=[];for(t+="",i+="";(e=Xa.exec(t))&&(n=Va.exec(i));)(r=n.index)>o&&(r=i.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(e=e[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:$n(e,n)})),o=Va.lastIndex;return o<i.length&&(r=i.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?l[0]?(i=l[0].x,function(t){return i(t)+""}):function(){return i}:(i=l.length,function(t){for(var e,n=0;n<i;++n)s[(e=l[n]).i]=e.x(t);return s.join("")})}function Un(t,e){for(var n,i=$r.interpolators.length;0<=--i&&!(n=$r.interpolators[i](t,e)););return n}function Yn(t,e){var n,i=[],r=[],o=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;n<s;++n)i.push(Un(t[n],e[n]));for(;n<o;++n)r[n]=t[n];for(;n<a;++n)r[n]=e[n];return function(t){for(n=0;n<s;++n)r[n]=i[n](t);return r}}function Gn(e){return function(t){return 1-e(1-t)}}function Xn(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Vn(t){return t*t}function Zn(t){return t*t*t}function Kn(t){if(t<=0)return 0;if(1<=t)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function Jn(t){return 1-Math.cos(t*ko)}function Qn(t){return Math.pow(2,10*(t-1))}function ti(t){return 1-Math.sqrt(1-t*t)}function ei(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function ni(e,n){return n-=e,function(t){return Math.round(e+n*t)}}function ii(t){var e=[t.a,t.b],n=[t.c,t.d],i=oi(e),r=ri(e,n),o=oi(function(t,e,n){return t[0]+=n*e[0],t[1]+=n*e[1],t}(n,e,-r))||0;e[0]*n[1]<n[0]*e[1]&&(e[0]*=-1,e[1]*=-1,i*=-1,r*=-1),this.rotate=(i?Math.atan2(e[1],e[0]):Math.atan2(-n[0],n[1]))*To,this.translate=[t.e,t.f],this.scale=[i,o],this.skew=o?Math.atan2(r,o)*To:0}function ri(t,e){return t[0]*e[0]+t[1]*e[1]}function oi(t){var e=Math.sqrt(ri(t,t));return e&&(t[0]/=e,t[1]/=e),e}function ai(t,e){var i,r=[],o=[],n=$r.transform(t),a=$r.transform(e),s=n.translate,l=a.translate,u=n.rotate,c=a.rotate,h=n.skew,d=a.skew,f=n.scale,p=a.scale;return s[0]!=l[0]||s[1]!=l[1]?(r.push("translate(",null,",",null,")"),o.push({i:1,x:$n(s[0],l[0])},{i:3,x:$n(s[1],l[1])})):l[0]||l[1]?r.push("translate("+l+")"):r.push(""),u!=c?(180<u-c?c+=360:180<c-u&&(u+=360),o.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:$n(u,c)})):c&&r.push(r.pop()+"rotate("+c+")"),h!=d?o.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:$n(h,d)}):d&&r.push(r.pop()+"skewX("+d+")"),f[0]!=p[0]||f[1]!=p[1]?(i=r.push(r.pop()+"scale(",null,",",null,")"),o.push({i:i-4,x:$n(f[0],p[0])},{i:i-2,x:$n(f[1],p[1])})):(1!=p[0]||1!=p[1])&&r.push(r.pop()+"scale("+p+")"),i=o.length,function(t){for(var e,n=-1;++n<i;)r[(e=o[n]).i]=e.x(t);return r.join("")}}function si(e,n){return n=(n-=e=+e)||1/n,function(t){return(t-e)/n}}function li(e,n){return n=(n-=e=+e)||1/n,function(t){return Math.max(0,Math.min(1,(t-e)/n))}}function ui(t){for(var e=t.source,n=t.target,i=function(t,e){if(t===e)return t;for(var n=ci(t),i=ci(e),r=n.pop(),o=i.pop(),a=null;r===o;)a=r,r=n.pop(),o=i.pop();return a}(e,n),r=[e];e!==i;)e=e.parent,r.push(e);for(var o=r.length;n!==i;)r.splice(o,0,n),n=n.parent;return r}function ci(t){for(var e=[],n=t.parent;null!=n;)e.push(t),n=(t=n).parent;return e.push(t),e}function hi(t){t.fixed|=2}function di(t){t.fixed&=-7}function fi(t){t.fixed|=4,t.px=t.x,t.py=t.y}function pi(t){t.fixed&=-5}function gi(t,e){return $r.rebind(t,e,"sort","children","value"),(t.nodes=t).links=wi,t}function mi(t,e){for(var n=[t];null!=(t=n.pop());)if(e(t),(r=t.children)&&(i=r.length))for(var i,r;0<=--i;)n.push(r[i])}function vi(t,e){for(var n=[t],i=[];null!=(t=n.pop());)if(i.push(t),(o=t.children)&&(r=o.length))for(var r,o,a=-1;++a<r;)n.push(o[a]);for(;null!=(t=i.pop());)e(t)}function yi(t){return t.children}function bi(t){return t.value}function xi(t,e){return e.value-t.value}function wi(t){return $r.merge(t.map(function(e){return(e.children||[]).map(function(t){return{source:e,target:t}})}))}function Si(t){return t.x}function _i(t){return t.y}function Ci(t,e,n){t.y0=e,t.y=n}function ki(t){return $r.range(t.length)}function Mi(t){for(var e=-1,n=t[0].length,i=[];++e<n;)i[e]=0;return i}function Ti(t){for(var e,n=1,i=0,r=t[0][1],o=t.length;n<o;++n)(e=t[n][1])>r&&(i=n,r=e);return i}function Di(t){return t.reduce(Ai,0)}function Ai(t,e){return t+e[1]}function Pi(t,e){return Ei(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Ei(t,e){for(var n=-1,i=+t[0],r=(t[1]-i)/e,o=[];++n<=e;)o[n]=r*n+i;return o}function Oi(t){return[$r.min(t),$r.max(t)]}function Li(t,e){return t.value-e.value}function Ii(t,e){var n=t._pack_next;(t._pack_next=e)._pack_prev=t,(e._pack_next=n)._pack_prev=e}function Ni(t,e){(t._pack_next=e)._pack_prev=t}function Ri(t,e){var n=e.x-t.x,i=e.y-t.y,r=t.r+e.r;return n*n+i*i<.999*r*r}function Fi(t){function e(t){c=Math.min(t.x-t.r,c),h=Math.max(t.x+t.r,h),d=Math.min(t.y-t.r,d),f=Math.max(t.y+t.r,f)}if((n=t.children)&&(u=n.length)){var n,i,r,o,a,s,l,u,c=1/0,h=-1/0,d=1/0,f=-1/0;if(n.forEach(ji),(i=n[0]).x=-i.r,i.y=0,e(i),1<u&&((r=n[1]).x=r.r,r.y=0,e(r),2<u))for(Bi(i,r,o=n[2]),e(o),Ii(i,o),Ii(i._pack_prev=o,r),r=i._pack_next,a=3;a<u;a++){Bi(i,r,o=n[a]);var p=0,g=1,m=1;for(s=r._pack_next;s!==r;s=s._pack_next,g++)if(Ri(s,o)){p=1;break}if(1==p)for(l=i._pack_prev;l!==s._pack_prev&&!Ri(l,o);l=l._pack_prev,m++);p?(g<m||g==m&&r.r<i.r?Ni(i,r=s):Ni(i=l,r),a--):(Ii(i,o),e(r=o))}var v=(c+h)/2,y=(d+f)/2,b=0;for(a=0;a<u;a++)(o=n[a]).x-=v,o.y-=y,b=Math.max(b,o.r+Math.sqrt(o.x*o.x+o.y*o.y));t.r=b,n.forEach(Hi)}}function ji(t){t._pack_next=t._pack_prev=t}function Hi(t){delete t._pack_next,delete t._pack_prev}function Bi(t,e,n){var i=t.r+n.r,r=e.x-t.x,o=e.y-t.y;if(i&&(r||o)){var a=e.r+n.r,s=r*r+o*o,l=.5+((i*=i)-(a*=a))/(2*s),u=Math.sqrt(Math.max(0,2*a*(i+s)-(i-=s)*i-a*a))/(2*s);n.x=t.x+l*r+u*o,n.y=t.y+l*o-u*r}else n.x=t.x+i,n.y=t.y}function zi(t,e){return t.parent==e.parent?1:2}function Wi(t){var e=t.children;return e.length?e[0]:t.t}function $i(t){var e,n=t.children;return(e=n.length)?n[e-1]:t.t}function qi(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function Ui(t,e){var n=t.x+e[3],i=t.y+e[0],r=t.dx-e[1]-e[3],o=t.dy-e[0]-e[2];return r<0&&(n+=r/2,r=0),o<0&&(i+=o/2,o=0),{x:n,y:i,dx:r,dy:o}}function Yi(t){var e=t[0],n=t[t.length-1];return e<n?[e,n]:[n,e]}function Gi(t){return t.rangeExtent?t.rangeExtent():Yi(t.range())}function Xi(t,e,n,i){var r=n(t[0],t[1]),o=i(e[0],e[1]);return function(t){return o(r(t))}}function Vi(t,e){var n,i=0,r=t.length-1,o=t[i],a=t[r];return a<o&&(n=i,i=r,r=n,n=o,o=a,a=n),t[i]=e.floor(o),t[r]=e.ceil(a),t}function Zi(n,t,e,i){var r=[],o=[],a=0,s=Math.min(n.length,t.length)-1;for(n[s]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++a<=s;)r.push(e(n[a-1],n[a])),o.push(i(t[a-1],t[a]));return function(t){var e=$r.bisect(n,t,1,s)-1;return o[e](r[e](t))}}function Ki(t,e){return $r.rebind(t,e,"range","rangeRound","interpolate","clamp")}function Ji(t,e){return Vi(t,function(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:as}(Qi(t,e)[2]))}function Qi(t,e){null==e&&(e=10);var n=Yi(t),i=n[1]-n[0],r=Math.pow(10,Math.floor(Math.log(i/e)/Math.LN10)),o=e/i*r;return o<=.15?r*=10:o<=.35?r*=5:o<=.75&&(r*=2),n[0]=Math.ceil(n[0]/r)*r,n[1]=Math.floor(n[1]/r)*r+.5*r,n[2]=r,n}function tr(t,e){return $r.range.apply($r,Qi(t,e))}function er(t,e,n){var i=Qi(t,e);if(n){var r=Xo.exec(n);if(r.shift(),"s"===r[8]){var o=$r.formatPrefix(Math.max(eo(i[0]),eo(i[1])));return r[7]||(r[7]="."+nr(o.scale(i[2]))),r[8]="f",n=$r.format(r.join("")),function(t){return n(o.scale(t))+o.symbol}}r[7]||(r[7]="."+function(t,e){var n=nr(e[2]);return t in ss?Math.abs(n-nr(Math.max(eo(e[0]),eo(e[1]))))+ +("e"!==t):n-2*("%"===t)}(r[8],i)),n=r.join("")}else n=",."+nr(i[2])+"f";return $r.format(n)}function nr(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function ir(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function rr(){return 0}function or(t){return t.innerRadius}function ar(t){return t.outerRadius}function sr(t){return t.startAngle}function lr(t){return t.endAngle}function ur(t){return t&&t.padAngle}function cr(t,e,n,i){return 0<(t-n)*e-(e-i)*t?0:1}function hr(t,e,n,i,r){var o=t[0]-e[0],a=t[1]-e[1],s=(r?i:-i)/Math.sqrt(o*o+a*a),l=s*a,u=-s*o,c=t[0]+l,h=t[1]+u,d=e[0]+l,f=e[1]+u,p=(c+d)/2,g=(h+f)/2,m=d-c,v=f-h,y=m*m+v*v,b=n-i,x=c*f-d*h,w=(v<0?-1:1)*Math.sqrt(b*b*y-x*x),S=(x*v-m*w)/y,_=(-x*m-v*w)/y,C=(x*v+m*w)/y,k=(-x*m+v*w)/y,M=S-p,T=_-g,D=C-p,A=k-g;return D*D+A*A<M*M+T*T&&(S=C,_=k),[[S-l,_-u],[S*n/b,_*n/b]]}function dr(u){function e(t){function e(){i.push("M",f(u(r),p))}for(var n,i=[],r=[],o=-1,a=t.length,s=xt(c),l=xt(h);++o<a;)d.call(this,n=t[o],o)?r.push([+s.call(this,n,o),+l.call(this,n,o)]):r.length&&(e(),r=[]);return r.length&&e(),i.length?i.join(""):null}var c=ln,h=un,d=ve,f=fr,n=f.key,p=.7;return e.x=function(t){return arguments.length?(c=t,e):c},e.y=function(t){return arguments.length?(h=t,e):h},e.defined=function(t){return arguments.length?(d=t,e):d},e.interpolate=function(t){return arguments.length?(n="function"==typeof t?f=t:(f=gs.get(t)||fr).key,e):n},e.tension=function(t){return arguments.length?(p=t,e):p},e}function fr(t){return t.join("L")}function pr(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e<n;)r.push("V",(i=t[e])[1],"H",i[0]);return r.join("")}function gr(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e<n;)r.push("H",(i=t[e])[0],"V",i[1]);return r.join("")}function mr(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return fr(t);var n=t.length!=e.length,i="",r=t[0],o=t[1],a=e[0],s=a,l=1;if(n&&(i+="Q"+(o[0]-2*a[0]/3)+","+(o[1]-2*a[1]/3)+","+o[0]+","+o[1],r=t[1],l=2),1<e.length){s=e[1],o=t[l],l++,i+="C"+(r[0]+a[0])+","+(r[1]+a[1])+","+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1];for(var u=2;u<e.length;u++,l++)o=t[l],s=e[u],i+="S"+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1]}if(n){var c=t[l];i+="Q"+(o[0]+2*s[0]/3)+","+(o[1]+2*s[1]/3)+","+c[0]+","+c[1]}return i}function vr(t,e){for(var n,i=[],r=(1-e)/2,o=t[0],a=t[1],s=1,l=t.length;++s<l;)n=o,o=a,a=t[s],i.push([r*(a[0]-n[0]),r*(a[1]-n[1])]);return i}function yr(t){if(t.length<3)return fr(t);var e=1,n=t.length,i=t[0],r=i[0],o=i[1],a=[r,r,r,(i=t[1])[0]],s=[o,o,o,i[1]],l=[r,",",o,"L",br(ys,a),",",br(ys,s)];for(t.push(t[n-1]);++e<=n;)i=t[e],a.shift(),a.push(i[0]),s.shift(),s.push(i[1]),xr(l,a,s);return t.pop(),l.push("L",i),l.join("")}function br(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function xr(t,e,n){t.push("C",br(ms,e),",",br(ms,n),",",br(vs,e),",",br(vs,n),",",br(ys,e),",",br(ys,n))}function wr(t,e){return(e[1]-t[1])/(e[0]-t[0])}function Sr(t){for(var e,n,i,r,o=[],a=function(t){for(var e=0,n=t.length-1,i=[],r=t[0],o=t[1],a=i[0]=wr(r,o);++e<n;)i[e]=(a+(a=wr(r=o,o=t[e+1])))/2;return i[e]=a,i}(t),s=-1,l=t.length-1;++s<l;)e=wr(t[s],t[s+1]),eo(e)<xo?a[s]=a[s+1]=0:9<(r=(n=a[s]/e)*n+(i=a[s+1]/e)*i)&&(r=3*e/Math.sqrt(r),a[s]=r*n,a[s+1]=r*i);for(s=-1;++s<=l;)r=(t[Math.min(l,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([r||0,a[s]*r||0]);return o}function _r(t){for(var e,n,i,r=-1,o=t.length;++r<o;)n=(e=t[r])[0],i=e[1]-ko,e[0]=n*Math.cos(i),e[1]=n*Math.sin(i);return t}function Cr(p){function e(t){function e(){o.push("M",x(p(s),_),S,w(p(a.reverse()),_),"Z")}for(var n,i,r,o=[],a=[],s=[],l=-1,u=t.length,c=xt(g),h=xt(v),d=g===m?function(){return i}:xt(m),f=v===y?function(){return r}:xt(y);++l<u;)b.call(this,n=t[l],l)?(a.push([i=+c.call(this,n,l),r=+h.call(this,n,l)]),s.push([+d.call(this,n,l),+f.call(this,n,l)])):a.length&&(e(),a=[],s=[]);return a.length&&e(),o.length?o.join(""):null}var g=ln,m=ln,v=0,y=un,b=ve,x=fr,n=x.key,w=x,S="L",_=.7;return e.x=function(t){return arguments.length?(g=m=t,e):m},e.x0=function(t){return arguments.length?(g=t,e):g},e.x1=function(t){return arguments.length?(m=t,e):m},e.y=function(t){return arguments.length?(v=y=t,e):y},e.y0=function(t){return arguments.length?(v=t,e):v},e.y1=function(t){return arguments.length?(y=t,e):y},e.defined=function(t){return arguments.length?(b=t,e):b},e.interpolate=function(t){return arguments.length?(n="function"==typeof t?x=t:(x=gs.get(t)||fr).key,w=x.reverse||x,S=x.closed?"M":"L",e):n},e.tension=function(t){return arguments.length?(_=t,e):_},e}function kr(t){return t.radius}function Mr(t){return[t.x,t.y]}function Tr(){return 64}function Dr(){return"circle"}function Ar(t){var e=Math.sqrt(t/So);return"M0,"+e+"A"+e+","+e+" 0 1,1 0,"+-e+"A"+e+","+e+" 0 1,1 0,"+e+"Z"}function Pr(n){return function(){var t,e;(t=this[n])&&(e=t[t.active])&&(--t.count?delete t[t.active]:delete this[n],t.active+=.5,e.event&&e.event.interrupt.call(this,this.__data__,e.index))}}function Er(t,e,n){return ao(t,ks),t.namespace=e,t.id=n,t}function Or(t,i,r,o){var a=t.id,s=t.namespace;return j(t,"function"==typeof r?function(t,e,n){t[s][a].tween.set(i,o(r.call(t,t.__data__,e,n)))}:(r=o(r),function(t){t[s][a].tween.set(i,r)}))}function Lr(t){return null==t&&(t=""),function(){this.textContent=t}}function Ir(t){return null==t?"__transition__":"__transition_"+t+"__"}function Nr(u,c,h,d,t){var f=u[h]||(u[h]={active:0,count:0}),p=f[d];if(!p){var g=t.time;p=f[d]={tween:new y,time:g,delay:t.delay,duration:t.duration,ease:t.ease,index:c},t=null,++f.count,$r.timer(function(t){function e(t){if(f.active>d)return r();var e=f[f.active];e&&(--f.count,delete f[f.active],e.event&&e.event.interrupt.call(u,u.__data__,e.index)),f.active=d,p.event&&p.event.start.call(u,u.__data__,c),p.tween.forEach(function(t,e){(e=e.call(u,u.__data__,c))&&l.push(e)}),a=p.ease,o=p.duration,$r.timer(function(){return s.c=n(t||1)?ve:n,1},0,g)}function n(t){if(f.active!==d)return 1;for(var e=t/o,n=a(e),i=l.length;0<i;)l[--i].call(u,n);return 1<=e?(p.event&&p.event.end.call(u,u.__data__,c),r()):void 0}function r(){return--f.count?delete f[d]:delete u[h],1}var o,a,i=p.delay,s=Uo,l=[];return s.t=i+g,i<=t?e(t-i):void(s.c=e)},0,g)}}function Rr(t,n,i){t.attr("transform",function(t){var e=n(t);return"translate("+(isFinite(e)?e:i(t))+",0)"})}function Fr(t,n,i){t.attr("transform",function(t){var e=n(t);return"translate(0,"+(isFinite(e)?e:i(t))+")"})}function jr(t){return t.toISOString()}function Hr(e,r,t){function a(t){return e(t)}function s(t,e){var n=(t[1]-t[0])/e,i=$r.bisect(Is,n);return i==Is.length?[r.year,Qi(t.map(function(t){return t/31536e6}),e)[2]]:i?r[n/Is[i-1]<Is[i]/n?i-1:i]:[Fs,Qi(t,e)[2]]}return a.invert=function(t){return Br(e.invert(t))},a.domain=function(t){return arguments.length?(e.domain(t),a):e.domain().map(Br)},a.nice=function(e,n){function i(t){return!isNaN(t)&&!e.range(t,Br(+t+1),n).length}var t=a.domain(),r=Yi(t),o=null==e?s(r,10):"number"==typeof e&&s(r,e);return o&&(e=o[0],n=o[1]),a.domain(Vi(t,1<n?{floor:function(t){for(;i(t=e.floor(t));)t=Br(t-1);return t},ceil:function(t){for(;i(t=e.ceil(t));)t=Br(+t+1);return t}}:e))},a.ticks=function(t,e){var n=Yi(a.domain()),i=null==t?s(n,10):"number"==typeof t?s(n,t):!t.range&&[{range:t},e];return i&&(t=i[0],e=i[1]),t.range(n[0],Br(+n[1]+1),e<1?1:e)},a.tickFormat=function(){return t},a.copy=function(){return Hr(e.copy(),r,t)},Ki(a,e)}function Br(t){return new Date(t)}function zr(t){return JSON.parse(t.responseText)}function Wr(t){var e=Yr.createRange();return e.selectNode(Yr.body),e.createContextualFragment(t.responseText)}var $r={version:"3.5.3"};Date.now||(Date.now=function(){return+new Date});var qr=[].slice,Ur=function(t){return qr.call(t)},Yr=document,Gr=Yr.documentElement,Xr=window;try{Ur(Gr.childNodes)[0].nodeType}catch(t){Ur=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}try{Yr.createElement("div").style.setProperty("opacity",0,"")}catch(t){var Vr=Xr.Element.prototype,Zr=Vr.setAttribute,Kr=Vr.setAttributeNS,Jr=Xr.CSSStyleDeclaration.prototype,Qr=Jr.setProperty;Vr.setAttribute=function(t,e){Zr.call(this,t,e+"")},Vr.setAttributeNS=function(t,e,n){Kr.call(this,t,e,n+"")},Jr.setProperty=function(t,e,n){Qr.call(this,t,e+"",n)}}$r.ascending=a,$r.descending=function(t,e){return e<t?-1:t<e?1:t<=e?0:NaN},$r.min=function(t,e){var n,i,r=-1,o=t.length;if(1===arguments.length){for(;++r<o;)if(null!=(i=t[r])&&i<=i){n=i;break}for(;++r<o;)null!=(i=t[r])&&i<n&&(n=i)}else{for(;++r<o;)if(null!=(i=e.call(t,t[r],r))&&i<=i){n=i;break}for(;++r<o;)null!=(i=e.call(t,t[r],r))&&i<n&&(n=i)}return n},$r.max=function(t,e){var n,i,r=-1,o=t.length;if(1===arguments.length){for(;++r<o;)if(null!=(i=t[r])&&i<=i){n=i;break}for(;++r<o;)null!=(i=t[r])&&n<i&&(n=i)}else{for(;++r<o;)if(null!=(i=e.call(t,t[r],r))&&i<=i){n=i;break}for(;++r<o;)null!=(i=e.call(t,t[r],r))&&n<i&&(n=i)}return n},$r.extent=function(t,e){var n,i,r,o=-1,a=t.length;if(1===arguments.length){for(;++o<a;)if(null!=(i=t[o])&&i<=i){n=r=i;break}for(;++o<a;)null!=(i=t[o])&&(i<n&&(n=i),r<i&&(r=i))}else{for(;++o<a;)if(null!=(i=e.call(t,t[o],o))&&i<=i){n=r=i;break}for(;++o<a;)null!=(i=e.call(t,t[o],o))&&(i<n&&(n=i),r<i&&(r=i))}return[n,r]},$r.sum=function(t,e){var n,i=0,r=t.length,o=-1;if(1===arguments.length)for(;++o<r;)c(n=+t[o])&&(i+=n);else for(;++o<r;)c(n=+e.call(t,t[o],o))&&(i+=n);return i},$r.mean=function(t,e){var n,i=0,r=t.length,o=-1,a=r;if(1===arguments.length)for(;++o<r;)c(n=u(t[o]))?i+=n:--a;else for(;++o<r;)c(n=u(e.call(t,t[o],o)))?i+=n:--a;return a?i/a:void 0},$r.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},$r.median=function(t,e){var n,i=[],r=t.length,o=-1;if(1===arguments.length)for(;++o<r;)c(n=u(t[o]))&&i.push(n);else for(;++o<r;)c(n=u(e.call(t,t[o],o)))&&i.push(n);return i.length?$r.quantile(i.sort(a),.5):void 0},$r.variance=function(t,e){var n,i,r=t.length,o=0,a=0,s=-1,l=0;if(1===arguments.length)for(;++s<r;)c(n=u(t[s]))&&(a+=(i=n-o)*(n-(o+=i/++l)));else for(;++s<r;)c(n=u(e.call(t,t[s],s)))&&(a+=(i=n-o)*(n-(o+=i/++l)));return 1<l?a/(l-1):void 0},$r.deviation=function(){var t=$r.variance.apply(this,arguments);return t?Math.sqrt(t):t};var to=t(a);$r.bisectLeft=to.left,$r.bisect=$r.bisectRight=to.right,$r.bisector=function(n){return t(1===n.length?function(t,e){return a(n(t),e)}:n)},$r.shuffle=function(t,e,n){(o=arguments.length)<3&&(n=t.length,o<2&&(e=0));for(var i,r,o=n-e;o;)r=0|Math.random()*o--,i=t[o+e],t[o+e]=t[r+e],t[r+e]=i;return t},$r.permute=function(t,e){for(var n=e.length,i=new Array(n);n--;)i[n]=t[e[n]];return i},$r.pairs=function(t){for(var e=0,n=t.length-1,i=t[0],r=new Array(n<0?0:n);e<n;)r[e]=[i,i=t[++e]];return r},$r.zip=function(){if(!(i=arguments.length))return[];for(var t=-1,e=$r.min(arguments,s),n=new Array(e);++t<e;)for(var i,r=-1,o=n[t]=new Array(i);++r<i;)o[r]=arguments[r][t];return n},$r.transpose=function(t){return $r.zip.apply($r,t)},$r.keys=function(t){var e=[];for(var n in t)e.push(n);return e},$r.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},$r.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},$r.merge=function(t){for(var e,n,i,r=t.length,o=-1,a=0;++o<r;)a+=t[o].length;for(n=new Array(a);0<=--r;)for(e=(i=t[r]).length;0<=--e;)n[--a]=i[e];return n};var eo=Math.abs;$r.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),1/0==(e-t)/n)throw new Error("infinite range");var i,r=[],o=function(t){for(var e=1;t*e%1;)e*=10;return e}(eo(n)),a=-1;if(t*=o,e*=o,(n*=o)<0)for(;(i=t+n*++a)>e;)r.push(i/o);else for(;(i=t+n*++a)<e;)r.push(i/o);return r},$r.map=function(t,e){var n=new y;if(t instanceof y)t.forEach(function(t,e){n.set(t,e)});else if(Array.isArray(t)){var i,r=-1,o=t.length;if(1===arguments.length)for(;++r<o;)n.set(r,t[r]);else for(;++r<o;)n.set(e.call(t,i=t[r],r),i)}else for(var a in t)n.set(a,t[a]);return n};var no="__proto__",io="\0";e(y,{has:r,get:function(t){return this._[n(t)]},set:function(t,e){return this._[n(t)]=e},remove:o,keys:l,values:function(){var t=[];for(var e in this._)t.push(this._[e]);return t},entries:function(){var t=[];for(var e in this._)t.push({key:i(e),value:this._[e]});return t},size:h,empty:d,forEach:function(t){for(var e in this._)t.call(this,i(e),this._[e])}}),$r.nest=function(){function h(n,t,i){if(i>=g.length)return f?f.call(p,t):d?t.sort(d):t;for(var e,r,o,a,s=-1,l=t.length,u=g[i++],c=new y;++s<l;)(a=c.get(e=u(r=t[s])))?a.push(r):c.set(e,[r]);return o=n?(r=n(),function(t,e){r.set(t,h(n,e,i))}):(r={},function(t,e){r[t]=h(n,e,i)}),c.forEach(o),r}var d,f,p={},g=[],e=[];return p.map=function(t,e){return h(e,t,0)},p.entries=function(t){return function n(t,i){if(i>=g.length)return t;var r=[],o=e[i++];return t.forEach(function(t,e){r.push({key:t,values:n(e,i)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}(h($r.map,t,0),0)},p.key=function(t){return g.push(t),p},p.sortKeys=function(t){return e[g.length-1]=t,p},p.sortValues=function(t){return d=t,p},p.rollup=function(t){return f=t,p},p},$r.set=function(t){var e=new f;if(t)for(var n=0,i=t.length;n<i;++n)e.add(t[n]);return e},e(f,{has:r,add:function(t){return this._[n(t+="")]=!0,t},remove:o,values:l,size:h,empty:d,forEach:function(t){for(var e in this._)t.call(this,i(e))}}),$r.behavior={},$r.rebind=function(t,e){for(var n,i=1,r=arguments.length;++i<r;)t[n=arguments[i]]=p(t,e,e[n]);return t};var ro=["webkit","ms","moz","Moz","o","O"];$r.dispatch=function(){for(var t=new m,e=-1,n=arguments.length;++e<n;)t[arguments[e]]=b(t);return t},m.prototype.on=function(t,e){var n=t.indexOf("."),i="";if(0<=n&&(i=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(i):this[t].on(i,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(i,null);return this}},$r.event=null,$r.requote=function(t){return t.replace(oo,"\\$&")};var oo=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ao={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]},so=function(t,e){return e.querySelector(t)},lo=function(t,e){return e.querySelectorAll(t)},uo=Gr.matches||Gr[g(Gr,"matchesSelector")],co=function(t,e){return uo.call(t,e)};"function"==typeof Sizzle&&(so=function(t,e){return Sizzle(t,e)[0]||null},lo=Sizzle,co=Sizzle.matchesSelector),$r.selection=function(){return go};var ho=$r.selection.prototype=[];ho.select=function(t){var e,n,i,r,o=[];t=S(t);for(var a=-1,s=this.length;++a<s;){o.push(e=[]),e.parentNode=(i=this[a]).parentNode;for(var l=-1,u=i.length;++l<u;)(r=i[l])?(e.push(n=t.call(r,r.__data__,l,a)),n&&"__data__"in r&&(n.__data__=r.__data__)):e.push(null)}return w(o)},ho.selectAll=function(t){var e,n,i=[];t=_(t);for(var r=-1,o=this.length;++r<o;)for(var a=this[r],s=-1,l=a.length;++s<l;)(n=a[s])&&(i.push(e=Ur(t.call(n,n.__data__,s,r))),e.parentNode=n);return w(i)};var fo={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};$r.ns={prefix:fo,qualify:function(t){var e=t.indexOf(":"),n=t;return 0<=e&&(n=t.slice(0,e),t=t.slice(e+1)),fo.hasOwnProperty(n)?{space:fo[n],local:t}:t}},ho.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return(t=$r.ns.qualify(t)).local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(C(e,t[e]));return this}return this.each(C(t,e))},ho.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),i=(t=T(t)).length,r=-1;if(e=n.classList){for(;++r<i;)if(!e.contains(t[r]))return!1}else for(e=n.getAttribute("class");++r<i;)if(!M(t[r]).test(e))return!1;return!0}for(e in t)this.each(D(e,t[e]));return this}return this.each(D(t,e))},ho.style=function(t,e,n){var i=arguments.length;if(i<3){if("string"!=typeof t){for(n in i<2&&(e=""),t)this.each(P(n,t[n],e));return this}if(i<2)return Xr.getComputedStyle(this.node(),null).getPropertyValue(t);n=""}return this.each(P(t,e,n))},ho.property=function(t,e){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(e in t)this.each(E(e,t[e]));return this}return this.each(E(t,e))},ho.text=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},ho.html=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},ho.append=function(t){return t=O(t),this.select(function(){return this.appendChild(t.apply(this,arguments))})},ho.insert=function(t,e){return t=O(t),e=S(e),this.select(function(){return this.insertBefore(t.apply(this,arguments),e.apply(this,arguments)||null)})},ho.remove=function(){return this.each(N)},ho.data=function(t,p){function e(t,e){var n,i,r,o=t.length,a=e.length,s=Math.min(o,a),l=new Array(a),u=new Array(a),c=new Array(o);if(p){var h,d=new y,f=new Array(o);for(n=-1;++n<o;)d.has(h=p.call(i=t[n],i.__data__,n))?c[n]=i:d.set(h,i),f[n]=h;for(n=-1;++n<a;)(i=d.get(h=p.call(e,r=e[n],n)))?!0!==i&&((l[n]=i).__data__=r):u[n]=R(r),d.set(h,!0);for(n=-1;++n<o;)!0!==d.get(f[n])&&(c[n]=t[n])}else{for(n=-1;++n<s;)i=t[n],r=e[n],i?(i.__data__=r,l[n]=i):u[n]=R(r);for(;n<a;++n)u[n]=R(e[n]);for(;n<o;++n)c[n]=t[n]}u.update=l,u.parentNode=l.parentNode=c.parentNode=t.parentNode,g.push(u),m.push(l),v.push(c)}var n,i,r=-1,o=this.length;if(!arguments.length){for(t=new Array(o=(n=this[0]).length);++r<o;)(i=n[r])&&(t[r]=i.__data__);return t}var g=H([]),m=w([]),v=w([]);if("function"==typeof t)for(;++r<o;)e(n=this[r],t.call(n,n.parentNode.__data__,r));else for(;++r<o;)e(n=this[r],t);return m.enter=function(){return g},m.exit=function(){return v},m},ho.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},ho.filter=function(t){var e,n,i,r=[];"function"!=typeof t&&(t=F(t));for(var o=0,a=this.length;o<a;o++){r.push(e=[]),e.parentNode=(n=this[o]).parentNode;for(var s=0,l=n.length;s<l;s++)(i=n[s])&&t.call(i,i.__data__,s,o)&&e.push(i)}return w(r)},ho.order=function(){for(var t=-1,e=this.length;++t<e;)for(var n,i=this[t],r=i.length-1,o=i[r];0<=--r;)(n=i[r])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},ho.sort=function(t){t=function(n){return arguments.length||(n=a),function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}.apply(this,arguments);for(var e=-1,n=this.length;++e<n;)this[e].sort(t);return this.order()},ho.each=function(i){return j(this,function(t,e,n){i.call(t,t.__data__,e,n)})},ho.call=function(t){var e=Ur(arguments);return t.apply(e[0]=this,e),this},ho.empty=function(){return!this.node()},ho.node=function(){for(var t=0,e=this.length;t<e;t++)for(var n=this[t],i=0,r=n.length;i<r;i++){var o=n[i];if(o)return o}return null},ho.size=function(){var t=0;return j(this,function(){++t}),t};var po=[];$r.selection.enter=H,($r.selection.enter.prototype=po).append=ho.append,po.empty=ho.empty,po.node=ho.node,po.call=ho.call,po.size=ho.size,po.select=function(t){for(var e,n,i,r,o,a=[],s=-1,l=this.length;++s<l;){i=(r=this[s]).update,a.push(e=[]),e.parentNode=r.parentNode;for(var u=-1,c=r.length;++u<c;)(o=r[u])?(e.push(i[u]=n=t.call(r.parentNode,o.__data__,u,s)),n.__data__=o.__data__):e.push(null)}return w(a)},po.insert=function(t,e){return arguments.length<2&&(e=function(a){var s,l;return function(t,e,n){var i,r=a[n].update,o=r.length;for(n!=l&&(l=n,s=0),s<=e&&(s=e+1);!(i=r[s])&&++s<o;);return i}}(this)),ho.insert.call(this,t,e)},$r.select=function(t){var e=["string"==typeof t?so(t,Yr):t];return e.parentNode=Gr,w([e])},$r.selectAll=function(t){var e=Ur("string"==typeof t?lo(t,Yr):t);return e.parentNode=Gr,w([e])};var go=$r.select(Gr);ho.on=function(t,e,n){var i=arguments.length;if(i<3){if("string"!=typeof t){for(n in i<2&&(e=!1),t)this.each(B(n,t[n],e));return this}if(i<2)return(i=this.node()["__on"+t])&&i._;n=!1}return this.each(B(t,e,n))};var mo=$r.map({mouseenter:"mouseover",mouseleave:"mouseout"});mo.forEach(function(t){"on"+t in Yr&&mo.remove(t)});var vo="onselectstart"in Yr?null:g(Gr.style,"userSelect"),yo=0;$r.mouse=function(t){return q(t,x())};var bo=/WebKit/.test(Xr.navigator.userAgent)?-1:0;$r.touch=function(t,e,n){if(arguments.length<3&&(n=e,e=x().changedTouches),e)for(var i,r=0,o=e.length;r<o;++r)if((i=e[r]).identifier===n)return q(t,i)},$r.behavior.drag=function(){function e(){this.on("mousedown.drag",n).on("touchstart.drag",i)}function t(c,h,d,f,p){return function(){var i,t=$r.event.target,r=this.parentNode,o=g.of(this,arguments),a=0,s=c(),e=".drag"+(null==s?"":"-"+s),n=$r.select(d()).on(f+e,function(){var t,e,n=h(r,s);n&&(t=n[0]-u[0],e=n[1]-u[1],a|=t|e,o({type:"drag",x:(u=n)[0]+i[0],y:n[1]+i[1],dx:t,dy:e}))}).on(p+e,function(){h(r,s)&&(n.on(f+e,null).on(p+e,null),l(a&&$r.event.target===t),o({type:"dragend"}))}),l=$(),u=h(r,s);i=m?[(i=m.apply(this,arguments)).x-u[0],i.y-u[1]]:[0,0],o({type:"dragstart"})}}var g=I(e,"drag","dragstart","dragend"),m=null,n=t(v,$r.mouse,G,"mousemove","mouseup"),i=t(U,$r.touch,Y,"touchmove","touchend");return e.origin=function(t){return arguments.length?(m=t,e):m},$r.rebind(e,g,"on")},$r.touches=function(n,t){return arguments.length<2&&(t=x().touches),t?Ur(t).map(function(t){var e=q(n,t);return e.identifier=t.identifier,e}):[]};var xo=1e-6,wo=xo*xo,So=Math.PI,_o=2*So,Co=_o-xo,ko=So/2,Mo=So/180,To=180/So,Do=Math.SQRT2;$r.interpolateZoom=function(t,e){function n(t){var e=t*v;if(m){var n=J(g),i=a/(2*d)*(n*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(Do*e+g)-function(t){return((t=Math.exp(t))-1/t)/2}(g));return[r+i*u,o+i*c,a*n/J(Do*e+g)]}return[r+t*u,o+t*c,a*Math.exp(Do*e)]}var r=t[0],o=t[1],a=t[2],i=e[0],s=e[1],l=e[2],u=i-r,c=s-o,h=u*u+c*c,d=Math.sqrt(h),f=(l*l-a*a+4*h)/(2*a*2*d),p=(l*l-a*a-4*h)/(2*l*2*d),g=Math.log(Math.sqrt(f*f+1)-f),m=Math.log(Math.sqrt(p*p+1)-p)-g,v=(m||Math.log(l/a))/Do;return n.duration=1e3*v,n},$r.behavior.zoom=function(){function r(t){t.on(A,k).on(Eo+".zoom",n).on("dblclick.zoom",i).on(E,M)}function s(t){return[(t[0]-D.x)/D.k,(t[1]-D.y)/D.k]}function x(t){D.k=Math.max(m[0],Math.min(m[1],t))}function w(t,e){e=function(t){return[t[0]*D.k+D.x,t[1]*D.k+D.y]}(e),D.x+=t[0]-e[0],D.y+=t[1]-e[1]}function S(t,e,n,i){t.__chart__={x:D.x,y:D.y,k:D.k},x(Math.pow(2,i)),w(u=e,n),t=$r.select(t),0<v&&(t=t.transition().duration(v)),t.call(r.event)}function e(){d&&d.domain(h.range().map(function(t){return(t-D.x)/D.k}).map(h.invert)),p&&p.domain(f.range().map(function(t){return(t-D.y)/D.k}).map(f.invert))}function l(t){y++||t({type:"zoomstart"})}function _(t){e(),t({type:"zoom",scale:D.k,translate:[D.x,D.y]})}function C(t){--y||t({type:"zoomend"}),u=null}function k(){var t=this,e=$r.event.target,n=O.of(t,arguments),i=0,r=$r.select(Xr).on(b,function(){i=1,w($r.mouse(t),o),_(n)}).on(P,function(){r.on(b,null).on(P,null),a(i&&$r.event.target===e),C(n)}),o=s($r.mouse(t)),a=$();Cs.call(t),l(n)}function M(){function c(){var t=$r.touches(f);return u=D.k,t.forEach(function(t){t.identifier in g&&(g[t.identifier]=s(t))}),t}function t(){var t=$r.event.target;$r.select(t).on(v,h).on(y,d),b.push(t);for(var e=$r.event.changedTouches,n=0,i=e.length;n<i;++n)g[e[n].identifier]=null;var r=c(),o=Date.now();if(1===r.length){if(o-T<500){var a=r[0];S(f,a,g[a.identifier],Math.floor(Math.log(D.k)/Math.LN2)+1),L()}T=o}else if(1<r.length){a=r[0];var s=r[1],l=a[0]-s[0],u=a[1]-s[1];m=l*l+u*u}}function h(){var t,e,n,i,r=$r.touches(f);Cs.call(f);for(var o=0,a=r.length;o<a;++o,i=null)if(n=r[o],i=g[n.identifier]){if(e)break;t=n,e=i}if(i){var s=(s=n[0]-t[0])*s+(s=n[1]-t[1])*s,l=m&&Math.sqrt(s/m);t=[(t[0]+n[0])/2,(t[1]+n[1])/2],e=[(e[0]+i[0])/2,(e[1]+i[1])/2],x(l*u)}T=null,w(t,e),_(p)}function d(){if($r.event.touches.length){for(var t=$r.event.changedTouches,e=0,n=t.length;e<n;++e)delete g[t[e].identifier];for(var i in g)return void c()}$r.selectAll(b).on(r,null),o.on(A,k).on(E,M),a(),C(p)}var u,f=this,p=O.of(f,arguments),g={},m=0,r=".zoom-"+$r.event.changedTouches[0].identifier,v="touchmove"+r,y="touchend"+r,b=[],o=$r.select(f),a=$();t(),l(p),o.on(A,null).on(E,t)}function n(){var t=O.of(this,arguments);c?clearTimeout(c):(o=s(u=a||$r.mouse(this)),Cs.call(this),l(t)),c=setTimeout(function(){c=null,C(t)},50),L(),x(Math.pow(2,.002*Ao())*D.k),w(u,o),_(t)}function i(){var t=$r.mouse(this),e=Math.log(D.k)/Math.LN2;S(this,t,s(t),$r.event.shiftKey?Math.ceil(e)-1:Math.floor(e)+1)}var o,u,a,c,T,h,d,f,p,D={x:0,y:0,k:1},g=[960,500],m=Po,v=250,y=0,A="mousedown.zoom",b="mousemove.zoom",P="mouseup.zoom",E="touchstart.zoom",O=I(r,"zoomstart","zoom","zoomend");return r.event=function(t){t.each(function(){var s=O.of(this,arguments),e=D;Ss?$r.select(this).transition().each("start.zoom",function(){D=this.__chart__||{x:0,y:0,k:1},l(s)}).tween("zoom:zoom",function(){var i=g[0],t=g[1],r=u?u[0]:i/2,o=u?u[1]:t/2,a=$r.interpolateZoom([(r-D.x)/D.k,(o-D.y)/D.k,i/D.k],[(r-e.x)/e.k,(o-e.y)/e.k,i/e.k]);return function(t){var e=a(t),n=i/e[2];this.__chart__=D={x:r-e[0]*n,y:o-e[1]*n,k:n},_(s)}}).each("interrupt.zoom",function(){C(s)}).each("end.zoom",function(){C(s)}):(this.__chart__=D,l(s),_(s),C(s))})},r.translate=function(t){return arguments.length?(D={x:+t[0],y:+t[1],k:D.k},e(),r):[D.x,D.y]},r.scale=function(t){return arguments.length?(D={x:D.x,y:D.y,k:+t},e(),r):D.k},r.scaleExtent=function(t){return arguments.length?(m=null==t?Po:[+t[0],+t[1]],r):m},r.center=function(t){return arguments.length?(a=t&&[+t[0],+t[1]],r):a},r.size=function(t){return arguments.length?(g=t&&[+t[0],+t[1]],r):g},r.duration=function(t){return arguments.length?(v=+t,r):v},r.x=function(t){return arguments.length?(h=(d=t).copy(),D={x:0,y:0,k:1},r):d},r.y=function(t){return arguments.length?(f=(p=t).copy(),D={x:0,y:0,k:1},r):p},$r.rebind(r,O,"on")};var Ao,Po=[0,1/0],Eo="onwheel"in Yr?(Ao=function(){return-$r.event.deltaY*($r.event.deltaMode?120:1)},"wheel"):"onmousewheel"in Yr?(Ao=function(){return $r.event.wheelDelta},"mousewheel"):(Ao=function(){return-$r.event.detail},"MozMousePixelScroll");($r.color=tt).prototype.toString=function(){return this.rgb()+""};var Oo=($r.hsl=et).prototype=new tt;Oo.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new et(this.h,this.s,this.l/t)},Oo.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new et(this.h,this.s,t*this.l)},Oo.rgb=function(){return nt(this.h,this.s,this.l)};var Lo=($r.hcl=it).prototype=new tt;Lo.brighter=function(t){return new it(this.h,this.c,Math.min(100,this.l+Io*(arguments.length?t:1)))},Lo.darker=function(t){return new it(this.h,this.c,Math.max(0,this.l-Io*(arguments.length?t:1)))},Lo.rgb=function(){return rt(this.h,this.c,this.l).rgb()},$r.lab=ot;var Io=18,No=.95047,Ro=1,Fo=1.08883,jo=ot.prototype=new tt;jo.brighter=function(t){return new ot(Math.min(100,this.l+Io*(arguments.length?t:1)),this.a,this.b)},jo.darker=function(t){return new ot(Math.max(0,this.l-Io*(arguments.length?t:1)),this.a,this.b)},jo.rgb=function(){return at(this.l,this.a,this.b)};var Ho=($r.rgb=ht).prototype=new tt;Ho.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,i=this.b;return e||n||i?(e&&e<30&&(e=30),n&&n<30&&(n=30),i&&i<30&&(i=30),new ht(Math.min(255,e/t),Math.min(255,n/t),Math.min(255,i/t))):new ht(30,30,30)},Ho.darker=function(t){return new ht((t=Math.pow(.7,arguments.length?t:1))*this.r,t*this.g,t*this.b)},Ho.hsl=function(){return mt(this.r,this.g,this.b)},Ho.toString=function(){return"#"+pt(this.r)+pt(this.g)+pt(this.b)};var Bo=$r.map({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,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});Bo.forEach(function(t,e){Bo.set(t,dt(e))}),$r.functor=xt,$r.xhr=St(wt),$r.dsv=function(r,o){function a(t,e,n){arguments.length<3&&(n=e,e=null);var i=_t(t,o,null==e?s:l(e),n);return i.row=function(t){return arguments.length?i.response(null==(e=t)?s:l(t)):e},i}function s(t){return a.parse(t.responseText)}function l(e){return function(t){return a.parse(t.responseText,e)}}function e(t){return t.map(u).join(r)}function u(t){return n.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}var n=new RegExp('["'+r+"\n]"),d=r.charCodeAt(0);return a.parse=function(t,i){var r;return a.parseRows(t,function(t,e){if(r)return r(t,e-1);var n=new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}");r=i?function(t,e){return i(n(t),e)}:n})},a.parseRows=function(r,t){function e(){if(l<=u)return s;if(o)return o=!1,a;var t=u;if(34===r.charCodeAt(t)){for(var e=t;e++<l;)if(34===r.charCodeAt(e)){if(34!==r.charCodeAt(e+1))break;++e}return u=e+2,13===(n=r.charCodeAt(e+1))?(o=!0,10===r.charCodeAt(e+2)&&++u):10===n&&(o=!0),r.slice(t+1,e).replace(/""/g,'"')}for(;u<l;){var n,i=1;if(10===(n=r.charCodeAt(u++)))o=!0;else if(13===n)o=!0,10===r.charCodeAt(u)&&(++u,++i);else if(n!==d)continue;return r.slice(t,u-i)}return r.slice(t)}for(var n,o,a={},s={},i=[],l=r.length,u=0,c=0;(n=e())!==s;){for(var h=[];n!==a&&n!==s;)h.push(n),n=e();t&&null==(h=t(h,c++))||i.push(h)}return i},a.format=function(t){if(Array.isArray(t[0]))return a.formatRows(t);var n=new f,i=[];return t.forEach(function(t){for(var e in t)n.has(e)||i.push(n.add(e))}),[i.map(u).join(r)].concat(t.map(function(e){return i.map(function(t){return u(e[t])}).join(r)})).join("\n")},a.formatRows=function(t){return t.map(e).join("\n")},a},$r.csv=$r.dsv(",","text/csv"),$r.tsv=$r.dsv("\t","text/tab-separated-values");var zo,Wo,$o,qo,Uo,Yo=Xr[g(Xr,"requestAnimationFrame")]||function(t){setTimeout(t,17)};$r.timer=function(t,e,n){var i=arguments.length;i<2&&(e=0),i<3&&(n=Date.now());var r={c:t,t:n+e,f:!1,n:null};Wo?Wo.n=r:zo=r,Wo=r,$o||(qo=clearTimeout(qo),$o=1,Yo(Ct))},$r.timer.flush=function(){kt(),Mt()},$r.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)};var Go=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(function(t,e){var n=Math.pow(10,3*eo(8-e));return{scale:8<e?function(t){return t/n}:function(t){return t*n},symbol:t}});$r.formatPrefix=function(t,e){var n=0;return t&&(t<0&&(t*=-1),e&&(t=$r.round(t,Tt(t,e))),n=1+Math.floor(1e-12+Math.log(t)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Go[8+n/3]};var Xo=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Vo=$r.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=$r.round(t,Tt(t,e))).toFixed(Math.max(0,Math.min(20,Tt(t*(1+1e-15),e))))}}),Zo=$r.time={},Ko=Date;At.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Jo.setUTCDate.apply(this._,arguments)},setDay:function(){Jo.setUTCDay.apply(this._,arguments)},setFullYear:function(){Jo.setUTCFullYear.apply(this._,arguments)},setHours:function(){Jo.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Jo.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Jo.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Jo.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Jo.setUTCSeconds.apply(this._,arguments)},setTime:function(){Jo.setTime.apply(this._,arguments)}};var Jo=Date.prototype;Zo.year=Pt(function(t){return(t=Zo.day(t)).setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),Zo.years=Zo.year.range,Zo.years.utc=Zo.year.utc.range,Zo.day=Pt(function(t){var e=new Ko(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),Zo.days=Zo.day.range,Zo.days.utc=Zo.day.utc.range,Zo.dayOfYear=function(t){var e=Zo.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,n){n=7-n;var e=Zo[t]=Pt(function(t){return(t=Zo.day(t)).setDate(t.getDate()-(t.getDay()+n)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var e=Zo.year(t).getDay();return Math.floor((Zo.dayOfYear(t)+(e+n)%7)/7)-(e!==n)});Zo[t+"s"]=e.range,Zo[t+"s"].utc=e.utc.range,Zo[t+"OfYear"]=function(t){var e=Zo.year(t).getDay();return Math.floor((Zo.dayOfYear(t)+(e+n)%7)/7)}}),Zo.week=Zo.sunday,Zo.weeks=Zo.sunday.range,Zo.weeks.utc=Zo.sunday.utc.range,Zo.weekOfYear=Zo.sundayOfYear;var Qo={"-":"",_:" ",0:"0"},ta=/^\s*\d+/,ea=/^%/;$r.locale=function(t){return{numberFormat:function(t){var C=t.decimal,s=t.thousands,l=t.grouping,i=t.currency,k=l&&s?function(t,e){for(var n=t.length,i=[],r=0,o=l[0],a=0;0<n&&0<o&&(e<a+o+1&&(o=Math.max(1,e-a)),i.push(t.substring(n-=o,n+o)),!((a+=o+1)>e));)o=l[r=(r+1)%l.length];return i.reverse().join(s)}:wt;return function(t){var e=Xo.exec(t),c=e[1]||" ",h=e[2]||">",d=e[3]||"-",n=e[4]||"",f=e[5],p=+e[6],g=e[7],m=e[8],v=e[9],y=1,b="",x="",w=!1,S=!0;switch(m&&(m=+m.substring(1)),(f||"0"===c&&"="===h)&&(f=c="0",h="="),v){case"n":g=!0,v="g";break;case"%":y=100,x="%",v="f";break;case"p":y=100,x="%",v="r";break;case"b":case"o":case"x":case"X":"#"===n&&(b="0"+v.toLowerCase());case"c":S=!1;case"d":w=!0,m=0;break;case"s":y=-1,v="r"}"$"===n&&(b=i[0],x=i[1]),"r"!=v||m||(v="g"),null!=m&&("g"==v?m=Math.max(1,Math.min(21,m)):("e"==v||"f"==v)&&(m=Math.max(0,Math.min(20,m)))),v=Vo.get(v)||Dt;var _=f&&g;return function(t){var e=x;if(w&&t%1)return"";var n=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===d?"":d;if(y<0){var i=$r.formatPrefix(t,m);t=i.scale(t),e=i.symbol+x}else t*=y;var r,o,a=(t=v(t,m)).lastIndexOf(".");if(a<0){var s=S?t.lastIndexOf("e"):-1;o=s<0?(r=t,""):(r=t.substring(0,s),t.substring(s))}else r=t.substring(0,a),o=C+t.substring(a+1);!f&&g&&(r=k(r,1/0));var l=b.length+r.length+o.length+(_?0:n.length),u=l<p?new Array(l=p-l+1).join(c):"";return _&&(r=k(u+r,u.length?p-o.length:1/0)),n+=b,t=r+o,("<"===h?n+t+u:">"===h?u+n+t:"^"===h?u.substring(0,l>>=1)+n+t+u.substring(l):n+(_?t:u+t))+e}}}(t),timeFormat:function(t){function i(s){function t(t){for(var e,n,i,r=[],o=-1,a=0;++o<l;)37===s.charCodeAt(o)&&(r.push(s.slice(a,o)),null!=(n=Qo[e=s.charAt(++o)])&&(e=s.charAt(++o)),(i=x[e])&&(e=i(t,null==n?"e"===e?" ":"0":n)),r.push(e),a=o+1);return r.push(s.slice(a,o)),r.join("")}var l=s.length;return t.parse=function(t){var e={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(r(e,s,t,0)!=t.length)return null;"p"in e&&(e.H=e.H%12+12*e.p);var n=null!=e.Z&&Ko!==At,i=new(n?At:Ko);return"j"in e?i.setFullYear(e.y,0,e.j):"w"in e&&("W"in e||"U"in e)?(i.setFullYear(e.y,0,1),i.setFullYear(e.y,0,"W"in e?(e.w+6)%7+7*e.W-(i.getDay()+5)%7:e.w+7*e.U-(i.getDay()+6)%7)):i.setFullYear(e.y,e.m,e.d),i.setHours(e.H+(0|e.Z/100),e.M+e.Z%100,e.S,e.L),n?i._:i},t.toString=function(){return s},t}function r(t,e,n,i){for(var r,o,a,s=0,l=e.length,u=n.length;s<l;){if(u<=i)return-1;if(37===(r=e.charCodeAt(s++))){if(a=e.charAt(s++),!(o=w[a in Qo?e.charAt(s++):a])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}var e=t.dateTime,n=t.date,o=t.time,a=t.periods,s=t.days,l=t.shortDays,u=t.months,c=t.shortMonths;i.multi=(i.utc=function(t){function e(t){try{var e=new(Ko=At);return e._=t,n(e)}finally{Ko=Date}}var n=i(t);return e.parse=function(t){try{Ko=At;var e=n.parse(t);return e&&e._}finally{Ko=Date}},e.toString=n.toString,e}).multi=Zt;var h=$r.map(),d=Lt(s),f=It(s),p=Lt(l),g=It(l),m=Lt(u),v=It(u),y=Lt(c),b=It(c);a.forEach(function(t,e){h.set(t.toLowerCase(),e)});var x={a:function(t){return l[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:i(e),d:function(t,e){return Ot(t.getDate(),e,2)},e:function(t,e){return Ot(t.getDate(),e,2)},H:function(t,e){return Ot(t.getHours(),e,2)},I:function(t,e){return Ot(t.getHours()%12||12,e,2)},j:function(t,e){return Ot(1+Zo.dayOfYear(t),e,3)},L:function(t,e){return Ot(t.getMilliseconds(),e,3)},m:function(t,e){return Ot(t.getMonth()+1,e,2)},M:function(t,e){return Ot(t.getMinutes(),e,2)},p:function(t){return a[+(12<=t.getHours())]},S:function(t,e){return Ot(t.getSeconds(),e,2)},U:function(t,e){return Ot(Zo.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Ot(Zo.mondayOfYear(t),e,2)},x:i(n),X:i(o),y:function(t,e){return Ot(t.getFullYear()%100,e,2)},Y:function(t,e){return Ot(t.getFullYear()%1e4,e,4)},Z:Xt,"%":function(){return"%"}},w={a:function(t,e,n){p.lastIndex=0;var i=p.exec(e.slice(n));return i?(t.w=g.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){d.lastIndex=0;var i=d.exec(e.slice(n));return i?(t.w=f.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){y.lastIndex=0;var i=y.exec(e.slice(n));return i?(t.m=b.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){m.lastIndex=0;var i=m.exec(e.slice(n));return i?(t.m=v.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,e,n){return r(t,x.c.toString(),e,n)},d:Wt,e:Wt,H:qt,I:qt,j:$t,L:Gt,m:zt,M:Ut,p:function(t,e,n){var i=h.get(e.slice(n,n+=2).toLowerCase());return null==i?-1:(t.p=i,n)},S:Yt,U:Rt,w:Nt,W:Ft,x:function(t,e,n){return r(t,x.x.toString(),e,n)},X:function(t,e,n){return r(t,x.X.toString(),e,n)},y:Ht,Y:jt,Z:Bt,"%":Vt};return i}(t)}};var na=$r.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]});$r.format=na.numberFormat,$r.geo={},Kt.prototype={s:0,t:0,add:function(t){Jt(t,this.t,ia),Jt(ia.s,this.s,this),this.s?this.t+=ia.t:this.s=ia.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ia=new Kt;$r.geo.stream=function(t,e){t&&ra.hasOwnProperty(t.type)?ra[t.type](t,e):Qt(t,e)};var ra={Feature:function(t,e){Qt(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,r=n.length;++i<r;)Qt(n[i].geometry,e)}},oa={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,i=-1,r=n.length;++i<r;)t=n[i],e.point(t[0],t[1],t[2])},LineString:function(t,e){te(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)te(n[i],e,0)},Polygon:function(t,e){ee(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)ee(n[i],e)},GeometryCollection:function(t,e){for(var n=t.geometries,i=-1,r=n.length;++i<r;)Qt(n[i],e)}};$r.geo.area=function(t){return aa=0,$r.geo.stream(t,la),aa};var aa,sa=new Kt,la={sphere:function(){aa+=4*So},point:v,lineStart:v,lineEnd:v,polygonStart:function(){sa.reset(),la.lineStart=ne},polygonEnd:function(){var t=2*sa;aa+=t<0?4*So+t:t,la.lineStart=la.lineEnd=la.point=v}};$r.geo.bounds=function(){function c(t,e){b.push(x=[d=t,p=t]),e<f&&(f=e),g<e&&(g=e)}function i(t,e){var n=ie([t*Mo,e*Mo]);if(v){var i=oe(v,n),r=oe([i[1],-i[0],0],i);le(r),r=ue(r);var o=t-m,a=0<o?1:-1,s=r[0]*To*a,l=180<eo(o);if(l^(a*m<s&&s<a*t)){var u=r[1]*To;g<u&&(g=u)}else if(l^(a*m<(s=(s+360)%360-180)&&s<a*t)){(u=-r[1]*To)<f&&(f=u)}else e<f&&(f=e),g<e&&(g=e);l?t<m?h(d,t)>h(d,p)&&(p=t):h(t,p)>h(d,p)&&(d=t):d<=p?(t<d&&(d=t),p<t&&(p=t)):m<t?h(d,t)>h(d,p)&&(p=t):h(t,p)>h(d,p)&&(d=t)}else c(t,e);v=n,m=t}function t(){w.point=i}function e(){x[0]=d,x[1]=p,w.point=c,v=null}function n(t,e){if(v){var n=t-m;y+=180<eo(n)?n+(0<n?360:-360):n}else a=t,s=e;la.point(t,e),i(t,e)}function r(){la.lineStart()}function o(){n(a,s),la.lineEnd(),eo(y)>xo&&(d=-(p=180)),x[0]=d,x[1]=p,v=null}function h(t,e){return(e-=t)<0?e+360:e}function l(t,e){return t[0]-e[0]}function u(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}var d,f,p,g,m,a,s,v,y,b,x,w={point:c,lineStart:t,lineEnd:e,polygonStart:function(){w.point=n,w.lineStart=r,w.lineEnd=o,y=0,la.polygonStart()},polygonEnd:function(){la.polygonEnd(),w.point=c,w.lineStart=t,w.lineEnd=e,sa<0?(d=-(p=180),f=-(g=90)):xo<y?g=90:y<-xo&&(f=-90),x[0]=d,x[1]=p}};return function(t){if(g=p=-(d=f=1/0),b=[],$r.geo.stream(t,w),o=b.length){b.sort(l);for(var e=1,n=[s=b[0]];e<o;++e)u((r=b[e])[0],s)||u(r[1],s)?(h(s[0],r[1])>h(s[0],s[1])&&(s[1]=r[1]),h(r[0],s[1])>h(s[0],s[1])&&(s[0]=r[0])):n.push(s=r);for(var i,r,o,a=-1/0,s=(e=0,n[o=n.length-1]);e<=o;s=r,++e)r=n[e],(i=h(s[1],r[0]))>a&&(a=i,d=r[0],p=s[1])}return b=x=null,1/0===d||1/0===f?[[NaN,NaN],[NaN,NaN]]:[[d,f],[p,g]]}}(),$r.geo.centroid=function(t){ua=ca=ha=da=fa=pa=ga=ma=va=ya=ba=0,$r.geo.stream(t,xa);var e=va,n=ya,i=ba,r=e*e+n*n+i*i;return r<wo&&(e=pa,n=ga,i=ma,ca<xo&&(e=ha,n=da,i=fa),(r=e*e+n*n+i*i)<wo)?[NaN,NaN]:[Math.atan2(n,e)*To,K(i/Math.sqrt(r))*To]};var ua,ca,ha,da,fa,pa,ga,ma,va,ya,ba,xa={sphere:v,point:he,lineStart:fe,lineEnd:pe,polygonStart:function(){xa.lineStart=ge},polygonEnd:function(){xa.lineStart=fe}},wa=we(ve,function(r){var o,a=NaN,s=NaN,l=NaN;return{lineStart:function(){r.lineStart(),o=1},point:function(t,e){var n=0<t?So:-So,i=eo(t-a);eo(i-So)<xo?(r.point(a,s=0<(s+e)/2?ko:-ko),r.point(l,s),r.lineEnd(),r.lineStart(),r.point(n,s),r.point(t,s),o=0):l!==n&&So<=i&&(eo(a-l)<xo&&(a-=l*xo),eo(t-n)<xo&&(t-=n*xo),s=function(t,e,n,i){var r,o,a=Math.sin(t-n);return eo(a)>xo?Math.atan((Math.sin(e)*(o=Math.cos(i))*Math.sin(n)-Math.sin(i)*(r=Math.cos(e))*Math.sin(t))/(r*o*a)):(e+i)/2}(a,s,t,e),r.point(l,s),r.lineEnd(),r.lineStart(),r.point(n,s),o=0),r.point(a=t,s=e),l=n},lineEnd:function(){r.lineEnd(),a=s=NaN},clean:function(){return 2-o}}},function(t,e,n,i){var r;if(null==t)r=n*ko,i.point(-So,r),i.point(0,r),i.point(So,r),i.point(So,0),i.point(So,-r),i.point(0,-r),i.point(-So,-r),i.point(-So,0),i.point(-So,r);else if(eo(t[0]-e[0])>xo){var o=t[0]<e[0]?So:-So;r=n*o/2,i.point(-o,r),i.point(0,r),i.point(o,r)}else i.point(e[0],e[1])},[-So,-So/2]),Sa=1e9;$r.geo.clipExtent=function(){var e,n,i,r,o,a,s={stream:function(t){return o&&(o.valid=!1),(o=a(t)).valid=!0,o},extent:function(t){return arguments.length?(a=Me(e=+t[0][0],n=+t[0][1],i=+t[1][0],r=+t[1][1]),o&&(o.valid=!1,o=null),s):[[e,n],[i,r]]}};return s.extent([[0,0],[960,500]])},($r.geo.conicEqualArea=function(){return Te(De)}).raw=De,$r.geo.albers=function(){return $r.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},$r.geo.albersUsa=function(){function r(t){var e=t[0],n=t[1];return i=null,o(e,n),i||(a(e,n),i)||s(e,n),i}var i,o,a,s,l=$r.geo.albers(),u=$r.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=$r.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),h={point:function(t,e){i=[t,e]}};return r.invert=function(t){var e=l.scale(),n=l.translate(),i=(t[0]-n[0])/e,r=(t[1]-n[1])/e;return(.12<=r&&r<.234&&-.425<=i&&i<-.214?u:.166<=r&&r<.234&&-.214<=i&&i<-.115?c:l).invert(t)},r.stream=function(t){var n=l.stream(t),i=u.stream(t),r=c.stream(t);return{point:function(t,e){n.point(t,e),i.point(t,e),r.point(t,e)},sphere:function(){n.sphere(),i.sphere(),r.sphere()},lineStart:function(){n.lineStart(),i.lineStart(),r.lineStart()},lineEnd:function(){n.lineEnd(),i.lineEnd(),r.lineEnd()},polygonStart:function(){n.polygonStart(),i.polygonStart(),r.polygonStart()},polygonEnd:function(){n.polygonEnd(),i.polygonEnd(),r.polygonEnd()}}},r.precision=function(t){return arguments.length?(l.precision(t),u.precision(t),c.precision(t),r):l.precision()},r.scale=function(t){return arguments.length?(l.scale(t),u.scale(.35*t),c.scale(t),r.translate(l.translate())):l.scale()},r.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],i=+t[1];return o=l.translate(t).clipExtent([[n-.455*e,i-.238*e],[n+.455*e,i+.238*e]]).stream(h).point,a=u.translate([n-.307*e,i+.201*e]).clipExtent([[n-.425*e+xo,i+.12*e+xo],[n-.214*e-xo,i+.234*e-xo]]).stream(h).point,s=c.translate([n-.205*e,i+.212*e]).clipExtent([[n-.214*e+xo,i+.166*e+xo],[n-.115*e-xo,i+.234*e-xo]]).stream(h).point,r},r.scale(1070)};var _a,Ca,ka,Ma,Ta,Da,Aa={point:v,lineStart:v,lineEnd:v,polygonStart:function(){Ca=0,Aa.lineStart=Ae},polygonEnd:function(){Aa.lineStart=Aa.lineEnd=Aa.point=v,_a+=eo(Ca/2)}},Pa={point:function(t,e){t<ka&&(ka=t),Ta<t&&(Ta=t),e<Ma&&(Ma=e),Da<e&&(Da=e)},lineStart:v,lineEnd:v,polygonStart:v,polygonEnd:v},Ea={point:Oe,lineStart:Le,lineEnd:Ie,polygonStart:function(){Ea.lineStart=Ne},polygonEnd:function(){Ea.point=Oe,Ea.lineStart=Le,Ea.lineEnd=Ie}};$r.geo.path=function(){function e(t){return t&&("function"==typeof l&&a.pointRadius(+l.apply(this,arguments)),s&&s.valid||(s=o(a)),$r.geo.stream(t,s)),a.result()}function n(){return s=null,e}var i,r,o,a,s,l=4.5;return e.area=function(t){return _a=0,$r.geo.stream(t,o(Aa)),_a},e.centroid=function(t){return ha=da=fa=pa=ga=ma=va=ya=ba=0,$r.geo.stream(t,o(Ea)),ba?[va/ba,ya/ba]:ma?[pa/ma,ga/ma]:fa?[ha/fa,da/fa]:[NaN,NaN]},e.bounds=function(t){return Ta=Da=-(ka=Ma=1/0),$r.geo.stream(t,o(Pa)),[[ka,Ma],[Ta,Da]]},e.projection=function(t){return arguments.length?(o=(i=t)?t.stream||function(n){var e=Fe(function(t,e){return n([t*To,e*To])});return function(t){return We(e(t))}}(t):wt,n()):i},e.context=function(t){return arguments.length?(a=null==(r=t)?new Pe:new Re(t),"function"!=typeof l&&a.pointRadius(l),n()):r},e.pointRadius=function(t){return arguments.length?(l="function"==typeof t?t:(a.pointRadius(+t),+t),e):l},e.projection($r.geo.albersUsa()).context(null)},$r.geo.transform=function(i){return{stream:function(t){var e=new je(t);for(var n in i)e[n]=i[n];return e}}},je.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()}},$r.geo.projection=Be,$r.geo.projectionMutator=ze,($r.geo.equirectangular=function(){return Be($e)}).raw=$e.invert=$e,$r.geo.rotation=function(e){function t(t){return(t=e(t[0]*Mo,t[1]*Mo))[0]*=To,t[1]*=To,t}return e=Ue(e[0]%360*Mo,e[1]*Mo,2<e.length?e[2]*Mo:0),t.invert=function(t){return(t=e.invert(t[0]*Mo,t[1]*Mo))[0]*=To,t[1]*=To,t},t},qe.invert=$e,$r.geo.circle=function(){function e(){var t="function"==typeof o?o.apply(this,arguments):o,n=Ue(-t[0]*Mo,-t[1]*Mo,0).invert,i=[];return r(null,null,1,{point:function(t,e){i.push(t=n(t,e)),t[0]*=To,t[1]*=To}}),{type:"Polygon",coordinates:[i]}}var n,r,o=[0,0],i=6;return e.origin=function(t){return arguments.length?(o=t,e):o},e.angle=function(t){return arguments.length?(r=Ve((n=+t)*Mo,i*Mo),e):n},e.precision=function(t){return arguments.length?(r=Ve(n*Mo,(i=+t)*Mo),e):i},e.angle(90)},$r.geo.distance=function(t,e){var n,i=(e[0]-t[0])*Mo,r=t[1]*Mo,o=e[1]*Mo,a=Math.sin(i),s=Math.cos(i),l=Math.sin(r),u=Math.cos(r),c=Math.sin(o),h=Math.cos(o);return Math.atan2(Math.sqrt((n=h*a)*n+(n=u*c-l*h*s)*n),l*c+u*h*s)},$r.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return $r.range(Math.ceil(o/m)*m,r,m).map(d).concat($r.range(Math.ceil(u/v)*v,l,v).map(f)).concat($r.range(Math.ceil(i/p)*p,n,p).filter(function(t){return eo(t%m)>xo}).map(c)).concat($r.range(Math.ceil(s/g)*g,a,g).filter(function(t){return eo(t%v)>xo}).map(h))}var n,i,r,o,a,s,l,u,c,h,d,f,p=10,g=p,m=90,v=360,y=2.5;return e.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},e.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(f(l).slice(1),d(r).reverse().slice(1),f(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],u=+t[0][1],l=+t[1][1],r<o&&(t=o,o=r,r=t),l<u&&(t=u,u=l,l=t),e.precision(y)):[[o,u],[r,l]]},e.minorExtent=function(t){return arguments.length?(i=+t[0][0],n=+t[1][0],s=+t[0][1],a=+t[1][1],n<i&&(t=i,i=n,n=t),a<s&&(t=s,s=a,a=t),e.precision(y)):[[i,s],[n,a]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(m=+t[0],v=+t[1],e):[m,v]},e.minorStep=function(t){return arguments.length?(p=+t[0],g=+t[1],e):[p,g]},e.precision=function(t){return arguments.length?(y=+t,c=Ke(s,a,90),h=Je(i,n,y),d=Ke(u,l,90),f=Je(o,r,y),e):y},e.majorExtent([[-180,-90+xo],[180,90-xo]]).minorExtent([[-180,-80-xo],[180,80+xo]])},$r.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[n||r.apply(this,arguments),i||o.apply(this,arguments)]}}var n,i,r=Qe,o=tn;return e.distance=function(){return $r.geo.distance(n||r.apply(this,arguments),i||o.apply(this,arguments))},e.source=function(t){return arguments.length?(n="function"==typeof(r=t)?null:t,e):r},e.target=function(t){return arguments.length?(i="function"==typeof(o=t)?null:t,e):o},e.precision=function(){return arguments.length?e:0},e},$r.geo.interpolate=function(t,e){return function(t,e,n,i){var r=Math.cos(e),a=Math.sin(e),o=Math.cos(i),s=Math.sin(i),l=r*Math.cos(t),u=r*Math.sin(t),c=o*Math.cos(n),h=o*Math.sin(n),d=2*Math.asin(Math.sqrt(Q(i-e)+r*o*Q(n-t))),f=1/Math.sin(d),p=d?function(t){var e=Math.sin(t*=d)*f,n=Math.sin(d-t)*f,i=n*l+e*c,r=n*u+e*h,o=n*a+e*s;return[Math.atan2(r,i)*To,Math.atan2(o,Math.sqrt(i*i+r*r))*To]}:function(){return[t*To,e*To]};return p.distance=d,p}(t[0]*Mo,t[1]*Mo,e[0]*Mo,e[1]*Mo)},$r.geo.length=function(t){return Oa=0,$r.geo.stream(t,La),Oa};var Oa,La={sphere:v,point:v,lineStart:function(){function n(t,e){var n=Math.sin(e*=Mo),i=Math.cos(e),r=eo((t*=Mo)-a),o=Math.cos(r);Oa+=Math.atan2(Math.sqrt((r=i*Math.sin(r))*r+(r=l*n-s*i*o)*r),s*n+l*i*o),a=t,s=n,l=i}var a,s,l;La.point=function(t,e){a=t*Mo,s=Math.sin(e*=Mo),l=Math.cos(e),La.point=n},La.lineEnd=function(){La.point=La.lineEnd=v}},lineEnd:v,polygonStart:v,polygonEnd:v},Ia=en(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});($r.geo.azimuthalEqualArea=function(){return Be(Ia)}).raw=Ia;var Na=en(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},wt);($r.geo.azimuthalEquidistant=function(){return Be(Na)}).raw=Na,($r.geo.conicConformal=function(){return Te(nn)}).raw=nn,($r.geo.conicEquidistant=function(){return Te(rn)}).raw=rn;var Ra=en(function(t){return 1/t},Math.atan);($r.geo.gnomonic=function(){return Be(Ra)}).raw=Ra,on.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-ko]},($r.geo.mercator=function(){return an(on)}).raw=on;var Fa=en(function(){return 1},Math.asin);($r.geo.orthographic=function(){return Be(Fa)}).raw=Fa;var ja=en(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});($r.geo.stereographic=function(){return Be(ja)}).raw=ja,sn.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-ko]},($r.geo.transverseMercator=function(){var t=an(sn),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return t?n([t[0],t[1],2<t.length?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90])}).raw=sn,$r.geom={},$r.geom.hull=function(t){function e(t){if(t.length<3)return[];var e,n=xt(d),i=xt(f),r=t.length,o=[],a=[];for(e=0;e<r;e++)o.push([+n.call(this,t[e],e),+i.call(this,t[e],e),e]);for(o.sort(hn),e=0;e<r;e++)a.push([o[e][0],-o[e][1]]);var s=cn(o),l=cn(a),u=l[0]===s[0],c=l[l.length-1]===s[s.length-1],h=[];for(e=s.length-1;0<=e;--e)h.push(t[o[s[e]][2]]);for(e=+u;e<l.length-c;++e)h.push(t[o[l[e]][2]]);return h}var d=ln,f=un;return arguments.length?e(t):(e.x=function(t){return arguments.length?(d=t,e):d},e.y=function(t){return arguments.length?(f=t,e):f},e)},$r.geom.polygon=function(t){return ao(t,Ha),t};var Ha=$r.geom.polygon.prototype=[];Ha.area=function(){for(var t,e=-1,n=this.length,i=this[n-1],r=0;++e<n;)t=i,i=this[e],r+=t[1]*i[0]-t[0]*i[1];return.5*r},Ha.centroid=function(t){var e,n,i=-1,r=this.length,o=0,a=0,s=this[r-1];for(arguments.length||(t=-1/(6*this.area()));++i<r;)e=s,s=this[i],n=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*n,a+=(e[1]+s[1])*n;return[o*t,a*t]},Ha.clip=function(t){for(var e,n,i,r,o,a,s=pn(t),l=-1,u=this.length-pn(this),c=this[u-1];++l<u;){for(e=t.slice(),t.length=0,r=this[l],o=e[(i=e.length-s)-1],n=-1;++n<i;)dn(a=e[n],c,r)?(dn(o,c,r)||t.push(fn(o,a,c,r)),t.push(a)):dn(o,c,r)&&t.push(fn(o,a,c,r)),o=a;s&&t.push(t[0]),c=r}return t};var Ba,za,Wa,$a,qa,Ua=[],Ya=[];Sn.prototype.prepare=function(){for(var t,e=this.edges,n=e.length;n--;)(t=e[n].edge).b&&t.a||e.splice(n,1);return e.sort(_n),e.length},En.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},On.prototype={insert:function(t,e){var n,i,r;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 n=this._?(t=Rn(this._),e.P=null,(e.N=t).P=t.L=e,t):(e.P=e.N=null,this._=e,null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(i=n.U).L?(r=i.R)&&r.C?(n.C=r.C=!1,i.C=!0,t=i):(t===n.R&&(In(this,n),n=(t=n).U),n.C=!1,i.C=!0,Nn(this,i)):(r=i.L)&&r.C?(n.C=r.C=!1,i.C=!0,t=i):(t===n.L&&(Nn(this,n),n=(t=n).U),n.C=!1,i.C=!0,In(this,i)),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,i,r=t.U,o=t.L,a=t.R;if(n=o?a?Rn(a):o:a,r?r.L===t?r.L=n:r.R=n:this._=n,o&&a?(i=n.C,n.C=t.C,((n.L=o).U=n)!==a?(r=n.U,n.U=t.U,t=n.R,r.L=t,(n.R=a).U=n):(n.U=r,t=(r=n).R)):(i=t.C,t=n),t&&(t.U=r),!i){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===r.L){if((e=r.R).C&&(e.C=!1,r.C=!0,In(this,r),e=r.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Nn(this,e),e=r.R),e.C=r.C,r.C=e.R.C=!1,In(this,r),t=this._;break}}else if((e=r.L).C&&(e.C=!1,r.C=!0,Nn(this,r),e=r.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,In(this,e),e=r.L),e.C=r.C,r.C=e.L.C=!1,Nn(this,r),t=this._;break}e.C=!0,r=(t=r).U}while(!t.C);t&&(t.C=!1)}}},$r.geom.voronoi=function(t){function e(r){var o=new Array(r.length),a=c[0][0],s=c[0][1],l=c[1][0],u=c[1][1];return Fn(n(r),c).cells.forEach(function(t,e){var n=t.edges,i=t.site;(o[e]=n.length?n.map(function(t){var e=t.start();return[e.x,e.y]}):i.x>=a&&i.x<=l&&i.y>=s&&i.y<=u?[[a,u],[l,u],[l,s],[a,s]]:[]).point=r[e]}),o}function n(t){return t.map(function(t,e){return{x:Math.round(o(t,e)/xo)*xo,y:Math.round(a(t,e)/xo)*xo,i:e}})}var i=ln,r=un,o=i,a=r,c=Ga;return t?e(t):(e.links=function(e){return Fn(n(e)).edges.filter(function(t){return t.l&&t.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},e.triangles=function(d){var f=[];return Fn(n(d)).cells.forEach(function(t,e){for(var n,i=t.site,r=t.edges.sort(_n),o=-1,a=r.length,s=r[a-1].edge,l=s.l===i?s.r:s.l;++o<a;)s,n=l,l=(s=r[o].edge).l===i?s.r:s.l,e<n.i&&e<l.i&&(c=n,h=l,((u=i).x-h.x)*(c.y-u.y)-(u.x-c.x)*(h.y-u.y)<0)&&f.push([d[e],d[n.i],d[l.i]]);var u,c,h}),f},e.x=function(t){return arguments.length?(o=xt(i=t),e):i},e.y=function(t){return arguments.length?(a=xt(r=t),e):r},e.clipExtent=function(t){return arguments.length?(c=null==t?Ga:t,e):c===Ga?null:c},e.size=function(t){return arguments.length?e.clipExtent(t&&[[0,0],t]):c===Ga?null:c&&c[1]},e)};var Ga=[[-1e6,-1e6],[1e6,1e6]];$r.geom.delaunay=function(t){return $r.geom.voronoi().triangles(t)},$r.geom.quadtree=function(t,b,x,w,S){function e(t){function f(t,e,n,i,r,o,a,s){if(!isNaN(n)&&!isNaN(i))if(t.leaf){var l=t.x,u=t.y;if(null!=l)if(eo(l-n)+eo(u-i)<.01)h(t,e,n,i,r,o,a,s);else{var c=t.point;t.x=t.y=t.point=null,h(t,c,l,u,r,o,a,s),h(t,e,n,i,r,o,a,s)}else t.x=n,t.y=i,t.point=e}else h(t,e,n,i,r,o,a,s)}function h(t,e,n,i,r,o,a,s){var l=.5*(r+a),u=.5*(o+s),c=l<=n,h=u<=i,d=h<<1|c;t.leaf=!1,c?r=l:a=l,h?o=u:s=u,f(t=t.nodes[d]||(t.nodes[d]={leaf:!0,nodes:[],point:null,x:null,y:null}),e,n,i,r,o,a,s)}var e,n,i,r,o,a,s,l,u,c=xt(C),d=xt(k);if(null!=b)a=b,s=x,l=w,u=S;else if(l=u=-(a=s=1/0),n=[],i=[],o=t.length,_)for(r=0;r<o;++r)(e=t[r]).x<a&&(a=e.x),e.y<s&&(s=e.y),e.x>l&&(l=e.x),e.y>u&&(u=e.y),n.push(e.x),i.push(e.y);else for(r=0;r<o;++r){var p=+c(e=t[r],r),g=+d(e,r);p<a&&(a=p),g<s&&(s=g),l<p&&(l=p),u<g&&(u=g),n.push(p),i.push(g)}var m=l-a,v=u-s;v<m?u=s+m:l=a+v;var y={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){f(y,t,+c(t,++r),+d(t,r),a,s,l,u)}};if(y.visit=function(t){!function t(e,n,i,r,o,a){if(!e(n,i,r,o,a)){var s=.5*(i+o),l=.5*(r+a),u=n.nodes;u[0]&&t(e,u[0],i,r,s,l),u[1]&&t(e,u[1],s,r,o,l),u[2]&&t(e,u[2],i,l,s,a),u[3]&&t(e,u[3],s,l,o,a)}}(t,y,a,s,l,u)},y.find=function(t){return function(t,m,v,y,b,x,w){var S,_=1/0;return function t(e,n,i,r,o){if(!(x<n||w<i||r<y||o<b)){if(a=e.point){var a,s=m-a[0],l=v-a[1],u=s*s+l*l;if(u<_){var c=Math.sqrt(_=u);y=m-c,b=v-c,x=m+c,w=v+c,S=a}}for(var h=e.nodes,d=.5*(n+r),f=.5*(i+o),p=(f<=v)<<1|d<=m,g=p+4;p<g;++p)if(e=h[3&p])switch(3&p){case 0:t(e,n,i,d,f);break;case 1:t(e,d,i,r,f);break;case 2:t(e,n,f,d,o);break;case 3:t(e,d,f,r,o)}}}(t,y,b,x,w),S}(y,t[0],t[1],a,s,l,u)},r=-1,null==b){for(;++r<o;)f(y,t[r],n[r],i[r],a,s,l,u);--r}else t.forEach(y.add);return n=i=t=e=null,y}var _,C=ln,k=un;return(_=arguments.length)?(C=Hn,k=Bn,3===_&&(S=x,w=b,x=b=0),e(t)):(e.x=function(t){return arguments.length?(C=t,e):C},e.y=function(t){return arguments.length?(k=t,e):k},e.extent=function(t){return arguments.length?(null==t?b=x=w=S=null:(b=+t[0][0],x=+t[0][1],w=+t[1][0],S=+t[1][1]),e):null==b?null:[[b,x],[w,S]]},e.size=function(t){return arguments.length?(null==t?b=x=w=S=null:(b=x=0,w=+t[0],S=+t[1]),e):null==b?null:[w-b,S-x]},e)},$r.interpolateRgb=zn,$r.interpolateObject=Wn,$r.interpolateNumber=$n,$r.interpolateString=qn;var Xa=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Va=new RegExp(Xa.source,"g");$r.interpolate=Un,$r.interpolators=[function(t,e){var n=typeof e;return("string"==n?Bo.has(e)||/^(#|rgb\(|hsl\()/.test(e)?zn:qn:e instanceof tt?zn:Array.isArray(e)?Yn:"object"==n&&isNaN(e)?Wn:$n)(t,e)}],$r.interpolateArray=Yn;function Za(){return wt}var Ka=$r.map({linear:Za,poly:function(e){return function(t){return Math.pow(t,e)}},quad:function(){return Vn},cubic:function(){return Zn},sin:function(){return Jn},exp:function(){return Qn},circle:function(){return ti},elastic:function(e,n){var i;return arguments.length<2&&(n=.45),i=arguments.length?n/_o*Math.asin(1/e):(e=1,n/4),function(t){return 1+e*Math.pow(2,-10*t)*Math.sin((t-i)*_o/n)}},back:function(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}},bounce:function(){return ei}}),Ja=$r.map({in:wt,out:Gn,"in-out":Xn,"out-in":function(t){return Xn(Gn(t))}});$r.ease=function(t){var e=t.indexOf("-"),n=0<=e?t.slice(0,e):t,i=0<=e?t.slice(e+1):"in";return n=Ka.get(n)||Za,function(e){return function(t){return t<=0?0:1<=t?1:e(t)}}((i=Ja.get(i)||wt)(n.apply(null,qr.call(arguments,1))))},$r.interpolateHcl=function(t,e){t=$r.hcl(t),e=$r.hcl(e);var n=t.h,i=t.c,r=t.l,o=e.h-n,a=e.c-i,s=e.l-r;return isNaN(a)&&(a=0,i=isNaN(i)?e.c:i),isNaN(o)?(o=0,n=isNaN(n)?e.h:n):180<o?o-=360:o<-180&&(o+=360),function(t){return rt(n+o*t,i+a*t,r+s*t)+""}},$r.interpolateHsl=function(t,e){t=$r.hsl(t),e=$r.hsl(e);var n=t.h,i=t.s,r=t.l,o=e.h-n,a=e.s-i,s=e.l-r;return isNaN(a)&&(a=0,i=isNaN(i)?e.s:i),isNaN(o)?(o=0,n=isNaN(n)?e.h:n):180<o?o-=360:o<-180&&(o+=360),function(t){return nt(n+o*t,i+a*t,r+s*t)+""}},$r.interpolateLab=function(t,e){t=$r.lab(t),e=$r.lab(e);var n=t.l,i=t.a,r=t.b,o=e.l-n,a=e.a-i,s=e.b-r;return function(t){return at(n+o*t,i+a*t,r+s*t)+""}},$r.interpolateRound=ni,$r.transform=function(t){var n=Yr.createElementNS($r.ns.prefix.svg,"g");return($r.transform=function(t){if(null!=t){n.setAttribute("transform",t);var e=n.transform.baseVal.consolidate()}return new ii(e?e.matrix:Qa)})(t)},ii.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Qa={a:1,b:0,c:0,d:1,e:0,f:0};$r.interpolateTransform=ai,$r.layout={},$r.layout.bundle=function(){return function(t){for(var e=[],n=-1,i=t.length;++n<i;)e.push(ui(t[n]));return e}},$r.layout.chord=function(){function t(){var t,e,n,i,r,o={},a=[],s=$r.range(x),l=[];for(v=[],y=[],t=0,i=-1;++i<x;){for(e=0,r=-1;++r<x;)e+=b[i][r];a.push(e),l.push($r.range(x)),t+=e}for(w&&s.sort(function(t,e){return w(a[t],a[e])}),S&&l.forEach(function(t,n){t.sort(function(t,e){return S(b[n][t],b[n][e])})}),t=(_o-C*x)/t,e=0,i=-1;++i<x;){for(n=e,r=-1;++r<x;){var u=s[i],c=l[u][r],h=b[u][c],d=e,f=e+=h*t;o[u+"-"+c]={index:u,subindex:c,startAngle:d,endAngle:f,value:h}}y[u]={index:u,startAngle:n,endAngle:e,value:(e-n)/t},e+=C}for(i=-1;++i<x;)for(r=i-1;++r<x;){var p=o[i+"-"+r],g=o[r+"-"+i];(p.value||g.value)&&v.push(p.value<g.value?{source:g,target:p}:{source:p,target:g})}_&&m()}function m(){v.sort(function(t,e){return _((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)})}var v,y,b,x,w,S,_,e={},C=0;return e.matrix=function(t){return arguments.length?(x=(b=t)&&b.length,v=y=null,e):b},e.padding=function(t){return arguments.length?(C=t,v=y=null,e):C},e.sortGroups=function(t){return arguments.length?(w=t,v=y=null,e):w},e.sortSubgroups=function(t){return arguments.length?(S=t,v=null,e):S},e.sortChords=function(t){return arguments.length?(_=t,v&&m(),e):_},e.chords=function(){return v||t(),v},e.groups=function(){return y||t(),y},e},$r.layout.force=function(){function h(u){return function(t,e,n,i){if(t.point!==u){var r=t.cx-u.x,o=t.cy-u.y,a=i-e,s=r*r+o*o;if(a*a/S<s){if(s<x){var l=t.charge/s;u.px-=r*l,u.py-=o*l}return!0}if(t.point&&s&&s<x){l=t.pointCharge/s;u.px-=r*l,u.py-=o*l}}return!t.charge}}function t(t){t.px=$r.event.x,t.py=$r.event.y,o.resume()}var e,d,f,p,g,o={},m=$r.dispatch("start","tick","end"),v=[1,1],y=.9,a=ts,c=es,b=-30,x=ns,w=.1,S=.64,_=[],C=[];return o.tick=function(){if((d*=.99)<.005)return m.end({type:"end",alpha:d=0}),!0;var t,e,n,i,r,o,a,s,l,u=_.length,c=C.length;for(e=0;e<c;++e)i=(n=C[e]).source,(o=(s=(r=n.target).x-i.x)*s+(l=r.y-i.y)*l)&&(s*=o=d*p[e]*((o=Math.sqrt(o))-f[e])/o,l*=o,r.x-=s*(a=i.weight/(r.weight+i.weight)),r.y-=l*a,i.x+=s*(a=1-a),i.y+=l*a);if((a=d*w)&&(s=v[0]/2,l=v[1]/2,e=-1,a))for(;++e<u;)(n=_[e]).x+=(s-n.x)*a,n.y+=(l-n.y)*a;if(b)for(function t(e,n,i){var r=0,o=0;if(e.charge=0,!e.leaf)for(var a,s=e.nodes,l=s.length,u=-1;++u<l;)null!=(a=s[u])&&(t(a,n,i),e.charge+=a.charge,r+=a.charge*a.cx,o+=a.charge*a.cy);if(e.point){e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5);var c=n*i[e.point.index];e.charge+=e.pointCharge=c,r+=c*e.point.x,o+=c*e.point.y}e.cx=r/e.charge,e.cy=o/e.charge}(t=$r.geom.quadtree(_),d,g),e=-1;++e<u;)(n=_[e]).fixed||t.visit(h(n));for(e=-1;++e<u;)(n=_[e]).fixed?(n.x=n.px,n.y=n.py):(n.x-=(n.px-(n.px=n.x))*y,n.y-=(n.py-(n.py=n.y))*y);m.tick({type:"tick",alpha:d})},o.nodes=function(t){return arguments.length?(_=t,o):_},o.links=function(t){return arguments.length?(C=t,o):C},o.size=function(t){return arguments.length?(v=t,o):v},o.linkDistance=function(t){return arguments.length?(a="function"==typeof t?t:+t,o):a},o.distance=o.linkDistance,o.linkStrength=function(t){return arguments.length?(c="function"==typeof t?t:+t,o):c},o.friction=function(t){return arguments.length?(y=+t,o):y},o.charge=function(t){return arguments.length?(b="function"==typeof t?t:+t,o):b},o.chargeDistance=function(t){return arguments.length?(x=t*t,o):Math.sqrt(x)},o.gravity=function(t){return arguments.length?(w=+t,o):w},o.theta=function(t){return arguments.length?(S=t*t,o):Math.sqrt(S)},o.alpha=function(t){return arguments.length?(t=+t,d?d=0<t?t:0:0<t&&(m.start({type:"start",alpha:d=t}),$r.timer(o.tick)),o):d},o.start=function(){function t(t,e){if(!l){for(l=new Array(u),o=0;o<u;++o)l[o]=[];for(o=0;o<a;++o){var n=C[o];l[n.source.index].push(n.target),l[n.target.index].push(n.source)}}for(var i,r=l[s],o=-1,a=r.length;++o<a;)if(!isNaN(i=r[o][t]))return i;return Math.random()*e}var s,l,e,u=_.length,n=C.length,i=v[0],r=v[1];for(s=0;s<u;++s)(e=_[s]).index=s,e.weight=0;for(s=0;s<n;++s)"number"==typeof(e=C[s]).source&&(e.source=_[e.source]),"number"==typeof e.target&&(e.target=_[e.target]),++e.source.weight,++e.target.weight;for(s=0;s<u;++s)e=_[s],isNaN(e.x)&&(e.x=t("x",i)),isNaN(e.y)&&(e.y=t("y",r)),isNaN(e.px)&&(e.px=e.x),isNaN(e.py)&&(e.py=e.y);if(f=[],"function"==typeof a)for(s=0;s<n;++s)f[s]=+a.call(this,C[s],s);else for(s=0;s<n;++s)f[s]=a;if(p=[],"function"==typeof c)for(s=0;s<n;++s)p[s]=+c.call(this,C[s],s);else for(s=0;s<n;++s)p[s]=c;if(g=[],"function"==typeof b)for(s=0;s<u;++s)g[s]=+b.call(this,_[s],s);else for(s=0;s<u;++s)g[s]=b;return o.resume()},o.resume=function(){return o.alpha(.1)},o.stop=function(){return o.alpha(0)},o.drag=function(){return e||(e=$r.behavior.drag().origin(wt).on("dragstart.force",hi).on("drag.force",t).on("dragend.force",di)),arguments.length?void this.on("mouseover.force",fi).on("mouseout.force",pi).call(e):e},$r.rebind(o,m,"on")};var ts=20,es=1,ns=1/0;$r.layout.hierarchy=function(){function s(t){var e,n=[t],i=[];for(t.depth=0;null!=(e=n.pop());)if(i.push(e),(o=u.call(s,e,e.depth))&&(r=o.length)){for(var r,o,a;0<=--r;)n.push(a=o[r]),a.parent=e,a.depth=e.depth+1;c&&(e.value=0),e.children=o}else c&&(e.value=+c.call(s,e,e.depth)||0),delete e.children;return vi(t,function(t){var e,n;l&&(e=t.children)&&e.sort(l),c&&(n=t.parent)&&(n.value+=t.value)}),i}var l=xi,u=yi,c=bi;return s.sort=function(t){return arguments.length?(l=t,s):l},s.children=function(t){return arguments.length?(u=t,s):u},s.value=function(t){return arguments.length?(c=t,s):c},s.revalue=function(t){return c&&(mi(t,function(t){t.children&&(t.value=0)}),vi(t,function(t){var e;t.children||(t.value=+c.call(s,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},s},$r.layout.partition=function(){function e(t,e){var n=i.call(this,t,e);return function t(e,n,i,r){var o=e.children;if(e.x=n,e.y=e.depth*r,e.dx=i,e.dy=r,o&&(a=o.length)){var a,s,l,u=-1;for(i=e.value?i/e.value:0;++u<a;)t(s=o[u],n,l=s.value*i,r),n+=l}}(n[0],0,r[0],r[1]/function t(e){var n=e.children,i=0;if(n&&(r=n.length))for(var r,o=-1;++o<r;)i=Math.max(i,t(n[o]));return 1+i}(n[0])),n}var i=$r.layout.hierarchy(),r=[1,1];return e.size=function(t){return arguments.length?(r=t,e):r},gi(e,i)},$r.layout.pie=function(){function h(n){var e,t=n.length,i=n.map(function(t,e){return+d.call(h,t,e)}),r=+("function"==typeof p?p.apply(this,arguments):p),o=("function"==typeof g?g.apply(this,arguments):g)-r,a=Math.min(Math.abs(o)/t,+("function"==typeof m?m.apply(this,arguments):m)),s=a*(o<0?-1:1),l=(o-t*s)/$r.sum(i),u=$r.range(t),c=[];return null!=f&&u.sort(f===is?function(t,e){return i[e]-i[t]}:function(t,e){return f(n[t],n[e])}),u.forEach(function(t){c[t]={data:n[t],value:e=i[t],startAngle:r,endAngle:r+=e*l+s,padAngle:a}}),c}var d=Number,f=is,p=0,g=_o,m=0;return h.value=function(t){return arguments.length?(d=t,h):d},h.sort=function(t){return arguments.length?(f=t,h):f},h.startAngle=function(t){return arguments.length?(p=t,h):p},h.endAngle=function(t){return arguments.length?(g=t,h):g},h.padAngle=function(t){return arguments.length?(m=t,h):m},h};var is={};$r.layout.stack=function(){function h(t,e){if(!(o=t.length))return t;var n=t.map(function(t,e){return d.call(h,t,e)}),i=n.map(function(t){return t.map(function(t,e){return[m.call(h,t,e),v.call(h,t,e)]})}),r=f.call(h,i,e);n=$r.permute(n,r),i=$r.permute(i,r);var o,a,s,l,u=p.call(h,i,e),c=n[0].length;for(s=0;s<c;++s)for(g.call(h,n[0][s],l=u[s],i[0][s][1]),a=1;a<o;++a)g.call(h,n[a][s],l+=i[a-1][s][1],i[a][s][1]);return t}var d=wt,f=ki,p=Mi,g=Ci,m=Si,v=_i;return h.values=function(t){return arguments.length?(d=t,h):d},h.order=function(t){return arguments.length?(f="function"==typeof t?t:rs.get(t)||ki,h):f},h.offset=function(t){return arguments.length?(p="function"==typeof t?t:os.get(t)||Mi,h):p},h.x=function(t){return arguments.length?(m=t,h):m},h.y=function(t){return arguments.length?(v=t,h):v},h.out=function(t){return arguments.length?(g=t,h):g},h};var rs=$r.map({"inside-out":function(t){var e,n,i=t.length,r=t.map(Ti),o=t.map(Di),a=$r.range(i).sort(function(t,e){return r[t]-r[e]}),s=0,l=0,u=[],c=[];for(e=0;e<i;++e)n=a[e],s<l?(s+=o[n],u.push(n)):(l+=o[n],c.push(n));return c.reverse().concat(u)},reverse:function(t){return $r.range(t.length).reverse()},default:ki}),os=$r.map({silhouette:function(t){var e,n,i,r=t.length,o=t[0].length,a=[],s=0,l=[];for(n=0;n<o;++n){for(i=e=0;e<r;e++)i+=t[e][n][1];s<i&&(s=i),a.push(i)}for(n=0;n<o;++n)l[n]=(s-a[n])/2;return l},wiggle:function(t){var e,n,i,r,o,a,s,l,u,c=t.length,h=t[0],d=h.length,f=[];for(f[0]=l=u=0,n=1;n<d;++n){for(r=e=0;e<c;++e)r+=t[e][n][1];for(o=e=0,s=h[n][0]-h[n-1][0];e<c;++e){for(i=0,a=(t[e][n][1]-t[e][n-1][1])/(2*s);i<e;++i)a+=(t[i][n][1]-t[i][n-1][1])/s;o+=a*t[e][n][1]}f[n]=l-=r?o/r*s:0,l<u&&(u=l)}for(n=0;n<d;++n)f[n]-=u;return f},expand:function(t){var e,n,i,r=t.length,o=t[0].length,a=1/r,s=[];for(n=0;n<o;++n){for(i=e=0;e<r;e++)i+=t[e][n][1];if(i)for(e=0;e<r;e++)t[e][n][1]/=i;else for(e=0;e<r;e++)t[e][n][1]=a}for(n=0;n<o;++n)s[n]=0;return s},zero:Mi});$r.layout.histogram=function(){function n(t,e){for(var n,i,r=[],o=t.map(d,this),a=f.call(this,o,e),s=p.call(this,a,o,e),l=(e=-1,o.length),u=s.length-1,c=h?1:1/l;++e<u;)(n=r[e]=[]).dx=s[e+1]-(n.x=s[e]),n.y=0;if(0<u)for(e=-1;++e<l;)(i=o[e])>=a[0]&&i<=a[1]&&((n=r[$r.bisect(s,i,1,u)-1]).y+=c,n.push(t[e]));return r}var h=!0,d=Number,f=Oi,p=Pi;return n.value=function(t){return arguments.length?(d=t,n):d},n.range=function(t){return arguments.length?(f=xt(t),n):f},n.bins=function(e){return arguments.length?(p="number"==typeof e?function(t){return Ei(t,e)}:xt(e),n):p},n.frequency=function(t){return arguments.length?(h=!!t,n):h},n},$r.layout.pack=function(){function e(t,e){var n=u.call(this,t,e),i=n[0],r=h[0],o=h[1],a=null==l?Math.sqrt:"function"==typeof l?l:function(){return l};if(i.x=i.y=0,vi(i,function(t){t.r=+a(t.value)}),vi(i,Fi),c){var s=c*(l?1:Math.max(2*i.r/r,2*i.r/o))/2;vi(i,function(t){t.r+=s}),vi(i,Fi),vi(i,function(t){t.r-=s})}return function t(e,n,i,r){var o=e.children;if(e.x=n+=r*e.x,e.y=i+=r*e.y,e.r*=r,o)for(var a=-1,s=o.length;++a<s;)t(o[a],n,i,r)}(i,r/2,o/2,l?1:1/Math.max(2*i.r/r,2*i.r/o)),n}var l,u=$r.layout.hierarchy().sort(Li),c=0,h=[1,1];return e.size=function(t){return arguments.length?(h=t,e):h},e.radius=function(t){return arguments.length?(l=null==t||"function"==typeof t?t:+t,e):l},e.padding=function(t){return arguments.length?(c=+t,e):c},gi(e,u)},$r.layout.tree=function(){function e(t,e){var n=p.call(this,t,e),i=n[0],r=function(t){for(var e,n={A:null,children:[t]},i=[n];null!=(e=i.pop());)for(var r,o=e.children,a=0,s=o.length;a<s;++a)i.push((o[a]=r={_:o[a],parent:e,children:(r=o[a].children)&&r.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:a}).a=r);return n.children[0]}(i);if(vi(r,h),r.parent.m=-r.z,mi(r,d),m)mi(i,f);else{var o=i,a=i,s=i;mi(i,function(t){t.x<o.x&&(o=t),t.x>a.x&&(a=t),t.depth>s.depth&&(s=t)});var l=b(o,a)/2-o.x,u=g[0]/(a.x+b(a,o)/2+l),c=g[1]/(s.depth||1);mi(i,function(t){t.x=(t.x+l)*u,t.y=t.depth*c})}return n}function h(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;if(e.length){!function(t){for(var e,n=0,i=0,r=t.children,o=r.length;0<=--o;)(e=r[o]).z+=n,e.m+=n,n+=e.s+(i+=e.c)}(t);var r=(e[0].z+e[e.length-1].z)/2;i?(t.z=i.z+b(t._,i._),t.m=t.z-r):t.z=r}else i&&(t.z=i.z+b(t._,i._));t.parent.A=function(t,e,n){if(e){for(var i,r=t,o=t,a=e,s=r.parent.children[0],l=r.m,u=o.m,c=a.m,h=s.m;a=$i(a),r=Wi(r),a&&r;)s=Wi(s),(o=$i(o)).a=t,0<(i=a.z+c-r.z-l+b(a._,r._))&&(v=t,y=n,d=(m=a).a.parent===v.parent?m.a:y,void 0,g=(p=i)/((f=t).i-d.i),f.c-=g,f.s+=p,d.c+=g,f.z+=p,f.m+=p,l+=i,u+=i),c+=a.m,l+=r.m,h+=s.m,u+=o.m;a&&!$i(o)&&(o.t=a,o.m+=c-u),r&&!Wi(s)&&(s.t=r,s.m+=l-h,n=t)}var d,f,p,g;var m,v,y;return n}(t,i,t.parent.A||n[0])}function d(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=g[0],t.y=t.depth*g[1]}var p=$r.layout.hierarchy().sort(null).value(null),b=zi,g=[1,1],m=null;return e.separation=function(t){return arguments.length?(b=t,e):b},e.size=function(t){return arguments.length?(m=null==(g=t)?f:null,e):m?null:g},e.nodeSize=function(t){return arguments.length?(m=null==(g=t)?null:f,e):m?g:null},gi(e,p)},$r.layout.cluster=function(){function e(t,e){var n,i=c.call(this,t,e),r=i[0],o=0;vi(r,function(t){var e=t.children;e&&e.length?(t.x=function(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}(e),t.y=function(t){return 1+$r.max(t,function(t){return t.y})}(e)):(t.x=n?o+=h(t,n):0,t.y=0,n=t)});var a=function t(e){var n=e.children;return n&&n.length?t(n[0]):e}(r),s=function t(e){var n,i=e.children;return i&&(n=i.length)?t(i[n-1]):e}(r),l=a.x-h(a,s)/2,u=s.x+h(s,a)/2;return vi(r,f?function(t){t.x=(t.x-r.x)*d[0],t.y=(r.y-t.y)*d[1]}:function(t){t.x=(t.x-l)/(u-l)*d[0],t.y=(1-(r.y?t.y/r.y:1))*d[1]}),i}var c=$r.layout.hierarchy().sort(null).value(null),h=zi,d=[1,1],f=!1;return e.separation=function(t){return arguments.length?(h=t,e):h},e.size=function(t){return arguments.length?(f=null==(d=t),e):f?null:d},e.nodeSize=function(t){return arguments.length?(f=null!=(d=t),e):f?d:null},gi(e,c)},$r.layout.treemap=function(){function c(t,e){for(var n,i,r=-1,o=t.length;++r<o;)i=(n=t[r]).value*(e<0?0:e),n.area=isNaN(i)||i<=0?0:i}function h(t){var e=t.children;if(e&&e.length){var n,i,r,o=g(t),a=[],s=e.slice(),l=1/0,u="slice"===m?o.dx:"dice"===m?o.dy:"slice-dice"===m?1&t.depth?o.dy:o.dx:Math.min(o.dx,o.dy);for(c(s,o.dx*o.dy/t.value),a.area=0;0<(r=s.length);)a.push(n=s[r-1]),a.area+=n.area,l="squarify"!==m||(i=d(a,u))<=l?(s.pop(),i):(a.area-=a.pop().area,f(a,u,o,!1),u=Math.min(o.dx,o.dy),a.length=a.area=0,1/0);a.length&&(f(a,u,o,!0),a.length=a.area=0),e.forEach(h)}}function a(t){var e=t.children;if(e&&e.length){var n,i=g(t),r=e.slice(),o=[];for(c(r,i.dx*i.dy/t.value),o.area=0;n=r.pop();)o.push(n),o.area+=n.area,null!=n.z&&(f(o,n.z?i.dx:i.dy,i,!r.length),o.length=o.area=0);e.forEach(a)}}function d(t,e){for(var n,i=t.area,r=0,o=1/0,a=-1,s=t.length;++a<s;)(n=t[a].area)&&(n<o&&(o=n),r<n&&(r=n));return e*=e,(i*=i)?Math.max(e*r*v/i,i/(e*o*v)):1/0}function f(t,e,n,i){var r,o=-1,a=t.length,s=n.x,l=n.y,u=e?p(t.area/e):0;if(e==n.dx){for((i||u>n.dy)&&(u=n.dy);++o<a;)(r=t[o]).x=s,r.y=l,r.dy=u,s+=r.dx=Math.min(n.x+n.dx-s,u?p(r.area/u):0);r.z=!0,r.dx+=n.x+n.dx-s,n.y+=u,n.dy-=u}else{for((i||u>n.dx)&&(u=n.dx);++o<a;)(r=t[o]).x=s,r.y=l,r.dx=u,l+=r.dy=Math.min(n.y+n.dy-l,u?p(r.area/u):0);r.z=!1,r.dy+=n.y+n.dy-l,n.x+=u,n.dx-=u}}function i(t){var e=r||o(t),n=e[0];return n.x=0,n.y=0,n.dx=s[0],n.dy=s[1],r&&o.revalue(n),c([n],n.dx*n.dy/n.value),(r?a:h)(n),u&&(r=e),e}var r,o=$r.layout.hierarchy(),p=Math.round,s=[1,1],l=null,g=qi,u=!1,m="squarify",v=.5*(1+Math.sqrt(5));return i.size=function(t){return arguments.length?(s=t,i):s},i.padding=function(n){function t(t){return Ui(t,n)}return arguments.length?(g=null==(l=n)?qi:"function"==(e=typeof n)?function(t){var e=n.call(i,t,t.depth);return null==e?qi(t):Ui(t,"number"==typeof e?[e,e,e,e]:e)}:("number"==e&&(n=[n,n,n,n]),t),i):l;var e},i.round=function(t){return arguments.length?(p=t?Math.round:Number,i):p!=Number},i.sticky=function(t){return arguments.length?(u=t,r=null,i):u},i.ratio=function(t){return arguments.length?(v=t,i):v},i.mode=function(t){return arguments.length?(m=t+"",i):m},gi(i,o)},$r.random={normal:function(i,r){var t=arguments.length;return t<2&&(r=1),t<1&&(i=0),function(){for(var t,e,n;!(n=(t=2*Math.random()-1)*t+(e=2*Math.random()-1)*e)||1<n;);return i+r*t*Math.sqrt(-2*Math.log(n)/n)}},logNormal:function(){var t=$r.random.normal.apply($r,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=$r.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(n){return function(){for(var t=0,e=0;e<n;e++)t+=Math.random();return t}}},$r.scale={};var as={floor:wt,ceil:wt};$r.scale.linear=function(){return function t(n,i,r,o){function e(){var t=2<Math.min(n.length,i.length)?Zi:Xi,e=o?li:si;return s=t(n,i,e,r),l=t(i,n,e,Un),a}function a(t){return s(t)}var s,l;return a.invert=function(t){return l(t)},a.domain=function(t){return arguments.length?(n=t.map(Number),e()):n},a.range=function(t){return arguments.length?(i=t,e()):i},a.rangeRound=function(t){return a.range(t).interpolate(ni)},a.clamp=function(t){return arguments.length?(o=t,e()):o},a.interpolate=function(t){return arguments.length?(r=t,e()):r},a.ticks=function(t){return tr(n,t)},a.tickFormat=function(t,e){return er(n,t,e)},a.nice=function(t){return Ji(n,t),e()},a.copy=function(){return t(n,i,r,o)},e()}([0,1],[0,1],Un,!1)};var ss={s:1,g:1,p:1,r:1,e:1};$r.scale.log=function(){return function t(e,l,u,c){function h(t){return(u?Math.log(t<0?0:t):-Math.log(0<t?0:-t))/Math.log(l)}function d(t){return u?Math.pow(l,t):-Math.pow(l,-t)}function o(t){return e(h(t))}return o.invert=function(t){return d(e.invert(t))},o.domain=function(t){return arguments.length?(u=0<=t[0],e.domain((c=t.map(Number)).map(h)),o):c},o.base=function(t){return arguments.length?(l=+t,e.domain(c.map(h)),o):l},o.nice=function(){var t=Vi(c.map(h),u?Math:us);return e.domain(t),c=t.map(d),o},o.ticks=function(){var t=Yi(c),e=[],n=t[0],i=t[1],r=Math.floor(h(n)),o=Math.ceil(h(i)),a=l%1?2:l;if(isFinite(o-r)){if(u){for(;r<o;r++)for(var s=1;s<a;s++)e.push(d(r)*s);e.push(d(r))}else for(e.push(d(r));r++<o;)for(s=a-1;0<s;s--)e.push(d(r)*s);for(r=0;e[r]<n;r++);for(o=e.length;e[o-1]>i;o--);e=e.slice(r,o)}return e},o.tickFormat=function(t,e){if(!arguments.length)return ls;arguments.length<2?e=ls:"function"!=typeof e&&(e=$r.format(e));var n,i=Math.max(.1,t/o.ticks().length),r=u?(n=1e-12,Math.ceil):(n=-1e-12,Math.floor);return function(t){return t/d(r(h(t)+n))<=i?e(t):""}},o.copy=function(){return t(e.copy(),l,u,c)},Ki(o,e)}($r.scale.linear().domain([0,1]),10,!0,[1,10])};var ls=$r.format(".0e"),us={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};$r.scale.pow=function(){return function t(e,n,i){function r(t){return e(o(t))}var o=ir(n),a=ir(1/n);return r.invert=function(t){return a(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain((i=t.map(Number)).map(o)),r):i},r.ticks=function(t){return tr(i,t)},r.tickFormat=function(t,e){return er(i,t,e)},r.nice=function(t){return r.domain(Ji(i,t))},r.exponent=function(t){return arguments.length?(o=ir(n=t),a=ir(1/n),e.domain(i.map(o)),r):n},r.copy=function(){return t(e.copy(),n,i)},Ki(r,e)}($r.scale.linear(),1,[0,1])},$r.scale.sqrt=function(){return $r.scale.pow().exponent(.5)},$r.scale.ordinal=function(){return function t(s,l){function u(t){return h[((r.get(t)||("range"===l.t?r.set(t,s.push(t)):NaN))-1)%h.length]}function c(e,n){return $r.range(s.length).map(function(t){return e+n*t})}var r,h,d;return u.domain=function(t){if(!arguments.length)return s;s=[],r=new y;for(var e,n=-1,i=t.length;++n<i;)r.has(e=t[n])||r.set(e,s.push(e));return u[l.t].apply(u,l.a)},u.range=function(t){return arguments.length?(h=t,d=0,l={t:"range",a:arguments},u):h},u.rangePoints=function(t,e){arguments.length<2&&(e=0);var n=t[0],i=t[1],r=s.length<2?(n=(n+i)/2,0):(i-n)/(s.length-1+e);return h=c(n+r*e/2,r),d=0,l={t:"rangePoints",a:arguments},u},u.rangeRoundPoints=function(t,e){arguments.length<2&&(e=0);var n=t[0],i=t[1],r=s.length<2?(n=i=Math.round((n+i)/2),0):0|(i-n)/(s.length-1+e);return h=c(n+Math.round(r*e/2+(i-n-(s.length-1+e)*r)/2),r),d=0,l={t:"rangeRoundPoints",a:arguments},u},u.rangeBands=function(t,e,n){arguments.length<2&&(e=0),arguments.length<3&&(n=e);var i=t[1]<t[0],r=t[i-0],o=(t[1-i]-r)/(s.length-e+2*n);return h=c(r+o*n,o),i&&h.reverse(),d=o*(1-e),l={t:"rangeBands",a:arguments},u},u.rangeRoundBands=function(t,e,n){arguments.length<2&&(e=0),arguments.length<3&&(n=e);var i=t[1]<t[0],r=t[i-0],o=t[1-i],a=Math.floor((o-r)/(s.length-e+2*n));return h=c(r+Math.round((o-r-(s.length-e)*a)/2),a),i&&h.reverse(),d=Math.round(a*(1-e)),l={t:"rangeRoundBands",a:arguments},u},u.rangeBand=function(){return d},u.rangeExtent=function(){return Yi(l.a[0])},u.copy=function(){return t(s,l)},u.domain(s)}([],{t:"range",a:[[]]})},$r.scale.category10=function(){return $r.scale.ordinal().range(cs)},$r.scale.category20=function(){return $r.scale.ordinal().range(hs)},$r.scale.category20b=function(){return $r.scale.ordinal().range(ds)},$r.scale.category20c=function(){return $r.scale.ordinal().range(fs)};var cs=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ft),hs=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ft),ds=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ft),fs=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ft);$r.scale.quantile=function(){return function t(n,i){function e(){var t=0,e=i.length;for(o=[];++t<e;)o[t-1]=$r.quantile(n,t/e);return r}function r(t){return isNaN(t=+t)?void 0:i[$r.bisect(o,t)]}var o;return r.domain=function(t){return arguments.length?(n=t.map(u).filter(c).sort(a),e()):n},r.range=function(t){return arguments.length?(i=t,e()):i},r.quantiles=function(){return o},r.invertExtent=function(t){return(t=i.indexOf(t))<0?[NaN,NaN]:[0<t?o[t-1]:n[0],t<o.length?o[t]:n[n.length-1]]},r.copy=function(){return t(n,i)},e()}([],[])},$r.scale.quantize=function(){return function t(e,n,i){function r(t){return i[Math.max(0,Math.min(s,Math.floor(a*(t-e))))]}function o(){return a=i.length/(n-e),s=i.length-1,r}var a,s;return r.domain=function(t){return arguments.length?(e=+t[0],n=+t[t.length-1],o()):[e,n]},r.range=function(t){return arguments.length?(i=t,o()):i},r.invertExtent=function(t){return[t=(t=i.indexOf(t))<0?NaN:t/a+e,t+1/a]},r.copy=function(){return t(e,n,i)},o()}(0,1,[0,1])},$r.scale.threshold=function(){return function t(e,n){function i(t){return t<=t?n[$r.bisect(e,t)]:void 0}return i.domain=function(t){return arguments.length?(e=t,i):e},i.range=function(t){return arguments.length?(n=t,i):n},i.invertExtent=function(t){return t=n.indexOf(t),[e[t-1],e[t]]},i.copy=function(){return t(e,n)},i}([.5],[0,1])},$r.scale.identity=function(){return function t(n){function e(t){return+t}return(e.invert=e).domain=e.range=function(t){return arguments.length?(n=t.map(e),e):n},e.ticks=function(t){return tr(n,t)},e.tickFormat=function(t,e){return er(n,t,e)},e.copy=function(){return t(n)},e}([0,1])},$r.svg={},$r.svg.arc=function(){function e(){var t=Math.max(0,+H.apply(this,arguments)),e=Math.max(0,+B.apply(this,arguments)),n=$.apply(this,arguments)-ko,i=q.apply(this,arguments)-ko,r=Math.abs(i-n),o=i<n?0:1;if(e<t&&(a=e,e=t,t=a),Co<=r)return j(e,o)+(t?j(t,1-o):"")+"Z";var a,s,l,u,c,h,d,f,p,g,m,v,y=0,b=0,x=[];if((u=(+U.apply(this,arguments)||0)/2)&&(l=W===ps?Math.sqrt(t*t+e*e):+W.apply(this,arguments),o||(b*=-1),e&&(b=K(l/e*Math.sin(u))),t&&(y=K(l/t*Math.sin(u)))),e){c=e*Math.cos(n+b),h=e*Math.sin(n+b),d=e*Math.cos(i-b),f=e*Math.sin(i-b);var w=Math.abs(i-n-2*b)<=So?0:1;if(b&&cr(c,h,d,f)===o^w){var S=(n+i)/2;c=e*Math.cos(S),h=e*Math.sin(S),d=f=null}}else c=h=0;if(t){p=t*Math.cos(i-y),g=t*Math.sin(i-y),m=t*Math.cos(n+y),v=t*Math.sin(n+y);var _=Math.abs(n-i+2*y)<=So?0:1;if(y&&cr(p,g,m,v)===1-o^_){var C=(n+i)/2;p=t*Math.cos(C),g=t*Math.sin(C),m=v=null}}else p=g=0;if(.001<(a=Math.min(Math.abs(e-t)/2,+z.apply(this,arguments)))){s=t<e^o?0:1;var k=null==m?[p,g]:null==d?[c,h]:fn([c,h],[m,v],[d,f],[p,g]),M=c-k[0],T=h-k[1],D=d-k[0],A=f-k[1],P=1/Math.sin(Math.acos((M*D+T*A)/(Math.sqrt(M*M+T*T)*Math.sqrt(D*D+A*A)))/2),E=Math.sqrt(k[0]*k[0]+k[1]*k[1]);if(null!=d){var O=Math.min(a,(e-E)/(1+P)),L=hr(null==m?[p,g]:[m,v],[c,h],e,O,o),I=hr([d,f],[p,g],e,O,o);a===O?x.push("M",L[0],"A",O,",",O," 0 0,",s," ",L[1],"A",e,",",e," 0 ",1-o^cr(L[1][0],L[1][1],I[1][0],I[1][1]),",",o," ",I[1],"A",O,",",O," 0 0,",s," ",I[0]):x.push("M",L[0],"A",O,",",O," 0 1,",s," ",I[0])}else x.push("M",c,",",h);if(null!=m){var N=Math.min(a,(t-E)/(P-1)),R=hr([c,h],[m,v],t,-N,o),F=hr([p,g],null==d?[c,h]:[d,f],t,-N,o);a===N?x.push("L",F[0],"A",N,",",N," 0 0,",s," ",F[1],"A",t,",",t," 0 ",o^cr(F[1][0],F[1][1],R[1][0],R[1][1]),",",1-o," ",R[1],"A",N,",",N," 0 0,",s," ",R[0]):x.push("L",F[0],"A",N,",",N," 0 0,",s," ",R[0])}else x.push("L",p,",",g)}else x.push("M",c,",",h),null!=d&&x.push("A",e,",",e," 0 ",w,",",o," ",d,",",f),x.push("L",p,",",g),null!=m&&x.push("A",t,",",t," 0 ",_,",",1-o," ",m,",",v);return x.push("Z"),x.join("")}function j(t,e){return"M0,"+t+"A"+t+","+t+" 0 1,"+e+" 0,"+-t+"A"+t+","+t+" 0 1,"+e+" 0,"+t}var H=or,B=ar,z=rr,W=ps,$=sr,q=lr,U=ur;return e.innerRadius=function(t){return arguments.length?(H=xt(t),e):H},e.outerRadius=function(t){return arguments.length?(B=xt(t),e):B},e.cornerRadius=function(t){return arguments.length?(z=xt(t),e):z},e.padRadius=function(t){return arguments.length?(W=t==ps?ps:xt(t),e):W},e.startAngle=function(t){return arguments.length?($=xt(t),e):$},e.endAngle=function(t){return arguments.length?(q=xt(t),e):q},e.padAngle=function(t){return arguments.length?(U=xt(t),e):U},e.centroid=function(){var t=(+H.apply(this,arguments)+ +B.apply(this,arguments))/2,e=(+$.apply(this,arguments)+ +q.apply(this,arguments))/2-ko;return[Math.cos(e)*t,Math.sin(e)*t]},e};var ps="auto";$r.svg.line=function(){return dr(wt)};var gs=$r.map({linear:fr,"linear-closed":function(t){return fr(t)+"Z"},step:function(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e<n;)r.push("H",(i[0]+(i=t[e])[0])/2,"V",i[1]);return 1<n&&r.push("H",i[0]),r.join("")},"step-before":pr,"step-after":gr,basis:yr,"basis-open":function(t){if(t.length<4)return fr(t);for(var e,n=[],i=-1,r=t.length,o=[0],a=[0];++i<3;)e=t[i],o.push(e[0]),a.push(e[1]);for(n.push(br(ys,o)+","+br(ys,a)),--i;++i<r;)e=t[i],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),xr(n,o,a);return n.join("")},"basis-closed":function(t){for(var e,n,i=-1,r=t.length,o=r+4,a=[],s=[];++i<4;)n=t[i%r],a.push(n[0]),s.push(n[1]);for(e=[br(ys,a),",",br(ys,s)],--i;++i<o;)n=t[i%r],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),xr(e,a,s);return e.join("")},bundle:function(t,e){var n=t.length-1;if(n)for(var i,r,o=t[0][0],a=t[0][1],s=t[n][0]-o,l=t[n][1]-a,u=-1;++u<=n;)r=u/n,(i=t[u])[0]=e*i[0]+(1-e)*(o+r*s),i[1]=e*i[1]+(1-e)*(a+r*l);return yr(t)},cardinal:function(t,e){return t.length<3?fr(t):t[0]+mr(t,vr(t,e))},"cardinal-open":function(t,e){return t.length<4?fr(t):t[1]+mr(t.slice(1,-1),vr(t,e))},"cardinal-closed":function(t,e){return t.length<3?fr(t):t[0]+mr((t.push(t[0]),t),vr([t[t.length-2]].concat(t,[t[1]]),e))},monotone:function(t){return t.length<3?fr(t):t[0]+mr(t,Sr(t))}});gs.forEach(function(t,e){e.key=t,e.closed=/-closed$/.test(t)});var ms=[0,2/3,1/3,0],vs=[0,1/3,2/3,0],ys=[0,1/6,2/3,1/6];$r.svg.line.radial=function(){var t=dr(_r);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},(pr.reverse=gr).reverse=pr,$r.svg.area=function(){return Cr(wt)},$r.svg.area.radial=function(){var t=Cr(_r);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},$r.svg.chord=function(){function e(t,e){var n=r(this,s,t,e),i=r(this,l,t,e);return"M"+n.p0+o(n.r,n.p1,n.a1-n.a0)+(function(t,e){return t.a0==e.a0&&t.a1==e.a1}(n,i)?a(n.r,n.p1,n.r,n.p0):a(n.r,n.p1,i.r,i.p0)+o(i.r,i.p1,i.a1-i.a0)+a(i.r,i.p1,n.r,n.p0))+"Z"}function r(t,e,n,i){var r=e.call(t,n,i),o=u.call(t,r,i),a=c.call(t,r,i)-ko,s=h.call(t,r,i)-ko;return{r:o,a0:a,a1:s,p0:[o*Math.cos(a),o*Math.sin(a)],p1:[o*Math.cos(s),o*Math.sin(s)]}}function o(t,e,n){return"A"+t+","+t+" 0 "+ +(So<n)+",1 "+e}function a(t,e,n,i){return"Q 0,0 "+i}var s=Qe,l=tn,u=kr,c=sr,h=lr;return e.radius=function(t){return arguments.length?(u=xt(t),e):u},e.source=function(t){return arguments.length?(s=xt(t),e):s},e.target=function(t){return arguments.length?(l=xt(t),e):l},e.startAngle=function(t){return arguments.length?(c=xt(t),e):c},e.endAngle=function(t){return arguments.length?(h=xt(t),e):h},e},$r.svg.diagonal=function(){function e(t,e){var n=a.call(this,t,e),i=s.call(this,t,e),r=(n.y+i.y)/2,o=[n,{x:n.x,y:r},{x:i.x,y:r},i];return"M"+(o=o.map(l))[0]+"C"+o[1]+" "+o[2]+" "+o[3]}var a=Qe,s=tn,l=Mr;return e.source=function(t){return arguments.length?(a=xt(t),e):a},e.target=function(t){return arguments.length?(s=xt(t),e):s},e.projection=function(t){return arguments.length?(l=t,e):l},e},$r.svg.diagonal.radial=function(){var t=$r.svg.diagonal(),e=Mr,n=t.projection;return t.projection=function(t){return arguments.length?n(function(i){return function(){var t=i.apply(this,arguments),e=t[0],n=t[1]-ko;return[e*Math.cos(n),e*Math.sin(n)]}}(e=t)):e},t},$r.svg.symbol=function(){function e(t,e){return(bs.get(n.call(this,t,e))||Ar)(i.call(this,t,e))}var n=Dr,i=Tr;return e.type=function(t){return arguments.length?(n=xt(t),e):n},e.size=function(t){return arguments.length?(i=xt(t),e):i},e};var bs=$r.map({circle:Ar,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*ws)),n=e*ws;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/xs),n=e*xs/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/xs),n=e*xs/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});$r.svg.symbolTypes=bs.keys();var xs=Math.sqrt(3),ws=Math.tan(30*Mo);ho.transition=function(t){for(var e,n,i=Ss||++Ms,r=Ir(t),o=[],a=_s||{time:Date.now(),ease:Kn,delay:0,duration:250},s=-1,l=this.length;++s<l;){o.push(e=[]);for(var u=this[s],c=-1,h=u.length;++c<h;)(n=u[c])&&Nr(n,c,r,i,a),e.push(n)}return Er(o,r,i)},ho.interrupt=function(t){return this.each(null==t?Cs:Pr(Ir(t)))};var Ss,_s,Cs=Pr(Ir()),ks=[],Ms=0;ks.call=ho.call,ks.empty=ho.empty,ks.node=ho.node,ks.size=ho.size,$r.transition=function(t,e){return t&&t.transition?Ss?t.transition(e):t:go.transition(t)},($r.transition.prototype=ks).select=function(t){var e,n,i,r=this.id,o=this.namespace,a=[];t=S(t);for(var s=-1,l=this.length;++s<l;){a.push(e=[]);for(var u=this[s],c=-1,h=u.length;++c<h;)(i=u[c])&&(n=t.call(i,i.__data__,c,s))?("__data__"in i&&(n.__data__=i.__data__),Nr(n,c,o,r,i[o][r]),e.push(n)):e.push(null)}return Er(a,o,r)},ks.selectAll=function(t){var e,n,i,r,o,a=this.id,s=this.namespace,l=[];t=_(t);for(var u=-1,c=this.length;++u<c;)for(var h=this[u],d=-1,f=h.length;++d<f;)if(i=h[d]){o=i[s][a],n=t.call(i,i.__data__,d,u),l.push(e=[]);for(var p=-1,g=n.length;++p<g;)(r=n[p])&&Nr(r,p,s,a,o),e.push(r)}return Er(l,s,a)},ks.filter=function(t){var e,n,i=[];"function"!=typeof t&&(t=F(t));for(var r=0,o=this.length;r<o;r++){i.push(e=[]);for(var a,s=0,l=(a=this[r]).length;s<l;s++)(n=a[s])&&t.call(n,n.__data__,s,r)&&e.push(n)}return Er(i,this.namespace,this.id)},ks.tween=function(e,n){var i=this.id,r=this.namespace;return arguments.length<2?this.node()[r][i].tween.get(e):j(this,null==n?function(t){t[r][i].tween.remove(e)}:function(t){t[r][i].tween.set(e,n)})},ks.attr=function(t,e){function i(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}if(arguments.length<2){for(e in t)this.attr(e,t[e]);return this}var o="transform"==t?ai:Un,a=$r.ns.qualify(t);return Or(this,"attr."+t,e,a.local?function(n){return null==n?r:(n+="",function(){var e,t=this.getAttributeNS(a.space,a.local);return t!==n&&(e=o(t,n),function(t){this.setAttributeNS(a.space,a.local,e(t))})})}:function(n){return null==n?i:(n+="",function(){var e,t=this.getAttribute(a);return t!==n&&(e=o(t,n),function(t){this.setAttribute(a,e(t))})})})},ks.attrTween=function(t,i){var r=$r.ns.qualify(t);return this.tween("attr."+t,r.local?function(t,e){var n=i.call(this,t,e,this.getAttributeNS(r.space,r.local));return n&&function(t){this.setAttributeNS(r.space,r.local,n(t))}}:function(t,e){var n=i.call(this,t,e,this.getAttribute(r));return n&&function(t){this.setAttribute(r,n(t))}})},ks.style=function(i,t,r){function e(){this.style.removeProperty(i)}var n=arguments.length;if(n<3){if("string"!=typeof i){for(r in n<2&&(t=""),i)this.style(r,i[r],t);return this}r=""}return Or(this,"style."+i,t,function(n){return null==n?e:(n+="",function(){var e,t=Xr.getComputedStyle(this,null).getPropertyValue(i);return t!==n&&(e=Un(t,n),function(t){this.style.setProperty(i,e(t),r)})})})},ks.styleTween=function(i,r,o){return arguments.length<3&&(o=""),this.tween("style."+i,function(t,e){var n=r.call(this,t,e,Xr.getComputedStyle(this,null).getPropertyValue(i));return n&&function(t){this.style.setProperty(i,n(t),o)}})},ks.text=function(t){return Or(this,"text",t,Lr)},ks.remove=function(){var e=this.namespace;return this.each("end.transition",function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)})},ks.ease=function(e){var n=this.id,i=this.namespace;return arguments.length<1?this.node()[i][n].ease:("function"!=typeof e&&(e=$r.ease.apply($r,arguments)),j(this,function(t){t[i][n].ease=e}))},ks.delay=function(i){var r=this.id,o=this.namespace;return arguments.length<1?this.node()[o][r].delay:j(this,"function"==typeof i?function(t,e,n){t[o][r].delay=+i.call(t,t.__data__,e,n)}:(i=+i,function(t){t[o][r].delay=i}))},ks.duration=function(i){var r=this.id,o=this.namespace;return arguments.length<1?this.node()[o][r].duration:j(this,"function"==typeof i?function(t,e,n){t[o][r].duration=Math.max(1,i.call(t,t.__data__,e,n))}:(i=Math.max(1,i),function(t){t[o][r].duration=i}))},ks.each=function(i,n){var r=this.id,o=this.namespace;if(arguments.length<2){var t=_s,e=Ss;try{Ss=r,j(this,function(t,e,n){_s=t[o][r],i.call(t,t.__data__,e,n)})}finally{_s=t,Ss=e}}else j(this,function(t){var e=t[o][r];(e.event||(e.event=$r.dispatch("start","end","interrupt"))).on(i,n)});return this},ks.transition=function(){for(var t,e,n,i=this.id,r=++Ms,o=this.namespace,a=[],s=0,l=this.length;s<l;s++){a.push(t=[]);for(var u,c=0,h=(u=this[s]).length;c<h;c++)(e=u[c])&&Nr(e,c,o,r,{time:(n=e[o][i]).time,ease:n.ease,delay:n.delay+n.duration,duration:n.duration}),t.push(e)}return Er(a,o,r)},$r.svg.axis=function(){function n(t){t.each(function(){var t,e=$r.select(this),n=this.__chart__||T,i=this.__chart__=T.copy(),r=null==L?i.ticks?i.ticks.apply(i,O):i.domain():L,o=null==M?i.tickFormat?i.tickFormat.apply(i,O):wt:M,a=e.selectAll(".tick").data(r,i),s=a.enter().insert("g",".domain").attr("class","tick").style("opacity",xo),l=$r.transition(a.exit()).style("opacity",xo).remove(),u=$r.transition(a.order()).style("opacity",1),c=Math.max(A,0)+E,h=Gi(i),d=e.selectAll(".domain").data([0]),f=(d.enter().append("path").attr("class","domain"),$r.transition(d));s.append("line"),s.append("text");var p,g,m,v,y=s.select("line"),b=u.select("line"),x=a.select("text").text(o),w=s.select("text"),S=u.select("text"),_="top"===D||"left"===D?-1:1;if("bottom"===D||"top"===D?(t=Rr,p="x",m="y",g="x2",v="y2",x.attr("dy",_<0?"0em":".71em").style("text-anchor","middle"),f.attr("d","M"+h[0]+","+_*P+"V0H"+h[1]+"V"+_*P)):(t=Fr,p="y",m="x",g="y2",v="x2",x.attr("dy",".32em").style("text-anchor",_<0?"end":"start"),f.attr("d","M"+_*P+","+h[0]+"H0V"+h[1]+"H"+_*P)),y.attr(v,_*A),w.attr(m,_*c),b.attr(g,0).attr(v,_*A),S.attr(p,0).attr(m,_*c),i.rangeBand){var C=i,k=C.rangeBand()/2;n=i=function(t){return C(t)+k}}else n.rangeBand?n=i:l.call(t,i,n);s.call(t,n,i),u.call(t,i,i)})}var M,T=$r.scale.linear(),D=Ts,A=6,P=6,E=3,O=[10],L=null;return n.scale=function(t){return arguments.length?(T=t,n):T},n.orient=function(t){return arguments.length?(D=t in Ds?t+"":Ts,n):D},n.ticks=function(){return arguments.length?(O=arguments,n):O},n.tickValues=function(t){return arguments.length?(L=t,n):L},n.tickFormat=function(t){return arguments.length?(M=t,n):M},n.tickSize=function(t){var e=arguments.length;return e?(A=+t,P=+arguments[e-1],n):A},n.innerTickSize=function(t){return arguments.length?(A=+t,n):A},n.outerTickSize=function(t){return arguments.length?(P=+t,n):P},n.tickPadding=function(t){return arguments.length?(E=+t,n):E},n.tickSubdivide=function(){return arguments.length&&n},n};var Ts="bottom",Ds={top:1,right:1,bottom:1,left:1};$r.svg.brush=function(){function y(t){t.each(function(){var t=$r.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",a).on("touchstart.brush",a),e=t.selectAll(".background").data([0]);e.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var n=t.selectAll(".resize").data(s,wt);n.exit().remove(),n.enter().append("g").attr("class",function(t){return"resize "+t}).style("cursor",function(t){return As[t]}).append("rect").attr("x",function(t){return/[ew]$/.test(t)?-3:null}).attr("y",function(t){return/^[ns]/.test(t)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),n.style("display",y.empty()?"none":null);var i,r=$r.transition(t),o=$r.transition(e);k&&(i=Gi(k),o.attr("x",i[0]).attr("width",i[1]-i[0]),x(r)),M&&(i=Gi(M),o.attr("y",i[0]).attr("height",i[1]-i[0]),w(r)),b(r)})}function b(t){t.selectAll(".resize").attr("transform",function(t){return"translate("+T[+/e$/.test(t)]+","+D[+/^s/.test(t)]+")"})}function x(t){t.select(".extent").attr("x",T[0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",T[1]-T[0])}function w(t){t.select(".extent").attr("y",D[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",D[1]-D[0])}function a(){function t(){var t=$r.mouse(r),e=!1;i&&(t[0]+=i[0],t[1]+=i[1]),d||($r.event.altKey?(h||(h=[(T[0]+T[1])/2,(D[0]+D[1])/2]),p[0]=T[+(t[0]<h[0])],p[1]=D[+(t[1]<h[1])]):h=null),u&&n(t,k,0)&&(x(s),e=!0),c&&n(t,M,1)&&(w(s),e=!0),e&&(b(s),a({type:"brush",mode:d?"move":"resize"}))}function n(t,e,n){var i,r,o=Gi(e),a=o[0],s=o[1],l=p[n],u=n?D:T,c=u[1]-u[0];return d&&(a-=l,s-=c+l),i=(n?P:A)?Math.max(a,Math.min(s,t[n])):t[n],d?r=(i+=l)+c:(h&&(l=Math.max(a,Math.min(s,2*h[n]-i))),l<i?(r=i,i=l):r=l),u[0]!=i||u[1]!=r?(n?_=null:S=null,u[0]=i,u[1]=r,!0):void 0}function e(){t(),s.style("pointer-events","all").selectAll(".resize").style("display",y.empty()?"none":null),$r.select("body").style("cursor",null),g.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),f(),a({type:"brushend"})}var h,i,r=this,o=$r.select($r.event.target),a=C.of(r,arguments),s=$r.select(r),l=o.datum(),u=!/^(n|s)$/.test(l)&&k,c=!/^(e|w)$/.test(l)&&M,d=o.classed("extent"),f=$(),p=$r.mouse(r),g=$r.select(Xr).on("keydown.brush",function(){32==$r.event.keyCode&&(d||(h=null,p[0]-=T[1],p[1]-=D[1],d=2),L())}).on("keyup.brush",function(){32==$r.event.keyCode&&2==d&&(p[0]+=T[1],p[1]+=D[1],d=0,L())});if($r.event.changedTouches?g.on("touchmove.brush",t).on("touchend.brush",e):g.on("mousemove.brush",t).on("mouseup.brush",e),s.interrupt().selectAll("*").interrupt(),d)p[0]=T[0]-p[0],p[1]=D[0]-p[1];else if(l){var m=+/w$/.test(l),v=+/^n/.test(l);i=[T[1-m]-p[0],D[1-v]-p[1]],p[0]=T[m],p[1]=D[v]}else $r.event.altKey&&(h=p.slice());s.style("pointer-events","none").selectAll(".resize").style("display",null),$r.select("body").style("cursor",o.style("cursor")),a({type:"brushstart"}),t()}var S,_,C=I(y,"brushstart","brush","brushend"),k=null,M=null,T=[0,0],D=[0,0],A=!0,P=!0,s=Ps[0];return y.event=function(t){t.each(function(){var i=C.of(this,arguments),r={x:T,y:D,i:S,j:_},t=this.__chart__||r;this.__chart__=r,Ss?$r.select(this).transition().each("start.brush",function(){S=t.i,_=t.j,T=t.x,D=t.y,i({type:"brushstart"})}).tween("brush:brush",function(){var e=Yn(T,r.x),n=Yn(D,r.y);return S=_=null,function(t){T=r.x=e(t),D=r.y=n(t),i({type:"brush",mode:"resize"})}}).each("end.brush",function(){S=r.i,_=r.j,i({type:"brush",mode:"resize"}),i({type:"brushend"})}):(i({type:"brushstart"}),i({type:"brush",mode:"resize"}),i({type:"brushend"}))})},y.x=function(t){return arguments.length?(s=Ps[!(k=t)<<1|!M],y):k},y.y=function(t){return arguments.length?(s=Ps[!k<<1|!(M=t)],y):M},y.clamp=function(t){return arguments.length?(k&&M?(A=!!t[0],P=!!t[1]):k?A=!!t:M&&(P=!!t),y):k&&M?[A,P]:k?A:M?P:null},y.extent=function(t){var e,n,i,r,o;return arguments.length?(k&&(e=t[0],n=t[1],M&&(e=e[0],n=n[0]),S=[e,n],k.invert&&(e=k(e),n=k(n)),n<e&&(o=e,e=n,n=o),(e!=T[0]||n!=T[1])&&(T=[e,n])),M&&(i=t[0],r=t[1],k&&(i=i[1],r=r[1]),_=[i,r],M.invert&&(i=M(i),r=M(r)),r<i&&(o=i,i=r,r=o),(i!=D[0]||r!=D[1])&&(D=[i,r])),y):(k&&(S?(e=S[0],n=S[1]):(e=T[0],n=T[1],k.invert&&(e=k.invert(e),n=k.invert(n)),n<e&&(o=e,e=n,n=o))),M&&(_?(i=_[0],r=_[1]):(i=D[0],r=D[1],M.invert&&(i=M.invert(i),r=M.invert(r)),r<i&&(o=i,i=r,r=o))),k&&M?[[e,i],[n,r]]:k?[e,n]:M&&[i,r])},y.clear=function(){return y.empty()||(T=[0,0],D=[0,0],S=_=null),y},y.empty=function(){return!!k&&T[0]==T[1]||!!M&&D[0]==D[1]},$r.rebind(y,C,"on")};var As={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ps=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Es=Zo.format=na.timeFormat,Os=Es.utc,Ls=Os("%Y-%m-%dT%H:%M:%S.%LZ");Es.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?jr:Ls,jr.parse=function(t){var e=new Date(t);return isNaN(e)?null:e},jr.toString=Ls.toString,Zo.second=Pt(function(t){return new Ko(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))},function(t){return t.getSeconds()}),Zo.seconds=Zo.second.range,Zo.seconds.utc=Zo.second.utc.range,Zo.minute=Pt(function(t){return new Ko(6e4*Math.floor(t/6e4))},function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))},function(t){return t.getMinutes()}),Zo.minutes=Zo.minute.range,Zo.minutes.utc=Zo.minute.utc.range,Zo.hour=Pt(function(t){var e=t.getTimezoneOffset()/60;return new Ko(36e5*(Math.floor(t/36e5-e)+e))},function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))},function(t){return t.getHours()}),Zo.hours=Zo.hour.range,Zo.hours.utc=Zo.hour.utc.range,Zo.month=Pt(function(t){return(t=Zo.day(t)).setDate(1),t},function(t,e){t.setMonth(t.getMonth()+e)},function(t){return t.getMonth()}),Zo.months=Zo.month.range,Zo.months.utc=Zo.month.utc.range;var Is=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ns=[[Zo.second,1],[Zo.second,5],[Zo.second,15],[Zo.second,30],[Zo.minute,1],[Zo.minute,5],[Zo.minute,15],[Zo.minute,30],[Zo.hour,1],[Zo.hour,3],[Zo.hour,6],[Zo.hour,12],[Zo.day,1],[Zo.day,2],[Zo.week,1],[Zo.month,1],[Zo.month,3],[Zo.year,1]],Rs=Es.multi([[".%L",function(t){return t.getMilliseconds()}],[":%S",function(t){return t.getSeconds()}],["%I:%M",function(t){return t.getMinutes()}],["%I %p",function(t){return t.getHours()}],["%a %d",function(t){return t.getDay()&&1!=t.getDate()}],["%b %d",function(t){return 1!=t.getDate()}],["%B",function(t){return t.getMonth()}],["%Y",ve]]),Fs={range:function(t,e,n){return $r.range(Math.ceil(t/n)*n,+e,n).map(Br)},floor:wt,ceil:wt};Ns.year=Zo.year,Zo.scale=function(){return Hr($r.scale.linear(),Ns,Rs)};var js=Ns.map(function(t){return[t[0].utc,t[1]]}),Hs=Os.multi([[".%L",function(t){return t.getUTCMilliseconds()}],[":%S",function(t){return t.getUTCSeconds()}],["%I:%M",function(t){return t.getUTCMinutes()}],["%I %p",function(t){return t.getUTCHours()}],["%a %d",function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],["%b %d",function(t){return 1!=t.getUTCDate()}],["%B",function(t){return t.getUTCMonth()}],["%Y",ve]]);js.year=Zo.year.utc,Zo.scale.utc=function(){return Hr($r.scale.linear(),js,Hs)},$r.text=St(function(t){return t.responseText}),$r.json=function(t,e){return _t(t,"application/json",zr,e)},$r.html=function(t,e){return _t(t,"text/html",Wr,e)},$r.xml=St(function(t){return t.responseXML}),"function"==typeof define&&define.amd?define($r):"object"==typeof module&&module.exports&&(module.exports=$r),this.d3=$r}(),function(){function d(l,r){function t(t,e){for(var n in t){var i=t[n];delete e[i.start],delete i.start,delete i.end,i.forEach(function(t){o[t<0?~t:t]=1}),a.push(i)}}var o={},u={},c={},a=[],s=-1;return r.forEach(function(t,e){var n,i=l.arcs[t<0?~t:t];i.length<3&&!i[1][0]&&!i[1][1]&&(n=r[++s],r[s]=t,r[e]=n)}),r.forEach(function(t){var e,n,i=function(t){var e,n=l.arcs[t<0?~t:t],i=n[0];return l.transform?(e=[0,0],n.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=n[n.length-1],t<0?[e,i]:[i,e]}(t),r=i[0],o=i[1];if(e=c[r])if(delete c[e.end],e.push(t),e.end=o,n=u[o]){delete u[n.start];var a=n===e?e:e.concat(n);u[a.start=e.start]=c[a.end=n.end]=a}else u[e.start]=c[e.end]=e;else if(e=u[o])if(delete u[e.start],e.unshift(t),e.start=r,n=c[r]){delete c[n.end];var s=n===e?e:n.concat(e);u[s.start=n.start]=c[s.end=e.end]=s}else u[e.start]=c[e.end]=e;else u[(e=[t]).start=r]=c[e.end=o]=e}),t(c,u),t(u,c),r.forEach(function(t){o[t<0?~t:t]||a.push([t])}),a}function e(t,e,n){function i(t){var e=t<0?~t:t;(l[e]||(l[e]=[])).push({i:t,g:s})}function r(t){t.forEach(i)}function o(t){t.forEach(r)}var a=[];if(1<arguments.length){var s,l=[],u={LineString:r,MultiLineString:o,Polygon:o,MultiPolygon:function(t){t.forEach(o)}};(function t(e){"GeometryCollection"===e.type?e.geometries.forEach(t):e.type in u&&u[(s=e).type](e.arcs)})(e),l.forEach(arguments.length<3?function(t){a.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&a.push(t[0].i)})}else for(var c=0,h=t.arcs.length;c<h;++c)a.push(c);return{type:"MultiLineString",arcs:d(t,a)}}function i(a,t){function e(e){e.forEach(function(t){t.forEach(function(t){(l[t=t<0?~t:t]||(l[t]=[])).push(e)})}),i.push(e)}function s(t){return 0<function(t){for(var e,n=-1,i=t.length,r=t[i-1],o=0;++n<i;)e=r,r=t[n],o+=e[0]*r[1]-e[1]*r[0];return.5*o}(o(a,{type:"Polygon",arcs:[t]}).coordinates[0])}var l={},i=[],r=[];return t.forEach(function(t){"Polygon"===t.type?e(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(e)}),i.forEach(function(t){if(!t._){var e=[],n=[t];for(t._=1,r.push(e);t=n.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].forEach(function(t){t._||(t._=1,n.push(t))})})})}}),i.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:r.map(function(t){var e=[];if(t.forEach(function(t){t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].length<2&&e.push(t)})})}),e=d(a,e),1<(n=e.length))for(var i,r=s(t[0][0]),o=0;n>o;++o)if(r===s(e[o])){i=e[0],e[0]=e[o],e[o]=i;break}return e})}}function r(t,e){var n={type:"Feature",id:e.id,properties:e.properties||{},geometry:o(t,e)};return null==e.id&&delete n.id,n}function o(t,e){function r(t,e){e.length&&e.pop();for(var n,i=l[t<0?~t:t],r=0,o=i.length;r<o;++r)e.push(n=i[r].slice()),s(n,r);t<0&&function(t,e){for(var n,i=t.length,r=i-e;r<--i;)n=t[r],t[r++]=t[i],t[i]=n}(e,o)}function n(t){return t=t.slice(),s(t,0),t}function i(t){for(var e=[],n=0,i=t.length;n<i;++n)r(t[n],e);return e.length<2&&e.push(e[0].slice()),e}function o(t){for(var e=i(t);e.length<4;)e.push(e[0].slice());return e}function a(t){return t.map(o)}var s=f(t.transform),l=t.arcs,u={Point:function(t){return n(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(n)},LineString:function(t){return i(t.arcs)},MultiLineString:function(t){return t.arcs.map(i)},Polygon:function(t){return a(t.arcs)},MultiPolygon:function(t){return t.arcs.map(a)}};return function t(e){var n=e.type;return"GeometryCollection"===n?{type:n,geometries:e.geometries.map(t)}:n in u?{type:n,coordinates:u[n](e)}:null}(e)}function p(t,e){for(var n=0,i=t.length;n<i;){var r=n+i>>>1;t[r]<e?n=1+r:i=r}return n}function c(t){var e=t[0],n=t[1],i=t[2];return Math.abs((e[0]-i[0])*(n[1]-e[1])-(e[0]-n[0])*(i[1]-e[1]))}function h(t,e){return t[1][2]-e[1][2]}function f(t){if(!t)return g;var n,i,r=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=i=0),t[0]=(n+=t[0])*r+a,t[1]=(i+=t[1])*o+s}}function g(){}var t={version:"1.6.9",mesh:function(t){return o(t,e.apply(this,arguments))},meshArcs:e,merge:function(t){return o(t,i.apply(this,arguments))},mergeArcs:i,feature:function(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return r(e,t)})}:r(e,t)},neighbors:function(t){function n(t,n){t.forEach(function(t){t<0&&(t=~t);var e=r[t];e?e.push(n):r[t]=[n]})}function i(t,e){t.forEach(function(t){n(t,e)})}var r={},e=t.map(function(){return[]}),o={LineString:n,MultiLineString:i,Polygon:i,MultiPolygon:function(t,e){t.forEach(function(t){i(t,e)})}};for(var a in t.forEach(function e(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){e(t,n)}):t.type in o&&o[t.type](t.arcs,n)}),r)for(var s=r[a],l=s.length,u=0;u<l;++u)for(var c=u+1;c<l;++c){var h,d=s[u],f=s[c];(h=e[d])[a=p(h,f)]!==f&&h.splice(a,0,f),(h=e[f])[a=p(h,d)]!==d&&h.splice(a,0,d)}return e},presimplify:function(t,r){function e(t){s.remove(t),t[1][2]=r(t),s.push(t)}var o,a=f(t.transform),n=function(t){if(!t)return g;var r,o,a=t.scale[0],s=t.scale[1],l=t.translate[0],u=t.translate[1];return function(t,e){e||(r=o=0);var n=(t[0]-l)/a|0,i=(t[1]-u)/s|0;t[0]=n-r,t[1]=i-o,r=n,o=i}}(t.transform),s=function(){function i(t,e){for(;0<e;){var n=(e+1>>1)-1,i=a[n];if(0<=h(t,i))break;a[i._=e]=i,a[t._=e=n]=t}}function r(t,e){for(;;){var n=e+1<<1,i=n-1,r=e,o=a[r];if(i<s&&h(a[i],o)<0&&(o=a[r=i]),n<s&&h(a[n],o)<0&&(o=a[r=n]),r===e)break;a[o._=e]=o,a[t._=e=r]=t}}var t={},a=[],s=0;return t.push=function(t){return i(a[t._=s]=t,s++),s},t.pop=function(){if(!(s<=0)){var t,e=a[0];return 0<--s&&(t=a[s],r(a[t._=0]=t,0)),e}},t.remove=function(t){var e,n=t._;if(a[n]===t)return n!==--s&&(h(e=a[s],t)<0?i:r)(a[e._=n]=e,n),n},t}(),i=0;for(r||(r=c),t.arcs.forEach(function(t){var e=[];t.forEach(a);for(var n=1,i=t.length-1;n<i;++n)(o=t.slice(n-1,n+2))[1][2]=r(o),e.push(o),s.push(o);for(t[0][2]=t[i][2]=1/0,n=0,i=e.length;n<i;++n)(o=e[n]).previous=e[n-1],o.next=e[n+1]});o=s.pop();){var l=o.previous,u=o.next;o[1][2]<i?o[1][2]=i:i=o[1][2],l&&(l.next=u,l[2]=o[2],e(l)),u&&(u.previous=l,u[0]=o[0],e(u))}return t.arcs.forEach(function(t){t.forEach(n)}),t}};"function"==typeof define&&define.amd?define(t):"object"==typeof module&&module.exports?module.exports=t:this.topojson=t}(),function(){function u(t,e,n){void 0===n&&(n=e,optionsValues=void 0);var i=void 0!==t?t:e;if(void 0===i)return null;if("function"!=typeof i)return i;var r=[n];return n.geography&&(r=[n.geography,n.data]),i.apply(null,r)}function e(t,e){if(e=e||{},this.options.fills){var n="<dl>",i="";for(var r in e.legendTitle&&(n="<h2>"+e.legendTitle+"</h2>"+n),this.options.fills){if("defaultFill"===r){if(!e.defaultFillName)continue;i=e.defaultFillName}else i=e.labels&&e.labels[r]?e.labels[r]:r+": ";n+="<dt>"+i+"</dt>",n+='<dd style="background-color:'+this.options.fills[r]+'">&nbsp;</dd>'}n+="</dl>",h.select(this.options.element).append("div").attr("class","datamaps-legend").html(n)}}function n(){var t=h.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(t).attr("class","datamaps-graticule").attr("d",this.path)}function i(t,e,a){var s=this;if(this.svg,!e||e&&!e.slice)throw"Datamaps Error - arcs must be an array";for(var n=0;n<e.length;n++)e[n]=c(e[n],e[n].options),delete e[n].options;void 0===a&&(a=d.arcConfig);var i=t.selectAll("path.datamaps-arc").data(e,JSON.stringify),l=h.geo.path().projection(s.projection);i.enter().append("svg:path").attr("class","datamaps-arc").style("stroke-linecap","round").style("stroke",function(t){return u(t.strokeColor,a.strokeColor,t)}).style("fill","none").style("stroke-width",function(t){return u(t.strokeWidth,a.strokeWidth,t)}).attr("d",function(t){var e=s.latLngToXY(u(t.origin.latitude,t),u(t.origin.longitude,t)),n=s.latLngToXY(u(t.destination.latitude,t),u(t.destination.longitude,t)),i=[(e[0]+n[0])/2,(e[1]+n[1])/2];if(a.greatArc){var r=h.geo.greatArc().source(function(t){return[u(t.origin.longitude,t),u(t.origin.latitude,t)]}).target(function(t){return[u(t.destination.longitude,t),u(t.destination.latitude,t)]});return l(r(t))}var o=u(t.arcSharpness,a.arcSharpness,t);return"M"+e[0]+","+e[1]+"S"+(i[0]+50*o)+","+(i[1]-75*o)+","+n[0]+","+n[1]}).transition().delay(100).style("fill",function(t){var e=this.getTotalLength();return this.style.transition=this.style.WebkitTransition="none",this.style.strokeDasharray=e+" "+e,this.style.strokeDashoffset=e,this.getBoundingClientRect(),this.style.transition=this.style.WebkitTransition="stroke-dashoffset "+u(t.animationSpeed,a.animationSpeed,t)+"ms ease-out",this.style.strokeDashoffset="0","none"}),i.exit().transition().style("opacity",0).remove()}function r(l,u){var c=this;u=u||{};var h=this.projection([-67.707617,42.722131]);this.svg.selectAll(".datamaps-subunit").attr("data-foo",function(t){var e,n,i=c.path.centroid(t),r=7.5,o=5;-1<["FL","KY","MI"].indexOf(t.id)&&(r=-2.5),"NY"===t.id&&(r=-1),"MI"===t.id&&(o=18),"LA"===t.id&&(r=13),e=i[0]-r,n=i[1]+o;var a=["VT","NH","MA","RI","CT","NJ","DE","MD","DC"].indexOf(t.id);if(-1<a){var s=h[1];e=h[0],n=s+a*(2+(u.fontSize||12)),l.append("line").attr("x1",e-3).attr("y1",n-5).attr("x2",i[0]).attr("y2",i[1]).style("stroke",u.labelColor||"#000").style("stroke-width",u.lineWidth||1)}return l.append("text").attr("x",e).attr("y",n).style("font-size",(u.fontSize||10)+"px").style("font-family",u.fontFamily||"Verdana").style("fill",u.labelColor||"#000").text(t.id),"bar"})}function o(t,e,i){function n(t){return void 0!==t&&void 0!==t.latitude&&void 0!==t.longitude}var r=this,o=this.options.fills,a=this.svg;if(!e||e&&!e.slice)throw"Datamaps Error - bubbles must be an array";var s=t.selectAll("circle.datamaps-bubble").data(e,JSON.stringify);s.enter().append("svg:circle").attr("class","datamaps-bubble").attr("cx",function(t){var e;return n(t)?e=r.latLngToXY(t.latitude,t.longitude):t.centered&&(e=r.path.centroid(a.select("path."+t.centered).data()[0])),e?e[0]:void 0}).attr("cy",function(t){var e;return n(t)?e=r.latLngToXY(t.latitude,t.longitude):t.centered&&(e=r.path.centroid(a.select("path."+t.centered).data()[0])),e?e[1]:void 0}).attr("r",0).attr("data-info",function(t){return JSON.stringify(t)}).style("stroke",function(t){return u(t.borderColor,i.borderColor,t)}).style("stroke-width",function(t){return u(t.borderWidth,i.borderWidth,t)}).style("fill-opacity",function(t){return u(t.fillOpacity,i.fillOpacity,t)}).style("fill",function(t){return o[u(t.fillKey,i.fillKey,t)]||o.defaultFill}).on("mouseover",function(t){var e=h.select(this);if(i.highlightOnHover){var n={fill:e.style("fill"),stroke:e.style("stroke"),"stroke-width":e.style("stroke-width"),"fill-opacity":e.style("fill-opacity")};e.style("fill",u(t.highlightFillColor,i.highlightFillColor,t)).style("stroke",u(t.highlightBorderColor,i.highlightBorderColor,t)).style("stroke-width",u(t.highlightBorderWidth,i.highlightBorderWidth,t)).style("fill-opacity",u(t.highlightFillOpacity,i.highlightFillOpacity,t)).attr("data-previousAttributes",JSON.stringify(n))}i.popupOnHover&&r.updatePopup(e,t,i,a)}).on("mouseout",function(){var t=h.select(this);if(i.highlightOnHover){var e=JSON.parse(t.attr("data-previousAttributes"));for(var n in e)t.style(n,e[n])}h.selectAll(".datamaps-hoverover").style("display","none")}).transition().duration(400).attr("r",function(t){return u(t.radius,i.radius,t)}),s.exit().transition().delay(i.exitDelay).attr("r",0).remove()}function c(n){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t)for(var e in t)null==n[e]&&(n[e]=t[e])}),n}function l(t){if(void 0===h||void 0===a)throw new Error("Include d3.js (v3.0.3 or greater) and topojson on this page before creating a new map");return this.options=c(t,d),this.options.geographyConfig=c(t.geographyConfig,d.geographyConfig),this.options.projectionConfig=c(t.projectionConfig,d.projectionConfig),this.options.bubblesConfig=c(t.bubblesConfig,d.bubblesConfig),this.options.arcConfig=c(t.arcConfig,d.arcConfig),0<h.select(this.options.element).select("svg").length&&function(t,e,n){return this.svg=h.select(t).append("svg").attr("width",n||t.offsetWidth).attr("data-width",n||t.offsetWidth).attr("class","datamap").attr("height",e||t.offsetHeight).style("overflow","hidden"),this.options.responsive&&(h.select(this.options.element).style({position:"relative","padding-bottom":"60%"}),h.select(this.options.element).select("svg").style({position:"absolute",width:"100%",height:"100%"}),h.select(this.options.element).select("svg").select("g").selectAll("path").style("vector-effect","non-scaling-stroke")),this.svg}.call(this,this.options.element,this.options.height,this.options.width),this.addPlugin("bubbles",o),this.addPlugin("legend",e),this.addPlugin("arc",i),this.addPlugin("labels",r),this.addPlugin("graticule",n),this.options.disableDefaultStyles||h.select(".datamaps-style-block").empty()&&h.select("head").append("style").attr("class","datamaps-style-block").html('.datamap path.datamaps-graticule { fill: none; stroke: #777; stroke-width: 0.5px; stroke-opacity: .5; pointer-events: none; } .datamap .labels {pointer-events: none;} .datamap path {stroke: #FFFFFF; stroke-width: 1px;} .datamaps-legend dt, .datamaps-legend dd { float: left; margin: 0 3px 0 0;} .datamaps-legend dd {width: 20px; margin-right: 6px; border-radius: 3px;} .datamaps-legend {padding-bottom: 20px; z-index: 1001; position: absolute; left: 4px; font-size: 12px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;} .datamaps-hoverover {display: none; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .hoverinfo {padding: 4px; border-radius: 1px; background-color: #FFF; box-shadow: 1px 1px 5px #CCC; font-size: 12px; border: 1px solid #CCC; } .hoverinfo hr {border:1px dotted #CCC; }'),this.draw()}var h=window.d3,a=window.topojson,d={scope:"world",responsive:!1,setProjection:function(t,e){var n,i,r=e.width||t.offsetWidth,o=e.height||t.offsetHeight,a=this.svg;return e&&void 0===e.scope&&(e.scope="world"),"usa"===e.scope?n=h.geo.albersUsa().scale(r).translate([r/2,o/2]):"world"===e.scope&&(n=h.geo[e.projection]().scale((r+1)/2/Math.PI).translate([r/2,o/("mercator"===e.projection?1.45:1.8)])),"orthographic"===e.projection&&(a.append("defs").append("path").datum({type:"Sphere"}).attr("id","sphere").attr("d",i),a.append("use").attr("class","stroke").attr("xlink:href","#sphere"),a.append("use").attr("class","fill").attr("xlink:href","#sphere"),n.scale(250).clipAngle(90).rotate(e.projectionConfig.rotation)),{path:i=h.geo.path().projection(n),projection:n}},projection:"equirectangular",dataType:"json",data:{},done:function(){},fills:{defaultFill:"#ABDDA4"},geographyConfig:{dataUrl:null,hideAntarctica:!0,borderWidth:1,borderColor:"#FDFDFD",popupTemplate:function(t){return'<div class="hoverinfo"><strong>'+t.properties.name+"</strong></div>"},popupOnHover:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2},projectionConfig:{rotation:[97,0]},bubblesConfig:{borderWidth:2,borderColor:"#FFFFFF",popupOnHover:!0,radius:null,popupTemplate:function(t,e){return'<div class="hoverinfo"><strong>'+e.name+"</strong></div>"},fillOpacity:.75,animate:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightFillOpacity:.85,exitDelay:100},arcConfig:{strokeColor:"#DD1C77",strokeWidth:1,arcSharpness:1,animationSpeed:600}};l.prototype.resize=function(){var t=this.options;if(t.responsive){var e="-webkit-transform"in document.body.style?"-webkit-":"-moz-transform"in document.body.style?"-moz-":"-ms-transform"in document.body.style?"-ms-":"",n=t.element.clientWidth,i=h.select(t.element).select("svg").attr("data-width");h.select(t.element).select("svg").selectAll("g").style(e+"transform","scale("+n/i+")")}},l.prototype.draw=function(){function n(t){i.options.dataUrl&&h[i.options.dataType](i.options.dataUrl,function(t){if("csv"===i.options.dataType&&t&&t.slice){for(var e={},n=0;n<t.length;n++)e[t[n].id]=t[n];t=e}Datamaps.prototype.updateChoropleth.call(i,t)}),function(t){var i=this.options.fills,r=this.options.data||{},e=this.options.geographyConfig,n=this.svg.select("g.datamaps-subunits");n.empty()&&(n=this.addLayer("datamaps-subunits",null,!0));var o=a.feature(t,t.objects[this.options.scope]).features;e.hideAntarctica&&(o=o.filter(function(t){return"ATA"!==t.id})),n.selectAll("path.datamaps-subunit").data(o).enter().append("path").attr("d",this.path).attr("class",function(t){return"datamaps-subunit "+t.id}).attr("data-info",function(t){return JSON.stringify(r[t.id])}).style("fill",function(t){var e,n=r[t.id];return n&&n.fillKey&&(e=i[u(n.fillKey,{data:r[t.id],geography:t})]),void 0===e&&(e=u(n&&n.fillColor,i.defaultFill,{data:r[t.id],geography:t})),e}).style("stroke-width",e.borderWidth).style("stroke",e.borderColor)}.call(i,t),function(){var r=this.svg,o=this,a=this.options.geographyConfig;(a.highlightOnHover||a.popupOnHover)&&r.selectAll(".datamaps-subunit").on("mouseover",function(t){var e=h.select(this),n=o.options.data[t.id]||{};if(a.highlightOnHover){var i={fill:e.style("fill"),stroke:e.style("stroke"),"stroke-width":e.style("stroke-width"),"fill-opacity":e.style("fill-opacity")};e.style("fill",u(n.highlightFillColor,a.highlightFillColor,n)).style("stroke",u(n.highlightBorderColor,a.highlightBorderColor,n)).style("stroke-width",u(n.highlightBorderWidth,a.highlightBorderWidth,n)).style("fill-opacity",u(n.highlightFillOpacity,a.highlightFillOpacity,n)).attr("data-previousAttributes",JSON.stringify(i)),/((MSIE)|(Trident))/.test||function(){this.parentNode.appendChild(this)}.call(this)}a.popupOnHover&&o.updatePopup(e,t,a,r)}).on("mouseout",function(){var t=h.select(this);if(a.highlightOnHover){var e=JSON.parse(t.attr("data-previousAttributes"));for(var n in e)t.style(n,e[n])}t.on("mousemove",null),h.selectAll(".datamaps-hoverover").style("display","none")})}.call(i),(i.options.geographyConfig.popupOnHover||i.options.bubblesConfig.popupOnHover)&&(hoverover=h.select(i.options.element).append("div").attr("class","datamaps-hoverover").style("z-index",10001).style("position","absolute")),i.options.done(i)}var i=this,t=i.options,e=t.setProjection.apply(i,[t.element,t]);return this.path=e.path,this.projection=e.projection,t.geographyConfig.dataUrl?h.json(t.geographyConfig.dataUrl,function(t,e){if(t)throw new Error(t);n(i.customTopo=e)}):n(this[t.scope+"Topo"]||t.geographyConfig.dataJson),this},l.prototype.worldTopo={type:"Topology",objects:{world:{type:"GeometryCollection",geometries:[{type:"Polygon",properties:{name:"Afghanistan"},id:"AFG",arcs:[[0,1,2,3,4,5]]},{type:"MultiPolygon",properties:{name:"Angola"},id:"AGO",arcs:[[[6,7,8,9]],[[10,11,12]]]},{type:"Polygon",properties:{name:"Albania"},id:"ALB",arcs:[[13,14,15,16,17]]},{type:"Polygon",properties:{name:"United Arab Emirates"},id:"ARE",arcs:[[18,19,20,21,22]]},{type:"MultiPolygon",properties:{name:"Argentina"},id:"ARG",arcs:[[[23,24]],[[25,26,27,28,29,30]]]},{type:"Polygon",properties:{name:"Armenia"},id:"ARM",arcs:[[31,32,33,34,35]]},{type:"MultiPolygon",properties:{name:"Antarctica"},id:"ATA",arcs:[[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]]]},{type:"Polygon",properties:{name:"French Southern and Antarctic Lands"},id:"ATF",arcs:[[44]]},{type:"MultiPolygon",properties:{name:"Australia"},id:"AUS",arcs:[[[45]],[[46]]]},{type:"Polygon",properties:{name:"Austria"},id:"AUT",arcs:[[47,48,49,50,51,52,53]]},{type:"MultiPolygon",properties:{name:"Azerbaijan"},id:"AZE",arcs:[[[54,-35]],[[55,56,-33,57,58]]]},{type:"Polygon",properties:{name:"Burundi"},id:"BDI",arcs:[[59,60,61]]},{type:"Polygon",properties:{name:"Belgium"},id:"BEL",arcs:[[62,63,64,65,66]]},{type:"Polygon",properties:{name:"Benin"},id:"BEN",arcs:[[67,68,69,70,71]]},{type:"Polygon",properties:{name:"Burkina Faso"},id:"BFA",arcs:[[72,73,74,-70,75,76]]},{type:"Polygon",properties:{name:"Bangladesh"},id:"BGD",arcs:[[77,78,79]]},{type:"Polygon",properties:{name:"Bulgaria"},id:"BGR",arcs:[[80,81,82,83,84,85]]},{type:"MultiPolygon",properties:{name:"The Bahamas"},id:"BHS",arcs:[[[86]],[[87]],[[88]]]},{type:"Polygon",properties:{name:"Bosnia and Herzegovina"},id:"BIH",arcs:[[89,90,91]]},{type:"Polygon",properties:{name:"Belarus"},id:"BLR",arcs:[[92,93,94,95,96]]},{type:"Polygon",properties:{name:"Belize"},id:"BLZ",arcs:[[97,98,99]]},{type:"Polygon",properties:{name:"Bolivia"},id:"BOL",arcs:[[100,101,102,103,-31]]},{type:"Polygon",properties:{name:"Brazil"},id:"BRA",arcs:[[-27,104,-103,105,106,107,108,109,110,111,112]]},{type:"Polygon",properties:{name:"Brunei"},id:"BRN",arcs:[[113,114]]},{type:"Polygon",properties:{name:"Bhutan"},id:"BTN",arcs:[[115,116]]},{type:"Polygon",properties:{name:"Botswana"},id:"BWA",arcs:[[117,118,119,120]]},{type:"Polygon",properties:{name:"Central African Republic"},id:"CAF",arcs:[[121,122,123,124,125,126,127]]},{type:"MultiPolygon",properties:{name:"Canada"},id:"CAN",arcs:[[[128]],[[129]],[[130]],[[131]],[[132]],[[133]],[[134]],[[135]],[[136]],[[137]],[[138,139,140,141]],[[142]],[[143]],[[144]],[[145]],[[146]],[[147]],[[148]],[[149]],[[150]],[[151]],[[152]],[[153]],[[154]],[[155]],[[156]],[[157]],[[158]],[[159]],[[160]]]},{type:"Polygon",properties:{name:"Switzerland"},id:"CHE",arcs:[[-51,161,162,163]]},{type:"MultiPolygon",properties:{name:"Chile"},id:"CHL",arcs:[[[-24,164]],[[-30,165,166,-101]]]},{type:"MultiPolygon",properties:{name:"China"},id:"CHN",arcs:[[[167]],[[168,169,170,171,172,173,-117,174,175,176,177,-4,178,179,180,181,182,183]]]},{type:"Polygon",properties:{name:"Ivory Coast"},id:"CIV",arcs:[[184,185,186,187,-73,188]]},{type:"Polygon",properties:{name:"Cameroon"},id:"CMR",arcs:[[189,190,191,192,193,194,-128,195]]},{type:"Polygon",properties:{name:"Democratic Republic of the Congo"},id:"COD",arcs:[[196,197,-60,198,199,-10,200,-13,201,-126,202]]},{type:"Polygon",properties:{name:"Republic of the Congo"},id:"COG",arcs:[[-12,203,204,-196,-127,-202]]},{type:"Polygon",properties:{name:"Colombia"},id:"COL",arcs:[[205,206,207,208,209,-107,210]]},{type:"Polygon",properties:{name:"Costa Rica"},id:"CRI",arcs:[[211,212,213,214]]},{type:"Polygon",properties:{name:"Cuba"},id:"CUB",arcs:[[215]]},{type:"Polygon",properties:{name:"Northern Cyprus"},id:"-99",arcs:[[216,217]]},{type:"Polygon",properties:{name:"Cyprus"},id:"CYP",arcs:[[218,-218]]},{type:"Polygon",properties:{name:"Czech Republic"},id:"CZE",arcs:[[-53,219,220,221]]},{type:"Polygon",properties:{name:"Germany"},id:"DEU",arcs:[[222,223,-220,-52,-164,224,225,-64,226,227,228]]},{type:"Polygon",properties:{name:"Djibouti"},id:"DJI",arcs:[[229,230,231,232]]},{type:"MultiPolygon",properties:{name:"Denmark"},id:"DNK",arcs:[[[233]],[[-229,234]]]},{type:"Polygon",properties:{name:"Dominican Republic"},id:"DOM",arcs:[[235,236]]},{type:"Polygon",properties:{name:"Algeria"},id:"DZA",arcs:[[237,238,239,240,241,242,243,244]]},{type:"Polygon",properties:{name:"Ecuador"},id:"ECU",arcs:[[245,-206,246]]},{type:"Polygon",properties:{name:"Egypt"},id:"EGY",arcs:[[247,248,249,250,251]]},{type:"Polygon",properties:{name:"Eritrea"},id:"ERI",arcs:[[252,253,254,-233]]},{type:"Polygon",properties:{name:"Spain"},id:"ESP",arcs:[[255,256,257,258]]},{type:"Polygon",properties:{name:"Estonia"},id:"EST",arcs:[[259,260,261]]},{type:"Polygon",properties:{name:"Ethiopia"},id:"ETH",arcs:[[-232,262,263,264,265,266,267,-253]]},{type:"Polygon",properties:{name:"Finland"},id:"FIN",arcs:[[268,269,270,271]]},{type:"MultiPolygon",properties:{name:"Fiji"},id:"FJI",arcs:[[[272]],[[273,274]],[[275,-275]]]},{type:"Polygon",properties:{name:"Falkland Islands"},id:"FLK",arcs:[[276]]},{type:"MultiPolygon",properties:{name:"France"},id:"FRA",arcs:[[[277]],[[278,-225,-163,279,280,-257,281,-66]]]},{type:"Polygon",properties:{name:"French Guiana"},id:"GUF",arcs:[[282,283,284,285,-111]]},{type:"Polygon",properties:{name:"Gabon"},id:"GAB",arcs:[[286,287,-190,-205]]},{type:"MultiPolygon",properties:{name:"United Kingdom"},id:"GBR",arcs:[[[288,289]],[[290]]]},{type:"Polygon",properties:{name:"Georgia"},id:"GEO",arcs:[[291,292,-58,-32,293]]},{type:"Polygon",properties:{name:"Ghana"},id:"GHA",arcs:[[294,-189,-77,295]]},{type:"Polygon",properties:{name:"Guinea"},id:"GIN",arcs:[[296,297,298,299,300,301,-187]]},{type:"Polygon",properties:{name:"Gambia"},id:"GMB",arcs:[[302,303]]},{type:"Polygon",properties:{name:"Guinea Bissau"},id:"GNB",arcs:[[304,305,-300]]},{type:"Polygon",properties:{name:"Equatorial Guinea"},id:"GNQ",arcs:[[306,-191,-288]]},{type:"MultiPolygon",properties:{name:"Greece"},id:"GRC",arcs:[[[307]],[[308,-15,309,-84,310]]]},{type:"Polygon",properties:{name:"Greenland"},id:"GRL",arcs:[[311]]},{type:"Polygon",properties:{name:"Guatemala"},id:"GTM",arcs:[[312,313,-100,314,315,316]]},{type:"Polygon",properties:{name:"Guyana"},id:"GUY",arcs:[[317,318,-109,319]]},{type:"Polygon",properties:{name:"Honduras"},id:"HND",arcs:[[320,321,-316,322,323]]},{type:"Polygon",properties:{name:"Croatia"},id:"HRV",arcs:[[324,-92,325,326,327,328]]},{type:"Polygon",properties:{name:"Haiti"},id:"HTI",arcs:[[-237,329]]},{type:"Polygon",properties:{name:"Hungary"},id:"HUN",arcs:[[-48,330,331,332,333,-329,334]]},{type:"MultiPolygon",properties:{name:"Indonesia"},id:"IDN",arcs:[[[335]],[[336,337]],[[338]],[[339]],[[340]],[[341]],[[342]],[[343]],[[344,345]],[[346]],[[347]],[[348,349]],[[350]]]},{type:"Polygon",properties:{name:"India"},id:"IND",arcs:[[-177,351,-175,-116,-174,352,-80,353,354]]},{type:"Polygon",properties:{name:"Ireland"},id:"IRL",arcs:[[355,-289]]},{type:"Polygon",properties:{name:"Iran"},id:"IRN",arcs:[[356,-6,357,358,359,360,-55,-34,-57,361]]},{type:"Polygon",properties:{name:"Iraq"},id:"IRQ",arcs:[[362,363,364,365,366,367,-360]]},{type:"Polygon",properties:{name:"Iceland"},id:"ISL",arcs:[[368]]},{type:"Polygon",properties:{name:"Israel"},id:"ISR",arcs:[[369,370,371,-252,372,373,374]]},{type:"MultiPolygon",properties:{name:"Italy"},id:"ITA",arcs:[[[375]],[[376]],[[377,378,-280,-162,-50]]]},{type:"Polygon",properties:{name:"Jamaica"},id:"JAM",arcs:[[379]]},{type:"Polygon",properties:{name:"Jordan"},id:"JOR",arcs:[[-370,380,-366,381,382,-372,383]]},{type:"MultiPolygon",properties:{name:"Japan"},id:"JPN",arcs:[[[384]],[[385]],[[386]]]},{type:"Polygon",properties:{name:"Kazakhstan"},id:"KAZ",arcs:[[387,388,389,390,-181,391]]},{type:"Polygon",properties:{name:"Kenya"},id:"KEN",arcs:[[392,393,394,395,-265,396]]},{type:"Polygon",properties:{name:"Kyrgyzstan"},id:"KGZ",arcs:[[-392,-180,397,398]]},{type:"Polygon",properties:{name:"Cambodia"},id:"KHM",arcs:[[399,400,401,402]]},{type:"Polygon",properties:{name:"South Korea"},id:"KOR",arcs:[[403,404]]},{type:"Polygon",properties:{name:"Kosovo"},id:"-99",arcs:[[-18,405,406,407]]},{type:"Polygon",properties:{name:"Kuwait"},id:"KWT",arcs:[[408,409,-364]]},{type:"Polygon",properties:{name:"Laos"},id:"LAO",arcs:[[410,411,-172,412,-401]]},{type:"Polygon",properties:{name:"Lebanon"},id:"LBN",arcs:[[-374,413,414]]},{type:"Polygon",properties:{name:"Liberia"},id:"LBR",arcs:[[415,416,-297,-186]]},{type:"Polygon",properties:{name:"Libya"},id:"LBY",arcs:[[417,-245,418,419,-250,420,421]]},{type:"Polygon",properties:{name:"Sri Lanka"},id:"LKA",arcs:[[422]]},{type:"Polygon",properties:{name:"Lesotho"},id:"LSO",arcs:[[423]]},{type:"Polygon",properties:{name:"Lithuania"},id:"LTU",arcs:[[424,425,426,-93,427]]},{type:"Polygon",properties:{name:"Luxembourg"},id:"LUX",arcs:[[-226,-279,-65]]},{type:"Polygon",properties:{name:"Latvia"},id:"LVA",arcs:[[428,-262,429,-94,-427]]},{type:"Polygon",properties:{name:"Morocco"},id:"MAR",arcs:[[-242,430,431]]},{type:"Polygon",properties:{name:"Moldova"},id:"MDA",arcs:[[432,433]]},{type:"Polygon",properties:{name:"Madagascar"},id:"MDG",arcs:[[434]]},{type:"Polygon",properties:{name:"Mexico"},id:"MEX",arcs:[[435,-98,-314,436,437]]},{type:"Polygon",properties:{name:"Macedonia"},id:"MKD",arcs:[[-408,438,-85,-310,-14]]},{type:"Polygon",properties:{name:"Mali"},id:"MLI",arcs:[[439,-239,440,-74,-188,-302,441]]},{type:"Polygon",properties:{name:"Myanmar"},id:"MMR",arcs:[[442,-78,-353,-173,-412,443]]},{type:"Polygon",properties:{name:"Montenegro"},id:"MNE",arcs:[[444,-326,-91,445,-406,-17]]},{type:"Polygon",properties:{name:"Mongolia"},id:"MNG",arcs:[[446,-183]]},{type:"Polygon",properties:{name:"Mozambique"},id:"MOZ",arcs:[[447,448,449,450,451,452,453,454]]},{type:"Polygon",properties:{name:"Mauritania"},id:"MRT",arcs:[[455,456,457,-240,-440]]},{type:"Polygon",properties:{name:"Malawi"},id:"MWI",arcs:[[-455,458,459]]},{type:"MultiPolygon",properties:{name:"Malaysia"},id:"MYS",arcs:[[[460,461]],[[-349,462,-115,463]]]},{type:"Polygon",properties:{name:"Namibia"},id:"NAM",arcs:[[464,-8,465,-119,466]]},{type:"Polygon",properties:{name:"New Caledonia"},id:"NCL",arcs:[[467]]},{type:"Polygon",properties:{name:"Niger"},id:"NER",arcs:[[-75,-441,-238,-418,468,-194,469,-71]]},{type:"Polygon",properties:{name:"Nigeria"},id:"NGA",arcs:[[470,-72,-470,-193]]},{type:"Polygon",properties:{name:"Nicaragua"},id:"NIC",arcs:[[471,-324,472,-213]]},{type:"Polygon",properties:{name:"Netherlands"},id:"NLD",arcs:[[-227,-63,473]]},{type:"MultiPolygon",properties:{name:"Norway"},id:"NOR",arcs:[[[474,-272,475,476]],[[477]],[[478]],[[479]]]},{type:"Polygon",properties:{name:"Nepal"},id:"NPL",arcs:[[-352,-176]]},{type:"MultiPolygon",properties:{name:"New Zealand"},id:"NZL",arcs:[[[480]],[[481]]]},{type:"MultiPolygon",properties:{name:"Oman"},id:"OMN",arcs:[[[482,483,-22,484]],[[-20,485]]]},{type:"Polygon",properties:{name:"Pakistan"},id:"PAK",arcs:[[-178,-355,486,-358,-5]]},{type:"Polygon",properties:{name:"Panama"},id:"PAN",arcs:[[487,-215,488,-208]]},{type:"Polygon",properties:{name:"Peru"},id:"PER",arcs:[[-167,489,-247,-211,-106,-102]]},{type:"MultiPolygon",properties:{name:"Philippines"},id:"PHL",arcs:[[[490]],[[491]],[[492]],[[493]],[[494]],[[495]],[[496]]]},{type:"MultiPolygon",properties:{name:"Papua New Guinea"},id:"PNG",arcs:[[[497]],[[498]],[[-345,499]],[[500]]]},{type:"Polygon",properties:{name:"Poland"},id:"POL",arcs:[[-224,501,502,-428,-97,503,504,-221]]},{type:"Polygon",properties:{name:"Puerto Rico"},id:"PRI",arcs:[[505]]},{type:"Polygon",properties:{name:"North Korea"},id:"PRK",arcs:[[506,507,-405,508,-169]]},{type:"Polygon",properties:{name:"Portugal"},id:"PRT",arcs:[[-259,509]]},{type:"Polygon",properties:{name:"Paraguay"},id:"PRY",arcs:[[-104,-105,-26]]},{type:"Polygon",properties:{name:"Qatar"},id:"QAT",arcs:[[510,511]]},{type:"Polygon",properties:{name:"Romania"},id:"ROU",arcs:[[512,-434,513,514,-81,515,-333]]},{type:"MultiPolygon",properties:{name:"Russia"},id:"RUS",arcs:[[[516]],[[-503,517,-425]],[[518,519]],[[520]],[[521]],[[522]],[[523]],[[524]],[[525]],[[526,-507,-184,-447,-182,-391,527,-59,-293,528,529,-95,-430,-261,530,-269,-475,531,-520]],[[532]],[[533]],[[534]]]},{type:"Polygon",properties:{name:"Rwanda"},id:"RWA",arcs:[[535,-61,-198,536]]},{type:"Polygon",properties:{name:"Western Sahara"},id:"ESH",arcs:[[-241,-458,537,-431]]},{type:"Polygon",properties:{name:"Saudi Arabia"},id:"SAU",arcs:[[538,-382,-365,-410,539,-512,540,-23,-484,541]]},{type:"Polygon",properties:{name:"Sudan"},id:"SDN",arcs:[[542,543,-123,544,-421,-249,545,-254,-268,546]]},{type:"Polygon",properties:{name:"South Sudan"},id:"SSD",arcs:[[547,-266,-396,548,-203,-125,549,-543]]},{type:"Polygon",properties:{name:"Senegal"},id:"SEN",arcs:[[550,-456,-442,-301,-306,551,-304]]},{type:"MultiPolygon",properties:{name:"Solomon Islands"},id:"SLB",arcs:[[[552]],[[553]],[[554]],[[555]],[[556]]]},{type:"Polygon",properties:{name:"Sierra Leone"},id:"SLE",arcs:[[557,-298,-417]]},{type:"Polygon",properties:{name:"El Salvador"},id:"SLV",arcs:[[558,-317,-322]]},{type:"Polygon",properties:{name:"Somaliland"},id:"-99",arcs:[[-263,-231,559,560]]},{type:"Polygon",properties:{name:"Somalia"},id:"SOM",arcs:[[-397,-264,-561,561]]},{type:"Polygon",properties:{name:"Republic of Serbia"},id:"SRB",arcs:[[-86,-439,-407,-446,-90,-325,-334,-516]]},{type:"Polygon",properties:{name:"Suriname"},id:"SUR",arcs:[[562,-285,563,-283,-110,-319]]},{type:"Polygon",properties:{name:"Slovakia"},id:"SVK",arcs:[[-505,564,-331,-54,-222]]},{type:"Polygon",properties:{name:"Slovenia"},id:"SVN",arcs:[[-49,-335,-328,565,-378]]},{type:"Polygon",properties:{name:"Sweden"},id:"SWE",arcs:[[-476,-271,566]]},{type:"Polygon",properties:{name:"Swaziland"},id:"SWZ",arcs:[[567,-451]]},{type:"Polygon",properties:{name:"Syria"},id:"SYR",arcs:[[-381,-375,-415,568,569,-367]]},{type:"Polygon",properties:{name:"Chad"},id:"TCD",arcs:[[-469,-422,-545,-122,-195]]},{type:"Polygon",properties:{name:"Togo"},id:"TGO",arcs:[[570,-296,-76,-69]]},{type:"Polygon",properties:{name:"Thailand"},id:"THA",arcs:[[571,-462,572,-444,-411,-400]]},{type:"Polygon",properties:{name:"Tajikistan"},id:"TJK",arcs:[[-398,-179,-3,573]]},{type:"Polygon",properties:{name:"Turkmenistan"},id:"TKM",arcs:[[-357,574,-389,575,-1]]},{type:"Polygon",properties:{name:"East Timor"},id:"TLS",arcs:[[576,-337]]},{type:"Polygon",properties:{name:"Trinidad and Tobago"},id:"TTO",arcs:[[577]]},{type:"Polygon",properties:{name:"Tunisia"},id:"TUN",arcs:[[-244,578,-419]]},{type:"MultiPolygon",properties:{name:"Turkey"},id:"TUR",arcs:[[[-294,-36,-361,-368,-570,579]],[[-311,-83,580]]]},{type:"Polygon",properties:{name:"Taiwan"},id:"TWN",arcs:[[581]]},{type:"Polygon",properties:{name:"United Republic of Tanzania"},id:"TZA",arcs:[[-394,582,-448,-460,583,-199,-62,-536,584]]},{type:"Polygon",properties:{name:"Uganda"},id:"UGA",arcs:[[-537,-197,-549,-395,-585]]},{type:"Polygon",properties:{name:"Ukraine"},id:"UKR",arcs:[[-530,585,-514,-433,-513,-332,-565,-504,-96]]},{type:"Polygon",properties:{name:"Uruguay"},id:"URY",arcs:[[-113,586,-28]]},{type:"MultiPolygon",properties:{name:"United States of America"},id:"USA",arcs:[[[587]],[[588]],[[589]],[[590]],[[591]],[[592,-438,593,-139]],[[594]],[[595]],[[596]],[[-141,597]]]},{type:"Polygon",properties:{name:"Uzbekistan"},id:"UZB",arcs:[[-576,-388,-399,-574,-2]]},{type:"Polygon",properties:{name:"Venezuela"},id:"VEN",arcs:[[598,-320,-108,-210]]},{type:"Polygon",properties:{name:"Vietnam"},id:"VNM",arcs:[[599,-402,-413,-171]]},{type:"MultiPolygon",properties:{name:"Vanuatu"},id:"VUT",arcs:[[[600]],[[601]]]},{type:"Polygon",properties:{name:"West Bank"},id:"PSE",arcs:[[-384,-371]]},{type:"Polygon",properties:{name:"Yemen"},id:"YEM",arcs:[[602,-542,-483]]},{type:"Polygon",properties:{name:"South Africa"},id:"ZAF",arcs:[[-467,-118,603,-452,-568,-450,604],[-424]]},{type:"Polygon",properties:{name:"Zambia"},id:"ZMB",arcs:[[-459,-454,605,-120,-466,-7,-200,-584]]},{type:"Polygon",properties:{name:"Zimbabwe"},id:"ZWE",arcs:[[-604,-121,-606,-453]]}]}},arcs:[[[6700,7164],[28,-23],[21,8],[6,27],[22,9],[15,18],[6,47],[23,11],[5,21],[13,-15],[8,-2]],[[6847,7265],[16,-1],[20,-12]],[[6883,7252],[9,-7],[20,19],[9,-12],[9,27],[17,-1],[4,9],[3,24],[12,20],[15,-13],[-3,-18],[9,-3],[-3,-50],[11,-19],[10,12],[12,6],[17,27],[19,-5],[29,0]],[[7082,7268],[5,-17]],[[7087,7251],[-16,-6],[-14,-11],[-32,-7],[-30,-13],[-16,-25],[6,-25],[4,-30],[-14,-25],[1,-22],[-8,-22],[-26,2],[11,-39],[-18,-15],[-12,-35],[2,-36],[-11,-16],[-10,5],[-22,-8],[-3,-16],[-20,0],[-16,-34],[-1,-50],[-36,-24],[-19,5],[-6,-13],[-16,7],[-28,-8],[-47,30]],[[6690,6820],[25,53],[-2,38],[-21,10],[-2,38],[-9,47],[12,32],[-12,9],[7,43],[12,74]],[[5664,4412],[3,-18],[-4,-29],[5,-28],[-4,-22],[3,-20],[-58,1],[-2,-188],[19,-49],[18,-37]],[[5644,4022],[-51,-24],[-67,9],[-19,28],[-113,-3],[-4,-4],[-17,27],[-18,2],[-16,-10],[-14,-12]],[[5325,4035],[-2,38],[4,51],[9,55],[2,25],[9,53],[6,24],[16,39],[9,26],[3,44],[-1,34],[-9,21],[-7,36],[-7,35],[2,12],[8,24],[-8,57],[-6,39],[-14,38],[3,11]],[[5342,4697],[11,8],[8,-1],[10,7],[82,-1],[7,-44],[8,-35],[6,-19],[11,-31],[18,5],[9,8],[16,-8],[4,14],[7,35],[17,2],[2,10],[14,1],[-3,-22],[34,1],[1,-37],[5,-23],[-4,-36],[2,-36],[9,-22],[-1,-70],[7,5],[12,-1],[17,8],[13,-3]],[[5338,4715],[-8,45]],[[5330,4760],[12,25],[8,10],[10,-20]],[[5360,4775],[-10,-12],[-4,-16],[-1,-25],[-7,-7]],[[5571,7530],[-3,-20],[4,-25],[11,-15]],[[5583,7470],[0,-15],[-9,-9],[-2,-19],[-13,-29]],[[5559,7398],[-5,5],[0,13],[-15,19],[-3,29],[2,40],[4,18],[-4,10]],[[5538,7532],[-2,18],[12,29],[1,-11],[8,6]],[[5557,7574],[6,-16],[7,-6],[1,-22]],[[6432,6490],[5,3],[1,-16],[22,9],[23,-2],[17,-1],[19,39],[20,38],[18,37]],[[6557,6597],[5,-20]],[[6562,6577],[4,-47]],[[6566,6530],[-14,0],[-3,-39],[5,-8],[-12,-12],[0,-24],[-8,-24],[-1,-24]],[[6533,6399],[-6,-12],[-83,29],[-11,60],[-1,14]],[[3140,1814],[-17,2],[-30,0],[0,132]],[[3093,1948],[11,-27],[14,-45],[36,-35],[39,-15],[-13,-30],[-26,-2],[-14,20]],[[3258,3743],[51,-96],[23,-9],[34,-44],[29,-23],[4,-26],[-28,-90],[28,-16],[32,-9],[22,10],[25,45],[4,52]],[[3482,3537],[14,11],[14,-34],[-1,-47],[-23,-33],[-19,-24],[-31,-57],[-37,-81]],[[3399,3272],[-7,-47],[-7,-61],[0,-58],[-6,-14],[-2,-38]],[[3377,3054],[-2,-31],[35,-50],[-4,-41],[18,-26],[-2,-29],[-26,-75],[-42,-32],[-55,-12],[-31,6],[6,-36],[-6,-44],[5,-30],[-16,-20],[-29,-8],[-26,21],[-11,-15],[4,-59],[18,-18],[16,19],[8,-31],[-26,-18],[-22,-37],[-4,-59],[-7,-32],[-26,0],[-22,-31],[-8,-44],[28,-43],[26,-12],[-9,-53],[-33,-33],[-18,-70],[-25,-23],[-12,-28],[9,-61],[19,-34],[-12,3]],[[3095,1968],[-26,9],[-67,8],[-11,34],[0,45],[-18,-4],[-10,21],[-3,63],[22,26],[9,37],[-4,30],[15,51],[10,78],[-3,35],[12,11],[-3,22],[-13,12],[10,25],[-13,22],[-6,68],[11,12],[-5,72],[7,61],[7,52],[17,22],[-9,58],[0,54],[21,38],[-1,50],[16,57],[0,55],[-7,11],[-13,102],[17,60],[-2,58],[10,53],[18,56],[20,36],[-9,24],[6,19],[-1,98],[30,29],[10,62],[-3,14]],[[3136,3714],[23,54],[36,-15],[16,-42],[11,47],[32,-2],[4,-13]],[[6210,7485],[39,9]],[[6249,7494],[5,-15],[11,-10],[-6,-15],[15,-21],[-8,-18],[12,-16],[13,-10],[0,-41]],[[6291,7348],[-10,-2]],[[6281,7346],[-11,34],[0,10],[-12,-1],[-9,16],[-5,-1]],[[6244,7404],[-11,17],[-21,15],[3,28],[-5,21]],[[3345,329],[-8,-30],[-8,-27],[-59,8],[-62,-3],[-34,20],[0,2],[-16,17],[63,-2],[60,-6],[20,24],[15,21],[29,-24]],[[577,361],[-53,-8],[-36,21],[-17,21],[-1,3],[-18,16],[17,22],[52,-9],[28,-18],[21,-21],[7,-27]],[[3745,447],[35,-26],[12,-36],[3,-25],[1,-30],[-43,-19],[-45,-15],[-52,-14],[-59,-11],[-65,3],[-37,20],[5,24],[59,16],[24,20],[18,26],[12,22],[17,20],[18,25],[14,0],[41,12],[42,-12]],[[1633,715],[36,-9],[33,10],[-16,-20],[-26,-15],[-39,4],[-27,21],[6,20],[33,-11]],[[1512,716],[43,-23],[-17,3],[-36,5],[-38,17],[20,12],[28,-14]],[[2250,808],[31,-8],[30,7],[17,-34],[-22,5],[-34,-2],[-34,2],[-38,-4],[-28,12],[-15,24],[18,11],[35,-8],[40,-5]],[[3098,866],[4,-27],[-5,-23],[-8,-22],[-33,-8],[-31,-12],[-36,1],[14,24],[-33,-9],[-31,-8],[-21,18],[-2,24],[30,23],[20,7],[32,-2],[8,30],[1,22],[0,47],[16,28],[25,9],[15,-22],[6,-22],[12,-26],[10,-26],[7,-26]],[[3371,1268],[-11,-13],[-21,9],[-23,-6],[-19,-14],[-20,-15],[-14,-17],[-4,-23],[2,-22],[13,-20],[-19,-14],[-26,-4],[-15,-20],[-17,-19],[-17,-25],[-4,-22],[9,-24],[15,-19],[23,-14],[21,-18],[12,-23],[6,-22],[8,-24],[13,-19],[8,-22],[4,-55],[8,-22],[2,-23],[9,-23],[-4,-31],[-15,-24],[-17,-20],[-37,-8],[-12,-21],[-17,-20],[-42,-22],[-37,-9],[-35,-13],[-37,-13],[-22,-24],[-45,-2],[-49,2],[-44,-4],[-47,0],[9,-24],[42,-10],[31,-16],[18,-21],[-31,-19],[-48,6],[-40,-15],[-2,-24],[-1,-23],[33,-20],[6,-22],[35,-22],[59,-9],[50,-16],[40,-19],[50,-18],[70,-10],[68,-16],[47,-17],[52,-20],[27,-28],[13,-22],[34,21],[46,17],[48,19],[58,15],[49,16],[69,1],[68,-8],[56,-14],[18,26],[39,17],[70,1],[55,13],[52,13],[58,8],[62,10],[43,15],[-20,21],[-12,21],[0,22],[-54,-2],[-57,-10],[-54,0],[-8,22],[4,44],[12,13],[40,14],[47,14],[34,17],[33,18],[25,23],[38,10],[38,8],[19,5],[43,2],[41,8],[34,12],[34,14],[30,14],[39,18],[24,20],[26,17],[9,24],[-30,13],[10,25],[18,18],[29,12],[31,14],[28,18],[22,23],[13,28],[21,16],[33,-3],[13,-20],[34,-2],[1,22],[14,23],[30,-6],[7,-22],[33,-3],[36,10],[35,7],[31,-3],[12,-25],[31,20],[28,10],[31,9],[31,8],[29,14],[31,9],[24,13],[17,20],[20,-15],[29,8],[20,-27],[16,-21],[32,11],[12,24],[28,16],[37,-4],[11,-22],[22,22],[30,7],[33,3],[29,-2],[31,-7],[30,-3],[13,-20],[18,-17],[31,10],[32,3],[32,0],[31,1],[28,8],[29,7],[25,16],[26,11],[28,5],[21,17],[15,32],[16,20],[29,-10],[11,-21],[24,-13],[29,4],[19,-21],[21,-15],[28,14],[10,26],[25,10],[29,20],[27,8],[33,11],[22,13],[22,14],[22,13],[26,-7],[25,21],[18,16],[26,-1],[23,14],[6,21],[23,16],[23,11],[28,10],[25,4],[25,-3],[26,-6],[22,-16],[3,-26],[24,-19],[17,-17],[33,-7],[19,-16],[23,-16],[26,-3],[23,11],[24,24],[26,-12],[27,-7],[26,-7],[27,-5],[28,0],[23,-61],[-1,-15],[-4,-27],[-26,-15],[-22,-22],[4,-23],[31,1],[-4,-23],[-14,-22],[-13,-24],[21,-19],[32,-6],[32,11],[15,23],[10,22],[15,18],[17,18],[7,21],[15,29],[18,5],[31,3],[28,7],[28,9],[14,23],[8,22],[19,22],[27,15],[23,12],[16,19],[15,11],[21,9],[27,-6],[25,6],[28,7],[30,-4],[20,17],[14,39],[11,-16],[13,-28],[23,-12],[27,-4],[26,7],[29,-5],[26,-1],[17,6],[24,-4],[21,-12],[25,8],[30,0],[25,8],[29,-8],[19,19],[14,20],[19,16],[35,44],[18,-8],[21,-16],[18,-21],[36,-36],[27,-1],[25,0],[30,7],[30,8],[23,16],[19,18],[31,2],[21,13],[22,-12],[14,-18],[19,-19],[31,2],[19,-15],[33,-15],[35,-5],[29,4],[21,19],[19,18],[25,5],[25,-8],[29,-6],[26,9],[25,0],[24,-6],[26,-5],[25,10],[30,9],[28,3],[32,0],[25,5],[25,5],[8,29],[1,24],[17,-16],[5,-27],[10,-24],[11,-20],[23,-10],[32,4],[36,1],[25,3],[37,0],[26,1],[36,-2],[31,-5],[20,-18],[-5,-22],[18,-18],[30,-13],[31,-15],[35,-11],[38,-9],[28,-9],[32,-2],[18,20],[24,-16],[21,-19],[25,-13],[34,-6],[32,-7],[13,-23],[32,-14],[21,-21],[31,-9],[32,1],[30,-4],[33,1],[34,-4],[31,-8],[28,-14],[29,-12],[20,-17],[-3,-23],[-15,-21],[-13,-27],[-9,-21],[-14,-24],[-36,-9],[-16,-21],[-36,-13],[-13,-23],[-19,-22],[-20,-18],[-11,-25],[-7,-22],[-3,-26],[0,-22],[16,-23],[6,-22],[13,-21],[52,-8],[11,-26],[-50,-9],[-43,-13],[-52,-2],[-24,-34],[-5,-27],[-12,-22],[-14,-22],[37,-20],[14,-24],[24,-22],[33,-20],[39,-19],[42,-18],[64,-19],[14,-29],[80,-12],[5,-5],[21,-17],[77,15],[63,-19],[48,-14],[-9997,-1],[24,35],[50,-19],[3,2],[30,19],[4,0],[3,-1],[40,-25],[35,25],[7,3],[81,11],[27,-14],[13,-7],[41,-20],[79,-15],[63,-18],[107,-14],[80,16],[118,-11],[67,-19],[73,17],[78,17],[6,27],[-110,3],[-89,14],[-24,23],[-74,12],[5,27],[10,24],[10,22],[-5,25],[-46,16],[-22,21],[-43,18],[68,-3],[64,9],[40,-20],[50,18],[45,22],[23,19],[-10,25],[-36,16],[-41,17],[-57,4],[-50,8],[-54,6],[-18,22],[-36,18],[-21,21],[-9,67],[14,-6],[25,-18],[45,6],[44,8],[23,-26],[44,6],[37,13],[35,16],[32,20],[41,5],[-1,22],[-9,22],[8,21],[36,11],[16,-20],[42,12],[32,15],[40,1],[38,6],[37,13],[30,13],[34,13],[22,-4],[19,-4],[41,8],[37,-10],[38,1],[37,8],[37,-6],[41,-6],[39,3],[40,-2],[42,-1],[38,3],[28,17],[34,9],[35,-13],[33,11],[30,21],[18,-19],[9,-21],[18,-19],[29,17],[33,-22],[38,-7],[32,-16],[39,3],[36,11],[41,-3],[38,-8],[38,-10],[15,25],[-18,20],[-14,21],[-36,5],[-15,22],[-6,22],[-10,43],[21,-8],[36,-3],[36,3],[33,-9],[28,-17],[12,-21],[38,-4],[36,9],[38,11],[34,7],[28,-14],[37,5],[24,45],[23,-27],[32,-10],[34,6],[23,-23],[37,-3],[33,-7],[34,-12],[21,22],[11,20],[28,-23],[38,6],[28,-13],[19,-19],[37,5],[29,13],[29,15],[33,8],[39,7],[36,8],[27,13],[16,19],[7,25],[-3,24],[-9,24],[-10,23],[-9,23],[-7,21],[-1,23],[2,23],[13,22],[11,24],[5,23],[-6,26],[-3,23],[14,27],[15,17],[18,22],[19,19],[22,17],[11,25],[15,17],[18,15],[26,3],[18,19],[19,11],[23,7],[20,15],[16,19],[22,7],[16,-15],[-10,-20],[-29,-17]],[[6914,2185],[18,-19],[26,-7],[1,-11],[-7,-27],[-43,-4],[-1,31],[4,25],[2,12]],[[9038,2648],[27,-21],[15,8],[22,12],[16,-4],[2,-70],[-9,-21],[-3,-47],[-10,16],[-19,-41],[-6,3],[-17,2],[-17,50],[-4,39],[-16,52],[1,27],[18,-5]],[[8987,4244],[10,-46],[18,22],[9,-25],[13,-23],[-3,-26],[6,-51],[5,-29],[7,-7],[7,-51],[-3,-30],[9,-40],[31,-31],[19,-28],[19,-26],[-4,-14],[16,-37],[11,-64],[11,13],[11,-26],[7,9],[5,-63],[19,-36],[13,-22],[22,-48],[8,-48],[1,-33],[-2,-37],[13,-50],[-2,-52],[-5,-28],[-7,-52],[1,-34],[-6,-43],[-12,-53],[-21,-29],[-10,-46],[-9,-29],[-8,-51],[-11,-30],[-7,-44],[-4,-41],[2,-18],[-16,-21],[-31,-2],[-26,-24],[-13,-23],[-17,-26],[-23,27],[-17,10],[5,31],[-15,-11],[-25,-43],[-24,16],[-15,9],[-16,4],[-27,17],[-18,37],[-5,45],[-7,30],[-13,24],[-27,7],[9,28],[-7,44],[-13,-41],[-25,-11],[14,33],[5,34],[10,29],[-2,44],[-22,-50],[-18,-21],[-10,-47],[-22,25],[1,31],[-18,43],[-14,22],[5,14],[-36,35],[-19,2],[-27,29],[-50,-6],[-36,-21],[-31,-20],[-27,4],[-29,-30],[-24,-14],[-6,-31],[-10,-24],[-23,-1],[-18,-5],[-24,10],[-20,-6],[-19,-3],[-17,-31],[-8,2],[-14,-16],[-13,-19],[-21,2],[-18,0],[-30,38],[-15,11],[1,34],[14,8],[4,14],[-1,21],[4,41],[-3,35],[-15,60],[-4,33],[1,34],[-11,38],[-1,18],[-12,23],[-4,47],[-16,46],[-4,26],[13,-26],[-10,55],[14,-17],[8,-23],[0,30],[-14,47],[-3,18],[-6,18],[3,34],[6,15],[4,29],[-3,35],[11,42],[2,-45],[12,41],[22,20],[14,25],[21,22],[13,4],[7,-7],[22,22],[17,6],[4,13],[8,6],[15,-2],[29,18],[15,26],[7,31],[17,30],[1,24],[1,32],[19,50],[12,-51],[12,12],[-10,28],[9,29],[12,-13],[3,45],[15,29],[7,23],[14,10],[0,17],[13,-7],[0,15],[12,8],[14,8],[20,-27],[16,-35],[17,0],[18,-6],[-6,33],[13,47],[13,15],[-5,15],[12,34],[17,21],[14,-7],[24,11],[-1,30],[-20,19],[15,9],[18,-15],[15,-24],[23,-15],[8,6],[17,-18],[17,17],[10,-5],[7,11],[12,-29],[-7,-32],[-11,-24],[-9,-2],[3,-23],[-8,-30],[-10,-29],[2,-17],[22,-32],[21,-19],[15,-20],[20,-35],[8,0],[14,-15],[4,-19],[27,-20],[18,20],[6,32],[5,26],[4,33],[8,47],[-4,28],[2,17],[-3,34],[4,45],[5,12],[-4,20],[7,31],[5,32],[1,17],[10,22],[8,-29],[2,-37],[7,-7],[1,-25],[10,-30],[2,-33],[-1,-22]],[[5471,7900],[-2,-24],[-16,0],[6,-13],[-9,-38]],[[5450,7825],[-6,-10],[-24,-1],[-14,-13],[-23,4]],[[5383,7805],[-40,15],[-6,21],[-27,-10],[-4,-12],[-16,9]],[[5290,7828],[-15,1],[-12,11],[4,15],[-1,10]],[[5266,7865],[8,3],[14,-16],[4,16],[25,-3],[20,11],[13,-2],[9,-12],[2,10],[-4,38],[10,8],[10,27]],[[5377,7945],[21,-19],[15,24],[10,5],[22,-18],[13,3],[13,-12]],[[5471,7928],[-3,-7],[3,-21]],[[6281,7346],[-19,8],[-14,27],[-4,23]],[[6349,7527],[15,-31],[14,-42],[13,-2],[8,-16],[-23,-5],[-5,-46],[-4,-21],[-11,-13],[1,-30]],[[6357,7321],[-7,-3],[-17,31],[10,30],[-9,17],[-10,-4],[-33,-44]],[[6249,7494],[6,10],[21,-17],[15,-4],[4,7],[-14,32],[7,9]],[[6288,7531],[8,-2],[19,-36],[13,-4],[4,15],[17,23]],[[5814,4792],[-1,71],[-7,27]],[[5806,4890],[17,-5],[8,34],[15,-4]],[[5846,4915],[1,-23],[6,-14],[1,-19],[-7,-12],[-11,-31],[-10,-22],[-12,-2]],[[5092,8091],[20,-5],[26,12],[17,-25],[16,-14]],[[5171,8059],[-4,-40]],[[5167,8019],[-7,-2],[-3,-33]],[[5157,7984],[-24,26],[-14,-4],[-20,28],[-13,23],[-13,1],[-4,21]],[[5069,8079],[23,12]],[[5074,5427],[-23,-7]],[[5051,5420],[-7,41],[2,136],[-6,12],[-1,29],[-10,21],[-8,17],[3,31]],[[5024,5707],[10,7],[6,26],[13,5],[6,18]],[[5059,5763],[10,17],[10,0],[21,-34]],[[5100,5746],[-1,-19],[6,-35],[-6,-24],[3,-16],[-13,-37],[-9,-18],[-5,-37],[1,-38],[-2,-95]],[[4921,5627],[-19,15],[-13,-2],[-10,-15],[-12,13],[-5,19],[-13,13]],[[4849,5670],[-1,34],[7,26],[-1,20],[23,48],[4,41],[7,14],[14,-8],[11,12],[4,16],[22,26],[5,19],[26,24],[15,9],[7,-12],[18,0]],[[5010,5939],[-2,-28],[3,-27],[16,-39],[1,-28],[32,-14],[-1,-40]],[[5024,5707],[-24,1]],[[5e3,5708],[-13,5],[-9,-9],[-12,4],[-48,-3],[-1,-33],[4,-45]],[[7573,6360],[0,-43],[-10,9],[2,-47]],[[7565,6279],[-8,30],[-1,31],[-6,28],[-11,34],[-26,3],[3,-25],[-9,-32],[-12,12],[-4,-11],[-8,6],[-11,5]],[[7472,6360],[-4,49],[-10,45],[5,35],[-17,16],[6,22],[18,22],[-20,31],[9,40],[22,-26],[14,-3],[2,-41],[26,-8],[26,1],[16,-10],[-13,-50],[-12,-3],[-9,-34],[16,-31],[4,38],[8,0],[14,-93]],[[5629,7671],[8,-25],[11,5],[21,-9],[41,-4],[13,16],[33,13],[20,-21],[17,-6]],[[5793,7640],[-15,-25],[-10,-42],[9,-34]],[[5777,7539],[-24,8],[-28,-18]],[[5725,7529],[0,-30],[-26,-5],[-19,20],[-22,-16],[-21,2]],[[5637,7500],[-2,39],[-14,19]],[[5621,7558],[5,8],[-3,7],[4,19],[11,18],[-14,26],[-2,21],[7,14]],[[2846,6461],[-7,-3],[-7,34],[-10,17],[6,38],[8,-3],[10,-49],[0,-34]],[[2838,6628],[-30,-10],[-2,22],[13,5],[18,-2],[1,-15]],[[2861,6628],[-5,-42],[-5,8],[0,31],[-12,23],[0,7],[22,-27]],[[5527,7708],[10,0],[-7,-26],[14,-23],[-4,-28],[-7,-2]],[[5533,7629],[-5,-6],[-9,-13],[-4,-33]],[[5515,7577],[-25,23],[-10,24],[-11,13],[-12,22],[-6,19],[-14,27],[6,25],[10,-14],[6,12],[13,2],[24,-10],[19,1],[12,-13]],[[5652,8242],[27,0],[30,22],[6,34],[23,19],[-3,26]],[[5735,8343],[17,10],[30,23]],[[5782,8376],[29,-15],[4,-15],[15,7],[27,-14],[3,-27],[-6,-16],[17,-39],[12,-11],[-2,-11],[19,-10],[8,-16],[-11,-13],[-23,2],[-5,-5],[7,-20],[6,-37]],[[5882,8136],[-23,-4],[-9,-13],[-2,-30],[-11,6],[-25,-3],[-7,14],[-11,-10],[-10,8],[-22,1],[-31,15],[-28,4],[-22,-1],[-15,-16],[-13,-2]],[[5653,8105],[-1,26],[-8,27],[17,12],[0,24],[-8,22],[-1,26]],[[2524,6110],[-1,8],[4,3],[5,-7],[10,36],[5,0]],[[2547,6150],[0,-8],[5,-1],[0,-16],[-5,-25],[3,-9],[-3,-21],[2,-6],[-4,-30],[-5,-16],[-5,-1],[-6,-21]],[[2529,5996],[-8,0],[2,67],[1,47]],[[3136,3714],[-20,-8],[-11,82],[-15,66],[9,57],[-15,25],[-4,43],[-13,40]],[[3067,4019],[17,64],[-12,49],[7,20],[-5,22],[10,30],[1,50],[1,41],[6,20],[-24,96]],[[3068,4411],[21,-5],[14,1],[6,18],[25,24],[14,22],[37,10],[-3,-44],[3,-23],[-2,-40],[30,-53],[31,-9],[11,-23],[19,-11],[11,-17],[18,0],[16,-17],[1,-34],[6,-18],[0,-25],[-8,-1],[11,-69],[53,-2],[-4,-35],[3,-23],[15,-16],[6,-37],[-4,-47],[-8,-26],[3,-33],[-9,-12]],[[3384,3866],[-1,18],[-25,30],[-26,1],[-49,-17],[-13,-52],[-1,-32],[-11,-71]],[[3482,3537],[6,34],[3,35],[1,32],[-10,11],[-11,-9],[-10,2],[-4,23],[-2,54],[-5,18],[-19,16],[-11,-12],[-30,11],[2,81],[-8,33]],[[3068,4411],[-15,-11],[-13,7],[2,90],[-23,-35],[-24,2],[-11,31],[-18,4],[5,25],[-15,36],[-11,53],[7,11],[0,25],[17,17],[-3,32],[7,20],[2,28],[32,40],[22,11],[4,9],[25,-2]],[[3058,4804],[13,162],[0,25],[-4,34],[-12,22],[0,42],[15,10],[6,-6],[1,23],[-16,6],[-1,37],[54,-2],[10,21],[7,-19],[6,-35],[5,8]],[[3142,5132],[15,-32],[22,4],[5,18],[21,14],[11,10],[4,25],[19,17],[-1,12],[-24,5],[-3,37],[1,40],[-13,15],[5,6],[21,-8],[22,-15],[8,14],[20,9],[31,23],[10,22],[-3,17]],[[3313,5365],[14,2],[7,-13],[-4,-26],[9,-9],[7,-28],[-8,-20],[-4,-51],[7,-30],[2,-27],[17,-28],[14,-3],[3,12],[8,3],[13,10],[9,16],[15,-5],[7,2]],[[3429,5170],[15,-5],[3,12],[-5,12],[3,17],[11,-5],[13,6],[16,-13]],[[3485,5194],[12,-12],[9,16],[6,-3],[4,-16],[13,4],[11,22],[8,44],[17,54]],[[3565,5303],[9,3],[7,-33],[16,-103],[14,-10],[1,-41],[-21,-48],[9,-18],[49,-9],[1,-60],[21,39],[35,-21],[46,-36],[14,-35],[-5,-32],[33,18],[54,-32],[41,3],[41,-49],[36,-66],[21,-17],[24,-3],[10,-18],[9,-76],[5,-35],[-11,-98],[-14,-39],[-39,-82],[-18,-67],[-21,-51],[-7,-1],[-7,-43],[2,-111],[-8,-91],[-3,-39],[-9,-23],[-5,-79],[-28,-77],[-5,-61],[-22,-26],[-7,-35],[-30,0],[-44,-23],[-19,-26],[-31,-18],[-33,-47],[-23,-58],[-5,-44],[5,-33],[-5,-60],[-6,-28],[-20,-33],[-31,-104],[-24,-47],[-19,-27],[-13,-57],[-18,-33]],[[3517,3063],[-8,33],[13,28],[-16,40],[-22,33],[-29,38],[-10,-2],[-28,46],[-18,-7]],[[8172,5325],[11,22],[23,32]],[[8206,5379],[-1,-29],[-2,-37],[-13,1],[-6,-20],[-12,31]],[[7546,6698],[12,-19],[-2,-36],[-23,-2],[-23,4],[-18,-9],[-25,22],[-1,12]],[[7466,6670],[19,44],[15,15],[20,-14],[14,-1],[12,-16]],[[5817,3752],[-39,-43],[-25,-44],[-10,-40],[-8,-22],[-15,-4],[-5,-29],[-3,-18],[-17,-14],[-23,3],[-13,17],[-12,7],[-14,-14],[-6,-28],[-14,-18],[-13,-26],[-20,-6],[-6,20],[2,36],[-16,56],[-8,9]],[[5552,3594],[0,173],[27,2],[1,210],[21,2],[43,21],[10,-24],[18,23],[9,0],[15,13]],[[5696,4014],[5,-4]],[[5701,4010],[11,-48],[5,-10],[9,-34],[32,-65],[12,-7],[0,-20],[8,-38],[21,-9],[18,-27]],[[5424,5496],[23,4],[5,16],[5,-2],[7,-13],[34,23],[12,23],[15,20],[-3,21],[8,6],[27,-4],[26,27],[20,65],[14,24],[18,10]],[[5635,5716],[3,-26],[16,-36],[0,-25],[-5,-24],[2,-18],[10,-18]],[[5661,5569],[21,-25]],[[5682,5544],[15,-24],[0,-19],[19,-31],[12,-26],[7,-35],[20,-24],[5,-18]],[[5760,5367],[-9,-7],[-18,2],[-21,6],[-10,-5],[-5,-14],[-9,-2],[-10,12],[-31,-29],[-13,6],[-4,-5],[-8,-35],[-21,11],[-20,6],[-18,22],[-23,20],[-15,-19],[-10,-30],[-3,-41]],[[5512,5265],[-18,3],[-19,10],[-16,-32],[-15,-55]],[[5444,5191],[-3,18],[-1,27],[-13,19],[-10,30],[-2,21],[-13,31],[2,18],[-3,25],[2,45],[7,11],[14,60]],[[3231,7808],[20,-8],[26,1],[-14,-24],[-10,-4],[-35,25],[-7,20],[10,18],[10,-28]],[[3283,7958],[-14,-1],[-36,19],[-26,28],[10,5],[37,-15],[28,-25],[1,-11]],[[1569,7923],[-14,-8],[-46,27],[-8,21],[-25,21],[-5,16],[-28,11],[-11,32],[2,14],[30,-13],[17,-9],[26,-6],[9,-21],[14,-28],[28,-24],[11,-33]],[[3440,8052],[-18,-52],[18,20],[19,-12],[-10,-21],[25,-16],[12,14],[28,-18],[-8,-43],[19,10],[4,-32],[8,-36],[-11,-52],[-13,-2],[-18,11],[6,48],[-8,8],[-32,-52],[-17,2],[20,28],[-27,14],[-30,-3],[-54,2],[-4,17],[17,21],[-12,16],[24,36],[28,94],[18,33],[24,21],[13,-3],[-6,-16],[-15,-37]],[[1313,8250],[27,5],[-8,-67],[24,-48],[-11,0],[-17,27],[-10,27],[-14,19],[-5,26],[1,19],[13,-8]],[[2798,8730],[-11,-31],[-12,5],[-8,17],[2,4],[10,18],[12,-1],[7,-12]],[[2725,8762],[-33,-32],[-19,1],[-6,16],[20,27],[38,0],[0,-12]],[[2634,8936],[5,-26],[15,9],[16,-15],[30,-20],[32,-19],[2,-28],[21,5],[20,-20],[-25,-18],[-43,14],[-16,26],[-27,-31],[-40,-31],[-9,35],[-38,-6],[24,30],[4,46],[9,54],[20,-5]],[[2892,9024],[-31,-3],[-7,29],[12,34],[26,8],[21,-17],[1,-25],[-4,-8],[-18,-18]],[[2343,9140],[-17,-21],[-38,18],[-22,-6],[-38,26],[24,19],[19,25],[30,-16],[17,-11],[8,-11],[17,-23]],[[3135,7724],[-18,33],[0,81],[-13,17],[-18,-10],[-10,16],[-21,-45],[-8,-46],[-10,-27],[-12,-9],[-9,-3],[-3,-15],[-51,0],[-42,0],[-12,-11],[-30,-42],[-3,-5],[-9,-23],[-26,0],[-27,0],[-12,-10],[4,-11],[2,-18],[0,-6],[-36,-30],[-29,-9],[-32,-31],[-7,0],[-10,9],[-3,8],[1,6],[6,21],[13,33],[8,35],[-5,51],[-6,53],[-29,28],[3,11],[-4,7],[-8,0],[-5,9],[-2,14],[-5,-6],[-7,2],[1,6],[-6,6],[-3,15],[-21,19],[-23,20],[-27,23],[-26,21],[-25,-17],[-9,0],[-34,15],[-23,-8],[-27,19],[-28,9],[-19,4],[-9,10],[-5,32],[-9,0],[-1,-23],[-57,0],[-95,0],[-94,0],[-84,0],[-83,0],[-82,0],[-85,0],[-27,0],[-82,0],[-79,0]],[[1588,7952],[-4,0],[-54,58],[-20,26],[-50,24],[-15,53],[3,36],[-35,25],[-5,48],[-34,43],[0,30]],[[1374,8295],[15,29],[0,37],[-48,37],[-28,68],[-17,42],[-26,27],[-19,24],[-14,31],[-28,-20],[-27,-33],[-25,39],[-19,26],[-27,16],[-28,2],[0,337],[1,219]],[[1084,9176],[51,-14],[44,-29],[29,-5],[24,24],[34,19],[41,-7],[42,26],[45,14],[20,-24],[20,14],[6,27],[20,-6],[47,-53],[37,40],[3,-45],[34,10],[11,17],[34,-3],[42,-25],[65,-22],[38,-10],[28,4],[37,-30],[-39,-29],[50,-13],[75,7],[24,11],[29,-36],[31,30],[-29,25],[18,20],[34,3],[22,6],[23,-14],[28,-32],[31,5],[49,-27],[43,9],[40,-1],[-3,37],[25,10],[43,-20],[0,-56],[17,47],[23,-1],[12,59],[-30,36],[-32,24],[2,65],[33,43],[37,-9],[28,-26],[38,-67],[-25,-29],[52,-12],[-1,-60],[38,46],[33,-38],[-9,-44],[27,-40],[29,43],[21,51],[1,65],[40,-5],[41,-8],[37,-30],[2,-29],[-21,-31],[20,-32],[-4,-29],[-54,-41],[-39,-9],[-29,18],[-8,-30],[-27,-50],[-8,-26],[-32,-40],[-40,-4],[-22,-25],[-2,-38],[-32,-7],[-34,-48],[-30,-67],[-11,-46],[-1,-69],[40,-10],[13,-55],[13,-45],[39,12],[51,-26],[28,-22],[20,-28],[35,-17],[29,-24],[46,-4],[30,-6],[-4,-51],[8,-59],[21,-66],[41,-56],[21,19],[15,61],[-14,93],[-20,31],[45,28],[31,41],[16,41],[-3,40],[-19,50],[-33,44],[32,62],[-12,54],[-9,92],[19,14],[48,-16],[29,-6],[23,15],[25,-20],[35,-34],[8,-23],[50,-4],[-1,-50],[9,-74],[25,-10],[21,-35],[40,33],[26,65],[19,28],[21,-53],[36,-75],[31,-71],[-11,-37],[37,-33],[25,-34],[44,-15],[18,-19],[11,-50],[22,-8],[11,-22],[2,-67],[-20,-22],[-20,-21],[-46,-21],[-35,-48],[-47,-10],[-59,13],[-42,0],[-29,-4],[-23,-43],[-35,-26],[-40,-78],[-32,-54],[23,9],[45,78],[58,49],[42,6],[24,-29],[-26,-40],[9,-63],[9,-45],[36,-29],[46,8],[28,67],[2,-43],[17,-22],[-34,-38],[-61,-36],[-28,-23],[-31,-43],[-21,4],[-1,50],[48,49],[-44,-2],[-31,-7]],[[1829,9377],[-14,-27],[61,17],[39,-29],[31,30],[26,-20],[23,-58],[14,25],[-20,60],[24,9],[28,-9],[31,-24],[17,-58],[9,-41],[47,-30],[50,-28],[-3,-26],[-46,-4],[18,-23],[-9,-22],[-51,9],[-48,16],[-32,-3],[-52,-20],[-70,-9],[-50,-6],[-15,28],[-38,16],[-24,-6],[-35,47],[19,6],[43,10],[39,-3],[36,11],[-54,13],[-59,-4],[-39,1],[-15,22],[64,23],[-42,-1],[-49,16],[23,44],[20,24],[74,36],[29,-12]],[[2097,9395],[-24,-39],[-44,41],[10,9],[37,2],[21,-13]],[[2879,9376],[3,-16],[-30,2],[-30,1],[-30,-8],[-8,3],[-31,32],[1,21],[14,4],[63,-6],[48,-33]],[[2595,9379],[22,-36],[26,47],[70,24],[48,-61],[-4,-38],[55,17],[26,23],[62,-30],[38,-28],[3,-25],[52,13],[29,-38],[67,-23],[24,-24],[26,-55],[-51,-28],[66,-38],[44,-13],[40,-55],[44,-3],[-9,-42],[-49,-69],[-34,26],[-44,57],[-36,-8],[-3,-34],[29,-34],[38,-27],[11,-16],[18,-58],[-9,-43],[-35,16],[-70,47],[39,-51],[29,-35],[5,-21],[-76,24],[-59,34],[-34,29],[10,17],[-42,30],[-40,29],[0,-18],[-80,-9],[-23,20],[18,44],[52,1],[57,7],[-9,21],[10,30],[36,57],[-8,27],[-11,20],[-42,29],[-57,20],[18,15],[-29,36],[-25,4],[-22,20],[-14,-18],[-51,-7],[-101,13],[-59,17],[-45,9],[-23,21],[29,27],[-39,0],[-9,60],[21,53],[29,24],[72,16],[-21,-39]],[[2212,9420],[33,-12],[50,7],[7,-17],[-26,-28],[42,-26],[-5,-53],[-45,-23],[-27,5],[-19,23],[-69,45],[0,19],[57,-7],[-31,38],[33,29]],[[2411,9357],[-30,-45],[-32,3],[-17,52],[1,29],[14,25],[28,16],[58,-2],[53,-14],[-42,-53],[-33,-11]],[[1654,9275],[-73,-29],[-15,26],[-64,31],[12,25],[19,43],[24,39],[-27,36],[94,10],[39,-13],[71,-3],[27,-17],[30,-25],[-35,-15],[-68,-41],[-34,-42],[0,-25]],[[2399,9487],[-15,-23],[-40,5],[-34,15],[15,27],[40,16],[24,-21],[10,-19]],[[2264,9590],[21,-27],[1,-31],[-13,-44],[-46,-6],[-30,10],[1,34],[-45,-4],[-2,45],[30,-2],[41,21],[40,-4],[2,8]],[[1994,9559],[11,-21],[25,10],[29,-2],[5,-29],[-17,-28],[-94,-10],[-70,-25],[-43,-2],[-3,20],[57,26],[-125,-7],[-39,10],[38,58],[26,17],[78,-20],[50,-35],[48,-5],[-40,57],[26,21],[29,-7],[9,-28]],[[2370,9612],[30,-19],[55,0],[24,-19],[-6,-22],[32,-14],[17,-14],[38,-2],[40,-5],[44,13],[57,5],[45,-5],[30,-22],[6,-24],[-17,-16],[-42,-13],[-35,8],[-80,-10],[-57,-1],[-45,8],[-74,19],[-9,32],[-4,29],[-27,26],[-58,7],[-32,19],[10,24],[58,-4]],[[1772,9645],[-4,-46],[-21,-20],[-26,-3],[-52,-26],[-44,-9],[-38,13],[47,44],[57,39],[43,-1],[38,9]],[[2393,9637],[-13,-2],[-52,4],[-7,17],[56,-1],[19,-11],[-3,-7]],[[1939,9648],[-52,-17],[-41,19],[23,19],[40,6],[39,-10],[-9,-17]],[[1954,9701],[-34,-11],[-46,0],[0,8],[29,18],[14,-3],[37,-12]],[[2338,9669],[-41,-12],[-23,13],[-12,23],[-2,24],[36,-2],[16,-4],[33,-21],[-7,-21]],[[2220,9685],[11,-25],[-45,7],[-46,19],[-62,2],[27,18],[-34,14],[-2,22],[55,-8],[75,-21],[21,-28]],[[2583,9764],[33,-20],[-38,-17],[-51,-45],[-50,-4],[-57,8],[-30,24],[0,21],[22,16],[-50,0],[-31,19],[-18,27],[20,26],[19,18],[28,4],[-12,14],[65,3],[35,-32],[47,-12],[46,-11],[22,-39]],[[3097,9967],[74,-4],[60,-8],[51,-16],[-2,-16],[-67,-25],[-68,-12],[-25,-14],[61,1],[-66,-36],[-45,-17],[-48,-48],[-57,-10],[-18,-12],[-84,-6],[39,-8],[-20,-10],[23,-29],[-26,-21],[-43,-16],[-13,-24],[-39,-17],[4,-14],[48,3],[0,-15],[-74,-35],[-73,16],[-81,-9],[-42,7],[-52,3],[-4,29],[52,13],[-14,43],[17,4],[74,-26],[-38,38],[-45,11],[23,23],[49,14],[8,21],[-39,23],[-12,31],[76,-3],[22,-6],[43,21],[-62,7],[-98,-4],[-49,20],[-23,24],[-32,17],[-6,21],[41,11],[32,2],[55,9],[41,22],[34,-3],[30,-16],[21,32],[37,9],[50,7],[85,2],[14,-6],[81,10],[60,-4],[60,-4]],[[5290,7828],[-3,-24],[-12,-10],[-20,7],[-6,-24],[-14,-2],[-5,10],[-15,-20],[-13,-3],[-12,13]],[[5190,7775],[-10,25],[-13,-9],[0,27],[21,33],[-1,15],[12,-5],[8,10]],[[5207,7871],[24,-1],[5,13],[30,-18]],[[3140,1814],[-10,-24],[-23,-18],[-14,2],[-16,5],[-21,18],[-29,8],[-35,33],[-28,32],[-38,66],[23,-12],[39,-40],[36,-21],[15,27],[9,41],[25,24],[20,-7]],[[3095,1968],[-25,0],[-13,-14],[-25,-22],[-5,-55],[-11,-1],[-32,19],[-32,41],[-34,34],[-9,37],[8,35],[-14,39],[-4,101],[12,57],[30,45],[-43,18],[27,52],[9,98],[31,-21],[15,123],[-19,15],[-9,-73],[-17,8],[9,84],[9,110],[13,40],[-8,58],[-2,66],[11,2],[17,96],[20,94],[11,88],[-6,89],[8,49],[-3,72],[16,73],[5,114],[9,123],[9,132],[-2,96],[-6,84]],[[3045,3974],[14,15],[8,30]],[[8064,6161],[-24,-28],[-23,18],[0,51],[13,26],[31,17],[16,-1],[6,-23],[-12,-26],[-7,-34]],[[8628,7562],[-18,35],[-11,-33],[-43,-26],[4,-31],[-24,2],[-13,19],[-19,-42],[-30,-32],[-23,-38]],[[8451,7416],[-39,-17],[-20,-27],[-30,-17],[15,28],[-6,23],[22,40],[-15,30],[-24,-20],[-32,-41],[-17,-39],[-27,-2],[-14,-28],[15,-40],[22,-10],[1,-26],[22,-17],[31,42],[25,-23],[18,-2],[4,-31],[-39,-16],[-13,-32],[-27,-30],[-14,-41],[30,-33],[11,-58],[17,-54],[18,-45],[0,-44],[-17,-16],[6,-32],[17,-18],[-5,-48],[-7,-47],[-15,-5],[-21,-64],[-22,-78],[-26,-70],[-38,-55],[-39,-50],[-31,-6],[-17,-27],[-10,20],[-15,-30],[-39,-29],[-29,-9],[-10,-63],[-15,-3],[-8,43],[7,22],[-37,19],[-13,-9]],[[8001,6331],[-28,15],[-14,24],[5,34],[-26,11],[-13,22],[-24,-31],[-27,-7],[-22,0],[-15,-14]],[[7837,6385],[-14,-9],[4,-68],[-15,2],[-2,14]],[[7810,6324],[-1,24],[-20,-17],[-12,11],[-21,22],[8,49],[-18,12],[-6,54],[-30,-10],[4,70],[26,50],[1,48],[-1,46],[-12,14],[-9,35],[-16,-5]],[[7703,6727],[-30,9],[9,25],[-13,36],[-20,-24],[-23,14],[-32,-37],[-25,-44],[-23,-8]],[[7466,6670],[-2,47],[-17,-13]],[[7447,6704],[-32,6],[-32,14],[-22,26],[-22,11],[-9,29],[-16,8],[-28,39],[-22,18],[-12,-14]],[[7252,6841],[-38,41],[-28,37],[-7,65],[20,-7],[1,30],[-12,30],[3,48],[-30,69]],[[7161,7154],[-45,24],[-8,46],[-21,27]],[[7082,7268],[-4,34],[1,23],[-17,13],[-9,-6],[-7,55]],[[7046,7387],[8,13],[-4,14],[26,28],[20,12],[29,-8],[11,38],[35,7],[10,23],[44,32],[4,13]],[[7229,7559],[-2,34],[19,15],[-25,103],[55,24],[14,13],[20,106],[55,-20],[15,27],[2,59],[23,6],[21,39]],[[7426,7965],[11,5]],[[7437,7970],[7,-41],[23,-32],[40,-22],[19,-47],[-10,-70],[10,-25],[33,-10],[37,-8],[33,-37],[18,-7],[12,-54],[17,-35],[30,1],[58,-13],[36,8],[28,-9],[41,-36],[34,0],[12,-18],[32,32],[45,20],[42,2],[32,21],[20,32],[20,20],[-5,19],[-9,23],[15,38],[15,-5],[29,-12],[28,31],[42,23],[20,39],[20,17],[40,8],[22,-7],[3,21],[-25,41],[-22,19],[-22,-22],[-27,10],[-16,-8],[-7,24],[20,59],[13,45]],[[8240,8005],[34,-23],[39,38],[-1,26],[26,62],[15,19],[0,33],[-16,14],[23,29],[35,11],[37,2],[41,-18],[25,-22],[17,-59],[10,-26],[10,-36],[10,-58],[49,-19],[32,-42],[12,-55],[42,0],[24,23],[46,17],[-15,-53],[-11,-21],[-9,-65],[-19,-58],[-33,11],[-24,-21],[7,-51],[-4,-69],[-14,-2],[0,-30]],[[4920,5353],[-12,-1],[-20,12],[-18,-1],[-33,-10],[-19,-18],[-27,-21],[-6,1]],[[4785,5315],[2,49],[3,7],[-1,24],[-12,24],[-8,4],[-8,17],[6,26],[-3,28],[1,18]],[[4765,5512],[5,0],[1,25],[-2,12],[3,8],[10,7],[-7,47],[-6,25],[2,20],[5,4]],[[4776,5660],[4,6],[8,-9],[21,-1],[5,18],[5,-1],[8,6],[4,-25],[7,7],[11,9]],[[4921,5627],[7,-84],[-11,-50],[-8,-66],[12,-51],[-1,-23]],[[5363,5191],[-4,4],[-16,-8],[-17,8],[-13,-4]],[[5313,5191],[-45,1]],[[5268,5192],[4,47],[-11,39],[-13,10],[-6,27],[-7,8],[1,16]],[[5236,5339],[7,42],[13,57],[8,1],[17,34],[10,1],[16,-24],[19,20],[2,25],[7,23],[4,30],[15,25],[5,41],[6,13],[4,31],[7,37],[24,46],[1,20],[3,10],[-11,24]],[[5393,5795],[1,19],[8,3]],[[5402,5817],[11,-38],[2,-39],[-1,-39],[15,-54],[-15,1],[-8,-4],[-13,6],[-6,-28],[16,-35],[13,-10],[3,-24],[9,-41],[-4,-16]],[[5444,5191],[-2,-31],[-22,14],[-22,15],[-35,2]],[[5856,5265],[-2,-69],[11,-8],[-9,-21],[-10,-16],[-11,-31],[-6,-27],[-1,-48],[-7,-22],[0,-45]],[[5821,4978],[-8,-16],[-1,-35],[-4,-5],[-2,-32]],[[5814,4792],[5,-55],[-2,-30],[5,-35],[16,-33],[15,-74]],[[5853,4565],[-11,6],[-37,-10],[-7,-7],[-8,-38],[6,-26],[-5,-70],[-3,-59],[7,-11],[19,-23],[8,11],[2,-64],[-21,1],[-11,32],[-10,25],[-22,9],[-6,31],[-17,-19],[-22,8],[-10,27],[-17,6],[-13,-2],[-2,19],[-9,1]],[[5342,4697],[-4,18]],[[5360,4775],[8,-6],[9,23],[15,-1],[2,-17],[11,-10],[16,37],[16,29],[7,19],[-1,48],[12,58],[13,30],[18,29],[3,18],[1,22],[5,21],[-2,33],[4,52],[5,37],[8,32],[2,36]],[[5760,5367],[17,-49],[12,-7],[8,10],[12,-4],[16,12],[6,-25],[25,-39]],[[5330,4760],[-22,62]],[[5308,4822],[21,33],[-11,39],[10,15],[19,7],[2,26],[15,-28],[24,-2],[9,27],[3,40],[-3,46],[-13,35],[12,68],[-7,12],[-21,-5],[-7,31],[2,25]],[[2906,5049],[-12,14],[-14,19],[-7,-9],[-24,8],[-7,25],[-5,-1],[-28,34]],[[2809,5139],[-3,18],[10,5],[-1,29],[6,22],[14,4],[12,37],[10,31],[-10,14],[5,34],[-6,54],[6,16],[-4,50],[-12,31]],[[2836,5484],[4,29],[9,-4],[5,17],[-6,35],[3,9]],[[2851,5570],[14,-2],[21,41],[12,6],[0,20],[5,50],[16,27],[17,1],[3,13],[21,-5],[22,30],[11,13],[14,28],[9,-3],[8,-16],[-6,-20]],[[3018,5753],[-18,-10],[-7,-29],[-10,-17],[-8,-22],[-4,-42],[-8,-35],[15,-4],[3,-27],[6,-13],[3,-24],[-4,-22],[1,-12],[7,-5],[7,-20],[36,5],[16,-7],[19,-51],[11,6],[20,-3],[16,7],[10,-10],[-5,-32],[-6,-20],[-2,-42],[5,-40],[8,-17],[1,-13],[-14,-30],[10,-13],[8,-21],[8,-58]],[[3058,4804],[-14,31],[-8,1],[18,61],[-21,27],[-17,-5],[-10,10],[-15,-15],[-21,7],[-16,62],[-13,15],[-9,28],[-19,28],[-7,-5]],[[2695,5543],[-15,14],[-6,12],[4,10],[-1,13],[-8,14],[-11,12],[-10,8],[-1,17],[-8,10],[2,-17],[-5,-14],[-7,17],[-9,5],[-4,12],[1,18],[3,19],[-8,8],[7,12]],[[2619,5713],[4,7],[18,-15],[7,7],[9,-5],[4,-12],[8,-4],[7,13]],[[2676,5704],[7,-32],[11,-24],[13,-25]],[[2707,5623],[-11,-6],[0,-23],[6,-9],[-4,-7],[1,-11],[-2,-12],[-2,-12]],[[2715,6427],[23,-4],[22,0],[26,-21],[11,-21],[26,6],[10,-13],[24,-37],[17,-27],[9,1],[17,-12],[-2,-17],[20,-2],[21,-24],[-3,-14],[-19,-7],[-18,-3],[-19,4],[-40,-5],[18,32],[-11,16],[-18,4],[-9,17],[-7,33],[-16,-2],[-26,16],[-8,12],[-36,10],[-10,11],[11,15],[-28,3],[-20,-31],[-11,-1],[-4,-14],[-14,-7],[-12,6],[15,18],[6,22],[13,13],[14,11],[21,6],[7,6]],[[5909,7133],[2,1],[4,14],[20,-1],[25,18],[-19,-25],[2,-11]],[[5943,7129],[-3,2],[-5,-5],[-4,1],[-2,-2],[0,6],[-2,4],[-6,0],[-7,-5],[-5,3]],[[5943,7129],[1,-5],[-28,-24],[-14,8],[-7,23],[14,2]],[[5377,7945],[-16,25],[-14,15],[-3,25],[-5,17],[21,13],[10,15],[20,11],[7,11],[7,-6],[13,6]],[[5417,8077],[13,-19],[21,-5],[-2,-17],[15,-12],[4,15],[19,-6],[3,-19],[20,-3],[13,-29]],[[5523,7982],[-8,0],[-4,-11],[-7,-3],[-2,-13],[-5,-3],[-1,-5],[-9,-7],[-12,1],[-4,-13]],[[5275,8306],[1,-23],[28,-14],[-1,-21],[29,11],[15,16],[32,-23],[13,-19]],[[5392,8233],[6,-30],[-8,-16],[11,-21],[6,-31],[-2,-21],[12,-37]],[[5207,7871],[3,42],[14,40],[-40,11],[-13,16]],[[5171,7980],[2,26],[-6,13]],[[5171,8059],[-5,62],[17,0],[7,22],[6,54],[-5,20]],[[5191,8217],[6,13],[23,3],[5,-13],[19,29],[-6,22],[-2,34]],[[5236,8305],[21,-8],[18,9]],[[6196,5808],[7,-19],[-1,-24],[-16,-14],[12,-16]],[[6198,5735],[-10,-32]],[[6188,5703],[-7,11],[-6,-5],[-16,1],[0,18],[-2,17],[9,27],[10,26]],[[6176,5798],[12,-5],[8,15]],[[5352,8343],[-17,-48],[-29,33],[-4,25],[41,19],[9,-29]],[[5236,8305],[-11,32],[-1,61],[5,16],[8,17],[24,4],[10,16],[22,17],[-1,-30],[-8,-20],[4,-16],[15,-9],[-7,-22],[-8,6],[-20,-42],[7,-29]],[[3008,6222],[3,10],[22,0],[16,-15],[8,1],[5,-21],[15,1],[-1,-17],[12,-2],[14,-22],[-10,-24],[-14,13],[-12,-3],[-9,3],[-5,-11],[-11,-3],[-4,14],[-10,-8],[-11,-41],[-7,10],[-1,17]],[[3008,6124],[0,16],[-7,17],[7,10],[2,23],[-2,32]],[[5333,6444],[-95,-112],[-81,-117],[-39,-26]],[[5118,6189],[-31,-6],[0,38],[-13,10],[-17,16],[-7,28],[-94,129],[-93,129]],[[4863,6533],[-105,143]],[[4758,6676],[1,11],[0,4]],[[4759,6691],[0,70],[44,44],[28,9],[23,16],[11,29],[32,24],[1,44],[16,5],[13,22],[36,9],[5,23],[-7,13],[-10,62],[-1,36],[-11,38]],[[4939,7135],[27,32],[30,11],[17,24],[27,18],[47,11],[46,4],[14,-8],[26,23],[30,0],[11,-13],[19,3]],[[5233,7240],[-5,-30],[4,-56],[-6,-49],[-18,-33],[3,-45],[23,-35],[0,-14],[17,-24],[12,-106]],[[5263,6848],[9,-52],[1,-28],[-5,-48],[2,-27],[-3,-32],[2,-37],[-11,-25],[17,-43],[1,-25],[10,-33],[13,11],[22,-28],[12,-37]],[[2769,4856],[15,45],[-6,25],[-11,-27],[-16,26],[5,16],[-4,54],[9,9],[5,37],[11,38],[-2,24],[15,13],[19,23]],[[2906,5049],[4,-45],[-9,-39],[-30,-62],[-33,-23],[-17,-51],[-6,-40],[-15,-24],[-12,29],[-11,7],[-12,-5],[-1,22],[8,14],[-3,24]],[[5969,6800],[-7,-23],[-6,-45],[-8,-31],[-6,-10],[-10,19],[-12,26],[-20,85],[-3,-5],[12,-63],[17,-59],[21,-92],[10,-32],[9,-34],[25,-65],[-6,-10],[1,-39],[33,-53],[4,-12]],[[6023,6357],[-110,0],[-107,0],[-112,0]],[[5694,6357],[0,218],[0,210],[-8,47],[7,37],[-5,25],[10,29]],[[5698,6923],[37,0],[27,-15],[28,-18],[13,-9],[21,19],[11,17],[25,5],[20,-8],[7,-29],[7,19],[22,-14],[22,-3],[13,15]],[[5951,6902],[18,-102]],[[6176,5798],[-10,20],[-11,34],[-12,19],[-8,21],[-24,23],[-19,1],[-7,12],[-16,-14],[-17,27],[-8,-44],[-33,13]],[[6011,5910],[-3,23],[12,87],[3,39],[9,18],[20,10],[14,34]],[[6066,6121],[16,-69],[8,-54],[15,-29],[38,-55],[16,-34],[15,-34],[8,-20],[14,-18]],[[4749,7532],[1,42],[-11,25],[39,43],[34,-11],[37,1],[30,-10],[23,3],[45,-2]],[[4947,7623],[11,-23],[51,-27],[10,13],[31,-27],[32,8]],[[5082,7567],[2,-35],[-26,-39],[-36,-12],[-2,-20],[-18,-33],[-10,-48],[11,-34],[-16,-26],[-6,-39],[-21,-11],[-20,-46],[-35,-1],[-27,1],[-17,-21],[-11,-22],[-13,5],[-11,20],[-8,34],[-26,9]],[[4792,7249],[-2,20],[10,22],[4,16],[-9,17],[7,39],[-11,36],[12,5],[1,27],[5,9],[0,46],[13,16],[-8,30],[-16,2],[-5,-8],[-16,0],[-7,29],[-11,-8],[-10,-15]],[[5675,8472],[3,35],[-10,-8],[-18,21],[-2,34],[35,17],[35,8],[30,-10],[29,2]],[[5777,8571],[4,-10],[-20,-34],[8,-55],[-12,-19]],[[5757,8453],[-22,0],[-24,22],[-13,7],[-23,-10]],[[6188,5703],[-6,-21],[10,-32],[10,-29],[11,-21],[90,-70],[24,0]],[[6327,5530],[-79,-177],[-36,-3],[-25,-41],[-17,-1],[-8,-19]],[[6162,5289],[-19,0],[-11,20],[-26,-25],[-8,-24],[-18,4],[-6,7],[-7,-1],[-9,0],[-35,50],[-19,0],[-10,20],[0,33],[-14,10]],[[5980,5383],[-17,64],[-12,14],[-5,23],[-14,29],[-17,4],[9,34],[15,2],[4,18]],[[5943,5571],[0,53]],[[5943,5624],[8,62],[13,16],[3,24],[12,45],[17,30],[11,58],[4,51]],[[5794,9138],[-4,-42],[42,-39],[-26,-45],[33,-67],[-19,-51],[25,-43],[-11,-39],[41,-40],[-11,-31],[-25,-34],[-60,-75]],[[5779,8632],[-50,-5],[-49,-21],[-45,-13],[-16,32],[-27,20],[6,58],[-14,53],[14,35],[25,37],[63,64],[19,12],[-3,25],[-39,28]],[[5663,8957],[-9,23],[-1,91],[-43,40],[-37,29]],[[5573,9140],[17,16],[30,-32],[37,3],[30,-14],[26,26],[14,44],[43,20],[35,-24],[-11,-41]],[[9954,4033],[9,-17],[-4,-31],[-17,-8],[-16,7],[-2,26],[10,21],[13,-8],[7,10]],[[0,4079],[9981,-14],[-17,-13],[-4,23],[14,12],[9,3],[-9983,18]],[[0,4108],[0,-29]],[[0,4108],[6,3],[-4,-28],[-2,-4]],[[3300,1994],[33,36],[24,-15],[16,24],[22,-27],[-8,-21],[-37,-17],[-13,20],[-23,-26],[-14,26]],[[5265,7548],[-9,-46],[-13,12],[-6,40],[5,22],[18,22],[5,-50]],[[5157,7984],[6,-6],[8,2]],[[5190,7775],[-2,-17],[9,-22],[-10,-18],[7,-46],[15,-8],[-3,-25]],[[5206,7639],[-25,-34],[-55,16],[-40,-19],[-4,-35]],[[4947,7623],[14,35],[5,118],[-28,62],[-21,30],[-42,23],[-3,43],[36,12],[47,-15],[-9,67],[26,-25],[65,46],[8,48],[24,12]],[[3485,5194],[7,25],[3,27]],[[3495,5246],[4,26],[-10,34]],[[3489,5306],[-3,41],[15,51]],[[3501,5398],[9,-7],[21,-14],[29,-50],[5,-24]],[[5308,4822],[-29,60],[-18,49],[-17,61],[1,19],[6,19],[7,43],[5,44]],[[5263,5117],[10,4],[40,-1],[0,71]],[[4827,8240],[-21,12],[-17,-1],[6,32],[-6,32]],[[4789,8315],[23,2],[30,-37],[-15,-40]],[[4916,8521],[-30,-63],[29,8],[30,-1],[-7,-48],[-25,-53],[29,-4],[2,-6],[25,-69],[19,-10],[17,-67],[8,-24],[33,-11],[-3,-38],[-14,-17],[11,-30],[-25,-31],[-37,0],[-48,-16],[-13,12],[-18,-28],[-26,7],[-19,-23],[-15,12],[41,62],[25,13],[-1,0],[-43,9],[-8,24],[29,18],[-15,32],[5,39],[42,-6],[4,35],[-19,36],[0,1],[-34,10],[-7,16],[10,27],[-9,16],[-15,-28],[-1,57],[-14,30],[10,61],[21,48],[23,-4],[33,4]],[[6154,7511],[4,26],[-7,40],[-16,22],[-16,6],[-10,19]],[[6109,7624],[4,6],[23,-10],[41,-9],[38,-28],[5,-11],[17,9],[25,-13],[9,-24],[17,-13]],[[6210,7485],[-27,29],[-29,-3]],[[5029,5408],[-44,-35],[-15,-20],[-25,-17],[-25,17]],[[5e3,5708],[-2,-18],[12,-30],[0,-43],[2,-47],[7,-21],[-6,-54],[2,-29],[8,-37],[6,-21]],[[4765,5512],[-8,1],[-5,-24],[-8,1],[-6,12],[2,24],[-11,36],[-8,-7],[-6,-1]],[[4715,5554],[-7,-3],[0,21],[-4,16],[0,17],[-6,25],[-7,21],[-23,0],[-6,-11],[-8,-1],[-4,-13],[-4,-17],[-14,-26]],[[4632,5583],[-13,35],[-10,24],[-8,7],[-6,12],[-4,26],[-4,13],[-8,10]],[[4579,5710],[13,29],[8,-2],[7,10],[6,0],[5,8],[-3,20],[3,6],[1,20]],[[4619,5801],[13,-1],[20,-14],[6,1],[3,7],[15,-5],[4,4]],[[4680,5793],[1,-22],[5,0],[7,8],[5,-2],[7,-15],[12,-5],[8,13],[9,8],[6,8],[6,-1],[6,-13],[3,-17],[12,-24],[-6,-16],[-1,-19],[6,6],[3,-7],[-1,-17],[8,-18]],[[4532,5834],[3,27]],[[4535,5861],[31,1],[6,14],[9,1],[11,-14],[8,-1],[9,10],[6,-17],[-12,-13],[-12,1],[-12,13],[-10,-14],[-5,-1],[-7,-8],[-25,1]],[[4579,5710],[-15,24],[-11,4],[-7,17],[1,9],[-9,13],[-2,12]],[[4536,5789],[15,10],[9,-2],[8,7],[51,-3]],[[5263,5117],[-5,9],[10,66]],[[5658,7167],[15,-20],[22,3],[20,-4],[0,-10],[15,7],[-4,-18],[-40,-5],[1,10],[-34,12],[5,25]],[[5723,7469],[-17,2],[-14,6],[-34,-16],[19,-33],[-14,-10],[-15,0],[-15,31],[-5,-13],[6,-36],[14,-27],[-10,-13],[15,-27],[14,-18],[0,-33],[-25,16],[8,-30],[-18,-7],[11,-52],[-19,-1],[-23,26],[-10,47],[-5,40],[-11,27],[-14,34],[-2,16]],[[5583,7470],[18,6],[11,13],[15,-2],[5,11],[5,2]],[[5725,7529],[13,-16],[-8,-37],[-7,-7]],[[3701,9939],[93,35],[97,-2],[36,21],[98,6],[222,-7],[174,-47],[-52,-23],[-106,-3],[-150,-5],[14,-11],[99,7],[83,-21],[54,18],[23,-21],[-30,-34],[71,22],[135,23],[83,-12],[15,-25],[-113,-42],[-16,-14],[-88,-10],[64,-3],[-32,-43],[-23,-38],[1,-66],[33,-38],[-43,-3],[-46,-19],[52,-31],[6,-50],[-30,-6],[36,-50],[-61,-5],[32,-24],[-9,-20],[-39,-10],[-39,0],[35,-40],[0,-26],[-55,24],[-14,-15],[37,-15],[37,-36],[10,-48],[-49,-11],[-22,22],[-34,34],[10,-40],[-33,-31],[73,-2],[39,-3],[-75,-52],[-75,-46],[-81,-21],[-31,0],[-29,-23],[-38,-62],[-60,-42],[-19,-2],[-37,-15],[-40,-13],[-24,-37],[0,-41],[-15,-39],[-45,-47],[11,-47],[-12,-48],[-14,-58],[-39,-4],[-41,49],[-56,0],[-27,32],[-18,58],[-49,73],[-14,39],[-3,53],[-39,54],[10,44],[-18,21],[27,69],[42,22],[11,25],[6,46],[-32,-21],[-15,-9],[-25,-8],[-34,19],[-2,40],[11,31],[25,1],[57,-15],[-48,37],[-24,20],[-28,-8],[-23,15],[31,55],[-17,22],[-22,41],[-34,62],[-35,23],[0,25],[-74,34],[-59,5],[-74,-3],[-68,-4],[-32,19],[-49,37],[73,19],[56,3],[-119,15],[-62,24],[3,23],[106,28],[101,29],[11,21],[-75,22],[24,23],[97,41],[40,7],[-12,26],[66,16],[86,9],[85,1],[30,-19],[74,33],[66,-22],[39,-5],[58,-19],[-66,32],[4,25]],[[2497,5869],[-14,10],[-17,1],[-13,12],[-15,24]],[[2438,5916],[1,18],[3,13],[-4,12],[13,48],[36,0],[1,20],[-5,4],[-3,12],[-10,14],[-11,20],[13,0],[0,33],[26,0],[26,0]],[[2529,5996],[10,-11],[2,9],[8,-7]],[[2549,5987],[-13,-23],[-13,-16],[-2,-12],[2,-11],[-5,-15]],[[2518,5910],[-7,-4],[2,-7],[-6,-6],[-9,-15],[-1,-9]],[[3340,5552],[18,-22],[17,-38],[1,-31],[10,-1],[15,-29],[11,-21]],[[3412,5410],[-4,-53],[-17,-15],[1,-14],[-5,-31],[13,-42],[9,-1],[3,-33],[17,-51]],[[3313,5365],[-19,45],[7,16],[0,27],[17,10],[7,11],[-10,22],[3,21],[22,35]],[[2574,5825],[-5,18],[-8,5]],[[2561,5848],[2,24],[-4,6],[-6,4],[-12,-7],[-1,8],[-8,10],[-6,12],[-8,5]],[[2549,5987],[3,-3],[6,11],[8,1],[3,-5],[4,3],[13,-6],[13,2],[9,6],[3,7],[9,-3],[6,-4],[8,1],[5,5],[13,-8],[4,-1],[9,-11],[8,-13],[10,-9],[7,-17]],[[2690,5943],[-9,2],[-4,-8],[-10,-8],[-7,0],[-6,-8],[-6,3],[-4,9],[-3,-2],[-4,-14],[-3,1],[0,-12],[-10,-17],[-5,-7],[-3,-7],[-8,12],[-6,-16],[-6,1],[-6,-2],[0,-29],[-4,0],[-3,-14],[-9,-2]],[[5522,7770],[7,-23],[9,-17],[-11,-22]],[[5515,7577],[-3,-10]],[[5512,7567],[-26,22],[-16,21],[-26,18],[-23,43],[6,5],[-13,25],[-1,19],[-17,10],[-9,-26],[-8,20],[0,21],[1,1]],[[5380,7746],[20,-2],[5,9],[9,-9],[11,-1],[0,16],[10,6],[2,24],[23,16]],[[5460,7805],[8,-7],[21,-26],[23,-11],[10,9]],[[3008,6124],[-19,10],[-13,-5],[-17,5],[-13,-11],[-15,18],[3,19],[25,-8],[21,-5],[10,13],[-12,26],[0,23],[-18,9],[7,16],[17,-3],[24,-9]],[[5471,7900],[14,-15],[10,-6],[24,7],[2,12],[11,2],[14,9],[3,-4],[13,8],[6,13],[9,4],[30,-18],[6,6]],[[5613,7918],[15,-16],[2,-16]],[[5630,7886],[-17,-12],[-13,-40],[-17,-40],[-22,-11]],[[5561,7783],[-17,2],[-22,-15]],[[5460,7805],[-6,20],[-4,0]],[[8352,4453],[-11,-2],[-37,42],[26,11],[14,-18],[10,-17],[-2,-16]],[[8471,4532],[2,-11],[1,-18]],[[8474,4503],[-18,-45],[-24,-13],[-3,8],[2,20],[12,36],[28,23]],[[8274,4579],[10,-16],[17,5],[7,-25],[-32,-12],[-19,-8],[-15,1],[10,34],[15,0],[7,21]],[[8413,4579],[-4,-32],[-42,-17],[-37,7],[0,22],[22,12],[18,-18],[18,5],[25,21]],[[8017,4657],[53,-6],[6,25],[51,-29],[10,-38],[42,-11],[34,-35],[-31,-23],[-31,24],[-25,-1],[-29,4],[-26,11],[-32,22],[-21,6],[-11,-7],[-51,24],[-5,25],[-25,5],[19,56],[34,-3],[22,-23],[12,-5],[4,-21]],[[8741,4690],[-14,-40],[-3,45],[5,21],[6,20],[7,-17],[-1,-29]],[[8534,4853],[-11,-19],[-19,10],[-5,26],[28,3],[7,-20]],[[8623,4875],[10,-45],[-23,24],[-23,5],[-16,-4],[-19,2],[6,33],[35,2],[30,-17]],[[8916,4904],[0,-193],[1,-192]],[[8917,4519],[-25,48],[-28,12],[-7,-17],[-35,-1],[12,48],[17,16],[-7,64],[-14,50],[-53,50],[-23,5],[-42,54],[-8,-28],[-11,-5],[-6,21],[0,26],[-21,29],[29,21],[20,-1],[-2,16],[-41,0],[-11,35],[-25,11],[-11,29],[37,14],[14,20],[45,-25],[4,-22],[8,-95],[29,-35],[23,62],[32,36],[25,0],[23,-21],[21,-21],[30,-11]],[[8478,5141],[-22,-58],[-21,-12],[-27,12],[-46,-3],[-24,-8],[-4,-45],[24,-53],[15,27],[52,20],[-2,-27],[-12,9],[-12,-35],[-25,-23],[27,-76],[-5,-20],[25,-68],[-1,-39],[-14,-17],[-11,20],[13,49],[-27,-23],[-7,16],[3,23],[-20,35],[3,57],[-19,-18],[2,-69],[1,-84],[-17,-9],[-12,18],[8,54],[-4,57],[-12,1],[-9,40],[12,39],[4,47],[14,89],[5,24],[24,44],[22,-18],[35,-8],[32,3],[27,43],[5,-14]],[[8574,5124],[-2,-51],[-14,6],[-4,-36],[11,-32],[-8,-7],[-11,38],[-8,75],[6,47],[9,22],[2,-32],[16,-5],[3,-25]],[[8045,5176],[5,-39],[19,-34],[18,12],[18,-4],[16,30],[13,5],[26,-17],[23,13],[14,82],[11,21],[10,67],[32,0],[24,-10]],[[8274,5302],[-16,-53],[20,-56],[-5,-28],[32,-54],[-33,-7],[-10,-40],[2,-54],[-27,-40],[-1,-59],[-10,-91],[-5,21],[-31,-26],[-11,36],[-20,3],[-14,19],[-33,-21],[-10,29],[-18,-4],[-23,7],[-4,79],[-14,17],[-13,50],[-4,52],[3,55],[16,39]],[[7939,4712],[-31,-1],[-24,49],[-35,48],[-12,36],[-21,48],[-14,44],[-21,83],[-24,49],[-9,51],[-10,46],[-25,37],[-14,51],[-21,33],[-29,65],[-3,30],[18,-2],[43,-12],[25,-57],[21,-40],[16,-25],[26,-63],[28,-1],[23,-41],[16,-49],[22,-27],[-12,-49],[16,-20],[10,-2],[5,-41],[10,-33],[20,-5],[14,-37],[-7,-74],[-1,-91]],[[7252,6841],[-17,-27],[-11,-55],[27,-23],[26,-29],[36,-33],[38,-8],[16,-30],[22,-5],[33,-14],[23,1],[4,23],[-4,38],[2,25]],[[7703,6727],[2,-22],[-10,-11],[2,-36],[-19,10],[-36,-41],[0,-33],[-15,-50],[-1,-29],[-13,-48],[-21,13],[-1,-61],[-7,-20],[3,-25],[-14,-14]],[[7472,6360],[-4,-21],[-19,1],[-34,-13],[2,-44],[-15,-35],[-40,-40],[-31,-69],[-21,-38],[-28,-38],[0,-27],[-13,-15],[-26,-21],[-12,-3],[-9,-45],[6,-77],[1,-49],[-11,-56],[0,-101],[-15,-2],[-12,-46],[8,-19],[-25,-17],[-10,-40],[-11,-17],[-26,55],[-13,83],[-11,60],[-9,28],[-15,56],[-7,74],[-5,37],[-25,81],[-12,115],[-8,75],[0,72],[-5,55],[-41,-35],[-19,7],[-36,71],[13,22],[-8,23],[-33,50]],[[6893,6457],[19,40],[61,-1],[-6,51],[-15,30],[-4,46],[-18,26],[31,62],[32,-4],[29,61],[18,60],[27,60],[-1,42],[24,34],[-23,29],[-9,40],[-10,52],[14,25],[42,-14],[31,9],[26,49]],[[4827,8240],[5,-42],[-21,-53],[-49,-35],[-40,9],[23,62],[-15,60],[38,46],[21,28]],[[6497,7255],[25,12],[19,33],[19,-1],[12,11],[20,-6],[31,-30],[22,-6],[31,-53],[21,-2],[3,-49]],[[6690,6820],[14,-31],[11,-36],[27,-26],[1,-52],[13,-10],[2,-27],[-40,-30],[-10,-69]],[[6708,6539],[-53,18],[-30,13],[-31,8],[-12,73],[-13,10],[-22,-11],[-28,-28],[-34,20],[-28,45],[-27,17],[-18,56],[-21,79],[-15,-10],[-17,20],[-11,-24]],[[6348,6825],[-15,32],[0,31],[-9,0],[5,43],[-15,45],[-34,32],[-19,56],[6,46],[14,21],[-2,34],[-18,18],[-18,70]],[[6243,7253],[-15,48],[5,18],[-8,68],[19,17]],[[6357,7321],[9,-43],[26,-13],[20,-29],[39,-10],[44,15],[2,14]],[[6348,6825],[-16,3]],[[6332,6828],[-19,5],[-20,-56]],[[6293,6777],[-52,4],[-78,119],[-41,41],[-34,16]],[[6088,6957],[-11,72]],[[6077,7029],[61,62],[11,71],[-3,43],[16,15],[14,37]],[[6176,7257],[12,9],[32,-8],[10,-15],[13,10]],[[4597,8984],[-7,-39],[31,-40],[-36,-45],[-80,-41],[-24,-10],[-36,8],[-78,19],[28,26],[-61,29],[49,12],[-1,17],[-58,14],[19,38],[42,9],[43,-40],[42,32],[35,-17],[45,32],[47,-4]],[[5992,6990],[-5,-19]],[[5987,6971],[-10,8],[-6,-39],[7,-7],[-7,-8],[-1,-15],[13,8]],[[5983,6918],[0,-23],[-14,-95]],[[5951,6902],[8,19],[-2,4],[8,27],[5,45],[4,15],[1,0]],[[5975,7012],[9,0],[3,11],[7,0]],[[5994,7023],[1,-24],[-4,-9],[1,0]],[[5431,7316],[-10,-46],[4,-19],[-6,-30],[-21,22],[-14,7],[-39,30],[4,30],[32,-6],[28,7],[22,5]],[[5255,7492],[17,-42],[-4,-78],[-13,4],[-11,-20],[-10,16],[-2,71],[-6,34],[15,-3],[14,18]],[[5383,7805],[-3,-29],[7,-25]],[[5387,7751],[-22,8],[-23,-20],[1,-30],[-3,-17],[9,-30],[26,-29],[14,-49],[31,-48],[22,0],[7,-13],[-8,-11],[25,-22],[20,-18],[24,-30],[3,-11],[-5,-22],[-16,28],[-24,10],[-12,-39],[20,-21],[-3,-31],[-11,-4],[-15,-50],[-12,-5],[0,18],[6,32],[6,12],[-11,35],[-8,29],[-12,8],[-8,25],[-18,11],[-12,24],[-21,4],[-21,26],[-26,39],[-19,34],[-8,58],[-14,7],[-23,20],[-12,-8],[-16,-28],[-12,-4]],[[2845,6150],[19,-5],[14,-15],[5,-16],[-19,-1],[-9,-10],[-15,10],[-16,21],[3,14],[12,4],[6,-2]],[[5992,6990],[31,-24],[54,63]],[[6088,6957],[-5,-8],[-56,-30],[28,-59],[-9,-10],[-5,-20],[-21,-8],[-7,-21],[-12,-19],[-31,10]],[[5970,6792],[-1,8]],[[5983,6918],[4,17],[0,36]],[[8739,7075],[4,-20],[-16,-36],[-11,19],[-15,-14],[-7,-34],[-18,16],[0,28],[15,36],[16,-7],[12,25],[20,-13]],[[8915,7252],[-10,-47],[4,-30],[-14,-42],[-35,-27],[-49,-4],[-40,-67],[-19,22],[-1,44],[-48,-13],[-33,-27],[-32,-2],[28,-43],[-19,-101],[-18,-24],[-13,23],[7,53],[-18,17],[-11,41],[26,18],[15,37],[28,30],[20,41],[55,17],[30,-12],[29,105],[19,-28],[40,59],[16,23],[18,72],[-5,67],[11,37],[30,11],[15,-82],[-1,-48],[-25,-59],[0,-61]],[[8997,7667],[19,-12],[20,25],[6,-67],[-41,-16],[-25,-59],[-43,41],[-15,-65],[-31,-1],[-4,59],[14,46],[29,3],[8,82],[9,46],[32,-62],[22,-20]],[[6970,7554],[-15,-10],[-37,-42],[-12,-42],[-11,0],[-7,28],[-36,2],[-5,48],[-14,0],[2,60],[-33,43],[-48,-5],[-32,-8],[-27,53],[-22,22],[-43,43],[-6,5],[-71,-35],[1,-218]],[[6554,7498],[-14,-3],[-20,46],[-18,17],[-32,-12],[-12,-20]],[[6458,7526],[-2,14],[7,25],[-5,21],[-32,20],[-13,53],[-15,15],[-1,19],[27,-6],[1,44],[23,9],[25,-9],[5,58],[-5,36],[-28,-2],[-24,14],[-32,-26],[-26,-12]],[[6363,7799],[-14,9],[3,31],[-18,39],[-20,-2],[-24,40],[16,45],[-8,12],[22,65],[29,-34],[3,43],[58,64],[43,2],[61,-41],[33,-24],[30,25],[44,1],[35,-30],[8,17],[39,-2],[7,28],[-45,40],[27,29],[-5,16],[26,15],[-20,41],[13,20],[104,21],[13,14],[70,22],[25,24],[50,-12],[9,-61],[29,14],[35,-20],[-2,-32],[27,3],[69,56],[-10,-19],[35,-46],[62,-150],[15,31],[39,-34],[39,16],[16,-11],[13,-34],[20,-12],[11,-25],[36,8],[15,-36]],[[7229,7559],[-17,9],[-14,21],[-42,6],[-46,2],[-10,-6],[-39,24],[-16,-12],[-4,-35],[-46,21],[-18,-9],[-7,-26]],[[6155,4958],[-20,-24],[-7,-24],[-10,-4],[-4,-42],[-9,-24],[-5,-39],[-12,-20]],[[6088,4781],[-40,59],[-1,35],[-101,120],[-5,6]],[[5941,5001],[0,63],[8,24],[14,39],[10,43],[-13,68],[-3,30],[-13,41]],[[5944,5309],[17,35],[19,39]],[[6162,5289],[-24,-67],[0,-215],[17,-49]],[[7046,7387],[-53,-9],[-34,19],[-30,-4],[3,34],[30,-10],[10,18]],[[6972,7435],[21,-6],[36,43],[-33,31],[-20,-15],[-21,22],[24,39],[-9,5]],[[7849,5777],[-7,72],[18,49],[36,11],[26,-8]],[[7922,5901],[23,-23],[12,40],[25,-21]],[[7982,5897],[6,-40],[-3,-71],[-47,-45],[13,-36],[-30,-4],[-24,-24]],[[7897,5677],[-23,9],[-11,30],[-14,61]],[[8564,7339],[24,-70],[7,-38],[0,-68],[-10,-33],[-25,-11],[-22,-25],[-25,-5],[-3,32],[5,45],[-13,61],[21,10],[-19,51]],[[8504,7288],[2,5],[12,-2],[11,27],[20,2],[11,4],[4,15]],[[5557,7574],[5,13]],[[5562,7587],[7,4],[4,20],[5,3],[4,-8],[5,-4],[3,-10],[5,-2],[5,-11],[4,0],[-3,-14],[-3,-7],[1,-5]],[[5599,7553],[-6,-2],[-17,-9],[-1,-12],[-4,0]],[[6332,6828],[6,-26],[-3,-13],[9,-45]],[[6344,6744],[-19,-1],[-7,28],[-25,6]],[[7922,5901],[9,26],[1,50],[-22,52],[-2,58],[-21,48],[-21,4],[-6,-20],[-16,-2],[-8,10],[-30,-35],[0,53],[7,62],[-19,3],[-2,36],[-12,18]],[[7780,6264],[6,21],[24,39]],[[7837,6385],[17,-47],[12,-54],[34,0],[11,-52],[-18,-15],[-8,-21],[34,-36],[23,-70],[17,-52],[21,-41],[7,-41],[-5,-59]],[[5975,7012],[10,49],[14,41],[0,2]],[[5999,7104],[13,-3],[4,-23],[-15,-22],[-7,-33]],[[4785,5315],[-7,0],[-29,28],[-25,45],[-24,32],[-18,38]],[[4682,5458],[6,19],[2,17],[12,33],[13,27]],[[5412,6408],[-20,-22],[-15,33],[-44,25]],[[5263,6848],[13,14],[3,25],[-3,24],[19,23],[8,19],[14,17],[2,45]],[[5319,7015],[32,-20],[12,5],[23,-10],[37,-26],[13,-53],[25,-11],[39,-25],[30,-29],[13,15],[13,27],[-6,45],[9,29],[20,28],[19,8],[37,-12],[10,-27],[10,0],[9,-10],[28,-7],[6,-19]],[[5694,6357],[0,-118],[-32,0],[0,-25]],[[5662,6214],[-111,113],[-111,113],[-28,-32]],[[7271,5502],[-4,-62],[-12,-16],[-24,-14],[-13,47],[-5,85],[13,96],[19,-33],[13,-42],[13,-61]],[[5804,3347],[10,-18],[-9,-29],[-4,-19],[-16,-9],[-5,-19],[-10,-6],[-21,46],[15,37],[15,23],[13,12],[12,-18]],[[5631,8267],[-2,15],[3,16],[-13,10],[-29,10]],[[5590,8318],[-6,50]],[[5584,8368],[32,18],[47,-4],[27,6],[4,-12],[15,-4],[26,-29]],[[5652,8242],[-7,19],[-14,6]],[[5584,8368],[1,44],[14,37],[26,20],[22,-44],[22,1],[6,46]],[[5757,8453],[14,-14],[2,-28],[9,-35]],[[4759,6691],[-4,0],[0,-31],[-17,-2],[-9,-14],[-13,0],[-10,8],[-23,-6],[-9,-46],[-9,-5],[-13,-74],[-38,-64],[-9,-81],[-12,-27],[-3,-21],[-63,-5]],[[4527,6323],[1,27],[11,17],[9,30],[-2,20],[10,42],[15,38],[9,9],[8,35],[0,31],[10,37],[19,21],[18,60],[0,1],[14,23],[26,6],[22,41],[14,16],[23,49],[-7,73],[10,51],[4,31],[18,40],[28,27],[21,25],[18,61],[9,36],[20,0],[17,-25],[26,4],[29,-13],[12,-1]],[[5739,7906],[6,9],[19,6],[20,-19],[12,-2],[12,-16],[-2,-20],[11,-9],[4,-25],[9,-15],[-2,-9],[5,-6],[-7,-4],[-16,1],[-3,9],[-6,-5],[2,-11],[-7,-19],[-5,-20],[-7,-6]],[[5784,7745],[-5,27],[3,25],[-1,26],[-16,35],[-9,25],[-9,17],[-8,6]],[[6376,4321],[7,-25],[7,-39],[4,-71],[7,-28],[-2,-28],[-5,-18],[-10,35],[-5,-18],[5,-43],[-2,-25],[-8,-14],[-1,-50],[-11,-69],[-14,-81],[-17,-112],[-11,-82],[-12,-69],[-23,-14],[-24,-25],[-16,15],[-22,21],[-8,31],[-2,53],[-10,47],[-2,42],[5,43],[13,10],[0,20],[13,45],[2,37],[-6,28],[-5,38],[-2,54],[9,33],[4,38],[14,2],[15,12],[11,10],[12,1],[16,34],[23,36],[8,30],[-4,25],[12,-7],[15,41],[1,36],[9,26],[10,-25]],[[2301,6586],[-10,-52],[-5,-43],[-2,-79],[-3,-29],[5,-32],[9,-29],[5,-45],[19,-44],[6,-34],[11,-29],[29,-16],[12,-25],[24,17],[21,6],[21,11],[18,10],[17,24],[7,34],[2,50],[5,17],[19,16],[29,13],[25,-2],[17,5],[6,-12],[-1,-29],[-15,-35],[-6,-36],[5,-10],[-4,-26],[-7,-46],[-7,15],[-6,-1]],[[2438,5916],[-32,64],[-14,19],[-23,16],[-15,-5],[-22,-22],[-14,-6],[-20,16],[-21,11],[-26,27],[-21,8],[-31,28],[-23,28],[-7,16],[-16,3],[-28,19],[-12,27],[-30,34],[-14,37],[-6,29],[9,5],[-3,17],[7,16],[0,20],[-10,27],[-2,23],[-9,30],[-25,59],[-28,46],[-13,37],[-24,24],[-5,14],[4,37],[-14,13],[-17,29],[-7,41],[-14,5],[-17,31],[-13,29],[-1,19],[-15,44],[-10,45],[1,23],[-20,23],[-10,-2],[-15,16],[-5,-24],[5,-28],[2,-45],[10,-24],[21,-41],[4,-14],[4,-4],[4,-20],[5,1],[6,-38],[8,-15],[6,-21],[17,-30],[10,-55],[8,-26],[8,-28],[1,-31],[13,-2],[12,-27],[10,-26],[-1,-11],[-12,-21],[-5,0],[-7,36],[-18,33],[-20,29],[-14,15],[1,43],[-5,32],[-13,19],[-19,26],[-4,-8],[-7,16],[-17,14],[-16,34],[2,5],[11,-4],[11,22],[1,27],[-22,42],[-16,17],[-10,36],[-11,39],[-12,47],[-12,54]],[[1746,6980],[32,4],[35,7],[-2,-12],[41,-29],[64,-41],[55,0],[22,0],[0,24],[48,0],[10,-20],[15,-19],[16,-26],[9,-31],[7,-32],[15,-18],[23,-18],[17,47],[23,1],[19,-24],[14,-40],[10,-35],[16,-34],[6,-41],[8,-28],[22,-18],[20,-13],[10,2]],[[5599,7553],[9,4],[13,1]],[[4661,5921],[10,11],[4,35],[9,1],[20,-16],[15,11],[11,-4],[4,13],[112,1],[6,42],[-5,7],[-13,255],[-14,255],[43,1]],[[5118,6189],[0,-136],[-15,-39],[-2,-37],[-25,-9],[-38,-5],[-10,-21],[-18,-3]],[[4680,5793],[1,18],[-2,23],[-11,16],[-5,34],[-2,37]],[[7737,5644],[-3,44],[9,45],[-10,35],[3,65],[-12,30],[-9,71],[-5,75],[-12,49],[-18,-30],[-32,-42],[-15,5],[-17,14],[9,73],[-6,56],[-21,68],[3,21],[-16,7],[-20,49]],[[7780,6264],[-16,-14],[-16,-26],[-20,-2],[-12,-64],[-12,-11],[14,-52],[17,-43],[12,-39],[-11,-51],[-9,-11],[6,-30],[19,-47],[3,-33],[0,-27],[11,-54],[-16,-55],[-13,-61]],[[5538,7532],[-6,4],[-8,19],[-12,12]],[[5533,7629],[8,-10],[4,-9],[9,-6],[10,-12],[-2,-5]],[[7437,7970],[29,10],[53,51],[42,28],[24,-18],[29,-1],[19,-28],[28,-2],[40,-15],[27,41],[-11,35],[28,61],[31,-24],[26,-7],[32,-15],[6,-44],[39,-25],[26,11],[36,7],[27,-7],[28,-29],[16,-30],[26,1],[35,-10],[26,15],[36,9],[41,42],[17,-6],[14,-20],[33,5]],[[5959,4377],[21,5],[34,-17],[7,8],[19,1],[10,18],[17,-1],[30,23],[22,34]],[[6119,4448],[5,-26],[-1,-59],[3,-52],[1,-92],[5,-29],[-8,-43],[-11,-41],[-18,-36],[-25,-23],[-31,-28],[-32,-64],[-10,-11],[-20,-42],[-11,-13],[-3,-42],[14,-45],[5,-35],[0,-17],[5,3],[-1,-58],[-4,-28],[6,-10],[-4,-25],[-11,-21],[-23,-20],[-34,-32],[-12,-21],[3,-25],[7,-4],[-3,-31]],[[5911,3478],[-21,0]],[[5890,3478],[-2,26],[-4,27]],[[5884,3531],[-3,21],[5,66],[-7,42],[-13,83]],[[5866,3743],[29,67],[7,43],[5,5],[3,35],[-5,17],[1,44],[6,41],[0,75],[-15,19],[-13,4],[-6,15],[-13,12],[-23,-1],[-2,22]],[[5840,4141],[-2,42],[84,49]],[[5922,4232],[16,-28],[8,5],[11,-15],[1,-23],[-6,-28],[2,-42],[19,-36],[8,41],[12,12],[-2,76],[-12,43],[-10,19],[-10,-1],[-7,77],[7,45]],[[4661,5921],[-18,41],[-17,43],[-18,16],[-13,17],[-16,-1],[-13,-12],[-14,5],[-10,-19]],[[4542,6011],[-2,32],[8,29],[3,55],[-3,59],[-3,29],[2,30],[-7,28],[-14,25]],[[4526,6298],[6,20],[108,-1],[-5,86],[7,30],[26,5],[-1,152],[91,-4],[0,90]],[[5922,4232],[-15,15],[9,55],[9,21],[-6,49],[6,48],[5,16],[-7,50],[-14,26]],[[5909,4512],[28,-11],[5,-16],[10,-28],[7,-80]],[[7836,5425],[7,-5],[16,-36],[12,-40],[2,-39],[-3,-27],[2,-21],[2,-35],[10,-16],[11,-52],[-1,-20],[-19,-4],[-27,44],[-32,47],[-4,30],[-16,39],[-4,49],[-10,32],[4,43],[-7,25]],[[7779,5439],[5,11],[23,-26],[2,-30],[18,7],[9,24]],[[8045,5176],[21,-20],[21,11],[6,50],[12,11],[33,13],[20,47],[14,37]],[[8206,5379],[22,41],[14,47],[11,0],[14,-30],[1,-26],[19,-16],[23,-18],[-2,-23],[-19,-3],[5,-29],[-20,-20]],[[5453,3369],[-20,45],[-11,43],[-6,58],[-7,42],[-9,91],[-1,71],[-3,32],[-11,25],[-15,48],[-14,71],[-6,37],[-23,58],[-2,45]],[[5644,4022],[23,14],[18,-4],[11,-13],[0,-5]],[[5552,3594],[0,-218],[-25,-30],[-15,-4],[-17,11],[-13,4],[-4,25],[-11,17],[-14,-30]],[[9604,3812],[23,-36],[14,-28],[-10,-14],[-16,16],[-19,27],[-18,31],[-19,42],[-4,20],[12,-1],[16,-20],[12,-20],[9,-17]],[[5412,6408],[7,-92],[10,-15],[1,-19],[11,-20],[-6,-25],[-11,-120],[-1,-77],[-35,-56],[-12,-78],[11,-22],[0,-38],[18,-1],[-3,-28]],[[5393,5795],[-5,-1],[-19,64],[-6,3],[-22,-33],[-21,17],[-15,3],[-8,-8],[-17,2],[-16,-25],[-14,-2],[-34,31],[-13,-15],[-14,1],[-10,23],[-28,22],[-30,-7],[-7,-13],[-4,-34],[-8,-24],[-2,-53]],[[5236,5339],[-29,-21],[-11,3],[-10,-13],[-23,1],[-15,37],[-9,43],[-19,39],[-21,-1],[-25,0]],[[2619,5713],[-10,18],[-13,24],[-6,20],[-12,19],[-13,26],[3,9],[4,-9],[2,5]],[[2690,5943],[-2,-5],[-2,-13],[3,-22],[-6,-20],[-3,-24],[-1,-26],[1,-15],[1,-27],[-4,-6],[-3,-25],[2,-15],[-6,-16],[2,-16],[4,-9]],[[5092,8091],[14,16],[24,87],[38,25],[23,-2]],[[5863,9167],[-47,-24],[-22,-5]],[[5573,9140],[-17,-2],[-4,-39],[-53,9],[-7,-33],[-27,1],[-18,-42],[-28,-66],[-43,-83],[10,-20],[-10,-24],[-27,1],[-18,-55],[2,-79],[17,-29],[-9,-70],[-23,-40],[-12,-34]],[[5306,8535],[-19,36],[-55,-69],[-37,-13],[-38,30],[-10,63],[-9,137],[26,38],[73,49],[55,61],[51,82],[66,115],[47,44],[76,74],[61,26],[46,-3],[42,49],[51,-3],[50,12],[87,-43],[-36,-16],[30,-37]],[[5686,9657],[-62,-24],[-49,13],[19,16],[-16,19],[57,11],[11,-22],[40,-13]],[[5506,9766],[92,-44],[-70,-23],[-15,-44],[-25,-11],[-13,-49],[-34,-2],[-59,36],[25,21],[-42,17],[-54,50],[-21,46],[75,21],[16,-20],[39,0],[11,21],[40,2],[35,-21]],[[5706,9808],[55,-21],[-41,-32],[-81,-7],[-82,10],[-5,16],[-40,1],[-30,27],[86,17],[40,-14],[28,17],[70,-14]],[[9805,2640],[6,-24],[20,24],[8,-25],[0,-25],[-10,-27],[-18,-44],[-14,-24],[10,-28],[-22,-1],[-23,-22],[-8,-39],[-16,-60],[-21,-26],[-14,-17],[-26,1],[-18,20],[-30,4],[-5,22],[15,43],[35,59],[18,11],[20,22],[24,31],[16,31],[13,44],[10,15],[5,33],[19,27],[6,-25]],[[9849,2922],[20,-63],[1,41],[13,-16],[4,-45],[22,-19],[19,-5],[16,22],[14,-6],[-7,-53],[-8,-34],[-22,1],[-7,-18],[3,-25],[-4,-11],[-11,-32],[-14,-41],[-21,-23],[-5,15],[-12,9],[16,48],[-9,33],[-30,23],[1,22],[20,20],[5,46],[-1,38],[-12,40],[1,10],[-13,25],[-22,52],[-12,42],[11,4],[15,-33],[21,-15],[8,-52]],[[6475,6041],[-9,41],[-22,98]],[[6444,6180],[83,59],[19,118],[-13,42]],[[6566,6530],[12,-40],[16,-22],[20,-8],[17,-10],[12,-34],[8,-20],[10,-7],[0,-13],[-10,-36],[-5,-16],[-12,-19],[-10,-41],[-13,3],[-5,-14],[-5,-30],[4,-39],[-3,-7],[-13,0],[-17,-22],[-3,-29],[-6,-12],[-18,0],[-10,-15],[0,-24],[-14,-16],[-15,5],[-19,-19],[-12,-4]],[[6557,6597],[8,20],[3,-5],[-2,-25],[-4,-10]],[[6893,6457],[-20,15],[-9,43],[-21,45],[-51,-12],[-45,-1],[-39,-8]],[[2836,5484],[-9,17],[-6,32],[7,16],[-7,4],[-5,20],[-14,16],[-12,-4],[-6,-20],[-11,-15],[-6,-2],[-3,-13],[13,-32],[-7,-7],[-4,-9],[-13,-3],[-5,35],[-4,-10],[-9,4],[-5,24],[-12,3],[-7,7],[-12,0],[-1,-13],[-3,9]],[[2707,5623],[10,-22],[-1,-12],[11,-3],[3,5],[8,-14],[13,4],[12,15],[17,12],[9,17],[16,-3],[-1,-6],[15,-2],[12,-10],[10,-18],[10,-16]],[[3045,3974],[-28,33],[-2,25],[-55,59],[-50,65],[-22,36],[-11,49],[4,17],[-23,77],[-28,109],[-26,118],[-11,27],[-9,43],[-21,39],[-20,24],[9,26],[-14,57],[9,41],[22,37]],[[8510,5555],[2,-40],[2,-33],[-9,-54],[-11,60],[-13,-30],[9,-43],[-8,-28],[-32,35],[-8,42],[8,28],[-17,28],[-9,-24],[-13,2],[-21,-33],[-4,17],[11,50],[17,17],[15,22],[10,-27],[21,17],[5,26],[19,1],[-1,46],[22,-28],[3,-30],[2,-21]],[[8443,5665],[-10,-20],[-9,-37],[-8,-17],[-17,40],[5,16],[7,17],[3,36],[16,4],[-5,-40],[21,57],[-3,-56]],[[8291,5608],[-37,-56],[14,41],[20,37],[16,41],[15,58],[5,-48],[-18,-33],[-15,-40]],[[8385,5760],[16,-18],[18,0],[0,-25],[-13,-25],[-18,-18],[-1,28],[2,30],[-4,28]],[[8485,5776],[8,-66],[-21,16],[0,-20],[7,-37],[-13,-13],[-1,42],[-9,3],[-4,36],[16,-5],[0,22],[-17,45],[27,-1],[7,-22]],[[8375,5830],[-7,-51],[-12,29],[-15,45],[24,-2],[10,-21]],[[8369,6151],[17,-17],[9,15],[2,-15],[-4,-24],[9,-43],[-7,-49],[-16,-19],[-5,-48],[7,-47],[14,-7],[13,7],[34,-32],[-2,-32],[9,-15],[-3,-27],[-22,29],[-10,31],[-7,-22],[-18,36],[-25,-9],[-14,13],[1,25],[9,15],[-8,13],[-4,-21],[-14,34],[-4,26],[-1,56],[11,-19],[3,92],[9,54],[17,0]],[[9329,4655],[-8,-6],[-12,22],[-12,38],[-6,45],[4,6],[3,-18],[8,-13],[14,-38],[13,-20],[-4,-16]],[[9221,4734],[-15,-5],[-4,-17],[-15,-14],[-15,-14],[-14,0],[-23,18],[-16,16],[2,18],[25,-8],[15,4],[5,29],[4,1],[2,-31],[16,4],[8,20],[16,21],[-4,35],[17,1],[6,-9],[-1,-33],[-9,-36]],[[8916,4904],[48,-41],[51,-34],[19,-30],[16,-30],[4,-34],[46,-37],[7,-31],[-25,-7],[6,-39],[25,-39],[18,-62],[15,2],[-1,-27],[22,-10],[-9,-11],[30,-25],[-3,-17],[-18,-4],[-7,16],[-24,6],[-28,9],[-22,38],[-16,32],[-14,52],[-36,26],[-24,-17],[-17,-20],[4,-43],[-22,-20],[-16,9],[-28,3]],[[9253,4792],[-9,-16],[-5,35],[-6,23],[-13,19],[-16,25],[-20,18],[8,14],[15,-17],[9,-13],[12,-14],[11,-25],[11,-19],[3,-30]],[[5392,8233],[19,18],[43,27],[35,20],[28,-10],[2,-14],[27,-1]],[[5546,8273],[34,-7],[51,1]],[[5653,8105],[14,-52],[-3,-17],[-14,-6],[-25,-50],[7,-26],[-6,3]],[[5626,7957],[-26,23],[-20,-8],[-13,6],[-17,-13],[-14,21],[-11,-8],[-2,4]],[[3159,6151],[14,-5],[5,-12],[-7,-15],[-21,1],[-17,-2],[-1,25],[4,9],[23,-1]],[[8628,7562],[4,-10]],[[8632,7552],[-11,3],[-12,-20],[-8,-20],[1,-42],[-14,-13],[-5,-11],[-11,-17],[-18,-10],[-12,-16],[-1,-25],[-3,-7],[11,-9],[15,-26]],[[8504,7288],[-13,11],[-4,-11],[-8,-5],[-1,11],[-7,5],[-8,10],[8,26],[7,7],[-3,11],[7,31],[-2,10],[-16,7],[-13,15]],[[4792,7249],[-11,-15],[-14,8],[-15,-6],[5,46],[-3,36],[-12,6],[-7,22],[2,39],[11,21],[2,24],[6,36],[-1,25],[-5,21],[-1,20]],[[6411,6520],[-2,43],[7,31],[8,6],[8,-18],[1,-35],[-6,-35]],[[6427,6512],[-8,-4],[-8,12]],[[5630,7886],[12,13],[17,-7],[18,0],[13,-14],[10,9],[20,5],[7,14],[12,0]],[[5784,7745],[12,-11],[13,9],[13,-10]],[[5822,7733],[0,-15],[-13,-13],[-9,6],[-7,-71]],[[5629,7671],[-5,10],[6,10],[-7,7],[-8,-13],[-17,17],[-2,25],[-17,14],[-3,18],[-15,24]],[[8989,8056],[28,-105],[-41,19],[-17,-85],[27,-61],[-1,-41],[-21,36],[-18,-46],[-5,50],[3,57],[-3,64],[6,45],[2,79],[-17,58],[3,80],[25,28],[-11,27],[13,8],[7,-39],[10,-57],[-1,-58],[11,-59]],[[5546,8273],[6,26],[38,19]],[[0,9132],[68,-45],[73,-59],[-3,-37],[19,-15],[-6,43],[75,-8],[55,-56],[-28,-26],[-46,-6],[0,-57],[-11,-13],[-26,2],[-22,21],[-36,17],[-7,26],[-28,9],[-31,-7],[-16,20],[6,22],[-33,-14],[13,-28],[-16,-25]],[[0,8896],[0,236]],[[0,9282],[9999,-40],[-30,-3],[-5,19],[-9964,24]],[[0,9282],[4,3],[23,0],[40,-17],[-2,-8],[-29,-14],[-36,-4],[0,40]],[[8988,9383],[-42,-1],[-57,7],[-5,3],[27,23],[34,6],[40,-23],[3,-15]],[[9186,9493],[-32,-23],[-44,5],[-52,23],[7,20],[51,-9],[70,-16]],[[9029,9522],[-22,-44],[-102,1],[-46,-14],[-55,39],[15,40],[37,11],[73,-2],[100,-31]],[[6598,9235],[-17,-5],[-91,8],[-7,26],[-50,16],[-4,32],[28,13],[-1,32],[55,50],[-25,7],[66,52],[-7,27],[62,31],[91,38],[93,11],[48,22],[54,8],[19,-23],[-19,-19],[-98,-29],[-85,-28],[-86,-57],[-42,-57],[-43,-57],[5,-49],[54,-49]],[[0,8896],[9963,-26],[-36,4],[25,-31],[17,-49],[13,-16],[3,-24],[-7,-16],[-52,13],[-78,-44],[-25,-7],[-42,-42],[-40,-36],[-11,-27],[-39,41],[-73,-46],[-12,22],[-27,-26],[-37,8],[-9,-38],[-33,-58],[1,-24],[31,-13],[-4,-86],[-25,-2],[-12,-49],[11,-26],[-48,-30],[-10,-67],[-41,-15],[-9,-60],[-40,-55],[-10,41],[-12,86],[-15,131],[13,82],[23,35],[2,28],[43,13],[50,75],[47,60],[50,48],[23,83],[-34,-5],[-17,-49],[-70,-65],[-23,73],[-72,-20],[-69,-99],[23,-36],[-62,-16],[-43,-6],[2,43],[-43,9],[-35,-29],[-85,10],[-91,-18],[-90,-115],[-106,-139],[43,-8],[14,-37],[27,-13],[18,30],[30,-4],[40,-65],[1,-50],[-21,-59],[-3,-71],[-12,-94],[-42,-86],[-9,-41],[-38,-69],[-38,-68],[-18,-35],[-37,-34],[-17,-1],[-17,29],[-38,-44],[-4,-19]],[[6363,7799],[-12,-35],[-27,-10],[-28,-61],[25,-56],[-2,-40],[30,-70]],[[6109,7624],[-35,49],[-32,23],[-24,34],[20,10],[23,49],[-15,24],[41,24],[-1,13],[-25,-10]],[[6061,7840],[1,26],[14,17],[27,4],[5,20],[-7,33],[12,30],[-1,18],[-41,19],[-16,-1],[-17,28],[-21,-9],[-35,20],[0,12],[-10,26],[-22,3],[-2,18],[7,12],[-18,33],[-29,-5],[-8,3],[-7,-14],[-11,3]],[[5777,8571],[31,33],[-29,28]],[[5863,9167],[29,20],[46,-35],[76,-14],[105,-67],[21,-28],[2,-40],[-31,-31],[-45,-15],[-124,44],[-21,-7],[45,-43],[2,-28],[2,-60],[36,-18],[22,-15],[3,28],[-17,26],[18,22],[67,-37],[24,15],[-19,43],[65,58],[25,-4],[26,-20],[16,40],[-23,35],[14,36],[-21,36],[78,-18],[16,-34],[-35,-7],[0,-33],[22,-20],[43,13],[7,38],[58,28],[97,50],[20,-3],[-27,-35],[35,-7],[19,21],[52,1],[42,25],[31,-36],[32,39],[-29,35],[14,19],[82,-18],[39,-18],[100,-68],[19,31],[-28,31],[-1,13],[-34,6],[10,28],[-15,46],[-1,19],[51,53],[18,54],[21,11],[74,-15],[5,-33],[-26,-48],[17,-19],[9,-41],[-6,-81],[31,-36],[-12,-40],[-55,-84],[32,-8],[11,21],[31,15],[7,29],[24,29],[-16,33],[13,39],[-31,5],[-6,33],[22,59],[-36,48],[50,40],[-7,42],[14,2],[15,-33],[-11,-57],[29,-11],[-12,43],[46,23],[58,3],[51,-34],[-25,49],[-2,63],[48,12],[67,-2],[60,7],[-23,31],[33,39],[31,2],[54,29],[74,8],[9,16],[73,6],[23,-14],[62,32],[51,-1],[8,25],[26,25],[66,25],[48,-19],[-38,-15],[63,-9],[7,-29],[25,14],[82,-1],[62,-29],[23,-22],[-7,-30],[-31,-18],[-73,-33],[-21,-17],[35,-8],[41,-15],[25,11],[14,-38],[12,15],[44,10],[90,-10],[6,-28],[116,-9],[2,46],[59,-11],[44,1],[45,-32],[13,-37],[-17,-25],[35,-47],[44,-24],[27,62],[44,-26],[48,16],[53,-18],[21,16],[45,-8],[-20,55],[37,25],[251,-38],[24,-35],[72,-45],[112,11],[56,-10],[23,-24],[-4,-44],[35,-16],[37,12],[49,1],[52,-11],[53,6],[49,-52],[34,19],[-23,37],[13,27],[88,-17],[58,4],[80,-29],[-9960,-25]],[[7918,9684],[-157,-23],[51,77],[23,7],[21,-4],[70,-33],[-8,-24]],[[6420,9816],[-37,-8],[-25,-4],[-4,-10],[-33,-10],[-30,14],[16,19],[-62,2],[54,10],[43,1],[5,-16],[16,14],[26,10],[42,-13],[-11,-9]],[[7775,9718],[-60,-8],[-78,17],[-46,23],[-21,42],[-38,12],[72,40],[60,14],[54,-30],[64,-57],[-7,-53]],[[5844,4990],[11,-33],[-1,-35],[-8,-7]],[[5821,4978],[7,-6],[16,18]],[[4526,6298],[1,25]],[[6188,6023],[-4,26],[-8,17],[-2,24],[-15,21],[-15,50],[-7,48],[-20,40],[-12,10],[-18,56],[-4,41],[2,35],[-16,66],[-13,23],[-15,12],[-10,34],[2,13],[-8,31],[-8,13],[-11,44],[-17,48],[-14,40],[-14,0],[5,33],[1,20],[3,24]],[[6344,6744],[11,-51],[14,-13],[5,-21],[18,-25],[2,-24],[-3,-20],[4,-20],[8,-16],[4,-20],[4,-14]],[[6427,6512],[5,-22]],[[6444,6180],[-80,-23],[-26,-26],[-20,-62],[-13,-10],[-7,20],[-11,-3],[-27,6],[-5,5],[-32,-1],[-7,-5],[-12,15],[-7,-29],[3,-25],[-12,-19]],[[5943,5617],[-4,1],[0,29],[-3,20],[-14,24],[-4,42],[4,44],[-13,4],[-2,-13],[-17,-3],[7,-17],[2,-36],[-15,-32],[-14,-43],[-14,-6],[-23,34],[-11,-12],[-3,-17],[-14,-11],[-1,-12],[-28,0],[-3,12],[-20,2],[-10,-10],[-8,5],[-14,34],[-5,17],[-20,-9],[-8,-27],[-7,-53],[-10,-11],[-8,-6]],[[5663,5567],[-2,2]],[[5635,5716],[0,14],[-10,17],[-1,35],[-5,23],[-10,-4],[3,22],[7,25],[-3,24],[9,18],[-6,14],[7,36],[13,44],[24,-4],[-1,234]],[[6023,6357],[9,-58],[-6,-10],[4,-61],[11,-71],[10,-14],[15,-22]],[[5943,5624],[0,-7]],[[5943,5617],[0,-46]],[[5944,5309],[-17,-28],[-20,1],[-22,-14],[-18,13],[-11,-16]],[[5682,5544],[-19,23]],[[4535,5861],[-11,46],[-14,21],[12,11],[14,41],[6,31]],[[4536,5789],[-4,45]],[[9502,4438],[8,-20],[-19,0],[-11,37],[17,-15],[5,-2]],[[9467,4474],[-11,-1],[-17,6],[-5,9],[1,23],[19,-9],[9,-12],[4,-16]],[[9490,4490],[-4,-11],[-21,52],[-5,35],[9,0],[10,-47],[11,-29]],[[9440,4565],[1,-12],[-22,25],[-15,21],[-10,20],[4,6],[13,-14],[23,-27],[6,-19]],[[9375,4623],[-5,-3],[-13,14],[-11,24],[1,10],[17,-25],[11,-20]],[[4682,5458],[-8,5],[-20,24],[-14,31],[-5,22],[-3,43]],[[2561,5848],[-3,-14],[-16,1],[-10,6],[-12,12],[-15,3],[-8,13]],[[6198,5735],[9,-11],[5,-25],[13,-24],[14,-1],[26,16],[30,7],[25,18],[13,4],[10,11],[16,2]],[[6359,5732],[0,-1],[0,-25],[0,-59],[0,-31],[-13,-36],[-19,-50]],[[6359,5732],[9,1],[13,9],[14,6],[14,20],[10,0],[1,-16],[-3,-35],[0,-31],[-6,-21],[-7,-64],[-14,-66],[-17,-75],[-24,-87],[-23,-66],[-33,-81],[-28,-48],[-42,-58],[-25,-45],[-31,-72],[-6,-31],[-6,-14]],[[3412,5410],[34,-11],[2,10],[23,4],[30,-15]],[[3489,5306],[10,-35],[-4,-25]],[[5626,7957],[-8,-15],[-5,-24]],[[5380,7746],[7,5]],[[5663,8957],[-47,-17],[-27,-41],[4,-36],[-44,-48],[-54,-50],[-20,-84],[20,-41],[26,-33],[-25,-67],[-29,-14],[-11,-99],[-15,-55],[-34,6],[-16,-47],[-32,-3],[-9,56],[-23,67],[-21,84]],[[5890,3478],[-5,-26],[-17,-6],[-16,32],[0,20],[7,22],[3,17],[8,5],[14,-11]],[[5999,7104],[-2,45],[7,25]],[[6004,7174],[7,13],[7,13],[2,33],[9,-12],[31,17],[14,-12],[23,1],[32,22],[15,-1],[32,9]],[[5051,5420],[-22,-12]],[[7849,5777],[-25,28],[-24,-2],[4,47],[-24,0],[-2,-65],[-15,-87],[-10,-52],[2,-43],[18,-2],[12,-53],[5,-52],[15,-33],[17,-7],[14,-31]],[[7779,5439],[-11,23],[-4,29],[-15,34],[-14,28],[-4,-35],[-5,33],[3,37],[8,56]],[[6883,7252],[16,60],[-6,44],[-20,14],[7,26],[23,-3],[13,33],[9,38],[37,13],[-6,-27],[4,-17],[12,2]],[[6497,7255],[-5,42],[4,62],[-22,20],[8,40],[-19,4],[6,49],[26,-14],[25,19],[-20,35],[-8,34],[-23,-15],[-3,-43],[-8,38]],[[6554,7498],[31,1],[-4,29],[24,21],[23,34],[37,-31],[3,-47],[11,-12],[30,2],[9,-10],[14,-61],[32,-41],[18,-28],[29,-29],[37,-25],[-1,-36]],[[8471,4532],[3,14],[24,13],[19,2],[9,8],[10,-8],[-10,-16],[-29,-25],[-23,-17]],[[3286,5693],[16,8],[6,-2],[-1,-44],[-23,-7],[-5,6],[8,16],[-1,23]],[[5233,7240],[31,24],[19,-7],[-1,-30],[24,22],[2,-12],[-14,-29],[0,-27],[9,-15],[-3,-51],[-19,-29],[6,-33],[14,-1],[7,-28],[11,-9]],[[6004,7174],[-11,27],[11,22],[-17,-5],[-23,13],[-19,-34],[-43,-6],[-22,31],[-30,2],[-6,-24],[-20,-7],[-26,31],[-31,-1],[-16,59],[-21,33],[14,46],[-18,28],[31,56],[43,3],[12,45],[53,-8],[33,38],[32,17],[46,1],[49,-42],[40,-22],[32,9],[24,-6],[33,31]],[[5777,7539],[3,-23],[25,-19],[-5,-14],[-33,-3],[-12,-19],[-23,-31],[-9,27],[0,12]],[[8382,6499],[-17,-95],[-12,-49],[-14,50],[-4,44],[17,58],[22,45],[13,-18],[-5,-35]],[[6088,4781],[-12,-73],[1,-33],[18,-22],[1,-15],[-8,-36],[2,-18],[-2,-28],[10,-37],[11,-58],[10,-13]],[[5909,4512],[-15,18],[-18,10],[-11,10],[-12,15]],[[5844,4990],[10,8],[31,-1],[56,4]],[[6061,7840],[-22,-5],[-18,-19],[-26,-3],[-24,-22],[1,-37],[14,-14],[28,4],[-5,-21],[-31,-11],[-37,-34],[-16,12],[6,28],[-30,17],[5,12],[26,19],[-8,14],[-43,15],[-2,22],[-25,-8],[-11,-32],[-21,-44]],[[3517,3063],[-12,-38],[-31,-32],[-21,11],[-15,-6],[-26,25],[-18,-1],[-17,32]],[[679,6185],[-4,-10],[-7,8],[1,17],[-4,21],[1,7],[5,10],[-2,11],[1,6],[3,-1],[10,-10],[5,-5],[5,-8],[7,-21],[-1,-3],[-11,-13],[-9,-9]],[[664,6277],[-9,-4],[-5,12],[-3,5],[0,4],[3,5],[9,-6],[8,-9],[-3,-7]],[[646,6309],[-1,-7],[-15,2],[2,7],[14,-2]],[[621,6317],[-2,-3],[-2,1],[-9,2],[-4,13],[-1,2],[7,8],[3,-3],[8,-20]],[[574,6356],[-4,-6],[-9,11],[1,4],[5,6],[6,-1],[1,-14]],[[3135,7724],[5,-19],[-30,-29],[-29,-20],[-29,-18],[-15,-35],[-4,-13],[-1,-31],[10,-32],[11,-1],[-3,21],[8,-13],[-2,-17],[-19,-9],[-13,1],[-20,-10],[-12,-3],[-17,-3],[-23,-17],[41,11],[8,-11],[-39,-18],[-17,0],[0,7],[-8,-16],[8,-3],[-6,-43],[-20,-45],[-2,15],[-6,3],[-9,15],[5,-32],[7,-10],[1,-23],[-9,-23],[-16,-47],[-2,3],[8,40],[-14,22],[-3,49],[-5,-25],[5,-38],[-18,10],[19,-19],[1,-57],[8,-4],[3,-20],[4,-59],[-17,-44],[-29,-18],[-18,-34],[-14,-4],[-14,-22],[-4,-20],[-31,-38],[-16,-28],[-13,-35],[-4,-42],[5,-41],[9,-51],[13,-41],[0,-26],[13,-69],[-1,-39],[-1,-23],[-7,-36],[-8,-8],[-14,7],[-4,26],[-11,14],[-15,51],[-13,45],[-4,23],[6,39],[-8,33],[-22,49],[-10,9],[-28,-27],[-5,3],[-14,28],[-17,14],[-32,-7],[-24,7],[-21,-5],[-12,-9],[5,-15],[0,-24],[5,-12],[-5,-8],[-10,9],[-11,-11],[-20,2],[-20,31],[-25,-8],[-20,14],[-17,-4],[-24,-14],[-25,-44],[-27,-25],[-16,-28],[-6,-27],[0,-41],[1,-28],[5,-20]],[[1746,6980],[-4,30],[-18,34],[-13,7],[-3,17],[-16,3],[-10,16],[-26,6],[-7,9],[-3,32],[-27,60],[-23,82],[1,14],[-13,19],[-21,50],[-4,48],[-15,32],[6,49],[-1,51],[-8,45],[10,56],[4,53],[3,54],[-5,79],[-9,51],[-8,27],[4,12],[40,-20],[15,-56],[7,15],[-5,49],[-9,48]],[[750,8432],[-28,-23],[-14,15],[-4,28],[25,21],[15,9],[18,-4],[12,-18],[-24,-28]],[[401,8597],[-18,-9],[-18,11],[-17,16],[28,10],[22,-6],[3,-22]],[[230,8826],[17,-12],[17,6],[23,-15],[27,-8],[-2,-7],[-21,-12],[-21,13],[-11,11],[-24,-4],[-7,5],[2,23]],[[1374,8295],[-15,22],[-25,19],[-8,52],[-36,47],[-15,56],[-26,4],[-44,2],[-33,17],[-57,61],[-27,11],[-49,21],[-38,-5],[-55,27],[-33,25],[-30,-12],[5,-41],[-15,-4],[-32,-12],[-25,-20],[-30,-13],[-4,35],[12,58],[30,18],[-8,15],[-35,-33],[-19,-39],[-40,-42],[20,-29],[-26,-42],[-30,-25],[-28,-18],[-7,-26],[-43,-31],[-9,-28],[-32,-25],[-20,5],[-25,-17],[-29,-20],[-23,-20],[-47,-16],[-5,9],[31,28],[27,18],[29,33],[35,6],[14,25],[38,35],[6,12],[21,21],[5,44],[14,35],[-32,-18],[-9,11],[-15,-22],[-18,30],[-8,-21],[-10,29],[-28,-23],[-17,0],[-3,35],[5,21],[-17,22],[-37,-12],[-23,28],[-19,14],[0,34],[-22,25],[11,34],[23,33],[10,30],[22,4],[19,-9],[23,28],[20,-5],[21,19],[-5,27],[-16,10],[21,23],[-17,-1],[-30,-13],[-8,-13],[-22,13],[-39,-6],[-41,14],[-12,24],[-35,34],[39,25],[62,29],[23,0],[-4,-30],[59,2],[-23,37],[-34,23],[-20,29],[-26,25],[-38,19],[15,31],[49,2],[35,27],[7,29],[28,28],[28,6],[52,27],[26,-4],[42,31],[42,-12],[21,-27],[12,11],[47,-3],[-2,-14],[43,-10],[28,6],[59,-18],[53,-6],[21,-8],[37,10],[42,-18],[31,-8]],[[3018,5753],[-1,-14],[-16,-7],[9,-26],[0,-31],[-12,-35],[10,-47],[12,4],[6,43],[-8,21],[-2,45],[35,24],[-4,27],[10,19],[10,-41],[19,-1],[18,-33],[1,-20],[25,0],[30,6],[16,-27],[21,-7],[16,18],[0,15],[34,4],[34,1],[-24,-18],[10,-28],[22,-4],[21,-29],[4,-48],[15,2],[11,-14]],[[8001,6331],[-37,-51],[-24,-56],[-6,-41],[22,-62],[25,-77],[26,-37],[17,-47],[12,-109],[-3,-104],[-24,-39],[-31,-38],[-23,-49],[-35,-55],[-10,37],[8,40],[-21,34]],[[9661,4085],[-9,-8],[-9,26],[1,16],[17,-34]],[[9641,4175],[4,-47],[-7,7],[-6,-3],[-4,16],[0,45],[13,-18]],[[6475,6041],[-21,-16],[-5,-26],[-1,-20],[-27,-25],[-45,-28],[-24,-41],[-13,-3],[-8,3],[-16,-25],[-18,-11],[-23,-3],[-7,-3],[-6,-16],[-8,-4],[-4,-15],[-14,1],[-9,-8],[-19,3],[-7,35],[1,32],[-5,17],[-5,44],[-8,24],[5,3],[-2,27],[3,12],[-1,25]],[[5817,3752],[11,0],[14,-10],[9,7],[15,-6]],[[5911,3478],[-7,-43],[-3,-49],[-7,-27],[-19,-30],[-5,-8],[-12,-30],[-8,-31],[-16,-42],[-31,-61],[-20,-36],[-21,-26],[-29,-23],[-14,-3],[-3,-17],[-17,9],[-14,-11],[-30,11],[-17,-7],[-12,3],[-28,-23],[-24,-10],[-17,-22],[-13,-1],[-11,21],[-10,1],[-12,26],[-1,-8],[-4,16],[0,34],[-9,40],[9,11],[0,45],[-19,55],[-14,50],[0,1],[-20,76]],[[5840,4141],[-21,-8],[-15,-23],[-4,-21],[-10,-4],[-24,-49],[-15,-38],[-10,-2],[-9,7],[-31,7]]],transform:{scale:[.036003600360036005,.016927109510951093],translate:[-180,-85.609038]}},l.prototype.usaTopo="__USA__",l.prototype.latLngToXY=function(t,e){return this.projection([e,t])},l.prototype.addLayer=function(t,e,n){return(n?this.svg.insert("g",":first-child"):this.svg.append("g")).attr("id",e||"").attr("class",t||"")},l.prototype.updateChoropleth=function(t){var e=this.svg;for(var n in t)if(t.hasOwnProperty(n)){var i,r=t[n];if(!n)continue;i="string"==typeof r?r:"string"==typeof r.color?r.color:this.options.fills[r.fillKey],r===Object(r)&&(this.options.data[n]=c(r,this.options.data[n]||{}),this.svg.select("."+n).attr("data-info",JSON.stringify(this.options.data[n]))),e.selectAll("."+n).transition().style("fill",i)}},l.prototype.updatePopup=function(e,n,i){var r=this;e.on("mousemove",null),e.on("mousemove",function(){var t=h.mouse(r.options.element);h.select(r.svg[0][0].parentNode).select(".datamaps-hoverover").style("top",t[1]+30+"px").html(function(){var t=JSON.parse(e.attr("data-info"));return i.popupTemplate(n,t)}).style("left",t[0]+"px")}),h.select(r.svg[0][0].parentNode).select(".datamaps-hoverover").style("display","block")},l.prototype.addPlugin=function(o,a){var s=this;void 0===l.prototype[o]&&(l.prototype[o]=function(t,e,n,i){var r;void 0===i&&(i=!1),"function"==typeof e&&(n=e,e=void 0),e=c(e||{},s.options[o+"Config"]),!i&&this.options[o+"Layer"]?(r=this.options[o+"Layer"],e=e||this.options[o+"Options"]):(r=this.addLayer(o),this.options[o+"Layer"]=r,this.options[o+"Options"]=e),a.apply(this,[r,t,e]),n&&n(r)})},"function"==typeof define&&define.amd?define("datamaps",function(t){return h=t("d3"),a=t("topojson"),l}):window.Datamap=window.Datamaps=l,window.jQuery&&(window.jQuery.fn.datamaps=function(t,e){(t=t||{}).element=this[0];var n=new l(t);return"function"==typeof e&&e(n,t),this})}(),function(n){"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t||(t=window),e||(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e,t,t.document)}:n(jQuery,window,document)}(function(O,v,y,L){function o(e){var n,i,r={};O.each(e,function(t){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(i=t.replace(n[0],n[2].toLowerCase()),r[i]=t,"o"===n[1]&&o(e[t]))}),e._hungarianMap=r}function b(e,n,i){var r;e._hungarianMap||o(e),O.each(n,function(t){(r=e._hungarianMap[t])===L||!i&&n[r]!==L||("o"===r.charAt(0)?(n[r]||(n[r]={}),O.extend(!0,n[r],n[t]),b(e[r],n[r],i)):n[r]=n[t])})}function x(t){var e=Jt.defaults.oLanguage,n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&It(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&It(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&$t(t)}function w(t){if(de(t,"ordering","bSort"),de(t,"orderMulti","bSortMulti"),de(t,"orderClasses","bSortClasses"),de(t,"orderCellsTop","bSortCellsTop"),de(t,"order","aaSorting"),de(t,"orderFixed","aaSortingFixed"),de(t,"paging","bPaginate"),de(t,"pagingType","sPaginationType"),de(t,"pageLength","iDisplayLength"),de(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":""),t=t.aoSearchCols)for(var e=0,n=t.length;e<n;e++)t[e]&&b(Jt.models.oSearch,t[e])}function S(t){de(t,"orderable","bSortable"),de(t,"orderData","aDataSort"),de(t,"orderSequence","asSorting"),de(t,"orderDataType","sortDataType");var e=t.aDataSort;e&&!O.isArray(e)&&(t.aDataSort=[e])}function _(t){if(!Jt.__browser){var e={};Jt.__browser=e;var n=O("<div/>").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(O("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(O("<div/>").css({width:"100%",height:10}))).appendTo("body"),i=n.children(),r=i.children();e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollOversize=100===r[0].offsetWidth&&100!==i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}O.extend(t.oBrowser,Jt.__browser),t.oScroll.iBarWidth=Jt.__browser.barWidth}function n(t,e,n,i,r,o){var a,s=!1;for(n!==L&&(a=n,s=!0);i!==r;)t.hasOwnProperty(i)&&(a=s?e(a,t[i],i,t):t[i],s=!0,i+=o);return a}function C(t,e){var n=Jt.defaults.column,i=t.aoColumns.length;n=O.extend({},Jt.models.oColumn,n,{nTh:e||y.createElement("th"),sTitle:n.sTitle?n.sTitle:e?e.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[i],mData:n.mData?n.mData:i,idx:i});t.aoColumns.push(n),(n=t.aoPreSearchCols)[i]=O.extend({},Jt.models.oSearch,n[i]),k(t,i,O(e).data())}function k(t,e,n){e=t.aoColumns[e];var i=t.oClasses,r=O(e.nTh);if(!e.sWidthOrig){e.sWidthOrig=r.attr("width")||null;var o=(r.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);o&&(e.sWidthOrig=o[1])}n!==L&&null!==n&&(S(n),b(Jt.defaults.column,n),n.mDataProp!==L&&!n.mData&&(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),O.extend(e,n),It(e,n,"sWidth","sWidthOrig"),n.iDataSort!==L&&(e.aDataSort=[n.iDataSort]),It(e,n,"aDataSort"));var a=e.mData,s=R(a),l=e.mRender?R(e.mRender):null;n=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};e._bAttrSrc=O.isPlainObject(a)&&(n(a.sort)||n(a.type)||n(a.filter)),e._setter=null,e.fnGetData=function(t,e,n){var i=s(t,e,L,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return p(a)(t,e,n)},"number"!=typeof a&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,r.addClass(i.sSortableNone)),t=-1!==O.inArray("asc",e.asSorting),n=-1!==O.inArray("desc",e.asSorting),e.bSortable&&(t||n)?t&&!n?(e.sSortingClass=i.sSortableAsc,e.sSortingClassJUI=i.sSortJUIAscAllowed):!t&&n?(e.sSortingClass=i.sSortableDesc,e.sSortingClassJUI=i.sSortJUIDescAllowed):(e.sSortingClass=i.sSortable,e.sSortingClassJUI=i.sSortJUI):(e.sSortingClass=i.sSortableNone,e.sSortingClassJUI="")}function I(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;vt(t);for(var n=0,i=e.length;n<i;n++)e[n].nTh.style.width=e[n].sWidth}(""!==(e=t.oScroll).sY||""!==e.sX)&&gt(t),jt(t,null,"column-sizing",[t])}function N(t,e){var n=T(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function u(t,e){var n=T(t,"bVisible");return-1!==(n=O.inArray(e,n))?n:null}function M(t){return O(ce(t.aoColumns,"nTh")).filter(":visible").length}function T(t,n){var i=[];return O.map(t.aoColumns,function(t,e){t[n]&&i.push(e)}),i}function a(t){var e,n,i,r,o,a,s,l,u,c=t.aoColumns,h=t.aoData,d=Jt.ext.type.detect;for(e=0,n=c.length;e<n;e++)if(u=[],!(s=c[e]).sType&&s._sManualType)s.sType=s._sManualType;else if(!s.sType){for(i=0,r=d.length;i<r;i++){for(o=0,a=h.length;o<a&&(u[o]===L&&(u[o]=E(t,o,e,"type")),(l=d[i](u[o],t))||i===d.length-1)&&"html"!==l;o++);if(l){s.sType=l;break}}s.sType||(s.sType="string")}}function D(t,e,n,i){var r,o,a,s,l,u,c=t.aoColumns;if(e)for(r=e.length-1;0<=r;r--){var h=(u=e[r]).targets!==L?u.targets:u.aTargets;for(O.isArray(h)||(h=[h]),o=0,a=h.length;o<a;o++)if("number"==typeof h[o]&&0<=h[o]){for(;c.length<=h[o];)C(t);i(h[o],u)}else if("number"==typeof h[o]&&h[o]<0)i(c.length+h[o],u);else if("string"==typeof h[o])for(s=0,l=c.length;s<l;s++)("_all"==h[o]||O(c[s].nTh).hasClass(h[o]))&&i(s,u)}if(n)for(r=0,t=n.length;r<t;r++)i(r,n[r])}function A(t,e,n,i){var r=t.aoData.length,o=O.extend(!0,{},Jt.models.oRow,{src:n?"dom":"data",idx:r});o._aData=e,t.aoData.push(o);for(var a=t.aoColumns,s=0,l=a.length;s<l;s++)a[s].sType=null;return t.aiDisplayMaster.push(r),(e=t.rowIdFn(e))!==L&&(t.aIds[e]=o),(n||!t.oFeatures.bDeferRender)&&g(t,r,n,i),r}function P(n,t){var i;return t instanceof O||(t=O(t)),t.map(function(t,e){return i=l(n,e),A(n,i.data,e,i.cells)})}function E(t,e,n,i){var r=t.iDraw,o=t.aoColumns[n],a=t.aoData[e]._aData,s=o.sDefaultContent,l=o.fnGetData(a,i,{settings:t,row:e,col:n});if(l===L)return t.iDrawError!=r&&null===s&&(Lt(t,0,"Requested unknown parameter "+("function"==typeof o.mData?"{function}":"'"+o.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=r),s;if(l!==a&&null!==l||null===s||i===L){if("function"==typeof l)return l.call(a)}else l=s;return null===l&&"display"==i?"":l}function i(t,e,n,i){t.aoColumns[n].fnSetData(t.aoData[e]._aData,i,{settings:t,row:e,col:n})}function c(t){return O.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\./g,".")})}function R(r){if(O.isPlainObject(r)){var o={};return O.each(r,function(t,e){e&&(o[t]=R(e))}),function(t,e,n,i){var r=o[e]||o._;return r!==L?r(t,e,n,i):t}}if(null===r)return function(t){return t};if("function"==typeof r)return function(t,e,n,i){return r(t,e,n,i)};if("string"!=typeof r||-1===r.indexOf(".")&&-1===r.indexOf("[")&&-1===r.indexOf("("))return function(t){return t[r]};var s=function(t,e,n){var i,r;if(""!==n)for(var o=0,a=(r=c(n)).length;o<a;o++){if(n=r[o].match(fe),i=r[o].match(pe),n){if(r[o]=r[o].replace(fe,""),""!==r[o]&&(t=t[r[o]]),i=[],r.splice(0,o+1),r=r.join("."),O.isArray(t))for(o=0,a=t.length;o<a;o++)i.push(s(t[o],e,r));t=""===(t=n[0].substring(1,n[0].length-1))?i:i.join(t);break}if(i)r[o]=r[o].replace(pe,""),t=t[r[o]]();else{if(null===t||t[r[o]]===L)return L;t=t[r[o]]}}return t};return function(t,e){return s(t,e,r)}}function p(i){if(O.isPlainObject(i))return p(i._);if(null===i)return function(){};if("function"==typeof i)return function(t,e,n){i(t,"set",e,n)};if("string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("("))return function(t,e){t[i]=e};var l=function(t,e,n){var i;i=(n=c(n))[n.length-1];for(var r,o,a=0,s=n.length-1;a<s;a++){if(r=n[a].match(fe),o=n[a].match(pe),r){if(n[a]=n[a].replace(fe,""),t[n[a]]=[],(i=n.slice()).splice(0,a+1),r=i.join("."),O.isArray(e))for(o=0,s=e.length;o<s;o++)l(i={},e[o],r),t[n[a]].push(i);else t[n[a]]=e;return}o&&(n[a]=n[a].replace(pe,""),t=t[n[a]](e)),null!==t[n[a]]&&t[n[a]]!==L||(t[n[a]]={}),t=t[n[a]]}i.match(pe)?t[i.replace(pe,"")](e):t[i.replace(fe,"")]=e};return function(t,e){return l(t,e,i)}}function f(t){return ce(t.aoData,"_aData")}function s(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function h(t,e,n){for(var i=-1,r=0,o=t.length;r<o;r++)t[r]==e?i=r:t[r]>e&&t[r]--;-1!=i&&n===L&&t.splice(i,1)}function r(n,i,t,e){var r,o=n.aoData[i],a=function(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=E(n,i,e,"display")};if("dom"!==t&&(t&&"auto"!==t||"dom"!==o.src)){var s=o.anCells;if(s)if(e!==L)a(s[e],e);else for(t=0,r=s.length;t<r;t++)a(s[t],t)}else o._aData=l(n,o,e,e===L?L:o._aData).data;if(o._aSortData=null,o._aFilterData=null,a=n.aoColumns,e!==L)a[e].sType=null;else{for(t=0,r=a.length;t<r;t++)a[t].sType=null;d(n,o)}}function l(t,e,n,i){function r(t,e){if("string"==typeof t){var n=t.indexOf("@");-1!==n&&(n=t.substring(n+1),p(t)(i,e.getAttribute(n)))}}function o(t){n!==L&&n!==h||(s=d[h],l=O.trim(t.innerHTML),s&&s._bAttrSrc?(p(s.mData._)(i,l),r(s.mData.sort,t),r(s.mData.type,t),r(s.mData.filter,t)):f?(s._setter||(s._setter=p(s.mData)),s._setter(i,l)):i[h]=l),h++}var a,s,l,u=[],c=e.firstChild,h=0,d=t.aoColumns,f=t._rowReadObject;i=i!==L?i:f?{}:[];if(c)for(;c;)"TD"!=(a=c.nodeName.toUpperCase())&&"TH"!=a||(o(c),u.push(c)),c=c.nextSibling;else for(c=0,a=(u=e.anCells).length;c<a;c++)o(u[c]);return(e=e.firstChild?e:e.nTr)&&(e=e.getAttribute("id"))&&p(t.rowId)(i,e),{data:i,cells:u}}function g(t,e,n,i){var r,o,a,s,l,u=t.aoData[e],c=u._aData,h=[];if(null===u.nTr){for(r=n||y.createElement("tr"),u.nTr=r,u.anCells=h,r._DT_RowIndex=e,d(t,u),s=0,l=t.aoColumns.length;s<l;s++)a=t.aoColumns[s],(o=n?i[s]:y.createElement(a.sCellType))._DT_CellIndex={row:e,column:s},h.push(o),n&&!a.mRender&&a.mData===s||O.isPlainObject(a.mData)&&a.mData._===s+".display"||(o.innerHTML=E(t,e,s,"display")),a.sClass&&(o.className+=" "+a.sClass),a.bVisible&&!n?r.appendChild(o):!a.bVisible&&n&&o.parentNode.removeChild(o),a.fnCreatedCell&&a.fnCreatedCell.call(t.oInstance,o,E(t,e,s),c,e,s);jt(t,"aoRowCreatedCallback",null,[r,c,e])}u.nTr.setAttribute("role","row")}function d(t,e){var n=e.nTr,i=e._aData;if(n){var r=t.rowIdFn(i);r&&(n.id=r),i.DT_RowClass&&(r=i.DT_RowClass.split(" "),e.__rowc=e.__rowc?he(e.__rowc.concat(r)):r,O(n).removeClass(e.__rowc.join(" ")).addClass(i.DT_RowClass)),i.DT_RowAttr&&O(n).attr(i.DT_RowAttr),i.DT_RowData&&O(n).data(i.DT_RowData)}}function m(t){var e,n,i,r,o,a=t.nTHead,s=t.nTFoot,l=0===O("th, td",a).length,u=t.oClasses,c=t.aoColumns;for(l&&(r=O("<tr/>").appendTo(a)),e=0,n=c.length;e<n;e++)o=c[e],i=O(o.nTh).addClass(o.sClass),l&&i.appendTo(r),t.oFeatures.bSort&&(i.addClass(o.sSortingClass),!1!==o.bSortable&&(i.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),Tt(t,o.nTh,e))),o.sTitle!=i[0].innerHTML&&i.html(o.sTitle),Bt(t,"header")(t,i,o,u);if(l&&z(t.aoHeader,a),O(a).find(">tr").attr("role","row"),O(a).find(">tr>th, >tr>td").addClass(u.sHeaderTH),O(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s)for(e=0,n=(t=t.aoFooter[0]).length;e<n;e++)(o=c[e]).nTf=t[e].cell,o.sClass&&O(o.nTf).addClass(o.sClass)}function F(t,e,n){var i,r,o,a,s=[],l=[],u=t.aoColumns.length;if(e){for(n===L&&(n=!1),i=0,r=e.length;i<r;i++){for(s[i]=e[i].slice(),s[i].nTr=e[i].nTr,o=u-1;0<=o;o--)!t.aoColumns[o].bVisible&&!n&&s[i].splice(o,1);l.push([])}for(i=0,r=s.length;i<r;i++){if(t=s[i].nTr)for(;o=t.firstChild;)t.removeChild(o);for(o=0,e=s[i].length;o<e;o++)if(a=u=1,l[i][o]===L){for(t.appendChild(s[i][o].cell),l[i][o]=1;s[i+u]!==L&&s[i][o].cell==s[i+u][o].cell;)l[i+u][o]=1,u++;for(;s[i][o+a]!==L&&s[i][o].cell==s[i][o+a].cell;){for(n=0;n<u;n++)l[i+n][o+a]=1;a++}O(s[i][o].cell).attr("rowspan",u).attr("colspan",a)}}}}function j(t){var e=jt(t,"aoPreDrawCallback","preDraw",[t]);if(-1!==O.inArray(!1,e))ft(t,!1);else{e=[];var n=0,i=t.asStripeClasses,r=i.length,o=t.oLanguage,a=t.iInitDisplayStart,s="ssp"==zt(t),l=t.aiDisplay;t.bDrawing=!0,a!==L&&-1!==a&&(t._iDisplayStart=s?a:a>=t.fnRecordsDisplay()?0:a,t.iInitDisplayStart=-1);a=t._iDisplayStart;var u=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,ft(t,!1);else if(s){if(!t.bDestroying&&!q(t))return}else t.iDraw++;if(0!==l.length)for(o=s?t.aoData.length:u,s=s?0:a;s<o;s++){var c=l[s],h=t.aoData[c];if(null===h.nTr&&g(t,c),c=h.nTr,0!==r){var d=i[n%r];h._sRowStripe!=d&&(O(c).removeClass(h._sRowStripe).addClass(d),h._sRowStripe=d)}jt(t,"aoRowCallback",null,[c,h._aData,n,s]),e.push(c),n++}else n=o.sZeroRecords,1==t.iDraw&&"ajax"==zt(t)?n=o.sLoadingRecords:o.sEmptyTable&&0===t.fnRecordsTotal()&&(n=o.sEmptyTable),e[0]=O("<tr/>",{class:r?i[0]:""}).append(O("<td />",{valign:"top",colSpan:M(t),class:t.oClasses.sRowEmpty}).html(n))[0];jt(t,"aoHeaderCallback","header",[O(t.nTHead).children("tr")[0],f(t),a,u,l]),jt(t,"aoFooterCallback","footer",[O(t.nTFoot).children("tr")[0],f(t),a,u,l]),(i=O(t.nTBody)).children().detach(),i.append(O(e)),jt(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function H(t,e){var n=t.oFeatures,i=n.bFilter;n.bSort&&Ct(t),i?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,j(t),t._drawHold=!1}function B(t){var e=t.oClasses,n=O(t.nTable),i=(n=O("<div/>").insertBefore(n),t.oFeatures),r=O("<div/>",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=n[0],t.nTableWrapper=r[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,a,s,l,u,c,h=t.sDom.split(""),d=0;d<h.length;d++){if(o=null,"<"==(a=h[d])){if(s=O("<div/>")[0],"'"==(l=h[d+1])||'"'==l){for(u="",c=2;h[d+c]!=l;)u+=h[d+c],c++;"H"==u?u=e.sJUIHeader:"F"==u&&(u=e.sJUIFooter),-1!=u.indexOf(".")?(l=u.split("."),s.id=l[0].substr(1,l[0].length-1),s.className=l[1]):"#"==u.charAt(0)?s.id=u.substr(1,u.length-1):s.className=u,d+=c}r.append(s),r=O(s)}else if(">"==a)r=r.parent();else if("l"==a&&i.bPaginate&&i.bLengthChange)o=ut(t);else if("f"==a&&i.bFilter)o=G(t);else if("r"==a&&i.bProcessing)o=dt(t);else if("t"==a)o=pt(t);else if("i"==a&&i.bInfo)o=it(t);else if("p"==a&&i.bPaginate)o=ct(t);else if(0!==Jt.ext.feature.length)for(c=0,l=(s=Jt.ext.feature).length;c<l;c++)if(a==s[c].cFeature){o=s[c].fnInit(t);break}o&&((s=t.aanFeatures)[a]||(s[a]=[]),s[a].push(o),r.append(o))}n.replaceWith(r),t.nHolding=null}function z(t,e){var n,i,r,o,a,s,l,u,c,h,d=O(e).children("tr");for(t.splice(0,t.length),r=0,s=d.length;r<s;r++)t.push([]);for(r=0,s=d.length;r<s;r++)for(i=(n=d[r]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase()){for(u=(u=1*i.getAttribute("colspan"))&&0!==u&&1!==u?u:1,c=(c=1*i.getAttribute("rowspan"))&&0!==c&&1!==c?c:1,o=0,a=t[r];a[o];)o++;for(l=o,h=1===u,a=0;a<u;a++)for(o=0;o<c;o++)t[r+o][l+a]={cell:i,unique:h},t[r+o].nTr=n}i=i.nextSibling}}function W(t,e,n){var i=[];n||(n=t.aoHeader,e&&z(n=[],e));e=0;for(var r=n.length;e<r;e++)for(var o=0,a=n[e].length;o<a;o++)!n[e][o].unique||i[o]&&t.bSortCellsTop||(i[o]=n[e][o].cell);return i}function $(i,t,e){if(jt(i,"aoServerParams","serverParams",[t]),t&&O.isArray(t)){var r={},o=/(.*?)\[\]$/;O.each(t,function(t,e){var n=e.name.match(o);n?(n=n[0],r[n]||(r[n]=[]),r[n].push(e.value)):r[e.name]=e.value}),t=r}function n(t){jt(i,null,"xhr",[i,t,i.jqXHR]),e(t)}var a,s=i.ajax,l=i.oInstance;if(O.isPlainObject(s)&&s.data){a=s.data;var u=O.isFunction(a)?a(t,i):a;t=O.isFunction(a)&&u?u:O.extend(!0,t,u);delete s.data}u={data:t,success:function(t){var e=t.error||t.sError;e&&Lt(i,0,e),i.json=t,n(t)},dataType:"json",cache:!1,type:i.sServerMethod,error:function(t,e){var n=jt(i,null,"xhr",[i,null,i.jqXHR]);-1===O.inArray(!0,n)&&("parsererror"==e?Lt(i,0,"Invalid JSON response",1):4===t.readyState&&Lt(i,0,"Ajax error",7)),ft(i,!1)}},i.oAjaxData=t,jt(i,null,"preXhr",[i,t]),i.fnServerData?i.fnServerData.call(l,i.sAjaxSource,O.map(t,function(t,e){return{name:e,value:t}}),n,i):i.sAjaxSource||"string"==typeof s?i.jqXHR=O.ajax(O.extend(u,{url:s||i.sAjaxSource})):O.isFunction(s)?i.jqXHR=s.call(l,t,n,i):(i.jqXHR=O.ajax(O.extend(u,s)),s.data=a)}function q(e){return!e.bAjaxDataGet||(e.iDraw++,ft(e,!0),$(e,t(e),function(t){U(e,t)}),!1)}function t(t){var e,n,i,r,o=t.aoColumns,a=o.length,s=t.oFeatures,l=t.oPreviousSearch,u=t.aoPreSearchCols,c=[],h=_t(t);e=t._iDisplayStart,n=!1!==s.bPaginate?t._iDisplayLength:-1;function d(t,e){c.push({name:t,value:e})}d("sEcho",t.iDraw),d("iColumns",a),d("sColumns",ce(o,"sName").join(",")),d("iDisplayStart",e),d("iDisplayLength",n);var f={draw:t.iDraw,columns:[],order:[],start:e,length:n,search:{value:l.sSearch,regex:l.bRegex}};for(e=0;e<a;e++)i=o[e],r=u[e],n="function"==typeof i.mData?"function":i.mData,f.columns.push({data:n,name:i.sName,searchable:i.bSearchable,orderable:i.bSortable,search:{value:r.sSearch,regex:r.bRegex}}),d("mDataProp_"+e,n),s.bFilter&&(d("sSearch_"+e,r.sSearch),d("bRegex_"+e,r.bRegex),d("bSearchable_"+e,i.bSearchable)),s.bSort&&d("bSortable_"+e,i.bSortable);return s.bFilter&&(d("sSearch",l.sSearch),d("bRegex",l.bRegex)),s.bSort&&(O.each(h,function(t,e){f.order.push({column:e.col,dir:e.dir}),d("iSortCol_"+t,e.col),d("sSortDir_"+t,e.dir)}),d("iSortingCols",h.length)),null===(o=Jt.ext.legacy.ajax)?t.sAjaxSource?c:f:o?c:f}function U(t,e){var n=Y(t,e),i=e.sEcho!==L?e.sEcho:e.draw,r=e.iTotalRecords!==L?e.iTotalRecords:e.recordsTotal,o=e.iTotalDisplayRecords!==L?e.iTotalDisplayRecords:e.recordsFiltered;if(i){if(1*i<t.iDraw)return;t.iDraw=1*i}for(s(t),t._iRecordsTotal=parseInt(r,10),t._iRecordsDisplay=parseInt(o,10),i=0,r=n.length;i<r;i++)A(t,n[i]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,j(t),t._bInitComplete||st(t,e),t.bAjaxDataGet=!0,ft(t,!1)}function Y(t,e){var n=O.isPlainObject(t.ajax)&&t.ajax.dataSrc!==L?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===n?e.aaData||e[n]:""!==n?R(n)(e):e}function G(n){var t=n.oClasses,e=n.sTableId,i=n.oLanguage,r=n.oPreviousSearch,o=n.aanFeatures,a='<input type="search" class="'+t.sFilterInput+'"/>',s=(s=i.sSearch).match(/_INPUT_/)?s.replace("_INPUT_",a):s+a,l=(t=O("<div/>",{id:o.f?null:e+"_filter",class:t.sFilter}).append(O("<label/>").append(s)),o=function(){var t=this.value?this.value:"";t!=r.sSearch&&(X(n,{sSearch:t,bRegex:r.bRegex,bSmart:r.bSmart,bCaseInsensitive:r.bCaseInsensitive}),n._iDisplayStart=0,j(n))},a=null!==n.searchDelay?n.searchDelay:"ssp"===zt(n)?400:0,O("input",t).val(r.sSearch).attr("placeholder",i.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",a?yt(o,a):o).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",e));return O(n.nTable).on("search.dt.DT",function(t,e){if(n===e)try{l[0]!==y.activeElement&&l.val(r.sSearch)}catch(t){}}),t[0]}function X(t,e,n){function i(t){r.sSearch=t.sSearch,r.bRegex=t.bRegex,r.bSmart=t.bSmart,r.bCaseInsensitive=t.bCaseInsensitive}var r=t.oPreviousSearch,o=t.aoPreSearchCols;if(a(t),"ssp"!=zt(t)){for(K(t,e.sSearch,n,e.bEscapeRegex!==L?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),i(e),e=0;e<o.length;e++)Z(t,o[e].sSearch,e,o[e].bEscapeRegex!==L?!o[e].bEscapeRegex:o[e].bRegex,o[e].bSmart,o[e].bCaseInsensitive);V(t)}else i(e);t.bFiltered=!0,jt(t,null,"search",[t])}function V(t){for(var e,n,i=Jt.ext.search,r=t.aiDisplay,o=0,a=i.length;o<a;o++){for(var s=[],l=0,u=r.length;l<u;l++)n=r[l],e=t.aoData[n],i[o](t,e._aFilterData,n,e._aData,l)&&s.push(n);r.length=0,O.merge(r,s)}}function Z(t,e,n,i,r,o){if(""!==e){var a=t.aiDisplay;for(i=J(e,i,r,o),r=a.length-1;0<=r;r--)e=t.aoData[a[r]]._aFilterData[n],i.test(e)||a.splice(r,1)}}function K(t,e,n,i,r,o){var a;i=J(e,i,r,o),r=t.oPreviousSearch.sSearch,o=t.aiDisplayMaster;if(0!==Jt.ext.search.length&&(n=!0),a=tt(t),e.length<=0)t.aiDisplay=o.slice();else for((a||n||r.length>e.length||0!==e.indexOf(r)||t.bSorted)&&(t.aiDisplay=o.slice()),n=(e=t.aiDisplay).length-1;0<=n;n--)i.test(t.aoData[e[n]]._sFilterRow)||e.splice(n,1)}function J(t,e,n,i){return t=e?t:Q(t),n&&(t="^(?=.*?"+O.map(t.match(/"[^"]+"|[^ ]+/g)||[""],function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")}).join(")(?=.*?")+").*$"),RegExp(t,i?"i":"")}function Q(t){return t.replace(le,"\\$1")}function tt(t){var e,n,i,r,o,a,s,l,u=t.aoColumns,c=Jt.ext.type.search;for(e=!1,n=0,r=t.aoData.length;n<r;n++)if(!(l=t.aoData[n])._aFilterData){for(a=[],i=0,o=u.length;i<o;i++)(e=u[i]).bSearchable?(s=E(t,n,i,"filter"),c[e.sType]&&(s=c[e.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(ge.innerHTML=s,s=me?ge.textContent:ge.innerText),s.replace&&(s=s.replace(/[\r\n]/g,"")),a.push(s);l._aFilterData=a,l._sFilterRow=a.join(" "),e=!0}return e}function et(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function nt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function it(t){var e=t.sTableId,n=t.aanFeatures.i,i=O("<div/>",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:rt,sName:"information"}),i.attr("role","status").attr("aria-live","polite"),O(t.nTable).attr("aria-describedby",e+"_info")),i[0]}function rt(t){var e=t.aanFeatures.i;if(0!==e.length){var n=t.oLanguage,i=t._iDisplayStart+1,r=t.fnDisplayEnd(),o=t.fnRecordsTotal(),a=t.fnRecordsDisplay(),s=a?n.sInfo:n.sInfoEmpty;a!==o&&(s+=" "+n.sInfoFiltered),s=ot(t,s+=n.sInfoPostFix),null!==(n=n.fnInfoCallback)&&(s=n.call(t.oInstance,t,i,r,o,a,s)),O(e).html(s)}}function ot(t,e){var n=t.fnFormatNumber,i=t._iDisplayStart+1,r=t._iDisplayLength,o=t.fnRecordsDisplay(),a=-1===r;return e.replace(/_START_/g,n.call(t,i)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,o)).replace(/_PAGE_/g,n.call(t,a?1:Math.ceil(i/r))).replace(/_PAGES_/g,n.call(t,a?1:Math.ceil(o/r)))}function at(n){var i,t,e,r=n.iInitDisplayStart,o=n.aoColumns;t=n.oFeatures;var a=n.bDeferLoading;if(n.bInitialised){for(B(n),m(n),F(n,n.aoHeader),F(n,n.aoFooter),ft(n,!0),t.bAutoWidth&&vt(n),i=0,t=o.length;i<t;i++)(e=o[i]).sWidth&&(e.nTh.style.width=St(e.sWidth));jt(n,null,"preInit",[n]),H(n),("ssp"!=(o=zt(n))||a)&&("ajax"==o?$(n,[],function(t){var e=Y(n,t);for(i=0;i<e.length;i++)A(n,e[i]);n.iInitDisplayStart=r,H(n),ft(n,!1),st(n,t)}):(ft(n,!1),st(n)))}else setTimeout(function(){at(n)},200)}function st(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&I(t),jt(t,null,"plugin-init",[t,e]),jt(t,"aoInitComplete","init",[t,e])}function lt(t,e){var n=parseInt(e,10);t._iDisplayLength=n,Ht(t),jt(t,null,"length",[t,n])}function ut(i){for(var t=i.oClasses,e=i.sTableId,n=i.aLengthMenu,r=(o=O.isArray(n[0]))?n[0]:n,o=(n=o?n[1]:n,O("<select/>",{name:e+"_length","aria-controls":e,class:t.sLengthSelect})),a=0,s=r.length;a<s;a++)o[0][a]=new Option(n[a],r[a]);var l=O("<div><label/></div>").addClass(t.sLength);return i.aanFeatures.l||(l[0].id=e+"_length"),l.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),O("select",l).val(i._iDisplayLength).bind("change.DT",function(){lt(i,O(this).val()),j(i)}),O(i.nTable).bind("length.dt.DT",function(t,e,n){i===e&&O("select",l).val(n)}),l[0]}function ct(t){function a(t){j(t)}var e=t.sPaginationType,s=Jt.ext.pager[e],l="function"==typeof s,u=(e=O("<div/>").addClass(t.oClasses.sPaging+e)[0],t.aanFeatures);return l||s.fnInit(t,e,a),u.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(l){var e,n=t._iDisplayStart,i=t._iDisplayLength,r=t.fnRecordsDisplay(),o=(n=(o=-1===i)?0:Math.ceil(n/i),i=o?1:Math.ceil(r/i),r=s(n,i),0);for(e=u.p.length;o<e;o++)Bt(t,"pageButton")(t,u.p[o],o,r,n,i)}else s.fnUpdate(t,a)},sName:"pagination"})),e}function ht(t,e,n){var i=t._iDisplayStart,r=t._iDisplayLength,o=t.fnRecordsDisplay();return 0===o||-1===r?i=0:"number"==typeof e?o<(i=e*r)&&(i=0):"first"==e?i=0:"previous"==e?(i=0<=r?i-r:0)<0&&(i=0):"next"==e?i+r<o&&(i+=r):"last"==e?i=Math.floor((o-1)/r)*r:Lt(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==i,t._iDisplayStart=i,e&&(jt(t,null,"page",[t]),n&&j(t)),e}function dt(t){return O("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function ft(t,e){t.oFeatures.bProcessing&&O(t.aanFeatures.r).css("display",e?"block":"none"),jt(t,null,"processing",[t,e])}function pt(t){(c=O(t.nTable)).attr("role","grid");var e=t.oScroll;if(""===e.sX&&""===e.sY)return t.nTable;var n=e.sX,i=e.sY,r=t.oClasses,o=c.children("caption"),a=o.length?o[0]._captionSide:null,s=O(c[0].cloneNode(!1)),l=O(c[0].cloneNode(!1)),u=c.children("tfoot");u.length||(u=null),s=O("<div/>",{class:r.sScrollWrapper}).append(O("<div/>",{class:r.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:n?n?St(n):null:"100%"}).append(O("<div/>",{class:r.sScrollHeadInner}).css({"box-sizing":"content-box",width:e.sXInner||"100%"}).append(s.removeAttr("id").css("margin-left",0).append("top"===a?o:null).append(c.children("thead"))))).append(O("<div/>",{class:r.sScrollBody}).css({position:"relative",overflow:"auto",width:n?St(n):null}).append(c)),u&&s.append(O("<div/>",{class:r.sScrollFoot}).css({overflow:"hidden",border:0,width:n?n?St(n):null:"100%"}).append(O("<div/>",{class:r.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===a?o:null).append(c.children("tfoot")))));var c,h=(c=s.children())[0],d=(r=c[1],u?c[2]:null);return n&&O(r).on("scroll.DT",function(){var t=this.scrollLeft;h.scrollLeft=t,u&&(d.scrollLeft=t)}),O(r).css(i&&e.bCollapse?"max-height":"height",i),t.nScrollHead=h,t.nScrollBody=r,t.nScrollFoot=d,t.aoDrawCallback.push({fn:gt,sName:"scrolling"}),s[0]}function gt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,r,o,a,s=(c=n.oScroll).sX,l=c.sXInner,u=c.sY,c=c.iBarWidth,h=O(n.nScrollHead),d=h[0].style,f=(g=h.children("div"))[0].style,p=g.children("table"),g=n.nScrollBody,m=O(g),v=g.style,y=O(n.nScrollFoot).children("div"),b=y.children("table"),x=O(n.nTHead),w=O(n.nTable),S=w[0],_=S.style,C=n.nTFoot?O(n.nTFoot):null,k=n.oBrowser,M=k.bScrollOversize,T=ce(n.aoColumns,"nTh"),D=[],A=[],P=[],E=[];i=g.scrollHeight>g.clientHeight,n.scrollBarVis!==i&&n.scrollBarVis!==L?(n.scrollBarVis=i,I(n)):(n.scrollBarVis=i,w.children("thead, tfoot").remove(),C&&(r=C.clone().prependTo(w),e=C.find("tr"),r=r.find("tr")),o=x.clone().prependTo(w),x=x.find("tr"),i=o.find("tr"),o.find("th, td").removeAttr("tabindex"),s||(v.width="100%",h[0].style.width="100%"),O.each(W(n,o),function(t,e){a=N(n,t),e.style.width=n.aoColumns[a].sWidth}),C&&mt(function(t){t.style.width=""},r),h=w.outerWidth(),""===s?(_.width="100%",M&&(w.find("tbody").height()>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(_.width=St(w.outerWidth()-c)),h=w.outerWidth()):""!==l&&(_.width=St(l),h=w.outerWidth()),mt(t,i),mt(function(t){P.push(t.innerHTML),D.push(St(O(t).css("width")))},i),mt(function(t,e){-1!==O.inArray(t,T)&&(t.style.width=D[e])},x),O(i).height(0),C&&(mt(t,r),mt(function(t){E.push(t.innerHTML),A.push(St(O(t).css("width")))},r),mt(function(t,e){t.style.width=A[e]},e),O(r).height(0)),mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+P[e]+"</div>",t.style.width=D[e]},i),C&&mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+E[e]+"</div>",t.style.width=A[e]},r),w.outerWidth()<h?(e=g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y")?h+c:h,M&&(g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(_.width=St(e-c)),(""===s||""!==l)&&Lt(n,1,"Possible column misalignment",6)):e="100%",v.width=St(e),d.width=St(e),C&&(n.nScrollFoot.style.width=St(e)),!u&&M&&(v.height=St(S.offsetHeight+c)),s=w.outerWidth(),p[0].style.width=St(s),f.width=St(s),l=w.height()>g.clientHeight||"scroll"==m.css("overflow-y"),f[u="padding"+(k.bScrollbarLeft?"Left":"Right")]=l?c+"px":"0px",C&&(b[0].style.width=St(s),y[0].style.width=St(s),y[0].style[u]=l?c+"px":"0px"),w.children("colgroup").insertBefore(w.children("thead")),m.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(g.scrollTop=0))}function mt(t,e,n){for(var i,r,o=0,a=0,s=e.length;a<s;){for(i=e[a].firstChild,r=n?n[a].firstChild:null;i;)1===i.nodeType&&(n?t(i,r,o):t(i,o),o++),i=i.nextSibling,r=n?r.nextSibling:null;a++}}function vt(t){var e,n,i=t.nTable,r=t.aoColumns,o=(g=t.oScroll).sY,a=g.sX,s=g.sXInner,l=r.length,u=T(t,"bVisible"),c=O("th",t.nTHead),h=i.getAttribute("width"),d=i.parentNode,f=!1,p=t.oBrowser,g=p.bScrollOversize;for((e=i.style.width)&&-1!==e.indexOf("%")&&(h=e),e=0;e<u.length;e++)null!==(n=r[u[e]]).sWidth&&(n.sWidth=bt(n.sWidthOrig,d),f=!0);if(g||!f&&!a&&!o&&l==M(t)&&l==c.length)for(e=0;e<l;e++)null!==(u=N(t,e))&&(r[u].sWidth=St(c.eq(e).width()));else{(l=O(i).clone().css("visibility","hidden").removeAttr("id")).find("tbody tr").remove();var m=O("<tr/>").appendTo(l.find("tbody"));for(l.find("thead, tfoot").remove(),l.append(O(t.nTHead).clone()).append(O(t.nTFoot).clone()),l.find("tfoot th, tfoot td").css("width",""),c=W(t,l.find("thead")[0]),e=0;e<u.length;e++)n=r[u[e]],c[e].style.width=null!==n.sWidthOrig&&""!==n.sWidthOrig?St(n.sWidthOrig):"",n.sWidthOrig&&a&&O(c[e]).append(O("<div/>").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(e=0;e<u.length;e++)n=r[f=u[e]],O(xt(t,f)).clone(!1).append(n.sContentPadding).appendTo(m);for(O("[name]",l).removeAttr("name"),n=O("<div/>").css(a||o?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(l).appendTo(d),a&&s?l.width(s):a?(l.css("width","auto"),l.removeAttr("width"),l.width()<d.clientWidth&&h&&l.width(d.clientWidth)):o?l.width(d.clientWidth):h&&l.width(h),e=o=0;e<u.length;e++)s=(d=O(c[e])).outerWidth()-d.width(),o+=d=p.bBounding?Math.ceil(c[e].getBoundingClientRect().width):d.outerWidth(),r[u[e]].sWidth=St(d-s);i.style.width=St(o),n.remove()}h&&(i.style.width=St(h)),!h&&!a||t._reszEvt||(i=function(){O(v).bind("resize.DT-"+t.sInstance,yt(function(){I(t)}))},g?setTimeout(i,1e3):i(),t._reszEvt=!0)}function yt(i,t){var r,o,a=t!==L?t:200;return function(){var t=this,e=+new Date,n=arguments;r&&e<r+a?(clearTimeout(o),o=setTimeout(function(){r=L,i.apply(t,n)},a)):(r=e,i.apply(t,n))}}function bt(t,e){if(!t)return 0;var n=O("<div/>").css("width",St(t)).appendTo(e||y.body),i=n[0].offsetWidth;return n.remove(),i}function xt(t,e){var n=wt(t,e);if(n<0)return null;var i=t.aoData[n];return i.nTr?i.anCells[e]:O("<td/>").html(E(t,n,e,"display"))[0]}function wt(t,e){for(var n,i=-1,r=-1,o=0,a=t.aoData.length;o<a;o++)(n=(n=(n=E(t,o,e,"display")+"").replace(ve,"")).replace(/&nbsp;/g," ")).length>i&&(i=n.length,r=o);return r}function St(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function _t(t){var e,n,i,r,o,a,s=[],l=t.aoColumns;e=t.aaSortingFixed,n=O.isPlainObject(e);var u=[];for(i=function(t){t.length&&!O.isArray(t[0])?u.push(t):O.merge(u,t)},O.isArray(e)&&i(e),n&&e.pre&&i(e.pre),i(t.aaSorting),n&&e.post&&i(e.post),t=0;t<u.length;t++)for(e=0,n=(i=l[a=u[t][0]].aDataSort).length;e<n;e++)o=l[r=i[e]].sType||"string",u[t]._idx===L&&(u[t]._idx=O.inArray(u[t][1],l[r].asSorting)),s.push({src:a,col:r,dir:u[t][1],index:u[t]._idx,type:o,formatter:Jt.ext.type.order[o+"-pre"]});return s}function Ct(t){var e,n,i,u,c=[],h=Jt.ext.type.order,d=t.aoData,r=0,o=t.aiDisplayMaster;for(a(t),e=0,n=(u=_t(t)).length;e<n;e++)(i=u[e]).formatter&&r++,At(t,i.col);if("ssp"!=zt(t)&&0!==u.length){for(e=0,n=o.length;e<n;e++)c[o[e]]=e;r===u.length?o.sort(function(t,e){var n,i,r,o,a=u.length,s=d[t]._aSortData,l=d[e]._aSortData;for(r=0;r<a;r++)if(0!==(n=(n=s[(o=u[r]).col])<(i=l[o.col])?-1:i<n?1:0))return"asc"===o.dir?n:-n;return(n=c[t])<(i=c[e])?-1:i<n?1:0}):o.sort(function(t,e){var n,i,r,o,a=u.length,s=d[t]._aSortData,l=d[e]._aSortData;for(r=0;r<a;r++)if(n=s[(o=u[r]).col],i=l[o.col],0!==(n=(o=h[o.type+"-"+o.dir]||h["string-"+o.dir])(n,i)))return n;return(n=c[t])<(i=c[e])?-1:i<n?1:0})}t.bSorted=!0}function kt(t){for(var e,n,i=t.aoColumns,r=_t(t),o=(t=t.oLanguage.oAria,0),a=i.length;o<a;o++){var s=(n=i[o]).asSorting;e=n.sTitle.replace(/<.*?>/g,"");var l=n.nTh;l.removeAttribute("aria-sort"),n.bSortable&&(e+="asc"===(n=0<r.length&&r[0].col==o?(l.setAttribute("aria-sort","asc"==r[0].dir?"ascending":"descending"),s[r[0].index+1]||s[0]):s[0])?t.sSortAscending:t.sSortDescending),l.setAttribute("aria-label",e)}}function Mt(t,e,n,i){function r(t,e){var n=t._idx;return n===L&&(n=O.inArray(t[1],a)),n+1<a.length?n+1:e?null:0}var o=t.aaSorting,a=t.aoColumns[e].asSorting;"number"==typeof o[0]&&(o=t.aaSorting=[o]),n&&t.oFeatures.bSortMulti?-1!==(n=O.inArray(e,ce(o,"0")))?(null===(e=r(o[n],!0))&&1===o.length&&(e=0),null===e?o.splice(n,1):(o[n][1]=a[e],o[n]._idx=e)):(o.push([e,a[0],0]),o[o.length-1]._idx=0):o.length&&o[0][0]==e?(e=r(o[0]),o.length=1,o[0][1]=a[e],o[0]._idx=e):(o.length=0,o.push([e,a[0]]),o[0]._idx=0),H(t),"function"==typeof i&&i(t)}function Tt(e,t,n,i){var r=e.aoColumns[n];Rt(t,{},function(t){!1!==r.bSortable&&(e.oFeatures.bProcessing?(ft(e,!0),setTimeout(function(){Mt(e,n,t.shiftKey,i),"ssp"!==zt(e)&&ft(e,!1)},0)):Mt(e,n,t.shiftKey,i))})}function Dt(t){var e,n,i=t.aLastSort,r=t.oClasses.sSortColumn,o=_t(t),a=t.oFeatures;if(a.bSort&&a.bSortClasses){for(a=0,e=i.length;a<e;a++)n=i[a].src,O(ce(t.aoData,"anCells",n)).removeClass(r+(a<2?a+1:3));for(a=0,e=o.length;a<e;a++)n=o[a].src,O(ce(t.aoData,"anCells",n)).addClass(r+(a<2?a+1:3))}t.aLastSort=o}function At(t,e){var n,i=t.aoColumns[e],r=Jt.ext.order[i.sSortDataType];r&&(n=r.call(t.oInstance,t,e,u(t,e)));for(var o,a=Jt.ext.type.order[i.sType+"-pre"],s=0,l=t.aoData.length;s<l;s++)(i=t.aoData[s])._aSortData||(i._aSortData=[]),(!i._aSortData[e]||r)&&(o=r?n[s]:E(t,s,e,"sort"),i._aSortData[e]=a?a(o):o)}function Pt(n){if(n.oFeatures.bStateSave&&!n.bDestroying){var t={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:O.extend(!0,[],n.aaSorting),search:et(n.oPreviousSearch),columns:O.map(n.aoColumns,function(t,e){return{visible:t.bVisible,search:et(n.aoPreSearchCols[e])}})};jt(n,"aoStateSaveParams","stateSaveParams",[n,t]),n.oSavedState=t,n.fnStateSaveCallback.call(n.oInstance,n,t)}}function Et(n){var t,e,i=n.aoColumns;if(n.oFeatures.bStateSave){var r=n.fnStateLoadCallback.call(n.oInstance,n);if(r&&r.time&&(t=jt(n,"aoStateLoadParams","stateLoadParams",[n,r]),-1===O.inArray(!1,t)&&(!(0<(t=n.iStateDuration)&&r.time<+new Date-1e3*t)&&i.length===r.columns.length))){for(n.oLoadedState=O.extend(!0,{},r),r.start!==L&&(n._iDisplayStart=r.start,n.iInitDisplayStart=r.start),r.length!==L&&(n._iDisplayLength=r.length),r.order!==L&&(n.aaSorting=[],O.each(r.order,function(t,e){n.aaSorting.push(e[0]>=i.length?[0,e[1]]:e)})),r.search!==L&&O.extend(n.oPreviousSearch,nt(r.search)),t=0,e=r.columns.length;t<e;t++){var o=r.columns[t];o.visible!==L&&(i[t].bVisible=o.visible),o.search!==L&&O.extend(n.aoPreSearchCols[t],nt(o.search))}jt(n,"aoStateLoaded","stateLoaded",[n,r])}}}function Ot(t){var e=Jt.settings;return-1!==(t=O.inArray(t,ce(e,"nTable")))?e[t]:null}function Lt(t,e,n,i){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,i&&(n+=". For more information about this error, please see http://datatables.net/tn/"+i),e)v.console&&console.log&&console.log(n);else if(e=(e=Jt.ext).sErrMode||e.errMode,t&&jt(t,null,"error",[t,i,n]),"alert"==e)alert(n);else{if("throw"==e)throw Error(n);"function"==typeof e&&e(t,i,n)}}function It(n,i,t,e){O.isArray(t)?O.each(t,function(t,e){O.isArray(e)?It(n,i,e[0],e[1]):It(n,i,e)}):(e===L&&(e=t),i[t]!==L&&(n[e]=i[t]))}function Nt(t,e,n){var i,r;for(r in e)e.hasOwnProperty(r)&&(i=e[r],O.isPlainObject(i)?(O.isPlainObject(t[r])||(t[r]={}),O.extend(!0,t[r],i)):t[r]=n&&"data"!==r&&"aaData"!==r&&O.isArray(i)?i.slice():i);return t}function Rt(e,t,n){O(e).bind("click.DT",t,function(t){e.blur(),n(t)}).bind("keypress.DT",t,function(t){13===t.which&&(t.preventDefault(),n(t))}).bind("selectstart.DT",function(){return!1})}function Ft(t,e,n,i){n&&t[e].push({fn:n,sName:i})}function jt(e,t,n,i){var r=[];return t&&(r=O.map(e[t].slice().reverse(),function(t){return t.fn.apply(e.oInstance,i)})),null!==n&&(t=O.Event(n+".dt"),O(e.nTable).trigger(t,i),r.push(t.result)),r}function Ht(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),i=t._iDisplayLength;n<=e&&(e=n-i),e-=e%i,(-1===i||e<0)&&(e=0),t._iDisplayStart=e}function Bt(t,e){var n=t.renderer,i=Jt.ext.renderer[e];return O.isPlainObject(n)&&n[e]?i[n[e]]||i._:"string"==typeof n&&i[n]||i._}function zt(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function Wt(t,e){var n=[],i=(n=Oe.numbers_length,Math.floor(n/2));return e<=n?n=Zt(0,e):t<=i?((n=Zt(0,n-2)).push("ellipsis"),n.push(e-1)):(e-1-i<=t?n=Zt(e-(n-2),e):((n=Zt(t-i+2,t+i-1)).push("ellipsis"),n.push(e-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function $t(n){O.each({num:function(t){return Le(t,n)},"num-fmt":function(t){return Le(t,n,ue)},"html-num":function(t){return Le(t,n,oe)},"html-num-fmt":function(t){return Le(t,n,oe,ue)}},function(t,e){Qt.type.order[t+n+"-pre"]=e,t.match(/^html\-/)&&(Qt.type.search[t+n]=Qt.type.search.html)})}function e(e){return function(){var t=[Ot(this[Jt.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Jt.ext.internal[e].apply(this,t)}}function qt(t){return!t||!0===t||"-"===t}function Ut(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function Yt(t,e){return ie[e]||(ie[e]=RegExp(Q(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(ie[e],"."):t}function Gt(t,e,n){var i="string"==typeof t;return!!qt(t)||(e&&i&&(t=Yt(t,e)),n&&i&&(t=t.replace(ue,"")),!isNaN(parseFloat(t))&&isFinite(t))}function Xt(t,e,n){return!!qt(t)||((qt(t)||"string"==typeof t)&&!!Gt(t.replace(oe,""),e,n)||null)}function Vt(t,e,n,i){var r=[],o=0,a=e.length;if(i!==L)for(;o<a;o++)t[e[o]][n]&&r.push(t[e[o]][n][i]);else for(;o<a;o++)r.push(t[e[o]][n]);return r}function Zt(t,e){var n,i=[];e===L?(e=0,n=t):(n=e,e=t);for(var r=e;r<n;r++)i.push(r);return i}function Kt(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&e.push(t[n]);return e}var Jt,Qt,te,ee,ne,ie={},re=/[\r\n]/g,oe=/<.*?>/g,ae=/^[\w\+\-]/,se=/[\w\+\-]$/,le=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),ue=/[',$£¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,ce=function(t,e,n){var i=[],r=0,o=t.length;if(n!==L)for(;r<o;r++)t[r]&&t[r][e]&&i.push(t[r][e][n]);else for(;r<o;r++)t[r]&&i.push(t[r][e]);return i},he=function(t){var e,n,i,r=[],o=t.length,a=0;n=0;t:for(;n<o;n++){for(e=t[n],i=0;i<a;i++)if(r[i]===e)continue t;r.push(e),a++}return r},de=function(t,e,n){t[e]!==L&&(t[n]=t[e])},fe=/\[.*?\]$/,pe=/\(\)$/,ge=O("<div>")[0],me=ge.textContent!==L,ve=/<.*?>/g;Jt=function(p){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new te(t?Ot(this[Qt.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),i=O.isArray(t)&&(O.isArray(t[0])||O.isPlainObject(t[0]))?n.rows.add(t):n.row.add(t);return(e===L||e)&&n.draw(),i.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===L||t?e.draw(!1):(""!==i.sX||""!==i.sY)&&gt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===L||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),r=(t=i.rows(t)).settings()[0],o=r.aoData[t[0][0]];return t.remove(),e&&e.call(this,r,o),(n===L||n)&&i.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,r,o){r=this.api(!0),null===e||e===L?r.search(t,n,i,o):r.column(e).search(t,n,i,o),r.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t===L)return n.data().toArray();var i=t.nodeName?t.nodeName.toLowerCase():"";return e!==L||"td"==i||"th"==i?n.cell(t,e).data():n.row(t).data()||null},this.fnGetNodes=function(t){var e=this.api(!0);return t!==L?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(e===L||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),(n===L||n)&&t.columns.adjust().draw()},this.fnSettings=function(){return Ot(this[Qt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,i,r){var o=this.api(!0);return n===L||null===n?o.row(e).data(t):o.cell(e,n).data(t),(r===L||r)&&o.columns.adjust(),(i===L||i)&&o.draw(),0},this.fnVersionCheck=Qt.fnVersionCheck;var g=this,m=p===L,v=this.length;for(var t in m&&(p={}),this.oApi=this.internal=Qt.internal,Jt.ext.internal)t&&(this[t]=e(t));return this.each(function(){var t,e={},n=(e=1<v?Nt(e,p,!0):p,0),i=this.getAttribute("id"),r=!1,o=Jt.defaults,a=O(this);if("table"!=this.nodeName.toLowerCase())Lt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{w(o),S(o.column),b(o,o,!0),b(o.column,o.column,!0),b(o,O.extend(e,a.data()));var s=Jt.settings;n=0;for(t=s.length;n<t;n++){var l=s[n];if(l.nTable==this||l.nTHead.parentNode==this||l.nTFoot&&l.nTFoot.parentNode==this){if(n=e.bRetrieve!==L?e.bRetrieve:o.bRetrieve,m||n)return l.oInstance;if(e.bDestroy!==L?e.bDestroy:o.bDestroy){l.oInstance.fnDestroy();break}return void Lt(l,0,"Cannot reinitialise DataTable",3)}if(l.sTableId==this.id){s.splice(n,1);break}}null!==i&&""!==i||(this.id=i="DataTables_Table_"+Jt.ext._unique++);var u=O.extend(!0,{},Jt.models.oSettings,{sDestroyWidth:a[0].style.width,sInstance:i,sTableId:i});u.nTable=this,u.oApi=g.internal,u.oInit=e,s.push(u),u.oInstance=1===g.length?g:a.dataTable(),w(e),e.oLanguage&&x(e.oLanguage),e.aLengthMenu&&!e.iDisplayLength&&(e.iDisplayLength=O.isArray(e.aLengthMenu[0])?e.aLengthMenu[0][0]:e.aLengthMenu[0]),e=Nt(O.extend(!0,{},o),e),It(u.oFeatures,e,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),It(u,e,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"],["bJQueryUI","bJUI"]]),It(u.oScroll,e,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),It(u.oLanguage,e,"fnInfoCallback"),Ft(u,"aoDrawCallback",e.fnDrawCallback,"user"),Ft(u,"aoServerParams",e.fnServerParams,"user"),Ft(u,"aoStateSaveParams",e.fnStateSaveParams,"user"),Ft(u,"aoStateLoadParams",e.fnStateLoadParams,"user"),Ft(u,"aoStateLoaded",e.fnStateLoaded,"user"),Ft(u,"aoRowCallback",e.fnRowCallback,"user"),Ft(u,"aoRowCreatedCallback",e.fnCreatedRow,"user"),Ft(u,"aoHeaderCallback",e.fnHeaderCallback,"user"),Ft(u,"aoFooterCallback",e.fnFooterCallback,"user"),Ft(u,"aoInitComplete",e.fnInitComplete,"user"),Ft(u,"aoPreDrawCallback",e.fnPreDrawCallback,"user"),u.rowIdFn=R(e.rowId),_(u),i=u.oClasses,e.bJQueryUI?(O.extend(i,Jt.ext.oJUIClasses,e.oClasses),e.sDom===o.sDom&&"lfrtip"===o.sDom&&(u.sDom='<"H"lfr>t<"F"ip>'),u.renderer?O.isPlainObject(u.renderer)&&!u.renderer.header&&(u.renderer.header="jqueryui"):u.renderer="jqueryui"):O.extend(i,Jt.ext.classes,e.oClasses),a.addClass(i.sTable),u.iInitDisplayStart===L&&(u.iInitDisplayStart=e.iDisplayStart,u._iDisplayStart=e.iDisplayStart),null!==e.iDeferLoading&&(u.bDeferLoading=!0,n=O.isArray(e.iDeferLoading),u._iRecordsDisplay=n?e.iDeferLoading[0]:e.iDeferLoading,u._iRecordsTotal=n?e.iDeferLoading[1]:e.iDeferLoading);var c=u.oLanguage;O.extend(!0,c,e.oLanguage),""!==c.sUrl&&(O.ajax({dataType:"json",url:c.sUrl,success:function(t){x(t),b(o.oLanguage,t),O.extend(!0,c,t),at(u)},error:function(){at(u)}}),r=!0),null===e.asStripeClasses&&(u.asStripeClasses=[i.sStripeOdd,i.sStripeEven]);n=u.asStripeClasses;var h=a.children("tbody").find("tr").eq(0);if(-1!==O.inArray(!0,O.map(n,function(t){return h.hasClass(t)}))&&(O("tbody tr",this).removeClass(n.join(" ")),u.asDestroyStripes=n.slice()),s=[],0!==(n=this.getElementsByTagName("thead")).length&&(z(u.aoHeader,n[0]),s=W(u)),null===e.aoColumns)for(l=[],n=0,t=s.length;n<t;n++)l.push(null);else l=e.aoColumns;for(n=0,t=l.length;n<t;n++)C(u,s?s[n]:null);if(D(u,e.aoColumnDefs,l,function(t,e){k(u,t,e)}),h.length){function d(t,e){return null!==t.getAttribute("data-"+e)?e:null}O(h[0]).children("th, td").each(function(t,e){var n=u.aoColumns[t];if(n.mData===t){var i=d(e,"sort")||d(e,"order"),r=d(e,"filter")||d(e,"search");null===i&&null===r||(n.mData={_:t+".display",sort:null!==i?t+".@data-"+i:L,type:null!==i?t+".@data-"+i:L,filter:null!==r?t+".@data-"+r:L},k(u,t))}})}var f=u.oFeatures;if(e.bStateSave&&(f.bStateSave=!0,Et(u),Ft(u,"aoDrawCallback",Pt,"state_save")),e.aaSorting===L)for(n=0,t=(s=u.aaSorting).length;n<t;n++)s[n][1]=u.aoColumns[n].asSorting[0];if(Dt(u),f.bSort&&Ft(u,"aoDrawCallback",function(){if(u.bSorted){var t=_t(u),n={};O.each(t,function(t,e){n[e.src]=e.dir}),jt(u,null,"order",[u,t,n]),kt(u)}}),Ft(u,"aoDrawCallback",function(){(u.bSorted||"ssp"===zt(u)||f.bDeferRender)&&Dt(u)},"sc"),n=a.children("caption").each(function(){this._captionSide=a.css("caption-side")}),0===(t=a.children("thead")).length&&(t=O("<thead/>").appendTo(this)),u.nTHead=t[0],0===(t=a.children("tbody")).length&&(t=O("<tbody/>").appendTo(this)),u.nTBody=t[0],0===(t=a.children("tfoot")).length&&0<n.length&&(""!==u.oScroll.sX||""!==u.oScroll.sY)&&(t=O("<tfoot/>").appendTo(this)),0===t.length||0===t.children().length?a.addClass(i.sNoFooter):0<t.length&&(u.nTFoot=t[0],z(u.aoFooter,u.nTFoot)),e.aaData)for(n=0;n<e.aaData.length;n++)A(u,e.aaData[n]);else(u.bDeferLoading||"dom"==zt(u))&&P(u,O(u.nTBody).children("tr"));u.aiDisplay=u.aiDisplayMaster.slice(),!(u.bInitialised=!0)===r&&at(u)}}),g=null,this};var ye=[],be=Array.prototype;te=function(t,e){if(!(this instanceof te))return new te(t,e);function n(t){(t=function(t){var e,n,i=Jt.settings,r=O.map(i,function(t){return t.nTable});return t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(e=O.inArray(t,r))?[i[e]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?n=O(t):t instanceof O&&(n=t),n?n.map(function(){return-1!==(e=O.inArray(this,r))?i[e]:null}).toArray():void 0):[]}(t))&&(i=i.concat(t))}var i=[];if(O.isArray(t))for(var r=0,o=t.length;r<o;r++)n(t[r]);else n(t);this.context=he(i),e&&O.merge(this,e),this.selector={rows:null,cols:null,opts:null},te.extend(this,this,ye)},Jt.Api=te,O.extend(te.prototype,{any:function(){return 0!==this.count()},concat:be.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new te(e[t],this[t]):null},filter:function(t){var e=[];if(be.filter)e=be.filter.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new te(this.context,e)},flatten:function(){var t=[];return new te(this.context,t.concat.apply(t,this.toArray()))},join:be.join,indexOf:be.indexOf||function(t,e){for(var n=e||0,i=this.length;n<i;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,i){var r,o,a,s,l,u,c,h=[],d=this.context,f=this.selector;for("string"==typeof t&&(i=n,n=e,e=t,t=!1),o=0,a=d.length;o<a;o++){var p=new te(d[o]);if("table"===e)(r=n.call(p,d[o],o))!==L&&h.push(r);else if("columns"===e||"rows"===e)(r=n.call(p,d[o],this[o],o))!==L&&h.push(r);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(c=this[o],"column-rows"===e&&(u=Ce(d[o],f.opts)),s=0,l=c.length;s<l;s++)r=c[s],(r="cell"===e?n.call(p,d[o],r.row,r.column,o,s):n.call(p,d[o],r,o,s,u))!==L&&h.push(r)}return h.length||i?((e=(t=new te(d,t?h.concat.apply([],h):h)).selector).rows=f.rows,e.cols=f.cols,e.opts=f.opts,t):this},lastIndexOf:be.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(be.map)e=be.map.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)e.push(t.call(this,this[n],n));return new te(this.context,e)},pluck:function(e){return this.map(function(t){return t[e]})},pop:be.pop,push:be.push,reduce:be.reduce||function(t,e){return n(this,t,e,0,this.length,1)},reduceRight:be.reduceRight||function(t,e){return n(this,t,e,this.length-1,-1,-1)},reverse:be.reverse,selector:null,shift:be.shift,sort:be.sort,splice:be.splice,toArray:function(){return be.slice.call(this)},to$:function(){return O(this)},toJQuery:function(){return O(this)},unique:function(){return new te(this.context,he(this))},unshift:be.unshift}),te.extend=function(t,e,n){if(n.length&&e&&(e instanceof te||e.__dt_wrapper)){function i(e,n,i){return function(){var t=n.apply(e,arguments);return te.extend(t,t,i.methodExt),t}}var r,o,a;for(r=0,o=n.length;r<o;r++)e[(a=n[r]).name]="function"==typeof a.val?i(t,a.val,a):O.isPlainObject(a.val)?{}:a.val,e[a.name].__dt_wrapper=!0,te.extend(t,e[a.name],a.propExt)}},te.register=ee=function(t,e){if(O.isArray(t))for(var n=0,i=t.length;n<i;n++)te.register(t[n],e);else{var r,o,a=t.split("."),s=ye;for(n=0,i=a.length;n<i;n++){var l;r=(o=-1!==a[n].indexOf("()"))?a[n].replace("()",""):a[n];t:{l=0;for(var u=s.length;l<u;l++)if(s[l].name===r){l=s[l];break t}l=null}l||(l={name:r,val:{},methodExt:[],propExt:[]},s.push(l)),n===i-1?l.val=e:s=o?l.methodExt:l.propExt}}},te.registerPlural=ne=function(t,e,n){te.register(t,n),te.register(e,function(){var t=n.apply(this,arguments);return t===this?this:t instanceof te?t.length?O.isArray(t[0])?new te(t.context,t[0]):t[0]:L:t})},ee("tables()",function(t){var e;if(t){e=te;var n=this.context;if("number"==typeof t)t=[n[t]];else{var i=O.map(n,function(t){return t.nTable});t=O(i).filter(t).map(function(){var t=O.inArray(this,i);return n[t]}).toArray()}e=new e(t)}else e=this;return e}),ee("table()",function(t){var e=(t=this.tables(t)).context;return e.length?new te(e[0]):t}),ne("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),ne("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),ne("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),ne("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),ne("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),ee("draw()",function(e){return this.iterator("table",function(t){"page"===e?j(t):("string"==typeof e&&(e="full-hold"!==e),H(t,!1===e))})}),ee("page()",function(e){return e===L?this.page.info().page:this.iterator("table",function(t){ht(t,e)})}),ee("page.info()",function(){if(0===this.context.length)return L;var t=this.context[0],e=t._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,i=t.fnRecordsDisplay(),r=-1===n;return{page:r?0:Math.floor(e/n),pages:r?1:Math.ceil(i/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===zt(t)}}),ee("page.len()",function(e){return e===L?0!==this.context.length?this.context[0]._iDisplayLength:L:this.iterator("table",function(t){lt(t,e)})});function xe(i,r,t){if(t){var e=new te(i);e.one("draw",function(){t(e.ajax.json())})}if("ssp"==zt(i))H(i,r);else{ft(i,!0);var n=i.jqXHR;n&&4!==n.readyState&&n.abort(),$(i,[],function(t){s(i);for(var e=0,n=(t=Y(i,t)).length;e<n;e++)A(i,t[e]);H(i,r),ft(i,!1)})}}ee("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),ee("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),ee("ajax.reload()",function(e,n){return this.iterator("table",function(t){xe(t,!1===n,e)})}),ee("ajax.url()",function(e){var t=this.context;return e===L?0===t.length?L:(t=t[0]).ajax?O.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource:this.iterator("table",function(t){O.isPlainObject(t.ajax)?t.ajax.url=e:t.ajax=e})}),ee("ajax.url().load()",function(e,n){return this.iterator("table",function(t){xe(t,!1===n,e)})});function we(t,e,n,i,r){var o,a,s,l,u,c,h=[];for(s=typeof e,e&&"string"!==s&&"function"!==s&&e.length!==L||(e=[e]),s=0,l=e.length;s<l;s++)for(u=0,c=(a=e[s]&&e[s].split?e[s].split(","):[e[s]]).length;u<c;u++)(o=n("string"==typeof a[u]?O.trim(a[u]):a[u]))&&o.length&&(h=h.concat(o));if((t=Qt.selector[t]).length)for(s=0,l=t.length;s<l;s++)h=t[s](i,r,h);return he(h)}function Se(t){return t||(t={}),t.filter&&t.search===L&&(t.search=t.filter),O.extend({search:"none",order:"current",page:"all"},t)}function _e(t){for(var e=0,n=t.length;e<n;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t}var Ce=function(t,e){var n,i,r,o=[],a=t.aiDisplay;n=t.aiDisplayMaster;var s=e.search;if(i=e.order,r=e.page,"ssp"==zt(t))return"removed"===s?[]:Zt(0,n.length);if("current"==r)for(n=t._iDisplayStart,i=t.fnDisplayEnd();n<i;n++)o.push(a[n]);else if("current"==i||"applied"==i)o="none"==s?n.slice():"applied"==s?a.slice():O.map(n,function(t){return-1===O.inArray(t,a)?t:null});else if("index"==i||"original"==i)for(n=0,i=t.aoData.length;n<i;n++)"none"==s?o.push(n):(-1===(r=O.inArray(n,a))&&"removed"==s||0<=r&&"applied"==s)&&o.push(n);return o};ee("rows()",function(t,e){t===L?t="":O.isPlainObject(t)&&(e=t,t="");e=Se(e);var n=this.iterator("table",function(i){var r=e;return we("row",t,function(n){var t=Ut(n);if(null!==t&&!r)return[t];var e=Ce(i,r);return null!==t&&-1!==O.inArray(t,e)?[t]:n?"function"==typeof n?O.map(e,function(t){var e=i.aoData[t];return n(t,e._aData,e.nTr)?t:null}):(t=Kt(Vt(i.aoData,e,"nTr")),n.nodeName?n._DT_RowIndex!==L?[n._DT_RowIndex]:n._DT_CellIndex?[n._DT_CellIndex.row]:(t=O(n).closest("*[data-dt-row]")).length?[t.data("dt-row")]:[]:"string"==typeof n&&"#"===n.charAt(0)&&(e=i.aIds[n.replace(/^#/,"")])!==L?[e.idx]:O(t).filter(n).map(function(){return this._DT_RowIndex}).toArray()):e},i,r)},1);return n.selector.rows=t,n.selector.opts=e,n}),ee("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||L},1)}),ee("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return Vt(t.aoData,e,"_aData")},1)}),ne("rows().cache()","row().cache()",function(i){return this.iterator("row",function(t,e){var n=t.aoData[e];return"search"===i?n._aFilterData:n._aSortData},1)}),ne("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(t,e){r(t,e,n)})}),ne("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),ne("rows().ids()","row().id()",function(t){for(var e=[],n=this.context,i=0,r=n.length;i<r;i++)for(var o=0,a=this[i].length;o<a;o++){var s=n[i].rowIdFn(n[i].aoData[this[i][o]]._aData);e.push((!0===t?"#":"")+s)}return new te(n,e)}),ne("rows().remove()","row().remove()",function(){var c=this;return this.iterator("row",function(t,e,n){var i,r,o,a,s,l=t.aoData,u=l[e];for(l.splice(e,1),i=0,r=l.length;i<r;i++)if(s=(o=l[i]).anCells,null!==o.nTr&&(o.nTr._DT_RowIndex=i),null!==s)for(o=0,a=s.length;o<a;o++)s[o]._DT_CellIndex.row=i;h(t.aiDisplayMaster,e),h(t.aiDisplay,e),h(c[n],e,!1),Ht(t),(e=t.rowIdFn(u._aData))!==L&&delete t.aIds[e]}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),ee("rows.add()",function(o){var t=this.iterator("table",function(t){var e,n,i,r=[];for(n=0,i=o.length;n<i;n++)(e=o[n]).nodeName&&"TR"===e.nodeName.toUpperCase()?r.push(P(t,e)[0]):r.push(A(t,e));return r},1),e=this.rows(-1);return e.pop(),O.merge(e,t),e}),ee("row()",function(t,e){return _e(this.rows(t,e))}),ee("row().data()",function(t){var e=this.context;return t===L?e.length&&this.length?e[0].aoData[this[0]]._aData:L:(e[0].aoData[this[0]]._aData=t,r(e[0],this[0],"data"),this)}),ee("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),ee("row.add()",function(e){e instanceof O&&e.length&&(e=e[0]);var t=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?P(t,e)[0]:A(t,e)});return this.row(t[0])});function ke(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==L?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=L,n._details=L)}function Me(t,e){var n=t.context;if(n.length&&t.length){var i=n[0].aoData[t[0]];if(i._details){(i._detailsShow=e)?i._details.insertAfter(i.nTr):i._details.detach();var a=n[0],r=new te(a),s=a.aoData;r.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),0<ce(s,"_details").length&&(r.on("draw.dt.DT_details",function(t,e){a===e&&r.rows({page:"current"}).eq(0).each(function(t){(t=s[t])._detailsShow&&t._details.insertAfter(t.nTr)})}),r.on("column-visibility.dt.DT_details",function(t,e){if(a===e)for(var n,i=M(e),r=0,o=s.length;r<o;r++)(n=s[r])._details&&n._details.children("td[colspan]").attr("colspan",i)}),r.on("destroy.dt.DT_details",function(t,e){if(a===e)for(var n=0,i=s.length;n<i;n++)s[n]._details&&ke(r,n)}))}}}ee("row().child()",function(t,e){var n=this.context;if(t===L)return n.length&&this.length?n[0].aoData[this[0]]._details:L;if(!0===t)this.child.show();else if(!1===t)ke(this);else if(n.length&&this.length){var r=n[0],o=(n=n[0].aoData[this[0]],[]),a=function(t,e){if(O.isArray(t)||t instanceof O)for(var n=0,i=t.length;n<i;n++)a(t[n],e);else t.nodeName&&"tr"===t.nodeName.toLowerCase()?o.push(t):(n=O("<tr><td/></tr>").addClass(e),O("td",n).addClass(e).html(t)[0].colSpan=M(r),o.push(n[0]))};a(t,e),n._details&&n._details.remove(),n._details=O(o),n._detailsShow&&n._details.insertAfter(n.nTr)}return this}),ee(["row().child.show()","row().child().show()"],function(){return Me(this,!0),this}),ee(["row().child.hide()","row().child().hide()"],function(){return Me(this,!1),this}),ee(["row().child.remove()","row().child().remove()"],function(){return ke(this),this}),ee("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});function Te(t,e,n,i,r){n=[],i=0;for(var o=r.length;i<o;i++)n.push(E(t,r[i],e));return n}var De=/^(.+):(name|visIdx|visible)$/;ee("columns()",function(e,n){e===L?e="":O.isPlainObject(e)&&(n=e,e="");n=Se(n);var t=this.iterator("table",function(o){var t=e,a=n,s=o.aoColumns,l=ce(s,"sName"),u=ce(s,"nTh");return we("column",t,function(n){var t=Ut(n);if(""===n)return Zt(s.length);if(null!==t)return[0<=t?t:s.length+t];if("function"==typeof n){var i=Ce(o,a);return O.map(s,function(t,e){return n(e,Te(o,e,0,0,i),u[e])?e:null})}var r="string"==typeof n?n.match(De):"";if(r)switch(r[2]){case"visIdx":case"visible":if((t=parseInt(r[1],10))<0){var e=O.map(s,function(t,e){return t.bVisible?e:null});return[e[e.length+t]]}return[N(o,t)];case"name":return O.map(l,function(t,e){return t===r[1]?e:null});default:return[]}return n.nodeName&&n._DT_CellIndex?[n._DT_CellIndex.column]:(t=O(u).filter(n).map(function(){return O.inArray(this,u)}).toArray()).length||!n.nodeName?t:(t=O(n).closest("*[data-dt-column]")).length?[t.data("dt-column")]:[]},o,a)},1);return t.selector.cols=e,t.selector.opts=n,t}),ne("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),ne("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),ne("columns().data()","column().data()",function(){return this.iterator("column-rows",Te,1)}),ne("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),ne("columns().cache()","column().cache()",function(o){return this.iterator("column-rows",function(t,e,n,i,r){return Vt(t.aoData,r,"search"===o?"_aFilterData":"_aSortData",e)},1)}),ne("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,r){return Vt(t.aoData,r,"anCells",e)},1)}),ne("columns().visible()","column().visible()",function(u,c){return this.iterator("column",function(t,e){if(u===L)return t.aoColumns[e].bVisible;var n,i,r,o=t.aoColumns,a=o[e],s=t.aoData;if(u!==L&&a.bVisible!==u){if(u){var l=O.inArray(!0,ce(o,"bVisible"),e+1);for(n=0,i=s.length;n<i;n++)r=s[n].nTr,o=s[n].anCells,r&&r.insertBefore(o[e],o[l]||null)}else O(ce(t.aoData,"anCells",e)).detach();a.bVisible=u,F(t,t.aoHeader),F(t,t.aoFooter),(c===L||c)&&I(t),jt(t,null,"column-visibility",[t,e,u,c]),Pt(t)}})}),ne("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?u(t,e):e},1)}),ee("columns.adjust()",function(){return this.iterator("table",function(t){I(t)},1)}),ee("column.index()",function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return N(n,e);if("fromData"===t||"toVisible"===t)return u(n,e)}}),ee("column()",function(t,e){return _e(this.columns(t,e))}),ee("cells()",function(g,t,m){if(O.isPlainObject(g)&&(g.row===L?(m=g,g=null):(m=t,t=null)),O.isPlainObject(t)&&(m=t,t=null),null===t||t===L)return this.iterator("table",function(n){var i,r,o,a,s,l,u,t=g,e=Se(m),c=n.aoData,h=Ce(n,e),d=Kt(Vt(c,h,"anCells")),f=O([].concat.apply([],d)),p=n.aoColumns.length;return we("cell",t,function(t){var e="function"==typeof t;if(null===t||t===L||e){for(r=[],o=0,a=h.length;o<a;o++)for(i=h[o],s=0;s<p;s++)l={row:i,column:s},e?(u=c[i],t(l,E(n,i,s),u.anCells?u.anCells[s]:null)&&r.push(l)):r.push(l);return r}return O.isPlainObject(t)?[t]:(e=f.filter(t).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray()).length||!t.nodeName?e:(u=O(t).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},n,e)});var n,i,r,o,a,s=this.columns(t,m),l=this.rows(g,m),e=this.iterator("table",function(t,e){for(n=[],i=0,r=l[e].length;i<r;i++)for(o=0,a=s[e].length;o<a;o++)n.push({row:l[e][i],column:s[e][o]});return n},1);return O.extend(e.selector,{cols:t,rows:g,opts:m}),e}),ne("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){return(t=t.aoData[e])&&t.anCells?t.anCells[n]:L},1)}),ee("cells().data()",function(){return this.iterator("cell",function(t,e,n){return E(t,e,n)},1)}),ne("cells().cache()","cell().cache()",function(i){return i="search"===i?"_aFilterData":"_aSortData",this.iterator("cell",function(t,e,n){return t.aoData[e][i][n]},1)}),ne("cells().render()","cell().render()",function(i){return this.iterator("cell",function(t,e,n){return E(t,e,n,i)},1)}),ne("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:u(t,n)}},1)}),ne("cells().invalidate()","cell().invalidate()",function(i){return this.iterator("cell",function(t,e,n){r(t,e,i,n)})}),ee("cell()",function(t,e,n){return _e(this.cells(t,e,n))}),ee("cell().data()",function(t){var e=this.context,n=this[0];return t===L?e.length&&n.length?E(e[0],n[0].row,n[0].column):L:(i(e[0],n[0].row,n[0].column,t),r(e[0],n[0].row,"data",n[0].column),this)}),ee("order()",function(e,t){var n=this.context;return e===L?0!==n.length?n[0].aaSorting:L:("number"==typeof e?e=[[e,t]]:O.isArray(e[0])||(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),ee("order.listener()",function(e,n,i){return this.iterator("table",function(t){Tt(t,e,n,i)})}),ee("order.fixed()",function(e){if(e)return this.iterator("table",function(t){t.aaSortingFixed=O.extend(!0,{},e)});var t=(t=this.context).length?t[0].aaSortingFixed:L;return O.isArray(t)?{pre:t}:t}),ee(["columns().order()","column().order()"],function(i){var r=this;return this.iterator("table",function(t,e){var n=[];O.each(r[e],function(t,e){n.push([e,i])}),t.aaSorting=n})}),ee("search()",function(e,n,i,r){var t=this.context;return e===L?0!==t.length?t[0].oPreviousSearch.sSearch:L:this.iterator("table",function(t){t.oFeatures.bFilter&&X(t,O.extend({},t.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===i||i,bCaseInsensitive:null===r||r}),1)})}),ne("columns().search()","column().search()",function(i,r,o,a){return this.iterator("column",function(t,e){var n=t.aoPreSearchCols;if(i===L)return n[e].sSearch;t.oFeatures.bFilter&&(O.extend(n[e],{sSearch:i+"",bRegex:null!==r&&r,bSmart:null===o||o,bCaseInsensitive:null===a||a}),X(t,t.oPreviousSearch,1))})}),ee("state()",function(){return this.context.length?this.context[0].oSavedState:null}),ee("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),ee("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),ee("state.save()",function(){return this.iterator("table",function(t){Pt(t)})}),Jt.versionCheck=Jt.fnVersionCheck=function(t){for(var e,n,i=Jt.version.split("."),r=0,o=(t=t.split(".")).length;r<o;r++)if((e=parseInt(i[r],10)||0)!==(n=parseInt(t[r],10)||0))return n<e;return!0},Jt.isDataTable=Jt.fnIsDataTable=function(t){var r=O(t).get(0),o=!1;return O.each(Jt.settings,function(t,e){var n=e.nScrollHead?O("table",e.nScrollHead)[0]:null,i=e.nScrollFoot?O("table",e.nScrollFoot)[0]:null;e.nTable!==r&&n!==r&&i!==r||(o=!0)}),o},Jt.tables=Jt.fnTables=function(e){var t=!1;O.isPlainObject(e)&&(t=e.api,e=e.visible);var n=O.map(Jt.settings,function(t){if(!e||e&&O(t.nTable).is(":visible"))return t.nTable});return t?new te(n):n},Jt.util={throttle:yt,escapeRegex:Q},Jt.camelToHungarian=b,ee("$()",function(t,e){var n=this.rows(e).nodes();n=O(n);return O([].concat(n.filter(t).toArray(),n.find(t).toArray()))}),O.each(["on","one","off"],function(t,n){ee(n+"()",function(){var t=Array.prototype.slice.call(arguments);t[0].match(/\.dt\b/)||(t[0]+=".dt");var e=O(this.tables().nodes());return e[n].apply(e,t),this})}),ee("clear()",function(){return this.iterator("table",function(t){s(t)})}),ee("settings()",function(){return new te(this.context,this.context)}),ee("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),ee("data()",function(){return this.iterator("table",function(t){return ce(t.aoData,"_aData")}).flatten()}),ee("destroy()",function(h){return h=h||!1,this.iterator("table",function(e){var n,t=e.nTableWrapper.parentNode,i=e.oClasses,r=e.nTable,o=e.nTBody,a=e.nTHead,s=e.nTFoot,l=O(r),u=(o=O(o),O(e.nTableWrapper)),c=O.map(e.aoData,function(t){return t.nTr});e.bDestroying=!0,jt(e,"aoDestroyCallback","destroy",[e]),h||new te(e).columns().visible(!0),u.unbind(".DT").find(":not(tbody *)").unbind(".DT"),O(v).unbind(".DT-"+e.sInstance),r!=a.parentNode&&(l.children("thead").detach(),l.append(a)),s&&r!=s.parentNode&&(l.children("tfoot").detach(),l.append(s)),e.aaSorting=[],e.aaSortingFixed=[],Dt(e),O(c).removeClass(e.asStripeClasses.join(" ")),O("th, td",a).removeClass(i.sSortable+" "+i.sSortableAsc+" "+i.sSortableDesc+" "+i.sSortableNone),e.bJUI&&(O("th span."+i.sSortIcon+", td span."+i.sSortIcon,a).detach(),O("th, td",a).each(function(){var t=O("div."+i.sSortJUIWrapper,this);O(this).append(t.contents()),t.detach()})),o.children().detach(),o.append(c),l[a=h?"remove":"detach"](),u[a](),!h&&t&&(t.insertBefore(r,e.nTableReinsertBefore),l.css("width",e.sDestroyWidth).removeClass(i.sTable),(n=e.asDestroyStripes.length)&&o.children().each(function(t){O(this).addClass(e.asDestroyStripes[t%n])})),-1!==(t=O.inArray(e,Jt.settings))&&Jt.settings.splice(t,1)})}),O.each(["column","row","cell"],function(t,l){ee(l+"s().every()",function(o){var a=this.selector.opts,s=this;return this.iterator(l,function(t,e,n,i,r){o.call(s[l](e,"cell"===l?n:a,"cell"===l?a:L),e,n,i,r)})})}),ee("i18n()",function(t,e,n){var i=this.context[0];return(t=R(t)(i.oLanguage))===L&&(t=e),n!==L&&O.isPlainObject(t)&&(t=t[n]!==L?t[n]:t._),t.replace("%d",n)}),Jt.version="1.10.11",Jt.settings=[],Jt.models={},Jt.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Jt.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},Jt.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},Jt.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:O.extend({},Jt.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},o(Jt.defaults),Jt.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},o(Jt.defaults.column),Jt.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:L,oAjaxData:L,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==zt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==zt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,r=this.oFeatures,o=r.bPaginate;return r.bServerSide?!1===o||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!o||i<n||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},Jt.ext=Qt={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:Jt.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Jt.version},O.extend(Qt,{afnFiltering:Qt.search,aTypes:Qt.type.detect,ofnSearch:Qt.type.search,oSort:Qt.type.order,afnSortData:Qt.order,aoFeatures:Qt.feature,oApi:Qt.internal,oStdClasses:Qt.classes,oPagination:Qt.pager}),O.extend(Jt.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ae="ui-state-default",Pe="css_right ui-icon ui-icon-",Ee="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";O.extend(Jt.ext.oJUIClasses,Jt.ext.classes,{sPageButton:"fg-button ui-button "+Ae,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:Ae+" sorting_asc",sSortDesc:Ae+" sorting_desc",sSortable:Ae+" sorting",sSortableAsc:Ae+" sorting_asc_disabled",sSortableDesc:Ae+" sorting_desc_disabled",sSortableNone:Ae+" sorting_disabled",sSortJUIAsc:Pe+"triangle-1-n",sSortJUIDesc:Pe+"triangle-1-s",sSortJUI:Pe+"carat-2-n-s",sSortJUIAscAllowed:Pe+"carat-1-n",sSortJUIDescAllowed:Pe+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+Ae,sScrollFoot:"dataTables_scrollFoot "+Ae,sHeaderTH:Ae,sFooterTH:Ae,sJUIHeader:Ee+" ui-corner-tl ui-corner-tr",sJUIFooter:Ee+" ui-corner-bl ui-corner-br"});var Oe=Jt.ext.pager;O.extend(Oe,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[Wt(t,e)]},simple_numbers:function(t,e){return["previous",Wt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Wt(t,e),"next","last"]},_numbers:Wt,numbers_length:7}),O.extend(!0,Jt.ext.renderer,{pageButton:{_:function(s,t,l,e,u,c){var h,d,n,f=s.oClasses,p=s.oLanguage.oPaginate,g=s.oLanguage.oAria.paginate||{},m=0,v=function(t,e){function n(t){ht(s,t.data.action,!0)}var i,r,o,a;for(i=0,r=e.length;i<r;i++)if(a=e[i],O.isArray(a))o=O("<"+(a.DT_el||"div")+"/>").appendTo(t),v(o,a);else{switch(h=null,d="",a){case"ellipsis":t.append('<span class="ellipsis">&#x2026;</span>');break;case"first":h=p.sFirst,d=a+(0<u?"":" "+f.sPageButtonDisabled);break;case"previous":h=p.sPrevious,d=a+(0<u?"":" "+f.sPageButtonDisabled);break;case"next":h=p.sNext,d=a+(u<c-1?"":" "+f.sPageButtonDisabled);break;case"last":h=p.sLast,d=a+(u<c-1?"":" "+f.sPageButtonDisabled);break;default:h=a+1,d=u===a?f.sPageButtonActive:""}null!==h&&(Rt(o=O("<a>",{class:f.sPageButton+" "+d,"aria-controls":s.sTableId,"aria-label":g[a],"data-dt-idx":m,tabindex:s.iTabIndex,id:0===l&&"string"==typeof a?s.sTableId+"_"+a:null}).html(h).appendTo(t),{action:a},n),m++)}};try{n=O(t).find(y.activeElement).data("dt-idx")}catch(t){}v(O(t).empty(),e),n&&O(t).find("[data-dt-idx="+n+"]").focus()}}}),O.extend(Jt.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return Gt(t,n)?"num"+n:null},function(t){if(t&&!(t instanceof Date)&&(!ae.test(t)||!se.test(t)))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||qt(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return Gt(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return Xt(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return Xt(t,n,!0)?"html-num-fmt"+n:null},function(t){return qt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),O.extend(Jt.ext.type.search,{html:function(t){return qt(t)?t:"string"==typeof t?t.replace(re," ").replace(oe,""):""},string:function(t){return qt(t)?t:"string"==typeof t?t.replace(re," "):t}});var Le=function(t,e,n,i){return 0===t||t&&"-"!==t?(e&&(t=Yt(t,e)),t.replace&&(n&&(t=t.replace(n,"")),i&&(t=t.replace(i,""))),1*t):-1/0};O.extend(Qt.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return qt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return qt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:e<t?1:0},"string-desc":function(t,e){return t<e?1:e<t?-1:0}}),$t(""),O.extend(!0,Jt.ext.renderer,{header:{_:function(r,o,a,s){O(r.nTable).on("order.dt.DT",function(t,e,n,i){r===e&&(t=a.idx,o.removeClass(a.sSortingClass+" "+s.sSortAsc+" "+s.sSortDesc).addClass("asc"==i[t]?s.sSortAsc:"desc"==i[t]?s.sSortDesc:a.sSortingClass))})},jqueryui:function(r,o,a,s){O("<div/>").addClass(s.sSortJUIWrapper).append(o.contents()).append(O("<span/>").addClass(s.sSortIcon+" "+a.sSortingClassJUI)).appendTo(o),O(r.nTable).on("order.dt.DT",function(t,e,n,i){r===e&&(t=a.idx,o.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==i[t]?s.sSortAsc:"desc"==i[t]?s.sSortDesc:a.sSortingClass),o.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==i[t]?s.sSortJUIAsc:"desc"==i[t]?s.sSortJUIDesc:a.sSortingClassJUI))})}}});function Ie(t){return"string"==typeof t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t}return Jt.render={number:function(i,r,o,a,s){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);return isNaN(n)?Ie(t):(t=Math.abs(n),n=parseInt(t,10),t=o?r+(t-n).toFixed(o).substring(2):"",e+(a||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(s||""))}}},text:function(){return{display:Ie}}},O.extend(Jt.ext.internal,{_fnExternApiFunc:e,_fnBuildAjax:$,_fnAjaxUpdate:q,_fnAjaxParameters:t,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:Y,_fnAddColumn:C,_fnColumnOptions:k,_fnAdjustColumnSizing:I,_fnVisibleToColumnIndex:N,_fnColumnIndexToVisible:u,_fnVisbleColumns:M,_fnGetColumns:T,_fnColumnTypes:a,_fnApplyColumnDefs:D,_fnHungarianMap:o,_fnCamelToHungarian:b,_fnLanguageCompat:x,_fnBrowserDetect:_,_fnAddData:A,_fnAddTr:P,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==L?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return O.inArray(n,t.aoData[e].anCells)},_fnGetCellData:E,_fnSetCellData:i,_fnSplitObjNotation:c,_fnGetObjectDataFn:R,_fnSetObjectDataFn:p,_fnGetDataMaster:f,_fnClearTable:s,_fnDeleteIndex:h,_fnInvalidate:r,_fnGetRowElements:l,_fnCreateTr:g,_fnBuildHead:m,_fnDrawHead:F,_fnDraw:j,_fnReDraw:H,_fnAddOptionsHtml:B,_fnDetectHeader:z,_fnGetUniqueThs:W,_fnFeatureHtmlFilter:G,_fnFilterComplete:X,_fnFilterCustom:V,_fnFilterColumn:Z,_fnFilter:K,_fnFilterCreateSearch:J,_fnEscapeRegex:Q,_fnFilterData:tt,_fnFeatureHtmlInfo:it,_fnUpdateInfo:rt,_fnInfoMacros:ot,_fnInitialise:at,_fnInitComplete:st,_fnLengthChange:lt,_fnFeatureHtmlLength:ut,_fnFeatureHtmlPaginate:ct,_fnPageChange:ht,_fnFeatureHtmlProcessing:dt,_fnProcessingDisplay:ft,_fnFeatureHtmlTable:pt,_fnScrollDraw:gt,_fnApplyToChildren:mt,_fnCalculateColumnWidths:vt,_fnThrottle:yt,_fnConvertToWidth:bt,_fnGetWidestNode:xt,_fnGetMaxLenString:wt,_fnStringToCss:St,_fnSortFlatten:_t,_fnSort:Ct,_fnSortAria:kt,_fnSortListener:Mt,_fnSortAttachListener:Tt,_fnSortingClasses:Dt,_fnSortData:At,_fnSaveState:Pt,_fnLoadState:Et,_fnSettingsFromNode:Ot,_fnLog:Lt,_fnMap:It,_fnBindAction:Rt,_fnCallbackReg:Ft,_fnCallbackFire:jt,_fnLengthOverflow:Ht,_fnRenderer:Bt,_fnDataSource:zt,_fnRowAttributes:d,_fnCalculateEnd:function(){}}),((O.fn.dataTable=Jt).$=O).fn.dataTableSettings=Jt.settings,O.fn.dataTableExt=Jt.ext,O.fn.DataTable=function(t){return O(this).dataTable(t).api()},O.each(Jt,function(t,e){O.fn.DataTable[t]=e}),O.fn.dataTable}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t||(t=window),e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(b,t,i,e){"use strict";var r=b.fn.dataTable;return b.extend(!0,r.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"}),b.extend(r.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"}),r.ext.renderer.pageButton.bootstrap=function(s,t,l,e,u,c){var h,d,n,f=new r.Api(s),p=s.oClasses,g=s.oLanguage.oPaginate,m=s.oLanguage.oAria.paginate||{},v=0,y=function(t,e){function n(t){t.preventDefault(),b(t.currentTarget).hasClass("disabled")||f.page()==t.data.action||f.page(t.data.action).draw("page")}var i,r,o,a;for(i=0,r=e.length;i<r;i++)if(a=e[i],b.isArray(a))y(t,a);else{switch(d=h="",a){case"ellipsis":h="&#x2026;",d="disabled";break;case"first":h=g.sFirst,d=a+(0<u?"":" disabled");break;case"previous":h=g.sPrevious,d=a+(0<u?"":" disabled");break;case"next":h=g.sNext,d=a+(u<c-1?"":" disabled");break;case"last":h=g.sLast,d=a+(u<c-1?"":" disabled");break;default:h=a+1,d=u===a?"active":""}h&&(o=b("<li>",{class:p.sPageButton+" "+d,id:0===l&&"string"==typeof a?s.sTableId+"_"+a:null}).append(b("<a>",{href:"#","aria-controls":s.sTableId,"aria-label":m[a],"data-dt-idx":v,tabindex:s.iTabIndex}).html(h)).appendTo(t),s.oApi._fnBindAction(o,{action:a},n),v++)}};try{n=b(t).find(i.activeElement).data("dt-idx")}catch(t){}y(b(t).empty().html('<ul class="pagination"/>').children("ul"),e),n&&b(t).find("[data-dt-idx="+n+"]").focus()},r}),function(i){i.fn.dataTable.moment=function(e,n){var t=i.fn.dataTable.ext.type;t.detect.unshift(function(t){return""===t||null===t?"moment-"+e:moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).isValid()?"moment-"+e:null}),t.order["moment-"+e+"-pre"]=function(t){return""===t||null===t?-1/0:parseInt(moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).format("x"),10)}}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(c){var r,n=0,s=Array.prototype.slice;c.cleanData=(r=c.cleanData,function(t){var e,n,i;for(i=0;null!=(n=t[i]);i++)try{(e=c._data(n,"events"))&&e.remove&&c(n).triggerHandler("remove")}catch(t){}r(t)}),c.widget=function(t,n,e){var i,r,o,a,s={},l=t.split(".")[0];return t=t.split(".")[1],i=l+"-"+t,e||(e=n,n=c.Widget),c.expr[":"][i.toLowerCase()]=function(t){return!!c.data(t,i)},c[l]=c[l]||{},r=c[l][t],o=c[l][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},c.extend(o,r,{version:e.version,_proto:c.extend({},e),_childConstructors:[]}),(a=new n).options=c.widget.extend({},a.options),c.each(e,function(e,o){c.isFunction(o)?s[e]=function(){function i(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var t,e=this._super,n=this._superApply;return this._super=i,this._superApply=r,t=o.apply(this,arguments),this._super=e,this._superApply=n,t}}():s[e]=o}),o.prototype=c.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},s,{constructor:o,namespace:l,widgetName:t,widgetFullName:i}),r?(c.each(r._childConstructors,function(t,e){var n=e.prototype;c.widget(n.namespace+"."+n.widgetName,o,e._proto)}),delete r._childConstructors):n._childConstructors.push(o),c.widget.bridge(t,o),o},c.widget.extend=function(t){for(var e,n,i=s.call(arguments,1),r=0,o=i.length;r<o;r++)for(e in i[r])n=i[r][e],i[r].hasOwnProperty(e)&&void 0!==n&&(c.isPlainObject(n)?t[e]=c.isPlainObject(t[e])?c.widget.extend({},t[e],n):c.widget.extend({},n):t[e]=n);return t},c.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;c.fn[o]=function(n){var t="string"==typeof n,i=s.call(arguments,1),r=this;return n=!t&&i.length?c.widget.extend.apply(null,[n].concat(i)):n,t?this.each(function(){var t,e=c.data(this,a);return"instance"===n?(r=e,!1):e?c.isFunction(e[n])&&"_"!==n.charAt(0)?(t=e[n].apply(e,i))!==e&&void 0!==t?(r=t&&t.jquery?r.pushStack(t.get()):t,!1):void 0:c.error("no such method '"+n+"' for "+o+" widget instance"):c.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+n+"'")}):this.each(function(){var t=c.data(this,a);t?(t.option(n||{}),t._init&&t._init()):c.data(this,a,new e(n,this))}),r}},c.Widget=function(){},c.Widget._childConstructors=[],c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=c(e||this.defaultElement||this)[0],this.element=c(e),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=c.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=c(),this.hoverable=c(),this.focusable=c(),e!==this&&(c.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=c(e.style?e.ownerDocument:e.document||e),this.window=c(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:c.noop,_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(c.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:c.noop,widget:function(){return this.element},option:function(t,e){var n,i,r,o=t;if(0===arguments.length)return c.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(i=o[t]=c.widget.extend({},this.options[t]),r=0;r<n.length-1;r++)i[n[r]]=i[n[r]]||{},i=i[n[r]];if(t=n.pop(),1===arguments.length)return void 0===i[t]?null:i[t];i[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(a,s,t){var l,u=this;"boolean"!=typeof a&&(t=s,s=a,a=!1),t?(s=l=c(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,l=this.widget()),c.each(t,function(t,e){function n(){if(a||!0!==u.options.disabled&&!c(this).hasClass("ui-state-disabled"))return("string"==typeof e?u[e]:e).apply(u,arguments)}"string"!=typeof e&&(n.guid=e.guid=e.guid||n.guid||c.guid++);var i=t.match(/^([\w:-]*)\s*(.*)$/),r=i[1]+u.eventNamespace,o=i[2];o?l.delegate(o,r,n):s.bind(r,n)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){c(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){c(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){c(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){c(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,n){var i,r,o=this.options[t];if(n=n||{},(e=c.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],r=e.originalEvent)for(i in r)i in e||(e[i]=r[i]);return this.element.trigger(e,n),!(c.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(n))||e.isDefaultPrevented())}},c.each({show:"fadeIn",hide:"fadeOut"},function(o,a){c.Widget.prototype["_"+o]=function(e,t,n){"string"==typeof t&&(t={effect:t});var i,r=t?!0===t||"number"==typeof t?a:t.effect||a:o;"number"==typeof(t=t||{})&&(t={duration:t}),i=!c.isEmptyObject(t),t.complete=n,t.delay&&e.delay(t.delay),i&&c.effects&&c.effects.effect[r]?e[o](t):r!==o&&e[r]?e[r](t.duration,t.easing,n):e.queue(function(t){c(this)[o](),n&&n.call(e[0]),t()})}});c.widget}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(v){"use strict";function t(n){var i="dragover"===n;return function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var e=t.dataTransfer;e&&-1!==v.inArray("Files",e.types)&&!1!==this._trigger(n,v.Event(n,{delegatedEvent:t}))&&(t.preventDefault(),i&&(e.dropEffect="copy"))}}v.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||v('<input type="file">').prop("disabled")),v.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),v.support.xhrFormDataFileUpload=!!window.FormData,v.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),v.widget("blueimp.fileupload",{options:{dropZone:v(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(n,t){return n=this.messages[n]||n.toString(),t&&v.each(t,function(t,e){n=n.replace("{"+t+"}",e)}),n},formData:function(t){return t.serializeArray()},add:function(t,e){if(t.isDefaultPrevented())return!1;(e.autoUpload||!1!==e.autoUpload&&v(this).fileupload("option","autoUpload"))&&e.process().done(function(){e.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:v.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||n<i)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&v.support.xhrFileUpload||v.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return"function"===v.type(t.formData)?t.formData(t.form):v.isArray(t.formData)?t.formData:"object"===v.type(t.formData)?(n=[],v.each(t.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(t){var n=0;return v.each(t,function(t,e){n+=e.size||1}),n},_initProgressObject:function(t){var e={loaded:0,total:0,bitrate:0};t._progress?v.extend(t._progress,e):t._progress=e},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(t,e){if(t.lengthComputable){var n,i=Date.now?Date.now():(new Date).getTime();if(e._time&&e.progressInterval&&i-e._time<e.progressInterval&&t.loaded!==t.total)return;e._time=i,n=Math.floor(t.loaded/t.total*(e.chunkSize||e._progress.total))+(e.uploadedBytes||0),this._progress.loaded+=n-e._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(i,this._progress.loaded,e.bitrateInterval),e._progress.loaded=e.loaded=n,e._progress.bitrate=e.bitrate=e._bitrateTimer.getBitrate(i,n,e.bitrateInterval),this._trigger("progress",v.Event("progress",{delegatedEvent:t}),e),this._trigger("progressall",v.Event("progressall",{delegatedEvent:t}),this._progress)}},_initProgressListener:function(n){var i=this,t=n.xhr?n.xhr():v.ajaxSettings.xhr();t.upload&&(v(t.upload).bind("progress",function(t){var e=t.originalEvent;t.lengthComputable=e.lengthComputable,t.loaded=e.loaded,t.total=e.total,i._onProgress(t,n)}),n.xhr=function(){return t})},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_initXHRData:function(n){var i,r=this,t=n.files[0],e=n.multipart||!v.support.xhrFileUpload,o="array"===v.type(n.paramName)?n.paramName[0]:n.paramName;n.headers=v.extend({},n.headers),n.contentRange&&(n.headers["Content-Range"]=n.contentRange),e&&!n.blob&&this._isInstanceOf("File",t)||(n.headers["Content-Disposition"]='attachment; filename="'+encodeURI(t.name)+'"'),e?v.support.xhrFormDataFileUpload&&(n.postMessage?(i=this._getFormData(n),n.blob?i.push({name:o,value:n.blob}):v.each(n.files,function(t,e){i.push({name:"array"===v.type(n.paramName)&&n.paramName[t]||o,value:e})})):(r._isInstanceOf("FormData",n.formData)?i=n.formData:(i=new FormData,v.each(this._getFormData(n),function(t,e){i.append(e.name,e.value)})),n.blob?i.append(o,n.blob,t.name):v.each(n.files,function(t,e){(r._isInstanceOf("File",e)||r._isInstanceOf("Blob",e))&&i.append("array"===v.type(n.paramName)&&n.paramName[t]||o,e,e.uploadName||e.name)})),n.data=i):(n.contentType=t.type||"application/octet-stream",n.data=n.blob||t),n.blob=null},_initIframeSettings:function(t){var e=v("<a></a>").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&e&&e!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(t){var e=v(t.fileInput),i=t.paramName;return i?v.isArray(i)||(i=[i]):(i=[],e.each(function(){for(var t=v(this),e=t.prop("name")||"files[]",n=(t.prop("files")||[1]).length;n;)i.push(e),n-=1}),i.length||(i=[e.prop("name")||"files[]"])),i},_initFormSettings:function(t){t.form&&t.form.length||(t.form=v(t.fileInput.prop("form")),t.form.length||(t.form=v(this.options.fileInput.prop("form")))),t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||"string"===v.type(t.form.prop("method"))&&t.form.prop("method")||"").toUpperCase(),"POST"!==t.type&&"PUT"!==t.type&&"PATCH"!==t.type&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var e=v.extend({},this.options,t);return this._initFormSettings(e),this._initDataSettings(e),e},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(t,e,n){var i=v.Deferred(),r=i.promise();return e=e||this.options.context||r,!0===t?i.resolveWith(e,n):!1===t&&i.rejectWith(e,n),r.abort=i.promise,this._enhancePromise(r)},_addConvenienceMethods:function(t,n){function i(t){return v.Deferred().resolveWith(r,t).promise()}var r=this;n.process=function(t,e){return(t||e)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?v.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,e)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",v.Event("submit",{delegatedEvent:t}),this)&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&1<n.length&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(o,t){o.uploadedBytes=o.uploadedBytes||0;var e,a,s=this,n=o.files[0],l=n.size,u=o.uploadedBytes,c=o.maxChunkSize||l,h=this._blobSlice,d=v.Deferred(),i=d.promise();return!(!(this._isXHRUpload(o)&&h&&(u||c<l))||o.data)&&(!!t||(l<=u?(n.error=o.i18n("uploadedBytes"),this._getXHRPromise(!1,o.context,[null,"error",n.error])):(a=function(){var i=v.extend({},o),r=i._progress.loaded;i.blob=h.call(n,u,u+c,n.type),i.chunkSize=i.blob.size,i.contentRange="bytes "+u+"-"+(u+i.chunkSize-1)+"/"+l,s._initXHRData(i),s._initProgressListener(i),e=(!1!==s._trigger("chunksend",null,i)&&v.ajax(i)||s._getXHRPromise(!1,i.context)).done(function(t,e,n){u=s._getUploadedBytes(n)||u+i.chunkSize,r+i.chunkSize-i._progress.loaded&&s._onProgress(v.Event("progress",{lengthComputable:!0,loaded:u-i.uploadedBytes,total:u-i.uploadedBytes}),i),o.uploadedBytes=i.uploadedBytes=u,i.result=t,i.textStatus=e,i.jqXHR=n,s._trigger("chunkdone",null,i),s._trigger("chunkalways",null,i),u<l?a():d.resolveWith(i.context,[t,e,n])}).fail(function(t,e,n){i.jqXHR=t,i.textStatus=e,i.errorThrown=n,s._trigger("chunkfail",null,i),s._trigger("chunkalways",null,i),d.rejectWith(i.context,[t,e,n])})},this._enhancePromise(i),i.abort=function(){return e.abort()},a(),i)))},_beforeSend:function(t,e){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(e),this._initProgressObject(e),e._progress.loaded=e.loaded=e.uploadedBytes||0,e._progress.total=e.total=this._getTotal(e.files)||1,e._progress.bitrate=e.bitrate=0,this._active+=1,this._progress.loaded+=e.loaded,this._progress.total+=e.total},_onDone:function(t,e,n,i){var r=i._progress.total,o=i._response;i._progress.loaded<r&&this._onProgress(v.Event("progress",{lengthComputable:!0,loaded:r,total:r}),i),o.result=i.result=t,o.textStatus=i.textStatus=e,o.jqXHR=i.jqXHR=n,this._trigger("done",null,i)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(t,e){e.submit||this._addConvenienceMethods(t,e);function n(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",v.Event("send",{delegatedEvent:t}),l))&&s._getXHRPromise(!1,l.context,r)||s._chunkedUpload(l)||v.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._trigger("stop")})}var i,r,o,a,s=this,l=s._getAJAXSettings(e);return this._beforeSend(t,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((a=1<this.options.limitConcurrentUploads?(o=v.Deferred(),this._slots.push(o),o.pipe(n)):(this._sequence=this._sequence.pipe(n,n),this._sequence)).abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(l.context,r),n())},this._enhancePromise(a)):n()},_onAdd:function(i,r){var o,t,a,e,s=this,l=!0,n=v.extend({},this.options,r),u=r.files,c=u.length,h=n.limitMultiFileUploads,d=n.limitMultiFileUploadSize,f=n.limitMultiFileUploadSizeOverhead,p=0,g=this._getParamName(n),m=0;if(!d||c&&void 0!==u[0].size||(d=void 0),(n.singleFileUploads||h||d)&&this._isXHRUpload(n))if(n.singleFileUploads||d||!h)if(!n.singleFileUploads&&d)for(a=[],o=[],e=0;e<c;e+=1)p+=u[e].size+f,(e+1===c||p+u[e+1].size+f>d||h&&h<=e+1-m)&&(a.push(u.slice(m,e+1)),(t=g.slice(m,e+1)).length||(t=g),o.push(t),m=e+1,p=0);else o=g;else for(a=[],o=[],e=0;e<c;e+=h)a.push(u.slice(e,e+h)),(t=g.slice(e,e+h)).length||(t=g),o.push(t);else a=[u],o=[g];return r.originalFiles=u,v.each(a||u,function(t,e){var n=v.extend({},r);return n.files=a?e:[e],n.paramName=o[t],s._initResponseObject(n),s._initProgressObject(n),s._addConvenienceMethods(i,n),l=s._trigger("add",v.Event("add",{delegatedEvent:i}),n)}),l},_replaceFileInput:function(t){var n=t.fileInput,i=n.clone(!0);t.fileInputClone=i,v("<form></form>").append(i)[0].reset(),n.after(i).detach(),v.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){function i(t){t&&!t.entry&&(t.entry=e),o.resolve([t])}var t,r=this,o=v.Deferred(),a=function(){t.readEntries(function(t){t.length?(s=s.concat(t),a()):function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(i)}(s)},i)},s=[];return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},i):e.isDirectory?(t=e.createReader(),a()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(t,e){var n=this;return v.when.apply(v,v.map(t,function(t){return n._handleFileTreeEntry(t,e)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){var e=(t=t||{}).items;return e&&e.length&&(e[0].webkitGetAsEntry||e[0].getAsEntry)?this._handleFileTreeEntries(v.map(e,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):v.Deferred().resolve(v.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){var e,n,i=(t=v(t)).prop("webkitEntries")||t.prop("entries");if(i&&i.length)return this._handleFileTreeEntries(i);if((e=v.makeArray(t.prop("files"))).length)void 0===e[0].name&&e[0].fileName&&v.each(e,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(n=t.prop("value")))return v.Deferred().resolve([]).promise();e=[{name:n.replace(/^.*\\/,"")}]}return v.Deferred().resolve(e).promise()},_getFileInputFiles:function(t){return t instanceof v&&1!==t.length?v.when.apply(v,v.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(e){var n=this,i={fileInput:v(e.target),form:v(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(t){i.files=t,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",v.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(t){var e=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,i={files:[]};e&&e.length&&(v.each(e,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",v.Event("paste",{delegatedEvent:t}),i)&&this._onAdd(t,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,t=e.dataTransfer,i={};t&&t.files&&t.files.length&&(e.preventDefault(),this._getDroppedFiles(t).always(function(t){i.files=t,!1!==n._trigger("drop",v.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),v.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,e){var n=-1!==v.inArray(t,this._specialOptions);n&&this._destroyEventHandlers(),this._super(t,e),n&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;void 0===t.fileInput?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof v||(t.fileInput=v(t.fileInput)),t.dropZone instanceof v||(t.dropZone=v(t.dropZone)),t.pasteZone instanceof v||(t.pasteZone=v(t.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(t,e){return"url"!==t&&"string"===v.type(e)&&/^\/.*\/[igm]{0,3}$/.test(e)},_initDataAttributes:function(){var r=this,o=this.options,a=this.element.data();v.each(this.element[0].attributes,function(t,e){var n,i=e.name.toLowerCase();/^data-/.test(i)&&(i=i.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),n=a[i],r._isRegExpOption(i,n)&&(n=r._getRegExp(n)),o[i]=n)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=v.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=v.Deferred(),t=o.promise();return t.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),t)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(t)}if(e.files=v.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery)}(function(l){"use strict";var i=0;l.ajaxTransport("iframe",function(r){if(r.async){var o,a,e,s=r.initialIframeSrc||"javascript:false;";return{send:function(t,n){(o=l('<form style="display:none;"></form>')).attr("accept-charset",r.formAcceptCharset),e=/\?/.test(r.url)?"&":"?","DELETE"===r.type?(r.url=r.url+e+"_method=DELETE",r.type="POST"):"PUT"===r.type?(r.url=r.url+e+"_method=PUT",r.type="POST"):"PATCH"===r.type&&(r.url=r.url+e+"_method=PATCH",r.type="POST"),a=l('<iframe src="'+s+'" name="iframe-transport-'+(i+=1)+'"></iframe>').bind("load",function(){var i,e=l.isArray(r.paramName)?r.paramName:[r.paramName];a.unbind("load").bind("load",function(){var e;try{if(!(e=a.contents()).length||!e[0].firstChild)throw new Error}catch(t){e=void 0}n(200,"success",{iframe:e}),l('<iframe src="'+s+'"></iframe>').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",a.prop("name")).prop("action",r.url).prop("method",r.type),r.formData&&l.each(r.formData,function(t,e){l('<input type="hidden"/>').prop("name",e.name).val(e.value).appendTo(o)}),r.fileInput&&r.fileInput.length&&"POST"===r.type&&(i=r.fileInput.clone(),r.fileInput.after(function(t){return i[t]}),r.paramName&&r.fileInput.each(function(t){l(this).prop("name",e[t]||r.paramName)}),o.append(r.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),r.fileInput.removeAttr("form")),o.submit(),i&&i.length&&r.fileInput.each(function(t,e){var n=l(i[t]);l(e).prop("name",n.prop("name")).attr("form",n.attr("form")),n.replaceWith(e)})}),o.append(a).appendTo(document.body)},abort:function(){a&&a.unbind("load").prop("src",s),o&&o.remove()}}}}),l.ajaxSetup({converters:{"iframe text":function(t){return t&&l(t[0].body).text()},"iframe json":function(t){return t&&l.parseJSON(l(t[0].body).text())},"iframe html":function(t){return t&&l(t[0].body).html()},"iframe xml":function(t){var e=t&&t[0];return e&&l.isXMLDoc(e)?e:l.parseXML(e.XMLDocument&&e.XMLDocument.xml||l(e.body).html())},"iframe script":function(t){return t&&l.globalEval(l(t[0].body).text())}}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t,e,n){return(c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&u(r,n.prototype),r}).apply(null,arguments)}function h(t,e,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}function d(e){return Object.keys(e).map(function(t){return e[t]})}function f(t){return Array.prototype.slice.call(t)}function m(t){console.error("".concat(e," ").concat(t))}function p(t,e){var n;n='"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'),-1===w.indexOf(n)&&(w.push(n),x(n))}function g(t){return t&&Promise.resolve(t)===t}function t(t){var e={};for(var n in t)e[t[n]]="swal2-"+t[n];return e}function v(t,e){return t.classList.contains(e)}function y(e,t,n){f(e.classList).forEach(function(t){-1===d(_).indexOf(t)&&-1===d(C).indexOf(t)&&e.classList.remove(t)}),t&&t[n]&&it(e,t[n])}function b(t){return"function"==typeof t?t():t}var e="SweetAlert2:",x=function(t){console.warn("".concat(e," ").concat(t))},w=[],S=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),_=t(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),C=t(["success","warning","info","question","error"]),k={previousBodyPadding:null};function M(t,e){if(!e)return null;switch(e){case"select":case"textarea":case"file":return ot(t,_[e]);case"checkbox":return t.querySelector(".".concat(_.checkbox," input"));case"radio":return t.querySelector(".".concat(_.radio," input:checked"))||t.querySelector(".".concat(_.radio," input:first-child"));case"range":return t.querySelector(".".concat(_.range," input"));default:return ot(t,_.input)}}function T(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}}function D(t,e,n){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(function(e){t.forEach?t.forEach(function(t){n?t.classList.add(e):t.classList.remove(e)}):n?t.classList.add(e):t.classList.remove(e)}))}function A(t,e,n){n||0===parseInt(n)?t.style[e]="number"==typeof n?n+"px":n:t.style.removeProperty(e)}function P(t,e){var n=1<arguments.length&&void 0!==e?e:"flex";t.style.opacity="",t.style.display=n}function E(t){t.style.opacity="",t.style.display="none"}function O(t,e,n){e?P(t,n):E(t)}function L(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))}function I(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),i=parseFloat(e.getPropertyValue("transition-duration")||"0");return 0<n||0<i}function N(){return document.body.querySelector("."+_.container)}function R(t){var e=N();return e?e.querySelector(t):null}function n(t){return R("."+t)}function F(){return n(_.popup)}function j(){return f(F().querySelectorAll("."+_.icon))}function H(){var t=j().filter(function(t){return L(t)});return t.length?t[0]:null}function B(){return n(_.title)}function z(){return n(_.content)}function W(){return n(_.image)}function $(){return n(_["progress-steps"])}function q(){return n(_["validation-message"])}function U(){return R("."+_.actions+" ."+_.confirm)}function Y(){return R("."+_.actions+" ."+_.cancel)}function G(){return n(_.actions)}function X(){return n(_.header)}function V(){return n(_.footer)}function Z(){return n(_.close)}function K(){var t=f(F().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return t=parseInt(t.getAttribute("tabindex")),(e=parseInt(e.getAttribute("tabindex")))<t?1:t<e?-1:0}),e=f(F().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(t.concat(e)).filter(function(t){return L(t)})}function J(){return!at()&&!document.body.classList.contains(_["no-backdrop"])}function Q(){return"undefined"==typeof window||"undefined"==typeof document}function tt(t){ye.isVisible()&&nt!==t.target.value&&ye.resetValidationMessage(),nt=t.target.value}function et(t,e){t instanceof HTMLElement?e.appendChild(t):"object"===o(t)?lt(e,t):t&&(e.innerHTML=t)}var nt,it=function(t,e){D(t,e,!0)},rt=function(t,e){D(t,e,!1)},ot=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(v(t.childNodes[n],e))return t.childNodes[n]},at=function(){return document.body.classList.contains(_["toast-shown"])},st='\n <div aria-labelledby="'.concat(_.title,'" aria-describedby="').concat(_.content,'" class="').concat(_.popup,'" tabindex="-1">\n <div class="').concat(_.header,'">\n <ul class="').concat(_["progress-steps"],'"></ul>\n <div class="').concat(_.icon," ").concat(C.error,'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n </div>\n <div class="').concat(_.icon," ").concat(C.question,'"></div>\n <div class="').concat(_.icon," ").concat(C.warning,'"></div>\n <div class="').concat(_.icon," ").concat(C.info,'"></div>\n <div class="').concat(_.icon," ").concat(C.success,'">\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n </div>\n <img class="').concat(_.image,'" />\n <h2 class="').concat(_.title,'" id="').concat(_.title,'"></h2>\n <button type="button" class="').concat(_.close,'"></button>\n </div>\n <div class="').concat(_.content,'">\n <div id="').concat(_.content,'"></div>\n <input class="').concat(_.input,'" />\n <input type="file" class="').concat(_.file,'" />\n <div class="').concat(_.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(_.select,'"></select>\n <div class="').concat(_.radio,'"></div>\n <label for="').concat(_.checkbox,'" class="').concat(_.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(_.label,'"></span>\n </label>\n <textarea class="').concat(_.textarea,'"></textarea>\n <div class="').concat(_["validation-message"],'" id="').concat(_["validation-message"],'"></div>\n </div>\n <div class="').concat(_.actions,'">\n <button type="button" class="').concat(_.confirm,'">OK</button>\n <button type="button" class="').concat(_.cancel,'">Cancel</button>\n </div>\n <div class="').concat(_.footer,'">\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),lt=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ut=function(){if(Q())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}();function ct(t,e,n){O(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=_[e],y(t,n.customClass,e+"Button"),it(t,n[e+"ButtonClass"])}function ht(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}var dt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},ft=["input","file","range","select","radio","checkbox","textarea"],pt=function(t){if(!vt[t.input])return m('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=vt[t.input](t);P(e),setTimeout(function(){T(e)})},gt=function(t,e){var n=M(z(),t);if(n)for(var i in function(t){for(var e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;-1===["type","value","style"].indexOf(n)&&t.removeAttribute(n)}}(n),e)"range"===t&&"placeholder"===i||n.setAttribute(i,e[i])},mt=function(t,e,n){t.className=e,n.inputClass&&it(t,n.inputClass),n.customClass&&it(t,n.customClass.input)},vt={};function yt(t,l){var u=$();if(!l.progressSteps||0===l.progressSteps.length)return E(u);P(u),u.innerHTML="";var c=parseInt(null===l.currentProgressStep?ye.getQueueStep():l.currentProgressStep);c>=l.progressSteps.length&&x("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),l.progressSteps.forEach(function(t,e){var n,i,r,o,a=(n=t,i=document.createElement("li"),it(i,_["progress-step"]),i.innerHTML=n,i);if(u.appendChild(a),e===c&&it(a,_["active-progress-step"]),e!==l.progressSteps.length-1){var s=(r=t,o=document.createElement("li"),it(o,_["progress-step-line"]),r.progressStepsDistance&&(o.style.width=r.progressStepsDistance),o);u.appendChild(s)}})}function bt(t,e){var n,i,r,o;r=e,A(o=F(),"width",r.width),A(o,"padding",r.padding),r.background&&(o.style.background=r.background),o.className=_.popup,r.toast?(it([document.documentElement,document.body],_["toast-shown"]),it(o,_.toast)):it(o,_.modal),y(o,r.customClass,"popup"),"string"==typeof r.customClass&&it(o,r.customClass),D(o,_.noanimation,!r.animation),function(t,e){var n,i,r,o,a=N();a&&(r=a,"string"==typeof(o=e.backdrop)?r.style.background=o:o||it([document.documentElement,document.body],_["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&x('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),n=a,(i=e.position)in _?it(n,_[i]):(x('The "position" parameter is not valid, defaulting to "center"'),it(n,_.center)),function(t,e){if(e&&"string"==typeof e){var n="grow-"+e;n in _&&it(t,_[n])}}(a,e.grow),y(a,e.customClass,"container"),e.customContainerClass&&it(a,e.customContainerClass))}(0,e),function(t,e){var n,i,r,o;y(X(),e.customClass,"header"),yt(0,e),function(t,e){var n=dt.innerParams.get(t);if(n&&e.type===n.type&&H())y(H(),e.customClass,"icon");else if(wt(),e.type)if(St(),-1!==Object.keys(C).indexOf(e.type)){var i=R(".".concat(_.icon,".").concat(C[e.type]));P(i),y(i,e.customClass,"icon"),D(i,"swal2-animate-".concat(e.type,"-icon"),e.animation)}else m('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.type,'"'))}(t,e),function(t,e){var n=W();if(!e.imageUrl)return E(n);P(n),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),A(n,"width",e.imageWidth),A(n,"height",e.imageHeight),n.className=_.image,y(n,e.customClass,"image"),e.imageClass&&it(n,e.imageClass)}(0,e),r=e,O(o=B(),r.title||r.titleText),r.title&&et(r.title,o),r.titleText&&(o.innerText=r.titleText),y(o,r.customClass,"title"),n=e,(i=Z()).innerHTML=n.closeButtonHtml,y(i,n.customClass,"closeButton"),O(i,n.showCloseButton),i.setAttribute("aria-label",n.closeButtonAriaLabel)}(t,e),function(t,e){var n,i,r,o,a,s=z().querySelector("#"+_.content);e.html?(et(e.html,s),P(s,"block")):e.text?(s.textContent=e.text,P(s,"block")):E(s),n=t,i=e,r=z(),o=dt.innerParams.get(n),a=!o||i.input!==o.input,ft.forEach(function(t){var e=_[t],n=ot(r,e);gt(t,i.inputAttributes),mt(n,e,i),a&&E(n)}),i.input&&a&&pt(i),y(z(),e.customClass,"content")}(t,e),function(t,e){var n=G(),i=U(),r=Y();e.showConfirmButton||e.showCancelButton||E(n),y(n,e.customClass,"actions"),ct(i,"confirm",e),ct(r,"cancel",e),e.buttonsStyling?function(t,e,n){it([t,e],_.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);var i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=i,t.style.borderRightColor=i}(i,r,e):(rt([i,r],_.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),e.reverseButtons&&i.parentNode.insertBefore(r,i)}(0,e),n=e,O(i=V(),n.footer),n.footer&&et(n.footer,i),y(i,n.customClass,"footer"),"function"==typeof e.onRender&&e.onRender(F())}function xt(){return U()&&U().click()}vt.text=vt.email=vt.password=vt.number=vt.tel=vt.url=function(t){var e=ot(z(),_.input);return"string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:g(t.inputValue)||x('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(o(t.inputValue),'"')),ht(e,t),e.type=t.input,e},vt.file=function(t){var e=ot(z(),_.file);return ht(e,t),e.type=t.input,e},vt.range=function(t){var e=ot(z(),_.range),n=e.querySelector("input"),i=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,i.value=t.inputValue,e},vt.select=function(t){var e=ot(z(),_.select);if(e.innerHTML="",t.inputPlaceholder){var n=document.createElement("option");n.innerHTML=t.inputPlaceholder,n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return e},vt.radio=function(){var t=ot(z(),_.radio);return t.innerHTML="",t},vt.checkbox=function(t){var e=ot(z(),_.checkbox),n=M(z(),"checkbox");return n.type="checkbox",n.value=1,n.id=_.checkbox,n.checked=Boolean(t.inputValue),e.querySelector("span").innerHTML=t.inputPlaceholder,e},vt.textarea=function(t){var e=ot(z(),_.textarea);if(e.value=t.inputValue,ht(e,t),"MutationObserver"in window){var n=parseInt(window.getComputedStyle(F()).width),i=parseInt(window.getComputedStyle(F()).paddingLeft)+parseInt(window.getComputedStyle(F()).paddingRight);new MutationObserver(function(){var t=e.offsetWidth+i;F().style.width=n<t?t+"px":null}).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var wt=function(){for(var t=j(),e=0;e<t.length;e++)E(t[e])},St=function(){for(var t=F(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),i=0;i<n.length;i++)n[i].style.backgroundColor=e};function _t(){var t=F();t||ye.fire(""),t=F();var e=G(),n=U(),i=Y();P(e),P(n),it([t,e],_.loading),n.disabled=!0,i.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()}function Ct(t){return Object.prototype.hasOwnProperty.call(Dt,t)}function kt(t){return Pt[t]}var Mt=[],Tt={},Dt={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onOpen:null,onRender:null,onClose:null,onAfterClose:null,scrollbarPadding:!0},At=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],Pt={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},Et=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Ot=Object.freeze({isValidParameter:Ct,isUpdatableParameter:function(t){return-1!==At.indexOf(t)},isDeprecatedParameter:kt,argsToParams:function(n){var i={};switch(o(n[0])){case"object":l(i,n[0]);break;default:["title","html","type"].forEach(function(t,e){switch(o(n[e])){case"string":i[t]=n[e];break;case"undefined":break;default:m("Unexpected type of ".concat(t,'! Expected "string", got ').concat(o(n[e])))}})}return i},isVisible:function(){return L(F())},clickConfirm:xt,clickCancel:function(){return Y()&&Y().click()},getContainer:N,getPopup:F,getTitle:B,getContent:z,getImage:W,getIcon:H,getIcons:j,getCloseButton:Z,getActions:G,getConfirmButton:U,getCancelButton:Y,getHeader:X,getFooter:V,getFocusableElements:K,getValidationMessage:q,isLoading:function(){return F().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return c(this,e)},mixin:function(n){return function(t){function e(){return i(this,e),function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,s(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,t),a(e,[{key:"_main",value:function(t){return h(s(e.prototype),"_main",this).call(this,l({},n,t))}}]),e}(this)},queue:function(t){var o=this;function a(t,e){Mt=[],document.body.removeAttribute("data-swal2-queue-step"),t(e)}Mt=t;var s=[];return new Promise(function(r){!function e(n,i){n<Mt.length?(document.body.setAttribute("data-swal2-queue-step",n),o.fire(Mt[n]).then(function(t){void 0!==t.value?(s.push(t.value),e(n+1,i)):a(r,{dismiss:t.dismiss})})):a(r,{value:s})}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(t,e){return e&&e<Mt.length?Mt.splice(e,0,t):Mt.push(t)},deleteQueueStep:function(t){void 0!==Mt[t]&&Mt.splice(t,1)},showLoading:_t,enableLoading:_t,getTimerLeft:function(){return Tt.timeout&&Tt.timeout.getTimerLeft()},stopTimer:function(){return Tt.timeout&&Tt.timeout.stop()},resumeTimer:function(){return Tt.timeout&&Tt.timeout.start()},toggleTimer:function(){var t=Tt.timeout;return t&&(t.running?t.stop():t.start())},increaseTimer:function(t){return Tt.timeout&&Tt.timeout.increase(t)},isTimerRunning:function(){return Tt.timeout&&Tt.timeout.isRunning()}});function Lt(){var t=dt.innerParams.get(this),e=dt.domCache.get(this);t.showConfirmButton||(E(e.confirmButton),t.showCancelButton||E(e.actions)),rt([e.popup,e.actions],_.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function It(){return!!window.MSInputMethodContext&&!!document.documentMode}function Nt(){var t=N(),e=F();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")}var Rt={swalPromiseResolve:new WeakMap};function Ft(t,e,n,i){n?Bt(t,i):(new Promise(function(t){var e=window.scrollX,n=window.scrollY;Tt.restoreFocusTimeout=setTimeout(function(){Tt.previousActiveElement&&Tt.previousActiveElement.focus?(Tt.previousActiveElement.focus(),Tt.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}).then(function(){return Bt(t,i)}),Tt.keydownTarget.removeEventListener("keydown",Tt.keydownHandler,{capture:Tt.keydownListenerCapture}),Tt.keydownHandlerAdded=!1),e.parentNode&&e.parentNode.removeChild(e),J()&&(null!==k.previousBodyPadding&&(document.body.style.paddingRight=k.previousBodyPadding+"px",k.previousBodyPadding=null),function(){if(v(document.body,_.iosfix)){var t=parseInt(document.body.style.top,10);rt(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&It()&&window.removeEventListener("resize",Nt),f(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})),rt([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"],_["toast-column"]])}function jt(t){var e,n,i,r,o,a,s,l=F();if(l&&!v(l,_.hide)){var u=dt.innerParams.get(this);if(u){var c=Rt.swalPromiseResolve.get(this);rt(l,_.show),it(l,_.hide),e=this,n=l,i=u,r=N(),o=ut&&I(n),a=i.onClose,s=i.onAfterClose,null!==a&&"function"==typeof a&&a(n),o?function(t,e,n,i){Tt.swalCloseEventFinishedCallback=Ft.bind(null,t,n,at(),i),e.addEventListener(ut,function(t){t.target===e&&(Tt.swalCloseEventFinishedCallback(),delete Tt.swalCloseEventFinishedCallback)})}(e,n,r,s):Ft(e,r,at(),s),c(t||{})}}}function Ht(t){for(var e in t)t[e]=new WeakMap}var Bt=function(t,e){setTimeout(function(){null!==e&&"function"==typeof e&&e(),F()||(delete t.params,delete Tt.keydownHandler,delete Tt.keydownTarget,Ht(dt),Ht(Rt))})};function zt(t,e,n){var i=dt.domCache.get(t);e.forEach(function(t){i[t].disabled=n})}function Wt(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),i=0;i<n.length;i++)n[i].disabled=e;else t.disabled=e}var $t=function(){function n(t,e){i(this,n),this.callback=t,this.remaining=e,this.running=!1,this.start()}return a(n,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(t){var e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),n}(),qt={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")}};function Ut(t){var e,n;(n=t).inputValidator||Object.keys(qt).forEach(function(t){n.input===t&&(n.inputValidator=qt[t])}),t.showLoaderOnConfirm&&!t.preConfirm&&x("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),t.animation=b(t.animation),(e=t).target&&("string"!=typeof e.target||document.querySelector(e.target))&&("string"==typeof e.target||e.target.appendChild)||(x('Target parameter is not valid, defaulting to "body"'),e.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),function(t){if((g=N())&&(g.parentNode.removeChild(g),rt([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]])),Q())m("SweetAlert2 requires document to initialize");else{var e=document.createElement("div");e.className=_.container,e.innerHTML=st;var n="string"==typeof(p=t.target)?document.querySelector(p):p;n.appendChild(e),d=t,(f=F()).setAttribute("role",d.toast?"alert":"dialog"),f.setAttribute("aria-live",d.toast?"polite":"assertive"),d.toast||f.setAttribute("aria-modal","true"),h=n,"rtl"===window.getComputedStyle(h).direction&&it(N(),_.rtl),i=z(),r=ot(i,_.input),o=ot(i,_.file),a=i.querySelector(".".concat(_.range," input")),s=i.querySelector(".".concat(_.range," output")),l=ot(i,_.select),u=i.querySelector(".".concat(_.checkbox," input")),c=ot(i,_.textarea),r.oninput=tt,o.onchange=tt,l.onchange=tt,u.onchange=tt,c.oninput=tt,a.oninput=function(t){tt(t),s.value=a.value},a.onchange=function(t){tt(t),a.nextSibling.value=a.value}}var i,r,o,a,s,l,u,c,h,d,f,p,g}(t)}function Yt(t,e){t.removeEventListener(ut,Yt),e.style.overflowY="auto"}function Gt(t){var e=N(),n=F();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n),function(t,e,n){n.animation&&(it(e,_.show),it(t,_.fade)),P(e),it([document.documentElement,document.body,t],_.shown),n.heightAuto&&n.backdrop&&!n.toast&&it([document.documentElement,document.body],_["height-auto"])}(e,n,t),function(t,e){ut&&I(e)?(t.style.overflowY="hidden",e.addEventListener(ut,Yt.bind(null,e,t))):t.style.overflowY="auto"}(e,n),J()&&function(t,e){!function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!v(document.body,_.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",it(document.body,_.iosfix),function(){var n,i=N();i.ontouchstart=function(t){var e;n=t.target===i||!((e=i).scrollHeight>e.clientHeight)&&"INPUT"!==t.target.tagName},i.ontouchmove=function(t){n&&(t.preventDefault(),t.stopPropagation())}}()}}(),"undefined"!=typeof window&&It()&&(Nt(),window.addEventListener("resize",Nt)),f(document.body.children).forEach(function(t){t===N()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,N())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),e&&null===k.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(k.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=k.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px"),setTimeout(function(){t.scrollTop=0})}(e,t.scrollbarPadding),at()||Tt.previousActiveElement||(Tt.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(n)})}function Xt(t,e){"select"===e.input||"radio"===e.input?function(e,n){function i(t){return ee[n.input](r,ne(t),n)}var r=z();g(n.inputOptions)?(_t(),n.inputOptions.then(function(t){e.hideLoading(),i(t)})):"object"===o(n.inputOptions)?i(n.inputOptions):m("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(o(n.inputOptions)))}(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&g(e.inputValue)&&function(e,n){var i=e.getInput();E(i),n.inputValue.then(function(t){i.value="number"===n.input?parseFloat(t)||0:t+"",P(i),i.focus(),e.hideLoading()}).catch(function(t){m("Error in inputValue promise: "+t),i.value="",P(i),i.focus(),e.hideLoading()})}(t,e)}function Vt(t,e){t.disableButtons(),e.input?function(e,n){var i=re(e,n);n.inputValidator?(e.disableInput(),Promise.resolve().then(function(){return n.inputValidator(i,n.validationMessage)}).then(function(t){e.enableButtons(),e.enableInput(),t?e.showValidationMessage(t):ie(e,n,i)})):e.getInput().checkValidity()?ie(e,n,i):(e.enableButtons(),e.showValidationMessage(n.validationMessage))}(t,e):ie(t,e,!0)}function Zt(t,e){t.closePopup({value:e})}function Kt(e,t,n,i){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return function(t,e,n,i){n.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?ce(t,e,n):"Tab"===e.key?he(e,n):-1!==le.indexOf(e.key)?de():-1!==ue.indexOf(e.key)&&fe(e,n,i)}(e,t,n,i)},t.keydownTarget=n.keydownListenerCapture?window:F(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function Jt(t,e,n){for(var i=K(t.focusCancel),r=0;r<i.length;r++)return(e+=n)===i.length?e=0:-1===e&&(e=i.length-1),i[e].focus();F().focus()}function Qt(t,e,n){e.toast?function(t,e,n){t.popup.onclick=function(){e.showConfirmButton||e.showCancelButton||e.showCloseButton||e.input||n(S.close)}}(t,e,n):(function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(pe=!0)}}}(t),function(e){e.container.onmousedown=function(){e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,t.target!==e.popup&&!e.popup.contains(t.target)||(pe=!0)}}}(t),function(e,n,i){e.container.onclick=function(t){pe?pe=!1:t.target===e.container&&b(n.allowOutsideClick)&&i(S.backdrop)}}(t,e,n))}var te,ee={select:function(t,e,r){var o=ot(t,_.select);e.forEach(function(t){var e=t[0],n=t[1],i=document.createElement("option");i.value=e,i.innerHTML=n,r.inputValue.toString()===e.toString()&&(i.selected=!0),o.appendChild(i)}),o.focus()},radio:function(t,e,a){var s=ot(t,_.radio);e.forEach(function(t){var e=t[0],n=t[1],i=document.createElement("input"),r=document.createElement("label");i.type="radio",i.name=_.radio,i.value=e,a.inputValue.toString()===e.toString()&&(i.checked=!0);var o=document.createElement("span");o.innerHTML=n,o.className=_.label,r.appendChild(i),r.appendChild(o),s.appendChild(r)});var n=s.querySelectorAll("input");n.length&&n[0].focus()}},ne=function(e){var n=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(function(t,e){n.push([e,t])}):Object.keys(e).forEach(function(t){n.push([t,e[t]])}),n},ie=function(e,t,n){t.showLoaderOnConfirm&&_t(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then(function(){return t.preConfirm(n,t.validationMessage)}).then(function(t){L(q())||!1===t?e.hideLoading():Zt(e,void 0===t?n:t)})):Zt(e,n)},re=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return oe(n);case"radio":return ae(n);case"file":return se(n);default:return e.inputAutoTrim?n.value.trim():n.value}},oe=function(t){return t.checked?1:0},ae=function(t){return t.checked?t.value:null},se=function(t){return t.files.length?t.files[0]:null},le=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],ue=["Escape","Esc"],ce=function(t,e,n){if(!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;xt(),e.preventDefault()}},he=function(t,e){for(var n=t.target,i=K(e.focusCancel),r=-1,o=0;o<i.length;o++)if(n===i[o]){r=o;break}t.shiftKey?Jt(e,r,-1):Jt(e,r,1),t.stopPropagation(),t.preventDefault()},de=function(){var t=U(),e=Y();document.activeElement===t&&L(e)?e.focus():document.activeElement===e&&L(t)&&t.focus()},fe=function(t,e,n){b(e.allowEscapeKey)&&(t.preventDefault(),n(S.esc))},pe=!1,ge=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},me=Object.freeze({hideLoading:Lt,disableLoading:Lt,getInput:function(t){var e=dt.innerParams.get(t||this),n=dt.domCache.get(t||this);return n?M(n.content,e.input):null},close:jt,closePopup:jt,closeModal:jt,closeToast:jt,enableButtons:function(){zt(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){zt(this,["confirmButton","cancelButton"],!0)},enableConfirmButton:function(){p("Swal.enableConfirmButton()","Swal.getConfirmButton().removeAttribute('disabled')"),zt(this,["confirmButton"],!1)},disableConfirmButton:function(){p("Swal.disableConfirmButton()","Swal.getConfirmButton().setAttribute('disabled', '')"),zt(this,["confirmButton"],!0)},enableInput:function(){return Wt(this.getInput(),!1)},disableInput:function(){return Wt(this.getInput(),!0)},showValidationMessage:function(t){var e=dt.domCache.get(this);e.validationMessage.innerHTML=t;var n=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),P(e.validationMessage);var i=this.getInput();i&&(i.setAttribute("aria-invalid",!0),i.setAttribute("aria-describedBy",_["validation-message"]),T(i),it(i,_.inputerror))},resetValidationMessage:function(){var t=dt.domCache.get(this);t.validationMessage&&E(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),rt(e,_.inputerror))},getProgressSteps:function(){return p("Swal.getProgressSteps()","const swalInstance = Swal.fire({progressSteps: ['1', '2', '3']}); const progressSteps = swalInstance.params.progressSteps"),dt.innerParams.get(this).progressSteps},setProgressSteps:function(t){p("Swal.setProgressSteps()","Swal.update()");var e=l({},dt.innerParams.get(this),{progressSteps:t});yt(0,e),dt.innerParams.set(this,e)},showProgressSteps:function(){P(dt.domCache.get(this).progressSteps)},hideProgressSteps:function(){E(dt.domCache.get(this).progressSteps)},_main:function(t){!function(t){for(var e in t)Ct(i=e)||x('Unknown parameter "'.concat(i,'"')),t.toast&&(n=e,-1!==Et.indexOf(n)&&x('The parameter "'.concat(n,'" is incompatible with toasts'))),kt(void 0)&&p(void 0,kt(void 0));var n,i}(t),F()&&Tt.swalCloseEventFinishedCallback&&(Tt.swalCloseEventFinishedCallback(),delete Tt.swalCloseEventFinishedCallback),Tt.deferDisposalTimer&&(clearTimeout(Tt.deferDisposalTimer),delete Tt.deferDisposalTimer);var e=l({},Dt,t);Ut(e),Object.freeze(e),Tt.timeout&&(Tt.timeout.stop(),delete Tt.timeout),clearTimeout(Tt.restoreFocusTimeout);var n,i,r,o,a,s=(n=this,i={popup:F(),container:N(),content:z(),actions:G(),confirmButton:U(),cancelButton:Y(),closeButton:Z(),validationMessage:q(),progressSteps:$()},dt.domCache.set(n,i),i);return bt(this,e),dt.innerParams.set(this,e),r=this,o=s,a=e,new Promise(function(t){function e(t){r.closePopup({dismiss:t})}Rt.swalPromiseResolve.set(r,t),function(t,e,n){e.timer&&(t.timeout=new $t(function(){n("timer"),delete t.timeout},e.timer))}(Tt,a,e),o.confirmButton.onclick=function(){return Vt(r,a)},o.cancelButton.onclick=function(){return function(t,e){t.disableButtons(),e(S.cancel)}(r,e)},o.closeButton.onclick=function(){return e(S.close)},Qt(o,a,e),Kt(r,Tt,a,e),a.toast&&(a.input||a.footer||a.showCloseButton)?it(document.body,_["toast-column"]):rt(document.body,_["toast-column"]),Xt(r,a),Gt(a),function(t,e){e.toast||(b(e.allowEnterKey)?e.focusCancel&&L(t.cancelButton)?t.cancelButton.focus():e.focusConfirm&&L(t.confirmButton)?t.confirmButton.focus():Jt(e,-1,1):ge())}(o,a),o.container.scrollTop=0})},update:function(e){var n={};Object.keys(e).forEach(function(t){ye.isUpdatableParameter(t)?n[t]=e[t]:x('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});var t=l({},dt.innerParams.get(this),n);bt(this,t),dt.innerParams.set(this,t),Object.defineProperties(this,{params:{value:l({},this.params,e),writable:!1,enumerable:!0}})}});function ve(){if("undefined"!=typeof window){"undefined"==typeof Promise&&m("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),te=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});var r=this._main(this.params);dt.promise.set(this,r)}}ve.prototype.then=function(t){return dt.promise.get(this).then(t)},ve.prototype.finally=function(t){return dt.promise.get(this).finally(t)},l(ve.prototype,me),l(ve,Ot),Object.keys(me).forEach(function(e){ve[e]=function(){var t;if(te)return(t=te)[e].apply(t,arguments)}}),ve.DismissReason=S,ve.version="8.17.1";var ye=ve;return ye.default=ye}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],t);else if("object"==typeof exports)t(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";t(jQuery,moment)}}(function(K,J){"use strict";if(!J)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");function n(o,u){function s(t){var e,n,i,r=!1;return void 0!==J.tz&&void 0!==u.timeZone&&null!==u.timeZone&&""!==u.timeZone&&(r=!0),null==t?r?J().tz(u.timeZone).startOf("d"):J().startOf("d"):r?(e=J().tz(u.timeZone).utcOffset(),J(t,L,u.useStrict).utcOffset()!==e?(n=J().tz(u.timeZone).format("Z"),i=J(t,L,u.useStrict).format("YYYY-MM-DD[T]HH:mm:ss")+n,J(i,L,u.useStrict).tz(u.timeZone)):J(t,L,u.useStrict).tz(u.timeZone)):J(t,L,u.useStrict)}function a(t){if("string"!=typeof t||1<t.length)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return-1!==O.indexOf("Y");case"M":return-1!==O.indexOf("M");case"d":return-1!==O.toLowerCase().indexOf("d");case"h":case"H":return-1!==O.toLowerCase().indexOf("h");case"m":return-1!==O.indexOf("m");case"s":return-1!==O.indexOf("s");default:return!1}}function l(){return a("h")||a("m")||a("s")}function c(){return a("y")||a("M")||a("d")}function h(){var t=K("<div>").addClass("timepicker-hours").append(K("<table>").addClass("table-condensed")),e=K("<div>").addClass("timepicker-minutes").append(K("<table>").addClass("table-condensed")),n=K("<div>").addClass("timepicker-seconds").append(K("<table>").addClass("table-condensed")),i=[function(){var t=K("<tr>"),e=K("<tr>"),n=K("<tr>");return a("h")&&(t.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(K("<span>").addClass(u.icons.up)))),e.append(K("<td>").append(K("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:u.tooltips.pickHour}).attr("data-action","showHours"))),n.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(K("<span>").addClass(u.icons.down))))),a("m")&&(a("h")&&(t.append(K("<td>").addClass("separator")),e.append(K("<td>").addClass("separator").html(":")),n.append(K("<td>").addClass("separator"))),t.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(K("<span>").addClass(u.icons.up)))),e.append(K("<td>").append(K("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:u.tooltips.pickMinute}).attr("data-action","showMinutes"))),n.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(K("<span>").addClass(u.icons.down))))),a("s")&&(a("m")&&(t.append(K("<td>").addClass("separator")),e.append(K("<td>").addClass("separator").html(":")),n.append(K("<td>").addClass("separator"))),t.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(K("<span>").addClass(u.icons.up)))),e.append(K("<td>").append(K("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:u.tooltips.pickSecond}).attr("data-action","showSeconds"))),n.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(K("<span>").addClass(u.icons.down))))),E||(t.append(K("<td>").addClass("separator")),e.append(K("<td>").append(K("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:u.tooltips.togglePeriod}))),n.append(K("<td>").addClass("separator"))),K("<div>").addClass("timepicker-picker").append(K("<table>").addClass("table-condensed").append([t,e,n]))}()];return a("h")&&i.push(t),a("m")&&i.push(e),a("s")&&i.push(n),i}function e(){var t=K("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),e=K("<div>").addClass("datepicker").append(function(){var t=K("<thead>").append(K("<tr>").append(K("<th>").addClass("prev").attr("data-action","previous").append(K("<span>").addClass(u.icons.previous))).append(K("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",u.calendarWeeks?"6":"5")).append(K("<th>").addClass("next").attr("data-action","next").append(K("<span>").addClass(u.icons.next)))),e=K("<tbody>").append(K("<tr>").append(K("<td>").attr("colspan",u.calendarWeeks?"8":"7")));return[K("<div>").addClass("datepicker-days").append(K("<table>").addClass("table-condensed").append(t).append(K("<tbody>"))),K("<div>").addClass("datepicker-months").append(K("<table>").addClass("table-condensed").append(t.clone()).append(e.clone())),K("<div>").addClass("datepicker-years").append(K("<table>").addClass("table-condensed").append(t.clone()).append(e.clone())),K("<div>").addClass("datepicker-decades").append(K("<table>").addClass("table-condensed").append(t.clone()).append(e.clone()))]}()),n=K("<div>").addClass("timepicker").append(h()),i=K("<ul>").addClass("list-unstyled"),r=K("<li>").addClass("picker-switch"+(u.collapse?" accordion-toggle":"")).append(function(){var t=[];return u.showTodayButton&&t.push(K("<td>").append(K("<a>").attr({"data-action":"today",title:u.tooltips.today}).append(K("<span>").addClass(u.icons.today)))),!u.sideBySide&&c()&&l()&&t.push(K("<td>").append(K("<a>").attr({"data-action":"togglePicker",title:u.tooltips.selectTime}).append(K("<span>").addClass(u.icons.time)))),u.showClear&&t.push(K("<td>").append(K("<a>").attr({"data-action":"clear",title:u.tooltips.clear}).append(K("<span>").addClass(u.icons.clear)))),u.showClose&&t.push(K("<td>").append(K("<a>").attr({"data-action":"close",title:u.tooltips.close}).append(K("<span>").addClass(u.icons.close)))),K("<table>").addClass("table-condensed").append(K("<tbody>").append(K("<tr>").append(t)))}());return u.inline&&t.removeClass("dropdown-menu"),E&&t.addClass("usetwentyfour"),a("s")&&!E&&t.addClass("wider"),u.sideBySide&&c()&&l()?(t.addClass("timepicker-sbs"),"top"===u.toolbarPlacement&&t.append(r),t.append(K("<div>").addClass("row").append(e.addClass("col-md-6")).append(n.addClass("col-md-6"))),"bottom"===u.toolbarPlacement&&t.append(r),t):("top"===u.toolbarPlacement&&i.append(r),c()&&i.append(K("<li>").addClass(u.collapse&&l()?"collapse in":"").append(e)),"default"===u.toolbarPlacement&&i.append(r),l()&&i.append(K("<li>").addClass(u.collapse&&c()?"collapse":"").append(n)),"bottom"===u.toolbarPlacement&&i.append(r),t.append(i))}function n(){var t,e=(H||o).position(),n=(H||o).offset(),i=u.widgetPositioning.vertical,r=u.widgetPositioning.horizontal;if(u.widgetParent)t=u.widgetParent.append(B);else if(o.is("input"))t=o.after(B).parent();else{if(u.inline)return void(t=o.append(B));(t=o).children().first().after(B)}if("auto"===i&&(i=n.top+1.5*B.height()>=K(window).height()+K(window).scrollTop()&&B.height()+o.outerHeight()<n.top?"top":"bottom"),"auto"===r&&(r=t.width()<n.left+B.outerWidth()/2&&n.left+B.outerWidth()>K(window).width()?"right":"left"),"top"===i?B.addClass("top").removeClass("bottom"):B.addClass("bottom").removeClass("top"),"right"===r?B.addClass("pull-right"):B.removeClass("pull-right"),"relative"!==t.css("position")&&(t=t.parents().filter(function(){return"relative"===K(this).css("position")}).first()),0===t.length)throw new Error("datetimepicker component should be placed within a relative positioned container");B.css({top:"top"===i?"auto":e.top+o.outerHeight(),bottom:"top"===i?e.top+o.outerHeight():"auto",left:"left"===r?t===o?0:e.left:"auto",right:"left"===r?"auto":t.outerWidth()-o.outerWidth()-(t===o?0:e.left)})}function i(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||o.trigger(t)}function r(t){"y"===t&&(t="YYYY"),i({type:"dp.update",change:t,viewDate:A.clone()})}function d(t){B&&(t&&(I=Math.max(z,Math.min(3,I+t))),B.find(".datepicker > div").hide().filter(".datepicker-"+W[I].clsName).show())}function f(t,e){if(!t.isValid())return!1;if(u.disabledDates&&"d"===e&&function(t){return!0===u.disabledDates[t.format("YYYY-MM-DD")]}(t))return!1;if(u.enabledDates&&"d"===e&&!function(t){return!0===u.enabledDates[t.format("YYYY-MM-DD")]}(t))return!1;if(u.minDate&&t.isBefore(u.minDate,e))return!1;if(u.maxDate&&t.isAfter(u.maxDate,e))return!1;if(u.daysOfWeekDisabled&&"d"===e&&-1!==u.daysOfWeekDisabled.indexOf(t.day()))return!1;if(u.disabledHours&&("h"===e||"m"===e||"s"===e)&&function(t){return!0===u.disabledHours[t.format("H")]}(t))return!1;if(u.enabledHours&&("h"===e||"m"===e||"s"===e)&&!function(t){return!0===u.enabledHours[t.format("H")]}(t))return!1;if(u.disabledTimeIntervals&&("h"===e||"m"===e||"s"===e)){var n=!1;if(K.each(u.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return!(n=!0)}),n)return!1}return!0}function p(){var t,e,n,i,r=B.find(".datepicker-days"),o=r.find("th"),a=[];if(c()){for(o.eq(0).find("span").attr("title",u.tooltips.prevMonth),o.eq(1).attr("title",u.tooltips.selectMonth),o.eq(2).find("span").attr("title",u.tooltips.nextMonth),r.find(".disabled").removeClass("disabled"),o.eq(1).text(A.format(u.dayViewHeaderFormat)),f(A.clone().subtract(1,"M"),"M")||o.eq(0).addClass("disabled"),f(A.clone().add(1,"M"),"M")||o.eq(2).addClass("disabled"),t=A.clone().startOf("M").startOf("w").startOf("d"),i=0;i<42;i++)0===t.weekday()&&(e=K("<tr>"),u.calendarWeeks&&e.append('<td class="cw">'+t.week()+"</td>"),a.push(e)),n="",t.isBefore(A,"M")&&(n+=" old"),t.isAfter(A,"M")&&(n+=" new"),t.isSame(D,"d")&&!j&&(n+=" active"),f(t,"d")||(n+=" disabled"),t.isSame(s(),"d")&&(n+=" today"),0!==t.day()&&6!==t.day()||(n+=" weekend"),e.append('<td data-action="selectDay" data-day="'+t.format("L")+'" class="day'+n+'">'+t.date()+"</td>"),t.add(1,"d");r.find("tbody").empty().append(a),function(){var t=B.find(".datepicker-months"),e=t.find("th"),n=t.find("tbody").find("span");e.eq(0).find("span").attr("title",u.tooltips.prevYear),e.eq(1).attr("title",u.tooltips.selectYear),e.eq(2).find("span").attr("title",u.tooltips.nextYear),t.find(".disabled").removeClass("disabled"),f(A.clone().subtract(1,"y"),"y")||e.eq(0).addClass("disabled"),e.eq(1).text(A.year()),f(A.clone().add(1,"y"),"y")||e.eq(2).addClass("disabled"),n.removeClass("active"),D.isSame(A,"y")&&!j&&n.eq(D.month()).addClass("active"),n.each(function(t){f(A.clone().month(t),"M")||K(this).addClass("disabled")})}(),function(){var t=B.find(".datepicker-years"),e=t.find("th"),n=A.clone().subtract(5,"y"),i=A.clone().add(6,"y"),r="";for(e.eq(0).find("span").attr("title",u.tooltips.prevDecade),e.eq(1).attr("title",u.tooltips.selectDecade),e.eq(2).find("span").attr("title",u.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),u.minDate&&u.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),u.maxDate&&u.maxDate.isBefore(i,"y")&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)r+='<span data-action="selectYear" class="year'+(n.isSame(D,"y")&&!j?" active":"")+(f(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");t.find("td").html(r)}(),function(){var t=B.find(".datepicker-decades"),e=t.find("th"),n=J({y:A.year()-A.year()%100-1}),i=n.clone().add(100,"y"),r=n.clone(),o="";for(e.eq(0).find("span").attr("title",u.tooltips.prevCentury),e.eq(2).find("span").attr("title",u.tooltips.nextCentury),t.find(".disabled").removeClass("disabled"),(n.isSame(J({y:1900}))||u.minDate&&u.minDate.isAfter(n,"y"))&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),(n.isSame(J({y:2e3}))||u.maxDate&&u.maxDate.isBefore(i,"y"))&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)o+='<span data-action="selectDecade" class="decade'+(n.isSame(D,"y")?" active":"")+(f(n,"y")?"":" disabled")+'" data-selection="'+(n.year()+6)+'">'+(n.year()+1)+" - "+(n.year()+12)+"</span>",n.add(12,"y");o+="<span></span><span></span><span></span>",t.find("td").html(o),e.eq(1).text(r.year()+1+"-"+n.year())}()}}function t(){var t,e,n=B.find(".timepicker span[data-time-component]");E||(t=B.find(".timepicker [data-action=togglePeriod]"),e=D.clone().add(12<=D.hours()?-12:12,"h"),t.text(D.format("A")),f(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(D.format(E?"HH":"hh")),n.filter("[data-time-component=minutes]").text(D.format("mm")),n.filter("[data-time-component=seconds]").text(D.format("ss")),function(){var t=B.find(".timepicker-hours table"),e=A.clone().startOf("d"),n=[],i=K("<tr>");for(11<A.hour()&&!E&&e.hour(12);e.isSame(A,"d")&&(E||A.hour()<12&&e.hour()<12||11<A.hour());)e.hour()%4==0&&(i=K("<tr>"),n.push(i)),i.append('<td data-action="selectHour" class="hour'+(f(e,"h")?"":" disabled")+'">'+e.format(E?"HH":"hh")+"</td>"),e.add(1,"h");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-minutes table"),e=A.clone().startOf("h"),n=[],i=K("<tr>"),r=1===u.stepping?5:u.stepping;A.isSame(e,"h");)e.minute()%(4*r)==0&&(i=K("<tr>"),n.push(i)),i.append('<td data-action="selectMinute" class="minute'+(f(e,"m")?"":" disabled")+'">'+e.format("mm")+"</td>"),e.add(r,"m");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-seconds table"),e=A.clone().startOf("m"),n=[],i=K("<tr>");A.isSame(e,"m");)e.second()%20==0&&(i=K("<tr>"),n.push(i)),i.append('<td data-action="selectSecond" class="second'+(f(e,"s")?"":" disabled")+'">'+e.format("ss")+"</td>"),e.add(5,"s");t.empty().append(n)}()}function g(){B&&(p(),t())}function m(t){var e=j?null:D;if(!t)return j=!0,P.val(""),o.data("date",""),i({type:"dp.change",date:!1,oldDate:e}),void g();t=t.clone().locale(u.locale),1!==u.stepping&&t.minutes(Math.round(t.minutes()/u.stepping)*u.stepping%60).seconds(0),f(t)?(A=(D=t).clone(),P.val(D.format(O)),o.data("date",D.format(O)),j=!1,g(),i({type:"dp.change",date:D.clone(),oldDate:e})):(u.keepInvalid||P.val(j?"":D.format(O)),i({type:"dp.error",date:t}))}function v(){var e=!1;return B?(B.find(".collapse").each(function(){var t=K(this).data("collapse");return!t||!t.transitioning||!(e=!0)}),e||(H&&H.hasClass("btn")&&H.toggleClass("active"),B.hide(),K(window).off("resize",n),B.off("click","[data-action]"),B.off("mousedown",!1),B.remove(),B=!1,i({type:"dp.hide",date:D.clone()}),P.blur()),F):F}function y(){m(null)}function b(t){return K(t.currentTarget).is(".disabled")||V[K(t.currentTarget).data("action")].apply(F,arguments),!1}function x(){var t;return P.prop("disabled")||!u.ignoreReadonly&&P.prop("readonly")||B||(void 0!==P.val()&&0!==P.val().trim().length?m(Z(P.val().trim())):u.useCurrent&&j&&(P.is("input")&&0===P.val().trim().length||u.inline)&&(t=s(),"string"==typeof u.useCurrent&&(t={year:function(t){return t.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(t){return t.date(1).hours(0).seconds(0).minutes(0)},day:function(t){return t.hours(0).seconds(0).minutes(0)},hour:function(t){return t.seconds(0).minutes(0)},minute:function(t){return t.seconds(0)}}[u.useCurrent](t)),m(t)),B=e(),function(){var t=K("<tr>"),e=A.clone().startOf("w").startOf("d");for(!0===u.calendarWeeks&&t.append(K("<th>").addClass("cw").text("#"));e.isBefore(A.clone().endOf("w"));)t.append(K("<th>").addClass("dow").text(e.format("dd"))),e.add(1,"d");B.find(".datepicker-days thead").append(t)}(),function(){for(var t=[],e=A.clone().startOf("y").startOf("d");e.isSame(A,"y");)t.push(K("<span>").attr("data-action","selectMonth").addClass("month").text(e.format("MMM"))),e.add(1,"M");B.find(".datepicker-months td").empty().append(t)}(),B.find(".timepicker-hours").hide(),B.find(".timepicker-minutes").hide(),B.find(".timepicker-seconds").hide(),g(),d(),K(window).on("resize",n),B.on("click","[data-action]",b),B.on("mousedown",!1),H&&H.hasClass("btn")&&H.toggleClass("active"),B.show(),n(),u.focusOnShow&&!P.is(":focus")&&P.focus(),i({type:"dp.show"})),F}function w(){return B?v():x()}function S(t){var e,n,i,r,o=null,a=[],s={},l=t.which;for(e in X[l]="p",X)X.hasOwnProperty(e)&&"p"===X[e]&&(a.push(e),parseInt(e,10)!==l&&(s[e]=!0));for(e in u.keyBinds)if(u.keyBinds.hasOwnProperty(e)&&"function"==typeof u.keyBinds[e]&&(i=e.split(" ")).length===a.length&&G[l]===i[i.length-1]){for(r=!0,n=i.length-2;0<=n;n--)if(!(G[i[n]]in s)){r=!1;break}if(r){o=u.keyBinds[e];break}}o&&(o.call(F,B),t.stopPropagation(),t.preventDefault())}function _(t){X[t.which]="r",t.stopPropagation(),t.preventDefault()}function C(t){var e=K(t.target).val().trim(),n=e?Z(e):null;return m(n),t.stopImmediatePropagation(),!1}function k(t){var e={};return K.each(t,function(){var t=Z(this);t.isValid()&&(e[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(e).length&&e}function M(t){var e={};return K.each(t,function(){e[this]=!0}),!!Object.keys(e).length&&e}function T(){var t=u.format||"L LT";O=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return(D.localeData().longDateFormat(t)||t).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return D.localeData().longDateFormat(t)||t})}),(L=u.extraFormats?u.extraFormats.slice():[]).indexOf(t)<0&&L.indexOf(O)<0&&L.push(O),E=O.toLowerCase().indexOf("a")<1&&O.replace(/\[.*?\]/g,"").indexOf("h")<1,a("y")&&(z=2),a("M")&&(z=1),a("d")&&(z=0),I=Math.max(z,I),j||m(D)}var D,A,P,E,O,L,I,N,R,F={},j=!0,H=!1,B=!1,z=0,W=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],$=["days","months","years","decades"],q=["top","bottom","auto"],U=["left","right","auto"],Y=["default","top","bottom"],G={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},X={},V={next:function(){var t=W[I].navFnc;A.add(W[I].navStep,t),p(),r(t)},previous:function(){var t=W[I].navFnc;A.subtract(W[I].navStep,t),p(),r(t)},pickerSwitch:function(){d(1)},selectMonth:function(t){var e=K(t.target).closest("tbody").find("span").index(K(t.target));A.month(e),I===z?(m(D.clone().year(A.year()).month(A.month())),u.inline||v()):(d(-1),p()),r("M")},selectYear:function(t){var e=parseInt(K(t.target).text(),10)||0;A.year(e),I===z?(m(D.clone().year(A.year())),u.inline||v()):(d(-1),p()),r("YYYY")},selectDecade:function(t){var e=parseInt(K(t.target).data("selection"),10)||0;A.year(e),I===z?(m(D.clone().year(A.year())),u.inline||v()):(d(-1),p()),r("YYYY")},selectDay:function(t){var e=A.clone();K(t.target).is(".old")&&e.subtract(1,"M"),K(t.target).is(".new")&&e.add(1,"M"),m(e.date(parseInt(K(t.target).text(),10))),l()||u.keepOpen||u.inline||v()},incrementHours:function(){var t=D.clone().add(1,"h");f(t,"h")&&m(t)},incrementMinutes:function(){var t=D.clone().add(u.stepping,"m");f(t,"m")&&m(t)},incrementSeconds:function(){var t=D.clone().add(1,"s");f(t,"s")&&m(t)},decrementHours:function(){var t=D.clone().subtract(1,"h");f(t,"h")&&m(t)},decrementMinutes:function(){var t=D.clone().subtract(u.stepping,"m");f(t,"m")&&m(t)},decrementSeconds:function(){var t=D.clone().subtract(1,"s");f(t,"s")&&m(t)},togglePeriod:function(){m(D.clone().add(12<=D.hours()?-12:12,"h"))},togglePicker:function(t){var e,n=K(t.target),i=n.closest("ul"),r=i.find(".in"),o=i.find(".collapse:not(.in)");if(r&&r.length){if((e=r.data("collapse"))&&e.transitioning)return;r.collapse?(r.collapse("hide"),o.collapse("show")):(r.removeClass("in"),o.addClass("in")),n.is("span")?n.toggleClass(u.icons.time+" "+u.icons.date):n.find("span").toggleClass(u.icons.time+" "+u.icons.date)}},showPicker:function(){B.find(".timepicker > div:not(.timepicker-picker)").hide(),B.find(".timepicker .timepicker-picker").show()},showHours:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-hours").show()},showMinutes:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var e=parseInt(K(t.target).text(),10);E||(12<=D.hours()?12!==e&&(e+=12):12===e&&(e=0)),m(D.clone().hours(e)),V.showPicker.call(F)},selectMinute:function(t){m(D.clone().minutes(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},selectSecond:function(t){m(D.clone().seconds(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},clear:y,today:function(){var t=s();f(t,"d")&&m(t)},close:v},Z=function(t){return(t=void 0===u.parseInputDate?J.isMoment(t)||t instanceof Date?J(t):s(t):u.parseInputDate(t)).locale(u.locale),t};if(F.destroy=function(){v(),P.off({change:C,blur:blur,keydown:S,keyup:_,focus:u.allowInputToggle?v:""}),o.is("input")?P.off({focus:x}):H&&(H.off("click",w),H.off("mousedown",!1)),o.removeData("DateTimePicker"),o.removeData("date")},F.toggle=w,F.show=x,F.hide=v,F.disable=function(){return v(),H&&H.hasClass("btn")&&H.addClass("disabled"),P.prop("disabled",!0),F},F.enable=function(){return H&&H.hasClass("btn")&&H.removeClass("disabled"),P.prop("disabled",!1),F},F.ignoreReadonly=function(t){if(0===arguments.length)return u.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return u.ignoreReadonly=t,F},F.options=function(t){if(0===arguments.length)return K.extend(!0,{},u);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return K.extend(!0,u,t),K.each(u,function(t,e){if(void 0===F[t])throw new TypeError("option "+t+" is not recognized!");F[t](e)}),F},F.date=function(t){if(0===arguments.length)return j?null:D.clone();if(!(null===t||"string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return m(null===t?null:Z(t)),F},F.format=function(t){if(0===arguments.length)return u.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a sting or boolean:false parameter "+t);return u.format=t,O&&T(),F},F.timeZone=function(t){return 0===arguments.length?u.timeZone:(u.timeZone=t,F)},F.dayViewHeaderFormat=function(t){if(0===arguments.length)return u.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return u.dayViewHeaderFormat=t,F},F.extraFormats=function(t){if(0===arguments.length)return u.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return u.extraFormats=t,L&&T(),F},F.disabledDates=function(t){if(0===arguments.length)return u.disabledDates?K.extend({},u.disabledDates):u.disabledDates;if(!t)return u.disabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return u.disabledDates=k(t),u.enabledDates=!1,g(),F},F.enabledDates=function(t){if(0===arguments.length)return u.enabledDates?K.extend({},u.enabledDates):u.enabledDates;if(!t)return u.enabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return u.enabledDates=k(t),u.disabledDates=!1,g(),F},F.daysOfWeekDisabled=function(t){if(0===arguments.length)return u.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return u.daysOfWeekDisabled=!1,g(),F;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(u.daysOfWeekDisabled=t.reduce(function(t,e){return 6<(e=parseInt(e,10))||e<0||isNaN(e)||-1===t.indexOf(e)&&t.push(e),t},[]).sort(),u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"d");){if(D.add(1,"d"),7===e)throw"Tried 7 times to find a valid date";e++}m(D)}return g(),F},F.maxDate=function(t){if(0===arguments.length)return u.maxDate?u.maxDate.clone():u.maxDate;if("boolean"==typeof t&&!1===t)return u.maxDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=s()));var e=Z(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(u.minDate&&e.isBefore(u.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(O));return u.maxDate=e,u.useCurrent&&!u.keepInvalid&&D.isAfter(t)&&m(u.maxDate),A.isAfter(e)&&(A=e.clone().subtract(u.stepping,"m")),g(),F},F.minDate=function(t){if(0===arguments.length)return u.minDate?u.minDate.clone():u.minDate;if("boolean"==typeof t&&!1===t)return u.minDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=s()));var e=Z(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(u.maxDate&&e.isAfter(u.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(O));return u.minDate=e,u.useCurrent&&!u.keepInvalid&&D.isBefore(t)&&m(u.minDate),A.isBefore(e)&&(A=e.clone().add(u.stepping,"m")),g(),F},F.defaultDate=function(t){if(0===arguments.length)return u.defaultDate?u.defaultDate.clone():u.defaultDate;if(!t)return u.defaultDate=!1,F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=s()));var e=Z(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!f(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return u.defaultDate=e,(u.defaultDate&&u.inline||""===P.val().trim())&&m(u.defaultDate),F},F.locale=function(t){if(0===arguments.length)return u.locale;if(!J.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return u.locale=t,D.locale(u.locale),A.locale(u.locale),O&&T(),B&&(v(),x()),F},F.stepping=function(t){return 0===arguments.length?u.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),u.stepping=t,F)},F.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return u.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&-1===e.indexOf(t.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return u.useCurrent=t,F},F.collapse=function(t){if(0===arguments.length)return u.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return u.collapse===t||(u.collapse=t,B&&(v(),x())),F},F.icons=function(t){if(0===arguments.length)return K.extend({},u.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return K.extend(u.icons,t),B&&(v(),x()),F},F.tooltips=function(t){if(0===arguments.length)return K.extend({},u.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return K.extend(u.tooltips,t),B&&(v(),x()),F},F.useStrict=function(t){if(0===arguments.length)return u.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return u.useStrict=t,F},F.sideBySide=function(t){if(0===arguments.length)return u.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return u.sideBySide=t,B&&(v(),x()),F},F.viewMode=function(t){if(0===arguments.length)return u.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===$.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+$.join(", ")+") value");return u.viewMode=t,I=Math.max($.indexOf(t),z),d(),F},F.toolbarPlacement=function(t){if(0===arguments.length)return u.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===Y.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+Y.join(", ")+") value");return u.toolbarPlacement=t,B&&(v(),x()),F},F.widgetPositioning=function(t){if(0===arguments.length)return K.extend({},u.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===U.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+U.join(", ")+")");u.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===q.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+q.join(", ")+")");u.widgetPositioning.vertical=t.vertical}return g(),F},F.calendarWeeks=function(t){if(0===arguments.length)return u.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return u.calendarWeeks=t,g(),F},F.showTodayButton=function(t){if(0===arguments.length)return u.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return u.showTodayButton=t,B&&(v(),x()),F},F.showClear=function(t){if(0===arguments.length)return u.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter");return u.showClear=t,B&&(v(),x()),F},F.widgetParent=function(t){if(0===arguments.length)return u.widgetParent;if("string"==typeof t&&(t=K(t)),null!==t&&"string"!=typeof t&&!(t instanceof K))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return u.widgetParent=t,B&&(v(),x()),F},F.keepOpen=function(t){if(0===arguments.length)return u.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return u.keepOpen=t,F},F.focusOnShow=function(t){if(0===arguments.length)return u.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return u.focusOnShow=t,F},F.inline=function(t){if(0===arguments.length)return u.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return u.inline=t,F},F.clear=function(){return y(),F},F.keyBinds=function(t){return u.keyBinds=t,F},F.getMoment=function(t){return s(t)},F.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return u.debug=t,F},F.allowInputToggle=function(t){if(0===arguments.length)return u.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return u.allowInputToggle=t,F},F.showClose=function(t){if(0===arguments.length)return u.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return u.showClose=t,F},F.keepInvalid=function(t){if(0===arguments.length)return u.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return u.keepInvalid=t,F},F.datepickerInput=function(t){if(0===arguments.length)return u.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return u.datepickerInput=t,F},F.parseInputDate=function(t){if(0===arguments.length)return u.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return u.parseInputDate=t,F},F.disabledTimeIntervals=function(t){if(0===arguments.length)return u.disabledTimeIntervals?K.extend({},u.disabledTimeIntervals):u.disabledTimeIntervals;if(!t)return u.disabledTimeIntervals=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return u.disabledTimeIntervals=t,g(),F},F.disabledHours=function(t){if(0===arguments.length)return u.disabledHours?K.extend({},u.disabledHours):u.disabledHours;if(!t)return u.disabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(u.disabledHours=M(t),u.enabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.enabledHours=function(t){if(0===arguments.length)return u.enabledHours?K.extend({},u.enabledHours):u.enabledHours;if(!t)return u.enabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(u.enabledHours=M(t),u.disabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.viewDate=function(t){if(0===arguments.length)return A.clone();if(!t)return A=D.clone(),F;if(!("string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return A=Z(t),r(),F},o.is("input"))P=o;else if(0===(P=o.find(u.datepickerInput)).size())P=o.find("input");else if(!P.is("input"))throw new Error('CSS class "'+u.datepickerInput+'" cannot be applied to non input element');if(o.hasClass("input-group")&&(H=0===o.find(".datepickerbutton").size()?o.find(".input-group-addon"):o.find(".datepickerbutton")),!u.inline&&!P.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return D=s(),A=D.clone(),K.extend(!0,u,(R={},(N=o.is("input")||u.inline?o.data():o.find("input").data()).dateOptions&&N.dateOptions instanceof Object&&(R=K.extend(!0,R,N.dateOptions)),K.each(u,function(t){var e="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==N[e]&&(R[t]=N[e])}),R)),F.options(u),T(),P.on({change:C,blur:u.debug?"":v,keydown:S,keyup:_,focus:u.allowInputToggle?x:""}),o.is("input")?P.on({focus:x}):H&&(H.on("click",w),H.on("mousedown",!1)),P.prop("disabled")&&F.disable(),P.is("input")&&0!==P.val().trim().length?m(Z(P.val().trim())):u.defaultDate&&void 0===P.attr("placeholder")&&m(u.defaultDate),u.inline&&x(),F}K.fn.datetimepicker=function(e){return this.each(function(){var t=K(this);t.data("DateTimePicker")||(e=K.extend(!0,{},K.fn.datetimepicker.defaults,e),t.data("DateTimePicker",n(t,e)))})},K.fn.datetimepicker.defaults={timeZone:"Etc/UTC",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:J.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m"))}},down:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m"))}else this.show()},"control up":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h"))}},"control down":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h"))}},left:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d"))}},right:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d"))}},pageUp:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M"))}},pageDown:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(t){t.find(".timepicker").is(":visible")&&t.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(n){var t=function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var t=n.fn.select2.amd;var e,r,u;return t&&t.requirejs||(t?r=t:t={},function(d){function f(t,e){return n.call(t,e)}function o(t,e){var n,i,r,o,a,s,l,u,c,h,d,f=e&&e.split("/"),p=w.map,g=p&&p["*"]||{};if(t&&"."===t.charAt(0))if(e){for(a=(t=t.split("/")).length-1,w.nodeIdCompat&&_.test(t[a])&&(t[a]=t[a].replace(_,"")),t=f.slice(0,f.length-1).concat(t),c=0;c<t.length;c+=1)if("."===(d=t[c]))t.splice(c,1),c-=1;else if(".."===d){if(1===c&&(".."===t[2]||".."===t[0]))break;0<c&&(t.splice(c-1,2),c-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((f||g)&&p){for(c=(n=t.split("/")).length;0<c;c-=1){if(i=n.slice(0,c).join("/"),f)for(h=f.length;0<h;h-=1)if((r=p[f.slice(0,h).join("/")])&&(r=r[i])){o=r,s=c;break}if(o)break;!l&&g&&g[i]&&(l=g[i],u=c)}!o&&l&&(o=l,s=u),o&&(n.splice(0,s,o),t=n.join("/"))}return t}function p(e,n){return function(){var t=i.call(arguments,0);return"string"!=typeof t[0]&&1===t.length&&t.push(null),l.apply(d,t.concat([e,n]))}}function g(e){return function(t){b[e]=t}}function m(t){if(f(x,t)){var e=x[t];delete x[t],S[t]=!0,s.apply(d,e)}if(!f(b,t)&&!f(S,t))throw new Error("No "+t);return b[t]}function a(t){var e,n=t?t.indexOf("!"):-1;return-1<n&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}var s,l,v,y,b={},x={},w={},S={},n=Object.prototype.hasOwnProperty,i=[].slice,_=/\.js$/;v=function(t,e){var n,i=a(t),r=i[0];return t=i[1],r&&(n=m(r=o(r,e))),r?t=n&&n.normalize?n.normalize(t,function(e){return function(t){return o(t,e)}}(e)):o(t,e):(r=(i=a(t=o(t,e)))[0],t=i[1],r&&(n=m(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:n}},y={require:function(t){return p(t)},exports:function(t){var e=b[t];return void 0!==e?e:b[t]={}},module:function(t){return{id:t,uri:"",exports:b[t],config:function(t){return function(){return w&&w.config&&w.config[t]||{}}}(t)}}},s=function(t,e,n,i){var r,o,a,s,l,u,c=[],h=typeof n;if(i=i||t,"undefined"==h||"function"==h){for(e=!e.length&&n.length?["require","exports","module"]:e,l=0;l<e.length;l+=1)if("require"===(o=(s=v(e[l],i)).f))c[l]=y.require(t);else if("exports"===o)c[l]=y.exports(t),u=!0;else if("module"===o)r=c[l]=y.module(t);else if(f(b,o)||f(x,o)||f(S,o))c[l]=m(o);else{if(!s.p)throw new Error(t+" missing "+o);s.p.load(s.n,p(i,!0),g(o),{}),c[l]=b[o]}a=n?n.apply(b[t],c):void 0,t&&(r&&r.exports!==d&&r.exports!==b[t]?b[t]=r.exports:a===d&&u||(b[t]=a))}else t&&(b[t]=n)},e=r=l=function(t,e,n,i,r){if("string"==typeof t)return y[t]?y[t](e):m(v(t,e).f);if(!t.splice){if((w=t).deps&&l(w.deps,w.callback),!e)return;e.splice?(t=e,e=n,n=null):t=d}return e=e||function(){},"function"==typeof n&&(n=i,i=r),i?s(d,t,e,n):setTimeout(function(){s(d,t,e,n)},4),l},l.config=function(t){return l(t)},e._defined=b,(u=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),f(b,t)||f(x,t)||(x[t]=[t,e,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=r,t.define=u),t.define("almond",function(){}),t.define("jquery",[],function(){var t=n||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(o){function c(t){var e=t.prototype,n=[];for(var i in e){"function"==typeof e[i]&&"constructor"!==i&&n.push(i)}return n}function t(){this.listeners={}}var e={Extend:function(t,e){function n(){this.constructor=t}var i={}.hasOwnProperty;for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},Decorate:function(i,r){function o(){var t=Array.prototype.unshift,e=r.prototype.constructor.length,n=i.prototype.constructor;0<e&&(t.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}var t=c(r),e=c(i);r.displayName=i.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<e.length;n++){var a=e[n];o.prototype[a]=i.prototype[a]}function s(t){var e=function(){};t in o.prototype&&(e=o.prototype[t]);var n=r.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),n.apply(this,arguments)}}for(var l=0;l<t.length;l++){var u=t[l];o.prototype[u]=s(u)}return o}};return t.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},t.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=t)in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},t.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},e.Observable=t,e.generateChars=function(t){for(var e="",n=0;n<t;n++){e+=Math.floor(36*Math.random()).toString(36)}return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},e.hasScroll=function(t,e){var n=o(e),i=e.style.overflowX,r=e.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<e.scrollHeight||n.innerWidth()<e.scrollWidth))},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},e.appendMany=function(t,e){if("1.7"===o.fn.jquery.substr(0,3)){var n=o();o.map(e,function(t){n=n.add(t)}),e=n}t.append(e)},e}),t.define("select2/results",["jquery","./utils"],function(d,t){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=d('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=d('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(t.message);n.append(e(i(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],r=this.option(i);e.push(r)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");0<e.length?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var e=this;this.data.current(function(t){var i=d.map(t,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var t=d(this),e=d.data(this,"data"),n=""+e.id;null!=e.element&&e.element.selected||null==e.element&&-1<d.inArray(n,i)?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(t){var e=document.createElement("li");e.className="select2-results__option";var n={role:"treeitem","aria-selected":"false"};for(var i in t.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==t.id&&delete n["aria-selected"],null!=t._resultId&&(e.id=t._resultId),t.title&&(e.title=t.title),t.children&&(n.role="group",n["aria-label"]=t.text,delete n["aria-selected"]),n){var r=n[i];e.setAttribute(i,r)}if(t.children){var o=d(e),a=document.createElement("strong");a.className="select2-results__group",d(a),this.template(t,a);for(var s=[],l=0;l<t.children.length;l++){var u=t.children[l],c=this.option(u);s.push(c)}var h=d("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});h.append(s),o.append(a),o.append(h)}else this.template(t,e);return d.data(e,"data",t),e},i.prototype.bind=function(e,t){var l=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){l.clear(),l.append(t.data),e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("results:append",function(t){l.append(t.data),e.isOpen()&&l.setClasses()}),e.on("query",function(t){l.hideMessages(),l.showLoading(t)}),e.on("select",function(){e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),e.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()}),e.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=l.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=l.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=l.getHighlightedResults(),e=l.$results.find("[aria-selected]"),n=e.index(t);if(0!==n){var i=n-1;0===t.length&&(i=0);var r=e.eq(i);r.trigger("mouseenter");var o=l.$results.offset().top,a=r.offset().top,s=l.$results.scrollTop()+(a-o);0===i?l.$results.scrollTop(0):a-o<0&&l.$results.scrollTop(s)}}),e.on("results:next",function(){var t=l.getHighlightedResults(),e=l.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var r=l.$results.offset().top+l.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),a=l.$results.scrollTop()+o-r;0===n?l.$results.scrollTop(0):r<o&&l.$results.scrollTop(a)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){l.displayMessage(t)}),d.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=l.$results.scrollTop(),n=l.$results.get(0).scrollHeight-e+t.deltaY,i=0<t.deltaY&&e-t.deltaY<=0,r=t.deltaY<0&&n<=l.$results.height();i?(l.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):r&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var e=d(this),n=e.data("data");return"true"===e.attr("aria-selected")?void(l.options.get("multiple")?l.trigger("unselect",{originalEvent:t,data:n}):l.trigger("close",{})):void l.trigger("select",{originalEvent:t,data:n})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var e=d(this).data("data");l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:e,element:d(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,i=t.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(t,e){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=n(t,e);null==r?e.style.display="none":"string"==typeof r?e.innerHTML=i(r):d(e).append(r)},i}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(n,t,r){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t},i.prototype.bind=function(t,e){var n=this,i=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===r.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||n.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){n(document.body).on("mousedown.select2."+t.id,function(t){var e=n(t.target).closest(".select2");n(".select2.select2-container--open").each(function(){var t=n(this);this!=e[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){n(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||n.$selection.focus()}),e.on("selection:update",function(t){n.update(t.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t("<span></span>")},r.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i),n.prop("title",e.title||e.text)}else this.clear()},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,t,s){function r(t,e){r.__super__.constructor.apply(this,arguments)}return s.Extend(r,t),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){n.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!n.options.get("disabled")){var e=i(this).parent().data("data");n.trigger("unselect",{originalEvent:t,data:e})}})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return i('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var i=t[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o),r.prop("title",i.title||i.text),r.data("data",i),e.push(r)}var a=this.$selection.find(".select2-selection__rendered");s.appendMany(a,e)}},r}),t.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(1<e.length||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),t.define("select2/selection/allowClear",["jquery","../keys"],function(i,r){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},t.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();for(var i=n.data("data"),r=0;r<i.length;r++){var o={data:i[r]};if(this.trigger("unselect",o),o.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},t.prototype._handleKeyboardClear=function(t,e,n){n.isOpen()||(e.which==r.DELETE||e.which==r.BACKSPACE)&&this._handleClear(e)},t.prototype.update=function(t,e){if(t.call(this,e),!(0<this.$selection.find(".select2-selection__placeholder").length||0===e.length)){var n=i('<span class="select2-selection__clear">&times;</span>');n.data("data",e),this.$selection.find(".select2-selection__rendered").prepend(n)}},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(i,t,a){function e(t,e,n){t.call(this,e,n)}return e.prototype.render=function(t){var e=i('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=e,this.$search=e.find("input");var n=t.call(this);return this._transferTabIndex(),n},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i.$search.trigger("focus")}),e.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),e.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),e.on("disable",function(){i.$search.prop("disabled",!0)}),e.on("focus",function(t){i.$search.trigger("focus")}),e.on("results:focus",function(t){i.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){i.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){i._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented(),t.which===a.BACKSPACE&&""===i.$search.val()){var e=i.$searchContainer.prev(".select2-selection__choice");if(0<e.length){var n=e.data("data");i.searchRemoveChoice(n),t.preventDefault()}}});var r=document.documentMode,o=r&&r<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return o?void i.$selection.off("input.search input.searchcheck"):void i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(o&&"input"===t.type)i.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=a.SHIFT&&e!=a.CTRL&&e!=a.ALT&&e!=a.TAB&&i.handleSearch(t)}})},e.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},e.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},e.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},e}),t.define("select2/selection/eventRelay",["jquery"],function(a){function t(){}return t.prototype.bind=function(t,e,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],o=["opening","closing","selecting","unselecting"];t.call(this,e,n),e.on("*",function(t,e){if(-1!==a.inArray(t,r)){e=e||{};var n=a.Event("select2:"+t,{params:e});i.$element.trigger(n),-1!==a.inArray(t,o)&&(e.prevented=n.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,n){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var e=n(t);i._cache[t]=e}return new i(i._cache[t])},i}),t.define("select2/diacritics",[],function(){return{"":"A","":"A","À":"A","Á":"A","Â":"A","":"A","":"A","":"A","":"A","Ã":"A","Ā":"A","Ă":"A","":"A","":"A","":"A","":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","":"A","":"A","":"A","":"A","Ą":"A","Ⱥ":"A","":"A","":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","":"AO","":"AU","":"AV","":"AV","":"AY","":"B","":"B","":"B","":"B","":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","":"C","":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","":"C","Ƈ":"C","Ȼ":"C","":"C","":"D","":"D","":"D","Ď":"D","":"D","":"D","":"D","":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","":"E","":"E","È":"E","É":"E","Ê":"E","":"E","":"E","":"E","":"E","":"E","Ē":"E","":"E","":"E","Ĕ":"E","Ė":"E","Ë":"E","":"E","Ě":"E","Ȅ":"E","Ȇ":"E","":"E","":"E","Ȩ":"E","":"E","Ę":"E","":"E","":"E","Ɛ":"E","Ǝ":"E","":"F","":"F","":"F","Ƒ":"F","":"F","":"G","":"G","Ǵ":"G","Ĝ":"G","":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","":"G","":"G","":"G","":"H","":"H","Ĥ":"H","":"H","":"H","Ȟ":"H","":"H","":"H","":"H","Ħ":"H","":"H","":"H","":"H","":"I","":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","":"I","":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","":"I","Į":"I","":"I","Ɨ":"I","":"J","":"J","Ĵ":"J","Ɉ":"J","":"K","":"K","":"K","Ǩ":"K","":"K","Ķ":"K","":"K","Ƙ":"K","":"K","":"K","":"K","":"K","":"K","":"L","":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","":"L","":"L","Ļ":"L","":"L","":"L","Ł":"L","Ƚ":"L","":"L","":"L","":"L","":"L","":"L","LJ":"LJ","Lj":"Lj","":"M","":"M","":"M","":"M","":"M","":"M","Ɯ":"M","":"N","":"N","Ǹ":"N","Ń":"N","Ñ":"N","":"N","Ň":"N","":"N","Ņ":"N","":"N","":"N","Ƞ":"N","Ɲ":"N","":"N","":"N","NJ":"NJ","Nj":"Nj","":"O","":"O","Ò":"O","Ó":"O","Ô":"O","":"O","":"O","":"O","":"O","Õ":"O","":"O","Ȭ":"O","":"O","Ō":"O","":"O","":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","":"O","":"O","":"O","":"O","":"O","":"O","":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","":"O","":"O","Ƣ":"OI","":"OO","Ȣ":"OU","":"P","":"P","":"P","":"P","Ƥ":"P","":"P","":"P","":"P","":"P","":"Q","":"Q","":"Q","":"Q","Ɋ":"Q","":"R","":"R","Ŕ":"R","":"R","Ř":"R","Ȑ":"R","Ȓ":"R","":"R","":"R","Ŗ":"R","":"R","Ɍ":"R","":"R","":"R","":"R","":"R","":"S","":"S","":"S","Ś":"S","":"S","Ŝ":"S","":"S","Š":"S","":"S","":"S","":"S","Ș":"S","Ş":"S","":"S","":"S","":"S","":"T","":"T","":"T","Ť":"T","":"T","Ț":"T","Ţ":"T","":"T","":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","":"T","":"TZ","":"U","":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","":"U","Ū":"U","":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","":"U","":"U","":"U","":"U","":"U","":"U","":"U","Ų":"U","":"U","":"U","Ʉ":"U","":"V","":"V","":"V","":"V","Ʋ":"V","":"V","Ʌ":"V","":"VY","":"W","":"W","":"W","":"W","Ŵ":"W","":"W","":"W","":"W","":"W","":"X","":"X","":"X","":"X","":"Y","":"Y","":"Y","Ý":"Y","Ŷ":"Y","":"Y","Ȳ":"Y","":"Y","Ÿ":"Y","":"Y","":"Y","Ƴ":"Y","Ɏ":"Y","":"Y","":"Z","":"Z","Ź":"Z","":"Z","Ż":"Z","Ž":"Z","":"Z","":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","":"Z","":"Z","":"a","":"a","":"a","à":"a","á":"a","â":"a","":"a","":"a","":"a","":"a","ã":"a","ā":"a","ă":"a","":"a","":"a","":"a","":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","":"a","":"a","":"a","":"a","ą":"a","":"a","ɐ":"a","":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","":"ao","":"au","":"av","":"av","":"ay","":"b","":"b","":"b","":"b","":"b","ƀ":"b","ƃ":"b","ɓ":"b","":"c","":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","":"c","ƈ":"c","ȼ":"c","":"c","":"c","":"d","":"d","":"d","ď":"d","":"d","":"d","":"d","":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","":"d","dz":"dz","dž":"dz","":"e","":"e","è":"e","é":"e","ê":"e","":"e","ế":"e","":"e","":"e","":"e","ē":"e","":"e","":"e","ĕ":"e","ė":"e","ë":"e","":"e","ě":"e","ȅ":"e","ȇ":"e","":"e","":"e","ȩ":"e","":"e","ę":"e","":"e","":"e","ɇ":"e","ɛ":"e","ǝ":"e","":"f","":"f","":"f","ƒ":"f","":"f","":"g","":"g","ǵ":"g","ĝ":"g","":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","":"g","":"g","":"g","":"h","":"h","ĥ":"h","":"h","":"h","ȟ":"h","":"h","":"h","":"h","":"h","ħ":"h","":"h","":"h","ɥ":"h","ƕ":"hv","":"i","":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","":"i","":"i","ǐ":"i","ȉ":"i","ȋ":"i","":"i","į":"i","":"i","ɨ":"i","ı":"i","":"j","":"j","ĵ":"j","ǰ":"j","ɉ":"j","":"k","":"k","":"k","ǩ":"k","":"k","ķ":"k","":"k","ƙ":"k","":"k","":"k","":"k","":"k","":"k","":"l","":"l","ŀ":"l","ĺ":"l","ľ":"l","":"l","":"l","ļ":"l","":"l","":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","":"l","":"l","":"l","":"l","lj":"lj","":"m","":"m","ḿ":"m","":"m","":"m","ɱ":"m","ɯ":"m","":"n","":"n","ǹ":"n","ń":"n","ñ":"n","":"n","ň":"n","":"n","ņ":"n","":"n","":"n","ƞ":"n","ɲ":"n","ʼn":"n","":"n","":"n","nj":"nj","":"o","":"o","ò":"o","ó":"o","ô":"o","":"o","":"o","":"o","":"o","õ":"o","":"o","ȭ":"o","":"o","ō":"o","":"o","":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","":"o","":"o","":"o","":"o","":"o","":"o","":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","":"o","":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","":"oo","":"p","":"p","":"p","":"p","ƥ":"p","":"p","":"p","":"p","":"p","":"q","":"q","ɋ":"q","":"q","":"q","":"r","":"r","ŕ":"r","":"r","ř":"r","ȑ":"r","ȓ":"r","":"r","":"r","ŗ":"r","":"r","ɍ":"r","ɽ":"r","":"r","":"r","":"r","":"s","":"s","ß":"s","ś":"s","":"s","ŝ":"s","":"s","š":"s","":"s","":"s","":"s","ș":"s","ş":"s","ȿ":"s","":"s","":"s","":"s","":"t","":"t","":"t","":"t","ť":"t","":"t","ț":"t","ţ":"t","":"t","":"t","ŧ":"t","ƭ":"t","ʈ":"t","":"t","":"t","":"tz","":"u","":"u","ù":"u","ú":"u","û":"u","ũ":"u","":"u","ū":"u","":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","":"u","":"u","":"u","":"u","":"u","":"u","":"u","ų":"u","":"u","":"u","ʉ":"u","":"v","":"v","":"v","ṿ":"v","ʋ":"v","":"v","ʌ":"v","":"vy","":"w","":"w","":"w","":"w","ŵ":"w","":"w","":"w","":"w","":"w","":"w","":"x","":"x","":"x","":"x","":"y","":"y","":"y","ý":"y","ŷ":"y","":"y","ȳ":"y","":"y","ÿ":"y","":"y","":"y","":"y","ƴ":"y","ɏ":"y","ỿ":"y","":"z","":"z","ź":"z","":"z","ż":"z","ž":"z","":"z","":"z","ƶ":"z","ȥ":"z","ɀ":"z","":"z","":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(i){function n(t,e){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(t,e){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(t,e){var n=t.id+"-result-";return(n+=i.generateChars(4))+(null!=e.id?"-"+e.id.toString():"-"+i.generateChars(4))},n}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,e,s){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var n=[],i=this;this.$element.find(":selected").each(function(){var t=s(this),e=i.item(t);n.push(e)}),t(n)},n.prototype.select=function(r){var o=this;if(r.selected=!0,s(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(t){var e=[];(r=[r]).push.apply(r,t);for(var n=0;n<r.length;n++){var i=r[n].id;-1===s.inArray(i,e)&&e.push(i)}o.$element.val(e),o.$element.trigger("change")});else{var t=r.id;this.$element.val(t),this.$element.trigger("change")}},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple"))return r.selected=!1,s(r.element).is("option")?(r.element.selected=!1,void this.$element.trigger("change")):void this.current(function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n].id;i!==r.id&&-1===s.inArray(i,e)&&e.push(i)}o.$element.val(e),o.$element.trigger("change")})},n.prototype.bind=function(t,e){var n=this;(this.container=t).on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){s.removeData(this,"data")})},n.prototype.query=function(i,t){var r=[],o=this;this.$element.children().each(function(){var t=s(this);if(t.is("option")||t.is("optgroup")){var e=o.item(t),n=o.matches(i,e);null!==n&&r.push(n)}}),t({results:r})},n.prototype.addOptions=function(t){e.appendMany(this.$element,t)},n.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var n=s(e),i=this._normalizeItem(t);return i.element=e,s.data(e,"data",i),n},n.prototype.item=function(t){var e={};if(null!=(e=s.data(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var n=t.children("option"),i=[],r=0;r<n.length;r++){var o=s(n[r]),a=this.item(o);i.push(a)}e.children=i}return(e=this._normalizeItem(e)).element=t[0],s.data(t[0],"data",e),e},n.prototype._normalizeItem=function(t){s.isPlainObject(t)||(t={id:t,text:t});return null!=(t=s.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),s.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),t.define("select2/data/array",["./select","../utils","jquery"],function(t,p,g){function i(t,e){var n=e.get("data")||[];i.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(n))}return p.Extend(i,t),i.prototype.select=function(n){var t=this.$element.find("option").filter(function(t,e){return e.value==n.id.toString()});0===t.length&&(t=this.option(n),this.addOptions(t)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(t){function e(t){return function(){return g(this).val()==t.id}}for(var n=this,i=this.$element.find("option"),r=i.map(function(){return n.item(g(this)).id}).get(),o=[],a=0;a<t.length;a++){var s=this._normalizeItem(t[a]);if(0<=g.inArray(s.id,r)){var l=i.filter(e(s)),u=this.item(l),c=g.extend(!0,{},s,u),h=this.option(c);l.replaceWith(h)}else{var d=this.option(s);if(s.children){var f=this.convertToOptions(s.children);p.appendMany(d,f)}o.push(d)}}return o},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,o){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return o.extend({},t,{q:t.term})},transport:function(t,e,n){var i=o.ajax(t);return i.then(e),i.fail(n),i}};return o.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(n,i){function t(){var t=e.transport(e,function(t){var e=r.processResults(t,n);r.options.get("debug")&&window.console&&console.error&&(e&&e.results&&o.isArray(e.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),i(e)},function(){t.status&&"0"===t.status||r.trigger("results:message",{message:"errorLoading"})});r._request=t}var r=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var e=o.extend({type:"GET"},this.ajaxOptions);"function"==typeof e.url&&(e.url=e.url.call(this.$element,n)),"function"==typeof e.data&&(e.data=e.data.call(this.$element,n)),this.ajaxOptions.delay&&null!=n.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(t,this.ajaxOptions.delay)):t()},n}),t.define("select2/data/tags",["jquery"],function(c){function t(t,e,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var o=n.get("insertTag");if(void 0!==o&&(this.insertTag=o),t.call(this,e,n),c.isArray(i))for(var a=0;a<i.length;a++){var s=i[a],l=this._normalizeItem(s),u=this.option(l);this.$element.append(u)}}return t.prototype.query=function(t,u,c){var h=this;return this._removeOldTags(),null==u.term||null!=u.page?void t.call(this,u,c):void t.call(this,u,function t(e,n){for(var i=e.results,r=0;r<i.length;r++){var o=i[r],a=null!=o.children&&!t({results:o.children},!0);if(o.text===u.term||a)return!n&&(e.data=i,void c(e))}if(n)return!0;var s=h.createTag(u);if(null!=s){var l=h.option(s);l.attr("data-select2-tag",!0),h.addOptions([l]),h.insertTag(i,s)}e.results=i,c(e)})},t.prototype.createTag=function(t,e){var n=c.trim(e.term);return""===n?null:{id:n,text:n}},t.prototype.insertTag=function(t,e,n){e.unshift(n)},t.prototype._removeOldTags=function(t){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||c(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(h){function t(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,e,n){var i=this;e.term=e.term||"";var r=this.tokenizer(e,this.options,function(t){var e=i._normalizeItem(t);if(!i.$element.find("option").filter(function(){return h(this).val()===e.id}).length){var n=i.option(e);n.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([n])}!function(t){i.trigger("select",{data:t})}(e)});r.term!==e.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),e.term=r.term),t.call(this,e,n)},t.prototype.tokenizer=function(t,e,n,i){for(var r=n.get("tokenSeparators")||[],o=e.term,a=0,s=this.createTag||function(t){return{id:t.term,text:t.term}};a<o.length;){var l=o[a];if(-1!==h.inArray(l,r)){var u=o.substr(0,a),c=s(h.extend({},e,{term:u}));null!=c?(i(c),o=o.substr(a+1)||"",a=0):a++}else a++}return{term:o}},t}),t.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){return e.term=e.term||"",e.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):void t.call(this,e,n)},t}),t.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){return e.term=e.term||"",0<this.maximumInputLength&&e.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,n)},t}),t.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.query=function(n,i,r){var o=this;this.current(function(t){var e=null!=t?t.length:0;return 0<o.maximumSelectionLength&&e>=o.maximumSelectionLength?void o.trigger("results:message",{message:"maximumSelected",args:{maximum:o.maximumSelectionLength}}):void n.call(o,i,r)})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(r,t){function e(){}return e.prototype.render=function(t){var e=t.call(this),n=r('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),e.prepend(n),e},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){r(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),e.on("open",function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout(function(){i.$search.focus()},0)}),e.on("close",function(){i.$search.attr("tabindex",-1),i.$search.val("")}),e.on("focus",function(){e.isOpen()&&i.$search.focus()}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;0<=i;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(r){function t(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.loading=!0}),this.$results.on("scroll",function(){var t=r.contains(document.documentElement,i.$loadingMore[0]);if(!i.loading&&t){var e=i.$results.offset().top+i.$results.outerHeight(!1);i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)<=e+50&&i.loadMore()}})},t.prototype.loadMore=function(){this.loading=!0;var t=r.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=r('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(p,s){function t(t,e,n){this.$dropdownParent=n.get("dropdownParent")||p(document.body),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this,r=!1;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),r||(r=!0,e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},t.prototype.render=function(t){var e=p("<span></span>"),n=t.call(this);return e.append(n),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,e){var n=this,i="scroll.select2."+e.id,r="resize.select2."+e.id,o="orientationchange.select2."+e.id,a=this.$container.parents().filter(s.hasScroll);a.each(function(){p(this).data("select2-scroll-position",{x:p(this).scrollLeft(),y:p(this).scrollTop()})}),a.on(i,function(t){var e=p(this).data("select2-scroll-position");p(this).scrollTop(e.y)}),p(window).on(i+" "+r+" "+o,function(t){n._positionDropdown(),n._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var n="scroll.select2."+e.id,i="resize.select2."+e.id,r="orientationchange.select2."+e.id;this.$container.parents().filter(s.hasScroll).off(n),p(window).off(n+" "+i+" "+r)},t.prototype._positionDropdown=function(){var t=p(window),e=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var a=this.$dropdown.outerHeight(!1),s=t.scrollTop(),l=t.scrollTop()+t.height(),u=s<r.top-a,c=l>r.bottom+a,h={left:r.left,top:o.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());var f=d.offset();h.top-=f.top,h.left-=f.left,e||n||(i="below"),c||!u||e?!u&&c&&e&&(i="below"):i="above",("above"==i||e&&"below"!==i)&&(h.top=o.top-f.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(h)},t.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i<e.length;i++){var r=e[i];r.children?n+=t(r.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),t.define("select2/dropdown/selectOnClose",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){var n=e.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=i.data("data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},t}),t.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(p,g,m,v,y,b,x,w,S,_,C,e,k,M,T,D,A,P,E,O,L,I,N,R,F,j,H,B,t){function n(){this.reset()}return n.prototype.apply=function(e){if(null==(e=p.extend(!0,{},this.defaults,e)).dataAdapter){if(null!=e.ajax?e.dataAdapter=T:null!=e.data?e.dataAdapter=M:e.dataAdapter=k,0<e.minimumInputLength&&(e.dataAdapter=_.Decorate(e.dataAdapter,P)),0<e.maximumInputLength&&(e.dataAdapter=_.Decorate(e.dataAdapter,E)),0<e.maximumSelectionLength&&(e.dataAdapter=_.Decorate(e.dataAdapter,O)),e.tags&&(e.dataAdapter=_.Decorate(e.dataAdapter,D)),(null!=e.tokenSeparators||null!=e.tokenizer)&&(e.dataAdapter=_.Decorate(e.dataAdapter,A)),null!=e.query){var t=g(e.amdBase+"compat/query");e.dataAdapter=_.Decorate(e.dataAdapter,t)}if(null!=e.initSelection){var n=g(e.amdBase+"compat/initSelection");e.dataAdapter=_.Decorate(e.dataAdapter,n)}}if(null==e.resultsAdapter&&(e.resultsAdapter=m,null!=e.ajax&&(e.resultsAdapter=_.Decorate(e.resultsAdapter,R)),null!=e.placeholder&&(e.resultsAdapter=_.Decorate(e.resultsAdapter,N)),e.selectOnClose&&(e.resultsAdapter=_.Decorate(e.resultsAdapter,H))),null==e.dropdownAdapter){if(e.multiple)e.dropdownAdapter=L;else{var i=_.Decorate(L,I);e.dropdownAdapter=i}if(0!==e.minimumResultsForSearch&&(e.dropdownAdapter=_.Decorate(e.dropdownAdapter,j)),e.closeOnSelect&&(e.dropdownAdapter=_.Decorate(e.dropdownAdapter,B)),null!=e.dropdownCssClass||null!=e.dropdownCss||null!=e.adaptDropdownCssClass){var r=g(e.amdBase+"compat/dropdownCss");e.dropdownAdapter=_.Decorate(e.dropdownAdapter,r)}e.dropdownAdapter=_.Decorate(e.dropdownAdapter,F)}if(null==e.selectionAdapter){if(e.multiple?e.selectionAdapter=y:e.selectionAdapter=v,null!=e.placeholder&&(e.selectionAdapter=_.Decorate(e.selectionAdapter,b)),e.allowClear&&(e.selectionAdapter=_.Decorate(e.selectionAdapter,x)),e.multiple&&(e.selectionAdapter=_.Decorate(e.selectionAdapter,w)),null!=e.containerCssClass||null!=e.containerCss||null!=e.adaptContainerCssClass){var o=g(e.amdBase+"compat/containerCss");e.selectionAdapter=_.Decorate(e.selectionAdapter,o)}e.selectionAdapter=_.Decorate(e.selectionAdapter,S)}if("string"==typeof e.language)if(0<e.language.indexOf("-")){var a=e.language.split("-")[0];e.language=[e.language,a]}else e.language=[e.language];if(p.isArray(e.language)){var s=new C;e.language.push("en");for(var l=e.language,u=0;u<l.length;u++){var c=l[u],h={};try{h=C.loadPath(c)}catch(t){try{c=this.defaults.amdLanguageBase+c,h=C.loadPath(c)}catch(t){e.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+c+'" could not be automatically loaded. A fallback will be used instead.');continue}}s.extend(h)}e.translations=s}else{var d=C.loadPath(this.defaults.amdLanguageBase+"en"),f=new C(e.language);f.extend(d),e.translations=f}return e},n.prototype.reset=function(){function s(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return e[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:_.escapeMarkup,language:t,matcher:function t(e,n){if(""===p.trim(e.term))return n;if(n.children&&0<n.children.length){for(var i=p.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==t(e,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:t(e,i)}var o=s(n.text).toUpperCase(),a=s(e.term).toUpperCase();return-1<o.indexOf(a)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},n.prototype.set=function(t,e){var n={};n[p.camelCase(t)]=e;var i=_._convertData(n);p.extend(this.defaults,i)},new n}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(i,o,r,a){function t(t,e){if(this.options=t,null!=e&&this.fromElement(e),this.options=r.apply(this.options),e&&e.is("input")){var n=i(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=a.Decorate(this.options.dataAdapter,n)}}return t.prototype.fromElement=function(t){var e=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var n;n=o.fn.jquery&&"1."==o.fn.jquery.substr(0,2)&&t[0].dataset?o.extend(!0,{},t[0].dataset,t.data()):t.data();var i=o.extend(!0,{},n);for(var r in i=a._convertData(i))-1<o.inArray(r,e)||(o.isPlainObject(this.options[r])?o.extend(this.options[r],i[r]):this.options[r]=i[r]);return this},t.prototype.get=function(t){return this.options[t]},t.prototype.set=function(t,e){this.options[t]=e},t}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(r,u,n,i){var c=function(t,e){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),e=e||{},this.options=new u(e,t),c.__super__.constructor.call(this);var n=t.attr("tabindex")||0;t.data("old-tabindex",n),t.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(t,this.options);var r=this.render();this._placeContainer(r);var o=this.options.get("selectionAdapter");this.selection=new o(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var a=this.options.get("dropdownAdapter");this.dropdown=new a(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var s=this.options.get("resultsAdapter");this.results=new s(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var l=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){l.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return n.Extend(c,n.Observable),c.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},c.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},c.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var r=t.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"!=e)return e;var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s<l;s+=1){var u=a[s].replace(/\s/g,"").match(n);if(null!==u&&1<=u.length)return u[1]}return null},c.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},c.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t(function(t){r.each(t,e._syncA),r.each(t,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},c.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(t,e){n.trigger(t,e)})},c.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(t){n.focus(t)}),this.selection.on("*",function(t,e){-1===r.inArray(t,i)&&n.trigger(t,e)})},c.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(t,e){n.trigger(t,e)})},c.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(t,e){n.trigger(t,e)})},c.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(e){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(e,function(t){n.trigger("results:all",{data:t,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(t){n.trigger("results:append",{data:t,query:e})})}),this.on("keypress",function(t){var e=t.which;n.isOpen()?e===i.ESC||e===i.TAB||e===i.UP&&t.altKey?(n.close(),t.preventDefault()):e===i.ENTER?(n.trigger("results:select",{}),t.preventDefault()):e===i.SPACE&&t.ctrlKey?(n.trigger("results:toggle",{}),t.preventDefault()):e===i.UP?(n.trigger("results:previous",{}),t.preventDefault()):e===i.DOWN&&(n.trigger("results:next",{}),t.preventDefault()):(e===i.ENTER||e===i.SPACE||e===i.DOWN&&t.altKey)&&(n.open(),t.preventDefault())})},c.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},c.prototype._syncSubtree=function(t,e){var n=!1,i=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&0<e.addedNodes.length)for(var r=0;r<e.addedNodes.length;r++){e.addedNodes[r].selected&&(n=!0)}else e.removedNodes&&0<e.removedNodes.length&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})})}},c.prototype.trigger=function(t,e){var n=c.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===e&&(e={}),t in i){var r=i[t],o={prevented:!1,name:t,args:e};if(n.call(this,r,o),o.prevented)return void(e.prevented=!0)}n.call(this,t,e)},c.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},c.prototype.open=function(){this.isOpen()||this.trigger("query",{})},c.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},c.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},c.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},c.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},c.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==t||0===t.length)&&(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},c.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},c.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var e=t[0];r.isArray(e)&&(e=r.map(e,function(t){return t.toString()})),this.$element.val(e).trigger("change")},c.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},c.prototype.render=function(){var t=r('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},c}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(r,t,o,e){if(null==r.fn.select2){var a=["open","close","destroy"];r.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=r.extend(!0,{},e);new o(r(this),t)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r(this).data("select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,i)}),-1<r.inArray(e,a)?this:n}}return null==r.fn.select2.defaults&&(r.fn.select2.defaults=e),o}),{define:t.define,require:t.require}}(),e=t.require("jquery.select2");return n.fn.select2.amd=t,e}),function(i,r,Xt){"use strict";!function(n){function i(t){if(r[t])return r[t].exports;var e=r[t]={exports:{},id:t,loaded:!1};return n[t].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}var r={};i.m=n,i.c=r,i.p="",i(0)}([function(t,e,n){n(1),n(50),n(51),n(52),n(54),n(55),n(58),n(59),n(60),n(61),n(62),n(63),n(64),n(65),n(66),n(68),n(70),n(72),n(74),n(77),n(78),n(79),n(83),n(86),n(87),n(88),n(89),n(91),n(92),n(93),n(94),n(95),n(97),n(99),n(100),n(101),n(103),n(104),n(105),n(107),n(108),n(109),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(126),n(130),n(131),n(132),n(133),n(137),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(158),n(159),n(161),n(162),n(163),n(167),n(168),n(169),n(170),n(171),n(173),n(174),n(175),n(176),n(179),n(181),n(182),n(183),n(185),n(187),n(189),n(190),n(191),n(193),n(194),n(195),n(196),n(203),n(206),n(207),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(231),n(234),n(235),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(258),n(259),n(261),n(262),n(263),n(264),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(291),n(156),n(293),n(292),n(294),n(295),n(296),n(297),n(298),n(300),n(301),n(302),n(304),t.exports=n(305)},function(t,e,n){function i(t){var e=U[t]=A(F[B]);return e._k=t,e}function r(t,e){k(t);for(var n,i=_(e=M(e)),r=0,o=i.length;r<o;)Q(t,n=i[r++],e[n]);return t}function o(t){var e=$.call(this,t=T(t,!0));return!(this===G&&c(U,t)&&!c(Y,t))&&(!(e||!c(this,t)||!c(U,t)||c(this,z)&&this[z][t])||e)}function a(t,e){if(t=M(t),e=T(e,!0),t!==G||!c(U,e)||c(Y,e)){var n=I(t,e);return!n||!c(U,e)||c(t,z)&&t[z][e]||(n.enumerable=!0),n}}function s(t){for(var e,n=R(M(t)),i=[],r=0;n.length>r;)c(U,e=n[r++])||e==z||e==p||i.push(e);return i}function l(t){for(var e,n=t===G,i=R(n?Y:M(t)),r=[],o=0;i.length>o;)!c(U,e=i[o++])||n&&!c(G,e)||r.push(U[e]);return r}var u=n(2),c=n(3),h=n(4),d=n(6),f=n(16),p=n(20).KEY,g=n(5),m=n(21),v=n(22),y=n(17),b=n(23),x=n(24),w=n(25),S=n(27),_=n(40),C=n(43),k=n(10),M=n(30),T=n(14),D=n(15),A=n(44),P=n(47),E=n(49),O=n(9),L=n(28),I=E.f,N=O.f,R=P.f,F=u.Symbol,j=u.JSON,H=j&&j.stringify,B="prototype",z=b("_hidden"),W=b("toPrimitive"),$={}.propertyIsEnumerable,q=m("symbol-registry"),U=m("symbols"),Y=m("op-symbols"),G=Object[B],X="function"==typeof F,V=u.QObject,Z=!V||!V[B]||!V[B].findChild,K=h&&g(function(){return 7!=A(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=I(G,e);i&&delete G[e],N(t,e,n),i&&t!==G&&N(G,e,i)}:N,J=X&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},Q=function(t,e,n){return t===G&&Q(Y,e,n),k(t),e=T(e,!0),k(n),c(U,e)?(n.enumerable?(c(t,z)&&t[z][e]&&(t[z][e]=!1),n=A(n,{enumerable:D(0,!1)})):(c(t,z)||N(t,z,D(1,{})),t[z][e]=!0),K(t,e,n)):N(t,e,n)};X||(f((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var e=y(0<arguments.length?arguments[0]:Xt),n=function(t){this===G&&n.call(Y,t),c(this,z)&&c(this[z],e)&&(this[z][e]=!1),K(this,e,D(1,t))};return h&&Z&&K(G,e,{configurable:!0,set:n}),i(e)})[B],"toString",function(){return this._k}),E.f=a,O.f=Q,n(48).f=P.f=s,n(42).f=o,n(41).f=l,h&&!n(26)&&f(G,"propertyIsEnumerable",o,!0),x.f=function(t){return i(b(t))}),d(d.G+d.W+d.F*!X,{Symbol:F});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)b(tt[et++]);for(tt=L(b.store),et=0;tt.length>et;)w(tt[et++]);d(d.S+d.F*!X,"Symbol",{for:function(t){return c(q,t+="")?q[t]:q[t]=F(t)},keyFor:function(t){if(J(t))return S(q,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),d(d.S+d.F*!X,"Object",{create:function(t,e){return e===Xt?A(t):r(A(t),e)},defineProperty:Q,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:s,getOwnPropertySymbols:l}),j&&d(d.S+d.F*(!X||g(function(){var t=F();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))})),"JSON",{stringify:function(t){if(t!==Xt&&!J(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return"function"==typeof(e=i[1])&&(n=e),!n&&C(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!J(e))return e}),i[1]=e,H.apply(j,i)}}}),F[B][W]||n(8)(F[B],W,F[B].valueOf),v(F,"Symbol"),v(Math,"Math",!0),v(u.JSON,"JSON",!0)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof r&&(r=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var g=n(2),m=n(7),v=n(8),y=n(16),b=n(18),x="prototype",w=function(t,e,n){var i,r,o,a,s=t&w.F,l=t&w.G,u=t&w.S,c=t&w.P,h=t&w.B,d=l?g:u?g[e]||(g[e]={}):(g[e]||{})[x],f=l?m:m[e]||(m[e]={}),p=f[x]||(f[x]={});for(i in l&&(n=e),n)o=((r=!s&&d&&d[i]!==Xt)?d:n)[i],a=h&&r?b(o,g):c&&"function"==typeof o?b(Function.call,o):o,d&&y(d,i,o,t&w.U),f[i]!=o&&v(f,i,a),c&&p[i]!=o&&(p[i]=o)};g.core=m,w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,t.exports=w},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof i&&(i=n)},function(t,e,n){var i=n(9),r=n(15);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(10),r=n(12),o=n(14),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(11);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(4)&&!n(5)(function(){return 7!=Object.defineProperty(n(13)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(11),r=n(2).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var o=n(2),a=n(8),s=n(3),l=n(17)("src"),i="toString",r=Function[i],u=(""+r).split(i);n(7).inspectSource=function(t){return r.call(t)},(t.exports=function(t,e,n,i){var r="function"==typeof n;r&&(s(n,"name")||a(n,"name",e)),t[e]!==n&&(r&&(s(n,l)||a(n,l,t[e]?""+t[e]:u.join(String(e)))),t===o?t[e]=n:i?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,i,function(){return"function"==typeof this&&this[l]||r.call(this)})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(t===Xt?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var o=n(19);t.exports=function(i,r,t){if(o(i),r===Xt)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){function i(t){s(t,r,{value:{i:"O"+ ++l,w:{}}})}var r=n(17)("meta"),o=n(11),a=n(3),s=n(9).f,l=0,u=Object.isExtensible||function(){return!0},c=!n(5)(function(){return u(Object.preventExtensions({}))}),h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!u(t))return"F";if(!e)return"E";i(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!u(t))return!0;if(!e)return!1;i(t)}return t[r].w},onFreeze:function(t){return c&&h.NEED&&u(t)&&!a(t,r)&&i(t),t}}},function(t,e,n){var i=n(2),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var i=n(9).f,r=n(3),o=n(23)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(21)("wks"),r=n(17),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e,n){e.f=n(23)},function(t,e,n){var i=n(2),r=n(7),o=n(26),a=n(24),s=n(9).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e){t.exports=!1},function(t,e,n){var s=n(28),l=n(30);t.exports=function(t,e){for(var n,i=l(t),r=s(i),o=r.length,a=0;a<o;)if(i[n=r[a++]]===e)return n}},function(t,e,n){var i=n(29),r=n(39);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var a=n(3),s=n(30),l=n(34)(!1),u=n(38)("IE_PROTO");t.exports=function(t,e){var n,i=s(t),r=0,o=[];for(n in i)n!=u&&a(i,n)&&o.push(n);for(;e.length>r;)a(i,n=e[r++])&&(~l(o,n)||o.push(n));return o}},function(t,e,n){var i=n(31),r=n(33);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(t==Xt)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var l=n(30),u=n(35),c=n(37);t.exports=function(s){return function(t,e,n){var i,r=l(t),o=u(r.length),a=c(n,o);if(s&&e!=e){for(;a<o;)if((i=r[a++])!=i)return!0}else for(;a<o;a++)if((s||a in r)&&r[a]===e)return s||a||0;return!s&&-1}}},function(t,e,n){var i=n(36),r=Math.min;t.exports=function(t){return 0<t?r(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?i:n)(t)}},function(t,e,n){var i=n(36),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(21)("keys"),r=n(17);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var s=n(28),l=n(41),u=n(42);t.exports=function(t){var e=s(t),n=l.f;if(n)for(var i,r=n(t),o=u.f,a=0;r.length>a;)o.call(t,i=r[a++])&&e.push(i);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(32);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,i){function r(){}var o=i(10),a=i(45),s=i(39),l=i(38)("IE_PROTO"),u="prototype",c=function(){var t,e=i(13)("iframe"),n=s.length;for(e.style.display="none",i(46).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c[u][s[n]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(r[u]=o(t),n=new r,r[u]=null,n[l]=t):n=c(),e===Xt?n:a(n,e)}},function(t,e,n){var a=n(9),s=n(10),l=n(28);t.exports=n(4)?Object.defineProperties:function(t,e){s(t);for(var n,i=l(e),r=i.length,o=0;o<r;)a.f(t,n=i[o++],e[n]);return t}},function(t,e,n){t.exports=n(2).document&&document.documentElement},function(t,e,n){var i=n(30),r=n(48).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},function(t,e,n){var i=n(29),r=n(39).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(42),r=n(15),o=n(30),a=n(14),s=n(3),l=n(12),u=Object.getOwnPropertyDescriptor;e.f=n(4)?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(6);i(i.S+i.F*!n(4),"Object",{defineProperty:n(9).f})},function(t,e,n){var i=n(6);i(i.S+i.F*!n(4),"Object",{defineProperties:n(45)})},function(t,e,n){var i=n(30),r=n(49).f;n(53)("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},function(t,e,n){var r=n(6),o=n(7),a=n(5);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(t,e,n){var i=n(6);i(i.S,"Object",{create:n(44)})},function(t,e,n){var i=n(56),r=n(57);n(53)("getPrototypeOf",function(){return function(t){return r(i(t))}})},function(t,e,n){var i=n(33);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(3),r=n(56),o=n(38)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var i=n(56),r=n(28);n(53)("keys",function(){return function(t){return r(i(t))}})},function(t,e,n){n(53)("getOwnPropertyNames",function(){return n(47).f})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("freeze",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("seal",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("preventExtensions",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(t,e,n){var i=n(11);n(53)("isFrozen",function(e){return function(t){return!i(t)||!!e&&e(t)}})},function(t,e,n){var i=n(11);n(53)("isSealed",function(e){return function(t){return!i(t)||!!e&&e(t)}})},function(t,e,n){var i=n(11);n(53)("isExtensible",function(e){return function(t){return!!i(t)&&(!e||e(t))}})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{assign:n(67)})},function(t,e,n){var d=n(28),f=n(41),p=n(42),g=n(56),m=n(31),r=Object.assign;t.exports=!r||n(5)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=r({},t)[n]||Object.keys(r({},e)).join("")!=i})?function(t,e){for(var n=g(t),i=arguments.length,r=1,o=f.f,a=p.f;r<i;)for(var s,l=m(arguments[r++]),u=o?d(l).concat(o(l)):d(l),c=u.length,h=0;h<c;)a.call(l,s=u[h++])&&(n[s]=l[s]);return n}:r},function(t,e,n){var i=n(6);i(i.S,"Object",{is:n(69)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var i=n(6);i(i.S,"Object",{setPrototypeOf:n(71).set})},function(t,e,r){function o(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var n=r(11),i=r(10);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,i){try{(i=r(18)(Function.call,r(49).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:i(t,e),t}}({},!1):Xt),check:o}},function(t,e,n){var i=n(73),r={};r[n(23)("toStringTag")]="z",r+""!="[object z]"&&n(16)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){var r=n(32),o=n(23)("toStringTag"),a="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,i;return t===Xt?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){var i=n(6);i(i.P,"Function",{bind:n(75)})},function(t,e,n){var o=n(19),a=n(11),s=n(76),l=[].slice,u={};t.exports=Function.bind||function(e){var n=o(this),i=l.call(arguments,1),r=function(){var t=i.concat(l.call(arguments));return this instanceof r?function(t,e,n){if(!(e in u)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";u[e]=Function("F,a","return new F("+i.join(",")+")")}return u[e](t,n)}(n,t.length,t):s(n,t,e)};return a(n.prototype)&&(r.prototype=n.prototype),r}},function(t,e){t.exports=function(t,e,n){var i=n===Xt;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(9).f,r=n(15),o=n(3),a=Function.prototype,s=/^\s*function ([^ (]*)/,l="name",u=Object.isExtensible||function(){return!0};l in a||n(4)&&i(a,l,{configurable:!0,get:function(){try{var t=(""+this).match(s)[1];return o(this,l)||!u(this)||i(this,l,r(5,t)),t}catch(t){return""}}})},function(t,e,n){var i=n(11),r=n(57),o=n(23)("hasInstance"),a=Function.prototype;o in a||n(9).f(a,o,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){function i(t){var e=c(t,!1);if("string"==typeof e&&2<e.length){var n,i,r,o=(e=b?e.trim():f(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var a,s=e.slice(2),l=0,u=s.length;l<u;l++)if((a=s.charCodeAt(l))<48||r<a)return NaN;return parseInt(s,i)}}return+e}var r=n(2),o=n(3),a=n(32),s=n(80),c=n(14),l=n(5),u=n(48).f,h=n(49).f,d=n(9).f,f=n(81).trim,p="Number",g=r[p],m=g,v=g.prototype,y=a(n(44)(v))==p,b="trim"in String.prototype;if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof g&&(y?l(function(){v.valueOf.call(n)}):a(n)!=p)?s(new m(i(e)),n,g):i(e)};for(var x,w=n(4)?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)o(m,x=w[S])&&!o(g,x)&&d(g,x,h(m,x));(g.prototype=v).constructor=g,n(16)(r,p,g)}},function(t,e,n){var o=n(11),a=n(71).set;t.exports=function(t,e,n){var i,r=e.constructor;return r!==n&&"function"==typeof r&&(i=r.prototype)!==n.prototype&&o(i)&&a&&a(t,i),t}},function(t,e,n){function i(t,e,n){var i={},r=s(function(){return!!l[t]()||"…"!="…"[t]()}),o=i[t]=r?e(h):l[t];n&&(i[n]=o),a(a.P+a.F*r,"String",i)}var a=n(6),r=n(33),s=n(5),l=n(82),o="["+l+"]",u=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),h=i.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=i},function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},function(t,e,n){function u(t,e){for(var n=-1,i=e;++n<6;)i+=t*a[n],a[n]=i%1e7,i=o(i/1e7)}function c(t){for(var e=6,n=0;0<=--e;)n+=a[e],a[e]=o(n/t),n=n%t*1e7}function h(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==a[t]){var n=String(a[t]);e=""===e?n:e+p.call("0",7-n.length)+n}return e}var i=n(6),d=n(36),f=n(84),p=n(85),r=1..toFixed,o=Math.floor,a=[0,0,0,0,0,0],g="Number.toFixed: incorrect invocation!",m=function(t,e,n){return 0===e?n:e%2==1?m(t,e-1,n*t):m(t*t,e/2,n)};i(i.P+i.F*(!!r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(5)(function(){r.call({})})),"Number",{toFixed:function(t){var e,n,i,r,o=f(this,g),a=d(t),s="",l="0";if(a<0||20<a)throw RangeError(g);if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return String(o);if(o<0&&(s="-",o=-o),1e-21<o)if(n=(e=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e}(o*m(2,69,1))-69)<0?o*m(2,-e,1):o/m(2,e,1),n*=4503599627370496,0<(e=52-e)){for(u(0,n),i=a;7<=i;)u(1e7,0),i-=7;for(u(m(10,i,1),0),i=e-1;23<=i;)c(1<<23),i-=23;c(1<<i),u(1,1),c(2),l=h()}else u(0,n),u(1<<-e,0),l=h()+p.call("0",a);return l=0<a?s+((r=l.length)<=a?"0."+p.call("0",a-r)+l:l.slice(0,r-a)+"."+l.slice(r-a)):s+l}})},function(t,e,n){var i=n(32);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(36),o=n(33);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;0<i;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e,n){var i=n(6),r=n(5),o=n(84),a=1..toPrecision;i(i.P+i.F*(r(function(){return"1"!==a.call(1,Xt)})||!r(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return t===Xt?a.call(e):a.call(e,t)}})},function(t,e,n){var i=n(6);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var i=n(6),r=n(2).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,n){var i=n(6);i(i.S,"Number",{isInteger:n(90)})},function(t,e,n){var i=n(11),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){var i=n(6);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(6),r=n(90),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,n){var i=n(6);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var i=n(6);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(6),r=n(96);i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(t,e,n){var i=n(2).parseFloat,r=n(81).trim;t.exports=1/i(n(82)+"-0")!=-1/0?function(t){var e=r(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},function(t,e,n){var i=n(6),r=n(98);i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(t,e,n){var i=n(2).parseInt,r=n(81).trim,o=n(82),a=/^[\-+]?0[xX]/;t.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(a.test(n)?16:10))}:i},function(t,e,n){var i=n(6),r=n(98);i(i.G+i.F*(parseInt!=r),{parseInt:r})},function(t,e,n){var i=n(6),r=n(96);i(i.G+i.F*(parseFloat!=r),{parseFloat:r})},function(t,e,n){var i=n(6),r=n(102),o=Math.sqrt,a=Math.acosh;i(i.S+i.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var i=n(6),r=Math.asinh;i(i.S+i.F*!(r&&0<1/r(0)),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var i=n(6),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var i=n(6),r=n(106);i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var i=n(6);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var i=n(6),r=Math.exp;i(i.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,n){var i=n(6),r=n(110);i(i.S+i.F*(r!=Math.expm1),"Math",{expm1:r})},function(t,e){var n=Math.expm1;t.exports=!n||22025.465794806718<n(10)||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var i=n(6),o=n(106),r=Math.pow,a=r(2,-52),s=r(2,-23),l=r(2,127)*(2-s),u=r(2,-126);i(i.S,"Math",{fround:function(t){var e,n,i=Math.abs(t),r=o(t);return i<u?r*function(t){return t+1/a-1/a}(i/u/s)*u*s:l<(n=(e=(1+s/a)*i)-(e-i))||n!=n?r*(1/0):r*n}})},function(t,e,n){var i=n(6),l=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var n,i,r=0,o=0,a=arguments.length,s=0;o<a;)s<(n=l(arguments[o++]))?(r=r*(i=s/n)*i+1,s=n):0<n?r+=(i=n/s)*i:r+=n;return s===1/0?1/0:s*Math.sqrt(r)}})},function(t,e,n){var i=n(6),r=Math.imul;i(i.S+i.F*n(5)(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i;return 0|r*o+((65535&n>>>16)*o+r*(65535&i>>>16)<<16>>>0)}})},function(t,e,n){var i=n(6);i(i.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var i=n(6);i(i.S,"Math",{log1p:n(102)})},function(t,e,n){var i=n(6);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var i=n(6);i(i.S,"Math",{sign:n(106)})},function(t,e,n){var i=n(6),r=n(110),o=Math.exp;i(i.S+i.F*n(5)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var i=n(6),r=n(110),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var i=n(6);i(i.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},function(t,e,n){var i=n(6),o=n(37),a=String.fromCharCode,r=String.fromCodePoint;i(i.S+i.F*(!!r&&1!=r.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,r=0;r<i;){if(e=+arguments[r++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var i=n(6),a=n(30),s=n(35);i(i.S,"String",{raw:function(t){for(var e=a(t.raw),n=s(e.length),i=arguments.length,r=[],o=0;o<n;)r.push(String(e[o++])),o<i&&r.push(String(arguments[o]));return r.join("")}})},function(t,e,n){n(81)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){var i=n(6),r=n(125)(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,n){var l=n(36),u=n(33);t.exports=function(s){return function(t,e){var n,i,r=String(u(t)),o=l(e),a=r.length;return o<0||a<=o?s?"":Xt:(n=r.charCodeAt(o))<55296||56319<n||o+1===a||(i=r.charCodeAt(o+1))<56320||57343<i?s?r.charAt(o):n:s?r.slice(o,o+2):i-56320+(n-55296<<10)+65536}}},function(t,e,n){var i=n(6),a=n(35),s=n(127),l="endsWith",u=""[l];i(i.P+i.F*n(129)(l),"String",{endsWith:function(t){var e=s(this,t,l),n=1<arguments.length?arguments[1]:Xt,i=a(e.length),r=n===Xt?i:Math.min(a(n),i),o=String(t);return u?u.call(e,o,r):e.slice(r-o.length,r)===o}})},function(t,e,n){var i=n(128),r=n(33);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},function(t,e,n){var i=n(11),r=n(32),o=n(23)("match");t.exports=function(t){var e;return i(t)&&((e=t[o])!==Xt?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(23)("match");t.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[i]=!1,!"/./"[e](n)}catch(t){}}return!0}},function(t,e,n){var i=n(6),r=n(127);i(i.P+i.F*n(129)("includes"),"String",{includes:function(t){return!!~r(this,t,"includes").indexOf(t,1<arguments.length?arguments[1]:Xt)}})},function(t,e,n){var i=n(6);i(i.P,"String",{repeat:n(85)})},function(t,e,n){var i=n(6),r=n(35),o=n(127),a="startsWith",s=""[a];i(i.P+i.F*n(129)(a),"String",{startsWith:function(t){var e=o(this,t,a),n=r(Math.min(1<arguments.length?arguments[1]:Xt,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},function(t,e,n){var i=n(125)(!0);n(134)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:Xt,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){function b(){return this}var x=n(26),w=n(6),S=n(16),_=n(8),C=n(3),k=n(135),M=n(136),T=n(22),D=n(57),A=n(23)("iterator"),P=!([].keys&&"next"in[].keys()),E="values";t.exports=function(t,e,n,i,r,o,a){M(n,e,i);function s(t){if(!P&&t in p)return p[t];switch(t){case"keys":case E:return function(){return new n(this,t)}}return function(){return new n(this,t)}}var l,u,c,h=e+" Iterator",d=r==E,f=!1,p=t.prototype,g=p[A]||p["@@iterator"]||r&&p[r],m=g||s(r),v=r?d?s("entries"):m:Xt,y="Array"==e&&p.entries||g;if(y&&((c=D(y.call(new t)))!==Object.prototype&&(T(c,h,!0),x||C(c,A)||_(c,A,b))),d&&g&&g.name!==E&&(f=!0,m=function(){return g.call(this)}),x&&!a||!P&&!f&&p[A]||_(p,A,m),k[e]=m,k[h]=b,r)if(l={values:d?m:s(E),keys:o?m:s("keys"),entries:v},a)for(u in l)u in p||S(p,u,l[u]);else w(w.P+w.F*(P||f),e,l);return l}},function(t,e){t.exports={}},function(t,e,n){var i=n(44),r=n(15),o=n(22),a={};n(8)(a,n(23)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){n(138)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(t,e,n){function i(t,e,n,i){var r=String(a(t)),o="<"+e;return""!==n&&(o+=" "+n+'="'+String(i).replace(s,"&quot;")+'"'),o+">"+r+"</"+e+">"}var r=n(6),o=n(5),a=n(33),s=/"/g;t.exports=function(e,t){var n={};n[e]=t(i),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",n)}},function(t,e,n){n(138)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){n(138)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){n(138)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){n(138)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){n(138)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(t,e,n){n(138)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(t,e,n){n(138)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){n(138)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(t,e,n){n(138)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){n(138)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){n(138)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){n(138)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var i=n(6);i(i.S,"Array",{isArray:n(43)})},function(t,e,n){var d=n(18),i=n(6),f=n(56),p=n(153),g=n(154),m=n(35),v=n(155),y=n(156);i(i.S+i.F*!n(157)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,r,o=f(t),a="function"==typeof this?this:Array,s=arguments.length,l=1<s?arguments[1]:Xt,u=l!==Xt,c=0,h=y(o);if(u&&(l=d(l,2<s?arguments[2]:Xt,2)),h==Xt||a==Array&&g(h))for(n=new a(e=m(o.length));c<e;c++)v(n,c,u?l(o[c],c):o[c]);else for(r=h.call(o),n=new a;!(i=r.next()).done;c++)v(n,c,u?p(r,l,[i.value,c],!0):i.value);return n.length=c,n}})},function(t,e,n){var o=n(10);t.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw r!==Xt&&o(r.call(e)),t}}},function(t,e,n){var i=n(135),r=n(23)("iterator"),o=Array.prototype;t.exports=function(t){return t!==Xt&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(9),r=n(15);t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},function(t,e,n){var i=n(73),r=n(23)("iterator"),o=n(135);t.exports=n(7).getIteratorMethod=function(t){if(t!=Xt)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){var o=n(23)("iterator"),a=!1;try{var i=[7][o]();i.return=function(){a=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!a)return!1;var n=!1;try{var i=[7],r=i[o]();r.next=function(){return{done:n=!0}},i[o]=function(){return r},t(i)}catch(t){}return n}},function(t,e,n){var i=n(6),r=n(155);i(i.S+i.F*n(5)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);t<e;)r(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){var i=n(6),r=n(30),o=[].join;i(i.P+i.F*(n(31)!=Object||!n(160)(o)),"Array",{join:function(t){return o.call(r(this),t===Xt?",":t)}})},function(t,e,n){var i=n(5);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var i=n(6),r=n(46),u=n(32),c=n(37),h=n(35),d=[].slice;i(i.P+i.F*n(5)(function(){r&&d.call(r)}),"Array",{slice:function(t,e){var n=h(this.length),i=u(this);if(e=e===Xt?n:e,"Array"==i)return d.call(this,t,e);for(var r=c(t,n),o=c(e,n),a=h(o-r),s=Array(a),l=0;l<a;l++)s[l]="String"==i?this.charAt(r+l):this[r+l];return s}})},function(t,e,n){var i=n(6),r=n(19),o=n(56),a=n(5),s=[].sort,l=[1,2,3];i(i.P+i.F*(a(function(){l.sort(Xt)})||!a(function(){l.sort(null)})||!n(160)(s)),"Array",{sort:function(t){return t===Xt?s.call(o(this)):s.call(o(this),r(t))}})},function(t,e,n){var i=n(6),r=n(164)(0),o=n(160)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var b=n(18),x=n(31),w=n(56),S=n(35),i=n(165);t.exports=function(h,t){var d=1==h,f=2==h,p=3==h,g=4==h,m=6==h,v=5==h||m,y=t||i;return function(t,e,n){for(var i,r,o=w(t),a=x(o),s=b(e,n,3),l=S(a.length),u=0,c=d?y(t,l):f?y(t,0):Xt;u<l;u++)if((v||u in a)&&(r=s(i=a[u],u,o),h))if(d)c[u]=r;else if(r)switch(h){case 3:return!0;case 5:return i;case 6:return u;case 2:c.push(i)}else if(g)return!1;return m?-1:p||g?g:c}}},function(t,e,n){var i=n(166);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(11),r=n(43),o=n(23)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=Xt),i(e)&&(null===(e=e[o])&&(e=Xt))),e===Xt?Array:e}},function(t,e,n){var i=n(6),r=n(164)(1);i(i.P+i.F*!n(160)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(164)(2);i(i.P+i.F*!n(160)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(164)(3);i(i.P+i.F*!n(160)([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(164)(4);i(i.P+i.F*!n(160)([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(172);i(i.P+i.F*!n(160)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){var c=n(19),h=n(56),d=n(31),f=n(35);t.exports=function(t,e,n,i,r){c(e);var o=h(t),a=d(o),s=f(o.length),l=r?s-1:0,u=r?-1:1;if(n<2)for(;;){if(l in a){i=a[l],l+=u;break}if(l+=u,r?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;r?0<=l:l<s;l+=u)l in a&&(i=e(i,a[l],l,o));return i}},function(t,e,n){var i=n(6),r=n(172);i(i.P+i.F*!n(160)([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){var i=n(6),r=n(34)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(160)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(30),o=n(36),a=n(35),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(l||!n(160)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=r(this),n=a(e.length),i=n-1;for(1<arguments.length&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=n+i);0<=i;i--)if(i in e&&e[i]===t)return i||0;return-1}})},function(t,e,n){var i=n(6);i(i.P,"Array",{copyWithin:n(177)}),n(178)("copyWithin")},function(t,e,n){var u=n(56),c=n(37),h=n(35);t.exports=[].copyWithin||function(t,e){var n=u(this),i=h(n.length),r=c(t,i),o=c(e,i),a=2<arguments.length?arguments[2]:Xt,s=Math.min((a===Xt?i:c(a,i))-o,i-r),l=1;for(o<r&&r<o+s&&(l=-1,o+=s-1,r+=s-1);0<s--;)o in n?n[r]=n[o]:delete n[r],r+=l,o+=l;return n}},function(t,e,n){var i=n(23)("unscopables"),r=Array.prototype;r[i]==Xt&&n(8)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(6);i(i.P,"Array",{fill:n(180)}),n(178)("fill")},function(t,e,n){var s=n(56),l=n(37),u=n(35);t.exports=function(t){for(var e=s(this),n=u(e.length),i=arguments.length,r=l(1<i?arguments[1]:Xt,n),o=2<i?arguments[2]:Xt,a=o===Xt?n:l(o,n);r<a;)e[r++]=t;return e}},function(t,e,n){var i=n(6),r=n(164)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,1<arguments.length?arguments[1]:Xt)}}),n(178)("find")},function(t,e,n){var i=n(6),r=n(164)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),i(i.P+i.F*a,"Array",{findIndex:function(t){return r(this,t,1<arguments.length?arguments[1]:Xt)}}),n(178)(o)},function(t,e,n){var i=n(178),r=n(184),o=n(135),a=n(30);t.exports=n(134)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=Xt,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(186)("Array")},function(t,e,n){var i=n(2),r=n(9),o=n(4),a=n(23)("species");t.exports=function(t){var e=i[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(2),o=n(80),r=n(9).f,a=n(48).f,s=n(128),l=n(188),u=i.RegExp,c=u,h=u.prototype,d=/a/g,f=/a/g,p=new u(d)!==d;if(n(4)&&(!p||n(5)(function(){return f[n(23)("match")]=!1,u(d)!=d||u(f)==f||"/a/i"!=u(d,"i")}))){u=function(t,e){var n=this instanceof u,i=s(t),r=e===Xt;return!n&&i&&t.constructor===u&&r?t:o(p?new c(i&&!r?t.source:t,e):c((i=t instanceof u)?t.source:t,i&&r?l.call(t):e),n?this:h,u)};for(var g=function(e){e in u||r(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},m=a(c),v=0;m.length>v;)g(m[v++]);(h.constructor=u).prototype=h,n(16)(i,"RegExp",u)}n(186)("RegExp")},function(t,e,n){var i=n(10);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){n(190);function i(t){n(16)(RegExp.prototype,s,t,!0)}var r=n(10),o=n(188),a=n(4),s="toString",l=/./[s];n(5)(function(){return"/a/b"!=l.call({source:"a",flags:"b"})})?i(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):Xt)}):l.name!=s&&i(function(){return l.call(this)})},function(t,e,n){n(4)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(188)})},function(t,e,n){n(192)("match",1,function(i,r,t){return[function(t){var e=i(this),n=t==Xt?Xt:t[r];return n!==Xt?n.call(t,e):new RegExp(t)[r](String(e))},t]})},function(t,e,n){var s=n(8),l=n(16),u=n(5),c=n(33),h=n(23);t.exports=function(e,t,n){var i=h(e),r=n(c,i,""[e]),o=r[0],a=r[1];u(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})&&(l(String.prototype,e,o),s(RegExp.prototype,i,2==t?function(t,e){return a.call(t,this,e)}:function(t){return a.call(t,this)}))}},function(t,e,n){n(192)("replace",2,function(r,o,a){return[function(t,e){var n=r(this),i=t==Xt?Xt:t[o];return i!==Xt?i.call(t,n,e):a.call(String(n),t,e)},a]})},function(t,e,n){n(192)("search",1,function(i,r,t){return[function(t){var e=i(this),n=t==Xt?Xt:t[r];return n!==Xt?n.call(t,e):new RegExp(t)[r](String(e))},t]})},function(t,e,n){n(192)("split",2,function(r,o,a){var f=n(128),p=a,g=[].push,t="split",m="length";if("c"=="abbc"[t](/(b)*/)[1]||4!="test"[t](/(?:)/,-1)[m]||2!="ab"[t](/(?:ab)*/)[m]||4!="."[t](/(.?)(.?)/)[m]||1<"."[t](/()()/)[m]||""[t](/.?/)[m]){var v=/()??/.exec("")[1]===Xt;a=function(t,e){var n=String(this);if(t===Xt&&0===e)return[];if(!f(t))return p.call(n,t,e);var i,r,o,a,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,h=e===Xt?4294967295:e>>>0,d=new RegExp(t.source,u+"g");for(v||(i=new RegExp("^"+d.source+"$(?!\\s)",u));(r=d.exec(n))&&!(c<(o=r.index+r[0][m])&&(l.push(n.slice(c,r.index)),!v&&1<r[m]&&r[0].replace(i,function(){for(s=1;s<arguments[m]-2;s++)arguments[s]===Xt&&(r[s]=Xt)}),1<r[m]&&r.index<n[m]&&g.apply(l,r.slice(1)),a=r[0][m],c=o,l[m]>=h));)d.lastIndex===r.index&&d.lastIndex++;return c===n[m]?!a&&d.test("")||l.push(""):l.push(n.slice(c)),l[m]>h?l.slice(0,h):l}}else"0"[t](Xt,0)[m]&&(a=function(t,e){return t===Xt&&0===e?[]:p.call(this,t,e)});return[function(t,e){var n=r(this),i=t==Xt?Xt:t[o];return i!==Xt?i.call(t,n,e):a.call(String(n),t,e)},a]})},function(t,e,n){function i(){}function r(t,e){return t===e||t===D&&e===d}function c(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e}function o(t){return r(D,t)?new E(t):new h(t)}function u(t){try{t()}catch(t){return{error:t}}}function a(u,n){if(!u._n){u._n=!0;var i=u._c;C(function(){for(var s=u._v,l=1==u._s,t=0,e=function(t){var e,n,i=l?t.ok:t.fail,r=t.resolve,o=t.reject,a=t.domain;try{i?(l||(2==u._h&&I(u),u._h=1),!0===i?e=s:(a&&a.enter(),e=i(s),a&&a.exit()),e===t.promise?o(M("Promise-chain cycle")):(n=c(e))?n.call(e,r,o):r(e)):o(s)}catch(t){o(t)}};i.length>t;)e(i[t++]);u._c=[],u._n=!1,n&&!u._h&&O(u)})}}function s(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var l,h,d,f=n(26),p=n(2),g=n(18),m=n(73),v=n(6),y=n(11),b=n(19),x=n(197),w=n(198),S=n(199),_=n(200).set,C=n(201)(),k="Promise",M=p.TypeError,T=p.process,D=p[k],A="process"==m(T=p.process),P=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[n(23)("species")]=function(t){t(i,i)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(i)instanceof e}catch(t){}}(),E=h=function(t){var n,i;this.promise=new t(function(t,e){if(n!==Xt||i!==Xt)throw M("Bad Promise constructor");n=t,i=e}),this.resolve=b(n),this.reject=b(i)},O=function(r){_.call(p,function(){var t,e,n,i=r._v;if(L(r)&&(t=u(function(){A?T.emit("unhandledRejection",i,r):(e=p.onunhandledrejection)?e({promise:r,reason:i}):(n=p.console)&&n.error&&n.error("Unhandled promise rejection",i)}),r._h=A||L(r)?2:1),r._a=Xt,t)throw t.error})},L=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,i=0;n.length>i;)if((e=n[i++]).fail||!L(e.promise))return!1;return!0},I=function(e){_.call(p,function(){var t;A?T.emit("rejectionHandled",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(t){var n,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw M("Promise can't be resolved itself");(n=c(t))?C(function(){var e={_w:i,_d:!1};try{n.call(t,g(N,e,1),g(s,e,1))}catch(t){s.call(e,t)}}):(i._v=t,i._s=1,a(i,!1))}catch(t){s.call({_w:i,_d:!1},t)}}};P||(D=function(t){x(this,D,k,"_h"),b(t),l.call(this);try{t(g(N,this,1),g(s,this,1))}catch(t){s.call(this,t)}},(l=function(t){this._c=[],this._a=Xt,this._s=0,this._d=!1,this._v=Xt,this._h=0,this._n=!1}).prototype=n(202)(D.prototype,{then:function(t,e){var n=o(S(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?T.domain:Xt,this._c.push(n),this._a&&this._a.push(n),this._s&&a(this,!1),n.promise},catch:function(t){return this.then(Xt,t)}}),E=function(){var t=new l;this.promise=t,this.resolve=g(N,t,1),this.reject=g(s,t,1)}),v(v.G+v.W+v.F*!P,{Promise:D}),n(22)(D,k),n(186)(k),d=n(7)[k],v(v.S+v.F*!P,k,{reject:function(t){var e=o(this);return(0,e.reject)(t),e.promise}}),v(v.S+v.F*(f||!P),k,{resolve:function(t){if(t instanceof D&&r(t.constructor,this))return t;var e=o(this);return(0,e.resolve)(t),e.promise}}),v(v.S+v.F*!(P&&n(157)(function(t){D.all(t).catch(i)})),k,{all:function(t){var a=this,e=o(a),s=e.resolve,l=e.reject,n=u(function(){var i=[],r=0,o=1;w(t,!1,function(t){var e=r++,n=!1;i.push(Xt),o++,a.resolve(t).then(function(t){n||(n=!0,i[e]=t,--o||s(i))},l)}),--o||s(i)});return n&&l(n.error),e.promise},race:function(t){var e=this,n=o(e),i=n.reject,r=u(function(){w(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r&&i(r.error),n.promise}})},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||i!==Xt&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var d=n(18),f=n(153),p=n(154),g=n(10),m=n(35),v=n(156),y={},b={};(e=t.exports=function(t,e,n,i,r){var o,a,s,l,u=r?function(){return t}:v(t),c=d(n,i,e?2:1),h=0;if("function"!=typeof u)throw TypeError(t+" is not iterable!");if(p(u)){for(o=m(t.length);h<o;h++)if((l=e?c(g(a=t[h])[0],a[1]):c(t[h]))===y||l===b)return l}else for(s=u.call(t);!(a=s.next()).done;)if((l=f(s,c,a.value,e))===y||l===b)return l}).BREAK=y,e.RETURN=b},function(t,e,n){var r=n(10),o=n(19),a=n(23)("species");t.exports=function(t,e){var n,i=r(t).constructor;return i===Xt||(n=r(i)[a])==Xt?e:o(n)}},function(t,e,n){function i(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function r(t){i.call(t.data)}var o,a,s,l=n(18),u=n(76),c=n(46),h=n(13),d=n(2),f=d.process,p=d.setImmediate,g=d.clearImmediate,m=d.MessageChannel,v=0,y={},b="onreadystatechange";p&&g||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++v]=function(){u("function"==typeof t?t:Function(t),e)},o(v),v},g=function(t){delete y[t]},"process"==n(32)(f)?o=function(t){f.nextTick(l(i,t,1))}:m?(s=(a=new m).port2,a.port1.onmessage=r,o=l(s.postMessage,s,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(o=function(t){d.postMessage(t+"","*")},d.addEventListener("message",r,!1)):o=b in h("script")?function(t){c.appendChild(h("script"))[b]=function(){c.removeChild(this),i.call(t)}}:function(t){setTimeout(l(i,t,1),0)}),t.exports={set:p,clear:g}},function(t,e,n){var s=n(2),l=n(200).set,u=s.MutationObserver||s.WebKitMutationObserver,c=s.process,h=s.Promise,d="process"==n(32)(c);t.exports=function(){function t(){var t,e;for(d&&(t=c.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?r():i=Xt,t}}i=Xt,t&&t.enter()}var n,i,r;if(d)r=function(){c.nextTick(t)};else if(u){var e=!0,o=document.createTextNode("");new u(t).observe(o,{characterData:!0}),r=function(){o.data=e=!e}}else if(h&&h.resolve){var a=h.resolve();r=function(){a.then(t)}}else r=function(){l.call(s,t)};return function(t){var e={fn:t,next:Xt};i&&(i.next=e),n||(n=e,r()),i=e}}},function(t,e,n){var r=n(16);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var i=n(204);t.exports=n(205)("Map",function(t){return function(){return t(this,0<arguments.length?arguments[0]:Xt)}},{get:function(t){var e=i.getEntry(this,t);return e&&e.v},set:function(t,e){return i.def(this,0===t?0:t,e)}},i,!0)},function(t,e,n){function a(t,e){var n,i=g(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n}var s=n(9).f,l=n(44),u=n(202),c=n(18),h=n(197),d=n(33),f=n(198),i=n(134),r=n(184),o=n(186),p=n(4),g=n(20).fastKey,m=p?"_s":"size";t.exports={getConstructor:function(t,n,i,r){var o=t(function(t,e){h(t,o,n,"_i"),t._i=l(null),t._f=Xt,t._l=Xt,t[m]=0,e!=Xt&&f(e,i,t[r],t)});return u(o.prototype,{clear:function(){for(var t=this._i,e=this._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=Xt),delete t[e.i];this._f=this._l=Xt,this[m]=0},delete:function(t){var e=a(this,t);if(e){var n=e.n,i=e.p;delete this._i[e.i],e.r=!0,i&&(i.n=n),n&&(n.p=i),this._f==e&&(this._f=n),this._l==e&&(this._l=i),this[m]--}return!!e},forEach:function(t){h(this,o,"forEach");for(var e,n=c(t,1<arguments.length?arguments[1]:Xt,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!a(this,t)}}),p&&s(o.prototype,"size",{get:function(){return d(this[m])}}),o},def:function(t,e,n){var i,r,o=a(t,e);return o?o.v=n:(t._l=o={i:r=g(e,!0),k:e,v:n,p:i=t._l,n:Xt,r:!1},t._f||(t._f=o),i&&(i.n=o),t[m]++,"F"!==r&&(t._i[r]=o)),t},getEntry:a,setStrong:function(t,e,n){i(t,e,function(t,e){this._t=t,this._k=e,this._l=Xt},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?r(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=Xt,r(1))},n?"entries":"values",!n,!0),o(e)}}},function(t,e,n){var v=n(2),y=n(6),b=n(16),x=n(202),w=n(20),S=n(198),_=n(197),C=n(11),k=n(5),M=n(157),T=n(22),D=n(80);t.exports=function(i,t,e,n,r,o){function a(t){var n=c[t];b(c,t,"delete"==t?function(t){return!(o&&!C(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!C(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!C(t)?Xt:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})}var s=v[i],l=s,u=r?"set":"add",c=l&&l.prototype,h={};if("function"==typeof l&&(o||c.forEach&&!k(function(){(new l).entries().next()}))){var d=new l,f=d[u](o?{}:-0,1)!=d,p=k(function(){d.has(1)}),g=M(function(t){new l(t)}),m=!o&&k(function(){for(var t=new l,e=5;e--;)t[u](e,e);return!t.has(-0)});g||(((l=t(function(t,e){_(t,l,i);var n=D(new s,t,l);return e!=Xt&&S(e,r,n[u],n),n})).prototype=c).constructor=l),(p||m)&&(a("delete"),a("has"),r&&a("get")),(m||f)&&a(u),o&&c.clear&&delete c.clear}else l=n.getConstructor(t,i,r,u),x(l.prototype,e),w.NEED=!0;return T(l,i),h[i]=l,y(y.G+y.W+y.F*(l!=s),h),o||n.setStrong(l,i,r),l}},function(t,e,n){var i=n(204);t.exports=n(205)("Set",function(t){return function(){return t(this,0<arguments.length?arguments[0]:Xt)}},{add:function(t){return i.def(this,t=0===t?0:t,t)}},i)},function(t,e,n){function i(t){return function(){return t(this,0<arguments.length?arguments[0]:Xt)}}var o,r=n(164)(0),a=n(16),s=n(20),l=n(67),u=n(208),c=n(11),h=s.getWeak,d=Object.isExtensible,f=u.ufstore,p={},g={get:function(t){if(c(t)){var e=h(t);return!0===e?f(this).get(t):e?e[this._i]:Xt}},set:function(t,e){return u.def(this,t,e)}},m=t.exports=n(205)("WeakMap",i,g,u,!0,!0);7!=(new m).set((Object.freeze||Object)(p),7).get(p)&&(l((o=u.getConstructor(i)).prototype,g),s.NEED=!0,r(["delete","has","get","set"],function(i){var t=m.prototype,r=t[i];a(t,i,function(t,e){if(!c(t)||d(t))return r.call(this,t,e);this._f||(this._f=new o);var n=this._f[i](t,e);return"set"==i?this:n})}))},function(t,e,n){function a(t){return t._l||(t._l=new m)}function i(t,e){return f(t.a,function(t){return t[0]===e})}var s=n(202),l=n(20).getWeak,r=n(10),u=n(11),c=n(197),h=n(198),o=n(164),d=n(3),f=o(5),p=o(6),g=0,m=function(){this.a=[]};m.prototype={get:function(t){var e=i(this,t);if(e)return e[1]},has:function(t){return!!i(this,t)},set:function(t,e){var n=i(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(t,n,i,r){var o=t(function(t,e){c(t,o,n,"_i"),t._i=g++,e!=(t._l=Xt)&&h(e,i,t[r],t)});return s(o.prototype,{delete:function(t){if(!u(t))return!1;var e=l(t);return!0===e?a(this).delete(t):e&&d(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=l(t);return!0===e?a(this).has(t):e&&d(e,this._i)}}),o},def:function(t,e,n){var i=l(r(e),!0);return!0===i?a(t).set(e,n):i[t._i]=n,t},ufstore:a}},function(t,e,n){var i=n(208);n(205)("WeakSet",function(t){return function(){return t(this,0<arguments.length?arguments[0]:Xt)}},{add:function(t){return i.def(this,t,!0)}},i,!1,!0)},function(t,e,n){var i=n(6),o=n(19),a=n(10),s=(n(2).Reflect||{}).apply,l=Function.apply;i(i.S+i.F*!n(5)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var i=o(t),r=a(n);return s?s(i,e,r):l.call(i,e,r)}})},function(t,e,n){var i=n(6),s=n(44),l=n(19),u=n(10),c=n(11),r=n(5),h=n(75),d=(n(2).Reflect||{}).construct,f=r(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),p=!r(function(){d(function(){})});i(i.S+i.F*(f||p),"Reflect",{construct:function(t,e){l(t),u(e);var n=arguments.length<3?t:l(arguments[2]);if(p&&!f)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(h.apply(t,i))}var r=n.prototype,o=s(c(r)?r:Object.prototype),a=Function.apply.call(t,o,e);return c(a)?a:o}})},function(t,e,n){var i=n(9),r=n(6),o=n(10),a=n(14);r(r.S+r.F*n(5)(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return i.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var i=n(6),r=n(49).f,o=n(10);i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){function i(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var r=n(6),o=n(10);n(136)(i,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:Xt,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var a=n(49),s=n(57),l=n(3),i=n(6),u=n(11),c=n(10);i(i.S,"Reflect",{get:function t(e,n){var i,r,o=arguments.length<3?e:arguments[2];return c(e)===o?e[n]:(i=a.f(e,n))?l(i,"value")?i.value:i.get!==Xt?i.get.call(o):Xt:u(r=s(e))?t(r,n,o):void 0}})},function(t,e,n){var i=n(49),r=n(6),o=n(10);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(o(t),e)}})},function(t,e,n){var i=n(6),r=n(57),o=n(10);i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,n){var i=n(6);i(i.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var i=n(6),r=n(10),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,n){var i=n(6);i(i.S,"Reflect",{ownKeys:n(221)})},function(t,e,n){var i=n(48),r=n(41),o=n(10),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},function(t,e,n){var i=n(6),r=n(10),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var l=n(9),u=n(49),c=n(57),h=n(3),i=n(6),d=n(15),f=n(10),p=n(11);i(i.S,"Reflect",{set:function t(e,n,i){var r,o,a=arguments.length<4?e:arguments[3],s=u.f(f(e),n);if(!s){if(p(o=c(e)))return t(o,n,i,a);s=d(0)}return h(s,"value")?!(!1===s.writable||!p(a)||((r=u.f(a,n)||d(0)).value=i,l.f(a,n,r),0)):s.set!==Xt&&(s.set.call(a,i),!0)}})},function(t,e,n){var i=n(6),r=n(71);r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){var i=n(6);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){var i=n(6),r=n(56),o=n(14);i(i.P+i.F*n(5)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=r(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){function i(t){return 9<t?t:"0"+t}var r=n(6),o=n(5),a=Date.prototype.getTime;r(r.P+r.F*(o(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!o(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":9999<t?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"."+(99<e?e:"0"+i(e))+"Z"}})},function(t,e,n){var i=Date.prototype,r="Invalid Date",o=i.toString,a=i.getTime;new Date(NaN)+""!=r&&n(16)(i,"toString",function(){var t=a.call(this);return t==t?o.call(this):r})},function(t,e,n){var i=n(23)("toPrimitive"),r=Date.prototype;i in r||n(8)(r,i,n(230))},function(t,e,n){var i=n(10),r=n(14);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),"number"!=t)}},function(t,e,n){var i=n(6),r=n(232),o=n(233),u=n(10),c=n(37),h=n(35),a=n(11),s=n(2).ArrayBuffer,d=n(199),f=o.ArrayBuffer,p=o.DataView,l=r.ABV&&s.isView,g=f.prototype.slice,m=r.VIEW,v="ArrayBuffer";i(i.G+i.W+i.F*(s!==f),{ArrayBuffer:f}),i(i.S+i.F*!r.CONSTR,v,{isView:function(t){return l&&l(t)||a(t)&&m in t}}),i(i.P+i.U+i.F*n(5)(function(){return!new f(2).slice(1,Xt).byteLength}),v,{slice:function(t,e){if(g!==Xt&&e===Xt)return g.call(u(this),t);for(var n=u(this).byteLength,i=c(t,n),r=c(e===Xt?n:e,n),o=new(d(this,f))(h(r-i)),a=new p(this),s=new p(o),l=0;i<r;)s.setUint8(l++,a.getUint8(i++));return o}}),n(186)(v)},function(t,e,n){for(var i,r=n(2),o=n(8),a=n(17),s=a("typed_array"),l=a("view"),u=!(!r.ArrayBuffer||!r.DataView),c=u,h=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<9;)(i=r[d[h++]])?(o(i.prototype,s,!0),o(i.prototype,l,!0)):c=!1;t.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(t,e,n){function i(t,e,n){var i,r,o,a=Array(n),s=8*n-e-1,l=(1<<s)-1,u=l>>1,c=23===e?z(2,-24)-z(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for((t=B(t))!=t||t===j?(r=t!=t?1:0,i=l):(i=W($(t)/q),t*(o=z(2,-i))<1&&(i--,o*=2),2<=(t+=1<=i+u?c/o:c*z(2,1-u))*o&&(i++,o/=2),l<=i+u?(r=0,i=l):1<=i+u?(r=(t*o-1)*z(2,e),i+=u):(r=t*z(2,u-1)*z(2,e),i=0));8<=e;a[h++]=255&r,r/=256,e-=8);for(i=i<<e|r,s+=e;0<s;a[h++]=255&i,i/=256,s-=8);return a[--h]|=128*d,a}function r(t,e,n){var i,r=8*n-e-1,o=(1<<r)-1,a=o>>1,s=r-7,l=n-1,u=t[l--],c=127&u;for(u>>=7;0<s;c=256*c+t[l],l--,s-=8);for(i=c&(1<<-s)-1,c>>=-s,s+=e;0<s;i=256*i+t[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return i?NaN:u?-j:j;i+=z(2,e),c-=a}return(u?-1:1)*i*z(2,c-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function a(t){return[255&t]}function s(t){return[255&t,t>>8&255]}function l(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function u(t){return i(t,52,8)}function c(t){return i(t,23,4)}function h(t,e,n){M(t[E],e,{get:function(){return this[n]}})}function d(t,e,n,i){var r=+n,o=_(r);if(r!=o||o<0||o+e>t[X])throw F(L);var a=t[G]._b,s=o+t[V],l=a.slice(s,s+e);return i?l:l.reverse()}function f(t,e,n,i,r,o){var a=+n,s=_(a);if(a!=s||s<0||s+e>t[X])throw F(L);for(var l=t[G]._b,u=s+t[V],c=i(+r),h=0;h<e;h++)l[u+h]=c[o?h:e-h-1]}function p(t,e){S(t,I,A);var n=+e,i=C(n);if(n!=i)throw F(O);return i}var g=n(2),m=n(4),v=n(26),y=n(232),b=n(8),x=n(202),w=n(5),S=n(197),_=n(36),C=n(35),k=n(48).f,M=n(9).f,T=n(180),D=n(22),A="ArrayBuffer",P="DataView",E="prototype",O="Wrong length!",L="Wrong index!",I=g[A],N=g[P],R=g.Math,F=g.RangeError,j=g.Infinity,H=I,B=R.abs,z=R.pow,W=R.floor,$=R.log,q=R.LN2,U="byteLength",Y="byteOffset",G=m?"_b":"buffer",X=m?"_l":U,V=m?"_o":Y;if(y.ABV){if(!w(function(){new I})||!w(function(){new I(.5)})){for(var Z,K=(I=function(t){return new H(p(this,t))})[E]=H[E],J=k(H),Q=0;J.length>Q;)(Z=J[Q++])in I||b(I,Z,H[Z]);v||(K.constructor=I)}var tt=new N(new I(2)),et=N[E].setInt8;tt.setInt8(0,2147483648),tt.setInt8(1,2147483649),!tt.getInt8(0)&&tt.getInt8(1)||x(N[E],{setInt8:function(t,e){et.call(this,t,e<<24>>24)},setUint8:function(t,e){et.call(this,t,e<<24>>24)}},!0)}else I=function(t){var e=p(this,t);this._b=T.call(Array(e),0),this[X]=e},N=function(t,e,n){S(this,N,P),S(t,I,P);var i=t[X],r=_(e);if(r<0||i<r)throw F("Wrong offset!");if(i<r+(n=n===Xt?i-r:C(n)))throw F(O);this[G]=t,this[V]=r,this[X]=n},m&&(h(I,U,"_l"),h(N,"buffer","_b"),h(N,U,"_l"),h(N,Y,"_o")),x(N[E],{getInt8:function(t){return d(this,1,t)[0]<<24>>24},getUint8:function(t){return d(this,1,t)[0]},getInt16:function(t){var e=d(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=d(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return o(d(this,4,t,arguments[1]))},getUint32:function(t){return o(d(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return r(d(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return r(d(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){f(this,1,t,a,e)},setUint8:function(t,e){f(this,1,t,a,e)},setInt16:function(t,e){f(this,2,t,s,e,arguments[2])},setUint16:function(t,e){f(this,2,t,s,e,arguments[2])},setInt32:function(t,e){f(this,4,t,l,e,arguments[2])},setUint32:function(t,e){f(this,4,t,l,e,arguments[2])},setFloat32:function(t,e){f(this,4,t,c,e,arguments[2])},setFloat64:function(t,e){f(this,8,t,u,e,arguments[2])}});D(I,A),D(N,P),b(N[E],y.VIEW,!0),e[A]=I,e[P]=N},function(t,e,n){var i=n(6);i(i.G+i.W+i.F*!n(232).ABV,{DataView:n(233).DataView})},function(t,e,n){n(236)("Int8",1,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){if(n(4)){var y=n(26),b=n(2),x=n(5),w=n(6),S=n(232),i=n(233),d=n(18),_=n(197),r=n(15),C=n(8),o=n(202),a=n(36),k=n(35),s=n(37),l=n(14),u=n(3),c=n(69),M=n(73),T=n(11),f=n(56),p=n(154),D=n(44),A=n(57),P=n(48).f,g=n(156),h=n(17),m=n(23),v=n(164),E=n(34),O=n(199),L=n(183),I=n(135),N=n(157),R=n(186),F=n(180),j=n(177),H=n(9),B=n(49),z=H.f,W=B.f,$=b.RangeError,q=b.TypeError,U=b.Uint8Array,Y="ArrayBuffer",G="Shared"+Y,X="BYTES_PER_ELEMENT",V="prototype",Z=Array[V],K=i.ArrayBuffer,J=i.DataView,Q=v(0),tt=v(2),et=v(3),nt=v(4),it=v(5),rt=v(6),ot=E(!0),at=E(!1),st=L.values,lt=L.keys,ut=L.entries,ct=Z.lastIndexOf,ht=Z.reduce,dt=Z.reduceRight,ft=Z.join,pt=Z.sort,gt=Z.slice,mt=Z.toString,vt=Z.toLocaleString,yt=m("iterator"),bt=m("toStringTag"),xt=h("typed_constructor"),wt=h("def_constructor"),St=S.CONSTR,_t=S.TYPED,Ct=S.VIEW,kt="Wrong length!",Mt=v(1,function(t,e){return Ot(O(t,t[wt]),e)}),Tt=x(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),Dt=!!U&&!!U[V].set&&x(function(){new U(1).set({})}),At=function(t,e){if(t===Xt)throw q(kt);var n=+t,i=k(t);if(e&&!c(n,i))throw $(kt);return i},Pt=function(t,e){var n=a(t);if(n<0||n%e)throw $("Wrong offset!");return n},Et=function(t){if(T(t)&&_t in t)return t;throw q(t+" is not a typed array!")},Ot=function(t,e){if(!(T(t)&&xt in t))throw q("It is not a typed array constructor!");return new t(e)},Lt=function(t,e){return It(O(t,t[wt]),e)},It=function(t,e){for(var n=0,i=e.length,r=Ot(t,i);n<i;)r[n]=e[n++];return r},Nt=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},Rt=function(t){var e,n,i,r,o,a,s=f(t),l=arguments.length,u=1<l?arguments[1]:Xt,c=u!==Xt,h=g(s);if(h!=Xt&&!p(h)){for(a=h.call(s),i=[],e=0;!(o=a.next()).done;e++)i.push(o.value);s=i}for(c&&2<l&&(u=d(u,arguments[2],2)),e=0,n=k(s.length),r=Ot(this,n);e<n;e++)r[e]=c?u(s[e],e):s[e];return r},Ft=function(){for(var t=0,e=arguments.length,n=Ot(this,e);t<e;)n[t]=arguments[t++];return n},jt=!!U&&x(function(){vt.call(new U(1))}),Ht=function(){return vt.apply(jt?gt.call(Et(this)):Et(this),arguments)},Bt={copyWithin:function(t,e){return j.call(Et(this),t,e,2<arguments.length?arguments[2]:Xt)},every:function(t){return nt(Et(this),t,1<arguments.length?arguments[1]:Xt)},fill:function(t){return F.apply(Et(this),arguments)},filter:function(t){return Lt(this,tt(Et(this),t,1<arguments.length?arguments[1]:Xt))},find:function(t){return it(Et(this),t,1<arguments.length?arguments[1]:Xt)},findIndex:function(t){return rt(Et(this),t,1<arguments.length?arguments[1]:Xt)},forEach:function(t){Q(Et(this),t,1<arguments.length?arguments[1]:Xt)},indexOf:function(t){return at(Et(this),t,1<arguments.length?arguments[1]:Xt)},includes:function(t){return ot(Et(this),t,1<arguments.length?arguments[1]:Xt)},join:function(t){return ft.apply(Et(this),arguments)},lastIndexOf:function(t){return ct.apply(Et(this),arguments)},map:function(t){return Mt(Et(this),t,1<arguments.length?arguments[1]:Xt)},reduce:function(t){return ht.apply(Et(this),arguments)},reduceRight:function(t){return dt.apply(Et(this),arguments)},reverse:function(){for(var t,e=Et(this).length,n=Math.floor(e/2),i=0;i<n;)t=this[i],this[i++]=this[--e],this[e]=t;return this},some:function(t){return et(Et(this),t,1<arguments.length?arguments[1]:Xt)},sort:function(t){return pt.call(Et(this),t)},subarray:function(t,e){var n=Et(this),i=n.length,r=s(t,i);return new(O(n,n[wt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,k((e===Xt?i:s(e,i))-r))}},zt=function(t,e){return Lt(this,gt.call(Et(this),t,e))},Wt=function(t){Et(this);var e=Pt(arguments[1],1),n=this.length,i=f(t),r=k(i.length),o=0;if(n<r+e)throw $(kt);for(;o<r;)this[e+o]=i[o++]},$t={entries:function(){return ut.call(Et(this))},keys:function(){return lt.call(Et(this))},values:function(){return st.call(Et(this))}},qt=function(t,e){return T(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ut=function(t,e){return qt(t,e=l(e,!0))?r(2,t[e]):W(t,e)},Yt=function(t,e,n){return!(qt(t,e=l(e,!0))&&T(n)&&u(n,"value"))||u(n,"get")||u(n,"set")||n.configurable||u(n,"writable")&&!n.writable||u(n,"enumerable")&&!n.enumerable?z(t,e,n):(t[e]=n.value,t)};St||(B.f=Ut,H.f=Yt),w(w.S+w.F*!St,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Yt}),x(function(){mt.call({})})&&(mt=vt=function(){return ft.call(this)});var Gt=o({},Bt);o(Gt,$t),C(Gt,yt,$t.values),o(Gt,{slice:zt,set:Wt,constructor:function(){},toString:mt,toLocaleString:Ht}),Nt(Gt,"buffer","b"),Nt(Gt,"byteOffset","o"),Nt(Gt,"byteLength","l"),Nt(Gt,"length","e"),z(Gt,bt,{get:function(){return this[_t]}}),t.exports=function(t,h,e,r){function d(t,e){z(t,e,{get:function(){return function(t,e){var n=t._d;return n.v[i](e*h+n.o,Tt)}(this,e)},set:function(t){return function(t,e,n){var i=t._d;r&&(n=(n=Math.round(n))<0?0:255<n?255:255&n),i.v[a](e*h+i.o,n,Tt)}(this,e,t)},enumerable:!0})}var f=t+((r=!!r)?"Clamped":"")+"Array",o="Uint8Array"!=f,i="get"+t,a="set"+t,p=b[f],s=p||{},n=p&&A(p),l=!p||!S.ABV,u={},c=p&&p[V];l?(p=e(function(t,e,n,i){_(t,p,f,"_d");var r,o,a,s,l=0,u=0;if(T(e)){if(!(e instanceof K||(s=M(e))==Y||s==G))return _t in e?It(p,e):Rt.call(p,e);r=e,u=Pt(n,h);var c=e.byteLength;if(i===Xt){if(c%h)throw $(kt);if((o=c-u)<0)throw $(kt)}else if(c<(o=k(i)*h)+u)throw $(kt);a=o/h}else a=At(e,!0),r=new K(o=a*h);for(C(t,"_d",{b:r,o:u,l:o,e:a,v:new J(r)});l<a;)d(t,l++)}),c=p[V]=D(Gt),C(c,"constructor",p)):N(function(t){new p(null),new p(t)},!0)||(p=e(function(t,e,n,i){var r;return _(t,p,f),T(e)?e instanceof K||(r=M(e))==Y||r==G?i!==Xt?new s(e,Pt(n,h),i):n!==Xt?new s(e,Pt(n,h)):new s(e):_t in e?It(p,e):Rt.call(p,e):new s(At(e,o))}),Q(n!==Function.prototype?P(s).concat(P(n)):P(s),function(t){t in p||C(p,t,s[t])}),p[V]=c,y||(c.constructor=p));var g=c[yt],m=!!g&&("values"==g.name||g.name==Xt),v=$t.values;C(p,xt,!0),C(c,_t,f),C(c,Ct,!0),C(c,wt,p),(r?new p(1)[bt]==f:bt in c)||z(c,bt,{get:function(){return f}}),u[f]=p,w(w.G+w.W+w.F*(p!=s),u),w(w.S,f,{BYTES_PER_ELEMENT:h,from:Rt,of:Ft}),X in c||C(c,X,h),w(w.P,f,Bt),R(f),w(w.P+w.F*Dt,f,{set:Wt}),w(w.P+w.F*!m,f,$t),w(w.P+w.F*(c.toString!=mt),f,{toString:mt}),w(w.P+w.F*x(function(){new p(1).slice()}),f,{slice:zt}),w(w.P+w.F*(x(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!x(function(){c.toLocaleString.call([1,2])})),f,{toLocaleString:Ht}),I[f]=m?g:v,y||m||C(c,yt,v)}}else t.exports=function(){}},function(t,e,n){n(236)("Uint8",1,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Uint8",1,function(i){return function(t,e,n){return i(this,t,e,n)}},!0)},function(t,e,n){n(236)("Int16",2,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Uint16",2,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Int32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Uint32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Float32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Float64",8,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){var i=n(6),r=n(34)(!0);i(i.P,"Array",{includes:function(t){return r(this,t,1<arguments.length?arguments[1]:Xt)}}),n(178)("includes")},function(t,e,n){var i=n(6),r=n(125)(!0);i(i.P,"String",{at:function(t){return r(this,t)}})},function(t,e,n){var i=n(6),r=n(248);i(i.P,"String",{padStart:function(t){return r(this,t,1<arguments.length?arguments[1]:Xt,!0)}})},function(t,e,n){var c=n(35),h=n(85),d=n(33);t.exports=function(t,e,n,i){var r=String(d(t)),o=r.length,a=n===Xt?" ":String(n),s=c(e);if(s<=o||""==a)return r;var l=s-o,u=h.call(a,Math.ceil(l/a.length));return u.length>l&&(u=u.slice(0,l)),i?u+r:r+u}},function(t,e,n){var i=n(6),r=n(248);i(i.P,"String",{padEnd:function(t){return r(this,t,1<arguments.length?arguments[1]:Xt,!1)}})},function(t,e,n){n(81)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){n(81)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){function r(t,e){this._r=t,this._s=e}var i=n(6),o=n(33),a=n(35),s=n(128),l=n(188),u=RegExp.prototype;n(136)(r,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),i(i.P,"String",{matchAll:function(t){if(o(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):l.call(t),i=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return i.lastIndex=a(t.lastIndex),new r(i,e)}})},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("observable")},function(t,e,n){var i=n(6),s=n(221),l=n(30),u=n(49),c=n(155);i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n=l(t),i=u.f,r=s(n),o={},a=0;r.length>a;)c(o,e=r[a++],i(n,e));return o}})},function(t,e,n){var i=n(6),r=n(257)(!1);i(i.S,"Object",{values:function(t){return r(t)}})},function(t,e,n){var l=n(28),u=n(30),c=n(42).f;t.exports=function(s){return function(t){for(var e,n=u(t),i=l(n),r=i.length,o=0,a=[];o<r;)c.call(n,e=i[o++])&&a.push(s?[e,n[e]]:n[e]);return a}}},function(t,e,n){var i=n(6),r=n(257)(!0);i(i.S,"Object",{entries:function(t){return r(t)}})},function(t,e,n){var i=n(6),r=n(56),o=n(19),a=n(9);n(4)&&i(i.P+n(260),"Object",{__defineGetter__:function(t,e){a.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){t.exports=n(26)||!n(5)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){var i=n(6),r=n(56),o=n(19),a=n(9);n(4)&&i(i.P+n(260),"Object",{__defineSetter__:function(t,e){a.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var i=n(6),r=n(56),o=n(14),a=n(57),s=n(49).f;n(4)&&i(i.P+n(260),"Object",{__lookupGetter__:function(t){var e,n=r(this),i=o(t,!0);do{if(e=s(n,i))return e.get}while(n=a(n))}})},function(t,e,n){var i=n(6),r=n(56),o=n(14),a=n(57),s=n(49).f;n(4)&&i(i.P+n(260),"Object",{__lookupSetter__:function(t){var e,n=r(this),i=o(t,!0);do{if(e=s(n,i))return e.set}while(n=a(n))}})},function(t,e,n){var i=n(6);i(i.P+i.R,"Map",{toJSON:n(265)("Map")})},function(t,e,n){var i=n(73),r=n(266);t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},function(t,e,n){var i=n(198);t.exports=function(t,e){var n=[];return i(t,!1,n.push,n,e),n}},function(t,e,n){var i=n(6);i(i.P+i.R,"Set",{toJSON:n(265)("Set")})},function(t,e,n){var i=n(6);i(i.S,"System",{global:n(2)})},function(t,e,n){var i=n(6),r=n(32);i(i.S,"Error",{isError:function(t){return"Error"===r(t)}})},function(t,e,n){var i=n(6);i(i.S,"Math",{iaddh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)+(i>>>0)+((r&o|(r|o)&~(r+o>>>0))>>>31)|0}})},function(t,e,n){var i=n(6);i(i.S,"Math",{isubh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)-(i>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},function(t,e,n){var i=n(6);i(i.S,"Math",{imulh:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i,a=n>>16,s=i>>16,l=(a*o>>>0)+(r*o>>>16);return a*s+(l>>16)+((r*s>>>0)+(65535&l)>>16)}})},function(t,e,n){var i=n(6);i(i.S,"Math",{umulh:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i,a=n>>>16,s=i>>>16,l=(a*o>>>0)+(r*o>>>16);return a*s+(l>>>16)+((r*s>>>0)+(65535&l)>>>16)}})},function(t,e,n){var i=n(275),r=n(10),o=i.key,a=i.set;i.exp({defineMetadata:function(t,e,n,i){a(t,e,r(n),o(i))}})},function(t,e,n){function r(t,e,n){var i=s.get(t);if(!i){if(!n)return Xt;s.set(t,i=new o)}var r=i.get(e);if(!r){if(!n)return Xt;i.set(e,r=new o)}return r}var o=n(203),i=n(6),a=n(21)("metadata"),s=a.store||(a.store=new(n(207)));t.exports={store:s,map:r,has:function(t,e,n){var i=r(e,n,!1);return i!==Xt&&i.has(t)},get:function(t,e,n){var i=r(e,n,!1);return i===Xt?Xt:i.get(t)},set:function(t,e,n,i){r(n,i,!0).set(t,e)},keys:function(t,e){var n=r(t,e,!1),i=[];return n&&n.forEach(function(t,e){i.push(e)}),i},key:function(t){return t===Xt||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,e,n){var i=n(275),o=n(10),a=i.key,s=i.map,l=i.store;i.exp({deleteMetadata:function(t,e){var n=arguments.length<3?Xt:a(arguments[2]),i=s(o(e),n,!1);if(i===Xt||!i.delete(t))return!1;if(i.size)return!0;var r=l.get(e);return r.delete(n),!!r.size||l.delete(e)}})},function(t,e,n){var i=n(275),r=n(10),o=n(57),a=i.has,s=i.get,l=i.key,u=function(t,e,n){if(a(t,e,n))return s(t,e,n);var i=o(e);return null!==i?u(t,i,n):Xt};i.exp({getMetadata:function(t,e){return u(t,r(e),arguments.length<3?Xt:l(arguments[2]))}})},function(t,e,n){var o=n(206),a=n(266),i=n(275),r=n(10),s=n(57),l=i.keys,u=i.key,c=function(t,e){var n=l(t,e),i=s(t);if(null===i)return n;var r=c(i,e);return r.length?n.length?a(new o(n.concat(r))):r:n};i.exp({getMetadataKeys:function(t){return c(r(t),arguments.length<2?Xt:u(arguments[1]))}})},function(t,e,n){var i=n(275),r=n(10),o=i.get,a=i.key;i.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?Xt:a(arguments[2]))}})},function(t,e,n){var i=n(275),r=n(10),o=i.keys,a=i.key;i.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?Xt:a(arguments[1]))}})},function(t,e,n){var i=n(275),r=n(10),o=n(57),a=i.has,s=i.key,l=function(t,e,n){if(a(t,e,n))return!0;var i=o(e);return null!==i&&l(t,i,n)};i.exp({hasMetadata:function(t,e){return l(t,r(e),arguments.length<3?Xt:s(arguments[2]))}})},function(t,e,n){var i=n(275),r=n(10),o=i.has,a=i.key;i.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?Xt:a(arguments[2]))}})},function(t,e,n){var i=n(275),r=n(10),o=n(19),a=i.key,s=i.set;i.exp({metadata:function(n,i){return function(t,e){s(n,i,(e!==Xt?r:o)(t),a(e))}}})},function(t,e,n){var i=n(6),r=n(201)(),o=n(2).process,a="process"==n(32)(o);i(i.G,{asap:function(t){var e=a&&o.domain;r(e?e.bind(t):t)}})},function(t,e,n){function r(t){return null==t?Xt:f(t)}function o(t){var e=t._c;e&&(t._c=Xt,e())}function a(t){return t._o===Xt}function s(t){a(t)||(t._o=Xt,o(t))}function i(e,t){p(e),this._c=Xt,this._o=e,e=new x(this);try{var n=t(e),i=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){i.unsubscribe()}:f(n),this._c=n)}catch(t){return void e.error(t)}a(this)&&o(this)}var l=n(6),u=n(2),c=n(7),h=n(201)(),d=n(23)("observable"),f=n(19),p=n(10),g=n(197),m=n(202),v=n(8),y=n(198),b=y.RETURN;i.prototype=m({},{unsubscribe:function(){s(this)}});var x=function(t){this._s=t};x.prototype=m({},{next:function(t){var e=this._s;if(!a(e)){var n=e._o;try{var i=r(n.next);if(i)return i.call(n,t)}catch(t){try{s(e)}finally{throw t}}}},error:function(t){var e=this._s;if(a(e))throw t;var n=e._o;e._o=Xt;try{var i=r(n.error);if(!i)throw t;t=i.call(n,t)}catch(t){try{o(e)}finally{throw t}}return o(e),t},complete:function(t){var e=this._s;if(!a(e)){var n=e._o;e._o=Xt;try{var i=r(n.complete);t=i?i.call(n,t):Xt}catch(t){try{o(e)}finally{throw t}}return o(e),t}}});var w=function(t){g(this,w,"Observable","_f")._f=f(t)};m(w.prototype,{subscribe:function(t){return new i(t,this._f)},forEach:function(i){var r=this;return new(c.Promise||u.Promise)(function(t,e){f(i);var n=r.subscribe({next:function(t){try{return i(t)}catch(t){e(t),n.unsubscribe()}},error:e,complete:t})})}}),m(w,{from:function(t){var e="function"==typeof this?this:w,n=r(p(t)[d]);if(n){var i=p(n.call(t));return i.constructor===e?i:new e(function(t){return i.subscribe(t)})}return new e(function(e){var n=!1;return h(function(){if(!n){try{if(y(t,!1,function(t){if(e.next(t),n)return b})===b)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,i=Array(e);t<e;)i[t]=arguments[t++];return new("function"==typeof this?this:w)(function(e){var n=!1;return h(function(){if(!n){for(var t=0;t<i.length;++t)if(e.next(i[t]),n)return;e.complete()}}),function(){n=!0}})}}),v(w.prototype,d,function(){return this}),l(l.G,{Observable:w}),n(186)("Observable")},function(t,e,n){var i=n(6),r=n(200);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,n){for(var i=n(183),r=n(16),o=n(2),a=n(8),s=n(135),l=n(23),u=l("iterator"),c=l("toStringTag"),h=s.Array,d=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],f=0;f<5;f++){var p,g=d[f],m=o[g],v=m&&m.prototype;if(v)for(p in v[u]||a(v,u,h),v[c]||a(v,c,g),s[g]=h,i)v[p]||r(v,p,i[p],!0)}},function(t,e,n){function i(n){return u?function(t,e){return n(a(s,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),e)}:n}var r=n(2),o=n(6),a=n(76),s=n(289),l=r.navigator,u=!!l&&/MSIE .\./.test(l.userAgent);o(o.G+o.B+o.F*u,{setTimeout:i(r.setTimeout),setInterval:i(r.setInterval)})},function(t,e,n){var i=n(290),u=n(76),c=n(19);t.exports=function(){for(var r=c(this),o=arguments.length,a=Array(o),t=0,s=i._,l=!1;t<o;)(a[t]=arguments[t++])===s&&(l=!0);return function(){var t,e=arguments.length,n=0,i=0;if(!l&&!e)return u(r,a,this);if(t=a.slice(),l)for(;n<o;n++)t[n]===s&&(t[n]=arguments[i++]);for(;i<e;)t.push(arguments[i++]);return u(r,t,this)}}},function(t,e,n){t.exports=n(2)},function(t,e,n){function d(t){var n=l(null);return t!=Xt&&(v(t)?m(t,!0,function(t,e){n[t]=e}):s(n,t)),n}function i(u){var c=1==u,h=4==u;return function(t,e,n){var i,r,o,a=f(e,n,3),s=w(t),l=c||7==u||2==u?new("function"==typeof this?this:d):Xt;for(i in s)if(_(s,i)&&(o=a(r=s[i],i,t),u))if(c)l[i]=o;else if(o)switch(u){case 2:l[i]=r;break;case 3:return!0;case 5:return r;case 6:return i;case 7:l[o[0]]=o[1]}else if(h)return!1;return 3==u||h?h:l}}function r(e){return function(t){return new k(t,e)}}var f=n(18),o=n(6),a=n(15),s=n(67),l=n(44),u=n(57),c=n(28),h=n(9),p=n(27),g=n(19),m=n(198),v=n(292),y=n(136),b=n(184),x=n(11),w=n(30),S=n(4),_=n(3),C=i(6),k=function(t,e){this._t=w(t),this._a=c(t),this._i=0,this._k=e};y(k,"Dict",function(){var t,e=this._t,n=this._a,i=this._k;do{if(this._i>=n.length)return this._t=Xt,b(1)}while(!_(e,t=n[this._i++]));return b(0,"keys"==i?t:"values"==i?e[t]:[t,e[t]])}),d.prototype=null,o(o.G+o.F,{Dict:d}),o(o.S,"Dict",{keys:r("keys"),values:r("values"),entries:r("entries"),forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findKey:C,mapPairs:i(7),reduce:function(t,e,n){g(e);var i,r,o=w(t),a=c(o),s=a.length,l=0;if(arguments.length<3){if(!s)throw TypeError("Reduce of empty object with no initial value");i=o[a[l++]]}else i=Object(n);for(;l<s;)_(o,r=a[l++])&&(i=e(i,o[r],r,t));return i},keyOf:p,includes:function(t,e){return(e==e?p(t,e):C(t,function(t){return t!=t}))!==Xt},has:_,get:function(t,e){if(_(t,e))return t[e]},set:function(t,e,n){return S&&e in Object?h.f(t,e,a(0,n)):t[e]=n,t},isDict:function(t){return x(t)&&u(t)===d.prototype}})},function(t,e,n){var i=n(73),r=n(23)("iterator"),o=n(135);t.exports=n(7).isIterable=function(t){var e=Object(t);return e[r]!==Xt||"@@iterator"in e||o.hasOwnProperty(i(e))}},function(t,e,n){var i=n(10),r=n(156);t.exports=n(7).getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},function(t,e,n){var i=n(2),r=n(7),o=n(6),a=n(289);o(o.G+o.F,{delay:function(e){return new(r.Promise||i.Promise)(function(t){setTimeout(a.call(t,!0),e)})}})},function(t,e,n){var i=n(290),r=n(6);n(7)._=i._=i._||{},r(r.P+r.F,"Function",{part:n(289)})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{isObject:n(11)})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{classof:n(73)})},function(t,e,n){var i=n(6),r=n(299);i(i.S+i.F,"Object",{define:r})},function(t,e,n){var a=n(9),s=n(49),l=n(221),u=n(30);t.exports=function(t,e){for(var n,i=l(u(e)),r=i.length,o=0;o<r;)a.f(t,n=i[o++],s.f(e,n));return t}},function(t,e,n){var i=n(6),r=n(299),o=n(44);i(i.S+i.F,"Object",{make:function(t,e){return r(o(t),e)}})},function(t,e,n){n(134)(Number,"Number",function(t){this._l=+t,this._i=0},function(){var t=this._i++,e=!(t<this._l);return{done:e,value:e?Xt:t}})},function(t,e,n){var i=n(6),r=n(303)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},function(t,e){t.exports=function(e,n){var i=n===Object(n)?function(t){return n[t]}:n;return function(t){return String(t).replace(e,i)}}},function(t,e,n){var i=n(6),r=n(303)(/[&<>"']/g,{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"});i(i.P+i.F,"String",{escapeHTML:function(){return r(this)}})},function(t,e,n){var i=n(6),r=n(303)(/&(?:amp|lt|gt|quot|apos);/g,{"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'"});i(i.P+i.F,"String",{unescapeHTML:function(){return r(this)}})}]),"undefined"!=typeof module&&module.exports?module.exports=i:"function"==typeof define&&define.amd?define(function(){return i}):r.core=i}(1,1),function(t,e){"object"==typeof module&&module.exports?module.exports=t.document?e(t):e:t.Highcharts=e(t)}("undefined"!=typeof window?window:this,function(t){var e,n,i,r,o,a,s,l,v,u,c,h,d,f,p,g,m,y,b,x,w,O,L,S,_,C,M,k,T,D,A,I,P,E,N,R,F,j,H,B,z,W,$,q,U,Y,G,X,V,Z,K,J,Q,tt,et,nt,it,rt,ot,at,st,lt,ut,ct,ht,dt,ft,pt,gt,mt,vt,yt,bt,xt,wt,St,_t,Ct,kt,Mt;e=window,n=e.document,i=e.navigator&&e.navigator.userAgent||"",r=n&&n.createElementNS&&!!n.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,o=/(edge|msie|trident)/i.test(i)&&!window.opera,a=!r,s=/Firefox/.test(i),l=s&&parseInt(i.split("Firefox/")[1],10)<4,t=e.Highcharts?e.Highcharts.error(16,!0):{product:"Highcharts",version:"5.0.14",deg2rad:2*Math.PI/360,doc:n,hasBidiBug:l,hasTouch:n&&void 0!==n.documentElement.ontouchstart,isMS:o,isWebKit:/AppleWebKit/.test(i),isFirefox:s,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(i),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:r,vml:a,win:e,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]},h=[],d=(v=t).charts,f=v.doc,p=v.win,v.error=function(t,e){if(t=v.isNumber(t)?"Highcharts error #"+t+": www.highcharts.com/errors/"+t:t,e)throw Error(t);p.console&&console.log(t)},v.Fx=function(t,e,n){this.options=e,this.elem=t,this.prop=n},v.Fx.prototype={dSetter:function(){var t,e=this.paths[0],n=this.paths[1],i=[],r=this.now,o=e.length;if(1===r)i=this.toD;else if(o===n.length&&r<1)for(;o--;)t=parseFloat(e[o]),i[o]=isNaN(t)?e[o]:r*parseFloat(n[o]-t)+t;else i=n;this.elem.attr("d",i,null,!0)},update:function(){var t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)},run:function(t,e,n){var i,r=this,o=function(t){return!o.stopped&&r.step(t)};this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,o.elem=this.elem,o.prop=this.prop,o()&&1===h.push(o)&&(o.timerId=setInterval(function(){for(i=0;i<h.length;i++)h[i]()||h.splice(i--,1);h.length||clearInterval(o.timerId)},13))},step:function(t){var e,n=+new Date,i=this.options,r=this.elem,o=i.complete,a=i.duration,s=i.curAnim;return t=!(r.attr&&!r.element||(t||n>=a+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=s[this.prop]=!0,v.objectEach(s,function(t){!0!==t&&(e=!1)}),e&&o&&o.call(r),1):(this.pos=i.easing((n-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),0)))},initPath:function(t,e,n){function i(t){var e,n;for(u=t.length;u--;)e="M"===t[u]||"L"===t[u],n=/[a-zA-Z]/.test(t[u+3]),e&&n&&t.splice(u+1,0,t[u+1],t[u+2],t[u+1],t[u+2])}function r(t,e){for(;t.length<s;){t[0]=e[s-t.length];var n=t.slice(0,f);[].splice.apply(t,[0,0].concat(n)),g&&(n=t.slice(t.length-f),[].splice.apply(t,[t.length,0].concat(n)),u--)}t[0]="M"}function o(t,e){for(var n=(s-t.length)/f;0<n&&n--;)(l=t.slice().splice(t.length/m-f,f*m))[0]=e[s-f-n*f],d&&(l[f-6]=l[f-2],l[f-5]=l[f-1]),[].splice.apply(t,[t.length/m,0].concat(l)),g&&n--}e=e||"";var a,s,l,u,c=t.startX,h=t.endX,d=-1<e.indexOf("C"),f=d?7:3;e=e.split(" "),n=n.slice();var p,g=t.isArea,m=g?2:1;if(d&&(i(e),i(n)),c&&h){for(u=0;u<c.length;u++){if(c[u]===h[0]){a=u;break}if(c[0]===h[h.length-c.length+u]){a=u,p=!0;break}}void 0===a&&(e=[])}return e.length&&v.isNumber(a)&&(s=n.length+a*m*f,p?(r(e,n),o(n,e)):(r(n,e),o(e,n))),[e,n]}},v.Fx.prototype.fillSetter=v.Fx.prototype.strokeSetter=function(){this.elem.attr(this.prop,v.color(this.start).tweenTo(v.color(this.end),this.pos),null,!0)},v.extend=function(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t},v.merge=function(){var t,e,n=arguments,i={},r=function(n,i){return"object"!=typeof n&&(n={}),v.objectEach(i,function(t,e){!v.isObject(t,!0)||v.isClass(t)||v.isDOMElement(t)?n[e]=i[e]:n[e]=r(n[e]||{},t)}),n};for(!0===n[0]&&(i=n[1],n=Array.prototype.slice.call(n,2)),e=n.length,t=0;t<e;t++)i=r(i,n[t]);return i},v.pInt=function(t,e){return parseInt(t,e||10)},v.isString=function(t){return"string"==typeof t},v.isArray=function(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t},v.isObject=function(t,e){return!(!t||"object"!=typeof t||e&&v.isArray(t))},v.isDOMElement=function(t){return v.isObject(t)&&"number"==typeof t.nodeType},v.isClass=function(t){var e=t&&t.constructor;return!(!v.isObject(t,!0)||v.isDOMElement(t)||!e||!e.name||"Object"===e.name)},v.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},v.erase=function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},v.defined=function(t){return null!=t},v.attr=function(n,t,e){var i;return v.isString(t)?v.defined(e)?n.setAttribute(t,e):n&&n.getAttribute&&(i=n.getAttribute(t)):v.defined(t)&&v.isObject(t)&&v.objectEach(t,function(t,e){n.setAttribute(e,t)}),i},v.splat=function(t){return v.isArray(t)?t:[t]},v.syncTimeout=function(t,e,n){if(e)return setTimeout(t,e,n);t.call(0,n)},v.pick=function(){var t,e,n=arguments,i=n.length;for(t=0;t<i;t++)if(null!=(e=n[t]))return e},v.css=function(t,e){v.isMS&&!v.svg&&e&&void 0!==e.opacity&&(e.filter="alpha(opacity="+100*e.opacity+")"),v.extend(t.style,e)},v.createElement=function(t,e,n,i,r){t=f.createElement(t);var o=v.css;return e&&v.extend(t,e),r&&o(t,{padding:0,border:"none",margin:0}),n&&o(t,n),i&&i.appendChild(t),t},v.extendClass=function(t,e){function n(){}return n.prototype=new t,v.extend(n.prototype,e),n},v.pad=function(t,e,n){return Array((e||2)+1-String(t).length).join(n||0)+t},v.relativeLength=function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},v.wrap=function(t,e,i){var r=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,n=this;return n.proceed=function(){r.apply(n,arguments.length?arguments:e)},t.unshift(r),t=i.apply(this,t),n.proceed=null,t}},v.getTZOffset=function(t){var e=v.Date;return 6e4*(e.hcGetTimezoneOffset&&e.hcGetTimezoneOffset(t)||e.hcTimezoneOffset||0)},v.dateFormat=function(n,i,t){if(!v.defined(i)||isNaN(i))return v.defaultOptions.lang.invalidDate||"";n=v.pick(n,"%Y-%m-%d %H:%M:%S");var e=new(f=v.Date)(i-v.getTZOffset(i)),r=e[f.hcGetHours](),o=e[f.hcGetDay](),a=e[f.hcGetDate](),s=e[f.hcGetMonth](),l=e[f.hcGetFullYear](),u=v.defaultOptions.lang,c=u.weekdays,h=u.shortWeekdays,d=v.pad,f=v.extend({a:h?h[o]:c[o].substr(0,3),A:c[o],d:d(a),e:d(a,2," "),w:o,b:u.shortMonths[s],B:u.months[s],m:d(s+1),y:l.toString().substr(2,2),Y:l,H:d(r),k:r,I:d(r%12||12),l:r%12||12,M:d(e[f.hcGetMinutes]()),p:r<12?"AM":"PM",P:r<12?"am":"pm",S:d(e.getSeconds()),L:d(Math.round(i%1e3),3)},v.dateFormats);return v.objectEach(f,function(t,e){for(;-1!==n.indexOf("%"+e);)n=n.replace("%"+e,"function"==typeof t?t(i):t)}),t?n.substr(0,1).toUpperCase()+n.substr(1):n},v.formatSingle=function(t,e){var n=/\.([0-9])/,i=v.defaultOptions.lang;return/f$/.test(t)?(n=(n=t.match(n))?n[1]:-1,null!==e&&(e=v.numberFormat(e,n,i.decimalPoint,-1<t.indexOf(",")?i.thousandsSep:""))):e=v.dateFormat(t,e),e},v.format=function(t,e){for(var n,i,r,o,a,s="{",l=!1,u=[];t&&-1!==(s=t.indexOf(s));){if(n=t.slice(0,s),l){for(o=(i=(n=n.split(":")).shift().split(".")).length,a=e,r=0;r<o;r++)a=a[i[r]];n.length&&(a=v.formatSingle(n.join(":"),a)),u.push(a)}else u.push(n);t=t.slice(s+1),s=(l=!l)?"}":"{"}return u.push(t),u.join("")},v.getMagnitude=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},v.normalizeTickInterval=function(t,e,n,i,r){var o,a=t;for(o=t/(n=v.pick(n,1)),e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=v.grep(e,function(t){return 0==t%1}):n<=.1&&(e=[1/n]))),i=0;i<e.length&&(a=e[i],!(r&&t<=a*n||!r&&o<=(e[i]+(e[i+1]||e[i]))/2));i++);return v.correctFloat(a*n,-Math.round(Math.log(.001)/Math.LN10))},v.stableSort=function(t,n){var i,e,r=t.length;for(e=0;e<r;e++)t[e].safeI=e;for(t.sort(function(t,e){return 0===(i=n(t,e))?t.safeI-e.safeI:i}),e=0;e<r;e++)delete t[e].safeI},v.arrayMin=function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},v.arrayMax=function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},v.destroyObjectProperties=function(n,i){v.objectEach(n,function(t,e){t&&t!==i&&t.destroy&&t.destroy(),delete n[e]})},v.discardElement=function(t){var e=v.garbageBin;e||(e=v.createElement("div")),t&&e.appendChild(t),e.innerHTML=""},v.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},v.setAnimation=function(t,e){e.renderer.globalAnimation=v.pick(t,e.options.chart.animation,!0)},v.animObject=function(t){return v.isObject(t)?v.merge(t):{duration:t?500:0}},v.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},v.numberFormat=function(t,e,n,i){t=+t||0,e=+e;var r,o,a=v.defaultOptions.lang,s=(t.toString().split(".")[1]||"").split("e")[0].length,l=t.toString().split("e");return-1===e?e=Math.min(s,20):v.isNumber(e)||(e=2),o=(Math.abs(l[1]?l[0]:t)+Math.pow(10,-Math.max(e,s)-1)).toFixed(e),r=3<(s=String(v.pInt(o))).length?s.length%3:0,n=v.pick(n,a.decimalPoint),i=v.pick(i,a.thousandsSep),t=(t<0?"-":"")+(r?s.substr(0,r)+i:""),t+=s.substr(r).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=n+o.slice(-e)),l[1]&&(t+="e"+l[1]),t},Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)},v.getStyle=function(t,e,n){return"width"===e?Math.min(t.offsetWidth,t.scrollWidth)-v.getStyle(t,"padding-left")-v.getStyle(t,"padding-right"):"height"===e?Math.min(t.offsetHeight,t.scrollHeight)-v.getStyle(t,"padding-top")-v.getStyle(t,"padding-bottom"):((t=p.getComputedStyle(t,void 0))&&(t=t.getPropertyValue(e),v.pick(n,!0)&&(t=v.pInt(t))),t)},v.inArray=function(t,e){return e.indexOf?e.indexOf(t):[].indexOf.call(e,t)},v.grep=function(t,e){return[].filter.call(t,e)},v.find=function(t,e){return[].find.call(t,e)},v.map=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n[i]=e.call(t[i],t[i],i,t);return n},v.offset=function(t){var e=f.documentElement;return{top:(t=t.getBoundingClientRect()).top+(p.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(p.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},v.stop=function(t,e){for(var n=h.length;n--;)h[n].elem!==t||e&&e!==h[n].prop||(h[n].stopped=!0)},v.each=function(t,e,n){return Array.prototype.forEach.call(t,e,n)},v.objectEach=function(t,e,n){for(var i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)},v.addEvent=function(e,t,n){function i(t){t.target=t.srcElement||p,n.call(e,t)}var r=e.hcEvents=e.hcEvents||{};return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&(e.hcEventsIE||(e.hcEventsIE={}),n.hcGetKey||(n.hcGetKey=v.uniqueKey()),e.hcEventsIE[n.hcGetKey]=i,e.attachEvent("on"+t,i)),r[t]||(r[t]=[]),r[t].push(n),function(){v.removeEvent(e,t,n)}},v.removeEvent=function(i,e,t){function r(t,e){i.removeEventListener?i.removeEventListener(t,e,!1):i.attachEvent&&(e=i.hcEventsIE[e.hcGetKey],i.detachEvent("on"+t,e))}function n(){var t,n;i.nodeName&&(e?(t={})[e]=!0:t=s,v.objectEach(t,function(t,e){if(s[e])for(n=s[e].length;n--;)r(e,s[e][n])}))}var o,a,s=i.hcEvents;s&&(e?(o=s[e]||[],t?(-1<(a=v.inArray(t,o))&&(o.splice(a,1),s[e]=o),r(e,t)):(n(),s[e]=[])):(n(),i.hcEvents={}))},v.fireEvent=function(t,e,n,i){var r,o,a;if(r=t.hcEvents,n=n||{},f.createEvent&&(t.dispatchEvent||t.fireEvent))(r=f.createEvent("Events")).initEvent(e,!0,!0),v.extend(r,n),t.dispatchEvent?t.dispatchEvent(r):t.fireEvent(e,r);else if(r)for(o=(r=r[e]||[]).length,n.target||v.extend(n,{preventDefault:function(){n.defaultPrevented=!0},target:t,type:e}),e=0;e<o;e++)(a=r[e])&&!1===a.call(t,n)&&n.preventDefault();i&&!n.defaultPrevented&&i(n)},v.animate=function(n,i,r){var o,a,s,t,l="";v.isObject(r)||(r={duration:(t=arguments)[2],easing:t[3],complete:t[4]}),v.isNumber(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=v.merge(i),v.objectEach(i,function(t,e){v.stop(n,e),s=new v.Fx(n,r,e),a=null,"d"===e?(s.paths=s.initPath(n,n.d,i.d),s.toD=i.d,o=0,a=1):n.attr?o=n.attr(e):(o=parseFloat(v.getStyle(n,e))||0,"opacity"!==e&&(l="px")),a||(a=t),a&&a.match&&a.match("px")&&(a=a.replace(/px/g,"")),s.run(o,a,l)})},v.seriesType=function(t,e,n,i,r){var o=v.getOptions(),a=v.seriesTypes;return o.plotOptions[t]=v.merge(o.plotOptions[e],n),a[t]=v.extendClass(a[e]||function(){},i),a[t].prototype.type=t,r&&(a[t].prototype.pointClass=v.extendClass(v.Point,r)),a[t]},v.uniqueKey=(u=Math.random().toString(36).substring(2,9),c=0,function(){return"highcharts-"+u+"-"+c++}),p.jQuery&&(p.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new(v[v.isString(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):d[v.attr(this[0],"data-highcharts-chart")]}),f&&!f.defaultView&&(v.getStyle=function(t,e){var n={width:"clientWidth",height:"clientHeight"}[e];return t.style[e]?v.pInt(t.style[e]):("opacity"===e&&(e="filter"),n?(t.style.zoom=1,Math.max(t[n]-2*v.getStyle(t,"padding"),0)):(t=t.currentStyle[e.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})],"filter"===e&&(t=t.replace(/alpha\(opacity=([0-9]+)\)/,function(t,e){return e/100})),""===t?1:v.pInt(t)))}),Array.prototype.forEach||(v.each=function(t,e,n){for(var i=0,r=t.length;i<r;i++)if(!1===e.call(n,t[i],i,t))return i}),Array.prototype.indexOf||(v.inArray=function(t,e){var n,i=0;if(e)for(n=e.length;i<n;i++)if(e[i]===t)return i;return-1}),Array.prototype.filter||(v.grep=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)e(t[i],i)&&n.push(t[i]);return n}),Array.prototype.find||(v.find=function(t,e){var n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]}),m=(g=t).each,y=g.isNumber,b=g.map,x=g.merge,w=g.pInt,g.Color=function(t){if(!(this instanceof g.Color))return new g.Color(t);this.init(t)},g.Color.prototype={parsers:[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[w(t[1]),w(t[2]),w(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[w(t[1]),w(t[2]),w(t[3]),1]}}],names:{none:"rgba(255,255,255,0)",white:"#ffffff",black:"#000000"},init:function(t){var e,n,i,r;if((this.input=t=this.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=b(t.stops,function(t){return new g.Color(t[1])});else if(t&&"#"===t.charAt()&&(e=t.length,t=parseInt(t.substr(1),16),7===e?n=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===e&&(n=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])),!n)for(i=this.parsers.length;i--&&!n;)(e=(r=this.parsers[i]).regex.exec(t))&&(n=r.parse(e));this.rgba=n||[]},get:function(n){var i,t=this.input,e=this.rgba;return this.stops?((i=x(t)).stops=[].concat(i.stops),m(this.stops,function(t,e){i.stops[e]=[i.stops[e][0],t.get(n)]})):i=e&&y(e[0])?"rgb"===n||!n&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===n?e[3]:"rgba("+e.join(",")+")":t,i},brighten:function(e){var t,n=this.rgba;if(this.stops)m(this.stops,function(t){t.brighten(e)});else if(y(e)&&0!==e)for(t=0;t<3;t++)n[t]+=w(255*e),n[t]<0&&(n[t]=0),255<n[t]&&(n[t]=255);return this},setOpacity:function(t){return this.rgba[3]=t,this},tweenTo:function(t,e){var n,i;return t=t.rgba.length?(n=this.rgba,((i=1!==(t=t.rgba)[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(t[0]+(n[0]-t[0])*(1-e))+","+Math.round(t[1]+(n[1]-t[1])*(1-e))+","+Math.round(t[2]+(n[2]-t[2])*(1-e))+(i?","+(t[3]+(n[3]-t[3])*(1-e)):"")+")"):t.input||"none"}},g.color=function(t){return new g.Color(t)},_=(O=t).addEvent,C=O.animate,M=O.attr,k=O.charts,T=O.color,D=O.css,A=O.createElement,I=O.defined,P=O.deg2rad,E=O.destroyObjectProperties,N=O.doc,R=O.each,F=O.extend,j=O.erase,H=O.grep,B=O.hasTouch,z=O.inArray,W=O.isArray,$=O.isFirefox,q=O.isMS,U=O.isObject,Y=O.isString,G=O.isWebKit,X=O.merge,V=O.noop,Z=O.objectEach,K=O.pick,J=O.pInt,Q=O.removeEvent,tt=O.stop,et=O.svg,nt=O.SVG_NS,it=O.symbolSizes,rt=O.win,L=O.SVGElement=function(){return this},F(L.prototype,{opacity:1,SVG_NS:nt,textProps:"direction fontSize fontWeight fontFamily fontStyle color lineHeight width textAlign textDecoration textOverflow textOutline".split(" "),init:function(t,e){this.element="span"===e?A(e):N.createElementNS(this.SVG_NS,e),this.renderer=t},animate:function(t,e,n){return 0!==(e=O.animObject(K(e,this.renderer.globalAnimation,!0))).duration?(n&&(e.complete=n),C(this,t,e)):(this.attr(t,null,n),e.step&&e.step.call(this)),this},colorGradient:function(t,e,n){var i,r,o,a,s,l,u,c,h,d,f,p=this.renderer,g=[];t.radialGradient?r="radialGradient":t.linearGradient&&(r="linearGradient"),r&&(o=t[r],s=p.gradients,u=t.stops,d=n.radialReference,W(o)&&(t[r]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&d&&!I(o.gradientUnits)&&(o=X(a=o,p.getRadialAttr(d,a),{gradientUnits:"userSpaceOnUse"})),Z(o,function(t,e){"id"!==e&&g.push(e,t)}),Z(u,function(t){g.push(t)}),s[g=g.join(",")]?d=s[g].attr("id"):(o.id=d=O.uniqueKey(),s[g]=l=p.createElement(r).attr(o).add(p.defs),l.radAttr=a,l.stops=[],R(u,function(t){h=0===t[1].indexOf("rgba")?(i=O.color(t[1]),c=i.get("rgb"),i.get("a")):(c=t[1],1),t=p.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":h}).add(l),l.stops.push(t)})),f="url("+p.url+"#"+d+")",n.setAttribute(e,f),n.gradient=g,t.toString=function(){return f})},applyTextOutline:function(t){var e,n,i,r,o,a=this.element;if(-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(a.style.fill))),t=t.split(" "),n=t[t.length-1],(i=t[0])&&"none"!==i&&O.svg){for(this.fakeTS=!0,t=[].slice.call(a.getElementsByTagName("tspan")),this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,n){return 2*e+n}),o=t.length;o--;)"highcharts-text-outline"===(e=t[o]).getAttribute("class")&&j(t,a.removeChild(e));r=a.firstChild,R(t,function(t,e){0===e&&(t.setAttribute("x",a.getAttribute("x")),e=a.getAttribute("y"),t.setAttribute("y",e||0),null===e&&a.setAttribute("y",0)),t=t.cloneNode(1),M(t,{class:"highcharts-text-outline",fill:n,stroke:n,"stroke-width":i,"stroke-linejoin":"round"}),a.insertBefore(t,r)})}},attr:function(n,t,e,i){var r,o,a,s,l=this.element,u=this;return"string"==typeof n&&void 0!==t&&(r=n,(n={})[r]=t),"string"==typeof n?u=(this[n+"Getter"]||this._defaultGetter).call(this,n,l):(Z(n,function(t,e){a=!1,i||tt(this,e),this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/.test(e)&&(o||(this.symbolAttr(n),o=!0),a=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),a||((s=this[e+"Setter"]||this._defaultSetter).call(this,t,e,l),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,s))},this),this.afterSetters()),e&&e(),u},afterSetters:function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},updateShadows:function(t,e,n){for(var i=this.shadows,r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},addClass:function(t,e){var n=this.attr("class")||"";return-1===n.indexOf(t)&&(e||(t=(n+(n?" ":"")+t).replace(" "," ")),this.attr("class",t)),this},hasClass:function(t){return-1!==z(t,(this.attr("class")||"").split(" "))},removeClass:function(t){return this.attr("class",(this.attr("class")||"").replace(t,""))},symbolAttr:function(e){var n=this;R("x y r start end width height innerR anchorX anchorY".split(" "),function(t){n[t]=K(e[t],n[t])}),n.attr({d:n.renderer.symbols[n.symbolName](n.x,n.y,n.width,n.height,n)})},clip:function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},crisp:function(t,e){var n,i=this,r={};return e=e||t.strokeWidth||0,n=Math.round(e)%2/2,t.x=Math.floor(t.x||i.x||0)+n,t.y=Math.floor(t.y||i.y||0)+n,t.width=Math.floor((t.width||i.width||0)-2*n),t.height=Math.floor((t.height||i.height||0)-2*n),I(t.strokeWidth)&&(t.strokeWidth=e),Z(t,function(t,e){i[e]!==t&&(i[e]=r[e]=t)}),r},css:function(t){var e,n,i=this.styles,r={},o=this.element,a="",s=!i,l=["textOutline","textOverflow","width"];return t&&t.color&&(t.fill=t.color),i&&Z(t,function(t,e){t!==i[e]&&(r[e]=t,s=!0)}),s&&(i&&(t=F(i,r)),e=this.textWidth=t&&t.width&&"auto"!==t.width&&"text"===o.nodeName.toLowerCase()&&J(t.width),this.styles=t,e&&!et&&this.renderer.forExport&&delete t.width,q&&!et?D(this.element,t):(n=function(t,e){return"-"+e.toLowerCase()},Z(t,function(t,e){-1===z(e,l)&&(a+=e.replace(/([A-Z])/g,n)+":"+t+";")}),a&&M(o,"style",a)),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))),this},strokeWidth:function(){return this["stroke-width"]||0},on:function(t,e){var n=this,i=n.element;return B&&"click"===t?(i.ontouchstart=function(t){n.touchEventFired=Date.now(),t.preventDefault(),e.call(i,t)},i.onclick=function(t){(-1===rt.navigator.userAgent.indexOf("Android")||1100<Date.now()-(n.touchEventFired||0))&&e.call(i,t)}):i["on"+t]=e,this},setRadialReference:function(t){var e=this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},translate:function(t,e){return this.attr({translateX:t,translateY:e})},invert:function(t){return this.inverted=t,this.updateTransform(),this},updateTransform:function(){var t=this.translateX||0,e=this.translateY||0,n=this.scaleX,i=this.scaleY,r=this.inverted,o=this.rotation,a=this.element;r&&(t+=this.width,e+=this.height),t=["translate("+t+","+e+")"],r?t.push("rotate(90) scale(-1,1)"):o&&t.push("rotate("+o+" "+(a.getAttribute("x")||0)+" "+(a.getAttribute("y")||0)+")"),(I(n)||I(i))&&t.push("scale("+K(n,1)+" "+K(i,1)+")"),t.length&&a.setAttribute("transform",t.join(" "))},toFront:function(){var t=this.element;return t.parentNode.appendChild(t),this},align:function(t,e,n){var i,r,o,a,s,l,u={};return o=(r=this.renderer).alignedObjects,t?(this.alignOptions=t,this.alignByTranslate=e,(!n||Y(n))&&(this.alignTo=i=n||"renderer",j(o,this),o.push(this),n=null)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=K(n,r[i],r),i=t.align,r=t.verticalAlign,o=(n.x||0)+(t.x||0),a=(n.y||0)+(t.y||0),"right"===i?s=1:"center"===i&&(s=2),s&&(o+=(n.width-(t.width||0))/s),u[e?"translateX":"x"]=Math.round(o),"bottom"===r?l=1:"middle"===r&&(l=2),l&&(a+=(n.height-(t.height||0))/l),u[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](u),this.placed=!0,this.alignAttr=u,this},getBBox:function(t,e){var n,i,r,o,a,s=this.renderer,l=this.element,u=this.styles,c=this.textStr,h=s.cache,d=s.cacheKeys;if(i=(e=K(e,this.rotation))*P,r=u&&u.fontSize,void 0!==c&&(-1===(a=c.toString()).indexOf("<")&&(a=a.replace(/[0-9]/g,"0")),a+=["",e||0,r,u&&u.width,u&&u.textOverflow].join()),a&&!t&&(n=h[a]),!n){if(l.namespaceURI===this.SVG_NS||s.forExport){try{(o=this.fakeTS&&function(e){R(l.querySelectorAll(".highcharts-text-outline"),function(t){t.style.display=e})})&&o("none"),n=l.getBBox?F({},l.getBBox()):{width:l.offsetWidth,height:l.offsetHeight},o&&o("")}catch(t){}(!n||n.width<0)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(s.isSVG&&(t=n.width,s=n.height,u&&"11px"===u.fontSize&&17===Math.round(s)&&(n.height=s=14),e&&(n.width=Math.abs(s*Math.sin(i))+Math.abs(t*Math.cos(i)),n.height=Math.abs(s*Math.cos(i))+Math.abs(t*Math.sin(i)))),a&&0<n.height){for(;250<d.length;)delete h[d.shift()];h[a]||d.push(a),h[a]=n}}return n},show:function(t){return this.attr({visibility:t?"inherit":"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(t){var e=this;e.animate({opacity:0},{duration:t||150,complete:function(){e.attr({y:-9999})}})},add:function(t){var e,n=this.renderer,i=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(i),this.onAdd&&this.onAdd(),this},safeRemoveChild:function(t){var e=t.parentNode;e&&e.removeChild(t)},destroy:function(){var n=this,t=n.element||{},e=n.renderer.isSVG&&"SPAN"===t.nodeName&&n.parentGroup,i=t.ownerSVGElement;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,tt(n),n.clipPath&&i&&(R(i.querySelectorAll("[clip-path]"),function(t){-1<t.getAttribute("clip-path").indexOf(n.clipPath.element.id+")")&&t.removeAttribute("clip-path")}),n.clipPath=n.clipPath.destroy()),n.stops){for(i=0;i<n.stops.length;i++)n.stops[i]=n.stops[i].destroy();n.stops=null}for(n.safeRemoveChild(t),n.destroyShadows();e&&e.div&&0===e.div.childNodes.length;)t=e.parentGroup,n.safeRemoveChild(e.div),delete e.div,e=t;return n.alignTo&&j(n.renderer.alignedObjects,n),Z(n,function(t,e){delete n[e]}),null},shadow:function(t,e,n){var i,r,o,a,s,l,u=[],c=this.element;if(t){if(!this.shadows){for(a=K(t.width,3),s=(t.opacity||.15)/a,l=this.parentInverted?"(-1,-1)":"("+K(t.offsetX,1)+", "+K(t.offsetY,1)+")",i=1;i<=a;i++)r=c.cloneNode(0),o=2*a+1-2*i,M(r,{isShadow:"true",stroke:t.color||"#000000","stroke-opacity":s*i,"stroke-width":o,transform:"translate"+l,fill:"none"}),n&&(M(r,"height",Math.max(M(r,"height")-o,0)),r.cutHeight=o),e?e.element.appendChild(r):c.parentNode.insertBefore(r,c),u.push(r);this.shadows=u}}else this.destroyShadows();return this},destroyShadows:function(){R(this.shadows||[],function(t){this.safeRemoveChild(t)},this),this.shadows=void 0},xGetter:function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},_defaultGetter:function(t){return t=K(this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},dSetter:function(t,e,n){t&&t.join&&(t=t.join(" ")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},dashstyleSetter:function(t){var e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){for(e=(t=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",")).length;e--;)t[e]=J(t[e])*n;t=t.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},alignSetter:function(t){this.element.setAttribute("text-anchor",{left:"start",center:"middle",right:"end"}[t])},opacitySetter:function(t,e,n){this[e]=t,n.setAttribute(e,t)},titleSetter:function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=N.createElementNS(this.SVG_NS,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(N.createTextNode(String(K(t),"").replace(/<[^>]*>/g,"")))},textSetter:function(t){t!==this.textStr&&(delete this.bBox,this.textStr=t,this.added&&this.renderer.buildText(this))},fillSetter:function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.colorGradient(t,e,n)},visibilitySetter:function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},zIndexSetter:function(t,e){var n,i,r,o=this.renderer,a=this.parentGroup,s=(a||o).element||o.box,l=this.element;if(n=this.added,I(t)&&(t=+(l.zIndex=t),this[e]===t&&(n=!1),this[e]=t),n){for((t=this.zIndex)&&a&&(a.handleZ=!0),e=s.childNodes,r=0;r<e.length&&!i;r++)n=(a=e[r]).zIndex,a!==l&&(J(n)>t||!I(t)&&I(n)||t<0&&!I(n)&&s!==o.box)&&(s.insertBefore(l,a),i=!0);i||s.appendChild(l)}return i},_defaultSetter:function(t,e,n){n.setAttribute(e,t)}}),L.prototype.yGetter=L.prototype.xGetter,L.prototype.translateXSetter=L.prototype.translateYSetter=L.prototype.rotationSetter=L.prototype.verticalAlignSetter=L.prototype.scaleXSetter=L.prototype.scaleYSetter=function(t,e){this[e]=t,this.doTransform=!0},L.prototype["stroke-widthSetter"]=L.prototype.strokeSetter=function(t,e,n){this[e]=t,this.stroke&&this["stroke-width"]?(L.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===e&&0===t&&this.hasStroke&&(n.removeAttribute("stroke"),this.hasStroke=!1)},S=O.SVGRenderer=function(){this.init.apply(this,arguments)},F(S.prototype,{Element:L,SVG_NS:nt,init:function(t,e,n,i,r,o){var a,s;a=(i=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(i))).element,t.appendChild(a),-1===t.innerHTML.indexOf("xmlns")&&M(a,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=a,this.boxWrapper=i,this.alignedObjects=[],this.url=($||G)&&N.getElementsByTagName("base").length?rt.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(N.createTextNode("Created with Highcharts 5.0.14")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),$&&t.getBoundingClientRect&&((e=function(){D(t,{left:0,top:0}),s=t.getBoundingClientRect(),D(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=_(rt,"resize",e))},getStyle:function(t){return this.style=F({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},setStyle:function(t){this.boxWrapper.css(this.getStyle(t))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),E(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:V,getRadialAttr:function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},getSpanWidth:function(t,e){var n=t.getBBox(!0).width;return!et&&this.forExport&&(n=this.measureSpanWidth(e.firstChild.data,t.styles)),n},applyEllipsis:function(t,e,n,i){function r(t){e.removeChild(e.firstChild),t&&e.appendChild(N.createTextNode(t))}var o,a,s=t.rotation,l=n,u=0,c=n.length;if(t.rotation=0,a=i<(l=this.getSpanWidth(t,e))){for(;u<=c;)o=Math.ceil((u+c)/2),r(l=n.substring(0,o)+""),l=this.getSpanWidth(t,e),u===c?u=c+1:i<l?c=o-1:u=o;0===c&&r("")}return t.rotation=s,a},buildText:function(d){function f(t){var e;return e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:s||x.style.fontSize||12,o?J(o):x.fontMetrics(e,t.getAttribute("style")?t:b).h}var p,g,m,v,t,y,b=d.element,x=this,w=x.forExport,e=K(d.textStr,"").toString(),n=-1!==e.indexOf("<"),i=b.childNodes,S=M(b,"x"),r=d.styles,_=d.textWidth,o=r&&r.lineHeight,a=r&&r.textOutline,C=r&&"ellipsis"===r.textOverflow,k=r&&"nowrap"===r.whiteSpace,s=r&&r.fontSize,l=i.length;if(r=_&&!d.added&&this.box,(t=[e,C,k,o,a,s,_].join())!==d.textCache){for(d.textCache=t;l--;)b.removeChild(i[l]);n||a||C||_||-1!==e.indexOf(" ")?(p=/<.*class="([^"]+)".*>/,g=/<.*style="([^"]+)".*>/,m=/<.*href="([^"]+)".*>/,r&&r.appendChild(b),e=n?e.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g):[e],e=H(e,function(t){return""!==t}),R(e,function(t,u){var c,h=0;t=t.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||"),c=t.split("|||"),R(c,function(t){if(""!==t||1===c.length){var e,n,i={},r=N.createElementNS(x.SVG_NS,"tspan");if(p.test(t)&&(e=t.match(p)[1],M(r,"class",e)),g.test(t)&&(n=t.match(g)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),M(r,"style",n)),m.test(t)&&!w&&(M(r,"onclick",'location.href="'+t.match(m)[1]+'"'),D(r,{cursor:"pointer"}))," "!==(t=(t.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">"))){if(r.appendChild(N.createTextNode(t)),h?i.dx=0:u&&null!==S&&(i.x=S),M(r,i),b.appendChild(r),!h&&y&&(!et&&w&&D(r,{display:"block"}),M(r,"dy",f(r))),_){i=t.replace(/([^\^])-/g,"$1- ").split(" "),e=1<c.length||u||1<i.length&&!k;var o,a=[],s=f(r),l=d.rotation;for(C&&(v=x.applyEllipsis(d,r,t,_));!C&&e&&(i.length||a.length);)d.rotation=0,o=x.getSpanWidth(d,r),t=_<o,void 0===v&&(v=t),t&&1!==i.length?(r.removeChild(r.firstChild),a.unshift(i.pop())):(i=a,a=[],i.length&&!k&&(r=N.createElementNS(nt,"tspan"),M(r,{dy:s,x:S}),n&&M(r,"style",n),b.appendChild(r)),_<o&&(_=o)),i.length&&r.appendChild(N.createTextNode(i.join(" ").replace(/- /g,"-")));d.rotation=l}h++}}}),y=y||b.childNodes.length}),v&&d.attr("title",d.textStr),r&&r.removeChild(b),a&&d.applyTextOutline&&d.applyTextOutline(a)):b.appendChild(N.createTextNode(e.replace(/&lt;/g,"<").replace(/&gt;/g,">")))}},getContrast:function(t){return 510<(t=T(t).rgba)[0]+t[1]+t[2]?"#000000":"#FFFFFF"},button:function(t,e,n,i,r,o,a,s,l){var u,c,h,d,f=this.label(t,e,n,l,null,null,null,null,"button"),p=0;return f.attr(X({padding:8,r:2},r)),r=X({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},r),u=r.style,delete r.style,o=X(r,{fill:"#e6e6e6"},o),c=o.style,delete o.style,a=X(r,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},a),h=a.style,delete a.style,s=X(r,{style:{color:"#cccccc"}},s),d=s.style,delete s.style,_(f.element,q?"mouseover":"mouseenter",function(){3!==p&&f.setState(1)}),_(f.element,q?"mouseout":"mouseleave",function(){3!==p&&f.setState(p)}),f.setState=function(t){1!==t&&(f.state=p=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f.attr([r,o,a,s][t||0]).css([u,c,h,d][t||0])},f.attr(r).css(F({cursor:"default"},u)),f.on("click",function(t){3!==p&&i.call(f,t)})},crispLine:function(t,e){return t[1]===t[4]&&(t[1]=t[4]=Math.round(t[1])-e%2/2),t[2]===t[5]&&(t[2]=t[5]=Math.round(t[2])+e%2/2),t},path:function(t){var e={fill:"none"};return W(t)?e.d=t:U(t)&&F(e,t),this.createElement("path").attr(e)},circle:function(t,e,n){return t=U(t)?t:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},arc:function(t,e,n,i,r,o){return U(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},rect:function(t,e,n,i,r,o){r=U(t)?t.r:r;var a=this.createElement("rect");return t=U(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},void 0!==o&&(t.strokeWidth=o,t=a.crisp(t)),t.fill="none",r&&(t.r=r),a.rSetter=function(t,e,n){M(n,{rx:t,ry:t})},a.attr(t)},setSize:function(t,e,n){var i=this.alignedObjects,r=i.length;for(this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:K(n,!0)?void 0:0});r--;)i[r].align()},g:function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},image:function(t,e,n,i,r){var o={preserveAspectRatio:"none"};return 1<arguments.length&&F(o,{x:e,y:n,width:i,height:r}),(o=this.createElement("image").attr(o)).element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",t):o.element.setAttribute("hc-svg-href",t),o},symbol:function(t,e,n,i,r,o){var a,s,l,u=this,c=/^url\((.*?)\)$/,h=c.test(t),d=!h&&(this.symbols[t]?t:"circle"),f=d&&this.symbols[d],p=I(e)&&f&&f.call(this.symbols,Math.round(e),Math.round(n),i,r,o);return f?((a=this.path(p)).attr("fill","none"),F(a,{symbolName:d,x:e,y:n,width:i,height:r}),o&&F(a,o)):h&&(s=t.match(c)[1],(a=this.image(s)).imgwidth=K(it[s]&&it[s].width,o&&o.width),a.imgheight=K(it[s]&&it[s].height,o&&o.height),l=function(){a.attr({width:a.width,height:a.height})},R(["width","height"],function(t){a[t+"Setter"]=function(t,e){var n={},i=this["img"+e],r="width"===e?"translateX":"translateY";this[e]=t,I(i)&&(this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(n[r]=((this[e]||0)-i)/2,this.attr(n)))}}),I(e)&&a.attr({x:e,y:n}),a.isImg=!0,I(a.imgwidth)&&I(a.imgheight)?l():(a.attr({width:0,height:0}),A("img",{onload:function(){var t=k[u.chartIndex];0===this.width&&(D(this,{position:"absolute",top:"-999em"}),N.body.appendChild(this)),it[s]={width:this.width,height:this.height},a.imgwidth=this.width,a.imgheight=this.height,a.element&&l(),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,!u.imgCount&&t&&t.onload&&t.onload()},src:s}),this.imgCount++)),a},symbols:{circle:function(t,e,n,i){return this.arc(t+n/2,e+i/2,n/2,i/2,{start:0,end:2*Math.PI,open:!1})},square:function(t,e,n,i){return["M",t,e,"L",t+n,e,t+n,e+i,t,e+i,"Z"]},triangle:function(t,e,n,i){return["M",t+n/2,e,"L",t+n,e+i,t,e+i,"Z"]},"triangle-down":function(t,e,n,i){return["M",t,e,"L",t+n,e,t+n/2,e+i,"Z"]},diamond:function(t,e,n,i){return["M",t+n/2,e,"L",t+n,e+i/2,t+n/2,e+i,t,e+i/2,"Z"]},arc:function(t,e,n,i,r){var o=r.start,a=r.r||n,s=r.r||i||n,l=r.end-.001;n=r.innerR,i=K(r.open,Math.abs(r.end-r.start-2*Math.PI)<.001);var u=Math.cos(o),c=Math.sin(o),h=Math.cos(l);return l=Math.sin(l),a=["M",t+a*u,e+s*c,"A",a,s,0,r=r.end-o-Math.PI<.001?0:1,1,t+a*h,e+s*l],I(n)&&a.push(i?"M":"L",t+n*h,e+n*l,"A",n,n,0,r,0,t+n*u,e+n*c),a.push(i?"":"Z"),a},callout:function(t,e,n,i,r){var o,a=Math.min(r&&r.r||0,n,i),s=a+6,l=r&&r.anchorX;return r=r&&r.anchorY,o=["M",t+a,e,"L",t+n-a,e,"C",t+n,e,t+n,e,t+n,e+a,"L",t+n,e+i-a,"C",t+n,e+i,t+n,e+i,t+n-a,e+i,"L",t+a,e+i,"C",t,e+i,t,e+i,t,e+i-a,"L",t,e+a,"C",t,e,t,e,t+a,e],l&&n<l?e+s<r&&r<e+i-s?o.splice(13,3,"L",t+n,r-6,t+n+6,r,t+n,r+6,t+n,e+i-a):o.splice(13,3,"L",t+n,i/2,l,r,t+n,i/2,t+n,e+i-a):l&&l<0?e+s<r&&r<e+i-s?o.splice(33,3,"L",t,r+6,t-6,r,t,r-6,t,e+a):o.splice(33,3,"L",t,i/2,l,r,t,i/2,t,e+a):r&&i<r&&t+s<l&&l<t+n-s?o.splice(23,3,"L",l+6,e+i,l,e+i+6,l-6,e+i,t+a,e+i):r&&r<0&&t+s<l&&l<t+n-s&&o.splice(3,3,"L",l-6,e,l,e-6,l+6,e,n-a,e),o}},clipRect:function(t,e,n,i){var r=O.uniqueKey(),o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},text:function(t,e,n,i){var r=!et&&this.forExport,o={};return!i||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),n&&(o.y=Math.round(n)),(t||0===t)&&(o.text=t),t=this.createElement("text").attr(o),r&&t.css({position:"absolute"}),i||(t.xSetter=function(t,e,n){var i,r,o=n.getElementsByTagName("tspan"),a=n.getAttribute(e);for(r=0;r<o.length;r++)(i=o[r]).getAttribute(e)===a&&i.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},fontMetrics:function(t,e){return t=t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize,{h:e=(t=/px/.test(t)?J(t):/em/.test(t)?parseFloat(t)*(e?this.fontMetrics(null,e.parentNode).f:16):12)<24?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},rotCorr:function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*P),4)),{x:-t/3*Math.sin(e*P),y:i}},label:function(t,e,n,i,r,o,a,s,l){var u,c,h,d,f,p,g,m,v,y,b,x,w,S=this,_=S.g("button"!==l&&"label"),C=_.text=S.text("",0,0,a).attr({zIndex:1}),k=0,M=3,T=0,D={},A=/^url\((.*?)\)$/.test(i),P=A;l&&_.addClass("highcharts-"+l),P=A,y=function(){return(m||0)%2/2},b=function(){var t=C.element.style,e={};c=(void 0===h||void 0===d||g)&&I(C.textStr)&&C.getBBox(),_.width=(h||c.width||0)+2*M+T,_.height=(d||c.height||0)+2*M,v=M+S.fontMetrics(t&&t.fontSize,C).b,P&&(u||(_.box=u=S.symbols[i]||A?S.symbol(i):S.rect(),u.addClass(("button"===l?"":"highcharts-label-box")+(l?" highcharts-"+l+"-box":"")),u.add(_),t=y(),e.x=t,e.y=(s?-v:0)+t),e.width=Math.round(_.width),e.height=Math.round(_.height),u.attr(F(e,D)),D={})},x=function(){var t,e=T+M;t=s?0:v,I(h)&&c&&("center"===g||"right"===g)&&(e+={center:.5,right:1}[g]*(h-c.width)),e===C.x&&t===C.y||(C.attr("x",e),void 0!==t&&C.attr("y",t)),C.x=e,C.y=t},w=function(t,e){u?u.attr(t,e):D[t]=e},_.onAdd=function(){C.add(_),_.attr({text:t||0===t?t:"",x:e,y:n}),u&&I(r)&&_.attr({anchorX:r,anchorY:o})},_.widthSetter=function(t){h=O.isNumber(t)?t:null},_.heightSetter=function(t){d=t},_["text-alignSetter"]=function(t){g=t},_.paddingSetter=function(t){I(t)&&t!==M&&(M=_.padding=t,x())},_.paddingLeftSetter=function(t){I(t)&&t!==T&&(T=t,x())},_.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==k&&(k=t,c&&_.attr({x:f}))},_.textSetter=function(t){void 0!==t&&C.textSetter(t),b(),x()},_["stroke-widthSetter"]=function(t,e){t&&(P=!0),m=this["stroke-width"]=t,w(e,t)},_.strokeSetter=_.fillSetter=_.rSetter=function(t,e){"r"!==e&&("fill"===e&&t&&(P=!0),_[e]=t),w(e,t)},_.anchorXSetter=function(t,e){r=_.anchorX=t,w(e,Math.round(t)-y()-f)},_.anchorYSetter=function(t,e){o=_.anchorY=t,w(e,t-p)},_.xSetter=function(t){_.x=t,k&&(t-=k*((h||c.width)+2*M)),f=Math.round(t),_.attr("translateX",f)},_.ySetter=function(t){p=_.y=Math.round(t),_.attr("translateY",p)};var E=_.css;return F(_,{css:function(e){if(e){var n={};e=X(e),R(_.textProps,function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])}),C.css(n)}return E.call(_,e)},getBBox:function(){return{width:c.width+2*M,height:c.height+2*M,x:c.x-M,y:c.y-M}},shadow:function(t){return t&&(b(),u&&u.shadow(t)),_},destroy:function(){Q(_.element,"mouseenter"),Q(_.element,"mouseleave"),C&&(C=C.destroy()),u&&(u=u.destroy()),L.prototype.destroy.call(_),_=S=b=x=w=null}})}}),O.Renderer=S,at=(ot=t).attr,st=ot.createElement,lt=ot.css,ut=ot.defined,ct=ot.each,ht=ot.extend,dt=ot.isFirefox,ft=ot.isMS,pt=ot.isWebKit,gt=ot.pInt,mt=ot.SVGRenderer,vt=ot.win,yt=ot.wrap,ht(ot.SVGElement.prototype,{htmlCss:function(t){var e=this.element;return(e=t&&"SPAN"===e.tagName&&t.width)&&(delete t.width,this.textWidth=e,this.updateTransform()),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=ht(this.styles,t),lt(this.element,t),this},htmlGetBBox:function(){var t=this.element;return"text"===t.nodeName&&(t.style.position="absolute"),{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var e=this.renderer,n=this.element,i=this.translateX||0,r=this.translateY||0,t=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],l=this.styles;if(lt(n,{marginLeft:i,marginTop:r}),this.shadows&&ct(this.shadows,function(t){lt(t,{marginLeft:i+1,marginTop:r+1})}),this.inverted&&ct(n.childNodes,function(t){e.invertChild(t,n)}),"SPAN"===n.tagName){var u=this.rotation,c=gt(this.textWidth),h=l&&l.whiteSpace,d=[u,a,n.innerHTML,this.textWidth,this.textAlign].join();d!==this.cTT&&(l=e.fontMetrics(n.style.fontSize).b,ut(u)&&this.setSpanRotation(u,s,l),lt(n,{width:"",whiteSpace:h||"nowrap"}),n.offsetWidth>c&&/[ \-]/.test(n.textContent||n.innerText)&&lt(n,{width:c+"px",display:"block",whiteSpace:h||"normal"}),this.getSpanCorrection(n.offsetWidth,l,s,u,a)),lt(n,{left:t+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),pt&&(l=n.offsetHeight),this.cTT=d}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var i={},r=ft?"-ms-transform":pt?"-webkit-transform":dt?"MozTransform":vt.opera?"-o-transform":"";i[r]=i.transform="rotate("+t+"deg)",i[r+(dt?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",lt(this.element,i)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),ht(mt.prototype,{html:function(t,e,n){function a(e,r){ct(["opacity","visibility"],function(t){yt(e,t+"Setter",function(t,e,n,i){t.call(this,e,n,i),r[n]=e})})}var s=this.createElement("span"),i=s.element,l=s.renderer,r=l.isSVG;return s.textSetter=function(t){t!==i.innerHTML&&delete this.bBox,i.innerHTML=this.textStr=t,s.htmlUpdateTransform()},r&&a(s,s.element.style),s.xSetter=s.ySetter=s.alignSetter=s.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),s[e]=t,s.htmlUpdateTransform()},s.attr({text:t,x:Math.round(e),y:Math.round(n)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),i.style.whiteSpace="nowrap",s.css=s.htmlCss,r&&(s.add=function(t){var e,r=l.box.parentNode,o=[];if(this.parentGroup=t){if(!(e=t.div)){for(;t;)o.push(t),t=t.parentGroup;ct(o.reverse(),function(n){var i,t=at(n.element,"class");t&&(t={className:t}),e=n.div=n.div||st("div",t,{position:"absolute",left:(n.translateX||0)+"px",top:(n.translateY||0)+"px",display:n.display,opacity:n.opacity,pointerEvents:n.styles&&n.styles.pointerEvents},e||r),i=e.style,ht(n,{classSetter:function(t){this.element.setAttribute("class",t),e.className=t},on:function(){return o[0].div&&s.on.apply({element:o[0].div},arguments),n},translateXSetter:function(t,e){i.left=t+"px",n[e]=t,n.doTransform=!0},translateYSetter:function(t,e){i.top=t+"px",n[e]=t,n.doTransform=!0}}),a(n,i)})}}else e=r;return e.appendChild(i),s.added=!0,s.alignOnAdd&&s.htmlUpdateTransform(),s}),s}}),function(D){var t,e,A=D.createElement,u=D.css,o=D.defined,c=D.deg2rad,i=D.discardElement,a=D.doc,P=D.each,r=D.erase,s=D.extend;t=D.extendClass;var n=D.isArray,l=D.isNumber,h=D.isObject,d=D.merge;e=D.noop;var g=D.pick,m=D.pInt,f=D.SVGElement,p=D.SVGRenderer,v=D.win;D.svg||((e={docMode8:a&&8===a.documentMode,init:function(t,e){var n=["<",e,' filled="f" stroked="f"'],i=["position: ","absolute",";"],r="div"===e;("shape"===e||r)&&i.push("left:0;top:0;width:1px;height:1px;"),i.push("visibility: ",r?"hidden":"visible"),n.push(' style="',i.join(""),'"/>'),e&&(n=r||"span"===e||"img"===e?n.join(""):t.prepVML(n),this.element=A(n)),this.renderer=t},add:function(t){var e=this.renderer,n=this.element,i=e.box,r=t&&t.inverted;i=t?t.element||t:i;return t&&(this.parentGroup=t),r&&e.invertChild(n,i),i.appendChild(n),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this.className&&this.attr("class",this.className),this},updateTransform:f.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=Math.cos(t*c),n=Math.sin(t*c);u(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-n,", M21=",n,", M22=",e,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(t,e,n,i,r){var o,a=i?Math.cos(i*c):1,s=i?Math.sin(i*c):0,l=g(this.elemHeight,this.element.offsetHeight);this.xCorr=a<0&&-t,this.yCorr=s<0&&-l,o=a*s<0,this.xCorr+=s*e*(o?1-n:n),this.yCorr-=a*e*(i?o?n:1-n:1),r&&"left"!==r&&(this.xCorr-=t*n*(a<0?-1:1),i&&(this.yCorr-=l*n*(s<0?-1:1)),u(this.element,{textAlign:r}))},pathToVML:function(t){for(var e=t.length,n=[];e--;)l(t[e])?n[e]=Math.round(10*t[e])-5:"Z"===t[e]?n[e]="x":(n[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(n[e+5]===n[e+7]&&(n[e+7]+=t[e+7]>t[e+5]?1:-1),n[e+6]===n[e+8]&&(n[e+8]+=t[e+8]>t[e+6]?1:-1)));return n.join(" ")||"x"},clip:function(t){var e,n=this;return t=t?(e=t.members,r(e,n),e.push(n),n.destroyClip=function(){r(e,n)},t.getCSS(n)):(n.destroyClip&&n.destroyClip(),{clip:n.docMode8?"inherit":"rect(auto)"}),n.css(t)},css:f.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&i(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),f.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=v.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var n;return 9!==(n=(t=t.split(/[ ,]/)).length)&&11!==n||(t[n-4]=t[n-2]=m(t[n-2])-10*e),t.join(" ")},shadow:function(t,e,n){var i,r,o,a,s,l,u,c=[],h=this.element,d=this.renderer,f=h.style,p=h.path;if(p&&"string"!=typeof p.value&&(p="x"),s=p,t){for(l=g(t.width,3),u=(t.opacity||.15)/l,i=1;i<=3;i++)a=2*l+1-2*i,n&&(s=this.cutOffPath(p.value,.5+a)),o=['<shape isShadow="true" strokeweight="',a,'" filled="false" path="',s,'" coordsize="10 10" style="',h.style.cssText,'" />'],r=A(d.prepVML(o),null,{left:m(f.left)+g(t.offsetX,1),top:m(f.top)+g(t.offsetY,1)}),n&&(r.cutOff=1+a),o=['<stroke color="',t.color||"#000000",'" opacity="',u*i,'"/>'],A(d.prepVML(o),null,null,r),e?e.element.appendChild(r):h.parentNode.insertBefore(r,h),c.push(r);this.shadows=c}return this},updateShadows:e,setAttr:function(t,e){this.docMode8?this.element[t]=e:this.element.setAttribute(t,e)},classSetter:function(t){(this.added?this.element:this).className=t},dashstyleSetter:function(t,e,n){(n.getElementsByTagName("stroke")[0]||A(this.renderer.prepVML(["<stroke/>"]),null,null,n))[e]=t||"solid",this[e]=t},dSetter:function(t,e,n){var i=this.shadows;if(t=t||[],this.d=t.join&&t.join(" "),n.path=t=this.pathToVML(t),i)for(n=i.length;n--;)i[n].path=i[n].cutOff?this.cutOffPath(t,i[n].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,n){var i=n.nodeName;"SPAN"===i?n.style.color=t:"IMG"!==i&&(n.filled="none"!==t,this.setAttr("fillcolor",this.renderer.color(t,n,e,this)))},"fill-opacitySetter":function(t,e,n){A(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,n)},opacitySetter:e,rotationSetter:function(t,e,n){n=n.style,this[e]=n[e]=t,n.left=-Math.round(Math.sin(t*c)+1)+"px",n.top=Math.round(Math.cos(t*c))+"px"},strokeSetter:function(t,e,n){this.setAttr("strokecolor",this.renderer.color(t,n,e,this))},"stroke-widthSetter":function(t,e,n){n.stroked=!!t,this[e]=t,l(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(e,n,t){"inherit"===e&&(e="visible"),this.shadows&&P(this.shadows,function(t){t.style[n]=e}),"DIV"===t.nodeName&&(e="hidden"===e?"-999em":0,this.docMode8||(t.style[n]=e?"visible":"hidden"),n="top"),t.style[n]=e},xSetter:function(t,e,n){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):n.style[e]=t},zIndexSetter:function(t,e,n){n.style[e]=t}})["stroke-opacitySetter"]=e["fill-opacitySetter"],D.VMLElement=e=t(f,e),e.prototype.ySetter=e.prototype.widthSetter=e.prototype.heightSetter=e.prototype.xSetter,e={Element:e,isIE8:-1<v.navigator.userAgent.indexOf("MSIE 8.0"),init:function(t,e,n){var i,r;if(this.alignedObjects=[],r=(i=this.createElement("div").css({position:"relative"})).element,t.appendChild(i.element),this.isVML=!0,this.box=r,this.boxWrapper=i,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),!a.namespaces.hcv){a.namespaces.add("hcv","urn:schemas-microsoft-com:vml");try{a.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}catch(t){a.styleSheets[0].cssText+="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(t,e,n,i){var r=this.createElement(),o=h(t);return s(r,{members:[],count:0,left:(o?t.x:t)+1,top:(o?t.y:e)+1,width:(o?t.width:n)-1,height:(o?t.height:i)-1,getCSS:function(t){var e=(o=t.element).nodeName,n=t.inverted,i=this.top-("shape"===e?o.offsetTop:0),r=this.left,o=r+this.width,a=i+this.height;i={clip:"rect("+Math.round(n?r:i)+"px,"+Math.round(n?a:o)+"px,"+Math.round(n?o:a)+"px,"+Math.round(n?i:r)+"px)"};return!n&&t.docMode8&&"DIV"===e&&s(i,{width:o+"px",height:a+"px"}),i},updateClipping:function(){P(r.members,function(t){t.element&&t.css(r.getCSS(t))})}})},color:function(t,e,n,i){var r,o,a,s=this,l=/^rgba/,u="none";if(t&&t.linearGradient?a="gradient":t&&t.radialGradient&&(a="pattern"),a){var c,h,d,f,p,g,m,v=t.linearGradient||t.radialGradient,y="";t=t.stops;function b(){o=['<fill colors="'+w.join(",")+'" opacity="',p,'" o:opacity2="',f,'" type="',a,'" ',y,'focus="100%" method="any" />'],A(s.prepVML(o),null,null,e)}var x,w=[];if(d=t[0],x=t[t.length-1],0<d[0]&&t.unshift([0,d[1]]),x[0]<1&&t.push([1,x[1]]),P(t,function(t,e){h=l.test(t[1])?(r=D.color(t[1]),c=r.get("rgb"),r.get("a")):(c=t[1],1),w.push(100*t[0]+"% "+c),e?(p=h,g=c):(f=h,m=c)}),"fill"===n)if("gradient"===a)n=v.x1||v[0]||0,t=v.y1||v[1]||0,d=v.x2||v[2]||0,v=v.y2||v[3]||0,y='angle="'+(90-180*Math.atan((v-t)/(d-n))/Math.PI)+'"',b();else{var S,_=2*(u=v.r),C=2*u,k=v.cx,M=v.cy,T=e.radialReference;u=function(){T&&(S=i.getBBox(),k+=(T[0]-S.x)/S.width-.5,M+=(T[1]-S.y)/S.height-.5,_*=T[2]/S.width,C*=T[2]/S.height),y='src="'+D.getOptions().global.VMLRadialGradientURL+'" size="'+_+","+C+'" origin="0.5,0.5" position="'+k+","+M+'" color2="'+m+'" ',b()};i.added?u():i.onAdd=u,u=g}else u=c}else u=l.test(t)&&"IMG"!==e.tagName?(r=D.color(t),i[n+"-opacitySetter"](r.get("a"),n,e),r.get("rgb")):((u=e.getElementsByTagName(n)).length&&(u[0].opacity=1,u[0].type="solid"),t);return u},prepVML:function(t){var e=this.isIE8;return t=t.join(""),t=e?-1===(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />')).indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);'):t.replace("<","<hcv:")},text:p.prototype.html,path:function(t){var e={coordsize:"10 10"};return n(t)?e.d=t:h(t)&&s(e,t),this.createElement("shape").attr(e)},circle:function(t,e,n){var i=this.symbol("circle");return h(t)&&(n=t.r,e=t.y,t=t.x),i.isCircle=!0,i.r=n,i.attr({x:t,y:e})},g:function(t){var e;return t&&(e={className:"highcharts-"+t,class:"highcharts-"+t}),this.createElement("div").attr(e)},image:function(t,e,n,i,r){var o=this.createElement("img").attr({src:t});return 1<arguments.length&&o.attr({x:e,y:n,width:i,height:r}),o},createElement:function(t){return"rect"===t?this.symbol(t):p.prototype.createElement.call(this,t)},invertChild:function(e,t){var n=this;t=t.style;var i="IMG"===e.tagName&&e.style;u(e,{flip:"x",left:m(t.width)-(i?m(i.top):1),top:m(t.height)-(i?m(i.left):1),rotation:-90}),P(e.childNodes,function(t){n.invertChild(t,e)})},symbols:{arc:function(t,e,n,i,r){var o=r.start,a=r.end,s=r.r||n||i;n=r.innerR,i=Math.cos(o);var l=Math.sin(o),u=Math.cos(a),c=Math.sin(a);return 0==a-o?["x"]:(o=["wa",t-s,e-s,t+s,e+s,t+s*i,e+s*l,t+s*u,e+s*c],r.open&&!n&&o.push("e","M",t,e),o.push("at",t-n,e-n,t+n,e+n,t+n*u,e+n*c,t+n*i,e+n*l,"x","e"),o.isArc=!0,o)},circle:function(t,e,n,i,r){return r&&o(r.r)&&(n=i=2*r.r),r&&r.isCircle&&(t-=n/2,e-=i/2),["wa",t,e,t+n,e+i,t+n,e+i/2,t+n,e+i/2,"e"]},rect:function(t,e,n,i,r){return p.prototype.symbols[o(r)&&r.r?"callout":"square"].call(0,t,e,n,i,r)}}},D.VMLRenderer=t=function(){this.init.apply(this,arguments)},t.prototype=d(p.prototype,e),D.Renderer=t),p.prototype.measureSpanWidth=function(t,e){var n=a.createElement("span");return t=a.createTextNode(t),n.appendChild(t),u(n,e),this.box.appendChild(n),e=n.offsetWidth,i(n),e}}(t),function(i){function e(){var s,t=i.defaultOptions.global,l=t.useUTC,e=l?"getUTC":"get",n=l?"setUTC":"set";i.Date=s=t.Date||o.Date,s.hcTimezoneOffset=l&&t.timezoneOffset,s.hcGetTimezoneOffset=function(){var e=i.defaultOptions.global,n=o.moment;if(e.timezone){if(n)return function(t){return-n.tz(t,e.timezone).utcOffset()};i.error(25)}return e.useUTC&&e.getTimezoneOffset}(),s.hcMakeTime=function(t,e,n,i,r,o){var a;return l?(a=s.UTC.apply(0,arguments),a+=u(a)):a=new s(t,e,c(n,1),c(i,0),c(r,0),c(o,0)).getTime(),a},r("Minutes Hours Day Date Month FullYear".split(" "),function(t){s["hcGet"+t]=e+t}),r("Milliseconds Seconds Minutes Hours Date Month FullYear".split(" "),function(t){s["hcSet"+t]=n+t})}var t=i.color,r=i.each,u=i.getTZOffset,n=i.merge,c=i.pick,o=i.win;i.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{useUTC:!0,VMLRadialGradientURL:"http://code.highcharts.com/5.0.14/gfx/vml-radial-gradient.png"},chart:{borderRadius:0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:i.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:i.isTouchDevice?25:10,backgroundColor:t("#f7f7f7").setOpacity(.85).get(),borderWidth:1,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}"></span> {series.name}: <b>{point.y}</b><br/>',shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},i.setOptions=function(t){return i.defaultOptions=n(!0,i.defaultOptions,t),e(),i.defaultOptions},i.getOptions=function(){return i.defaultOptions},i.defaultPlotOptions=i.defaultOptions.plotOptions,e()}(t),xt=(bt=t).correctFloat,wt=bt.defined,St=bt.destroyObjectProperties,_t=bt.isNumber,Ct=bt.merge,kt=bt.pick,Mt=bt.deg2rad,bt.Tick=function(t,e,n,i){this.axis=t,this.pos=e,this.type=n||"",this.isNewLabel=this.isNew=!0,n||i||this.addLabel()},bt.Tick.prototype={addLabel:function(){var t,e=this.axis,n=e.options,i=e.chart,r=e.categories,o=e.names,a=this.pos,s=n.labels,l=a===(c=e.tickPositions)[0],u=a===c[c.length-1],c=(o=r?kt(r[a],o[a],a):a,r=this.label,c.info);e.isDatetimeAxis&&c&&(t=n.dateTimeLabelFormats[c.higherRanks[a]||c.unitName]),this.isFirst=l,this.isLast=u,n=e.labelFormatter.call({axis:e,chart:i,isFirst:l,isLast:u,dateTimeLabelFormat:t,value:e.isLog?xt(e.lin2log(o)):o,pos:a}),wt(r)?r&&r.attr({text:n}):(this.labelLength=(this.label=r=wt(n)&&s.enabled?i.renderer.text(n,0,0,s.useHTML).css(Ct(s.style)).add(e.labelGroup):null)&&r.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(t){var e,n=this.axis,i=t.x,r=n.chart.chartWidth,o=n.chart.spacing,a=kt(n.labelLeft,Math.min(n.pos,o[3])),s=(o=kt(n.labelRight,Math.max(n.pos+n.len,r-o[1])),this.label),l=this.rotation,u={left:0,center:.5,right:1}[n.labelAlign],c=s.getBBox().width,h=n.getSlotWidth(),d=h,f=1,p={};l?l<0&&i-u*c<a?e=Math.round(i/Math.cos(l*Mt)-a):0<l&&o<i+u*c&&(e=Math.round((r-i)/Math.cos(l*Mt))):(r=i+(1-u)*c,i-u*c<a?d=t.x+d*(1-u)-a:o<r&&(d=o-t.x+d*u,f=-1),(d=Math.min(h,d))<h&&"center"===n.labelAlign&&(t.x+=f*(h-d-u*(h-Math.min(c,d)))),(d<c||n.autoRotation&&(s.styles||{}).width)&&(e=d)),e&&(p.width=e,(n.options.labels.style||{}).textOverflow||(p.textOverflow="ellipsis"),s.css(p))},getPosition:function(t,e,n,i){var r=this.axis,o=r.chart,a=i&&o.oldChartHeight||o.chartHeight;return{x:t?r.translate(e+n,null,null,i)+r.transB:r.left+r.offset+(r.opposite?(i&&o.oldChartWidth||o.chartWidth)-r.right-r.left:0),y:t?a-r.bottom+r.offset-(r.opposite?r.height:0):a-r.translate(e+n,null,null,i)-r.transB}},getLabelPosition:function(t,e,n,i,r,o,a,s){var l=this.axis,u=l.transA,c=l.reversed,h=l.staggerLines,d=l.tickRotCorr||{x:0,y:0},f=r.y;return wt(f)||(f=0===l.side?n.rotation?-8:-n.getBBox().height:2===l.side?d.y+8:Math.cos(n.rotation*Mt)*(d.y-n.getBBox(!1,0).height/2)),t=t+r.x+d.x-(o&&i?o*u*(c?-1:1):0),e=e+f-(o&&!i?o*u*(c?1:-1):0),h&&(n=a/(s||1)%h,l.opposite&&(n=h-n-1),e+=l.labelOffset/h*n),{x:t,y:Math.round(e)}},getMarkPath:function(t,e,n,i,r,o){return o.crispLine(["M",t,e,"L",t+(r?0:-n),e+(r?n:0)],i)},renderGridLine:function(t,e,n){var i=this.axis,r=i.options,o=this.gridLine,a={},s=this.pos,l=this.type,u=i.tickmarkOffset,c=i.chart.renderer,h=l?l+"Grid":"grid",d=r[h+"LineWidth"],f=r[h+"LineColor"];r=r[h+"LineDashStyle"],o||(a.stroke=f,a["stroke-width"]=d,r&&(a.dashstyle=r),l||(a.zIndex=1),t&&(a.opacity=0),this.gridLine=o=c.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(i.gridGroup)),!t&&o&&(t=i.getPlotLinePath(s+u,o.strokeWidth()*n,t,!0))&&o[this.isNew?"attr":"animate"]({d:t,opacity:e})},renderMark:function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=a?a+"Tick":"tick",l=i.tickSize(s),u=this.mark,c=!u,h=t.x;t=t.y;var d=kt(r[s+"Width"],!a&&i.isXAxis?1:0);r=r[s+"Color"],l&&(i.opposite&&(l[0]=-l[0]),c&&(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),u.attr({stroke:r,"stroke-width":d})),u[c?"attr":"animate"]({d:this.getMarkPath(h,t,l[0],u.strokeWidth()*n,i.horiz,o),opacity:e}))},renderLabel:function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,u=l.step,c=r.tickmarkOffset,h=!0,d=t.x;t=t.y,s&&_t(d)&&(s.xy=t=this.getLabelPosition(d,t,s,o,l,c,i,u),this.isFirst&&!this.isLast&&!kt(a.showFirstLabel,1)||this.isLast&&!this.isFirst&&!kt(a.showLastLabel,1)?h=!1:!o||r.isRadial||l.step||l.rotation||e||0===n||this.handleOverflow(t),u&&i%u&&(h=!1),h&&_t(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(t,e,n){var i=(s=this.axis).horiz,r=this.getPosition(i,this.pos,s.tickmarkOffset,e),o=r.x,a=r.y,s=i&&o===s.pos+s.len||!i&&a===s.pos?-1:1;n=kt(n,1),this.isActive=!0,this.renderGridLine(e,n,s),this.renderMark(r,n,s),this.renderLabel(r,e,n,t)},destroy:function(){St(this,this.axis)}};var Tt,Dt,At,Pt,Et,Ot,Lt,It,Nt,Rt,Ft,jt,Ht,Bt,zt,Wt,$t,qt,Ut,Yt,Gt,Xt,Vt,Zt,Kt,Jt,Qt,te,ee,ne,ie,re,oe,ae,se,le,ue,ce,he,de,fe,pe,ge,me,ve,ye,be,xe,we,Se,_e,Ce,ke,Me,Te,De,Ae,Pe,Ee,Oe,Le,Ie,Ne,Re,Fe,je,He,Be,ze,We,$e,qe,Ue,Ye,Ge,Xe,Ve,Ze,Ke,Je,Qe,tn,en,nn,rn,on,an,sn,ln,un,cn,hn,dn,fn,pn,gn,mn,vn,yn,bn,xn,wn,Sn,_n,Cn,kn,Mn,Tn,Dn,An,Pn,En,On,Ln,In,Nn,Rn,Fn,jn,Hn,Bn,zn,Wn,$n,qn,Un,Yn,Gn,Xn,Vn,Zn,Kn,Jn,Qn,ti,ei,ni,ii,ri,oi,ai,si,li,ui,ci,hi,di,fi,pi,gi,mi,vi,yi,bi,xi,wi,Si,_i,Ci,ki,Mi,Ti,Di,Ai,Pi,Ei,Oi,Li,Ii,Ni,Ri,Fi,ji,Hi,Bi,zi,Wi,$i,qi,Ui,Yi,Gi,Xi,Vi,Zi,Ki,Ji,Qi,tr,er,nr,ir,rr,or,ar,sr,lr,ur,cr,hr,dr,fr,pr,gr,mr,vr,yr,br,xr,wr,Sr,_r,Cr,kr,Mr,Tr,Dr,Ar,Pr,Er,Or,Lr,Ir,Nr,Rr,Fr,jr,Hr,Br,zr,Wr,$r,qr,Ur,Yr,Gr,Xr,Vr,Zr,Kr,Jr,Qr,to,eo,no,io,ro,oo,ao,so,lo,uo,co,ho,fo,po,go,mo,vo,yo,bo,xo,wo,So,_o,Co,ko,Mo,To,Do,Ao,Po,Eo,Oo,Lo,Io,No=function(x){function t(){this.init.apply(this,arguments)}var a=x.addEvent,b=x.animObject,c=x.arrayMax,h=x.arrayMin,s=x.color,w=x.correctFloat,u=x.defaultOptions,S=x.defined,d=x.deg2rad,o=x.destroyObjectProperties,_=x.each,l=x.extend,C=x.fireEvent,f=x.format,k=x.getMagnitude,p=x.grep,g=x.inArray,m=x.isArray,M=x.isNumber,v=x.isString,y=x.merge,T=x.normalizeTickInterval,D=x.objectEach,A=x.pick,P=x.removeEvent,E=x.splat,O=x.syncTimeout,L=x.Tick;return x.extend(t.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,labels:{enabled:!0,style:{color:"#666666",cursor:"default",fontSize:"11px"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,formatter:function(){return x.numberFormat(this.total,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"#000000",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(t,e){var n=e.isX,i=this;i.chart=t,i.horiz=t.inverted&&!i.isZAxis?!n:n,i.isXAxis=n,i.coll=i.coll||(n?"xAxis":"yAxis"),i.opposite=e.opposite,i.side=e.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(e);var r=this.options,o=r.type;i.labelFormatter=r.labels.formatter||i.defaultLabelFormatter,i.userOptions=e,i.minPixelPadding=0,i.reversed=r.reversed,i.visible=!1!==r.visible,i.zoomEnabled=!1!==r.zoomEnabled,i.hasNames="category"===o||!0===r.categories,i.categories=r.categories||i.hasNames,i.names=i.names||[],i.plotLinesAndBandsGroups={},i.isLog="logarithmic"===o,i.isDatetimeAxis="datetime"===o,i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog,i.isLinked=S(r.linkedTo),i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=r.minRange||r.maxZoom,i.range=r.range,i.offset=r.offset||0,i.stacks={},i.oldStacks={},i.stacksTouched=0,i.max=null,i.min=null,i.crosshair=A(r.crosshair,E(t.options.tooltip.crosshairs)[n?0:1],!1),e=i.options.events,-1===g(i,t.axes)&&(n?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&!i.isZAxis&&n&&void 0===i.reversed&&(i.reversed=!0),D(e,function(t,e){a(i,e,t)}),i.lin2log=r.linearToLogConverter||i.lin2log,i.isLog&&(i.val2lin=i.log2lin,i.lin2val=i.lin2log)},setOptions:function(t){this.options=y(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],y(u[this.coll],t))},defaultLabelFormatter:function(){var t,e=this.axis,n=this.value,i=e.categories,r=this.dateTimeLabelFormat,o=(a=u.lang).numericSymbols,a=a.numericSymbolMagnitude||1e3,s=o&&o.length,l=e.options.labels.format;e=e.isLog?Math.abs(n):e.tickInterval;if(l)t=f(l,this);else if(i)t=n;else if(r)t=x.dateFormat(r,n);else if(s&&1e3<=e)for(;s--&&void 0===t;)(i=Math.pow(a,s+1))<=e&&0==10*n%i&&null!==o[s]&&0!==n&&(t=x.numberFormat(n/i,-1)+o[s]);return void 0===t&&(t=1e4<=Math.abs(n)?x.numberFormat(n,-1):x.numberFormat(n,-1,void 0,"")),t},getSeriesExtremes:function(){var r=this,o=r.chart;r.hasVisibleSeries=!1,r.dataMin=r.dataMax=r.threshold=null,r.softThreshold=!r.isXAxis,r.buildStacks&&r.buildStacks(),_(r.series,function(t){if(t.visible||!o.options.chart.ignoreHiddenSeries){var e,n=t.options,i=n.threshold;r.hasVisibleSeries=!0,r.positiveValuesOnly&&i<=0&&(i=null),r.isXAxis?(n=t.xData).length&&(t=h(n),M(t)||t instanceof Date||(n=p(n,function(t){return M(t)}),t=h(n)),r.dataMin=Math.min(A(r.dataMin,n[0]),t),r.dataMax=Math.max(A(r.dataMax,n[0]),c(n))):(t.getExtremes(),e=t.dataMax,t=t.dataMin,S(t)&&S(e)&&(r.dataMin=Math.min(A(r.dataMin,t),t),r.dataMax=Math.max(A(r.dataMax,e),e)),S(i)&&(r.threshold=i),(!n.softThreshold||r.positiveValuesOnly)&&(r.softThreshold=!1))}})},translate:function(t,e,n,i,r,o){var a=this.linkedParent||this,s=1,l=0,u=i?a.oldTransA:a.transA;i=i?a.oldMin:a.min;var c=a.minPixelPadding;return r=(a.isOrdinal||a.isBroken||a.isLog&&r)&&a.lin2val,u||(u=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(l-=(s*=-1)*(a.sector||a.len)),e?(t=(t*s+l-c)/u+i,r&&(t=a.lin2val(t))):(r&&(t=a.val2lin(t)),t=s*(t-i)*u+l+s*c+(M(o)?u*o:0)),t},toPixels:function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},toValue:function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(t,e,n,i,r){var o,a,s,l=this.chart,u=this.left,c=this.top,h=n&&l.oldChartHeight||l.chartHeight,d=n&&l.oldChartWidth||l.chartWidth;o=this.transB;function f(t,e,n){return(t<e||n<t)&&(i?t=Math.min(Math.max(e,t),n):s=!0),t}return r=A(r,this.translate(t,null,null,n)),t=n=Math.round(r+o),o=a=Math.round(h-r-o),M(r)?this.horiz?(o=c,a=h-this.bottom,t=n=f(t,u,u+this.width)):(t=u,n=d-this.right,o=a=f(o,c,c+this.height)):s=!0,s&&!i?null:l.renderer.crispLine(["M",t,o,"L",n,a],e||1)},getLinearTickPositions:function(t,e,n){var i,r=w(Math.floor(e/t)*t);n=w(Math.ceil(n/t)*t);var o=[];if(this.single)return[e];for(e=r;e<=n&&(o.push(e),(e=w(e+t))!==i);)i=e;return o},getMinorTickPositions:function(){var i=this,t=i.options,e=i.tickPositions,r=i.minorTickInterval,o=[],n=i.pointRangePadding||0,a=i.min-n,s=(n=i.max+n)-a;if(s&&s/r<i.len/3)if(i.isLog)_(this.paddedTicks,function(t,e,n){e&&o.push.apply(o,i.getLogTickPositions(r,n[e-1],n[e],!0))});else if(i.isDatetimeAxis&&"auto"===t.minorTickInterval)o=o.concat(i.getTimeTicks(i.normalizeTimeTickInterval(r),a,n,t.startOfWeek));else for(t=a+(e[0]-a)%r;t<=n&&t!==o[0];t+=r)o.push(t);return 0!==o.length&&i.trimTicks(o),o},adjustForMinRange:function(){var t,e,n,i,r,o,a,s=this.options,l=this.min,u=this.max;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(S(s.min)||S(s.max)?this.minRange=null:(_(this.series,function(t){for(o=t.xData,i=t.xIncrement?1:o.length-1;0<i;i--)r=o[i]-o[i-1],(void 0===n||r<n)&&(n=r)}),this.minRange=Math.min(5*n,this.dataMax-this.dataMin))),u-l<this.minRange&&(e=this.dataMax-this.dataMin>=this.minRange,t=[l-(t=((a=this.minRange)-u+l)/2),A(s.min,l-t)],e&&(t[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),u=[(l=c(t))+a,A(s.max,l+a)],e&&(u[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),(u=h(u))-l<a&&(t[0]=u-a,t[1]=A(s.min,u-a),l=c(t))),this.min=l,this.max=u},getClosest:function(){var i;return this.categories?i=1:_(this.series,function(t){var e=t.closestPointRange,n=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&S(e)&&n&&(i=S(i)?Math.min(i,e):e)}),i},nameToX:function(t){var e,n=m(this.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,S(r)||(r=!1===this.options.uniqueNames?t.series.autoIncrement():g(t.name,i)),-1===r?n||(e=i.length):e=r,void 0!==e&&(this.names[e]=t.name),e},updateNames:function(){var r=this;0<this.names.length&&(this.names.length=0,this.minRange=this.userMinRange,_(this.series||[],function(i){i.xIncrement=null,i.points&&!i.isDirtyData||(i.processData(),i.generatePoints()),_(i.points,function(t,e){var n;t.options&&(void 0!==(n=r.nameToX(t))&&n!==t.x&&(t.x=n,i.xData[e]=n))})}))},setAxisTranslation:function(t){var n,i=this,e=i.max-i.min,r=i.axisPointRange||0,o=0,a=0,s=i.linkedParent,l=!!i.categories,u=i.transA,c=i.isXAxis;(c||l||r)&&(n=i.getClosest(),s?(o=s.minPointOffset,a=s.pointRangePadding):_(i.series,function(t){var e=l?1:c?A(t.options.pointRange,n,0):i.axisPointRange||0;t=t.options.pointPlacement,r=Math.max(r,e),i.single||(o=Math.max(o,v(t)?0:e/2),a=Math.max(a,"on"===t?0:e))}),s=i.ordinalSlope&&n?i.ordinalSlope/n:1,i.minPointOffset=o*=s,i.pointRangePadding=a*=s,i.pointRange=Math.min(r,e),c&&(i.closestPointRange=n)),t&&(i.oldTransA=u),i.translationSlope=i.transA=u=i.options.staticScale||i.len/(e+a||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=u*o},minFromRange:function(){return this.max-this.range},setTickInterval:function(t){var e,n,i,r,o=this,a=o.chart,s=o.options,l=o.isLog,u=o.log2lin,c=o.isDatetimeAxis,h=o.isXAxis,d=o.isLinked,f=s.maxPadding,p=s.minPadding,g=s.tickInterval,m=s.tickPixelInterval,v=o.categories,y=o.threshold,b=o.softThreshold;c||v||d||this.getTickAmount(),i=A(o.userMin,s.min),r=A(o.userMax,s.max),d?(o.linkedParent=a[o.coll][s.linkedTo],a=o.linkedParent.getExtremes(),o.min=A(a.min,a.dataMin),o.max=A(a.max,a.dataMax),s.type!==o.linkedParent.options.type&&x.error(11,1)):(!b&&S(y)&&(o.dataMin>=y?(e=y,p=0):o.dataMax<=y&&(n=y,f=0)),o.min=A(i,e,o.dataMin),o.max=A(r,n,o.dataMax)),l&&(o.positiveValuesOnly&&!t&&Math.min(o.min,A(o.dataMin,o.min))<=0&&x.error(10,1),o.min=w(u(o.min),15),o.max=w(u(o.max),15)),o.range&&S(o.max)&&(o.userMin=o.min=i=Math.max(o.dataMin,o.minFromRange()),o.userMax=r=o.max,o.range=null),C(o,"foundExtremes"),o.beforePadding&&o.beforePadding(),o.adjustForMinRange(),!(v||o.axisPointRange||o.usePercentage||d)&&S(o.min)&&S(o.max)&&(u=o.max-o.min)&&(!S(i)&&p&&(o.min-=u*p),!S(r)&&f&&(o.max+=u*f)),M(s.softMin)&&(o.min=Math.min(o.min,s.softMin)),M(s.softMax)&&(o.max=Math.max(o.max,s.softMax)),M(s.floor)&&(o.min=Math.max(o.min,s.floor)),M(s.ceiling)&&(o.max=Math.min(o.max,s.ceiling)),b&&S(o.dataMin)&&(y=y||0,!S(i)&&o.min<y&&o.dataMin>=y?o.min=y:!S(r)&&o.max>y&&o.dataMax<=y&&(o.max=y)),o.tickInterval=o.min===o.max||void 0===o.min||void 0===o.max?1:d&&!g&&m===o.linkedParent.options.tickPixelInterval?g=o.linkedParent.tickInterval:A(g,this.tickAmount?(o.max-o.min)/Math.max(this.tickAmount-1,1):void 0,v?1:(o.max-o.min)*m/Math.max(o.len,m)),h&&!t&&_(o.series,function(t){t.processData(o.min!==o.oldMin||o.max!==o.oldMax)}),o.setAxisTranslation(!0),o.beforeSetTickPositions&&o.beforeSetTickPositions(),o.postProcessTickInterval&&(o.tickInterval=o.postProcessTickInterval(o.tickInterval)),o.pointRange&&!g&&(o.tickInterval=Math.max(o.pointRange,o.tickInterval)),t=A(s.minTickInterval,o.isDatetimeAxis&&o.closestPointRange),!g&&o.tickInterval<t&&(o.tickInterval=t),c||l||g||(o.tickInterval=T(o.tickInterval,null,k(o.tickInterval),A(s.allowDecimals,!(.5<o.tickInterval&&o.tickInterval<5&&1e3<o.max&&o.max<9999)),!!this.tickAmount)),this.tickAmount||(o.tickInterval=o.unsquish()),this.setTickPositions()},setTickPositions:function(){var t,e=this.options,n=e.tickPositions,i=e.tickPositioner,r=e.startOnTick,o=e.endOnTick;this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===e.minorTickInterval&&this.tickInterval?this.tickInterval/5:e.minorTickInterval,this.single=this.min===this.max&&S(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=t=n&&n.slice(),!t&&((t=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max)).length>this.len&&(t=[t[0],t.pop()]),this.tickPositions=t,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=t=i),this.paddedTicks=t.slice(0),this.trimTicks(t,r,o),this.isLinked||(this.single&&t.length<2&&(this.min-=.5,this.max+=.5),n||i||this.adjustTickAmount())},trimTicks:function(t,e,n){var i=t[0],r=t[t.length-1],o=this.minPointOffset||0;if(!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&S(i)&&t.push((r+i)/2)}},alignToOthers:function(){var n,i={},t=this.options;return!1===this.chart.options.chart.alignTicks||!1===t.alignTicks||this.isLog||_(this.chart[this.coll],function(t){var e=t.options;e=[t.horiz?e.left:e.top,e.width,e.height,e.pane].join();t.series.length&&(i[e]?n=!0:i[e]=1)}),n},getTickAmount:function(){var t=this.options,e=t.tickAmount,n=t.tickPixelInterval;!S(t.tickInterval)&&this.len<n&&!this.isRadial&&!this.isLog&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=Math.ceil(this.len/n)+1),e<4&&(this.finalTickAmt=e,e=5),this.tickAmount=e},adjustTickAmount:function(){var t=this.tickInterval,e=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,r=e&&e.length;if(r<n){for(;e.length<n;)e.push(w(e[e.length-1]+t));this.transA*=(r-1)/(n-1),this.max=e[e.length-1]}else n<r&&(this.tickInterval*=2,this.setTickPositions());if(S(i)){for(t=n=e.length;t--;)(3===i&&1==t%2||i<=2&&0<t&&t<n-1)&&e.splice(t,1);this.finalTickAmt=void 0}},setScale:function(){var e,t;this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),t=this.len!==this.oldAxisLength,_(this.series,function(t){(t.isDirtyData||t.isDirty||t.xAxis.isDirty)&&(e=!0)}),t||e||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.resetStacks&&this.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=t||this.min!==this.oldMin||this.max!==this.oldMax)):this.cleanStacks&&this.cleanStacks()},setExtremes:function(t,e,n,i,r){var o=this,a=o.chart;n=A(n,!0),_(o.series,function(t){delete t.kdTree}),r=l(r,{min:t,max:e}),C(o,"setExtremes",r,function(){o.userMin=t,o.userMax=e,o.eventArgs=r,n&&a.redraw(i)})},zoom:function(t,e){var n=this.dataMin,i=this.dataMax,r=this.options,o=Math.min(n,A(r.min,n));r=Math.max(i,A(r.max,i));return t===this.min&&e===this.max||(this.allowZoomOutside||(S(n)&&(t<o&&(t=o),r<t&&(t=r)),S(i)&&(e<o&&(e=o),r<e&&(e=r))),this.displayBtn=void 0!==t||void 0!==e,this.setExtremes(t,e,!1,void 0,{trigger:"zoom"})),!0},setAxisSize:function(){var t=this.chart,e=(a=this.options).offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(x.relativeLength(A(a.width,t.plotWidth-e[3]+e[1]),t.plotWidth)),r=this.height=Math.round(x.relativeLength(A(a.height,t.plotHeight-e[0]+e[2]),t.plotHeight)),o=this.top=Math.round(x.relativeLength(A(a.top,t.plotTop+e[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(x.relativeLength(A(a.left,t.plotLeft+e[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-r-o,this.right=t.chartWidth-i-a,this.len=Math.max(n?i:r,0),this.pos=n?a:o},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?w(e(this.min)):this.min,max:t?w(e(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(t){var e=this.isLog,n=this.lin2log,i=e?n(this.min):this.min;e=e?n(this.max):this.max;return null===t?t=i:t<i?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},autoLabelAlign:function(t){return 15<(t=(A(t,0)-90*this.side+720)%360)&&t<165?"right":195<t&&t<345?"left":"center"},tickSize:function(t){var e=this.options,n=e[t+"Length"],i=A(e[t+"Width"],"tick"===t&&this.isXAxis?1:0);if(i&&n)return"inside"===e[t+"Position"]&&(n=-n),[n,i]},labelMetrics:function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},unsquish:function(){function n(t){return(t=1<(t/=l||1)?Math.ceil(t):1)*a}var i,r,t,e=this.options.labels,o=this.horiz,a=this.tickInterval,s=a,l=this.len/(((this.categories?1:0)+this.max-this.min)/a),u=e.rotation,c=this.labelMetrics(),h=Number.MAX_VALUE;return o?(t=!e.staggerLines&&!e.step&&(S(u)?[u]:l<A(e.autoRotationLimit,80)&&e.autoRotation))&&_(t,function(t){var e;(t===u||t&&-90<=t&&t<=90)&&((e=(r=n(Math.abs(c.h/Math.sin(d*t))))+Math.abs(t/360))<h&&(h=e,i=t,s=r))}):e.step||(s=n(c.h)),this.autoRotation=t,this.labelRotation=A(i,u),s},getSlotWidth:function(){var t=this.chart,e=this.horiz,n=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=t.margin[3];return e&&(n.step||0)<2&&!n.rotation&&(this.staggerLines||1)*this.len/i||!e&&(r&&r-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var n,t,e,i=this.chart,r=i.renderer,o=this.tickPositions,a=this.ticks,s=this.options.labels,l=this.horiz,u=this.getSlotWidth(),c=Math.max(1,Math.round(u-2*(s.padding||5))),h={},d=this.labelMetrics(),f=s.style&&s.style.textOverflow,p=0;if(v(s.rotation)||(h.rotation=s.rotation||0),_(o,function(t){(t=a[t])&&t.labelLength>p&&(p=t.labelLength)}),this.maxLabelLength=p,this.autoRotation)c<p&&p>d.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(u&&(n={width:c+"px"},!f))for(n.textOverflow="clip",t=o.length;!l&&t--;)e=o[t],(c=a[e].label)&&(c.styles&&"ellipsis"===c.styles.textOverflow?c.css({textOverflow:"clip"}):a[e].labelLength>u&&c.css({width:u+"px"}),c.getBBox().height>this.len/o.length-(d.h-d.f)&&(c.specCss={textOverflow:"ellipsis"}));h.rotation&&(n={width:(p>.5*i.chartHeight?.33*i.chartHeight:i.chartHeight)+"px"},f||(n.textOverflow="ellipsis")),(this.labelAlign=s.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),_(o,function(t){var e=(t=a[t])&&t.label;e&&(e.attr(h),n&&e.css(y(n,e.specCss)),delete e.specCss,t.rotation=h.rotation)}),this.tickRotCorr=r.rotCorr(d.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||S(this.min)&&S(this.max)&&!!this.tickPositions},addTitle:function(t){var e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text,0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title").css(o.style).add(this.axisGroup),this.axisTitle.isNew=!0),o.style.width||this.isRadial||this.axisTitle.css({width:this.len}),this.axisTitle[t?"show":"hide"](!0)},generateTick:function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new L(this,t)},getOffset:function(){var t,e,n,i=this,r=(v=i.chart).renderer,o=i.options,a=i.tickPositions,s=i.ticks,l=i.horiz,u=i.side,c=v.inverted&&!i.isZAxis?[1,0,3,2][u]:u,h=0,d=0,f=o.title,p=o.labels,g=0,m=v.axisOffset,v=v.clipOffset,y=[-1,1,1,-1][u],b=o.className,x=i.axisParent,w=this.tickSize("tick");t=i.hasData(),i.showAxis=e=t||A(o.showEmpty,!0),i.staggerLines=i.horiz&&p.staggerLines,i.axisGroup||(i.gridGroup=r.g("grid").attr({zIndex:o.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(b||"")).add(x),i.axisGroup=r.g("axis").attr({zIndex:o.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(b||"")).add(x),i.labelGroup=r.g("axis-labels").attr({zIndex:p.zIndex||7}).addClass("highcharts-"+i.coll.toLowerCase()+"-labels "+(b||"")).add(x)),t||i.isLinked?(_(a,function(t,e){i.generateTick(t,e)}),i.renderUnsquish(),!1===p.reserveSpace||0!==u&&2!==u&&{1:"left",3:"right"}[u]!==i.labelAlign&&"center"!==i.labelAlign||_(a,function(t){g=Math.max(s[t].getLabelSize(),g)}),i.staggerLines&&(g*=i.staggerLines,i.labelOffset=g*(i.opposite?-1:1))):D(s,function(t,e){t.destroy(),delete s[e]}),f&&f.text&&!1!==f.enabled&&(i.addTitle(e),e&&!1!==f.reserveSpace&&(i.titleOffset=h=i.axisTitle.getBBox()[l?"height":"width"],n=f.offset,d=S(n)?0:A(f.margin,l?5:10))),i.renderLine(),i.offset=y*A(o.offset,m[u]),i.tickRotCorr=i.tickRotCorr||{x:0,y:0},r=0===u?-i.labelMetrics().h:2===u?i.tickRotCorr.y:0,d=Math.abs(g)+d,g&&(d=d-r+y*(l?A(p.y,i.tickRotCorr.y+8*y):p.x)),i.axisTitleMargin=A(n,d),m[u]=Math.max(m[u],i.axisTitleMargin+h+y*i.offset,d,t&&a.length&&w?w[0]+y*i.offset:0),a=2*Math.floor(i.axisLine.strokeWidth()/2),0<o.offset&&(a-=2*o.offset),v[c]=Math.max(v[c]||a,a)},getLinePath:function(t){var e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i;i=e.chartHeight-this.bottom-(n?this.height:0)+i;return n&&(t*=-1),e.renderer.crispLine(["M",r?this.left:o,r?i:this.top,"L",r?e.chartWidth-this.right:o,r?i:e.chartHeight-this.bottom],t)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var t=this.horiz,e=this.left,n=this.top,i=this.len,r=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=r.x||0,u=r.y||0,c=this.axisTitle,h=this.chart.renderer.fontMetrics(r.style&&r.style.fontSize,c);c=Math.max(c.getBBox(null,0).height-h.h-1,0),i={low:o+(t?0:i),middle:o+i/2,high:o+(t?i:0)}[r.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-c,c,h.f,-c][this.side];return{x:t?i+l:e+(a?this.width:0)+s+l,y:t?e+u-(a?this.height:0)+s:i+u}},renderMinorTick:function(t){var e=this.chart.hasRendered&&M(this.oldMin),n=this.minorTicks;n[t]||(n[t]=new L(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},renderTick:function(t,e){var n=this.isLinked,i=this.ticks,r=this.chart.hasRendered&&M(this.oldMin);(!n||t>=this.min&&t<=this.max)&&(i[t]||(i[t]=new L(this,t)),r&&i[t].isNew&&i[t].render(e,!0,.1),i[t].render(e))},render:function(){var n,i,r=this,o=r.chart,t=r.options,a=r.isLog,s=r.lin2log,e=r.isLinked,l=r.tickPositions,u=r.axisTitle,c=r.ticks,h=r.minorTicks,d=r.alternateBands,f=t.stackLabels,p=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,v=r.showAxis,y=b(o.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,_([c,h,d],function(t){D(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(r.minorTickInterval&&!r.categories&&_(r.getMinorTickPositions(),function(t){r.renderMinorTick(t)}),l.length&&(_(l,function(t,e){r.renderTick(t,e)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new L(r,-1,null,!0)),c[-1].render(-1))),p&&_(l,function(t,e){i=void 0!==l[e+1]?l[e+1]+g:r.max-g,0==e%2&&t<r.max&&i<=r.max+(o.polar?-g:g)&&(d[t]||(d[t]=new x.PlotLineOrBand(r)),n=t+g,d[t].options={from:a?s(n):n,to:a?s(i):i,color:p},d[t].render(),d[t].isActive=!0)}),r._addedPlotLB||(_((t.plotLines||[]).concat(t.plotBands||[]),function(t){r.addPlotBandOrLine(t)}),r._addedPlotLB=!0)),_([c,h,d],function(t){var e,n=[],i=y.duration;D(t,function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,n.push(e))}),O(function(){for(e=n.length;e--;)t[n[e]]&&!t[n[e]].isActive&&(t[n[e]].destroy(),delete t[n[e]])},t!==d&&o.hasRendered&&i?i:0)}),m&&(m[m.isPlaced?"animate":"attr"]({d:this.getLinePath(m.strokeWidth())}),m.isPlaced=!0,m[v?"show":"hide"](!0)),u&&v&&(t=r.getTitlePosition(),M(t.y)?(u[u.isNew?"attr":"animate"](t),u.isNew=!1):(u.attr("y",-9999),u.isNew=!0)),f&&f.enabled&&r.renderStackTotals(),r.isDirty=!1},redraw:function(){this.visible&&(this.render(),_(this.plotLinesAndBands,function(t){t.render()})),_(this.series,function(t){t.isDirty=!0})},keepProps:"extKey hcEvents names series userMax userMin".split(" "),destroy:function(t){var e,n=this,i=n.stacks,r=n.plotLinesAndBands;if(t||P(n),D(i,function(t,e){o(t),i[e]=null}),_([n.ticks,n.minorTicks,n.alternateBands],function(t){o(t)}),r)for(t=r.length;t--;)r[t].destroy();for(e in _("stackTotalGroup axisLine axisTitle axisGroup gridGroup labelGroup cross".split(" "),function(t){n[t]&&(n[t]=n[t].destroy())}),n.plotLinesAndBandsGroups)n.plotLinesAndBandsGroups[e]=n.plotLinesAndBandsGroups[e].destroy();D(n,function(t,e){-1===g(e,n.keepProps)&&delete n[e]})},drawCrosshair:function(t,e){var n,i,r=this.crosshair,o=A(r.snap,!0),a=this.cross;t||(t=this.cross&&this.cross.e),this.crosshair&&!1!==(S(e)||!o)?(o?S(e)&&(i=this.isXAxis?e.plotX:this.len-e.plotY):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),S(i)&&(n=this.getPlotLinePath(e&&(this.isXAxis?e.x:A(e.stackY,e.y)),null,null,null,i)||null),S(n)?(e=this.categories&&!this.isRadial,a||(this.cross=a=this.chart.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(e?"category ":"thin ")+r.className).attr({zIndex:A(r.zIndex,2)}).add(),a.attr({stroke:r.color||(e?s("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":A(r.width,1)}),r.dashStyle&&a.attr({dashstyle:r.dashStyle})),a.show().attr({d:n}),e&&!r.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t):this.hideCrosshair()):this.hideCrosshair()},hideCrosshair:function(){this.cross&&this.cross.hide()}}),x.Axis=t}(t);return Dt=(Tt=t).Axis,At=Tt.Date,Pt=Tt.dateFormat,Et=Tt.defaultOptions,Ot=Tt.defined,Lt=Tt.each,It=Tt.extend,Nt=Tt.getMagnitude,Rt=Tt.getTZOffset,Ft=Tt.normalizeTickInterval,jt=Tt.pick,Ht=Tt.timeUnits,Dt.prototype.getTimeTicks=function(t,e,n,i){var r,o,a,s=[],l={},u=Et.global.useUTC,c=new At(e-Math.max(Rt(e),Rt(n))),h=At.hcMakeTime,d=t.unitRange,f=t.count;if(Ot(e)){c[At.hcSetMilliseconds](d>=Ht.second?0:f*Math.floor(c.getMilliseconds()/f)),d>=Ht.second&&c[At.hcSetSeconds](d>=Ht.minute?0:f*Math.floor(c.getSeconds()/f)),d>=Ht.minute&&c[At.hcSetMinutes](d>=Ht.hour?0:f*Math.floor(c[At.hcGetMinutes]()/f)),d>=Ht.hour&&c[At.hcSetHours](d>=Ht.day?0:f*Math.floor(c[At.hcGetHours]()/f)),d>=Ht.day&&c[At.hcSetDate](d>=Ht.month?1:f*Math.floor(c[At.hcGetDate]()/f)),d>=Ht.month&&(c[At.hcSetMonth](d>=Ht.year?0:f*Math.floor(c[At.hcGetMonth]()/f)),r=c[At.hcGetFullYear]()),d>=Ht.year&&c[At.hcSetFullYear](r-r%f),d===Ht.week&&c[At.hcSetDate](c[At.hcGetDate]()-c[At.hcGetDay]()+jt(i,1)),r=c[At.hcGetFullYear](),i=c[At.hcGetMonth]();var p=c[At.hcGetDate](),g=c[At.hcGetHours]();for((At.hcTimezoneOffset||At.hcGetTimezoneOffset)&&(a=(!u||!!At.hcGetTimezoneOffset)&&(n-e>4*Ht.month||Rt(e)!==Rt(n)),c=c.getTime(),o=Rt(c),c=new At(c+o)),u=c.getTime(),e=1;u<n;)s.push(u),u=d===Ht.year?h(r+e*f,0):d===Ht.month?h(r,i+e*f):!a||d!==Ht.day&&d!==Ht.week?a&&d===Ht.hour?h(r,i,p,g+e*f,0,0,o)-o:u+d*f:h(r,i,p+e*f*(d===Ht.day?1:7)),e++;s.push(u),d<=Ht.hour&&s.length<1e4&&Lt(s,function(t){0==t%18e5&&"000000000"===Pt("%H%M%S%L",t)&&(l[t]="day")})}return s.info=It(t,{higherRanks:l,totalRange:d*f}),s},Dt.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var i,r=Ht[e[0]],o=e[1];for(i=0;i<n.length&&(e=n[i],r=Ht[e[0]],o=e[1],!(n[i+1]&&t<=(r*o[o.length-1]+Ht[n[i+1][0]])/2));i++);return r===Ht.year&&t<5*r&&(o=[1,2,5]),{unitRange:r,count:t=Ft(t/r,o,"year"===e[0]?Math.max(Nt(t/r),1):1),unitName:e[0]}},zt=(Bt=t).Axis,Wt=Bt.getMagnitude,$t=Bt.map,qt=Bt.normalizeTickInterval,Ut=Bt.pick,zt.prototype.getLogTickPositions=function(t,e,n,i){var r=this.options,o=this.len,a=this.lin2log,s=this.log2lin,l=[];if(i||(this._minorAutoInterval=null),.5<=t)t=Math.round(t),l=this.getLinearTickPositions(t,e,n);else if(.08<=t){var u,c,h,d,f;for(o=Math.floor(e),r=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];o<n+1&&!f;o++)for(c=r.length,u=0;u<c&&!f;u++)e<(h=s(a(o)*r[u]))&&(!i||d<=n)&&void 0!==d&&l.push(d),n<d&&(f=!0),d=h}else e=a(e),n=a(n),t=r[i?"minorTickInterval":"tickInterval"],t=Ut("auto"===t?null:t,this._minorAutoInterval,r.tickPixelInterval/(i?5:1)*(n-e)/((i?o/this.tickPositions.length:o)||1)),t=qt(t,null,Wt(t)),l=$t(this.getLinearTickPositions(t,e,n),s),i||(this._minorAutoInterval=t/5);return i||(this.tickInterval=t),l},zt.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},zt.prototype.lin2log=function(t){return Math.pow(10,t)},Gt=No,Xt=(Yt=t).arrayMax,Vt=Yt.arrayMin,Zt=Yt.defined,Kt=Yt.destroyObjectProperties,Jt=Yt.each,Qt=Yt.erase,te=Yt.merge,ee=Yt.pick,Yt.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},Yt.PlotLineOrBand.prototype={render:function(){var n=this,t=n.axis,e=t.horiz,i=n.options,r=i.label,o=n.label,a=i.to,s=i.from,l=i.value,u=Zt(s)&&Zt(a),c=Zt(l),h=n.svgElem,d=!h,f=[],p=i.color,g=ee(i.zIndex,0),m=i.events,v=(f={class:"highcharts-plot-"+(u?"band ":"line ")+(i.className||"")},{}),y=t.chart.renderer,b=u?"bands":"lines",x=t.log2lin;if(t.isLog&&(s=x(s),a=x(a),l=x(l)),c?(f={stroke:p,"stroke-width":i.width},i.dashStyle&&(f.dashstyle=i.dashStyle)):u&&(p&&(f.fill=p),i.borderWidth&&(f.stroke=i.borderColor,f["stroke-width"]=i.borderWidth)),b+="-"+(v.zIndex=g),(p=t.plotLinesAndBandsGroups[b])||(t.plotLinesAndBandsGroups[b]=p=y.g("plot-"+b).attr(v).add()),d&&(n.svgElem=h=y.path().attr(f).add(p)),c)f=t.getPlotLinePath(l,h.strokeWidth());else{if(!u)return;f=t.getPlotBandPath(s,a,i)}return d&&f&&f.length?(h.attr({d:f}),m&&Yt.objectEach(m,function(t,e){h.on(e,function(t){m[e].apply(n,[t])})})):h&&(f?(h.show(),h.animate({d:f})):(h.hide(),o&&(n.label=o=o.destroy()))),r&&Zt(r.text)&&f&&f.length&&0<t.width&&0<t.height&&!f.flat?(r=te({align:e&&u&&"center",x:e?!u&&4:10,verticalAlign:!e&&u&&"middle",y:e?u?16:10:u?6:-4,rotation:e&&!u&&90},r),this.renderLabel(r,f,u,g)):o&&o.hide(),n},renderLabel:function(t,e,n,i){var r=this.label,o=this.axis.chart.renderer;r||((r={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(n?"band":"line")+"-label "+(t.className||"")}).zIndex=i,this.label=r=o.text(t.text,0,0,t.useHTML).attr(r).add(),r.css(t.style)),i=[e[1],e[4],n?e[6]:e[1]],e=[e[2],e[5],n?e[7]:e[2]],n=Vt(i),o=Vt(e),r.align(t,!1,{x:n,y:o,width:Xt(i)-n,height:Xt(e)-o}),r.show()},destroy:function(){Qt(this.axis.plotLinesAndBands,this),delete this.axis,Kt(this)}},Yt.extend(Gt.prototype,{getPlotBandPath:function(t,e){var n=this.getPlotLinePath(e,null,null,!0),i=this.getPlotLinePath(t,null,null,!0),r=this.horiz,o=1;return t=t<this.min&&e<this.min||t>this.max&&e>this.max,i&&n?(t&&(i.flat=i.toString()===n.toString(),o=0),i.push(r&&n[4]===i[4]?n[4]+o:n[4],r||n[5]!==i[5]?n[5]:n[5]+o,r&&n[1]===i[1]?n[1]+o:n[1],r||n[2]!==i[2]?n[2]:n[2]+o)):i=null,i},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(t,e){var n=new Yt.PlotLineOrBand(this,t).render(),i=this.userOptions;return n&&(e&&(i[e]=i[e]||[],i[e].push(t)),this.plotLinesAndBands.push(n)),n},removePlotBandOrLine:function(e){for(var t=this.plotLinesAndBands,n=this.options,i=this.userOptions,r=t.length;r--;)t[r].id===e&&t[r].destroy();Jt([n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]],function(t){for(r=t.length;r--;)t[r].id===e&&Qt(t,t[r])})},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),ie=(ne=t).dateFormat,re=ne.each,oe=ne.extend,ae=ne.format,se=ne.isNumber,le=ne.map,ue=ne.merge,ce=ne.pick,he=ne.splat,de=ne.syncTimeout,fe=ne.timeUnits,ne.Tooltip=function(){this.init.apply(this,arguments)},ne.Tooltip.prototype={init:function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted,this.shared=e.shared||this.split},cleanSplit:function(n){re(this.chart.series,function(t){var e=t&&t.tt;e&&(!e.isActive||n?t.tt=e.destroy():e.isActive=!1)})},getLabel:function(){var t=this.chart.renderer,e=this.options;return this.label||(this.split?this.label=t.g("tooltip"):(this.label=t.label("",0,0,e.shape||"callout",null,null,e.useHTML,null,"tooltip").attr({padding:e.padding,r:e.borderRadius}),this.label.attr({fill:e.backgroundColor,"stroke-width":e.borderWidth}).css(e.style).shadow(e.shadow)),this.label.attr({zIndex:8}).add()),this.label},update:function(t){this.destroy(),ue(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,ue(!0,this.options,t))},destroy:function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(t,e,n,i){var r=this,o=r.now,a=!1!==r.options.animation&&!r.isHidden&&(1<Math.abs(t-o.x)||1<Math.abs(e-o.y)),s=r.followPointer||1<r.len;oe(o,{x:a?(2*o.x+t)/3:t,y:a?(o.y+e)/2:e,anchorX:s?void 0:a?(2*o.anchorX+n)/3:n,anchorY:s?void 0:a?(o.anchorY+i)/2:i}),r.getLabel().attr(o),a&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){r&&r.move(t,e,n,i)},32))},hide:function(t){var e=this;clearTimeout(this.hideTimer),t=ce(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=de(function(){e.getLabel()[t?"fadeOut":"hide"](),e.isHidden=!0},t))},getAnchor:function(t,e){var n,i,r,o=this.chart,a=o.inverted,s=o.plotTop,l=o.plotLeft,u=0,c=0;return n=(t=he(t))[0].tooltipPos,this.followPointer&&e&&(void 0===e.chartX&&(e=o.pointer.normalize(e)),n=[e.chartX-o.plotLeft,e.chartY-s]),n||(re(t,function(t){i=t.series.yAxis,r=t.series.xAxis,u+=t.plotX+(!a&&r?r.left-l:0),c+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!a&&i?i.top-s:0)}),u/=t.length,c/=t.length,n=[a?o.plotWidth-c:u,this.shared&&!a&&1<t.length&&e?e.chartY-s:a?o.plotHeight-u:c]),le(n,Math.round)},getPosition:function(t,e,n){function i(t){var e=a;a=s,s=e,r=t}var r,o=this.chart,u=this.distance,c={},h=n.h||0,a=["y",o.chartHeight,e,n.plotY+o.plotTop,o.plotTop,o.plotTop+o.plotHeight],s=["x",o.chartWidth,t,n.plotX+o.plotLeft,o.plotLeft,o.plotLeft+o.plotWidth],d=!this.followPointer&&ce(n.ttBelow,!o.inverted==!!n.negative),l=function(){!1!==function(t,e,n,i,r,o){var a=n<i-u,s=i+u+n<e,l=i-u-n;if(i+=u,d&&s)c[t]=i;else if(!d&&a)c[t]=l;else if(a)c[t]=Math.min(o-n,l-h<0?l:l-h);else{if(!s)return!1;c[t]=Math.max(r,e<i+h+n?i:i+h)}}.apply(0,a)?!1!==function(t,e,n,i){var r;return i<u||e-u<i?r=!1:c[t]=i<n/2?1:e-n/2<i?e-n-2:i-n/2,r}.apply(0,s)||r||(i(!0),l()):r?c.x=c.y=0:(i(!0),l())};return(o.inverted||1<this.len)&&i(),l(),c},defaultFormatter:function(t){var e,n=this.points||he(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e},refresh:function(t,e){var n,i,r,o,a=this.options,s=t,l={},u=[];n=a.formatter||this.defaultFormatter,l=this.shared,a.enabled&&(clearTimeout(this.hideTimer),this.followPointer=he(s)[0].series.tooltipOptions.followPointer,e=(r=this.getAnchor(s,e))[0],i=r[1],!l||s.series&&s.series.noSharedTooltip?l=s.getLabelConfig():(re(s,function(t){t.setState("hover"),u.push(t.getLabelConfig())}),(l={x:s[0].category,y:s[0].y}).points=u,s=s[0]),this.len=u.length,l=n.call(l,this),o=s.series,this.distance=ce(o.tooltipOptions.distance,16),!1===l?this.hide():(n=this.getLabel(),this.isHidden&&n.attr({opacity:1}).show(),this.split?this.renderSplit(l,t):(a.style.width||n.css({width:this.chart.spacingBox.width}),n.attr({text:l&&l.join?l.join(""):l}),n.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+ce(s.colorIndex,o.colorIndex)),n.attr({stroke:a.borderColor||s.color||o.color||"#666666"}),this.updatePosition({plotX:e,plotY:i,negative:s.negative,ttBelow:s.ttBelow,h:r[2]||0})),this.isHidden=!1))},renderSplit:function(t,a){var s=this,l=[],u=this.chart,c=u.renderer,h=!0,d=this.options,f=0,p=this.getLabel();re(t.slice(0,a.length+1),function(t,e){if(!1!==t){var n=(e=a[e-1]||{isHeader:!0,plotX:a[0].plotX}).series||s,i=n.tt,r=e.series||{},o="highcharts-color-"+ce(e.colorIndex,r.colorIndex,"none");i||(n.tt=i=c.label(null,null,null,"callout").addClass("highcharts-tooltip-box "+o).attr({padding:d.padding,r:d.borderRadius,fill:d.backgroundColor,stroke:d.borderColor||e.color||r.color||"#333333","stroke-width":d.borderWidth}).add(p)),i.isActive=!0,i.attr({text:t}),i.css(d.style).shadow(d.shadow),r=(t=i.getBBox()).width+i.strokeWidth(),(r=e.isHeader?(f=t.height,Math.max(0,Math.min(e.plotX+u.plotLeft-r/2,u.chartWidth-r))):e.plotX+u.plotLeft-ce(d.distance,16)-r)<0&&(h=!1),t=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0),t-=u.plotTop,l.push({target:e.isHeader?u.plotHeight+f:t,rank:e.isHeader?1:0,size:n.tt.getBBox().height+1,point:e,x:r,tt:i})}}),this.cleanSplit(),ne.distribute(l,u.plotHeight+f),re(l,function(t){var e=t.point,n=e.series;t.tt.attr({visibility:void 0===t.pos?"hidden":"inherit",x:h||e.isHeader?t.x:e.plotX+u.plotLeft+ce(d.distance,16),y:t.pos+u.plotTop,anchorX:e.isHeader?e.plotX+u.plotLeft:e.plotX+n.xAxis.pos,anchorY:e.isHeader?t.pos+u.plotTop-15:e.plotY+n.yAxis.pos})})},updatePosition:function(t){var e=this.chart,n=this.getLabel();n=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t),this.move(Math.round(n.x),Math.round(n.y||0),t.plotX+e.plotLeft,t.plotY+e.plotTop)},getDateFormat:function(t,e,n,i){var r,o,a=ie("%m-%d %H:%M:%S.%L",e),s={millisecond:15,second:12,minute:9,hour:6,day:3},l="millisecond";for(o in fe){if(t===fe.week&&+ie("%w",e)===n&&"00:00:00.000"===a.substr(6)){o="week";break}if(fe[o]>t){o=l;break}if(s[o]&&a.substr(s[o])!=="01-01 00:00:00.000".substr(s[o]))break;"week"!==o&&(l=o)}return o&&(r=i[o]),r},getXDateFormat:function(t,e,n){e=e.dateTimeLabelFormats;var i=n&&n.closestPointRange;return(i?this.getDateFormat(i,t.x,n.options.startOfWeek,e):e.day)||e.year},tooltipFooterHeaderFormatter:function(t,e){var n=e?"footer":"header",i=(e=t.series).tooltipOptions,r=i.xDateFormat,o=e.xAxis,a=o&&"datetime"===o.options.type&&se(t.key);return n=i[n+"Format"],a&&!r&&(r=this.getXDateFormat(t,i,o)),a&&r&&(n=n.replace("{point.key}","{point.key:"+r+"}")),ae(n,{point:t,series:e})},bodyFormatter:function(t){return le(t,function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e.pointFormat)})}},ge=(pe=t).addEvent,me=pe.attr,ve=pe.charts,ye=pe.color,be=pe.css,xe=pe.defined,we=pe.each,Se=pe.extend,_e=pe.find,Ce=pe.fireEvent,ke=pe.isObject,Me=pe.offset,Te=pe.pick,De=pe.removeEvent,Ae=pe.splat,Pe=pe.Tooltip,Ee=pe.win,pe.Pointer=function(t,e){this.init(t,e)},pe.Pointer.prototype={init:function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},Pe&&(t.tooltip=new Pe(t,e.tooltip),this.followTouchMove=Te(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(t){var e=(i=this.chart).options.chart,n=e.zoomType||"",i=i.inverted;/touch/.test(t.type)&&(n=Te(e.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=n=/y/.test(n),this.zoomHor=t&&!i||n&&i,this.zoomVert=n&&!i||t&&i,this.hasZoom=t||n},normalize:function(t,e){var n,i;return(t=t||Ee.event).target||(t.target=t.srcElement),i=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,e||(this.chartPosition=e=Me(this.chart.container)),e=void 0===i.pageX?(n=Math.max(t.x,t.clientX-e.left),t.y):(n=i.pageX-e.left,i.pageY-e.top),Se(t,{chartX:Math.round(n),chartY:Math.round(e)})},getCoordinates:function(e){var n={xAxis:[],yAxis:[]};return we(this.chart.axes,function(t){n[t.isXAxis?"xAxis":"yAxis"].push({axis:t,value:t.toValue(e[t.horiz?"chartX":"chartY"])})}),n},findNearestKDPoint:function(t,r,o){var a;return we(t,function(t){var e=!(t.noSharedTooltip&&r)&&t.options.findNearestPointBy.indexOf("y")<0;if(t=t.searchPoint(o,e),(e=ke(t,!0))&&!(e=!ke(a,!0))){e=a.distX-t.distX;var n=a.dist-t.dist,i=(t.series.group&&t.series.group.zIndex)-(a.series.group&&a.series.group.zIndex);e=0<(0!==e&&r?e:0!=n?n:0!=i?i:a.series.index>t.series.index?-1:1)}e&&(a=t)}),a},getPointFromEvent:function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},getChartCoordinatesFromPoint:function(t,e){var n=(i=t.series).xAxis,i=i.yAxis;if(n&&i)return e?{chartX:n.len+n.pos-t.clientX,chartY:i.len+i.pos-t.plotY}:{chartX:t.clientX+n.pos,chartY:t.plotY+i.pos}},getHoverData:function(t,e,n,i,r,o){var a,s=[];i=!(!i||!t);var l=e&&!e.stickyTracking?[e]:pe.grep(n,function(t){return t.visible&&!(!r&&t.directTouch)&&Te(t.options.enableMouseTracking,!0)&&t.stickyTracking});return e=(a=i?t:this.findNearestKDPoint(l,r,o))&&a.series,a&&(r&&!e.noSharedTooltip?(l=pe.grep(n,function(t){return t.visible&&!(!r&&t.directTouch)&&Te(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}),we(l,function(t){t=_e(t.points,function(t){return t.x===a.x}),ke(t)&&!t.isNull&&s.push(t)})):s.push(a)),{hoverPoint:a,hoverSeries:e,hoverPoints:s}},runPointActions:function(i,t){var r,e=this.chart,n=e.tooltip,o=!!n&&n.shared,a=(s=t||e.hoverPoint)&&s.series||e.hoverSeries,s=(a=this.getHoverData(s,a,e.series,!!t||a&&a.directTouch&&this.isDirectTouch,o,i)).hoverPoint;r=a.hoverPoints,t=(a=a.hoverSeries)&&a.tooltipOptions.followPointer,o=o&&a&&!a.noSharedTooltip,s&&(s!==e.hoverPoint||n&&n.isHidden)?(we(e.hoverPoints||[],function(t){-1===pe.inArray(t,r)&&t.setState()}),we(r||[],function(t){t.setState("hover")}),e.hoverSeries!==a&&a.onMouseOver(),e.hoverPoint&&e.hoverPoint.firePointEvent("mouseOut"),s.firePointEvent("mouseOver"),e.hoverPoints=r,e.hoverPoint=s,n&&n.refresh(o?r:s,i)):t&&n&&!n.isHidden&&(s=n.getAnchor([{}],i),n.updatePosition({plotX:s[0],plotY:s[1]})),this.unDocMouseMove||(this.unDocMouseMove=ge(e.container.ownerDocument,"mousemove",function(t){var e=ve[pe.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)})),we(e.axes,function(e){var t=Te(e.crosshair.snap,!0),n=t?pe.find(r,function(t){return t.series[e.coll]===e}):void 0;n||!t?e.drawCrosshair(i,n):e.hideCrosshair()})},reset:function(e,t){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;e&&s&&we(Ae(s),function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?a&&s&&(a.refresh(s),r&&(r.setState(r.state,!0),we(n.axes,function(t){t.crosshair&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&we(o,function(t){t.setState()}),i&&i.onMouseOut(),a&&a.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),we(n.axes,function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(e,n){var i,r=this.chart;we(r.series,function(t){i=e||t.getPlotBox(),t.xAxis&&t.xAxis.zoomEnabled&&t.group&&(t.group.attr(i),t.markerGroup&&(t.markerGroup.attr(i),t.markerGroup.clip(n?r.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(i))}),r.clipRect.attr(n||r.clipBox)},dragStart:function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},drag:function(t){var e,n=this.chart,i=n.options.chart,r=t.chartX,o=t.chartY,a=this.zoomHor,s=this.zoomVert,l=n.plotLeft,u=n.plotTop,c=n.plotWidth,h=n.plotHeight,d=this.selectionMarker,f=this.mouseDownX,p=this.mouseDownY,g=i.panKey&&t[i.panKey+"Key"];d&&d.touch||(r<l?r=l:l+c<r&&(r=l+c),o<u?o=u:u+h<o&&(o=u+h),this.hasDragged=Math.sqrt(Math.pow(f-r,2)+Math.pow(p-o,2)),10<this.hasDragged&&(e=n.isInsidePlot(f-l,p-u),n.hasCartesianSeries&&(this.zoomX||this.zoomY)&&e&&!g&&!d&&(this.selectionMarker=d=n.renderer.rect(l,u,a?1:c,s?1:h,0).attr({fill:i.selectionMarkerFill||ye("#335cad").setOpacity(.25).get(),class:"highcharts-selection-marker",zIndex:7}).add()),d&&a&&(r-=f,d.attr({width:Math.abs(r),x:(0<r?0:r)+f})),d&&s&&(r=o-p,d.attr({height:Math.abs(r),y:(0<r?0:r)+p})),e&&!d&&i.panning&&n.pan(t,i.panning)))},drop:function(r){var o=this,e=this.chart,a=this.hasPinched;if(this.selectionMarker){var s,l={originalEvent:r,xAxis:[],yAxis:[]},t=this.selectionMarker,u=t.attr?t.attr("x"):t.x,c=t.attr?t.attr("y"):t.y,h=t.attr?t.attr("width"):t.width,d=t.attr?t.attr("height"):t.height;(this.hasDragged||a)&&(we(e.axes,function(t){if(t.zoomEnabled&&xe(t.min)&&(a||o[{xAxis:"zoomX",yAxis:"zoomY"}[t.coll]])){var e=t.horiz,n="touchend"===r.type?t.minPixelPadding:0,i=t.toValue((e?u:c)+n);e=t.toValue((e?u+h:c+d)-n),l[t.coll].push({axis:t,min:Math.min(i,e),max:Math.max(i,e)}),s=!0}}),s&&Ce(e,"selection",l,function(t){e.zoom(Se(t,a?{animation:!1}:null))})),this.selectionMarker=this.selectionMarker.destroy(),a&&this.scaleGroups()}e&&(be(e.container,{cursor:e._cursor}),e.cancelClick=10<this.hasDragged,e.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(t){t=this.normalize(t),this.zoomOption(t),t.preventDefault&&t.preventDefault(),this.dragStart(t)},onDocumentMouseUp:function(t){ve[pe.hoverChartIndex]&&ve[pe.hoverChartIndex].pointer.drop(t)},onDocumentMouseMove:function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n),!n||this.inClass(t.target,"highcharts-tracker")||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.reset()},onContainerMouseLeave:function(t){var e=ve[pe.hoverChartIndex];e&&(t.relatedTarget||t.toElement)&&(e.pointer.reset(),e.pointer.chartPosition=null)},onContainerMouseMove:function(t){var e=this.chart;xe(pe.hoverChartIndex)&&ve[pe.hoverChartIndex]&&ve[pe.hoverChartIndex].mouseIsDown||(pe.hoverChartIndex=e.index),(t=this.normalize(t)).returnValue=!1,"mousedown"===e.mouseIsDown&&this.drag(t),!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||e.openMenu||this.runPointActions(t)},inClass:function(t,e){for(var n;t;){if(n=me(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentNode}},onTrackerMouseOut:function(t){var e=this.chart.hoverSeries;t=t.relatedTarget||t.toElement,this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},onContainerClick:function(t){var e=this.chart,n=e.hoverPoint,i=e.plotLeft,r=e.plotTop;t=this.normalize(t),e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(Ce(n.series,"click",Se(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(Se(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r)&&Ce(e,"click",t)))},setDOMEvents:function(){var e=this,t=e.chart.container,n=t.ownerDocument;t.onmousedown=function(t){e.onContainerMouseDown(t)},t.onmousemove=function(t){e.onContainerMouseMove(t)},t.onclick=function(t){e.onContainerClick(t)},ge(t,"mouseleave",e.onContainerMouseLeave),1===pe.chartCount&&ge(n,"mouseup",e.onDocumentMouseUp),pe.hasTouch&&(t.ontouchstart=function(t){e.onContainerTouchStart(t)},t.ontouchmove=function(t){e.onContainerTouchMove(t)},1===pe.chartCount&&ge(n,"touchend",e.onDocumentTouchEnd))},destroy:function(){var n=this,t=this.chart.container.ownerDocument;n.unDocMouseMove&&n.unDocMouseMove(),De(n.chart.container,"mouseleave",n.onContainerMouseLeave),pe.chartCount||(De(t,"mouseup",n.onDocumentMouseUp),pe.hasTouch&&De(t,"touchend",n.onDocumentTouchEnd)),clearInterval(n.tooltipTimeout),pe.objectEach(n,function(t,e){n[e]=null})}},Le=(Oe=t).charts,Ie=Oe.each,Ne=Oe.extend,Re=Oe.map,Fe=Oe.noop,je=Oe.pick,Ne(Oe.Pointer.prototype,{pinchTranslate:function(t,e,n,i,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,i,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,i,r,o)},pinchTranslateDirection:function(t,e,n,i,r,o,a,s){var l,u,c,h=this.chart,d=t?"x":"y",f=t?"X":"Y",p="chart"+f,g=t?"width":"height",m=h["plot"+(t?"Left":"Top")],v=s||1,y=h.inverted,b=h.bounds[t?"h":"v"],x=1===e.length,w=e[0][p],S=n[0][p],_=!x&&e[1][p],C=!x&&n[1][p];(n=function(){!x&&20<Math.abs(w-_)&&(v=s||Math.abs(S-C)/Math.abs(w-_)),u=(m-S)/v+w,l=h["plot"+(t?"Width":"Height")]/v})(),(e=u)<b.min?(e=b.min,c=!0):e+l>b.max&&(e=b.max-l,c=!0),c?(S-=.8*(S-a[d][0]),x||(C-=.8*(C-a[d][1])),n()):a[d]=[S,C],y||(o[d]=u-m,o[g]=l),o=y?1/v:v,r[g]=l,r[d]=e,i[y?t?"scaleY":"scaleX":"scale"+f]=v,i["translate"+f]=o*m+(S-o*w)},pinch:function(t){var e=this,a=e.chart,n=e.pinchDown,i=t.touches,r=i.length,o=e.lastValidTouch,s=e.hasZoom,l=e.selectionMarker,u={},c=1===r&&(e.inClass(t.target,"highcharts-tracker")&&a.runTrackerClick||e.runChartClick),h={};1<r&&(e.initiated=!0),s&&e.initiated&&!c&&t.preventDefault(),Re(i,function(t){return e.normalize(t)}),"touchstart"===t.type?(Ie(i,function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}}),o.x=[n[0].chartX,n[1]&&n[1].chartX],o.y=[n[0].chartY,n[1]&&n[1].chartY],Ie(a.axes,function(t){if(t.zoomEnabled){var e=a.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(je(t.options.min,t.dataMin)),r=t.toPixels(je(t.options.max,t.dataMax)),o=Math.max(i,r);e.min=Math.min(t.pos,Math.min(i,r)-n),e.max=Math.max(t.pos+t.len,o+n)}}),e.res=!0):e.followTouchMove&&1===r?this.runPointActions(e.normalize(t)):n.length&&(l||(e.selectionMarker=l=Ne({destroy:Fe,touch:!0},a.plotBox)),e.pinchTranslate(n,i,u,l,h,o),e.hasPinched=s,e.scaleGroups(u,h),e.res&&(e.res=!1,this.reset(!1,0)))},touch:function(t,e){var n,i=this.chart;i.index!==Oe.hoverChartIndex&&this.onContainerMouseLeave({relatedTarget:!0}),Oe.hoverChartIndex=i.index,1===t.touches.length?(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop)&&!i.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),je(n,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},onContainerTouchStart:function(t){this.zoomOption(t),this.touch(t,!0)},onContainerTouchMove:function(t){this.touch(t)},onDocumentTouchEnd:function(t){Le[Oe.hoverChartIndex]&&Le[Oe.hoverChartIndex].pointer.drop(t)}}),function(r){var e=r.addEvent,o=r.charts,i=r.css,n=r.doc,t=r.extend,a=r.noop,s=r.Pointer,l=r.removeEvent,u=r.win,c=r.wrap;if(!r.hasTouch&&(u.PointerEvent||u.MSPointerEvent)){function h(t,e,n,i){"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!o[r.hoverChartIndex]||(i(t),(i=o[r.hoverChartIndex].pointer)[e]({type:n,target:t.currentTarget,preventDefault:a,touches:function(){var e=[];return e.item=function(t){return this[t]},r.objectEach(d,function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),e}()}))}var d={},f=!!u.PointerEvent;t(s.prototype,{onContainerPointerDown:function(t){h(t,"onContainerTouchStart","touchstart",function(t){d[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},onContainerPointerMove:function(t){h(t,"onContainerTouchMove","touchmove",function(t){d[t.pointerId]={pageX:t.pageX,pageY:t.pageY},d[t.pointerId].target||(d[t.pointerId].target=t.currentTarget)})},onDocumentPointerUp:function(t){h(t,"onDocumentTouchEnd","touchend",function(t){delete d[t.pointerId]})},batchMSEvents:function(t){t(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(n,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),c(s.prototype,"init",function(t,e,n){t.call(this,e,n),this.hasZoom&&i(e.container,{"-ms-touch-action":"none","touch-action":"none"})}),c(s.prototype,"setDOMEvents",function(t){t.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(e)}),c(s.prototype,"destroy",function(t){this.batchMSEvents(l),t.call(this)})}}(t),Be=(He=t).addEvent,ze=He.css,We=He.discardElement,$e=He.defined,qe=He.each,Ue=He.isFirefox,Ye=He.marginNames,Ge=He.merge,Xe=He.pick,Ve=He.setAnimation,Ze=He.stableSort,Ke=He.win,Je=He.wrap,He.Legend=function(t,e){this.init(t,e)},He.Legend.prototype={init:function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),Be(this.chart,"endResize",function(){this.legend.positionCheckboxes()}))},setOptions:function(t){var e=Xe(t.padding,8);this.options=t,this.itemStyle=t.itemStyle,this.itemHiddenStyle=Ge(this.itemStyle,t.itemHiddenStyle),this.itemMarginTop=t.itemMarginTop||0,this.padding=e,this.initialItemY=e-5,this.itemHeight=this.maxItemWidth=0,this.symbolWidth=Xe(t.symbolWidth,16),this.pages=[]},update:function(t,e){var n=this.chart;this.setOptions(Ge(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,Xe(e,!0)&&n.redraw()},colorizeItem:function(t,e){t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden");var n=this.options,i=t.legendItem,r=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color,s=(n=e?n.itemStyle.color:a,e&&t.color||a),l=t.options&&t.options.marker,u={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),o&&(l&&o.isMarker&&(u=t.pointAttribs(),e||(u.stroke=u.fill=a)),o.attr(u))},positionItem:function(t){var e=(n=this.options).symbolPadding,n=!n.rtl,i=(r=t._legendItemPos)[0],r=r[1],o=t.checkbox;(t=t.legendGroup)&&t.element&&t.translate(n?i:this.legendWidth-i-2*e-4,r),o&&(o.x=i,o.y=r)},destroyItem:function(e){var t=e.checkbox;qe(["legendItem","legendLine","legendSymbol","legendGroup"],function(t){e[t]&&(e[t]=e[t].destroy())}),t&&We(e.checkbox)},destroy:function(){function e(t){this[t]&&(this[t]=this[t].destroy())}qe(this.getAllItems(),function(t){qe(["legendItem","legendGroup"],e,t)}),qe("clipRect up down pager nav box title group".split(" "),e,this),this.display=null},positionCheckboxes:function(i){var r,o=this.group&&this.group.alignAttr,a=this.clipHeight||this.legendHeight,s=this.titleHeight;o&&(r=o.translateY,qe(this.allItems,function(t){var e,n=t.checkbox;n&&(e=r+s+n.y+(i||0)+3,ze(n,{left:o.translateX+t.checkboxOffset+n.x-20+"px",top:e+"px",display:r-6<e&&e<r+a-6?"":"none"}))}))},renderTitle:function(){var t=this.options,e=this.padding,n=t.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}).css(n.style).add(this.group)),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},setText:function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?He.format(e.labelFormat,t):e.labelFormatter.call(t)})},renderItem:function(t){var e=this.chart,n=e.renderer,i=this.options,r="horizontal"===i.layout,o=this.symbolWidth,a=i.symbolPadding,s=this.itemStyle,l=this.itemHiddenStyle,u=this.padding,c=r?Xe(i.itemDistance,20):0,h=!i.rtl,d=i.width,f=i.itemMarginBottom||0,p=this.itemMarginTop,g=t.legendItem,m=!t.series,v=!m&&t.series.drawLegendSymbol?t.series:t,y=v.options,b=this.createCheckboxForItem&&y&&y.showCheckbox,x=(y=o+a+c+(b?20:0),i.useHTML),w=t.options.className;g||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+v.type+"-series highcharts-color-"+t.colorIndex+(w?" "+w:"")+(m?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=n.text("",h?o+a:-a,this.baseline||0,x).css(Ge(t.visible?s:l)).attr({align:h?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(o=s.fontSize,this.fontMetrics=n.fontMetrics(o,g),this.baseline=this.fontMetrics.f+3+p,g.attr("y",this.baseline)),this.symbolHeight=i.symbolHeight||this.fontMetrics.f,v.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,x),b&&this.createCheckboxForItem(t)),this.colorizeItem(t,t.visible),s.width||g.css({width:(i.itemWidth||i.width||e.spacingBox.width)-y}),this.setText(t),n=g.getBBox(),s=t.checkboxOffset=i.itemWidth||t.legendItemWidth||n.width+y,this.itemHeight=n=Math.round(t.legendItemHeight||n.height||this.symbolHeight),r&&this.itemX-u+s>(d||e.spacingBox.width-2*u-i.x)&&(this.itemX=u,this.itemY+=p+this.lastLineHeight+f,this.lastLineHeight=0),this.maxItemWidth=Math.max(this.maxItemWidth,s),this.lastItemY=p+this.itemY+f,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=s:(this.itemY+=p+n+f,this.lastLineHeight=n),this.offsetWidth=d||Math.max((r?this.itemX-u-(t.checkbox?0:c):s)+u,this.offsetWidth)},getAllItems:function(){var n=[];return qe(this.chart.series,function(t){var e=t&&t.options;t&&Xe(e.showInLegend,!$e(e.linkedTo)&&void 0,!0)&&(n=n.concat(t.legendItems||("point"===e.legendType?t.data:t)))}),n},adjustMargins:function(n,i){var r=this.chart,o=this.options,a=o.align.charAt(0)+o.verticalAlign.charAt(0)+o.layout.charAt(0);o.floating||qe([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(t,e){t.test(a)&&!$e(n[e])&&(r[Ye[e]]=Math.max(r[Ye[e]],r.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*o[e%2?"x":"y"]+Xe(o.margin,12)+i[e]))})},render:function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.group,l=r.box,u=r.options,c=r.padding;r.itemX=c,r.itemY=r.initialItemY,r.offsetWidth=0,r.lastItemY=0,s||(r.group=s=a.g("legend").attr({zIndex:7}).add(),r.contentGroup=a.g().attr({zIndex:1}).add(s),r.scrollGroup=a.g().add(r.contentGroup)),r.renderTitle(),t=r.getAllItems(),Ze(t,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),u.reversed&&t.reverse(),r.allItems=t,r.display=e=!!t.length,r.lastLineHeight=0,qe(t,function(t){r.renderItem(t)}),n=(u.width||r.offsetWidth)+c,i=r.lastItemY+r.lastLineHeight+r.titleHeight,i=r.handleOverflow(i),i+=c,l||(r.box=l=a.rect().addClass("highcharts-legend-box").attr({r:u.borderRadius}).add(s),l.isNew=!0),l.attr({stroke:u.borderColor,"stroke-width":u.borderWidth||0,fill:u.backgroundColor||"none"}).shadow(u.shadow),0<n&&0<i&&(l[l.isNew?"attr":"animate"](l.crisp({x:0,y:0,width:n,height:i},l.strokeWidth())),l.isNew=!1),l[e?"show":"hide"](),r.legendWidth=n,r.legendHeight=i,qe(t,function(t){r.positionItem(t)}),e&&s.align(Ge(u,{width:n,height:i}),!0,"spacingBox"),o.isResizing||this.positionCheckboxes()},handleOverflow:function(t){function e(t){"number"==typeof t?c.attr({height:t}):c&&(n.clipRect=c.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+l+"px,9999px,"+(l+t)+"px,0)":"auto")}var r,o,n=this,i=(u=this.chart).renderer,a=this.options,s=a.y,l=this.padding,u=u.spacingBox.height+("top"===a.verticalAlign?-s:s)-l,c=(s=a.maxHeight,this.clipRect),h=a.navigation,d=Xe(h.animation,!0),f=h.arrowSize||12,p=this.nav,g=this.pages,m=this.allItems;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(u/=2),s&&(u=Math.min(u,s)),g.length=0,u<t&&!1!==h.enabled?(this.clipHeight=r=Math.max(u-20-this.titleHeight-l,0),this.currentPage=Xe(this.currentPage,1),this.fullHeight=t,qe(m,function(t,e){var n=t._legendItemPos[1];t=Math.round(t.legendItem.getBBox().height);var i=g.length;(!i||n-g[i-1]>r&&(o||n)!==g[i-1])&&(g.push(o||n),i++),e===m.length-1&&n+t-g[i-1]>r&&g.push(n),n!==o&&(o=n)}),c||(c=n.clipRect=i.clipRect(0,l,9999,0),n.contentGroup.clip(c)),e(r),p||(this.nav=p=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,f,f).on("click",function(){n.scroll(-1,d)}).add(p),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation").css(h.style).add(p),this.down=i.symbol("triangle-down",0,0,f,f).on("click",function(){n.scroll(1,d)}).add(p)),n.scroll(0),t=u):p&&(e(),this.nav=p.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},scroll:function(t,e){var n=this.pages,i=n.length;t=this.currentPage+t;var r=this.clipHeight,o=this.options.navigation,a=this.pager,s=this.padding;i<t&&(t=i),0<t&&(void 0!==e&&Ve(e,this.chart),this.nav.attr({translateX:s,translateY:r+this.padding+7+this.titleHeight,visibility:"visible"}),this.up.attr({class:1===t?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"}),a.attr({text:t+"/"+i}),this.down.attr({x:18+this.pager.getBBox().width,class:t===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"}),this.up.attr({fill:1===t?o.inactiveColor:o.activeColor}).css({cursor:1===t?"default":"pointer"}),this.down.attr({fill:t===i?o.inactiveColor:o.activeColor}).css({cursor:t===i?"default":"pointer"}),e=-n[t-1]+this.initialItemY,this.scrollGroup.animate({translateY:e}),this.currentPage=t,this.positionCheckboxes(e))}},He.LegendSymbolMixin={drawRectangle:function(t,e){var n=t.symbolHeight,i=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(i?(t.symbolWidth-n)/2:0,t.baseline-n+1,i?n:t.symbolWidth,n,Xe(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e,n=this.options,i=n.marker,r=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b),e={"stroke-width":n.lineWidth||0},n.dashStyle&&(e.dashstyle=n.dashStyle),this.legendLine=s.path(["M",0,t,"L",r,t]).addClass("highcharts-graph").attr(e).add(l),i&&!1!==i.enabled&&(n=Math.min(Xe(i.radius,a),a),0===this.symbol.indexOf("url")&&(i=Ge(i,{width:o,height:o}),n=0),this.legendSymbol=i=s.symbol(this.symbol,r/2-n,t-n,2*n,2*n,i).addClass("highcharts-point").add(l),i.isMarker=!0)}},(/Trident\/7\.0/.test(Ke.navigator.userAgent)||Ue)&&Je(He.Legend.prototype,"positionItem",function(t,e){function n(){e._legendItemPos&&t.call(i,e)}var i=this;n(),setTimeout(n)}),tn=(Qe=t).addEvent,en=Qe.animate,nn=Qe.animObject,rn=Qe.attr,on=Qe.doc,an=Qe.Axis,sn=Qe.createElement,ln=Qe.defaultOptions,un=Qe.discardElement,cn=Qe.charts,hn=Qe.css,dn=Qe.defined,fn=Qe.each,pn=Qe.extend,gn=Qe.find,mn=Qe.fireEvent,vn=Qe.getStyle,yn=Qe.grep,bn=Qe.isNumber,xn=Qe.isObject,wn=Qe.isString,Sn=Qe.Legend,_n=Qe.marginNames,Cn=Qe.merge,kn=Qe.objectEach,Mn=Qe.Pointer,Tn=Qe.pick,Dn=Qe.pInt,An=Qe.removeEvent,Pn=Qe.seriesTypes,En=Qe.splat,On=Qe.svg,Ln=Qe.syncTimeout,In=Qe.win,Nn=Qe.Renderer,Rn=Qe.Chart=function(){this.getArgs.apply(this,arguments)},Qe.chart=function(t,e,n){return new Rn(t,e,n)},pn(Rn.prototype,{callbacks:[],getArgs:function(){var t=[].slice.call(arguments);(wn(t[0])||t[0].nodeName)&&(this.renderTo=t.shift()),this.init(t[0],t[1])},init:function(t,e){var n,i,r=t.series,o=t.plotOptions||{};for(i in t.series=null,(n=Cn(ln,t)).plotOptions)n.plotOptions[i].tooltip=o[i]&&Cn(o[i].tooltip)||void 0;n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,n.series=t.series=r,this.userOptions=t,i=(t=n.chart).events,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.hasCartesianSeries=t.showAxes;var a=this;a.index=cn.length,cn.push(a),Qe.chartCount++,i&&kn(i,function(t,e){tn(a,e,t)}),a.xAxis=[],a.yAxis=[],a.pointCount=a.colorCounter=a.symbolCounter=0,a.firstRender()},initSeries:function(t){var e=this.options.chart;return(e=Pn[t.type||e.type||e.defaultSeriesType])||Qe.error(17,!0),(e=new e).init(this,t),e},orderSeries:function(t){var e=this.series;for(t=t||0;t<e.length;t++)e[t]&&(e[t].index=t,e[t].name=e[t].name||"Series "+(e[t].index+1))},isInsidePlot:function(t,e,n){var i=n?e:t;return t=n?t:e,0<=i&&i<=this.plotWidth&&0<=t&&t<=this.plotHeight},redraw:function(t){var n,e,i,r=this.axes,o=this.series,a=this.pointer,s=this.legend,l=this.isDirtyLegend,u=this.hasCartesianSeries,c=this.isDirtyBox,h=this.renderer,d=h.isHidden(),f=[];for(this.setResponsive&&this.setResponsive(!1),Qe.setAnimation(t,this),d&&this.temporaryDisplay(),this.layOutTitles(),t=o.length;t--;)if((i=o[t]).options.stacking&&(n=!0,i.isDirty)){e=!0;break}if(e)for(t=o.length;t--;)(i=o[t]).options.stacking&&(i.isDirty=!0);fn(o,function(t){t.isDirty&&"point"===t.options.legendType&&(t.updateTotals&&t.updateTotals(),l=!0),t.isDirtyData&&mn(t,"updatedData")}),l&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),n&&this.getStacks(),u&&fn(r,function(t){t.updateNames(),t.setScale()}),this.getMargins(),u&&(fn(r,function(t){t.isDirty&&(c=!0)}),fn(r,function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,f.push(function(){mn(t,"afterSetExtremes",pn(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(c||n)&&t.redraw()})),c&&this.drawChartBox(),mn(this,"predraw"),fn(o,function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),a&&a.reset(!0),h.draw(),mn(this,"redraw"),mn(this,"render"),d&&this.temporaryDisplay(!0),fn(f,function(t){t.call()})},get:function(e){function t(t){return t.id===e||t.options&&t.options.id===e}var n,i,r=this.series;for(n=gn(this.axes,t)||gn(this.series,t),i=0;!n&&i<r.length;i++)n=gn(r[i].points||[],t);return n},getAxes:function(){var e=this,t=(n=this.options).xAxis=En(n.xAxis||{}),n=n.yAxis=En(n.yAxis||{});fn(t,function(t,e){t.index=e,t.isX=!0}),fn(n,function(t,e){t.index=e}),t=t.concat(n),fn(t,function(t){new an(e,t)})},getSelectedPoints:function(){var e=[];return fn(this.series,function(t){e=e.concat(yn(t.data||[],function(t){return t.selected}))}),e},getSelectedSeries:function(){return yn(this.series,function(t){return t.selected})},setTitle:function(t,e,n){var i,o=this,r=o.options;i=r.title=Cn({style:{color:"#333333",fontSize:r.isStock?"16px":"18px"}},r.title,t),r=r.subtitle=Cn({style:{color:"#666666"}},r.subtitle,e),fn([["title",t,i],["subtitle",e,r]],function(t,e){var n=t[0],i=o[n],r=t[1];t=t[2],i&&r&&(o[n]=i=i.destroy()),t&&t.text&&!i&&(o[n]=o.renderer.text(t.text,0,0,t.useHTML).attr({align:t.align,class:"highcharts-"+n,zIndex:t.zIndex||4}).add(),o[n].update=function(t){o.setTitle(!e&&t,e&&t)},o[n].css(t.style))}),o.layOutTitles(n)},layOutTitles:function(t){var e,r=0,o=this.renderer,a=this.spacingBox;fn(["title","subtitle"],function(t){var e,n=this[t],i=this.options[t];t="title"===t?-3:i.verticalAlign?0:r+2,n&&(e=i.style.fontSize,e=o.fontMetrics(e,n).b,n.css({width:(i.width||a.width+i.widthAdjust)+"px"}).align(pn({y:t+e},i),!1,"spacingBox"),i.floating||i.verticalAlign||(r=Math.ceil(r+n.getBBox(i.useHTML).height)))},this),e=this.titleOffset!==r,this.titleOffset=r,!this.isDirtyBox&&e&&(this.isDirtyBox=e,this.hasRendered&&Tn(t,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var t=(e=this.options.chart).width,e=e.height,n=this.renderTo;dn(t)||(this.containerWidth=vn(n,"width")),dn(e)||(this.containerHeight=vn(n,"height")),this.chartWidth=Math.max(0,t||this.containerWidth||600),this.chartHeight=Math.max(0,Qe.relativeLength(e,this.chartWidth)||this.containerHeight||400)},temporaryDisplay:function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(Qe.css(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(on.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(on.body.contains(e)||(e.hcOrigDetached=!0,on.body.appendChild(e)),("none"===vn(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),Qe.css(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==on.body););},setClassName:function(t){this.container.className="highcharts-container "+(t||"")},getContainer:function(){var t,e,n,i=this.options,r=i.chart;t=this.renderTo;var o,a=Qe.uniqueKey();t||(this.renderTo=t=r.renderTo),wn(t)&&(this.renderTo=t=on.getElementById(t)),t||Qe.error(13,!0),e=Dn(rn(t,"data-highcharts-chart")),bn(e)&&cn[e]&&cn[e].hasRendered&&cn[e].destroy(),rn(t,"data-highcharts-chart",this.index),t.innerHTML="",r.skipClone||t.offsetWidth||this.temporaryDisplay(),this.getChartSize(),e=this.chartWidth,n=this.chartHeight,o=pn({position:"relative",overflow:"hidden",width:e+"px",height:n+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},r.style),this.container=t=sn("div",{id:a},o,t),this._cursor=t.style.cursor,this.renderer=new(Qe[r.renderer]||Nn)(t,e,n,null,r.forExport,i.exporting&&i.exporting.allowHTML),this.setClassName(r.className),this.renderer.setStyle(r.style),this.renderer.chartIndex=this.index},getMargins:function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i&&!dn(n[0])&&(this.plotTop=Math.max(this.plotTop,i+this.options.title.margin+e[0])),this.legend.display&&this.legend.adjustMargins(n,e),this.extraMargin&&(this[this.extraMargin.type]=(this[this.extraMargin.type]||0)+this.extraMargin.value),this.extraTopMargin&&(this.plotTop+=this.extraTopMargin),t||this.getAxisMargins()},getAxisMargins:function(){var n=this,i=n.axisOffset=[0,0,0,0],r=n.margin;n.hasCartesianSeries&&fn(n.axes,function(t){t.visible&&t.getOffset()}),fn(_n,function(t,e){dn(r[e])||(n[t]+=i[e])}),n.setChartSize()},reflow:function(t){var e=this,n=e.options.chart,i=e.renderTo,r=dn(n.width)&&dn(n.height),o=n.width||vn(i,"width");n=n.height||vn(i,"height"),i=t?t.target:In,r||e.isPrinting||!o||!n||i!==In&&i!==on||(o===e.containerWidth&&n===e.containerHeight||(clearTimeout(e.reflowTimeout),e.reflowTimeout=Ln(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerWidth=o,e.containerHeight=n)},initReflow:function(){var t,e=this;t=tn(In,"resize",function(t){e.reflow(t)}),tn(e,"destroy",t)},setSize:function(t,e,n){var i=this,r=i.renderer;i.isResizing+=1,Qe.setAnimation(n,i),i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize(),((t=r.globalAnimation)?en:hn)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},t),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),fn(i.axes,function(t){t.isDirty=!0,t.setScale()}),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,mn(i,"resize"),Ln(function(){i&&mn(i,"endResize",null,function(){--i.isResizing})},nn(t).duration)},setChartSize:function(t){function e(t){return t=f[t]||0,Math.max(a||t,t)/2}var n,i,r,o,a,s=this.inverted,l=this.renderer,u=this.chartWidth,c=this.chartHeight,h=this.options.chart,d=this.spacing,f=this.clipOffset;this.plotLeft=n=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(u-n-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(c-i-this.marginBottom)),this.plotSizeX=s?o:r,this.plotSizeY=s?r:o,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=l.spacingBox={x:d[3],y:d[0],width:u-d[3]-d[1],height:c-d[0]-d[2]},this.plotBox=l.plotBox={x:n,y:i,width:r,height:o},a=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(e(3)),l=Math.ceil(e(0)),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-e(1)-s),height:Math.max(0,Math.floor(this.plotSizeY-e(2)-l))},t||fn(this.axes,function(t){t.setAxisSize(),t.setAxisTranslation()})},resetMargins:function(){var r=this,o=r.options.chart;fn(["margin","spacing"],function(n){var t=o[n],i=xn(t)?t:[t,t,t,t];fn(["Top","Right","Bottom","Left"],function(t,e){r[n][e]=Tn(o[n+t],i[e])})}),fn(_n,function(t,e){r[t]=Tn(r.margin[e],r.spacing[e])}),r.axisOffset=[0,0,0,0],r.clipOffset=[]},drawChartBox:function(){var t,e,n=this.options.chart,i=this.renderer,r=this.chartWidth,o=this.chartHeight,a=this.chartBackground,s=this.plotBackground,l=this.plotBorder,u=this.plotBGImage,c=n.backgroundColor,h=n.plotBackgroundColor,d=n.plotBackgroundImage,f=this.plotLeft,p=this.plotTop,g=this.plotWidth,m=this.plotHeight,v=this.plotBox,y=this.clipRect,b=this.clipBox,x="animate";a||(this.chartBackground=a=i.rect().addClass("highcharts-background").add(),x="attr"),e=(t=n.borderWidth||0)+(n.shadow?8:0),c={fill:c||"none"},(t||a["stroke-width"])&&(c.stroke=n.borderColor,c["stroke-width"]=t),a.attr(c).shadow(n.shadow),a[x]({x:e/2,y:e/2,width:r-e-t%2,height:o-e-t%2,r:n.borderRadius}),x="animate",s||(x="attr",this.plotBackground=s=i.rect().addClass("highcharts-plot-background").add()),s[x](v),s.attr({fill:h||"none"}).shadow(n.plotShadow),d&&(u?u.animate(v):this.plotBGImage=i.image(d,f,p,g,m).add()),y?y.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),x="animate",l||(x="attr",this.plotBorder=l=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),l.attr({stroke:n.plotBorderColor,"stroke-width":n.plotBorderWidth||0,fill:"none"}),l[x](l.crisp({x:f,y:p,width:g,height:m},-l.strokeWidth())),this.isDirtyBox=!1},propFromSeries:function(){var e,n,i,r=this,o=r.options.chart,a=r.options.series;fn(["inverted","angular","polar"],function(t){for(e=Pn[o.type||o.defaultSeriesType],i=o[t]||e&&e.prototype[t],n=a&&a.length;!i&&n--;)(e=Pn[a[n].type])&&e.prototype[t]&&(i=!0);r[t]=i})},linkSeries:function(){var n=this,t=n.series;fn(t,function(t){t.linkedSeries.length=0}),fn(t,function(t){var e=t.options.linkedTo;wn(e)&&(e=":previous"===e?n.series[t.index-1]:n.get(e))&&e.linkedParent!==t&&(e.linkedSeries.push(t),t.linkedParent=e,t.visible=Tn(t.options.visible,e.options.visible,t.visible))})},renderSeries:function(){fn(this.series,function(t){t.translate(),t.render()})},renderLabels:function(){var r=this,o=r.options.labels;o.items&&fn(o.items,function(t){var e=pn(o.style,t.style),n=Dn(e.left)+r.plotLeft,i=Dn(e.top)+r.plotTop+12;delete e.left,delete e.top,r.renderer.text(t.html,n,i).attr({zIndex:2}).css(e).add()})},render:function(){var t,e,n,i=this.axes,r=this.renderer,o=this.options;this.setTitle(),this.legend=new Sn(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t=this.plotHeight-=21,fn(i,function(t){t.setScale()}),this.getAxisMargins(),e=1.1<o/this.plotWidth,n=1.05<t/this.plotHeight,(e||n)&&(fn(i,function(t){(t.horiz&&e||!t.horiz&&n)&&t.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries&&fn(i,function(t){t.visible&&t.render()}),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},addCredits:function(t){var e=this;(t=Cn(!0,this.options.credits,t)).enabled&&!this.credits&&(this.credits=this.renderer.text(t.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){t.href&&(In.location.href=t.href)}).attr({align:t.position.align,zIndex:8}).css(t.style).add().align(t.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},destroy:function(){var t,n=this,e=n.axes,i=n.series,r=n.container,o=r&&r.parentNode;for(mn(n,"destroy"),n.renderer.forExport?Qe.erase(cn,n):cn[n.index]=void 0,Qe.chartCount--,n.renderTo.removeAttribute("data-highcharts-chart"),An(n),t=e.length;t--;)e[t]=e[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();fn("title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" "),function(t){var e=n[t];e&&e.destroy&&(n[t]=e.destroy())}),r&&(r.innerHTML="",An(r),o&&un(r)),kn(n,function(t,e){delete n[e]})},isReadyToRender:function(){var t=this;return!(!On&&In==In.top&&"complete"!==on.readyState&&(on.attachEvent("onreadystatechange",function(){on.detachEvent("onreadystatechange",t.firstRender),"complete"===on.readyState&&t.firstRender()}),1))},firstRender:function(){var e=this,t=e.options;e.isReadyToRender()&&(e.getContainer(),mn(e,"init"),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),fn(t.series||[],function(t){e.initSeries(t)}),e.linkSeries(),mn(e,"beforeRender"),Mn&&(e.pointer=new Mn(e,t)),e.render(),!e.renderer.imgCount&&e.onload&&e.onload(),e.temporaryDisplay(!0))},onload:function(){fn([this.callback].concat(this.callbacks),function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),mn(this,"load"),mn(this,"render"),dn(this.index)&&!1!==this.options.chart.reflow&&this.initReflow(),this.onload=null}}),Hn=(Fn=t).each,Bn=Fn.extend,zn=Fn.erase,Wn=Fn.fireEvent,$n=Fn.format,qn=Fn.isArray,Un=Fn.isNumber,Yn=Fn.pick,Gn=Fn.removeEvent,Fn.Point=jn=function(){},Fn.Point.prototype={init:function(t,e,n){return this.series=t,this.color=t.color,this.applyOptions(e,n),t.options.colorByPoint?(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter],e=e.length,n=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)):n=t.colorIndex,this.colorIndex=Yn(this.colorIndex,n),t.chart.pointCount++,this},applyOptions:function(t,e){var n=this.series,i=n.options.pointValKey||n.pointValKey;return t=jn.prototype.optionsToObject.call(this,t),Bn(this,t),this.options=this.options?Bn(this.options,t):t,t.group&&delete this.group,i&&(this.y=this[i]),this.isNull=Yn(this.isValid&&!this.isValid(),null===this.x||!Un(this.y,!0)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n&&(this.x=void 0===e?n.autoIncrement(this):e),this},optionsToObject:function(t){var e={},n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a=0,s=0;if(Un(t)||null===t)e[r[0]]=t;else if(qn(t))for(!i&&t.length>o&&("string"==(n=typeof t[0])?e.name=t[0]:"number"===n&&(e.x=t[0]),a++);s<o;)i&&void 0===t[a]||(e[r[s]]=t[a]),a++,s++;else"object"==typeof t&&((e=t).dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return e},getClassName:function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},getZone:function(){var t,e=(n=this.series).zones,n=n.zoneAxis||"y",i=0;for(t=e[i];this[n]>=t.value;)t=e[++i];return t&&t.color&&!this.options.color&&(this.color=t.color),t},destroy:function(){var t,e=this.series.chart,n=e.hoverPoints;for(t in e.pointCount--,n&&(this.setState(),zn(n,this),n.length||(e.hoverPoints=null)),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(Gn(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this),this)this[t]=null},destroyElements:function(){for(var t,e=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],n=6;n--;)this[t=e[n]]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(e){var t=this.series,n=t.tooltipOptions,i=Yn(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return Hn(t.pointArrayMap||["y"],function(t){t="{point."+t,(r||o)&&(e=e.replace(t+"}",r+t+"}"+o)),e=e.replace(t+"}",t+":,."+i+"f}")}),$n(e,{point:this,series:this.series})},firePointEvent:function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&this.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),Wn(this,t,e,n)},visible:!0},Vn=(Xn=t).addEvent,Zn=Xn.animObject,Kn=Xn.arrayMax,Jn=Xn.arrayMin,Qn=Xn.correctFloat,ti=Xn.Date,ei=Xn.defaultOptions,ni=Xn.defaultPlotOptions,ii=Xn.defined,ri=Xn.each,oi=Xn.erase,ai=Xn.extend,si=Xn.fireEvent,li=Xn.grep,ui=Xn.isArray,ci=Xn.isNumber,hi=Xn.isString,di=Xn.merge,fi=Xn.objectEach,pi=Xn.pick,gi=Xn.removeEvent,mi=Xn.splat,vi=Xn.SVGElement,yi=Xn.syncTimeout,bi=Xn.win,Xn.Series=Xn.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{lineWidth:0,lineColor:"#ffffff",radius:4,states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":Xn.numberFormat(this.y,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{isCartesian:!0,pointClass:Xn.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(t,e){var n,i,r=this,o=t.series;r.chart=t,r.options=e=r.setOptions(e),r.linkedSeries=[],r.bindAxes(),ai(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),n=e.events,fi(n,function(t,e){Vn(r,e,t)}),(n&&n.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),ri(r.parallelArrays,function(t){r[t+"Data"]=[]}),r.setData(e.data,!1),r.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(i=o[o.length-1]),r._i=pi(i&&i._i,-1)+1,t.orderSeries(this.insert(o))},insert:function(t){var e,n=this.options.index;if(ci(n)){for(e=t.length;e--;)if(n>=pi(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return pi(e,t.length-1)},bindAxes:function(){var n,i=this,r=i.options,t=i.chart;ri(i.axisTypes||[],function(e){ri(t[e],function(t){n=t.options,(r[e]===n.index||void 0!==r[e]&&r[e]===n.id||void 0===r[e]&&0===n.index)&&(i.insert(t.series),(i[e]=t).isDirty=!0)}),i[e]||i.optionalAxis===e||Xn.error(18,!0)})},updateParallelArrays:function(n,i){var r=n.series,e=arguments,t=ci(i)?function(t){var e="y"===t&&r.toYData?r.toYData(n):n[t];r[t+"Data"][i]=e}:function(t){Array.prototype[i].apply(r[t+"Data"],Array.prototype.slice.call(e,2))};ri(r.parallelArrays,t)},autoIncrement:function(){var t,e=this.options,n=this.xIncrement,i=e.pointIntervalUnit;return n=pi(n,e.pointStart,0),this.pointInterval=t=pi(this.pointInterval,e.pointInterval,1),i&&(e=new ti(n),"day"===i?e=+e[ti.hcSetDate](e[ti.hcGetDate]()+t):"month"===i?e=+e[ti.hcSetMonth](e[ti.hcGetMonth]()+t):"year"===i&&(e=+e[ti.hcSetFullYear](e[ti.hcGetFullYear]()+t)),t=e-n),this.xIncrement=n+t,n},setOptions:function(t){var e=this.chart,n=e.options,i=n.plotOptions,r=(e.userOptions||{}).plotOptions||{},o=i[this.type];return this.userOptions=t,e=di(o,i.series,t),this.tooltipOptions=di(ei.tooltip,ei.plotOptions.series&&ei.plotOptions.series.tooltip,ei.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=pi(t.stickyTracking,r[this.type]&&r[this.type].stickyTracking,r.series&&r.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||e.stickyTracking),null===o.marker&&delete e.marker,this.zoneAxis=e.zoneAxis,t=this.zones=(e.zones||[]).slice(),!e.negativeColor&&!e.negativeFillColor||e.zones||t.push({value:e[this.zoneAxis+"Threshold"]||e.threshold||0,className:"highcharts-negative",color:e.negativeColor,fillColor:e.negativeFillColor}),t.length&&ii(t[t.length-1].value)&&t.push({color:this.color,fillColor:this.fillColor}),e},getCyclic:function(t,e,n){var i,r=this.chart,o=this.userOptions,a=t+"Index",s=t+"Counter",l=n?n.length:pi(r.options.chart[t+"Count"],r[t+"Count"]);e||(i=pi(o[a],o["_"+a]),ii(i)||(r.series.length||(r[s]=0),o["_"+a]=i=r[s]%l,r[s]+=1),n&&(e=n[i])),void 0!==i&&(this[a]=i),this[t]=e},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||ni[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:Xn.LegendSymbolMixin.drawLineMarker,setData:function(t,e,n,i){var r,o=this,a=o.points,s=a&&a.length||0,l=o.options,u=o.chart,c=null,h=o.xAxis,d=l.turboThreshold,f=this.xData,p=this.yData,g=(r=o.pointArrayMap)&&r.length;if(r=(t=t||[]).length,e=pi(e,!0),!1!==i&&r&&s===r&&!o.cropped&&!o.hasGroupedData&&o.visible)ri(t,function(t,e){a[e].update&&t!==l.data[e]&&a[e].update(t,!1,null,!1)});else{if(o.xIncrement=null,o.colorCounter=0,ri(this.parallelArrays,function(t){o[t+"Data"].length=0}),d&&d<r){for(n=0;null===c&&n<r;)c=t[n],n++;if(ci(c))for(n=0;n<r;n++)f[n]=this.autoIncrement(),p[n]=t[n];else if(ui(c))if(g)for(n=0;n<r;n++)c=t[n],f[n]=c[0],p[n]=c.slice(1,g+1);else for(n=0;n<r;n++)c=t[n],f[n]=c[0],p[n]=c[1];else Xn.error(12)}else for(n=0;n<r;n++)void 0!==t[n]&&(c={series:o},o.pointClass.prototype.applyOptions.apply(c,[t[n]]),o.updateParallelArrays(c,n));for(hi(p[0])&&Xn.error(14,!0),o.data=[],o.options.data=o.userOptions.data=t,n=s;n--;)a[n]&&a[n].destroy&&a[n].destroy();h&&(h.minRange=h.userMinRange),o.isDirty=u.isDirtyBox=!0,o.isDirtyData=!!a,n=!1}"point"===l.legendType&&(this.processData(),this.generatePoints()),e&&u.redraw(n)},processData:function(t){var e,n=this.xData,i=this.yData,r=n.length;e=0;var o,a,s,l=this.xAxis;s=(f=this.options).cropThreshold;var u,c,h=this.getExtremesFromAll||f.getExtremesFromAll,d=this.isCartesian,f=l&&l.val2lin,p=l&&l.isLog;if(d&&!this.isDirty&&!l.isDirty&&!this.yAxis.isDirty&&!t)return!1;for(l&&(u=(t=l.getExtremes()).min,c=t.max),d&&this.sorted&&!h&&(!s||s<r||this.forceCrop)&&(n[r-1]<u||n[0]>c?(n=[],i=[]):(n[0]<u||n[r-1]>c)&&(n=(e=this.cropData(this.xData,this.yData,u,c)).xData,i=e.yData,e=e.start,o=!0)),s=n.length||1;--s;)0<(r=p?f(n[s])-f(n[s-1]):n[s]-n[s-1])&&(void 0===a||r<a)?a=r:r<0&&this.requireSorting&&Xn.error(15);this.cropped=o,this.cropStart=e,this.processedXData=n,this.processedYData=i,this.closestPointRange=a},cropData:function(t,e,n,i){var r,o=t.length,a=0,s=o,l=pi(this.cropShoulder,1);for(r=0;r<o;r++)if(t[r]>=n){a=Math.max(0,r-l);break}for(n=r;n<o;n++)if(t[n]>i){s=n+l;break}return{xData:t.slice(a,s),yData:e.slice(a,s),start:a,end:s}},generatePoints:function(){var t,e,n,i,r=(d=this.options).data,o=this.data,a=this.processedXData,s=this.processedYData,l=this.pointClass,u=a.length,c=this.cropStart||0,h=this.hasGroupedData,d=d.keys,f=[];for(o||h||((o=[]).length=r.length,o=this.data=o),d&&h&&(this.options.keys=!1),i=0;i<u;i++)e=c+i,h?(n=(new l).init(this,[a[i]].concat(mi(s[i])))).dataGroup=this.groupMap[i]:(n=o[e])||void 0===r[e]||(o[e]=n=(new l).init(this,r[e],a[i])),n&&(n.index=e,f[i]=n);if(this.options.keys=d,o&&(u!==(t=o.length)||h))for(i=0;i<t;i++)i!==c||h||(i+=u),o[i]&&(o[i].destroyElements(),o[i].plotX=void 0);this.data=o,this.points=f},getExtremes:function(t){var e,n,i,r,o,a=this.yAxis,s=this.processedXData,l=[],u=0,c=(e=this.xAxis.getExtremes()).min,h=e.max;for(e=(t=t||this.stackedYData||this.processedYData||[]).length,o=0;o<e;o++)if(i=s[o],r=t[o],n=(ci(r,!0)||ui(r))&&(!a.positiveValuesOnly||r.length||0<r),i=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||(s[o]||i)>=c&&(s[o]||i)<=h,n&&i)if(n=r.length)for(;n--;)null!==r[n]&&(l[u++]=r[n]);else l[u++]=r;this.dataMin=Jn(l),this.dataMax=Kn(l)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n,i,r=this.options,o=r.stacking,a=this.xAxis,s=a.categories,l=this.yAxis,u=this.points,c=u.length,h=!!this.modifyValue,d=r.pointPlacement,f="between"===d||ci(d),p=r.threshold,g=r.startFromThreshold?p:0,m=Number.MAX_VALUE;for("between"===d&&(d=.5),ci(d)&&(d*=pi(r.pointRange||a.pointRange)),r=0;r<c;r++){var v=u[r],y=v.x,b=v.y;e=v.low;var x,w=o&&l.stacks[(this.negStacks&&b<(g?0:p)?"-":"")+this.stackKey];l.positiveValuesOnly&&null!==b&&b<=0&&(v.isNull=!0),v.plotX=t=Qn(Math.min(Math.max(-1e5,a.translate(y,0,0,0,1,d,"flags"===this.type)),1e5)),o&&this.visible&&!v.isNull&&w&&w[y]&&(i=this.getStackIndicator(i,y,this.index),e=(b=(x=w[y]).points[i.key])[0],b=b[1],e===g&&i.key===w[y].base&&(e=pi(p,l.min)),l.positiveValuesOnly&&e<=0&&(e=null),v.total=v.stackTotal=x.total,v.percentage=x.total&&v.y/x.total*100,v.stackY=b,x.setOffset(this.pointXOffset||0,this.barW||0)),v.yBottom=ii(e)?l.translate(e,0,1,0,1):null,h&&(b=this.modifyValue(b,v)),v.plotY=e="number"==typeof b&&1/0!==b?Math.min(Math.max(-1e5,l.translate(b,0,1,0,1)),1e5):void 0,v.isInside=void 0!==e&&0<=e&&e<=l.len&&0<=t&&t<=a.len,v.clientX=f?Qn(a.translate(y,0,0,0,1,d)):t,v.negative=v.y<(p||0),v.category=s&&void 0!==s[v.x]?s[v.x]:v.x,v.isNull||(void 0!==n&&(m=Math.min(m,Math.abs(t-n))),n=t),v.zone=this.zones.length&&v.getZone()}this.closestPointRangePx=m},getValidPoints:function(t,e){var n=this.chart;return li(t||this.points||[],function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,n.inverted)||t.isNull)})},setClip:function(t){var e=this.chart,n=this.options,i=e.renderer,r=e.inverted,o=this.clipBox,a=o||e.clipBox,s=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,a.height,n.xAxis,n.yAxis].join(),l=e[s],u=e[s+"m"];l||(t&&(a.width=0,e[s+"m"]=u=i.clipRect(-99,r?-e.plotLeft:-e.plotTop,99,r?e.chartWidth:e.chartHeight)),e[s]=l=i.clipRect(a),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),!1!==n.clip&&(this.group.clip(t||o?l:e.clipRect),this.markerGroup.clip(u),this.sharedClipKey=s),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&e[s]&&(o||(e[s]=e[s].destroy()),e[s+"m"]&&(e[s+"m"]=e[s+"m"].destroy())))},animate:function(t){var e,n=this.chart,i=Zn(this.options.animation);t?this.setClip(i):((t=n[e=this.sharedClipKey])&&t.animate({width:n.plotSizeX},i),n[e+"m"]&&n[e+"m"].animate({width:n.plotSizeX+99},i),this.animate=null)},afterAnimate:function(){this.setClip(),si(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,n,i,r,o,a,s,l=this.points,u=this.chart,c=this.options.marker,h=this[this.specialGroup]||this.markerGroup,d=pi(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(e=0;e<l.length;e++)t=(n=l[e]).plotY,i=n.graphic,r=n.marker||{},o=!!n.marker,a=d&&void 0===r.enabled||r.enabled,s=n.isInside,a&&ci(t)&&null!==n.y?(t=pi(r.symbol,this.symbol),n.hasImage=0===t.indexOf("url"),a=this.markerAttribs(n,n.selected&&"select"),i?i[s?"show":"hide"](!0).animate(a):s&&(0<a.width||n.hasImage)&&(n.graphic=i=u.renderer.symbol(t,a.x,a.y,a.width,a.height,o?r:c).add(h)),i&&i.attr(this.pointAttribs(n,n.selected&&"select")),i&&i.addClass(n.getClassName(),!0)):i&&(n.graphic=i.destroy())},markerAttribs:function(t,e){var n=this.options.marker,i=t.marker||{},r=pi(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],r=pi(e&&e.radius,n&&n.radius,r+(n&&n.radiusPlus||0))),t.hasImage&&(r=0),t={x:Math.floor(t.plotX)-r,y:t.plotY-r},r&&(t.width=t.height=2*r),t},pointAttribs:function(t,e){var n=this.options.marker,i=(s=t&&t.options)&&s.marker||{},r=this.color,o=s&&s.color,a=t&&t.color,s=pi(i.lineWidth,n.lineWidth);return t=t&&t.zone&&t.zone.color,r=o||t||a||r,t=i.fillColor||n.fillColor||r,r=i.lineColor||n.lineColor||r,e&&(n=n.states[e],e=i.states&&i.states[e]||{},s=pi(e.lineWidth,n.lineWidth,s+pi(e.lineWidthPlus,n.lineWidthPlus,0)),t=e.fillColor||n.fillColor||t,r=e.lineColor||n.lineColor||r),{stroke:r,"stroke-width":s,fill:t}},destroy:function(){var t,e,n,i=this,r=i.chart,o=/AppleWebKit\/533/.test(bi.navigator.userAgent),a=i.data||[];for(si(i,"destroy"),gi(i),ri(i.axisTypes||[],function(t){(n=i[t])&&n.series&&(oi(n.series,i),n.isDirty=n.forceRedraw=!0)}),i.legendItem&&i.chart.legend.destroyItem(i),t=a.length;t--;)(e=a[t])&&e.destroy&&e.destroy();i.points=null,clearTimeout(i.animationTimeout),fi(i,function(t,e){t instanceof vi&&!t.survive&&t[o&&"group"===e?"hide":"destroy"]()}),r.hoverSeries===i&&(r.hoverSeries=null),oi(r.series,i),r.orderSeries(),fi(i,function(t,e){delete i[e]})},getGraphPath:function(o,a,s){var t,l,u=this,c=u.options,h=c.step,d=[],f=[];return(t=(o=o||u.points).reversed)&&o.reverse(),(h={right:1,center:2}[h]||h&&3)&&t&&(h=4-h),!c.connectNulls||a||s||(o=this.getValidPoints(o)),ri(o,function(t,e){var n=t.plotX,i=t.plotY,r=o[e-1];(t.leftCliff||r&&r.rightCliff)&&!s&&(l=!0),l=t.isNull&&!ii(a)&&0<e?!c.connectNulls:!(!t.isNull||a)||(0===e||l?e=["M",t.plotX,t.plotY]:u.getPointSpline?e=u.getPointSpline(o,t,e):h?(e=1===h?["L",r.plotX,i]:2===h?["L",(r.plotX+n)/2,r.plotY,"L",(r.plotX+n)/2,i]:["L",n,r.plotY]).push("L",n,i):e=["L",n,i],f.push(t.x),h&&f.push(t.x),d.push.apply(d,e),!1)}),d.xMap=f,u.graphPath=d},drawGraph:function(){var r=this,o=this.options,a=(this.gappedPath||this.getGraphPath).call(this),n=[["graph","highcharts-graph",o.lineColor||this.color,o.dashStyle]];ri(this.zones,function(t,e){n.push(["zone-graph-"+e,"highcharts-graph highcharts-zone-graph-"+e+" "+(t.className||""),t.color||r.color,t.dashStyle||o.dashStyle])}),ri(n,function(t,e){var n=t[0],i=r[n];i?(i.endX=a.xMap,i.animate({d:a})):a.length&&(r[n]=r.chart.renderer.path(a).addClass(t[1]).attr({zIndex:1}).add(r.group),i={stroke:t[2],"stroke-width":o.lineWidth,fill:r.fillGraph&&r.color||"none"},t[3]?i.dashstyle=t[3]:"square"!==o.linecap&&(i["stroke-linecap"]=i["stroke-linejoin"]="round"),i=r[n].attr(i).shadow(e<2&&o.shadow)),i&&(i.startX=a.xMap,i.isArea=a.isArea)})},applyZones:function(){var n,i,r,o,a,s,l,u,c,h=this,d=this.chart,f=d.renderer,t=this.zones,p=this.clips||[],g=this.graph,m=this.area,v=Math.max(d.chartWidth,d.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],b=d.inverted,x=!1;t.length&&(g||m)&&y&&void 0!==y.min&&(a=y.reversed,s=y.horiz,g&&g.hide(),m&&m.hide(),o=y.getExtremes(),ri(t,function(t,e){n=a?s?d.plotWidth:0:s?0:y.toPixels(o.min),n=Math.min(Math.max(pi(i,n),0),v),i=Math.min(Math.max(Math.round(y.toPixels(pi(t.value,o.max),!0)),0),v),x&&(n=i=y.toPixels(o.max)),l=Math.abs(n-i),u=Math.min(n,i),c=Math.max(n,i),y.isXAxis?(r={x:b?c:u,y:0,width:l,height:v},s||(r.x=d.plotHeight-r.x)):(r={x:0,y:b?c:u,width:v,height:l},s&&(r.y=d.plotWidth-r.y)),b&&f.isVML&&(r=y.isXAxis?{x:0,y:a?u:c,height:r.width,width:d.chartWidth}:{x:r.y-d.plotLeft-d.spacingBox.x,y:0,width:r.height,height:d.chartHeight}),p[e]?p[e].animate(r):(p[e]=f.clipRect(r),g&&h["zone-graph-"+e].clip(p[e]),m&&h["zone-area-"+e].clip(p[e])),x=t.value>o.max}),this.clips=p)},invertGroups:function(e){function t(){ri(["group","markerGroup"],function(t){i[t]&&(r.renderer.isVML&&i[t].attr({width:i.yAxis.len,height:i.xAxis.len}),i[t].width=i.yAxis.len,i[t].height=i.xAxis.len,i[t].invert(e))})}var n,i=this,r=i.chart;i.xAxis&&(n=Vn(r,"resize",t),Vn(i,"destroy",n),t(),i.invertGroups=t)},plotGroup:function(t,e,n,i,r){var o=this[t],a=!o;return a&&(this[t]=o=this.chart.renderer.g().attr({zIndex:i||.1}).add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series highcharts-color-"+this.colorIndex+" "+(this.options.className||""),!0),o.attr({visibility:n})[a?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},render:function(){var t,e=this,n=e.chart,i=e.options,r=!!e.animate&&n.renderer.isSVG&&Zn(i.animation).duration,o=e.visible?"inherit":"hidden",a=i.zIndex,s=e.hasRendered,l=n.seriesGroup,u=n.inverted;t=e.plotGroup("group","series",o,a,l),e.markerGroup=e.plotGroup("markerGroup","markers",o,a,l),r&&e.animate(!0),t.inverted=!!e.isCartesian&&u,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(u),!1===i.clip||e.sharedClipKey||s||t.clip(n.clipRect),r&&e.animate(),s||(e.animationTimeout=yi(function(){e.afterAnimate()},r)),e.isDirty=!1,e.hasRendered=!0},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:pi(i&&i.left,t.plotLeft),translateY:pi(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e)},buildKDTree:function(){this.buildingKdTree=!0;var a=this,t=-1<a.options.findNearestPointBy.indexOf("y")?2:1;delete a.kdTree,yi(function(){a.kdTree=function t(e,n,i){var r,o;if(o=e&&e.length)return r=a.kdAxisArray[n%i],e.sort(function(t,e){return t[r]-e[r]}),{point:e[o=Math.floor(o/2)],left:t(e.slice(0,o),n+1,i),right:t(e.slice(o+1),n+1,i)}}(a.getValidPoints(null,!a.directTouch),t,t),a.buildingKdTree=!1},a.options.kdNow?0:1)},searchKDTree:function(t,e){var c=this,h=this.kdAxisArray[0],d=this.kdAxisArray[1],f=e?"distX":"dist";if(e=-1<c.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(),this.kdTree)return function t(e,n,i,r){var o,a,s=n.point,l=c.kdAxisArray[i%r],u=s;return o=((a=ii(e[h])&&ii(s[h])?Math.pow(e[h]-s[h],2):null)||0)+((o=ii(e[d])&&ii(s[d])?Math.pow(e[d]-s[d],2):null)||0),s.dist=ii(o)?Math.sqrt(o):Number.MAX_VALUE,s.distX=ii(a)?Math.sqrt(a):Number.MAX_VALUE,a=(l=e[l]-s[l])<0?"right":"left",n[o=l<0?"left":"right"]&&(u=(o=t(e,n[o],i+1,r))[f]<u[f]?o:s),n[a]&&Math.sqrt(l*l)<u[f]&&(u=(e=t(e,n[a],i+1,r))[f]<u[f]?e:u),u}(t,this.kdTree,e,e)}}),wi=(xi=t).Axis,Si=xi.Chart,_i=xi.correctFloat,Ci=xi.defined,ki=xi.destroyObjectProperties,Mi=xi.each,Ti=xi.format,Di=xi.objectEach,Ai=xi.pick,Pi=xi.Series,xi.StackItem=function(t,e,n,i,r){var o=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e,this.x=i,this.total=null,this.points={},this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":n?"bottom":"top"),y:Ai(e.y,o?4:n?14:-6),x:Ai(e.x,o?n?-6:6:0)},this.textAlign=e.textAlign||(o?n?"right":"left":"center")},xi.StackItem.prototype={destroy:function(){ki(this,this.axis)},render:function(t){var e=this.options,n=(n=e.format)?Ti(n,this):e.formatter.call(this);this.label?this.label.attr({text:n,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(n,null,null,e.useHTML).css(e.style).attr({align:this.textAlign,rotation:e.rotation,visibility:"hidden"}).add(t)},setOffset:function(t,e){var n=(r=this.axis).chart,i=r.translate(r.usePercentage?100:this.total,0,0,0,1),r=r.translate(0);r=Math.abs(i-r),t=n.xAxis[0].translate(this.x)+t,i=this.getStackBox(n,this,t,i,e,r),(e=this.label)&&(e.align(this.alignOptions,null,i),i=e.alignAttr,e[!1===this.options.crop||n.isInsidePlot(i.x,i.y)?"show":"hide"](!0))},getStackBox:function(t,e,n,i,r,o){var a=e.axis.reversed,s=t.inverted;return t=t.plotHeight,e=e.isNegative&&!a||!e.isNegative&&a,{x:s?e?i:i-o:n,y:s?t-n-r:e?t-i-o:t-i,width:s?o:r,height:s?r:o}}},Si.prototype.getStacks=function(){var e=this;Mi(e.yAxis,function(t){t.stacks&&t.hasVisibleSeries&&(t.oldStacks=t.stacks)}),Mi(e.series,function(t){!t.options.stacking||!0!==t.visible&&!1!==e.options.chart.ignoreHiddenSeries||(t.stackKey=t.type+Ai(t.options.stack,""))})},wi.prototype.buildStacks=function(){var t,e=this.series,n=Ai(this.options.reversedStacks,!0),i=e.length;if(!this.isXAxis){for(this.usePercentage=!1,t=i;t--;)e[n?t:i-t-1].setStackedPoints();if(this.usePercentage)for(t=0;t<i;t++)e[t].setPercentStacks()}},wi.prototype.renderStackTotals=function(){var t=this.chart,e=t.renderer,n=this.stacks,i=this.stackTotalGroup;i||(this.stackTotalGroup=i=e.g("stack-labels").attr({visibility:"visible",zIndex:6}).add()),i.translate(t.plotLeft,t.plotTop),Di(n,function(t){Di(t,function(t){t.render(i)})})},wi.prototype.resetStacks=function(){var i=this,t=i.stacks;i.isXAxis||Di(t,function(n){Di(n,function(t,e){t.touched<i.stacksTouched?(t.destroy(),delete n[e]):(t.total=null,t.cum=null)})})},wi.prototype.cleanStacks=function(){var t;this.isXAxis||(this.oldStacks&&(t=this.stacks=this.oldStacks),Di(t,function(t){Di(t,function(t){t.cum=t.total})}))},Pi.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var t,e,n,i,r,o,a,s=this.processedXData,l=this.processedYData,u=[],c=l.length,h=(p=this.options).threshold,d=p.startFromThreshold?h:0,f=p.stack,p=p.stacking,g=this.stackKey,m="-"+g,v=this.negStacks,y=this.yAxis,b=y.stacks,x=y.oldStacks;for(y.stacksTouched+=1,r=0;r<c;r++)o=s[r],a=l[r],i=(t=this.getStackIndicator(t,o,this.index)).key,b[n=(e=v&&a<(d?0:h))?m:g]||(b[n]={}),b[n][o]||(x[n]&&x[n][o]?(b[n][o]=x[n][o],b[n][o].total=null):b[n][o]=new xi.StackItem(y,y.options.stackLabels,e,o,f)),n=b[n][o],null!==a&&(n.points[i]=n.points[this.index]=[Ai(n.cum,d)],Ci(n.cum)||(n.base=i),n.touched=y.stacksTouched,0<t.index&&!1===this.singleStacks&&(n.points[i][0]=n.points[this.index+","+o+",0"][0])),"percent"===p?(e=e?g:m,v&&b[e]&&b[e][o]?(e=b[e][o],n.total=e.total=Math.max(e.total,n.total)+Math.abs(a)||0):n.total=_i(n.total+(Math.abs(a)||0))):n.total=_i(n.total+(a||0)),n.cum=Ai(n.cum,d)+(a||0),null!==a&&(n.points[i].push(n.cum),u[r]=n.cum);"percent"===p&&(y.usePercentage=!0),this.stackedYData=u,y.oldStacks={}}},Pi.prototype.setPercentStacks=function(){var r,o=this,t=o.stackKey,a=o.yAxis.stacks,s=o.processedXData;Mi([t,"-"+t],function(t){for(var e,n,i=s.length;i--;)e=s[i],r=o.getStackIndicator(r,e,o.index,t),(e=(n=a[t]&&a[t][e])&&n.points[r.key])&&(n=n.total?100/n.total:0,e[0]=_i(e[0]*n),e[1]=_i(e[1]*n),o.stackedYData[i]=e[1])})},Pi.prototype.getStackIndicator=function(t,e,n,i){return!Ci(t)||t.x!==e||i&&t.key!==i?t={x:e,index:0,key:i}:t.index++,t.key=[n,e,t.index].join(),t},Oi=(Ei=t).addEvent,Li=Ei.animate,Ii=Ei.Axis,Ni=Ei.createElement,Ri=Ei.css,Fi=Ei.defined,ji=Ei.each,Hi=Ei.erase,Bi=Ei.extend,zi=Ei.fireEvent,Wi=Ei.inArray,$i=Ei.isNumber,qi=Ei.isObject,Ui=Ei.isArray,Yi=Ei.merge,Gi=Ei.objectEach,Xi=Ei.pick,Vi=Ei.Point,Zi=Ei.Series,Ki=Ei.seriesTypes,Ji=Ei.setAnimation,Qi=Ei.splat,Bi(Ei.Chart.prototype,{addSeries:function(t,e,n){var i,r=this;return t&&(e=Xi(e,!0),zi(r,"addSeries",{options:t},function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),e&&r.redraw(n)})),i},addAxis:function(t,e,n,i){var r=e?"xAxis":"yAxis",o=this.options;return t=Yi(t,{index:this[r].length,isX:e}),e=new Ii(this,t),o[r]=Qi(o[r]||{}),o[r].push(t),Xi(n,!0)&&this.redraw(i),e},showLoading:function(t){function e(){r&&Ri(r,{left:n.plotLeft+"px",top:n.plotTop+"px",width:n.plotWidth+"px",height:n.plotHeight+"px"})}var n=this,i=n.options,r=n.loadingDiv,o=i.loading;r||(n.loadingDiv=r=Ni("div",{className:"highcharts-loading highcharts-loading-hidden"},null,n.container),n.loadingSpan=Ni("span",{className:"highcharts-loading-inner"},null,r),Oi(n,"redraw",e)),r.className="highcharts-loading",n.loadingSpan.innerHTML=t||i.lang.loading,Ri(r,Bi(o.style,{zIndex:10})),Ri(n.loadingSpan,o.labelStyle),n.loadingShown||(Ri(r,{opacity:0,display:""}),Li(r,{opacity:o.style.opacity||.5},{duration:o.showDuration||0})),n.loadingShown=!0,e()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",Li(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){Ri(e,{display:"none"})}})),this.loadingShown=!1},propsRequireDirtyBox:"backgroundColor borderColor borderWidth margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions tooltip".split(" "),update:function(t,e,i){var n,r,o=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle"},s=t.chart,l=[];s&&(Yi(!0,o.options.chart,s),"className"in s&&o.setClassName(s.className),("inverted"in s||"polar"in s)&&(o.propFromSeries(),n=!0),"alignTicks"in s&&(n=!0),Gi(s,function(t,e){-1!==Wi("chart."+e,o.propsRequireUpdateSeries)&&(r=!0),-1!==Wi(e,o.propsRequireDirtyBox)&&(o.isDirtyBox=!0)}),"style"in s&&o.renderer.setStyle(s.style)),t.colors&&(this.options.colors=t.colors),t.plotOptions&&Yi(!0,this.options.plotOptions,t.plotOptions),Gi(t,function(t,e){o[e]&&"function"==typeof o[e].update?o[e].update(t,!1):"function"==typeof o[a[e]]&&o[a[e]](t),"chart"!==e&&-1!==Wi(e,o.propsRequireUpdateSeries)&&(r=!0)}),ji("xAxis yAxis zAxis series colorAxis pane".split(" "),function(n){t[n]&&(ji(Qi(t[n]),function(t,e){(e=Fi(t.id)&&o.get(t.id)||o[n][e])&&e.coll===n&&(e.update(t,!1),i&&(e.touched=!0)),!e&&i&&("series"===n?o.addSeries(t,!1).touched=!0:"xAxis"!==n&&"yAxis"!==n||(o.addAxis(t,"xAxis"===n,!1).touched=!0))}),i&&ji(o[n],function(t){t.touched?delete t.touched:l.push(t)}))}),ji(l,function(t){t.remove(!1)}),n&&ji(o.axes,function(t){t.update({},!1)}),r&&ji(o.series,function(t){t.update({},!1)}),t.loading&&Yi(!0,o.options.loading,t.loading),n=s&&s.width,s=s&&s.height,$i(n)&&n!==o.chartWidth||$i(s)&&s!==o.chartHeight?o.setSize(n,s):Xi(e,!0)&&o.redraw()},setSubtitle:function(t){this.setTitle(void 0,t)}}),Bi(Vi.prototype,{update:function(t,e,n,i){function r(){a.applyOptions(t),null===a.y&&l&&(a.graphic=l.destroy()),qi(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy())),o=a.index,s.updateParallelArrays(a,o),c.data[o]=qi(c.data[o],!0)||qi(t,!0)?a.options:t,s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===c.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(n)}var o,a=this,s=a.series,l=a.graphic,u=s.chart,c=s.options;e=Xi(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},remove:function(t,e){this.series.removePoint(Wi(this,this.series.data),t,e)}}),Bi(Zi.prototype,{addPoint:function(t,e,n,i){var r,o,a,s,l=this.options,u=this.data,c=this.chart,h=(h=this.xAxis)&&h.hasNames&&h.names,d=l.data,f=this.xData;if(e=Xi(e,!0),r={series:this},this.pointClass.prototype.applyOptions.apply(r,[t]),s=r.x,a=f.length,this.requireSorting&&s<f[a-1])for(o=!0;a&&f[a-1]>s;)a--;this.updateParallelArrays(r,"splice",a,0,0),this.updateParallelArrays(r,a),h&&r.name&&(h[s]=r.name),d.splice(a,0,t),o&&(this.data.splice(a,0,null),this.processData()),"point"===l.legendType&&this.generatePoints(),n&&(u[0]&&u[0].remove?u[0].remove(!1):(u.shift(),this.updateParallelArrays(r,"shift"),d.shift())),this.isDirtyData=this.isDirty=!0,e&&c.redraw(i)},removePoint:function(t,e,n){function i(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(a||{series:r},"splice",t,1),a&&a.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&l.redraw()}var r=this,o=r.data,a=o[t],s=r.points,l=r.chart;Ji(n,l),e=Xi(e,!0),a?a.firePointEvent("remove",null,i):i()},remove:function(t,e,n){function i(){r.destroy(),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),Xi(t,!0)&&o.redraw(e)}var r=this,o=r.chart;!1!==n?zi(r,"remove",null,i):i()},update:function(t,e){var n,i=this,r=i.chart,o=i.userOptions,a=i.oldType||i.type,s=t.type||o.type||r.options.chart.type,l=Ki[a].prototype,u=["group","markerGroup","dataLabelsGroup","navigatorSeries","baseSeries"],c=i.finishedAnimating&&{animation:!1};if(Object.keys&&"data"===Object.keys(t).toString())return this.setData(t.data,e);for(n in(s&&s!==a||void 0!==t.zIndex)&&(u.length=0),ji(u,function(t){u[t]=i[t],delete i[t]}),t=Yi(o,c,{index:i.index,pointStart:i.xData[0]},{data:i.options.data},t),i.remove(!1,null,!1),l)i[n]=void 0;Bi(i,Ki[s||a].prototype),ji(u,function(t){i[t]=u[t]}),i.init(r,t),i.oldType=a,r.linkSeries(),Xi(e,!0)&&r.redraw(!1)}}),Bi(Ii.prototype,{update:function(t,e){var n=this.chart;t=n.options[this.coll][this.options.index]=Yi(this.userOptions,t),this.destroy(!0),this.init(n,Bi(t,{events:void 0})),n.isDirtyBox=!0,Xi(e,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);Hi(e.axes,this),Hi(e[n],this),Ui(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],ji(e[n],function(t,e){t.options.index=e}),this.destroy(),e.isDirtyBox=!0,Xi(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}}),er=(tr=t).color,nr=tr.each,ir=tr.map,rr=tr.pick,or=tr.Series,(0,tr.seriesType)("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(t){var l,u,e=[],c=[],n=this.xAxis,i=this.yAxis,h=i.stacks[this.stackKey],d={},f=this.index,r=i.series,p=r.length,g=rr(i.options.reversedStacks,!0)?1:-1;if(t=t||this.points,this.options.stacking){for(u=0;u<t.length;u++)d[t[u].x]=t[u];tr.objectEach(h,function(t,e){null!==t.total&&c.push(e)}),c.sort(function(t,e){return t-e}),l=ir(r,function(){return this.visible}),nr(c,function(r,o){var a,s,t=0;if(d[r]&&!d[r].isNull)e.push(d[r]),nr([-1,1],function(t){var e=1===t?"rightNull":"leftNull",n=0,i=h[c[o+t]];if(i)for(u=f;0<=u&&u<p;)(a=i.points[u])||(u===f?d[r][e]=!0:l[u]&&(s=h[r].points[u])&&(n-=s[1]-s[0])),u+=g;d[r][1===t?"rightCliff":"leftCliff"]=n});else{for(u=f;0<=u&&u<p;){if(a=h[r].points[u]){t=a[1];break}u+=g}t=i.translate(t,0,1,0,1),e.push({isNull:!0,plotX:n.translate(r,0,0,0,1),x:r,plotY:t,yBottom:t})}})}return e},getGraphPath:function(s){function t(t,e,n){var i=s[t];t=u&&p[i.x].points[f];var r,o,a=i[n+"Null"]||0;n=i[n+"Cliff"]||0,i=!0,n||a?(r=(a?t[0]:t[1])+n,o=t[0]+n,i=!!a):!u&&s[e]&&s[e].isNull&&(r=o=g),void 0!==r&&(d.push({plotX:l,plotY:null===r?m:c.getThreshold(r),isNull:i,isCliff:!0}),h.push({plotX:l,plotY:null===o?m:c.getThreshold(o),doCurve:!1}))}var e,n,l,i,r=or.prototype.getGraphPath,u=(o=this.options).stacking,c=this.yAxis,h=[],d=[],f=this.index,p=c.stacks[this.stackKey],g=o.threshold,m=c.getThreshold(o.threshold),o=o.connectNulls||"percent"===u;for(s=s||this.points,u&&(s=this.getStackPoints(s)),e=0;e<s.length;e++)n=s[e].isNull,l=rr(s[e].rectPlotX,s[e].plotX),i=rr(s[e].yBottom,m),(!n||o)&&(o||t(e,e-1,"left"),n&&!u&&o||(d.push(s[e]),h.push({x:e,plotX:l,plotY:i})),o||t(e,e+1,"right"));return e=r.call(this,d,!0,!0),h.reversed=!0,(n=r.call(this,h,!0,!0)).length&&(n[0]="L"),n=e.concat(n),r=r.call(this,d,!1,o),n.xMap=e.xMap,this.areaPath=n,r},drawGraph:function(){this.areaPath=[],or.prototype.drawGraph.apply(this);var i=this,r=this.areaPath,o=this.options,n=[["area","highcharts-area",this.color,o.fillColor]];nr(this.zones,function(t,e){n.push(["zone-area-"+e,"highcharts-area highcharts-zone-area-"+e+" "+t.className,t.color||i.color,t.fillColor||o.fillColor])}),nr(n,function(t){var e=t[0],n=i[e];n?(n.endX=r.xMap,n.animate({d:r})):(n=i[e]=i.chart.renderer.path(r).addClass(t[1]).attr({fill:rr(t[3],er(t[2]).setOpacity(rr(o.fillOpacity,.75)).get()),zIndex:0}).add(i.group)).isArea=!0,n.startX=r.xMap,n.shiftUnit=o.step?2:1})},drawLegendSymbol:tr.LegendSymbolMixin.drawRectangle}),sr=(ar=t).pick,(ar=ar.seriesType)("spline","line",{},{getPointSpline:function(t,e,n){var i,r,o,a,s=e.plotX,l=e.plotY,u=t[n-1];if(n=t[n+1],u&&!u.isNull&&!1!==u.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=u.plotY,o=n.plotX;var c=0;r=(1.5*l+t)/2.5,a=(1.5*l+(n=n.plotY))/2.5,(o=(1.5*s+o)/2.5)!=(i=(1.5*s+u.plotX)/2.5)&&(c=(a-r)*(o-s)/(o-i)+l-a),a+=c,t<(r+=c)&&l<r?a=2*l-(r=Math.max(t,l)):r<t&&r<l&&(a=2*l-(r=Math.min(t,l))),n<a&&l<a?r=2*l-(a=Math.max(n,l)):a<n&&a<l&&(r=2*l-(a=Math.min(n,l))),e.rightContX=o,e.rightContY=a}return e=["C",sr(u.rightContX,u.plotX),sr(u.rightContY,u.plotY),sr(i,s),sr(r,l),s,l],u.rightContX=u.rightContY=null,e}}),ur=(lr=t).seriesTypes.area.prototype,(0,lr.seriesType)("areaspline","spline",lr.defaultPlotOptions.area,{getStackPoints:ur.getStackPoints,getGraphPath:ur.getGraphPath,drawGraph:ur.drawGraph,drawLegendSymbol:lr.LegendSymbolMixin.drawRectangle}),hr=(cr=t).animObject,dr=cr.color,fr=cr.each,pr=cr.extend,gr=cr.isNumber,mr=cr.merge,vr=cr.pick,yr=cr.Series,br=cr.seriesType,xr=cr.svg,br("column","line",{borderRadius:0,crisp:!0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1,shadow:!1},select:{color:"#cccccc",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"},{cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){yr.prototype.init.apply(this,arguments);var e=this,t=e.chart;t.hasRendered&&fr(t.series,function(t){t.type===e.type&&(t.isDirty=!0)})},getColumnMetrics:function(){var r,o=this,t=o.options,e=o.xAxis,a=o.yAxis,n=e.reversed,s={},l=0;!1===t.grouping?l=1:fr(o.chart.series,function(t){var e,n=t.options,i=t.yAxis;t.type!==o.type||!t.visible&&o.chart.options.chart.ignoreHiddenSeries||a.len!==i.len||a.pos!==i.pos||(n.stacking?(r=t.stackKey,void 0===s[r]&&(s[r]=l++),e=s[r]):!1!==n.grouping&&(e=l++),t.columnIndex=e)});var i=Math.min(Math.abs(e.transA)*(e.ordinalSlope||t.pointRange||e.closestPointRange||e.tickInterval||1),e.len),u=i*t.groupPadding,c=(i-2*u)/(l||1);return t=Math.min(t.maxPointWidth||e.len,vr(t.pointWidth,c*(1-2*t.pointPadding))),o.columnMetrics={width:t,offset:(c-t)/2+(u+((o.columnIndex||0)+(n?1:0))*c-i/2)*(n?-1:1)},o.columnMetrics},crispCol:function(t,e,n,i){var r=this.chart,o=-((a=this.borderWidth)%2?.5:0),a=a%2?.5:1;return r.inverted&&r.renderer.isVML&&(a+=1),this.options.crisp&&(n=Math.round(t+n)+o,n-=t=Math.round(t)+o),i=Math.round(e+i)+a,o=Math.abs(e)<=.5&&.5<i,i-=e=Math.round(e)+a,o&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},translate:function(){var l=this,u=l.chart,t=l.options,e=l.dense=l.closestPointRange*l.xAxis.transA<2,c=(e=l.borderWidth=vr(t.borderWidth,e?0:1),l.yAxis),h=l.translatedThreshold=c.getThreshold(t.threshold),d=vr(t.minPointLength,5),n=l.getColumnMetrics(),f=n.width,p=l.barW=Math.max(f,1+2*e),g=l.pointXOffset=n.offset;u.inverted&&(h-=.5),t.pointPadding&&(p=Math.ceil(p)),yr.prototype.translate.apply(l),fr(l.points,function(t){var e,n=vr(t.yBottom,h),i=999+Math.abs(n),r=(i=Math.min(Math.max(-i,t.plotY),c.len+i),t.plotX+g),o=p,a=Math.min(i,n),s=Math.max(i,n)-a;Math.abs(s)<d&&d&&(s=d,e=!c.reversed&&!t.negative||c.reversed&&t.negative,a=Math.abs(a-h)>d?n-d:h-(e?d:0)),t.barX=r,t.pointWidth=f,t.tooltipPos=u.inverted?[c.len+c.pos-u.plotLeft-i,l.xAxis.len-r-o/2,s]:[r+o/2,i+c.pos-u.plotTop,s],t.shapeType="rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[r,h,o,0]:[r,a,o,s])})},getSymbol:cr.noop,drawLegendSymbol:cr.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var n,i=this.options;n=(l=this.pointAttrToOptions||{}).stroke||"borderColor";var r=l["stroke-width"]||"borderWidth",o=t&&t.color||this.color,a=t[n]||i[n]||this.color||o,s=t[r]||i[r]||this[r]||0,l=i.dashStyle;return t&&this.zones.length&&(o=t.getZone(),o=t.options.color||o&&o.color||this.color),e&&(e=(t=mr(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,o=t.color||void 0!==e&&dr(o).brighten(t.brightness).get()||o,a=t[n]||a,s=t[r]||s,l=t.dashStyle||l),n={fill:o,stroke:a,"stroke-width":s},l&&(n.dashstyle=l),n},drawPoints:function(){var n,i=this,r=this.chart,o=i.options,a=r.renderer,s=o.animationLimit||250;fr(i.points,function(t){var e=t.graphic;gr(t.plotY)&&null!==t.y?(n=t.shapeArgs,e?e[r.pointCount<s?"animate":"attr"](mr(n)):t.graphic=e=a[t.shapeType](n).add(t.group||i.group),o.borderRadius&&e.attr({r:o.borderRadius}),e.attr(i.pointAttribs(t,t.selected&&"select")).shadow(o.shadow,null,o.stacking&&!o.borderRadius),e.addClass(t.getClassName(),!0)):e&&(t.graphic=e.destroy())})},animate:function(t){var n=this,e=this.yAxis,i=n.options,r=this.chart.inverted,o={};xr&&(t?(o.scaleY=.001,t=Math.min(e.pos+e.len,Math.max(e.pos,e.toPixels(i.threshold))),r?o.translateX=t-e.len:o.translateY=t,n.group.attr(o)):(o[r?"translateX":"translateY"]=e.pos,n.group.animate(o,pr(hr(n.options.animation),{step:function(t,e){n.group.attr({scaleY:Math.max(.001,e.pos)})}})),n.animate=null))},remove:function(){var e=this,t=e.chart;t.hasRendered&&fr(t.series,function(t){t.type===e.type&&(t.isDirty=!0)}),yr.prototype.remove.apply(e,arguments)}}),(0,t.seriesType)("bar","column",null,{inverted:!0}),Sr=(wr=t).Series,(wr=wr.seriesType)("scatter","line",{lineWidth:0,findNearestPointBy:"xy",marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}"></span> <span style="font-size: 0.85em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&Sr.prototype.drawGraph.call(this)}}),Cr=(_r=t).pick,kr=_r.relativeLength,_r.CenteredSeriesMixin={getCenter:function(){var t,e,n=this.options,i=this.chart,r=2*(n.slicedOffset||0),o=i.plotWidth-2*r,a=(i=i.plotHeight-2*r,n.center),s=(a=[Cr(a[0],"50%"),Cr(a[1],"50%"),n.size||"100%",n.innerSize||0],Math.min(o,i));for(t=0;t<4;++t)e=a[t],n=t<2||2===t&&/%$/.test(e),a[t]=kr(e,[o,i,s,a[2]][t])+(n?r:0);return a[3]>a[2]&&(a[3]=a[2]),a}},Tr=(Mr=t).addEvent,Dr=Mr.defined,Ar=Mr.each,Pr=Mr.extend,Er=Mr.inArray,Or=Mr.noop,Lr=Mr.pick,Ir=Mr.Point,Nr=Mr.Series,Rr=Mr.seriesType,Fr=Mr.setAnimation,Rr("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:Mr.seriesTypes.column.prototype.pointAttribs,animate:function(t){var i=this,e=i.points,r=i.startAngleRad;t||(Ar(e,function(t){var e=t.graphic,n=t.shapeArgs;e&&(e.attr({r:t.startR||i.center[3]/2,start:r,end:r}),e.animate({r:n.r,start:n.start,end:n.end},i.options.animation))}),i.animate=null)},updateTotals:function(){var t,e,n=0,i=this.points,r=i.length,o=this.options.ignoreHiddenPoint;for(t=0;t<r;t++)e=i[t],n+=o&&!e.visible?0:e.isNull?0:e.y;for(this.total=n,t=0;t<r;t++)(e=i[t]).percentage=0<n&&(e.visible||!o)?e.y/n*100:0,e.total=n},generatePoints:function(){Nr.prototype.generatePoints.call(this),this.updateTotals()},translate:function(i){this.generatePoints();var t,e,r,n,o,a,s=0,l=(p=this.options).slicedOffset,u=l+(p.borderWidth||0),c=p.startAngle||0,h=this.startAngleRad=Math.PI/180*(c-90),d=(c=(this.endAngleRad=Math.PI/180*(Lr(p.endAngle,c+360)-90))-h,this.points),f=p.dataLabels.distance,p=p.ignoreHiddenPoint,g=d.length;for(i||(this.center=i=this.getCenter()),this.getX=function(t,e,n){return r=Math.asin(Math.min((t-i[1])/(i[2]/2+n.labelDistance),1)),i[0]+(e?-1:1)*Math.cos(r)*(i[2]/2+n.labelDistance)},o=0;o<g;o++)(a=d[o]).labelDistance=Lr(a.options.dataLabels&&a.options.dataLabels.distance,f),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,a.labelDistance),t=h+s*c,p&&!a.visible||(s+=a.percentage/100),e=h+s*c,a.shapeType="arc",a.shapeArgs={x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2,start:Math.round(1e3*t)/1e3,end:Math.round(1e3*e)/1e3},(r=(e+t)/2)>1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(r)*l),translateY:Math.round(Math.sin(r)*l)},e=Math.cos(r)*i[2]/2,n=Math.sin(r)*i[2]/2,a.tooltipPos=[i[0]+.7*e,i[1]+.7*n],a.half=r<-Math.PI/2||r>Math.PI/2?1:0,a.angle=r,t=Math.min(u,a.labelDistance/5),a.labelPos=[i[0]+e+Math.cos(r)*a.labelDistance,i[1]+n+Math.sin(r)*a.labelDistance,i[0]+e+Math.cos(r)*t,i[1]+n+Math.sin(r)*t,i[0]+e,i[1]+n,a.labelDistance<0?"center":a.half?"right":"left",r]},drawGraph:null,drawPoints:function(){var n,i,r,o,a=this,s=a.chart.renderer,l=a.options.shadow;l&&!a.shadowGroup&&(a.shadowGroup=s.g("shadow").add(a.group)),Ar(a.points,function(t){if(!t.isNull){i=t.graphic,o=t.shapeArgs,n=t.getTranslate();var e=t.shadowGroup;l&&!e&&(e=t.shadowGroup=s.g("shadow").add(a.shadowGroup)),e&&e.attr(n),r=a.pointAttribs(t,t.selected&&"select"),i?i.setRadialReference(a.center).attr(r).animate(Pr(o,n)):(t.graphic=i=s[t.shapeType](o).setRadialReference(a.center).attr(n).add(a.group),t.visible||i.attr({visibility:"hidden"}),i.attr(r).attr({"stroke-linejoin":"round"}).shadow(l,e)),i.addClass(t.getClassName())}})},searchPoint:Or,sortByAngle:function(t,n){t.sort(function(t,e){return void 0!==t.angle&&(e.angle-t.angle)*n})},drawLegendSymbol:Mr.LegendSymbolMixin.drawRectangle,getCenter:Mr.CenteredSeriesMixin.getCenter,getSymbol:Or},{init:function(){Ir.prototype.init.apply(this,arguments);var t,e=this;return e.name=Lr(e.name,"Slice"),t=function(t){e.slice("select"===t.type)},Tr(e,"select",t),Tr(e,"unselect",t),e},isValid:function(){return Mr.isNumber(this.y,!0)&&0<=this.y},setVisible:function(e,t){var n=this,i=n.series,r=i.chart,o=i.options.ignoreHiddenPoint;t=Lr(t,o),e!==n.visible&&(n.visible=n.options.visible=e=void 0===e?!n.visible:e,i.options.data[Er(n,i.data)]=n.options,Ar(["graphic","dataLabel","connector","shadowGroup"],function(t){n[t]&&n[t][e?"show":"hide"](!0)}),n.legendItem&&r.legend.colorizeItem(n,e),e||"hover"!==n.state||n.setState(""),o&&(i.isDirty=!0),t&&r.redraw())},slice:function(t,e,n){var i=this.series;Fr(n,i.chart),Lr(e,!0),this.sliced=this.options.sliced=Dr(t)?t:!this.sliced,i.options.data[Er(this,i.data)]=this.options,this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}}),Hr=(jr=t).addEvent,Br=jr.arrayMax,zr=jr.defined,Wr=jr.each,$r=jr.extend,qr=jr.format,Ur=jr.map,Yr=jr.merge,Gr=jr.noop,Xr=jr.pick,Vr=jr.relativeLength,Zr=jr.Series,Kr=jr.seriesTypes,Jr=jr.stableSort,jr.distribute=function(t,e){function n(t,e){return t.target-e.target}var i,r,o=!0,a=t,s=[];for(r=0,i=t.length;i--;)r+=t[i].size;if(e<r){for(Jr(t,function(t,e){return(e.rank||0)-(t.rank||0)}),r=i=0;r<=e;)r+=t[i].size,i++;s=t.splice(i-1,t.length)}for(Jr(t,n),t=Ur(t,function(t){return{size:t.size,targets:[t.target]}});o;){for(i=t.length;i--;)o=t[i],r=(Math.min.apply(0,o.targets)+Math.max.apply(0,o.targets))/2,o.pos=Math.min(Math.max(0,r-o.size/2),e-o.size);for(i=t.length,o=!1;i--;)0<i&&t[i-1].pos+t[i-1].size>t[i].pos&&(t[i-1].size+=t[i].size,t[i-1].targets=t[i-1].targets.concat(t[i].targets),t[i-1].pos+t[i-1].size>e&&(t[i-1].pos=e-t[i-1].size),t.splice(i,1),o=!0)}i=0,Wr(t,function(t){var e=0;Wr(t.targets,function(){a[i].pos=t.pos+e,e+=a[i].size,i++})}),a.push.apply(a,s),Jr(a,n)},Zr.prototype.drawDataLabels=function(){var l,u,c,h,d=this,f=d.options,p=f.dataLabels,t=d.points,e=d.hasRendered||0,n=Xr(p.defer,!!f.animation),g=d.chart.renderer;(p.enabled||d._hasPointLabels)&&(d.dlProcessOptions&&d.dlProcessOptions(p),h=d.plotGroup("dataLabelsGroup","data-labels",n&&!e?"hidden":"visible",p.zIndex||6),n&&(h.attr({opacity:+e}),e||Hr(d,"afterAnimate",function(){d.visible&&h.show(!0),h[f.animation?"animate":"attr"]({opacity:1},{duration:200})})),u=p,Wr(t,function(t){var e,n,i,r,o=t.dataLabel,a=t.connector,s=!o;l=t.dlOptions||t.options&&t.options.dataLabels,(e=Xr(l&&l.enabled,u.enabled)&&null!==t.y)&&(p=Yr(u,l),n=t.getLabelConfig(),c=p.format?qr(p.format,n):p.formatter.call(n,p),r=p.style,n=p.rotation,r.color=Xr(p.color,r.color,d.color,"#000000"),"contrast"===r.color&&(t.contrastColor=g.getContrast(t.color||d.color),r.color=p.inside||Xr(t.labelDistance,p.distance)<0||f.stacking?t.contrastColor:"#000000"),f.cursor&&(r.cursor=f.cursor),i={fill:p.backgroundColor,stroke:p.borderColor,"stroke-width":p.borderWidth,r:p.borderRadius||0,rotation:n,padding:p.padding,zIndex:1},jr.objectEach(i,function(t,e){void 0===t&&delete i[e]})),!o||e&&zr(c)?e&&zr(c)&&(o?i.text=c:(o=t.dataLabel=g[n?"text":"label"](c,0,-9999,p.shape,null,null,p.useHTML,null,"data-label")).addClass("highcharts-data-label-color-"+t.colorIndex+" "+(p.className||"")+(p.useHTML?"highcharts-tracker":"")),o.attr(i),o.css(r).shadow(p.shadow),o.added||o.add(h),d.alignDataLabel(t,o,p,null,s)):(t.dataLabel=o=o.destroy(),a&&(t.connector=a.destroy()))}))},Zr.prototype.alignDataLabel=function(t,e,n,i,r){var o,a=this.chart,s=a.inverted,l=Xr(t.plotX,-9999),u=Xr(t.plotY,-9999),c=e.getBBox(),h=n.rotation,d=n.align,f=this.visible&&(t.series.forceDL||a.isInsidePlot(l,Math.round(u),s)||i&&a.isInsidePlot(l,s?i.x+1:i.y+i.height-1,s)),p="justify"===Xr(n.overflow,"justify");f&&(o=n.style.fontSize,o=a.renderer.fontMetrics(o,e).b,i=$r({x:s?this.yAxis.len-u:l,y:Math.round(s?this.xAxis.len-l:u),width:0,height:0},i),$r(n,{width:c.width,height:c.height}),h?(p=!1,l=a.renderer.rotCorr(o,h),l={x:i.x+n.x+i.width/2+l.x,y:i.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height},e[r?"attr":"animate"](l).attr({align:d}),u=180<(u=(h+720)%360)&&u<360,"left"===d?l.y-=u?c.height:0:"center"===d?(l.x-=c.width/2,l.y-=c.height/2):"right"===d&&(l.x-=c.width,l.y-=u?0:c.height)):(e.align(n,null,i),l=e.alignAttr),p?t.isLabelJustified=this.justifyDataLabel(e,n,l,c,i,r):Xr(n.crop,!0)&&(f=a.isInsidePlot(l.x,l.y)&&a.isInsidePlot(l.x+c.width,l.y+c.height)),n.shape&&!h)&&e[r?"attr":"animate"]({anchorX:s?a.plotWidth-t.plotY:t.plotX,anchorY:s?a.plotHeight-t.plotX:t.plotY}),f||(e.attr({y:-9999}),e.placed=!1)},Zr.prototype.justifyDataLabel=function(t,e,n,i,r,o){var a,s,l=this.chart,u=e.align,c=e.verticalAlign,h=t.box?0:t.padding||0;return(a=n.x+h)<0&&("right"===u?e.align="left":e.x=-a,s=!0),(a=n.x+i.width-h)>l.plotWidth&&("left"===u?e.align="right":e.x=l.plotWidth-a,s=!0),(a=n.y+h)<0&&("bottom"===c?e.verticalAlign="top":e.y=-a,s=!0),(a=n.y+i.height-h)>l.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=l.plotHeight-a,s=!0),s&&(t.placed=!o,t.align(e,null,r)),s},Kr.pie&&(Kr.pie.prototype.drawDataLabels=function(){var s,n,l,u,c,h,d,f,p,g,m=this,t=m.data,v=m.chart,y=m.options.dataLabels,b=Xr(y.connectorPadding,10),i=Xr(y.connectorWidth,1),x=v.plotWidth,w=v.plotHeight,S=m.center,_=S[2]/2,C=S[1],e=[[],[]],k=[0,0,0,0];m.visible&&(y.enabled||m._hasPointLabels)&&(Wr(t,function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),Zr.prototype.drawDataLabels.apply(m),Wr(t,function(t){t.dataLabel&&t.visible&&(e[t.half].push(t),t.dataLabel._pos=null)}),Wr(e,function(t,e){var n,i,r,o=t.length,a=[];if(o)for(m.sortByAngle(t,e-.5),0<m.maxLabelDistance&&(n=Math.max(0,C-_-m.maxLabelDistance),i=Math.min(C+_+m.maxLabelDistance,v.plotHeight),Wr(t,function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,C-_-t.labelDistance),t.bottom=Math.min(C+_+t.labelDistance,v.plotHeight),r=t.dataLabel.getBBox().height||21,t.positionsIndex=a.push({target:t.labelPos[1]-t.top+r/2,size:r,rank:t.y})-1)}),jr.distribute(a,i+r-n)),g=0;g<o;g++)i=(s=t[g]).positionsIndex,c=s.labelPos,l=s.dataLabel,p=!1===s.visible?"hidden":"inherit",n=c[1],a&&zr(a[i])?void 0===a[i].pos?p="hidden":(h=a[i].size,f=s.top+a[i].pos):f=n,delete s.positionIndex,d=y.justify?S[0]+(e?-1:1)*(_+s.labelDistance):m.getX(f<s.top+2||f>s.bottom-2?n:f,e,s),l._attr={visibility:p,align:c[6]},l._pos={x:d+y.x+({left:b,right:-b}[c[6]]||0),y:f+y.y-10},c.x=d,c.y=f,Xr(y.crop,!0)&&(u=l.getBBox().width,n=null,d-u<b?(n=Math.round(u-d+b),k[3]=Math.max(n,k[3])):x-b<d+u&&(n=Math.round(d+u-x+b),k[1]=Math.max(n,k[1])),f-h/2<0?k[0]=Math.max(Math.round(h/2-f),k[0]):w<f+h/2&&(k[2]=Math.max(Math.round(f+h/2-w),k[2])),l.sideOverflow=n)}),0===Br(k)||this.verifyDataLabelOverflow(k))&&(this.placeDataLabels(),i&&Wr(this.points,function(t){var e;n=t.connector,(l=t.dataLabel)&&l._pos&&t.visible&&0<t.labelDistance?(p=l._attr.visibility,(e=!n)&&(t.connector=n=v.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex).add(m.dataLabelsGroup),n.attr({"stroke-width":i,stroke:y.connectorColor||t.color||"#666666"})),n[e?"attr":"animate"]({d:m.connectorPath(t.labelPos)}),n.attr("visibility",p)):n&&(t.connector=n.destroy())}))},Kr.pie.prototype.connectorPath=function(t){var e=t.x,n=t.y;return Xr(this.options.dataLabels.softConnector,!0)?["M",e+("left"===t[6]?5:-5),n,"C",e,n,2*t[2]-t[4],2*t[3]-t[5],t[2],t[3],"L",t[4],t[5]]:["M",e+("left"===t[6]?5:-5),n,"L",t[2],t[3],"L",t[4],t[5]]},Kr.pie.prototype.placeDataLabels=function(){Wr(this.points,function(t){var e=t.dataLabel;e&&t.visible&&((t=e._pos)?(e.sideOverflow&&(e._attr.width=e.getBBox().width-e.sideOverflow,e.css({width:e._attr.width+"px",textOverflow:"ellipsis"}),e.shortened=!0),e.attr(e._attr),e[e.moved?"animate":"attr"](t),e.moved=!0):e&&e.attr({y:-9999}))},this)},Kr.pie.prototype.alignDataLabel=Gr,Kr.pie.prototype.verifyDataLabelOverflow=function(t){var e,n=this.center,i=this.options,r=i.center,o=i.minSize||80,a=null!==i.size;return a||(null!==r[0]?e=Math.max(n[2]-Math.max(t[1],t[3]),o):(e=Math.max(n[2]-t[1]-t[3],o),n[0]+=(t[3]-t[1])/2),null!==r[1]?e=Math.max(Math.min(e,n[2]-Math.max(t[0],t[2])),o):(e=Math.max(Math.min(e,n[2]-t[0]-t[2]),o),n[1]+=(t[0]-t[2])/2),e<n[2]?(n[2]=e,n[3]=Math.min(Vr(i.innerSize||0,e),e),this.translate(n),this.drawDataLabels&&this.drawDataLabels()):a=!0),a}),Kr.column&&(Kr.column.prototype.alignDataLabel=function(t,e,n,i,r){var o=this.chart.inverted,a=t.series,s=t.dlBox||t.shapeArgs,l=Xr(t.below,t.plotY>Xr(this.translatedThreshold,a.yAxis.len)),u=Xr(n.inside,!!this.options.stacking);s&&((i=Yr(s)).y<0&&(i.height+=i.y,i.y=0),0<(s=i.y+i.height-a.yAxis.len)&&(i.height-=s),o&&(i={x:a.yAxis.len-i.y-i.height,y:a.xAxis.len-i.x-i.width,width:i.height,height:i.width}),u||(o?(i.x+=l?0:i.width,i.width=0):(i.y+=l?i.height:0,i.height=0))),n.align=Xr(n.align,!o||u?"center":l?"right":"left"),n.verticalAlign=Xr(n.verticalAlign,o||u?"middle":l?"top":"bottom"),Zr.prototype.alignDataLabel.call(this,t,e,n,i,r),t.isLabelJustified&&t.contrastColor&&t.dataLabel.css({color:t.contrastColor})}),to=(Qr=t).Chart,eo=Qr.each,no=Qr.objectEach,io=Qr.pick,ro=Qr.addEvent,to.prototype.callbacks.push(function(t){function e(){var i=[];eo(t.yAxis||[],function(t){t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&no(t.stacks,function(t){no(t,function(t){i.push(t.label)})})}),eo(t.series||[],function(t){var e=t.options.dataLabels,n=t.dataLabelCollections||["dataLabel"];(e.enabled||t._hasPointLabels)&&!e.allowOverlap&&t.visible&&eo(n,function(e){eo(t.points,function(t){t[e]&&(t[e].labelrank=io(t.labelrank,t.shapeArgs&&t.shapeArgs.height),i.push(t[e]))})})}),t.hideOverlappingLabels(i)}e(),ro(t,"redraw",e)}),to.prototype.hideOverlappingLabels=function(t){var e,n,i,r,o,a,s,l,u,c,h,d,f,p,g,m,v,y=t.length;for(n=0;n<y;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.width||(i=e.getBBox(),e.width=i.width,e.height=i.height));for(t.sort(function(t,e){return(e.labelrank||0)-(t.labelrank||0)}),n=0;n<y;n++)for(i=t[n],e=n+1;e<y;++e)r=t[e],i&&r&&i!==r&&i.placed&&r.placed&&0!==i.newOpacity&&0!==r.newOpacity&&(o=i.alignAttr,a=r.alignAttr,s=i.parentGroup,l=r.parentGroup,u=2*(i.box?0:i.padding||0),c=o.x+s.translateX,h=o.y+s.translateY,d=i.width-u,f=i.height-u,p=a.x+l.translateX,g=a.y+l.translateY,m=r.width-u,v=r.height-u,o=!(c+d<p||p+m<c||h+f<g||g+v<h))&&((i.labelrank<r.labelrank?i:r).newOpacity=0);eo(t,function(t){var e,n;t&&(n=t.newOpacity,t.oldOpacity!==n&&t.placed&&(n?t.show(!0):e=function(){t.hide()},t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,e)),t.isOld=!0)})},so=(oo=t).addEvent,lo=oo.Chart,uo=oo.createElement,co=oo.css,ho=oo.defaultOptions,fo=oo.defaultPlotOptions,po=oo.each,go=oo.extend,mo=oo.fireEvent,vo=oo.hasTouch,yo=oo.inArray,bo=oo.isObject,xo=oo.Legend,wo=oo.merge,So=oo.pick,_o=oo.Point,Co=oo.Series,ko=oo.seriesTypes,Mo=oo.svg,ao=oo.TrackerMixin={drawTrackerPoint:function(){function e(t){var e=i.getPointFromEvent(t);void 0!==e&&(i.isDirectTouch=!0,e.onMouseOver(t))}var n=this,i=n.chart.pointer;po(n.points,function(t){t.graphic&&(t.graphic.element.point=t),t.dataLabel&&(t.dataLabel.div?t.dataLabel.div.point=t:t.dataLabel.element.point=t)}),n._hasTracking||(po(n.trackerGroups,function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(t){i.onTrackerMouseOut(t)}),vo&&n[t].on("touchstart",e),n.options.cursor&&n[t].css(co).css({cursor:n.options.cursor}))}),n._hasTracking=!0)},drawTrackerGraph:function(){function e(){s.hoverSeries!==n&&n.onMouseOver()}var t,n=this,i=n.options,r=i.trackByArea,o=[].concat(r?n.areaPath:n.graphPath),a=o.length,s=n.chart,l=s.pointer,u=s.renderer,c=s.options.tooltip.snap,h=n.tracker,d="rgba(192,192,192,"+(Mo?1e-4:.002)+")";if(a&&!r)for(t=a+1;t--;)"M"===o[t]&&o.splice(t+1,0,o[t+1]-c,o[t+2],"L"),(t&&"M"===o[t]||t===a)&&o.splice(t,0,"L",o[t-2]+c,o[t-1]);h?h.attr({d:o}):n.graph&&(n.tracker=u.path(o).attr({"stroke-linejoin":"round",visibility:n.visible?"visible":"hidden",stroke:d,fill:r?d:"none","stroke-width":n.graph.strokeWidth()+(r?0:2*c),zIndex:2}).add(n.group),po([n.tracker,n.markerGroup],function(t){t.addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(t){l.onTrackerMouseOut(t)}),i.cursor&&t.css({cursor:i.cursor}),vo&&t.on("touchstart",e)}))}},ko.column&&(ko.column.prototype.drawTracker=ao.drawTrackerPoint),ko.pie&&(ko.pie.prototype.drawTracker=ao.drawTrackerPoint),ko.scatter&&(ko.scatter.prototype.drawTracker=ao.drawTrackerPoint),go(xo.prototype,{setItemEvents:function(n,t,e){var i=this,r=i.chart.renderer.boxWrapper,o="highcharts-legend-"+(n.series?"point":"series")+"-active";(e?t:n.legendGroup).on("mouseover",function(){n.setState("hover"),r.addClass(o),t.css(i.options.itemHoverStyle)}).on("mouseout",function(){t.css(wo(n.visible?i.itemStyle:i.itemHiddenStyle)),r.removeClass(o),n.setState()}).on("click",function(t){function e(){n.setVisible&&n.setVisible()}t={browserEvent:t},n.firePointEvent?n.firePointEvent("legendItemClick",t,e):mo(n,"legendItemClick",t,e)})},createCheckboxForItem:function(e){e.checkbox=uo("input",{type:"checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),so(e.checkbox,"click",function(t){mo(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},function(){e.select()})})}}),ho.legend.itemStyle.cursor="pointer",go(lo.prototype,{showResetZoom:function(){var t=this,e=ho.lang,n=t.options.chart.resetZoomButton,i=n.theme,r=i.states,o="chart"===n.relativeTo?null:"plotBox";this.resetZoomButton=t.renderer.button(e.resetZoom,null,null,function(){t.zoomOut()},i,r&&r.hover).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,o)},zoomOut:function(){var t=this;mo(t,"selection",{resetSelection:!0},function(){t.zoom()})},zoom:function(t){var n,e,i=this.pointer,r=!1;!t||t.resetSelection?(po(this.axes,function(t){n=t.zoom()}),i.initiated=!1):po(t.xAxis.concat(t.yAxis),function(t){var e=t.axis;i[e.isXAxis?"zoomX":"zoomY"]&&(n=e.zoom(t.min,t.max),e.displayBtn&&(r=!0))}),e=this.resetZoomButton,r&&!e?this.showResetZoom():!r&&bo(e)&&(this.resetZoomButton=e.destroy()),n&&this.redraw(So(this.options.chart.animation,t&&t.animation,this.pointCount<100))},pan:function(u,t){var c,h=this,e=h.hoverPoints;e&&po(e,function(t){t.setState()}),po("xy"===t?[1,0]:[1],function(t){var e,n,i=(t=h[t?"xAxis":"yAxis"][0]).horiz,r=u[i?"chartX":"chartY"],o=h[i=i?"mouseDownX":"mouseDownY"],a=(t.pointRange||0)/2,s=t.getExtremes(),l=t.toValue(o-r,!0)+a;o=(e=(a=t.toValue(o+t.len-r,!0)-a)<l)?a:l,l=e?l:a,0<(n=(a=Math.min(s.dataMin,t.toValue(t.toPixels(s.min)-t.minPixelPadding)))-o)&&(l+=n,o=a),0<(n=l-(e=Math.max(s.dataMax,t.toValue(t.toPixels(s.max)+t.minPixelPadding))))&&(l=e,o-=n),t.series.length&&o!==s.min&&l!==s.max&&(t.setExtremes(o,l,!1,!1,{trigger:"pan"}),c=!0),h[i]=r}),c&&h.redraw(!1),co(h.container,{cursor:"move"})}}),go(_o.prototype,{select:function(t,e){var n=this,i=n.series,r=i.chart;t=So(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},function(){n.selected=n.options.selected=t,i.options.data[yo(n,i.data)]=n.options,n.setState(t&&"select"),e||po(r.getSelectedPoints(),function(t){t.selected&&t!==n&&(t.selected=t.options.selected=!1,i.options.data[yo(t,i.data)]=t.options,t.setState(""),t.firePointEvent("unselect"))})})},onMouseOver:function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},onMouseOut:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),po(t.hoverPoints||[],function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var n=this,t=wo(n.series.options.point,n.options).events;n.events=t,oo.objectEach(t,function(t,e){so(n,e,t)}),this.hasImportedEvents=!0}},setState:function(t,e){var n,i=Math.floor(this.plotX),r=this.plotY,o=this.series,a=o.options.states[t]||{},s=fo[o.type].marker&&o.options.marker,l=s&&!1===s.enabled,u=s&&s.states&&s.states[t]||{},c=!1===u.enabled,h=o.stateMarkerGraphic,d=this.marker||{},f=o.chart,p=o.halo,g=s&&o.markerAttribs;(t=t||"")===this.state&&!e||this.selected&&"select"!==t||!1===a.enabled||t&&(c||l&&!1===u.enabled)||t&&d.states&&d.states[t]&&!1===d.states[t].enabled||(g&&(n=o.markerAttribs(this,t)),this.graphic?(this.state&&this.graphic.removeClass("highcharts-point-"+this.state),t&&this.graphic.addClass("highcharts-point-"+t),this.graphic.animate(o.pointAttribs(this,t),So(f.options.chart.animation,a.animation)),n&&this.graphic.animate(n,So(f.options.chart.animation,u.animation,s.animation)),h&&h.hide()):(t&&u&&(s=d.symbol||o.symbol,h&&h.currentSymbol!==s&&(h=h.destroy()),h?h[e?"animate":"attr"]({x:n.x,y:n.y}):s&&(o.stateMarkerGraphic=h=f.renderer.symbol(s,n.x,n.y,n.width,n.height).add(o.markerGroup),h.currentSymbol=s),h&&h.attr(o.pointAttribs(this,t))),h&&(h[t&&f.isInsidePlot(i,r,f.inverted)?"show":"hide"](),h.element.point=this)),(i=a.halo)&&i.size?(p||(o.halo=p=f.renderer.path().add((this.graphic||h).parentGroup)),p[e?"animate":"attr"]({d:this.haloPath(i.size)}),p.attr({class:"highcharts-halo highcharts-color-"+So(this.colorIndex,o.colorIndex)}),p.point=this,p.attr(go({fill:this.color||o.color,"fill-opacity":i.opacity,zIndex:-1},i.attributes))):p&&p.point&&p.point.haloPath&&p.animate({d:p.point.haloPath(0)}),this.state=t)},haloPath:function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)}}),go(Co.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&mo(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&mo(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),this.setState()},setState:function(e){var n=this,t=n.options,i=n.graph,r=t.states,o=t.lineWidth;if(t=0,e=e||"",n.state!==e&&(po([n.group,n.markerGroup,n.dataLabelsGroup],function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))}),!r[n.state=e]||!1!==r[e].enabled)&&(e&&(o=r[e].lineWidth||o+(r[e].lineWidthPlus||0)),i&&!i.dashstyle))for(o={"stroke-width":o},i.animate(o,So(n.chart.options.chart.animation,r[e]&&r[e].animation));n["zone-graph-"+t];)n["zone-graph-"+t].attr(o),t+=1},setVisible:function(e,t){var n,i=this,r=i.chart,o=i.legendItem,a=r.options.chart.ignoreHiddenSeries,s=i.visible;n=(i.visible=e=i.options.visible=i.userOptions.visible=void 0===e?!s:e)?"show":"hide",po(["group","dataLabelsGroup","markerGroup","tracker","tt"],function(t){i[t]&&i[t][n]()}),r.hoverSeries!==i&&(r.hoverPoint&&r.hoverPoint.series)!==i||i.onMouseOut(),o&&r.legend.colorizeItem(i,e),i.isDirty=!0,i.options.stacking&&po(r.series,function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),po(i.linkedSeries,function(t){t.setVisible(e,!1)}),a&&(r.isDirtyBox=!0),!1!==t&&r.redraw(),mo(i,n)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),mo(this,t?"select":"unselect")},drawTracker:ao.drawTrackerGraph}),Do=(To=t).Chart,Ao=To.each,Po=To.inArray,Eo=To.isArray,Oo=To.isObject,Lo=To.pick,Io=To.splat,Do.prototype.setResponsive=function(e){var t=this.options.responsive,n=[],i=this.currentResponsive;t&&t.rules&&Ao(t.rules,function(t){void 0===t._id&&(t._id=To.uniqueKey()),this.matchResponsiveRule(t,n,e)},this);var r=To.merge.apply(0,To.map(n,function(e){return To.find(t.rules,function(t){return t._id===e}).chartOptions}));(n=n.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,e),n?(this.currentResponsive={ruleIds:n,mergedOptions:r,undoOptions:this.currentOptions(r)},this.update(r,e)):this.currentResponsive=void 0)},Do.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=Lo(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=Lo(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=Lo(n.minWidth,0)&&this.chartHeight>=Lo(n.minHeight,0)}).call(this)&&e.push(t._id)},Do.prototype.currentOptions=function(t){var e={};return function n(i,r,o,a){var s;To.objectEach(i,function(t,e){if(!a&&-1<Po(e,["series","xAxis","yAxis"]))for(i[e]=Io(i[e]),o[e]=[],s=0;s<i[e].length;s++)r[e][s]&&(o[e][s]={},n(t[s],r[e][s],o[e][s],a+1));else Oo(t)?(o[e]=Eo(t)?[]:{},n(t,r[e]||{},o[e],a+1)):o[e]=r[e]||null})}(t,this.options,e,0),e},t}),function(r,h){"use strict";var d="function",t="undefined",e="model",n="name",i="type",o="vendor",a="version",s="architecture",l="console",u="mobile",c="tablet",f="smarttv",p="wearable",g={extend:function(t,e){var n={};for(var i in t)e[i]&&e[i].length%2==0?n[i]=e[i].concat(t[i]):n[i]=t[i];return n},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:h},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},m={rgx:function(t,e){for(var n,i,r,o,a,s,l=0;l<e.length&&!a;){var u=e[l],c=e[l+1];for(n=i=0;n<u.length&&!a;)if(a=u[n++].exec(t))for(r=0;r<c.length;r++)s=a[++i],"object"==typeof(o=c[r])&&0<o.length?2==o.length?typeof o[1]==d?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3==o.length?typeof o[1]!=d||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):h:this[o[0]]=s?o[1].call(this,s,o[2]):h:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):h):this[o]=s||h;l+=2}},str:function(t,e){for(var n in e)if("object"==typeof e[n]&&0<e[n].length){for(var i=0;i<e[n].length;i++)if(g.has(e[n][i],t))return"?"===n?h:n}else if(g.has(e[n],t))return"?"===n?h:n;return t}},v={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},y={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[n,a],[/(opios)[\/\s]+([\w\.]+)/i],[[n,"Opera Mini"],a],[/\s(opr)\/([\w\.]+)/i],[[n,"Opera"],a],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[n,a],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[n,"IE"],a],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[n,"Edge"],a],[/(yabrowser)\/([\w\.]+)/i],[[n,"Yandex"],a],[/(puffin)\/([\w\.]+)/i],[[n,"Puffin"],a],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[n,"UCBrowser"],a],[/(comodo_dragon)\/([\w\.]+)/i],[[n,/_/g," "],a],[/(micromessenger)\/([\w\.]+)/i],[[n,"WeChat"],a],[/(qqbrowserlite)\/([\w\.]+)/i],[n,a],[/(QQ)\/([\d\.]+)/i],[n,a],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[n,a],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[n,a],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[n,a],[/(MetaSr)[\/\s]?([\w\.]+)/i],[n],[/(LBBROWSER)/i],[n],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[a,[n,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[a,[n,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[a,[n,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[n,/(.+)/,"$1 WebView"],a],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[n,/(.+(?:g|us))(.+)/,"$1 $2"],a],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[a,[n,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[n,a],[/(dolfin)\/([\w\.]+)/i],[[n,"Dolphin"],a],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[n,"Chrome"],a],[/(coast)\/([\w\.]+)/i],[[n,"Opera Coast"],a],[/fxios\/([\w\.-]+)/i],[a,[n,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[a,[n,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[a,n],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[n,"GSA"],a],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[n,[a,m.str,v.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[n,a],[/(navigator|netscape)\/([\w\.-]+)/i],[[n,"Netscape"],a],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[n,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[s,"amd64"]],[/(ia32(?=;))/i],[[s,g.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[s,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[s,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[s,/ower/,"",g.lowerize]],[/(sun4\w)[;\)]/i],[[s,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[s,g.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[e,o,[i,c]],[/applecoremedia\/[\w\.]+ \((ipad)/],[e,[o,"Apple"],[i,c]],[/(apple\s{0,1}tv)/i],[[e,"Apple TV"],[o,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[o,e,[i,c]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[e,[o,"Amazon"],[i,c]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[e,m.str,v.device.amazon.model],[o,"Amazon"],[i,u]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[e,o,[i,u]],[/\((ip[honed|\s\w*]+);/i],[e,[o,"Apple"],[i,u]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[o,e,[i,u]],[/\(bb10;\s(\w+)/i],[e,[o,"BlackBerry"],[i,u]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[e,[o,"Asus"],[i,c]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[o,"Sony"],[e,"Xperia Tablet"],[i,c]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[e,[o,"Sony"],[i,u]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[o,e,[i,l]],[/android.+;\s(shield)\sbuild/i],[e,[o,"Nvidia"],[i,l]],[/(playstation\s[34portablevi]+)/i],[e,[o,"Sony"],[i,l]],[/(sprint\s(\w+))/i],[[o,m.str,v.device.sprint.vendor],[e,m.str,v.device.sprint.model],[i,u]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[o,e,[i,c]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[o,[e,/_/g," "],[i,u]],[/(nexus\s9)/i],[e,[o,"HTC"],[i,c]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[e,[o,"Huawei"],[i,u]],[/(microsoft);\s(lumia[\s\w]+)/i],[o,e,[i,u]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[e,[o,"Microsoft"],[i,l]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[o,"Microsoft"],[i,u]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[e,[o,"Motorola"],[i,u]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[o,"Motorola"],[i,c]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[o,g.trim],[e,g.trim],[i,f]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[o,"Samsung"],[i,f]],[/\(dtv[\);].+(aquos)/i],[e,[o,"Sharp"],[i,f]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[o,"Samsung"],e,[i,c]],[/smart-tv.+(samsung)/i],[o,[i,f],e],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[o,"Samsung"],e,[i,u]],[/sie-(\w*)/i],[e,[o,"Siemens"],[i,u]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[o,"Nokia"],e,[i,u]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[e,[o,"Acer"],[i,c]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[o,"LG"],[i,c]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[o,"LG"],e,[i,c]],[/(lg) netcast\.tv/i],[o,e,[i,f]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[e,[o,"LG"],[i,u]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[e,[o,"Lenovo"],[i,c]],[/linux;.+((jolla));/i],[o,e,[i,u]],[/((pebble))app\/[\d\.]+\s/i],[o,e,[i,p]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[o,e,[i,u]],[/crkey/i],[[e,"Chromecast"],[o,"Google"]],[/android.+;\s(glass)\s\d/i],[e,[o,"Google"],[i,p]],[/android.+;\s(pixel c)\s/i],[e,[o,"Google"],[i,c]],[/android.+;\s(pixel xl|pixel)\s/i],[e,[o,"Google"],[i,u]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[o,"Xiaomi"],[i,u]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[o,"Xiaomi"],[i,c]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[e,[o,"Meizu"],[i,c]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[e,[o,"OnePlus"],[i,u]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[e,[o,"RCA"],[i,c]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[e,[o,"Dell"],[i,c]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[e,[o,"Verizon"],[i,c]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[o,"Barnes & Noble"],e,[i,c]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[e,[o,"NuVision"],[i,c]],[/android.+;\s(k88)\sbuild/i],[e,[o,"ZTE"],[i,c]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[e,[o,"Swiss"],[i,u]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[e,[o,"Swiss"],[i,c]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[e,[o,"Zeki"],[i,c]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[o,"Dragon Touch"],e,[i,c]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[e,[o,"Insignia"],[i,c]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[e,[o,"NextBook"],[i,c]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[o,"Voice"],e,[i,u]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[o,"LvTel"],e,[i,u]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[e,[o,"Envizen"],[i,c]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[o,e,[i,c]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[e,[o,"MachSpeed"],[i,c]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[o,e,[i,c]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[e,[o,"Rotor"],[i,c]],[/android.+(KS(.+))\s+build/i],[e,[o,"Amazon"],[i,c]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[o,e,[i,c]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[i,g.lowerize],o,e],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[o,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[a,[n,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[n,a],[/rv\:([\w\.]{1,9}).+(gecko)/i],[a,n]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[n,a],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[n,[a,m.str,v.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[n,"Windows"],[a,m.str,v.os.windows.version]],[/\((bb)(10);/i],[[n,"BlackBerry"],a],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[n,a],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[n,"Symbian"],a],[/\((series40);/i],[n],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[n,"Firefox OS"],a],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[n,a],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[n,"Chromium OS"],a],[/(sunos)\s?([\w\.\d]*)/i],[[n,"Solaris"],a],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[n,a],[/(haiku)\s(\w+)/i],[n,a],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[a,/_/g,"."],[n,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[n,"Mac OS"],[a,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[n,a]]},b=function(t,e){if("object"==typeof t&&(e=t,t=h),!(this instanceof b))return new b(t,e).getResult();var n=t||(r&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),i=e?g.extend(y,e):y;return this.getBrowser=function(){var t={name:h,version:h};return m.rgx.call(t,n,i.browser),t.major=g.major(t.version),t},this.getCPU=function(){var t={architecture:h};return m.rgx.call(t,n,i.cpu),t},this.getDevice=function(){var t={vendor:h,model:h,type:h};return m.rgx.call(t,n,i.device),t},this.getEngine=function(){var t={name:h,version:h};return m.rgx.call(t,n,i.engine),t},this.getOS=function(){var t={name:h,version:h};return m.rgx.call(t,n,i.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=t,this},this};b.VERSION="0.7.18",b.BROWSER={NAME:n,MAJOR:"major",VERSION:a},b.CPU={ARCHITECTURE:s},b.DEVICE={MODEL:e,VENDOR:o,TYPE:i,CONSOLE:l,MOBILE:u,SMARTTV:f,TABLET:c,WEARABLE:p,EMBEDDED:"embedded"},b.ENGINE={NAME:n,VERSION:a},b.OS={NAME:n,VERSION:a},typeof exports!=t?(typeof module!=t&&module.exports&&(exports=module.exports=b),exports.UAParser=b):typeof define==d&&define.amd?define(function(){return b}):r&&(r.UAParser=b);var x=r&&(r.jQuery||r.Zepto);if(typeof x!=t){var w=new b;x.ua=w.getResult(),x.ua.get=function(){return w.getUA()},x.ua.set=function(t){w.setUA(t);var e=w.getResult();for(var n in e)x.ua[n]=e[n]}}}("object"==typeof window?window:this);