Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wwwroot
:
scripts.719b4857aed02e2e0457-20260716171635.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var n=[],i=Object.getPrototypeOf,r=n.slice,o=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},a=n.push,s=n.indexOf,l={},u=l.toString,c=l.hasOwnProperty,d=c.toString,f=d.call(Object),h={},p=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},g=function(t){return null!=t&&t===t.window},m=t.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,n){var i,r,o=(n=n||m).createElement("script");if(o.text=t,e)for(i in v)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[u.call(t)]||"object":typeof t}var x="3.5.1",w=function(t,e){return new w.fn.init(t,e)};function _(t){var e=!!t&&"length"in t&&t.length,n=b(t);return!p(t)&&!g(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}w.fn=w.prototype={jquery:x,constructor:w,length:0,toArray:function(){return r.call(this)},get:function(t){return null==t?r.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=w.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return w.each(this,t)},map:function(t){return this.pushStack(w.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},w.extend=w.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[s]||{},s++),"object"==typeof a||p(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(u&&i&&(w.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[e],o=r&&!Array.isArray(n)?[]:r||w.isPlainObject(n)?n:{},r=!1,a[e]=w.extend(u,o,i)):void 0!==i&&(a[e]=i));return a},w.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==u.call(t)||(e=i(t))&&("function"!=typeof(n=c.call(e,"constructor")&&e.constructor)||d.call(n)!==f))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){y(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(_(t))for(n=t.length;i<n&&!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},makeArray:function(t,e){var n=e||[];return null!=t&&(_(Object(t))?w.merge(n,"string"==typeof t?[t]:t):a.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:s.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,a=0,s=[];if(_(t))for(i=t.length;a<i;a++)null!=(r=e(t[a],a,n))&&s.push(r);else for(a in t)null!=(r=e(t[a],a,n))&&s.push(r);return o(s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()});var C=function(t){var e,n,i,r,o,a,s,l,u,c,d,f,h,p,g,m,v,y,b,x="sizzle"+1*new Date,w=t.document,_=0,C=0,k=lt(),T=lt(),S=lt(),E=lt(),A=function(t,e){return t===e&&(d=!0),0},L={}.hasOwnProperty,M=[],D=M.pop,O=M.push,I=M.push,P=M.slice,N=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",j="\\["+F+"*("+B+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+F+"*\\]",R=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",H=new RegExp(F+"+","g"),W=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),q=new RegExp("^"+F+"*,"+F+"*"),V=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),U=new RegExp(F+"|>"),Y=new RegExp(R),$=new RegExp("^"+B+"$"),Q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){f()},at=xt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{I.apply(M=P.call(w.childNodes),w.childNodes)}catch(e){I={apply:M.length?function(t,e){O.apply(t,P.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function st(t,e,i,r){var o,s,u,c,d,p,v,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return i;if(!r&&(f(e),e=e||h,g)){if(11!==w&&(d=J.exec(t)))if(o=d[1]){if(9===w){if(!(u=e.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(y&&(u=y.getElementById(o))&&b(e,u)&&u.id===o)return i.push(u),i}else{if(d[2])return I.apply(i,e.getElementsByTagName(t)),i;if((o=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return I.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!E[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===w&&(U.test(t)||V.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(it,rt):e.setAttribute("id",c=x)),s=(p=a(t)).length;s--;)p[s]=(c?"#"+c:":scope")+" "+bt(p[s]);v=p.join(",")}try{return I.apply(i,y.querySelectorAll(v)),i}catch(e){E(t,!0)}finally{c===x&&e.removeAttribute("id")}}}return l(t.replace(W,"$1"),e,i,r)}function lt(){var t=[];return function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ut(t){return t[x]=!0,t}function ct(t){var e=h.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function ft(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ht(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ut(function(e){return e=+e,ut(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},o=st.isXML=function(t){var e=(t.ownerDocument||t).documentElement;return!X.test(t.namespaceURI||e&&e.nodeName||"HTML")},f=st.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:w;return a!=h&&9===a.nodeType&&a.documentElement&&(p=(h=a).documentElement,g=!o(h),w!=h&&(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),n.scope=ct(function(t){return p.appendChild(t).appendChild(h.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),n.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ct(function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(h.getElementsByClassName),n.getById=ct(function(t){return p.appendChild(t).id=x,!h.getElementsByName||!h.getElementsByName(x).length}),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(n.qsa=Z.test(h.querySelectorAll))&&(ct(function(t){var e;p.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+z+")"),t.querySelectorAll("[id~="+x+"-]").length||m.push("~="),(e=h.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ct(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ct(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",R)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=Z.test(p.compareDocumentPosition),b=e||Z.test(p.contains)?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},A=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==h||t.ownerDocument==w&&b(w,t)?-1:e==h||e.ownerDocument==w&&b(w,e)?1:c?N(c,t)-N(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t==h?-1:e==h?1:r?-1:o?1:c?N(c,t)-N(c,e):0;if(r===o)return ft(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?ft(a[i],s[i]):a[i]==w?-1:s[i]==w?1:0}),h},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(f(t),n.matchesSelector&&g&&!E[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){E(e,!0)}return 0<st(e,h,null,[t]).length},st.contains=function(t,e){return(t.ownerDocument||t)!=h&&f(t),b(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=h&&f(t);var r=i.attrHandle[e.toLowerCase()],o=r&&L.call(i.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},st.escape=function(t){return(t+"").replace(it,rt)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,i=[],r=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(A),d){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return c=null,t},r=st.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(i=st.selectors={cacheLength:50,createPseudo:ut,match:Q,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[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]||st.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]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Q.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Y.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&k(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var r=st.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&-1<r.indexOf(n):"$="===e?n&&r.slice(-n.length)===n:"~="===e?-1<(" "+r.replace(H," ")+" ").indexOf(n):"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,f,h,p,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(o){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(h=(u=(c=(d=(f=m)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===_&&u[1])&&u[2],f=h&&m.childNodes[h];f=++h&&f&&f[g]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===e){c[t]=[_,h,b];break}}else if(y&&(b=h=(u=(c=(d=(f=e)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]||[])[0]===_&&u[1]),!1===b)for(;(f=++h&&f&&f[g]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((c=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[t]=[_,b]),f!==e)););return(b-=r)===i||b%i==0&&0<=b/i}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return r[x]?r(e):1<r.length?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ut(function(t,n){for(var i,o=r(t,e),a=o.length;a--;)t[i=N(t,o[a])]=!(n[i]=o[a])}):function(t){return r(t,0,n)}):r}},pseudos:{not:ut(function(t){var e=[],n=[],i=s(t.replace(W,"$1"));return i[x]?ut(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:ut(function(t){return function(e){return 0<st(t,e).length}}),contains:ut(function(t){return t=t.replace(et,nt),function(e){return-1<(e.textContent||r(e)).indexOf(t)}}),lang:ut(function(t){return $.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return G.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt(function(){return[0]}),last:mt(function(t,e){return[e-1]}),eq:mt(function(t,e,n){return[n<0?n+e:n]}),even:mt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:mt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:mt(function(t,e,n){for(var i=n<0?n+e:e<n?e:n;0<=--i;)t.push(i);return t}),gt:mt(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=ht(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=pt(e);function yt(){}function bt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function xt(t,e,n){var i=e.dir,r=e.next,o=r||i,a=n&&"parentNode"===o,s=C++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r);return!1}:function(e,n,l){var u,c,d,f=[_,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(c=(d=e[x]||(e[x]={}))[e.uniqueID]||(d[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=c[o])&&u[0]===_&&u[1]===s)return f[2]=u[2];if((c[o]=f)[2]=t(e,n,l))return!0}return!1}}function wt(t){return 1<t.length?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function _t(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 Ct(t,e,n,i,r,o){return i&&!i[x]&&(i=Ct(i)),r&&!r[x]&&(r=Ct(r,o)),ut(function(o,a,s,l){var u,c,d,f=[],h=[],p=a.length,g=o||function(t,e,n){for(var i=0,r=e.length;i<r;i++)st(t,e[i],n);return n}(e||"*",s.nodeType?[s]:s,[]),m=!t||!o&&e?g:_t(g,f,t,s,l),v=n?r||(o?t:p||i)?[]:a:m;if(n&&n(m,v,s,l),i)for(u=_t(v,h),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(v[h[c]]=!(m[h[c]]=d));if(o){if(r||t){if(r){for(u=[],c=v.length;c--;)(d=v[c])&&u.push(m[c]=d);r(null,v=[],u,l)}for(c=v.length;c--;)(d=v[c])&&-1<(u=r?N(o,d):f[c])&&(o[u]=!(a[u]=d))}}else v=_t(v===a?v.splice(p,v.length):v),r?r(null,a,v,l):I.apply(a,v)})}function kt(t){for(var e,n,r,o=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,c=xt(function(t){return t===e},s,!0),d=xt(function(t){return-1<N(e,t)},s,!0),f=[function(t,n,i){var r=!a&&(i||n!==u)||((e=n).nodeType?c(t,n,i):d(t,n,i));return e=null,r}];l<o;l++)if(n=i.relative[t[l].type])f=[xt(wt(f),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[x]){for(r=++l;r<o&&!i.relative[t[r].type];r++);return Ct(1<l&&wt(f),1<l&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(W,"$1"),n,l<r&&kt(t.slice(l,r)),r<o&&kt(t=t.slice(r)),r<o&&bt(t))}f.push(n)}return wt(f)}return yt.prototype=i.filters=i.pseudos,i.setFilters=new yt,a=st.tokenize=function(t,e){var n,r,o,a,s,l,u,c=T[t+" "];if(c)return e?0:c.slice(0);for(s=t,l=[],u=i.preFilter;s;){for(a in n&&!(r=q.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=V.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length)),i.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return e?s.length:s?st.error(t):T(t,l).slice(0)},s=st.compile=function(t,e){var n,r,o,s,l,c,d=[],p=[],m=S[t+" "];if(!m){for(e||(e=a(t)),n=e.length;n--;)(m=kt(e[n]))[x]?d.push(m):p.push(m);(m=S(t,(r=p,s=0<(o=d).length,l=0<r.length,c=function(t,e,n,a,c){var d,p,m,v=0,y="0",b=t&&[],x=[],w=u,C=t||l&&i.find.TAG("*",c),k=_+=null==w?1:Math.random()||.1,T=C.length;for(c&&(u=e==h||e||c);y!==T&&null!=(d=C[y]);y++){if(l&&d){for(p=0,e||d.ownerDocument==h||(f(d),n=!g);m=r[p++];)if(m(d,e||h,n)){a.push(d);break}c&&(_=k)}s&&((d=!m&&d)&&v--,t&&b.push(d))}if(v+=y,s&&y!==v){for(p=0;m=o[p++];)m(b,x,e,n);if(t){if(0<v)for(;y--;)b[y]||x[y]||(x[y]=D.call(a));x=_t(x)}I.apply(a,x),c&&!t&&0<x.length&&1<v+o.length&&st.uniqueSort(a)}return c&&(_=k,u=w),b},s?ut(c):c))).selector=t}return m},l=st.select=function(t,e,n,r){var o,l,u,c,d,f="function"==typeof t&&t,h=!r&&a(t=f.selector||t);if(n=n||[],1===h.length){if(2<(l=h[0]=h[0].slice(0)).length&&"ID"===(u=l[0]).type&&9===e.nodeType&&g&&i.relative[l[1].type]){if(!(e=(i.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=Q.needsContext.test(t)?0:l.length;o--&&!i.relative[c=(u=l[o]).type];)if((d=i.find[c])&&(r=d(u.matches[0].replace(et,nt),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=r.length&&bt(l)))return I.apply(n,r),n;break}}return(f||s(t,h))(r,e,!g,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(h.createElement("fieldset"))}),ct(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||dt("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ct(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||dt("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||dt(z,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),st}(t);w.find=C,w.expr=C.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=C.uniqueSort,w.text=C.getText,w.isXMLDoc=C.isXML,w.contains=C.contains,w.escapeSelector=C.escape;var k=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&w(t).is(n))break;i.push(t)}return i},T=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},S=w.expr.match.needsContext;function E(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(t,e,n){return p(e)?w.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?w.grep(t,function(t){return t===e!==n}):"string"!=typeof e?w.grep(t,function(t){return-1<s.call(e,t)!==n}):w.filter(e,t,n)}w.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?w.find.matchesSelector(i,t)?[i]:[]:w.find.matches(t,w.grep(e,function(t){return 1===t.nodeType}))},w.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(w(t).filter(function(){for(e=0;e<i;e++)if(w.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)w.find(t,r[e],n);return 1<i?w.uniqueSort(n):n},filter:function(t){return this.pushStack(L(this,t||[],!1))},not:function(t){return this.pushStack(L(this,t||[],!0))},is:function(t){return!!L(this,"string"==typeof t&&S.test(t)?w(t):t||[],!1).length}});var M,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||M,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:D.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(w.merge(this,w.parseHTML(i[1],(e=e instanceof w?e[0]:e)&&e.nodeType?e.ownerDocument||e:m,!0)),A.test(i[1])&&w.isPlainObject(e))for(i in e)p(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=m.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):p(t)?void 0!==n.ready?n.ready(t):t(w):w.makeArray(t,this)}).prototype=w.fn,M=w(m);var O=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function P(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}w.fn.extend({has:function(t){var e=w(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(w.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,o=[],a="string"!=typeof t&&w(t);if(!S.test(t))for(;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&&w.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?w.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?s.call(w(t),this[0]):s.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),w.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return T((t.parentNode||{}).firstChild,t)},children:function(t){return T(t.firstChild)},contents:function(t){return null!=t.contentDocument&&i(t.contentDocument)?t.contentDocument:(E(t,"template")&&(t=t.content||t),w.merge([],t.childNodes))}},function(t,e){w.fn[t]=function(n,i){var r=w.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=w.filter(i,r)),1<this.length&&(I[t]||w.uniqueSort(r),O.test(t)&&r.reverse()),this.pushStack(r)}});var N=/[^\x20\t\r\n\f]+/g;function z(t){return t}function F(t){throw t}function B(t,e,n,i){var r;try{t&&p(r=t.promise)?r.call(t).done(e).fail(n):t&&p(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}w.Callbacks=function(t){var e;t="string"==typeof t?(e={},w.each(t.match(N)||[],function(t,n){e[n]=!0}),e):w.extend({},t);var n,i,r,o,a=[],s=[],l=-1,u=function(){for(o=o||t.once,r=n=!0;s.length;l=-1)for(i=s.shift();++l<a.length;)!1===a[l].apply(i[0],i[1])&&t.stopOnFalse&&(l=a.length,i=!1);t.memory||(i=!1),n=!1,o&&(a=i?[]:"")},c={add:function(){return a&&(i&&!n&&(l=a.length-1,s.push(i)),function e(n){w.each(n,function(n,i){p(i)?t.unique&&c.has(i)||a.push(i):i&&i.length&&"string"!==b(i)&&e(i)})}(arguments),i&&!n&&u()),this},remove:function(){return w.each(arguments,function(t,e){for(var n;-1<(n=w.inArray(e,a,n));)a.splice(n,1),n<=l&&l--}),this},has:function(t){return t?-1<w.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=i="",this},disabled:function(){return!a},lock:function(){return o=s=[],i||n||(a=i=""),this},locked:function(){return!!o},fireWith:function(t,e){return o||(e=[t,(e=e||[]).slice?e.slice():e],s.push(e),n||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},w.extend({Deferred:function(e){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return w.Deferred(function(e){w.each(n,function(n,i){var r=p(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=r&&r.apply(this,arguments);t&&p(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(e,i,r){var o=0;function a(e,n,i,r){return function(){var s=this,l=arguments,u=function(){var t,u;if(!(e<o)){if((t=i.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");p(u=t&&("object"==typeof t||"function"==typeof t)&&t.then)?r?u.call(t,a(o,n,z,r),a(o,n,F,r)):(o++,u.call(t,a(o,n,z,r),a(o,n,F,r),a(o,n,z,n.notifyWith))):(i!==z&&(s=void 0,l=[t]),(r||n.resolveWith)(s,l))}},c=r?u:function(){try{u()}catch(u){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(u,c.stackTrace),o<=e+1&&(i!==F&&(s=void 0,l=[u]),n.rejectWith(s,l))}};e?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),t.setTimeout(c))}}return w.Deferred(function(t){n[0][3].add(a(0,t,p(r)?r:z,t.notifyWith)),n[1][3].add(a(0,t,p(e)?e:z)),n[2][3].add(a(0,t,p(i)?i:F))}).promise()},promise:function(t){return null!=t?w.extend(t,r):r}},o={};return w.each(n,function(t,e){var a=e[2],s=e[5];r[e[1]]=a.add,s&&a.add(function(){i=s},n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),a.add(e[3].fire),o[e[0]]=function(){return o[e[0]+"With"](this===o?void 0:this,arguments),this},o[e[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),o=r.call(arguments),a=w.Deferred(),s=function(t){return function(n){i[t]=this,o[t]=1<arguments.length?r.call(arguments):n,--e||a.resolveWith(i,o)}};if(e<=1&&(B(t,a.done(s(n)).resolve,a.reject,!e),"pending"===a.state()||p(o[n]&&o[n].then)))return a.then();for(;n--;)B(o[n],s(n),a.reject);return a.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&j.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},w.readyException=function(e){t.setTimeout(function(){throw e})};var R=w.Deferred();function H(){m.removeEventListener("DOMContentLoaded",H),t.removeEventListener("load",H),w.ready()}w.fn.ready=function(t){return R.then(t).catch(function(t){w.readyException(t)}),this},w.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--w.readyWait:w.isReady)||(w.isReady=!0)!==t&&0<--w.readyWait||R.resolveWith(m,[w])}}),w.ready.then=R.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?t.setTimeout(w.ready):(m.addEventListener("DOMContentLoaded",H),t.addEventListener("load",H));var W=function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;if("object"===b(n))for(s in r=!0,n)W(t,e,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,p(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(w(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},q=/^-ms-/,V=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function Y(t){return t.replace(q,"ms-").replace(V,U)}var $=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},$(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[Y(e)]=n;else for(i in e)r[Y(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][Y(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(Y):(e=Y(e))in i?[e]:e.match(N)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||w.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!w.isEmptyObject(e)}};var X=new Q,G=new Q,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function J(t,e,n){var i,r;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Z,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:K.test(r)?JSON.parse(r):r)}catch(t){}G.set(t,e,n)}else n=void 0;return n}w.extend({hasData:function(t){return G.hasData(t)||X.hasData(t)},data:function(t,e,n){return G.access(t,e,n)},removeData:function(t,e){G.remove(t,e)},_data:function(t,e,n){return X.access(t,e,n)},_removeData:function(t,e){X.remove(t,e)}}),w.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=G.get(o),1===o.nodeType&&!X.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=Y(i.slice(5)),J(o,i,r[i]));X.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){G.set(this,t)}):W(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=G.get(o,t))||void 0!==(n=J(o,t))?n:void 0;this.each(function(){G.set(this,t,e)})},null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){G.remove(this,t)})}}),w.extend({queue:function(t,e,n){var i;if(t)return i=X.get(t,e=(e||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=X.access(t,e,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){var n=w.queue(t,e=e||"fx"),i=n.length,r=n.shift(),o=w._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){w.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return X.get(t,n)||X.access(t,n,{empty:w.Callbacks("once memory").add(function(){X.remove(t,[e+"queue",n])})})}}),w.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?w.queue(this[0],t):void 0===e?this:this.each(function(){var n=w.queue(this,t,e);w._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&w.dequeue(this,t)})},dequeue:function(t){return this.each(function(){w.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=w.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=X.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],it=m.documentElement,rt=function(t){return w.contains(t.ownerDocument,t)},ot={composed:!0};it.getRootNode&&(rt=function(t){return w.contains(t.ownerDocument,t)||t.getRootNode(ot)===t.ownerDocument});var at=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&rt(t)&&"none"===w.css(t,"display")};function st(t,e,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return w.css(t,e,"")},l=s(),u=n&&n[3]||(w.cssNumber[e]?"":"px"),c=t.nodeType&&(w.cssNumber[e]||"px"!==u&&+l)&&et.exec(w.css(t,e));if(c&&c[3]!==u){for(u=u||c[3],c=+(l/=2)||1;a--;)w.style(t,e,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;w.style(t,e,(c*=2)+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var lt={};function ut(t,e){for(var n,i,r,o,a,s,l,u=[],c=0,d=t.length;c<d;c++)(i=t[c]).style&&(n=i.style.display,e?("none"===n&&(u[c]=X.get(i,"display")||null,u[c]||(i.style.display="")),""===i.style.display&&at(i)&&(u[c]=(l=a=o=void 0,a=(r=i).ownerDocument,(l=lt[s=r.nodeName])||(o=a.body.appendChild(a.createElement(s)),l=w.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),lt[s]=l)))):"none"!==n&&(u[c]="none",X.set(i,"display",n)));for(c=0;c<d;c++)null!=u[c]&&(t[c].style.display=u[c]);return t}w.fn.extend({show:function(){return ut(this,!0)},hide:function(){return ut(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){at(this)?w(this).show():w(this).hide()})}});var ct,dt,ft=/^(?:checkbox|radio)$/i,ht=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i;ct=m.createDocumentFragment().appendChild(m.createElement("div")),(dt=m.createElement("input")).setAttribute("type","radio"),dt.setAttribute("checked","checked"),dt.setAttribute("name","t"),ct.appendChild(dt),h.checkClone=ct.cloneNode(!0).cloneNode(!0).lastChild.checked,ct.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!ct.cloneNode(!0).lastChild.defaultValue,ct.innerHTML="<option></option>",h.option=!!ct.lastChild;var gt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function mt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?w.merge([t],n):n}function vt(t,e){for(var n=0,i=t.length;n<i;n++)X.set(t[n],"globalEval",!e||X.get(e[n],"globalEval"))}gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,h.option||(gt.optgroup=gt.option=[1,"<select multiple='multiple'>","</select>"]);var yt=/<|&#?\w+;/;function bt(t,e,n,i,r){for(var o,a,s,l,u,c,d=e.createDocumentFragment(),f=[],h=0,p=t.length;h<p;h++)if((o=t[h])||0===o)if("object"===b(o))w.merge(f,o.nodeType?[o]:o);else if(yt.test(o)){for(a=a||d.appendChild(e.createElement("div")),s=(ht.exec(o)||["",""])[1].toLowerCase(),a.innerHTML=(l=gt[s]||gt._default)[1]+w.htmlPrefilter(o)+l[2],c=l[0];c--;)a=a.lastChild;w.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(e.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(i&&-1<w.inArray(o,i))r&&r.push(o);else if(u=rt(o),a=mt(d.appendChild(o),"script"),u&&vt(a),n)for(c=0;o=a[c++];)pt.test(o.type||"")&&n.push(o);return d}var xt=/^key/,wt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_t=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function kt(){return!1}function Tt(t,e){return t===function(){try{return m.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=void 0),e)St(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=kt;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return w().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),t.each(function(){w.event.add(this,e,r,i,n)})}function Et(t,e,n){n?(X.set(t,e,!1),w.event.add(t,e,{namespace:!1,handler:function(t){var i,o,a=X.get(this,e);if(1&t.isTrigger&&this[e]){if(a.length)(w.event.special[e]||{}).delegateType&&t.stopPropagation();else if(a=r.call(arguments),X.set(this,e,a),i=n(this,e),this[e](),a!==(o=X.get(this,e))||i?X.set(this,e,!1):o={},a!==o)return t.stopImmediatePropagation(),t.preventDefault(),o.value}else a.length&&(X.set(this,e,{value:w.event.trigger(w.extend(a[0],w.Event.prototype),a.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===X.get(t,e)&&w.event.add(t,e,Ct)}w.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,m=X.get(t);if($(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&w.find.matchesSelector(it,r),n.guid||(n.guid=w.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==w&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(N)||[""]).length;u--;)h=g=(s=_t.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=w.event.special[h]||{},d=w.event.special[h=(r?d.delegateType:d.bindType)||h]||{},c=w.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&w.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),w.event.global[h]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,m=X.hasData(t)&&X.get(t);if(m&&(l=m.events)){for(u=(e=(e||"").match(N)||[""]).length;u--;)if(h=g=(s=_t.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=w.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(t,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,p,m.handle)||w.removeEvent(t,h,m.handle),delete l[h])}else for(h in l)w.event.remove(t,h+e[u],n,i,!0);w.isEmptyObject(l)&&X.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),l=w.event.fix(t),u=(X.get(this,"events")||Object.create(null))[l.type]||[],c=w.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=w.event.handlers.call(this,l,u),e=0;(r=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((w.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&1<=t.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[r=(i=e[n]).selector+" "]&&(a[r]=i.needsContext?-1<w(r,this).index(u):w.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(w.Event.prototype,t,{enumerable:!0,configurable:!0,get:p(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[w.expando]?t:new w.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ft.test(e.type)&&e.click&&E(e,"input")&&Et(e,"click",Ct),!1},trigger:function(t){var e=this||t;return ft.test(e.type)&&e.click&&E(e,"input")&&Et(e,"click"),!0},_default:function(t){var e=t.target;return ft.test(e.type)&&e.click&&E(e,"input")&&X.get(e,"click")||E(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},w.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},w.Event=function(t,e){if(!(this instanceof w.Event))return new w.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ct:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&w.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ct,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ct,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ct,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&xt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&wt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(t,e){w.event.special[t]={setup:function(){return Et(this,t,Tt),!1},trigger:function(){return Et(this,t),!0},delegateType:e}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){w.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||w.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),w.fn.extend({on:function(t,e,n,i){return St(this,t,e,n,i)},one:function(t,e,n,i){return St(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,w(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each(function(){w.event.remove(this,t,n,e)})}});var At=/<script|<style|<link/i,Lt=/checked\s*(?:[^=]|=\s*.checked.)/i,Mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Dt(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&w(t).children("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function It(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(X.hasData(t)&&(s=X.get(t).events))for(r in X.remove(e,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)w.event.add(e,r,s[r][n]);G.hasData(t)&&(o=G.access(t),a=w.extend({},o),G.set(e,a))}}function Nt(t,e,n,i){e=o(e);var r,a,s,l,u,c,d=0,f=t.length,g=f-1,m=e[0],v=p(m);if(v||1<f&&"string"==typeof m&&!h.checkClone&&Lt.test(m))return t.each(function(r){var o=t.eq(r);v&&(e[0]=m.call(this,r,o.html())),Nt(o,e,n,i)});if(f&&(a=(r=bt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=a),a||i)){for(l=(s=w.map(mt(r,"script"),Ot)).length;d<f;d++)u=r,d!==g&&(u=w.clone(u,!0,!0),l&&w.merge(s,mt(u,"script"))),n.call(t[d],u,d);if(l)for(c=s[s.length-1].ownerDocument,w.map(s,It),d=0;d<l;d++)pt.test((u=s[d]).type||"")&&!X.access(u,"globalEval")&&w.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?w._evalUrl&&!u.noModule&&w._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):y(u.textContent.replace(Mt,""),u,c))}return t}function zt(t,e,n){for(var i,r=e?w.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||w.cleanData(mt(i)),i.parentNode&&(n&&rt(i)&&vt(mt(i,"script")),i.parentNode.removeChild(i));return t}w.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s,l,u,c=t.cloneNode(!0),d=rt(t);if(!(h.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||w.isXMLDoc(t)))for(a=mt(c),i=0,r=(o=mt(t)).length;i<r;i++)s=o[i],"input"===(u=(l=a[i]).nodeName.toLowerCase())&&ft.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(e)if(n)for(o=o||mt(t),a=a||mt(c),i=0,r=o.length;i<r;i++)Pt(o[i],a[i]);else Pt(t,c);return 0<(a=mt(c,"script")).length&&vt(a,!d&&mt(t,"script")),c},cleanData:function(t){for(var e,n,i,r=w.event.special,o=0;void 0!==(n=t[o]);o++)if($(n)){if(e=n[X.expando]){if(e.events)for(i in e.events)r[i]?w.event.remove(n,i):w.removeEvent(n,i,e.handle);n[X.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),w.fn.extend({detach:function(t){return zt(this,t,!0)},remove:function(t){return zt(this,t)},text:function(t){return W(this,function(t){return void 0===t?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Nt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Dt(this,t).appendChild(t)})},prepend:function(){return Nt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Dt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Nt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(w.cleanData(mt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return w.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!At.test(t)&&!gt[(ht.exec(t)||["",""])[1].toLowerCase()]){t=w.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(w.cleanData(mt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Nt(this,arguments,function(e){var n=this.parentNode;w.inArray(this,t)<0&&(w.cleanData(mt(this)),n&&n.replaceChild(e,this))},t)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){w.fn[t]=function(t){for(var n,i=[],r=w(t),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),w(r[s])[e](n),a.apply(i,n.get());return this.pushStack(i)}});var Ft=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Bt=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},jt=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},Rt=new RegExp(nt.join("|"),"i");function Ht(t,e,n){var i,r,o,a,s=t.style;return(n=n||Bt(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||rt(t)||(a=w.style(t,e)),!h.pixelBoxStyles()&&Ft.test(a)&&Rt.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",it.appendChild(u).appendChild(c);var e=t.getComputedStyle(c);i="1%"!==e.top,l=12===n(e.marginLeft),c.style.right="60%",a=36===n(e.right),r=36===n(e.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),it.removeChild(u),c=null}}function n(t){return Math.round(parseFloat(t))}var i,r,o,a,s,l,u=m.createElement("div"),c=m.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,n,i,r;return null==s&&(e=m.createElement("table"),n=m.createElement("tr"),i=m.createElement("div"),e.style.cssText="position:absolute;left:-11111px",n.style.height="1px",i.style.height="9px",it.appendChild(e).appendChild(n).appendChild(i),r=t.getComputedStyle(n),s=3<parseInt(r.height),it.removeChild(e)),s}}))}();var qt=["Webkit","Moz","ms"],Vt=m.createElement("div").style,Ut={};function Yt(t){return w.cssProps[t]||Ut[t]||(t in Vt?t:Ut[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=qt.length;n--;)if((t=qt[n]+e)in Vt)return t}(t)||t)}var $t=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Xt={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"};function Kt(t,e,n){var i=et.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function Zt(t,e,n,i,r,o){var a="width"===e?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=w.css(t,n+nt[a],!0,r)),i?("content"===n&&(l-=w.css(t,"padding"+nt[a],!0,r)),"margin"!==n&&(l-=w.css(t,"border"+nt[a]+"Width",!0,r))):(l+=w.css(t,"padding"+nt[a],!0,r),"padding"!==n?l+=w.css(t,"border"+nt[a]+"Width",!0,r):s+=w.css(t,"border"+nt[a]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function Jt(t,e,n){var i=Bt(t),r=(!h.boxSizingReliable()||n)&&"border-box"===w.css(t,"boxSizing",!1,i),o=r,a=Ht(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(Ft.test(a)){if(!n)return a;a="auto"}return(!h.boxSizingReliable()&&r||!h.reliableTrDimensions()&&E(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===w.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===w.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+Zt(t,e,n||(r?"border":"content"),o,i,a)+"px"}function te(t,e,n,i,r){return new te.prototype.init(t,e,n,i,r)}w.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ht(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=Y(e),l=Qt.test(e),u=t.style;if(l||(e=Yt(s)),a=w.cssHooks[e]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:u[e];"string"==(o=typeof n)&&(r=et.exec(n))&&r[1]&&(n=st(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var r,o,a,s=Y(e);return Qt.test(e)||(e=Yt(s)),(a=w.cssHooks[e]||w.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=Ht(t,e,i)),"normal"===r&&e in Gt&&(r=Gt[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),w.each(["height","width"],function(t,e){w.cssHooks[e]={get:function(t,n,i){if(n)return!$t.test(w.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Jt(t,e,i):jt(t,Xt,function(){return Jt(t,e,i)})},set:function(t,n,i){var r,o=Bt(t),a=!h.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===w.css(t,"boxSizing",!1,o),l=i?Zt(t,e,i,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-Zt(t,e,"border",!1,o)-.5)),l&&(r=et.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=w.css(t,e)),Kt(0,n,l)}}}),w.cssHooks.marginLeft=Wt(h.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Ht(t,"marginLeft"))||t.getBoundingClientRect().left-jt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(t,e){w.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+nt[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(w.cssHooks[t+e].set=Kt)}),w.fn.extend({css:function(t,e){return W(this,function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=Bt(t),r=e.length;a<r;a++)o[e[a]]=w.css(t,e[a],!1,i);return o}return void 0!==n?w.style(t,e,n):w.css(t,e)},t,e,1<arguments.length)}}),((w.Tween=te).prototype={constructor:te,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||w.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var t=te.propHooks[this.prop];return t&&t.get?t.get(this):te.propHooks._default.get(this)},run:function(t){var e,n=te.propHooks[this.prop];return this.pos=e=this.options.duration?w.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):te.propHooks._default.set(this),this}}).init.prototype=te.prototype,(te.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=w.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){w.fx.step[t.prop]?w.fx.step[t.prop](t):1!==t.elem.nodeType||!w.cssHooks[t.prop]&&null==t.elem.style[Yt(t.prop)]?t.elem[t.prop]=t.now:w.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=te.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},w.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},w.fx=te.prototype.init,w.fx.step={};var ee,ne,ie,re,oe=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;function se(){ne&&(!1===m.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(se):t.setTimeout(se,w.fx.interval),w.fx.tick())}function le(){return t.setTimeout(function(){ee=void 0}),ee=Date.now()}function ue(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=nt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function ce(t,e,n){for(var i,r=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function de(t,e,n){var i,r,o=0,a=de.prefilters.length,s=w.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=ee||le(),n=Math.max(0,u.startTime+u.duration-e),i=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(i);return s.notifyWith(t,[u,i,n]),i<1&&a?n:(a||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:e,originalOptions:n,startTime:ee||le(),duration:n.duration,tweens:[],createTween:function(e,n){var i=w.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(function(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=Y(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=w.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);o<a;o++)if(i=de.prefilters[o].call(u,t,c,u.opts))return p(i.stop)&&(w._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return w.map(c,ce,u),p(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),w.fx.timer(w.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}w.Animation=w.extend(de,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return st(n.elem,t,et.exec(e),n),n}]},tweener:function(t,e){p(t)?(e=t,t=["*"]):t=t.match(N);for(var n,i=0,r=t.length;i<r;i++)(de.tweeners[n=t[i]]=de.tweeners[n]||[]).unshift(e)},prefilters:[function(t,e,n){var i,r,o,a,s,l,u,c,d="width"in e||"height"in e,f=this,h={},p=t.style,g=t.nodeType&&at(t),m=X.get(t,"fxshow");for(i in n.queue||(null==(a=w._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,w.queue(t,"fx").length||a.empty.fire()})})),e)if(oe.test(r=e[i])){if(delete e[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}h[i]=m&&m[i]||w.style(t,i)}if((l=!w.isEmptyObject(e))||!w.isEmptyObject(h))for(i in d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=m&&m.display)&&(u=X.get(t,"display")),"none"===(c=w.css(t,"display"))&&(u?c=u:(ut([t],!0),u=t.style.display||u,c=w.css(t,"display"),ut([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===w.css(t,"float")&&(l||(f.done(function(){p.display=u}),null==u&&(u="none"===(c=p.display)?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(g=m.hidden):m=X.access(t,"fxshow",{display:u}),o&&(m.hidden=!g),g&&ut([t],!0),f.done(function(){for(i in g||ut([t]),X.remove(t,"fxshow"),h)w.style(t,i,h[i])})),l=ce(g?m[i]:0,i,f),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),w.speed=function(t,e,n){var i=t&&"object"==typeof t?w.extend({},t):{complete:n||!n&&e||p(t)&&t,duration:t,easing:n&&e||e&&!p(e)&&e};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration=i.duration in w.fx.speeds?w.fx.speeds[i.duration]:w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){p(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(t,e,n,i){return this.filter(at).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=w.isEmptyObject(t),o=w.speed(e,n,i),a=function(){var e=de(this,w.extend({},t),o);(r||X.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=w.timers,a=X.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&ae.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||w.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=X.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=w.timers,a=i?i.length:0;for(n.finish=!0,w.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(t,e){var n=w.fn[e];w.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ue(e,!0),t,i,r)}}),w.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){w.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),w.timers=[],w.fx.tick=function(){var t,e=0,n=w.timers;for(ee=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||w.fx.stop(),ee=void 0},w.fx.timer=function(t){w.timers.push(t),w.fx.start()},w.fx.interval=13,w.fx.start=function(){ne||(ne=!0,se())},w.fx.stop=function(){ne=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(e,n){return e=w.fx&&w.fx.speeds[e]||e,this.queue(n=n||"fx",function(n,i){var r=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(r)}})},ie=m.createElement("input"),re=m.createElement("select").appendChild(m.createElement("option")),ie.type="checkbox",h.checkOn=""!==ie.value,h.optSelected=re.selected,(ie=m.createElement("input")).value="t",ie.type="radio",h.radioValue="t"===ie.value;var fe,he=w.expr.attrHandle;w.fn.extend({attr:function(t,e){return W(this,w.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){w.removeAttr(this,t)})}}),w.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?w.prop(t,e,n):(1===o&&w.isXMLDoc(t)||(r=w.attrHooks[e.toLowerCase()]||(w.expr.match.bool.test(e)?fe:void 0)),void 0!==n?null===n?void w.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=w.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!h.radioValue&&"radio"===e&&E(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(N);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),fe={set:function(t,e,n){return!1===e?w.removeAttr(t,n):t.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(t,e){var n=he[e]||w.find.attr;he[e]=function(t,e,i){var r,o,a=e.toLowerCase();return i||(o=he[a],he[a]=r,r=null!=n(t,e,i)?a:null,he[a]=o),r}});var pe=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function me(t){return(t.match(N)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function ye(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(N)||[]}w.fn.extend({prop:function(t,e){return W(this,w.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[w.propFix[t]||t]})}}),w.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(t)||(r=w.propHooks[e=w.propFix[e]||e]),void 0!==n?r&&"set"in r&&void 0!==(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=w.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(w.propHooks.selected={get:function(t){return null},set:function(t){}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(p(t))return this.each(function(e){w(this).addClass(t.call(this,e,ve(this)))});if((e=ye(t)).length)for(;n=this[l++];)if(r=ve(n),i=1===n.nodeType&&" "+me(r)+" "){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=me(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(p(t))return this.each(function(e){w(this).removeClass(t.call(this,e,ve(this)))});if(!arguments.length)return this.attr("class","");if((e=ye(t)).length)for(;n=this[l++];)if(r=ve(n),i=1===n.nodeType&&" "+me(r)+" "){for(a=0;o=e[a++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(s=me(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):p(t)?this.each(function(n){w(this).toggleClass(t.call(this,n,ve(this),e),e)}):this.each(function(){var e,r,o,a;if(i)for(r=0,o=w(this),a=ye(t);e=a[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ve(this))&&X.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":X.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+me(ve(n))+" ").indexOf(e))return!0;return!1}});var be=/\r/g;w.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=p(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,w(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=w.map(r,function(t){return null==t?"":t+""})),(e=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=w.valHooks[r.type]||w.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(be,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(t){var e=w.find.attr(t,"value");return null!=e?e:me(w.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(e=w(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=w.makeArray(e),a=r.length;a--;)((i=r[a]).selected=-1<w.inArray(w.valHooks.option.get(i),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<w.inArray(w(t).val(),e)}},h.checkOn||(w.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),h.focusin="onfocusin"in t;var xe=/^(?:focusinfocus|focusoutblur)$/,we=function(t){t.stopPropagation()};w.extend(w.event,{trigger:function(e,n,i,r){var o,a,s,l,u,d,f,h,v=[i||m],y=c.call(e,"type")?e.type:e,b=c.call(e,"namespace")?e.namespace.split("."):[];if(a=h=s=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!xe.test(y+w.event.triggered)&&(-1<y.indexOf(".")&&(y=(b=y.split(".")).shift(),b.sort()),u=y.indexOf(":")<0&&"on"+y,(e=e[w.expando]?e:new w.Event(y,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:w.makeArray(n,[e]),f=w.event.special[y]||{},r||!f.trigger||!1!==f.trigger.apply(i,n))){if(!r&&!f.noBubble&&!g(i)){for(xe.test((l=f.delegateType||y)+y)||(a=a.parentNode);a;a=a.parentNode)v.push(a),s=a;s===(i.ownerDocument||m)&&v.push(s.defaultView||s.parentWindow||t)}for(o=0;(a=v[o++])&&!e.isPropagationStopped();)h=a,e.type=1<o?l:f.bindType||y,(d=(X.get(a,"events")||Object.create(null))[e.type]&&X.get(a,"handle"))&&d.apply(a,n),(d=u&&a[u])&&d.apply&&$(a)&&(e.result=d.apply(a,n),!1===e.result&&e.preventDefault());return e.type=y,r||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),n)||!$(i)||u&&p(i[y])&&!g(i)&&((s=i[u])&&(i[u]=null),w.event.triggered=y,e.isPropagationStopped()&&h.addEventListener(y,we),i[y](),e.isPropagationStopped()&&h.removeEventListener(y,we),w.event.triggered=void 0,s&&(i[u]=s)),e.result}},simulate:function(t,e,n){var i=w.extend(new w.Event,n,{type:t,isSimulated:!0});w.event.trigger(i,null,e)}}),w.fn.extend({trigger:function(t,e){return this.each(function(){w.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return w.event.trigger(t,e,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){w.event.simulate(e,t.target,w.event.fix(t))};w.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=X.access(i,e);r||i.addEventListener(t,n,!0),X.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=X.access(i,e)-1;r?X.access(i,e,r):(i.removeEventListener(t,n,!0),X.remove(i,e))}}});var _e=t.location,Ce={guid:Date.now()},ke=/\?/;w.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+e),n};var Te=/\[\]$/,Se=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;function Le(t,e,n,i){var r;if(Array.isArray(e))w.each(e,function(e,r){n||Te.test(t)?i(t,r):Le(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==b(e))i(t,e);else for(r in e)Le(t+"["+r+"]",e[r],n,i)}w.param=function(t,e){var n,i=[],r=function(t,e){var n=p(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!w.isPlainObject(t))w.each(t,function(){r(this.name,this.value)});else for(n in t)Le(n,t[n],e,r);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=w.prop(this,"elements");return t?w.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!w(this).is(":disabled")&&Ae.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!ft.test(t))}).map(function(t,e){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(t){return{name:e.name,value:t.replace(Se,"\r\n")}}):{name:e.name,value:n.replace(Se,"\r\n")}}).get()}});var Me=/%20/g,De=/#.*$/,Oe=/([?&])_=[^&]*/,Ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pe=/^(?:GET|HEAD)$/,Ne=/^\/\//,ze={},Fe={},Be="*/".concat("*"),je=m.createElement("a");function Re(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(N)||[];if(p(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function He(t,e,n,i){var r={},o=t===Fe;function a(s){var l;return r[s]=!0,w.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||o||r[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),a(u),!1)}),l}return a(e.dataTypes[0])||!r["*"]&&a("*")}function We(t,e){var n,i,r=w.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&w.extend(!0,t,i),t}je.href=_e.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_e.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?We(We(t,w.ajaxSettings),e):We(w.ajaxSettings,t)},ajaxPrefilter:Re(ze),ajaxTransport:Re(Fe),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0);var i,r,o,a,s,l,u,c,d,f,h=w.ajaxSetup({},n=n||{}),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?w(p):w.event,v=w.Deferred(),y=w.Callbacks("once memory"),b=h.statusCode||{},x={},_={},C="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=Ie.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(t,e){return null==u&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==u&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)k.always(t[k.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||C;return i&&i.abort(e),T(0,e),this}};if(v.promise(k),h.url=((e||h.url||_e.href)+"").replace(Ne,_e.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(N)||[""],null==h.crossDomain){l=m.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=je.protocol+"//"+je.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),He(ze,h,n,k),u)return k;for(d in(c=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Pe.test(h.type),r=h.url.replace(De,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Me,"+")):(f=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(ke.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Oe,"$1"),f=(ke.test(r)?"&":"?")+"_="+Ce.guid+++f),h.url=r+f),h.ifModified&&(w.lastModified[r]&&k.setRequestHeader("If-Modified-Since",w.lastModified[r]),w.etag[r]&&k.setRequestHeader("If-None-Match",w.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Be+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,k,h)||u))return k.abort();if(C="abort",y.add(h.complete),k.done(h.success),k.fail(h.error),i=He(Fe,h,n,k)){if(k.readyState=1,c&&g.trigger("ajaxSend",[k,h]),u)return k;h.async&&0<h.timeout&&(s=t.setTimeout(function(){k.abort("timeout")},h.timeout));try{u=!1,i.send(x,T)}catch(e){if(u)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,n,a,l){var d,f,m,x,_,C=n;u||(u=!0,s&&t.clearTimeout(s),i=void 0,o=l||"",k.readyState=0<e?4:0,d=200<=e&&e<300||304===e,a&&(x=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(h,k,a)),!d&&-1<w.inArray("script",h.dataTypes)&&(h.converters["text script"]=function(){}),x=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];for(o=c.shift();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}}(h,x,k,d),d?(h.ifModified&&((_=k.getResponseHeader("Last-Modified"))&&(w.lastModified[r]=_),(_=k.getResponseHeader("etag"))&&(w.etag[r]=_)),204===e||"HEAD"===h.type?C="nocontent":304===e?C="notmodified":(C=x.state,f=x.data,d=!(m=x.error))):(m=C,!e&&C||(C="error",e<0&&(e=0))),k.status=e,k.statusText=(n||C)+"",d?v.resolveWith(p,[f,C,k]):v.rejectWith(p,[k,C,m]),k.statusCode(b),b=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[k,h,d?f:m]),y.fireWith(p,[k,C]),c&&(g.trigger("ajaxComplete",[k,h]),--w.active||w.event.trigger("ajaxStop")))}return k},getJSON:function(t,e,n){return w.get(t,e,n,"json")},getScript:function(t,e){return w.get(t,void 0,e,"script")}}),w.each(["get","post"],function(t,e){w[e]=function(t,n,i,r){return p(n)&&(r=r||i,i=n,n=void 0),w.ajax(w.extend({url:t,type:e,dataType:r,data:n,success:i},w.isPlainObject(t)&&t))}}),w.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),w._evalUrl=function(t,e,n){return w.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){w.globalEval(t,e,n)}})},w.fn.extend({wrapAll:function(t){var e;return this[0]&&(p(t)&&(t=t.call(this[0])),e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return p(t)?this.each(function(e){w(this).wrapInner(t.call(this,e))}):this.each(function(){var e=w(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=p(t);return this.each(function(n){w(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(t){return!w.expr.pseudos.visible(t)},w.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(e){}};var qe={0:200,1223:204},Ve=w.ajaxSettings.xhr();h.cors=!!Ve&&"withCredentials"in Ve,h.ajax=Ve=!!Ve,w.ajaxTransport(function(e){var n,i;if(h.cors||Ve&&!e.crossDomain)return{send:function(r,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);n=function(t){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(qe[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(e.hasContent&&e.data||null)}catch(r){if(n)throw r}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return w.globalEval(t),t}}}),w.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),w.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=w("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),m.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ue,Ye=[],$e=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||w.expando+"_"+Ce.guid++;return this[t]=!0,t}}),w.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,a,s=!1!==e.jsonp&&($e.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=p(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace($e,"$1"+r):!1!==e.jsonp&&(e.url+=(ke.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||w.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},i.always(function(){void 0===o?w(t).removeProp(r):t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ye.push(r)),a&&p(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=((Ue=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ue.childNodes.length),w.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(h.createHTMLDocument?((i=(e=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,e.head.appendChild(i)):e=m),o=!n&&[],(r=A.exec(t))?[e.createElement(r[1])]:(r=bt([t],e,o),o&&o.length&&w(o).remove(),w.merge([],r.childNodes)));var i,r,o},w.fn.load=function(t,e,n){var i,r,o,a=this,s=t.indexOf(" ");return-1<s&&(i=me(t.slice(s)),t=t.slice(0,s)),p(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<a.length&&w.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?w("<div>").append(w.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},w.expr.pseudos.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},w.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u=w.css(t,"position"),c=w(t),d={};"static"===u&&(t.style.position="relative"),s=c.offset(),o=w.css(t,"top"),l=w.css(t,"left"),("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),p(e)&&(e=e.call(t,n,w.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+r),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),c.css(d))}},w.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?{top:(e=i.getBoundingClientRect()).top+(n=i.ownerDocument.defaultView).pageYOffset,left:e.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===w.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===w.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=w(t).offset()).top+=w.css(t,"borderTopWidth",!0),r.left+=w.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-w.css(i,"marginTop",!0),left:e.left-r.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===w.css(t,"position");)t=t.offsetParent;return t||it})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;w.fn[t]=function(i){return W(this,function(t,i,r){var o;if(g(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r},t,i,arguments.length)}}),w.each(["top","left"],function(t,e){w.cssHooks[e]=Wt(h.pixelPosition,function(t,n){if(n)return n=Ht(t,e),Ft.test(n)?w(t).position()[e]+"px":n})}),w.each({Height:"height",Width:"width"},function(t,e){w.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){w.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return W(this,function(e,n,r){var o;return g(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?w.css(e,n,s):w.style(e,n,r,s)},e,a?r:void 0,a)}})}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){w.fn[e]=function(t){return this.on(e,t)}}),w.fn.extend({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)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){w.fn[e]=function(t,n){return 0<arguments.length?this.on(e,null,t,n):this.trigger(e)}});var Qe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.proxy=function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),p(t))return i=r.call(arguments,2),(o=function(){return t.apply(e||this,i.concat(r.call(arguments)))}).guid=t.guid=t.guid||w.guid++,o},w.holdReady=function(t){t?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=E,w.isFunction=p,w.isWindow=g,w.camelCase=Y,w.type=b,w.now=Date.now,w.isNumeric=function(t){var e=w.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},w.trim=function(t){return null==t?"":(t+"").replace(Qe,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Xe=t.jQuery,Ge=t.$;return w.noConflict=function(e){return t.$===w&&(t.$=Ge),e&&t.jQuery===w&&(t.jQuery=Xe),w},void 0===e&&(t.jQuery=t.$=w),w}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery)}(this,function(t,e){"use strict";var n=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(e);function i(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 r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function o(){return(o=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)}var a={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=n.default(t).css("transition-duration"),i=n.default(t).css("transition-delay"),r=parseFloat(e),o=parseFloat(i);return r||o?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){n.default(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=e[i],s=o&&a.isElement(o)?"element":null===(l=o)||void 0===l?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?a.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if(void 0===n.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};a.jQueryDetection(),n.default.fn.emulateTransitionEnd=function(t){var e=this,i=!1;return n.default(this).one(a.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||a.triggerTransitionEnd(e)},t),this},n.default.event.special[a.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(n.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var s="alert",l=n.default.fn[s],u=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){n.default.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=a.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i||(i=n.default(t).closest(".alert")[0]),i},e._triggerCloseEvent=function(t){var e=n.default.Event("close.bs.alert");return n.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(n.default(t).removeClass("show"),n.default(t).hasClass("fade")){var i=a.getTransitionDurationFromElement(t);n.default(t).one(a.TRANSITION_END,function(n){return e._destroyElement(t,n)}).emulateTransitionEnd(i)}else this._destroyElement(t)},e._destroyElement=function(t){n.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this),r=i.data("bs.alert");r||(r=new t(this),i.data("bs.alert",r)),"close"===e&&r[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();n.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',u._handleDismiss(new u)),n.default.fn[s]=u._jQueryInterface,n.default.fn[s].Constructor=u,n.default.fn[s].noConflict=function(){return n.default.fn[s]=l,u._jQueryInterface};var c=n.default.fn.button,d=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,i=n.default(this._element).closest('[data-toggle="buttons"]')[0];if(i){var r=this._element.querySelector('input:not([type="hidden"])');if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains("active"))t=!1;else{var o=i.querySelector(".active");o&&n.default(o).removeClass("active")}t&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||n.default(r).trigger("change")),r.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&n.default(this._element).toggleClass("active"))},e.dispose=function(){n.default.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e,i){return this.each(function(){var r=n.default(this),o=r.data("bs.button");o||(o=new t(this),r.data("bs.button",o)),o.shouldAvoidTriggerChange=i,"toggle"===e&&o[e]()})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();n.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=t.target,i=e;if(n.default(e).hasClass("btn")||(e=n.default(e).closest(".btn")[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var r=e.querySelector('input:not([type="hidden"])');if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==i.tagName&&"LABEL"===e.tagName||d._jQueryInterface.call(n.default(e),"toggle","INPUT"===i.tagName)}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=n.default(t.target).closest(".btn")[0];n.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),n.default(window).on("load.bs.button.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],r=i.querySelector('input:not([type="hidden"])');r.checked||r.hasAttribute("checked")?i.classList.add("active"):i.classList.remove("active")}for(var o=0,a=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;o<a;o++){var s=t[o];"true"===s.getAttribute("aria-pressed")?s.classList.add("active"):s.classList.remove("active")}}),n.default.fn.button=d._jQueryInterface,n.default.fn.button.Constructor=d,n.default.fn.button.noConflict=function(){return n.default.fn.button=c,d._jQueryInterface};var f="carousel",h=n.default.fn[f],p={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},g={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},m={TOUCH:"touch",PEN:"pen"},v=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide("next")},e.nextWhenVisible=function(){var t=n.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide("prev")},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(a.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)n.default(this._element).one("slid.bs.carousel",function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();this._slide(t>i?"next":"prev",this._items[t])}},e.dispose=function(){n.default(this._element).off(".bs.carousel"),n.default.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=o({},p,t),a.typeCheckConfig(f,t,g),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&n.default(this._element).on("keydown.bs.carousel",function(e){return t._keydown(e)}),"hover"===this._config.pause&&n.default(this._element).on("mouseenter.bs.carousel",function(e){return t.pause(e)}).on("mouseleave.bs.carousel",function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&m[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&m[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};n.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(t){return t.preventDefault()}),this._pointerEvent?(n.default(this._element).on("pointerdown.bs.carousel",function(t){return e(t)}),n.default(this._element).on("pointerup.bs.carousel",function(t){return i(t)}),this._element.classList.add("pointer-event")):(n.default(this._element).on("touchstart.bs.carousel",function(t){return e(t)}),n.default(this._element).on("touchmove.bs.carousel",function(e){return function(e){t.touchDeltaX=e.originalEvent.touches&&e.originalEvent.touches.length>1?0:e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),n.default(this._element).on("touchend.bs.carousel",function(t){return i(t)}))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n="next"===t,i="prev"===t,r=this._getItemIndex(e);if((i&&0===r||n&&r===this._items.length-1)&&!this._config.wrap)return e;var o=(r+("prev"===t?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},e._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),r=this._getItemIndex(this._element.querySelector(".active.carousel-item")),o=n.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:r,to:i});return n.default(this._element).trigger(o),o},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));n.default(e).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&n.default(i).addClass("active")}},e._slide=function(t,e){var i,r,o,s=this,l=this._element.querySelector(".active.carousel-item"),u=this._getItemIndex(l),c=e||l&&this._getItemByDirection(t,l),d=this._getItemIndex(c),f=Boolean(this._interval);if("next"===t?(i="carousel-item-left",r="carousel-item-next",o="left"):(i="carousel-item-right",r="carousel-item-prev",o="right"),c&&n.default(c).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).isDefaultPrevented()&&l&&c){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(c);var h=n.default.Event("slid.bs.carousel",{relatedTarget:c,direction:o,from:u,to:d});if(n.default(this._element).hasClass("slide")){n.default(c).addClass(r),a.reflow(c),n.default(l).addClass(i),n.default(c).addClass(i);var p=parseInt(c.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var g=a.getTransitionDurationFromElement(l);n.default(l).one(a.TRANSITION_END,function(){n.default(c).removeClass(i+" "+r).addClass("active"),n.default(l).removeClass("active "+r+" "+i),s._isSliding=!1,setTimeout(function(){return n.default(s._element).trigger(h)},0)}).emulateTransitionEnd(g)}else n.default(l).removeClass("active"),n.default(c).addClass("active"),this._isSliding=!1,n.default(this._element).trigger(h);f&&this.cycle()}},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this).data("bs.carousel"),r=o({},p,n.default(this).data());"object"==typeof e&&(r=o({},r,e));var a="string"==typeof e?e:r.slide;if(i||(i=new t(this,r),n.default(this).data("bs.carousel",i)),"number"==typeof e)i.to(e);else if("string"==typeof a){if(void 0===i[a])throw new TypeError('No method named "'+a+'"');i[a]()}else r.interval&&r.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(e){var i=a.getSelectorFromElement(this);if(i){var r=n.default(i)[0];if(r&&n.default(r).hasClass("carousel")){var s=o({},n.default(r).data(),n.default(this).data()),l=this.getAttribute("data-slide-to");l&&(s.interval=!1),t._jQueryInterface.call(n.default(r),s),l&&n.default(r).data("bs.carousel").to(l),e.preventDefault()}}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return p}}]),t}();n.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",v._dataApiClickHandler),n.default(window).on("load.bs.carousel.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,i=t.length;e<i;e++){var r=n.default(t[e]);v._jQueryInterface.call(r,r.data())}}),n.default.fn[f]=v._jQueryInterface,n.default.fn[f].Constructor=v,n.default.fn[f].noConflict=function(){return n.default.fn[f]=h,v._jQueryInterface};var y="collapse",b=n.default.fn[y],x={toggle:!0,parent:""},w={toggle:"boolean",parent:"(string|element)"},_=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),i=0,r=n.length;i<r;i++){var o=n[i],s=a.getSelectorFromElement(o),l=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&l.length>0&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){n.default(this._element).hasClass("show")?this.hide():this.show()},e.show=function(){var e,i,r=this;if(!(this._isTransitioning||n.default(this._element).hasClass("show")||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof r._config.parent?t.getAttribute("data-parent")===r._config.parent:t.classList.contains("collapse")})).length&&(e=null),e&&(i=n.default(e).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var o=n.default.Event("show.bs.collapse");if(n.default(this._element).trigger(o),!o.isDefaultPrevented()){e&&(t._jQueryInterface.call(n.default(e).not(this._selector),"hide"),i||n.default(e).data("bs.collapse",null));var s=this._getDimension();n.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[s]=0,this._triggerArray.length&&n.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(s[0].toUpperCase()+s.slice(1)),u=a.getTransitionDurationFromElement(this._element);n.default(this._element).one(a.TRANSITION_END,function(){n.default(r._element).removeClass("collapsing").addClass("collapse show"),r._element.style[s]="",r.setTransitioning(!1),n.default(r._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(u),this._element.style[s]=this._element[l]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&n.default(this._element).hasClass("show")){var e=n.default.Event("hide.bs.collapse");if(n.default(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",a.reflow(this._element),n.default(this._element).addClass("collapsing").removeClass("collapse show");var r=this._triggerArray.length;if(r>0)for(var o=0;o<r;o++){var s=this._triggerArray[o],l=a.getSelectorFromElement(s);null!==l&&(n.default([].slice.call(document.querySelectorAll(l))).hasClass("show")||n.default(s).addClass("collapsed").attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var u=a.getTransitionDurationFromElement(this._element);n.default(this._element).one(a.TRANSITION_END,function(){t.setTransitioning(!1),n.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(u)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){n.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=o({},x,t)).toggle=Boolean(t.toggle),a.typeCheckConfig(y,t,w),t},e._getDimension=function(){return n.default(this._element).hasClass("width")?"width":"height"},e._getParent=function(){var e,i=this;a.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var r=[].slice.call(e.querySelectorAll('[data-toggle="collapse"][data-parent="'+this._config.parent+'"]'));return n.default(r).each(function(e,n){i._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),e},e._addAriaAndCollapsedClass=function(t,e){var i=n.default(t).hasClass("show");e.length&&n.default(e).toggleClass("collapsed",!i).attr("aria-expanded",i)},t._getTargetFromElement=function(t){var e=a.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this),r=i.data("bs.collapse"),a=o({},x,i.data(),"object"==typeof e&&e?e:{});if(!r&&a.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(a.toggle=!1),r||(r=new t(this,a),i.data("bs.collapse",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return x}}]),t}();n.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=n.default(this),i=a.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));n.default(r).each(function(){var t=n.default(this),i=t.data("bs.collapse")?"toggle":e.data();_._jQueryInterface.call(t,i)})}),n.default.fn[y]=_._jQueryInterface,n.default.fn[y].Constructor=_,n.default.fn[y].noConflict=function(){return n.default.fn[y]=b,_._jQueryInterface};var C="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,k=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(C&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}(),T=C&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},k))}};function S(t){return t&&"[object Function]"==={}.toString.call(t)}function E(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function A(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function L(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=E(t);return/(auto|scroll|overlay)/.test(e.overflow+e.overflowY+e.overflowX)?t:L(A(t))}function M(t){return t&&t.referenceNode?t.referenceNode:t}var D=C&&!(!window.MSInputMethodContext||!document.documentMode),O=C&&/MSIE 10/.test(navigator.userAgent);function I(t){return 11===t?D:10===t?O:D||O}function P(t){if(!t)return document.documentElement;for(var e=I(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===E(n,"position")?P(n):n:t?t.ownerDocument.documentElement:document.documentElement}function N(t){return null!==t.parentNode?N(t.parentNode):t}function z(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&P(a.firstElementChild)!==a?P(l):l;var u=N(t);return u.host?z(u.host,e):z(t,N(e).host)}function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||r;return o[n]}return t[n]}function B(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=F(e,"top"),r=F(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}function j(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function R(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],I(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function H(t){var e=t.body,n=t.documentElement,i=I(10)&&getComputedStyle(n);return{height:R("Height",e,n,i),width:R("Width",e,n,i)}}var W=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},q=function(){function t(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)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),V=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},U=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};function Y(t){return U({},t,{right:t.left+t.width,bottom:t.top+t.height})}function $(t){var e={};try{if(I(10)){e=t.getBoundingClientRect();var n=F(t,"top"),i=F(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?H(t.ownerDocument):{},a=t.offsetWidth-(o.width||t.clientWidth||r.width),s=t.offsetHeight-(o.height||t.clientHeight||r.height);if(a||s){var l=E(t);a-=j(l,"x"),s-=j(l,"y"),r.width-=a,r.height-=s}return Y(r)}function Q(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=I(10),r="HTML"===e.nodeName,o=$(t),a=$(e),s=L(t),l=E(e),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=Y({top:o.top-a.top-u,left:o.left-a.left-c,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!i&&r){var f=parseFloat(l.marginTop),h=parseFloat(l.marginLeft);d.top-=u-f,d.bottom-=u-f,d.left-=c-h,d.right-=c-h,d.marginTop=f,d.marginLeft=h}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=B(d,e)),d}function X(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=Q(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:F(n),s=e?0:F(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o};return Y(l)}function G(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===E(t,"position"))return!0;var n=A(t);return!!n&&G(n)}function K(t){if(!t||!t.parentElement||I())return document.documentElement;for(var e=t.parentElement;e&&"none"===E(e,"transform");)e=e.parentElement;return e||document.documentElement}function Z(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?K(t):z(t,M(e));if("viewport"===i)o=X(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=L(A(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=Q(s,a,r);if("HTML"!==s.nodeName||G(a))o=l;else{var u=H(t.ownerDocument),c=u.height,d=u.width;o.top+=l.top-l.marginTop,o.bottom=c+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}}var f="number"==typeof(n=n||0);return o.left+=f?n:n.left||0,o.top+=f?n:n.top||0,o.right-=f?n:n.right||0,o.bottom-=f?n:n.bottom||0,o}function J(t){return t.width*t.height}function tt(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=Z(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return U({key:t},s[t],{area:J(s[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){return t.width>=n.clientWidth&&t.height>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function et(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=i?K(e):z(e,M(n));return Q(n,r,i)}function nt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function it(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function rt(t,e,n){n=n.split("-")[0];var i=nt(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[u]:e[it(s)],r}function ot(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function at(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=ot(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&S(n)&&(e.offsets.popper=Y(e.offsets.popper),e.offsets.reference=Y(e.offsets.reference),e=n(e,t))}),e}function st(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=et(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=tt(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=rt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=at(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function lt(t,e){return t.some(function(t){return t.enabled&&t.name===e})}function ut(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function ct(){return this.state.isDestroyed=!0,lt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[ut("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function dt(t){var e=t.ownerDocument;return e?e.defaultView:window}function ft(){this.state.eventsEnabled||(this.state=function(t,e,n,i){n.updateBound=i,dt(t).addEventListener("resize",n.updateBound,{passive:!0});var r=L(t);return function t(e,n,i,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,i,{passive:!0}),o||t(L(a.parentNode),n,i,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}(this.reference,0,this.state,this.scheduleUpdate))}function ht(){var t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.state,dt(this.reference).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function pt(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function gt(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&pt(e[n])&&(i="px"),t.style[n]=e[n]+i})}var mt=C&&/Firefox/i.test(navigator.userAgent);function vt(t,e,n){var i=ot(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`";console.warn("`"+n+"` modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var yt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],bt=yt.slice(3);function xt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=bt.indexOf(t),i=bt.slice(n+1).concat(bt.slice(0,n));return e?i.reverse():i}var wt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:V({},l,o[l]),end:V({},l,o[l]+o[u]-a[u])};t.offsets.popper=U({},a,c[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,i=e.offset,r=t.offsets,o=r.popper,a=r.reference,s=t.placement.split("-")[0];return n=pt(+i)?[+i,0]:function(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(ot(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return Y(s)[e]/100*o}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){pt(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}(i,o,a,s),"left"===s?(o.top+=n[0],o.left-=n[1]):"right"===s?(o.top+=n[0],o.left+=n[1]):"top"===s?(o.left+=n[0],o.top-=n[1]):"bottom"===s&&(o.left+=n[0],o.top+=n[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||P(t.instance.popper);t.instance.reference===n&&(n=P(n));var i=ut("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=Z(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=a,r[i]=s,e.boundaries=l;var u=t.offsets.popper,c={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),V({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),V({},n,i)}};return e.priority.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=U({},u,c[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!vt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",p=nt(i)[u];s[h]-p<a[d]&&(t.offsets.popper[d]-=a[d]-(s[h]-p)),s[d]+p>a[h]&&(t.offsets.popper[d]+=s[d]+p-a[h]),t.offsets.popper=Y(t.offsets.popper);var g=s[d]+s[u]/2-p/2,m=E(t.instance.popper),v=parseFloat(m["margin"+c]),y=parseFloat(m["border"+c+"Width"]),b=g-t.offsets.popper[d]-v-y;return b=Math.max(Math.min(a[u]-p,b),0),t.arrowElement=i,t.offsets.arrow=(V(n={},d,Math.round(b)),V(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(lt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=Z(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=it(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case"flip":a=[i,r];break;case"clockwise":a=xt(i);break;case"counterclockwise":a=xt(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=it(i);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)<d(c.right)||"top"===i&&d(u.bottom)>d(c.top)||"bottom"===i&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),g=d(u.top)<d(n.top),m=d(u.bottom)>d(n.bottom),v="left"===i&&h||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,y=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&g||!y&&"end"===o&&m)||!!e.flipVariationsByContent&&(y&&"start"===o&&p||y&&"end"===o&&h||!y&&"start"===o&&m||!y&&"end"===o&&g);(f||v||b)&&(t.flipped=!0,(f||v)&&(i=a[l+1]),b&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=U({},t.offsets.popper,rt(t.instance.popper,t.offsets.reference,t.placement)),t=at(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=it(e),t.offsets.popper=Y(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!vt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=ot(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=ot(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,l=void 0!==o?o:e.gpuAcceleration,u=P(t.instance.popper),c=$(u),d={position:r.position},f=function(t,e){var n=t.offsets,i=n.popper,r=Math.round,o=Math.floor,a=function(t){return t},s=r(n.reference.width),l=r(i.width),u=-1!==["left","right"].indexOf(t.placement),c=-1!==t.placement.indexOf("-"),d=e?u||c||s%2==l%2?r:o:a,f=e?r:a;return{left:d(s%2==1&&l%2==1&&!c&&e?i.left-1:i.left),top:f(i.top),bottom:f(i.bottom),right:d(i.right)}}(t,window.devicePixelRatio<2||!mt),h="bottom"===n?"top":"bottom",p="right"===i?"left":"right",g=ut("transform");if(s="bottom"===h?"HTML"===u.nodeName?-u.clientHeight+f.bottom:-c.height+f.bottom:f.top,a="right"===p?"HTML"===u.nodeName?-u.clientWidth+f.right:-c.width+f.right:f.left,l&&g)d[g]="translate3d("+a+"px, "+s+"px, 0)",d[h]=0,d[p]=0,d.willChange="transform";else{var m="right"===p?-1:1;d[h]=s*("bottom"===h?-1:1),d[p]=a*m,d.willChange=h+", "+p}return t.attributes=U({},{"x-placement":t.placement},t.attributes),t.styles=U({},d,t.styles),t.arrowStyles=U({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return gt(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&>(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,r){var o=et(r,e,t,n.positionFixed),a=tt(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),gt(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},_t=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};W(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=T(this.update.bind(this)),this.options=U({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(U({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=U({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return U({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&S(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return q(t,[{key:"update",value:function(){return st.call(this)}},{key:"destroy",value:function(){return ct.call(this)}},{key:"enableEventListeners",value:function(){return ft.call(this)}},{key:"disableEventListeners",value:function(){return ht.call(this)}}]),t}();_t.Utils=("undefined"!=typeof window?window:global).PopperUtils,_t.placements=yt,_t.Defaults=wt;var Ct="dropdown",kt=n.default.fn[Ct],Tt=new RegExp("38|40|27"),St={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Et={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},At=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!n.default(this._element).hasClass("disabled")){var e=n.default(this._menu).hasClass("show");t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||n.default(this._element).hasClass("disabled")||n.default(this._menu).hasClass("show"))){var i={relatedTarget:this._element},r=n.default.Event("show.bs.dropdown",i),o=t._getParentFromElement(this._element);if(n.default(o).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar&&e){if(void 0===_t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=o:a.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n.default(o).addClass("position-static"),this._popper=new _t(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n.default(o).closest(".navbar-nav").length&&n.default(document.body).children().on("mouseover",null,n.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n.default(this._menu).toggleClass("show"),n.default(o).toggleClass("show").trigger(n.default.Event("shown.bs.dropdown",i))}}},e.hide=function(){if(!this._element.disabled&&!n.default(this._element).hasClass("disabled")&&n.default(this._menu).hasClass("show")){var e={relatedTarget:this._element},i=n.default.Event("hide.bs.dropdown",e),r=t._getParentFromElement(this._element);n.default(r).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),n.default(this._menu).toggleClass("show"),n.default(r).toggleClass("show").trigger(n.default.Event("hidden.bs.dropdown",e)))}},e.dispose=function(){n.default.removeData(this._element,"bs.dropdown"),n.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;n.default(this._element).on("click.bs.dropdown",function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(t){return t=o({},this.constructor.Default,n.default(this._element).data(),t),a.typeCheckConfig(Ct,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},e._getPlacement=function(){var t=n.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=n.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":n.default(this._menu).hasClass("dropdown-menu-right")&&(e="bottom-end"),e},e._detectNavbar=function(){return n.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),o({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof e?e:null),n.default(this).data("bs.dropdown",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),r=0,o=i.length;r<o;r++){var a=t._getParentFromElement(i[r]),s=n.default(i[r]).data("bs.dropdown"),l={relatedTarget:i[r]};if(e&&"click"===e.type&&(l.clickEvent=e),s){var u=s._menu;if(n.default(a).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&n.default.contains(a,e.target))){var c=n.default.Event("hide.bs.dropdown",l);n.default(a).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n.default(document.body).children().off("mouseover",null,n.default.noop),i[r].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),n.default(u).removeClass("show"),n.default(a).removeClass("show").trigger(n.default.Event("hidden.bs.dropdown",l)))}}}},t._getParentFromElement=function(t){var e,n=a.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||n.default(e.target).closest(".dropdown-menu").length):!Tt.test(e.which))&&!this.disabled&&!n.default(this).hasClass("disabled")){var i=t._getParentFromElement(this),r=n.default(i).hasClass("show");if(r||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!r||27===e.which||32===e.which)return 27===e.which&&n.default(i.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void n.default(this).trigger("click");var o=[].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(t){return n.default(t).is(":visible")});if(0!==o.length){var a=o.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<o.length-1&&a++,a<0&&(a=0),o[a].focus()}}}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return St}},{key:"DefaultType",get:function(){return Et}}]),t}();n.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',At._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",At._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",At._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(t){t.preventDefault(),t.stopPropagation(),At._jQueryInterface.call(n.default(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}),n.default.fn[Ct]=At._jQueryInterface,n.default.fn[Ct].Constructor=At,n.default.fn[Ct].noConflict=function(){return n.default.fn[Ct]=kt,At._jQueryInterface};var Lt=n.default.fn.modal,Mt={backdrop:!0,keyboard:!0,focus:!0,show:!0},Dt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ot=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){n.default(this._element).hasClass("fade")&&(this._isTransitioning=!0);var i=n.default.Event("show.bs.modal",{relatedTarget:t});n.default(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(t){return e.hide(t)}),n.default(this._dialog).on("mousedown.dismiss.bs.modal",function(){n.default(e._element).one("mouseup.dismiss.bs.modal",function(t){n.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=n.default.Event("hide.bs.modal");if(n.default(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var r=n.default(this._element).hasClass("fade");if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n.default(document).off("focusin.bs.modal"),n.default(this._element).removeClass("show"),n.default(this._element).off("click.dismiss.bs.modal"),n.default(this._dialog).off("mousedown.dismiss.bs.modal"),r){var o=a.getTransitionDurationFromElement(this._element);n.default(this._element).one(a.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return n.default(t).off(".bs.modal")}),n.default(document).off("focusin.bs.modal"),n.default.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=o({},Mt,t),a.typeCheckConfig("modal",t,Dt),t},e._triggerBackdropTransition=function(){var t=this;if("static"===this._config.backdrop){var e=n.default.Event("hidePrevented.bs.modal");if(n.default(this._element).trigger(e),e.isDefaultPrevented())return;var i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var r=a.getTransitionDurationFromElement(this._dialog);n.default(this._element).off(a.TRANSITION_END),n.default(this._element).one(a.TRANSITION_END,function(){t._element.classList.remove("modal-static"),i||n.default(t._element).one(a.TRANSITION_END,function(){t._element.style.overflowY=""}).emulateTransitionEnd(t._element,r)}).emulateTransitionEnd(r),this._element.focus()}else this.hide()},e._showElement=function(t){var e=this,i=n.default(this._element).hasClass("fade"),r=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),n.default(this._dialog).hasClass("modal-dialog-scrollable")&&r?r.scrollTop=0:this._element.scrollTop=0,i&&a.reflow(this._element),n.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var o=n.default.Event("shown.bs.modal",{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,n.default(e._element).trigger(o)};if(i){var l=a.getTransitionDurationFromElement(this._dialog);n.default(this._dialog).one(a.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},e._enforceFocus=function(){var t=this;n.default(document).off("focusin.bs.modal").on("focusin.bs.modal",function(e){document!==e.target&&t._element!==e.target&&0===n.default(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown?n.default(this._element).on("keydown.dismiss.bs.modal",function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()}):this._isShown||n.default(this._element).off("keydown.dismiss.bs.modal")},e._setResizeEvent=function(){var t=this;this._isShown?n.default(window).on("resize.bs.modal",function(e){return t.handleUpdate(e)}):n.default(window).off("resize.bs.modal")},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){n.default(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),n.default(t._element).trigger("hidden.bs.modal")})},e._removeBackdrop=function(){this._backdrop&&(n.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,i=n.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),n.default(this._backdrop).appendTo(document.body),n.default(this._element).on("click.dismiss.bs.modal",function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()}),i&&a.reflow(this._backdrop),n.default(this._backdrop).addClass("show"),!t)return;if(!i)return void t();var r=a.getTransitionDurationFromElement(this._backdrop);n.default(this._backdrop).one(a.TRANSITION_END,t).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){n.default(this._backdrop).removeClass("show");var o=function(){e._removeBackdrop(),t&&t()};if(n.default(this._element).hasClass("fade")){var s=a.getTransitionDurationFromElement(this._backdrop);n.default(this._backdrop).one(a.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),i=[].slice.call(document.querySelectorAll(".sticky-top"));n.default(e).each(function(e,i){var r=i.style.paddingRight,o=n.default(i).css("padding-right");n.default(i).data("padding-right",r).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),n.default(i).each(function(e,i){var r=i.style.marginRight,o=n.default(i).css("margin-right");n.default(i).data("margin-right",r).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var r=document.body.style.paddingRight,o=n.default(document.body).css("padding-right");n.default(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}n.default(document.body).addClass("modal-open")},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));n.default(t).each(function(t,e){var i=n.default(e).data("padding-right");n.default(e).removeData("padding-right"),e.style.paddingRight=i||""});var e=[].slice.call(document.querySelectorAll(".sticky-top"));n.default(e).each(function(t,e){var i=n.default(e).data("margin-right");void 0!==i&&n.default(e).css("margin-right",i).removeData("margin-right")});var i=n.default(document.body).data("padding-right");n.default(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,i){return this.each(function(){var r=n.default(this).data("bs.modal"),a=o({},Mt,n.default(this).data(),"object"==typeof e&&e?e:{});if(r||(r=new t(this,a),n.default(this).data("bs.modal",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e](i)}else a.show&&r.show(i)})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Mt}}]),t}();n.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e,i=this,r=a.getSelectorFromElement(this);r&&(e=document.querySelector(r));var s=n.default(e).data("bs.modal")?"toggle":o({},n.default(e).data(),n.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var l=n.default(e).one("show.bs.modal",function(t){t.isDefaultPrevented()||l.one("hidden.bs.modal",function(){n.default(i).is(":visible")&&i.focus()})});Ot._jQueryInterface.call(n.default(e),s,this)}),n.default.fn.modal=Ot._jQueryInterface,n.default.fn.modal.Constructor=Ot,n.default.fn.modal.noConflict=function(){return n.default.fn.modal=Lt,Ot._jQueryInterface};var It=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Pt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Nt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function zt(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(e),o=[].slice.call(i.body.querySelectorAll("*")),a=function(t,n){var i=o[t],a=i.nodeName.toLowerCase();if(-1===r.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var s=[].slice.call(i.attributes),l=[].concat(e["*"]||[],e[a]||[]);s.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===It.indexOf(n)||Boolean(t.nodeValue.match(Pt)||t.nodeValue.match(Nt));for(var i=e.filter(function(t){return t instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1})(t,l)||i.removeAttribute(t.nodeName)})},s=0,l=o.length;s<l;s++)a(s);return i.body.innerHTML}var Ft="tooltip",Bt=n.default.fn[Ft],jt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Rt=["sanitize","whiteList","sanitizeFn"],Ht={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Wt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},qt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Vt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ut=function(){function t(t,e){if(void 0===_t)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=n.default(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n.default(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),n.default.removeData(this.element,this.constructor.DATA_KEY),n.default(this.element).off(this.constructor.EVENT_KEY),n.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&n.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===n.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=n.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){n.default(this.element).trigger(e);var i=a.findShadowRoot(this.element),r=n.default.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!r)return;var o=this.getTipElement(),s=a.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&n.default(o).addClass("fade");var l="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,u=this._getAttachment(l);this.addAttachmentClass(u);var c=this._getContainer();n.default(o).data(this.constructor.DATA_KEY,this),n.default.contains(this.element.ownerDocument.documentElement,this.tip)||n.default(o).appendTo(c),n.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new _t(this.element,o,this._getPopperConfig(u)),n.default(o).addClass("show"),"ontouchstart"in document.documentElement&&n.default(document.body).children().on("mouseover",null,n.default.noop);var d=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,n.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(n.default(this.tip).hasClass("fade")){var f=a.getTransitionDurationFromElement(this.tip);n.default(this.tip).one(a.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},e.hide=function(t){var e=this,i=this.getTipElement(),r=n.default.Event(this.constructor.Event.HIDE),o=function(){"show"!==e._hoverState&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),n.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(n.default(this.element).trigger(r),!r.isDefaultPrevented()){if(n.default(i).removeClass("show"),"ontouchstart"in document.documentElement&&n.default(document.body).children().off("mouseover",null,n.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,n.default(this.tip).hasClass("fade")){var s=a.getTransitionDurationFromElement(i);n.default(i).one(a.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){n.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||n.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(n.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),n.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=zt(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?n.default(e).parent().is(t)||t.empty().append(e):t.text(n.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return o({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:a.isElement(this.config.container)?n.default(this.config.container):n.default(document).find(this.config.container)},e._getAttachment=function(t){return Wt[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)n.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if("manual"!==e){var i="hover"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,r="hover"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n.default(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(r,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},n.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||n.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),n.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),n.default(e.getTipElement()).hasClass("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){"show"===e._hoverState&&e.show()},e.config.delay.show):e.show())},e._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||n.default(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),n.default(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=n.default(this.element).data();return Object.keys(e).forEach(function(t){-1!==Rt.indexOf(t)&&delete e[t]}),"number"==typeof(t=o({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),a.typeCheckConfig(Ft,t,this.constructor.DefaultType),t.sanitize&&(t.template=zt(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=n.default(this.getTipElement()),e=t.attr("class").match(jt);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(n.default(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this),r=i.data("bs.tooltip"),o="object"==typeof e&&e;if((r||!/dispose|hide/.test(e))&&(r||(r=new t(this,o),i.data("bs.tooltip",r)),"string"==typeof e)){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return qt}},{key:"NAME",get:function(){return Ft}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Vt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ht}}]),t}();n.default.fn[Ft]=Ut._jQueryInterface,n.default.fn[Ft].Constructor=Ut,n.default.fn[Ft].noConflict=function(){return n.default.fn[Ft]=Bt,Ut._jQueryInterface};var Yt="popover",$t=n.default.fn[Yt],Qt=new RegExp("(^|\\s)bs-popover\\S+","g"),Xt=o({},Ut.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Gt=o({},Ut.DefaultType,{content:"(string|element|function)"}),Kt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Zt=function(t){var e,i;function o(){return t.apply(this,arguments)||this}i=t,(e=o).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){n.default(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||n.default(this.config.template)[0],this.tip},a.setContent=function(){var t=n.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=n.default(this.getTipElement()),e=t.attr("class").match(Qt);null!==e&&e.length>0&&t.removeClass(e.join(""))},o._jQueryInterface=function(t){return this.each(function(){var e=n.default(this).data("bs.popover"),i="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,i),n.default(this).data("bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},r(o,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Xt}},{key:"NAME",get:function(){return Yt}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Kt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Gt}}]),o}(Ut);n.default.fn[Yt]=Zt._jQueryInterface,n.default.fn[Yt].Constructor=Zt,n.default.fn[Yt].noConflict=function(){return n.default.fn[Yt]=$t,Zt._jQueryInterface};var Jt="scrollspy",te=n.default.fn[Jt],ee={offset:10,method:"auto",target:""},ne={offset:"number",method:"string",target:"(string|element)"},ie=function(){function t(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,n.default(this._scrollElement).on("scroll.bs.scrollspy",function(t){return i._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":"position":this._config.method,i="position"===e?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var r,o=a.getSelectorFromElement(t);if(o&&(r=document.querySelector(o)),r){var s=r.getBoundingClientRect();if(s.width||s.height)return[n.default(r)[e]().top+i,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){n.default.removeData(this._element,"bs.scrollspy"),n.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=o({},ee,"object"==typeof t&&t?t:{})).target&&a.isElement(t.target)){var e=n.default(t.target).attr("id");e||(e=a.getUID(Jt),n.default(t.target).attr("id",e)),t.target="#"+e}return a.typeCheckConfig(Jt,t,ne),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t<this._offsets[r+1])&&this._activate(this._targets[r])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),i=n.default([].slice.call(document.querySelectorAll(e.join(","))));i.hasClass("dropdown-item")?(i.closest(".dropdown").find(".dropdown-toggle").addClass("active"),i.addClass("active")):(i.addClass("active"),i.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),i.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),n.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains("active")}).forEach(function(t){return t.classList.remove("active")})},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this).data("bs.scrollspy");if(i||(i=new t(this,"object"==typeof e&&e),n.default(this).data("bs.scrollspy",i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ee}}]),t}();n.default(window).on("load.bs.scrollspy.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var i=n.default(t[e]);ie._jQueryInterface.call(i,i.data())}}),n.default.fn[Jt]=ie._jQueryInterface,n.default.fn[Jt].Constructor=ie,n.default.fn[Jt].noConflict=function(){return n.default.fn[Jt]=te,ie._jQueryInterface};var re=n.default.fn.tab,oe=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n.default(this._element).hasClass("active")||n.default(this._element).hasClass("disabled"))){var e,i,r=n.default(this._element).closest(".nav, .list-group")[0],o=a.getSelectorFromElement(this._element);if(r){var s="UL"===r.nodeName||"OL"===r.nodeName?"> li > .active":".active";i=(i=n.default.makeArray(n.default(r).find(s)))[i.length-1]}var l=n.default.Event("hide.bs.tab",{relatedTarget:this._element}),u=n.default.Event("show.bs.tab",{relatedTarget:i});if(i&&n.default(i).trigger(l),n.default(this._element).trigger(u),!u.isDefaultPrevented()&&!l.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,r);var c=function(){var e=n.default.Event("hidden.bs.tab",{relatedTarget:t._element}),r=n.default.Event("shown.bs.tab",{relatedTarget:i});n.default(i).trigger(e),n.default(t._element).trigger(r)};e?this._activate(e,e.parentNode,c):c()}}},e.dispose=function(){n.default.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,i){var r=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?n.default(e).children(".active"):n.default(e).find("> li > .active"))[0],s=i&&o&&n.default(o).hasClass("fade"),l=function(){return r._transitionComplete(t,o,i)};if(o&&s){var u=a.getTransitionDurationFromElement(o);n.default(o).removeClass("show").one(a.TRANSITION_END,l).emulateTransitionEnd(u)}else l()},e._transitionComplete=function(t,e,i){if(e){n.default(e).removeClass("active");var r=n.default(e.parentNode).find("> .dropdown-menu .active")[0];r&&n.default(r).removeClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(n.default(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),a.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&n.default(t.parentNode).hasClass("dropdown-menu")){var o=n.default(t).closest(".dropdown")[0];if(o){var s=[].slice.call(o.querySelectorAll(".dropdown-toggle"));n.default(s).addClass("active")}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this),r=i.data("bs.tab");if(r||(r=new t(this),i.data("bs.tab",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();n.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),oe._jQueryInterface.call(n.default(this),"show")}),n.default.fn.tab=oe._jQueryInterface,n.default.fn.tab.Constructor=oe,n.default.fn.tab.noConflict=function(){return n.default.fn.tab=re,oe._jQueryInterface};var ae=n.default.fn.toast,se={animation:"boolean",autohide:"boolean",delay:"number"},le={animation:!0,autohide:!0,delay:500},ue=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=n.default.Event("show.bs.toast");if(n.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),n.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove("hide"),a.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var r=a.getTransitionDurationFromElement(this._element);n.default(this._element).one(a.TRANSITION_END,i).emulateTransitionEnd(r)}else i()}},e.hide=function(){if(this._element.classList.contains("show")){var t=n.default.Event("hide.bs.toast");n.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),n.default(this._element).off("click.dismiss.bs.toast"),n.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=o({},le,n.default(this._element).data(),"object"==typeof t&&t?t:{}),a.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;n.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return t.hide()})},e._close=function(){var t=this,e=function(){t._element.classList.add("hide"),n.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=a.getTransitionDurationFromElement(this._element);n.default(this._element).one(a.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each(function(){var i=n.default(this),r=i.data("bs.toast");if(r||(r=new t(this,"object"==typeof e&&e),i.data("bs.toast",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e](this)}})},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"DefaultType",get:function(){return se}},{key:"Default",get:function(){return le}}]),t}();n.default.fn.toast=ue._jQueryInterface,n.default.fn.toast.Constructor=ue,n.default.fn.toast.noConflict=function(){return n.default.fn.toast=ae,ue._jQueryInterface},t.Alert=u,t.Button=d,t.Carousel=v,t.Collapse=_,t.Dropdown=At,t.Modal=Ot,t.Popover=Zt,t.Scrollspy=ie,t.Tab=oe,t.Toast=ue,t.Tooltip=Ut,t.Util=a,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(n){return e(t,t.document,void 0,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,t.document,void 0,require("jquery")):e(t,t.document,void 0,t.jQuery)}("undefined"!=typeof window?window:this,function(t,e,n,i){"use strict";var r,o,a,s,l="object",u="function",c="array",d="string",f="boolean",h="number",p="null",g={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},m=(r={},o={},{e:a=["-webkit-","-moz-","-o-","-ms-"],o:s=["WebKit","Moz","O","MS"],u:function(t){var i=o[t];if(o[g.hOP](t))return i;for(var r,s,l,u=v(t),c=e.createElement("div")[g.s],d=0;d<a.length;d++)for(l=a[d].replace(/-/g,""),r=[t,a[d]+t,l+u,v(l)+u],s=0;s<r[g.l];s++)if(c[r[s]]!==n){i=r[s];break}return o[t]=i},v:function(t,n,i){var r=t+" "+n,a=o[r];if(o[g.hOP](r))return a;for(var s,l=e.createElement("div")[g.s],u=n.split(" "),c=i||"",d=0,f=-1;d<u[g.l];d++)for(;f<m.e[g.l];f++)if(l.cssText=t+":"+(s=f<0?u[d]:m.e[f]+u[d])+c,l[g.l]){a=s;break}return o[r]=a},d:function(e,n,i){var o=0,a=r[e];if(!r[g.hOP](e)){for(a=t[e];o<s[g.l];o++)a=a||t[(n?s[o]:s[o].toLowerCase())+v(e)];r[e]=a}return a||i}});function v(t){return t.charAt(0).toUpperCase()+t.slice(1)}var y={wW:x(b,0,!0),wH:x(b,0),mO:x(m.d,0,"MutationObserver",!0),rO:x(m.d,0,"ResizeObserver",!0),rAF:x(m.d,0,"requestAnimationFrame",!1,function(e){return t.setTimeout(e,1e3/60)}),cAF:x(m.d,0,"cancelAnimationFrame",!1,function(e){return t.clearTimeout(e)}),now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},prvD:function(t){t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1},page:function(t){var i=((t=t.originalEvent||t).target||t.srcElement||e).ownerDocument||e,r=i.documentElement,o=i.body;if(t.touches===n)return!t.pageX&&t.clientX&&null!=t.clientX?{x:t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),y:t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)}:{x:t.pageX,y:t.pageY};var a=t.touches[0];return{x:a.pageX,y:a.pageY}},mBtn:function(t){var e=t.button;return t.which||e===n?t.which:1&e?1:2&e?3:4&e?2:0},inA:function(t,e){for(var n=0;n<e[g.l];n++)try{if(e[n]===t)return n}catch(x){}return-1},isA:function(t){var e=Array.isArray;return e?e(t):this.type(t)==c},type:function(t){return t===n||null===t?t+"":Object[g.p].toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:x};function b(n){return n?t.innerWidth||e.documentElement[g.cW]||e.body[g.cW]:t.innerHeight||e.documentElement[g.cH]||e.body[g.cH]}function x(t,e){if(typeof t!=u)throw"Can't bind function!";var n=g.p,i=Array[n].slice.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,i.concat(Array[n].slice.call(arguments)))};return t[n]&&(r[n]=t[n]),o[n]=new r,o}var w,_,C,k,T,S,E,A,L,M,D,O,I,P,N=Math,z=i,F=i,B=(w=[],_="__overlayScrollbars__",function(t,e){var n=arguments[g.l];if(n<1)return w;if(e)t[_]=e,w.push(t);else{var i=y.inA(t,w);if(-1<i){if(!(1<n))return w[i][_];delete t[_],w.splice(i,1)}}}),j=(I=[],S=y.type,D={className:["os-theme-dark",[p,d]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:A=[!0,f],clipAlways:A,normalizeRTL:A,paddingAbsolute:L=[!(E=[f,h,d,c,l,u,p]),f],autoUpdate:[null,[p,f]],autoUpdateInterval:[33,h],updateOnLoad:[["img"],[d,c,p]],nativeScrollbarsOverlaid:{showNativeScrollbars:L,initialize:A},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,h],dragScrolling:A,clickScrolling:L,touchSupport:A,snapHandle:L},textarea:{dynWidth:L,dynHeight:L,inheritedAttrs:[["style","class"],[d,c,p]]},callbacks:{onInitialized:M=[null,[p,u]],onInitializationWithdrawn:M,onDestroyed:M,onScrollStart:M,onScroll:M,onScrollStop:M,onOverflowChanged:M,onOverflowAmountChanged:M,onDirectionChanged:M,onContentSizeChanged:M,onHostSizeChanged:M,onUpdated:M}},P={m:(O=function(t){var e=function(n){var i,r,o;for(i in n)n[g.hOP](i)&&((o=S(r=n[i]))==c?n[i]=r[t?1:0]:o==l&&(n[i]=e(r)));return n};return e(F.extend(!0,{},D))})(),g:O(!0),_:function(e,i,r,o){var a={},s={},u=F.extend(!0,{},e),c=F.inArray,f=F.isEmptyObject,h=function(t,e,i,o,a,s){for(var u in e)if(e[g.hOP](u)&&t[g.hOP](u)){var p,m,v,b,x,w,_,C,k=!1,T=!1,A=e[u],L=S(A),M=L==l,D=y.isA(A)?A:[A],O=i[u],I=t[u],P=S(I),N=s?s+".":"",z='The option "'+N+u+"\" wasn't set, because",B=[],j=[];if(O=O===n?{}:O,M&&P==l)o[u]={},a[u]={},h(I,A,O,o[u],a[u],N+u),F.each([t,o,a],function(t,e){f(e[u])&&delete e[u]});else if(!M){for(w=0;w<D[g.l];w++)if(v=(L=S(x=D[w]))==d&&-1===c(x,E))for(B.push(d),p=x.split(" "),j=j.concat(p),_=0;_<p[g.l];_++){for(b=(m=p[_].split(":"))[0],C=0;C<m[g.l];C++)if(I===m[C]){k=!0;break}if(k)break}else if(B.push(x),P===x){k=!0;break}k?((T=I!==O)&&(o[u]=I),(v?c(O,m)<0:T)&&(a[u]=v?b:I)):r&&console.warn(z+" it doesn't accept the type [ "+P.toUpperCase()+' ] with the value of "'+I+'".\r\nAccepted types are: [ '+B.join(", ").toUpperCase()+" ]."+(0<j[length]?"\r\nValid strings are: [ "+j.join(", ").split(":").join(", ")+" ].":"")),delete t[u]}}};return h(u,i,o||{},a,s),!f(u)&&r&&console.warn("The following options are discarded due to invalidity:\r\n"+t.JSON.stringify(u,null,2)),{S:a,z:s}}},(C=t.OverlayScrollbars=function(t,e,i){if(0===arguments[g.l])return this;var r,o,a=[],s=F.isPlainObject(e);return t?(t=t[g.l]!=n?t:[t[0]||t],R(),0<t[g.l]&&(F.each(t,s?function(t,o){(r=o)!==n&&a.push(q(r,e,i,k,T))}:function(t,i){r=B(i),("!"===e&&C.valid(r)||y.type(e)==u&&e(i,r)||e===n)&&a.push(r)}),o=1===a[g.l]?a[0]:a),o):s||!e?o:a}).globals=function(){R();var t=F.extend(!0,{},k);return delete t.msie,t},C.defaultOptions=function(t){R();var e=k.defaultOptions;if(t===n)return F.extend(!0,{},e);k.defaultOptions=F.extend(!0,{},e,P._(t,P.g,!0,e).S)},C.valid=function(t){return t instanceof C&&!t.getState().destroyed},C.extension=function(t,e,n){var i=y.type(t)==d,r=arguments[g.l],o=0;if(r<1||!i)return F.extend(!0,{length:I[g.l]},I);if(i)if(y.type(e)==u)I.push({name:t,extensionFactory:e,defaultOptions:n});else for(;o<I[g.l];o++)if(I[o].name===t){if(!(1<r))return F.extend(!0,{},I[o]);I.splice(o,1)}},C);function R(){k=k||new H(P.m),T=T||new W(k)}function H(e){var n=this,i="overflow",r=F("body"),o=F('<div id="os-dummy-scrollbar-size"><div></div></div>'),a=o[0],s=F(o.children("div").eq(0));r.append(o),o.hide().show();var l,u,c,d,f,h,p,v,b,x=C(a),w={x:0===x.x,y:0===x.y},_=(d="substring",f=(u=t.navigator.userAgent)[c="indexOf"]("MSIE "),h=u[c]("Trident/"),p=u[c]("Edge/"),v=u[c]("rv:"),b=parseInt,0<f?l=b(u[d](f+5,u[c](".",f)),10):0<h?l=b(u[d](v+3,u[c](".",v)),10):0<p&&(l=b(u[d](p+5,u[c](".",p)),10)),l);function C(t){return{x:t[g.oH]-t[g.cH],y:t[g.oW]-t[g.cW]}}F.extend(n,{defaultOptions:e,msie:_,autoUpdateLoop:!1,autoUpdateRecommended:!y.mO(),nativeScrollbarSize:x,nativeScrollbarIsOverlaid:w,nativeScrollbarStyling:function(){var e=!1;o.addClass("os-viewport-native-scrollbars-invisible");try{e="none"===o.css("scrollbar-width")&&(9<_||!_)||"none"===t.getComputedStyle(a,"::-webkit-scrollbar").getPropertyValue("display")}catch(l){}return e}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:m.v("width","calc","(1px)")||null,restrictedMeasuring:function(){o.css(i,"hidden");var t=a[g.sW],e=a[g.sH];return o.css(i,"visible"),t-a[g.sW]!=0||e-a[g.sH]!=0}(),rtlScrollBehavior:function(){o.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var t=o.offset(),e=s.offset();o.scrollLeft(-999);var n=s.offset();return{i:t.left===e.left,n:e.left!==n.left}}(),supportTransform:!!m.u("transform"),supportTransition:!!m.u("transition"),supportPassiveEvents:function(){var e=!1;try{t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(l){}return e}(),supportResizeObserver:!!y.rO(),supportMutationObserver:!!y.mO()}),o.removeAttr(g.s).remove(),function(){if(!w.x||!w.y){var e=N.abs,i=y.wW(),a=y.wH(),s=l();F(t).on("resize",function(){if(0<B().length){var t=y.wW(),u=y.wH(),c=t-i,d=u-a;if(0==c&&0==d)return;var f,h=N.round(t/(i/100)),p=N.round(u/(a/100)),g=e(c),m=e(d),v=e(h),b=e(p),x=l(),w=2<g&&2<m,_=!function(t,n){var i=e(t),r=e(n);return i!==r&&i+1!==r&&i-1!==r}(v,b),k=n.nativeScrollbarSize;w&&_&&x!==s&&0<s&&(r.append(o),f=n.nativeScrollbarSize=C(o[0]),o.remove(),k.x===f.x&&k.y===f.y||F.each(B(),function(){B(this)&&B(this).update("zoom")})),i=t,a=u,s=x}})}function l(){return t.devicePixelRatio||(t.screen.deviceXDPI||0)/(t.screen.logicalXDPI||1)}}()}function W(t){var e,i=F.inArray,r=y.now,o=g.l,a=[],s=[],l=!1,u=33,c=r(),d=function(){if(0<a[o]&&l){e=y.rAF()(function(){d()});var t,i,f,h,p,g,m=r(),v=m-c;if(u<v){c=m-v%u,t=33;for(var b=0;b<a[o];b++)(i=a[b])!==n&&(h=(f=i.options()).autoUpdate,p=N.max(1,f.autoUpdateInterval),g=r(),(!0===h||null===h)&&g-s[b]>p&&(i.update("auto"),s[b]=new Date(g+=p)),t=N.max(1,N.min(t,p)));u=t}}else u=33};this.add=function(e){-1===i(e,a)&&(a.push(e),s.push(r()),0<a[o]&&!l&&(t.autoUpdateLoop=l=!0,d()))},this.remove=function(r){var u=i(r,a);-1<u&&(s.splice(u,1),a.splice(u,1),0===a[o]&&l&&(t.autoUpdateLoop=l=!1,e!==n&&(y.cAF()(e),e=-1)))}}function q(i,r,o,a,s){var p=y.type,v=F.inArray,b=F.each,x=new C,w=F[g.p];if(dr(i)){if(B(i)){var _=B(i);return _.options(r),_}var k,T,S,E,A,L,M,D,O,I,j,R,H,W,q,V,U,Y,$,Q,X,G,K,Z,J,tt,et,nt,it,rt,ot,at,st,lt,ut,ct,dt,ft,ht,pt,gt,mt,vt,yt,bt,xt,wt,_t,Ct,kt,Tt,St,Et,At,Lt,Mt,Dt,Ot,It,Pt,Nt,zt,Ft,Bt,jt,Rt,Ht,Wt,qt,Vt,Ut,Yt,$t,Qt,Xt,Gt,Kt,Zt,Jt,te,ee,ne,ie,re,oe,ae,se,le,ue,ce,de,fe,he,pe,ge,me,ve,ye,be,xe,we,_e,Ce,ke,Te,Se,Ee,Ae,Le,Me,De,Oe,Ie,Pe,Ne,ze,Fe,Be,je,Re,He={},We={},qe={},Ve={},Ue={},Ye="-hidden",$e="margin-",Qe="padding-",Xe="border-",Ge="top",Ke="right",Ze="bottom",Je="left",tn="min-",en="max-",nn="width",rn="height",on="float",an="",sn="auto",ln="sync",un="scroll",cn="100%",dn="x",fn="y",hn=".",pn=" ",gn="scrollbar",mn="-horizontal",vn="-vertical",yn=un+"Left",bn=un+"Top",xn="mousedown touchstart",wn="mouseup touchend touchcancel",_n="mousemove touchmove",Cn="mouseenter",kn="mouseleave",Tn="keydown",Sn="keyup",En="selectstart",An="transitionend webkitTransitionEnd oTransitionEnd",Ln="__overlayScrollbarsRO__",Mn="os-html",Dn="os-host",On=Dn+"-foreign",In=Dn+"-textarea",Pn=Dn+"-"+gn+mn+Ye,Nn=Dn+"-"+gn+vn+Ye,zn=Dn+"-transition",Fn=Dn+"-rtl",Bn=Dn+"-resize-disabled",jn=Dn+"-scrolling",Rn=Dn+"-overflow",Hn=(Rn=Dn+"-overflow")+"-x",Wn=Rn+"-y",qn="os-textarea",Vn=qn+"-cover",Un="os-padding",Yn="os-viewport",$n=Yn+"-native-scrollbars-invisible",Qn=Yn+"-native-scrollbars-overlaid",Xn="os-content",Gn="os-content-arrange",Kn="os-content-glue",Zn="os-size-auto-observer",Jn="os-resize-observer",ti="os-resize-observer-item",ei=ti+"-final",ni="os-text-inherit",ii="os-"+gn,ri=ii+"-track",oi=ri+"-off",ai=ii+"-handle",si=ai+"-off",li=ii+"-unusable",ui=ii+"-"+sn+Ye,ci=ii+"-corner",di=ci+"-resize",fi=di+"-both",hi=di+mn,pi=di+vn,gi=ii+mn,mi=ii+vn,vi="os-dragging",yi="os-theme-none",bi=[$n,Qn,oi,si,li,ui,di,fi,hi,pi,vi].join(pn),xi=[],wi=[g.ti],_i={},Ci={},ki=42,Ti="load",Si=[],Ei={},Ai=["wrap","cols","rows"],Li=[g.i,g.c,g.s,"open"].concat(wi),Mi=[];return x.sleep=function(){it=!0},x.update=function(t){var e,i,r,o,a;if(!q)return p(t)==d?t===sn?(e=function(){if(!it&&!Se){var t,e,i=[],r=[{T:pt,O:Li.concat(":visible")},{T:V?ht:n,O:Ai}];return b(r,function(n,r){(t=r.T)&&b(r.O,function(n,r){br(e=":"===r.charAt(0)?t.is(r):t.attr(r),Ei[r])&&i.push(r),Ei[r]=e})}),Ui(i),0<i[g.l]}}(),i=function(){if(it)return!1;var t,e,n,i,r=pr(),o=V&&Vt&&!me?ht.val().length:0,a=!Se&&Vt&&!V,s={};return a&&(t=bt.css(on),s[on]=nt?Ke:Je,s[nn]=sn,bt.css(s)),i={w:r[g.sW]+o,h:r[g.sH]+o},a&&(s[on]=t,s[nn]=cn,bt.css(s)),e=qi(),n=br(i,ae),ae=i,n||e}(),(r=e||i)&&$i({k:i,C:W?n:at})):t===ln?Se?(o=ke(_e.takeRecords()),a=Te(Ce.takeRecords())):o=x.update(sn):"zoom"===t&&$i({A:!0,k:!0}):(t=it||t,it=!1,x.update(ln)&&!t||$i({H:t})),Qi(),r||o||a},x.options=function(t,e){var n,i={};if(F.isEmptyObject(t)||!F.isPlainObject(t)){if(p(t)!=d)return ot;if(!(1<arguments.length))return vr(ot,t);!function(t,e,n){for(var i=e.split(hn),r=i.length,o=0,a={},s=a;o<r;o++)a=a[i[o]]=o+1<r?{}:n;F.extend(t,s,!0)}(i,t,e),n=Xi(i)}else n=Xi(t);F.isEmptyObject(n)||$i({C:n})},x.destroy=function(){if(!q){for(var t in s.remove(x),Ni(),Ii(mt),Ii(gt),_i)x.removeExt(t);for(;0<Mi[g.l];)Mi.pop()();Wi(!0),wt&&kr(wt),xt&&kr(xt),X&&kr(gt),Ki(!0),or(!0),Gi(!0);for(var e=0;e<Si[g.l];e++)F(Si[e]).off(Ti,Hi);Si=n,it=q=!0,B(i,0),ar("onDestroyed")}},x.scroll=function(t,e,i,r){if(0===arguments.length||t===n){var o=he&&nt&&S.i,a=he&&nt&&S.n,s=We.R,m=We.L,b=We.N;return s=o?b-s:s,{position:{x:s*=a?-1:1,y:qe.R},ratio:{x:m=o?1-m:m,y:qe.L},max:{x:b*=a?-1:1,y:qe.N},handleOffset:{x:We.W,y:qe.W},handleLength:{x:We.D,y:qe.D},handleLengthRatio:{x:We.M,y:qe.M},trackLength:{x:We.I,y:qe.I},snappedHandleOffset:{x:We.j,y:qe.j},isRTL:nt,isRTLNormalized:he}}x.update(ln);var w,_,C,k,T,E,A,L,M,D=he,O=[dn,Je,"l"],P=[fn,Ge,"t"],B=["+=","-=","*=","/="],j=p(e)==l,R=j?e.complete:r,H={},W={},q="begin",V="nearest",U="never",Y="ifneeded",$=g.l,Q=[dn,fn,"xy","yx"],X=[q,"end","center",V],G=["always",U,Y],K=t[g.hOP]("el"),Z=K?t.el:t,J=!!(Z instanceof F||z)&&Z instanceof z,tt=!J&&dr(Z),et=function(){_&&nr(!0),C&&nr(!1)},it=p(R)!=u?n:function(){et(),R()};function rt(t,e){for(w=0;w<e[$];w++)if(t===e[w])return 1}function ot(t,e){var n=t?O:P;if(e=p(e)==d||p(e)==h?[e,e]:e,y.isA(e))return t?e[0]:e[1];if(p(e)==l)for(w=0;w<n[$];w++)if(n[w]in e)return e[n[w]]}function at(t,e){var i,r,o,a,s=p(e)==d,l=t?We:qe,u=l.R,c=l.N,f=nt&&t,g=f&&S.n&&!D,m="replace",y=eval;if((r=s?(2<e[$]&&(a=e.substr(0,2),-1<v(a,B)&&(i=a)),e=(e=i?e.substr(2):e)[m](/min/g,0)[m](/</g,0)[m](/max/g,(g?"-":an)+cn)[m](/>/g,(g?"-":an)+cn)[m](/px/g,an)[m](/%/g," * "+c*(f&&S.n?-1:1)/100)[m](/vw/g," * "+Ve.w)[m](/vh/g," * "+Ve.h),fr(isNaN(e)?fr(y(e),!0).toFixed():e)):e)!==n&&!isNaN(r)&&p(r)==h){var b=D&&f,x=u*(b&&S.n?-1:1),w=b&&S.i,_=b&&S.n;switch(x=w?c-x:x,i){case"+=":o=x+r;break;case"-=":o=x-r;break;case"*=":o=x*r;break;case"/=":o=x/r;break;default:o=r}o=w?c-o:o,o*=_?-1:1,o=f&&S.n?N.min(0,N.max(c,o)):N.max(0,N.min(c,o))}return o===u?n:o}function st(t,e,n,i){var r,o,a=[n,n],s=p(t);if(s==e)t=[t,t];else if(s==c){if(2<(r=t[$])||r<1)t=a;else for(1===r&&(t[1]=n),w=0;w<r;w++)if(p(o=t[w])!=e||!rt(o,i)){t=a;break}}else t=s==l?[t[dn]||n,t[fn]||n]:a;return{x:t[0],y:t[1]}}function lt(t){var e,n,i=[],r=[Ge,Ke,Ze,Je];for(w=0;w<t[$]&&w!==r[$];w++)(n=p(e=t[w]))==f?i.push(e?fr(M.css($e+r[w])):0):i.push(n==h?e:0);return i}if(J||tt){var ut,ct=K?t.margin:0,dt=K?t.axis:0,ft=K?t.scroll:0,ht=K?t.block:0,pt=[0,0,0,0],gt=p(ct);if(0<(M=J?Z:F(Z))[$]){ct=gt==h||gt==f?lt([ct,ct,ct,ct]):gt==c?2===(ut=ct[$])?lt([ct[0],ct[1],ct[0],ct[1]]):4<=ut?lt(ct):pt:gt==l?lt([ct[Ge],ct[Ke],ct[Ze],ct[Je]]):pt,T=rt(dt,Q)?dt:"xy",E=st(ft,d,"always",G),A=st(ht,d,q,X),L=ct;var mt=We.R,bt=qe.R,xt=vt.offset(),wt=M.offset(),_t={x:E.x==U||T==fn,y:E.y==U||T==dn};wt[Ge]-=L[0],wt[Je]-=L[3];var Ct={x:N.round(wt[Je]-xt[Je]+mt),y:N.round(wt[Ge]-xt[Ge]+bt)};if(nt&&(S.n||S.i||(Ct.x=N.round(xt[Je]-wt[Je]+mt)),S.n&&D&&(Ct.x*=-1),S.i&&D&&(Ct.x=N.round(xt[Je]-wt[Je]+(We.N-mt)))),A.x!=q||A.y!=q||E.x==Y||E.y==Y||nt){var kt=M[0],Tt=I?kt[g.bCR]():{width:kt[g.oW],height:kt[g.oH]},St={w:Tt[nn]+L[3]+L[1],h:Tt[rn]+L[0]+L[2]},Et=function(t){var e=rr(t),n=e.F,i=e.P,r=e.U,o=A[r]==(t&&nt?q:"end"),a="center"==A[r],s=A[r]==V,l=E[r]==Y,u=Ve[n],c=xt[i],d=St[n],f=wt[i],h=a?2:1,p=f+d/2,g=c+u/2,m=d<=u&&c<=f&&f+d<=c+u;E[r]==U?_t[r]=!0:_t[r]||((s||l)&&(_t[r]=l&&m,o=d<u?g<p:p<g),Ct[r]-=o||a?(u/h-d/h)*(t&&nt&&D?-1:1):0)};Et(!0),Et(!1)}_t.y&&delete Ct.y,_t.x&&delete Ct.x,t=Ct}}H[yn]=at(!0,ot(!0,t)),H[bn]=at(!1,ot(!1,t)),C=H[bn]!==n,((_=H[yn]!==n)||C)&&(0<e||j)?j?(e.complete=it,yt.animate(H,e)):(k={duration:e,complete:it},y.isA(i)||F.isPlainObject(i)?(W[yn]=i[0]||i.x,W[bn]=i[1]||i.y,k.specialEasing=W):k.easing=i,yt.animate(H,k)):(_&&yt[yn](H[yn]),C&&yt[bn](H[bn]),et())},x.scrollStop=function(t,e,n){return yt.stop(t,e,n),x},x.getElements=function(t){var e={target:Ot,host:It,padding:zt,viewport:Ft,content:Bt,scrollbarHorizontal:{scrollbar:kt[0],track:Tt[0],handle:St[0]},scrollbarVertical:{scrollbar:Et[0],track:At[0],handle:Lt[0]},scrollbarCorner:Ct[0]};return p(t)==d?vr(e,t):e},x.getState=function(t){function e(t){if(!F.isPlainObject(t))return t;var e=xr({},t),n=function(t,n){e[g.hOP](t)&&(e[n]=e[t],delete e[t])};return n("w",nn),n("h",rn),delete e.c,e}var n={destroyed:!!e(q),sleeping:!!e(it),autoUpdate:e(!Se),widthAuto:e(Vt),heightAuto:e(Ut),padding:e($t),overflowAmount:e(ne),hideOverflow:e(qt),hasOverflow:e(Wt),contentScrollSize:e(Rt),viewportSize:e(Ve),hostSize:e(jt),documentMixed:e(Y)};return p(t)==d?vr(n,t):n},x.ext=function(t){var e,n="added removed on contract".split(" "),i=0;if(p(t)==d){if(_i[g.hOP](t))for(e=xr({},_i[t]);i<n.length;i++)delete e[n[i]]}else for(i in e={},_i)e[i]=xr({},x.ext(i));return e},x.addExt=function(e,n){var i,r,o,a,s=C.extension(e),l=!0;if(s){if(_i[g.hOP](e))return x.ext(e);if((i=s.extensionFactory.call(x,xr({},s.defaultOptions),F,y))&&(p(o=i.contract)==u&&(a=o(t),l=p(a)==f?a:l),l))return r=(_i[e]=i).added,p(r)==u&&r(n),x.ext(e)}else console.warn('A extension with the name "'+e+"\" isn't registered.")},x.removeExt=function(t){var e,n=_i[t];return!!n&&(delete _i[t],p(e=n.removed)==u&&e(),!0)},C.valid(function(t,i,r){var o,s;return rt=a.defaultOptions,L=a.nativeScrollbarStyling,D=xr({},a.nativeScrollbarSize),k=xr({},a.nativeScrollbarIsOverlaid),T=xr({},a.overlayScrollbarDummySize),S=xr({},a.rtlScrollBehavior),Xi(xr({},rt,i)),M=a.cssCalc,A=a.msie,E=a.autoUpdateRecommended,O=a.supportTransition,I=a.supportTransform,j=a.supportPassiveEvents,R=a.supportResizeObserver,H=a.supportMutationObserver,ct=F(t.ownerDocument),ut=F((Dt=ct[0]).defaultView||Dt.parentWindow),Mt=ut[0],dt=Tr(ct,"html"),ft=Tr(dt,"body"),ht=F(t),Ot=ht[0],V=ht.is("textarea"),U=ht.is("body"),Y=Dt!==e,$=V?ht.hasClass(qn)&&ht.parent().hasClass(Xn):ht.hasClass(Dn)&&ht.children(hn+Un)[g.l],k.x&&k.y&&!at.nativeScrollbarsOverlaid.initialize?(ar("onInitializationWithdrawn"),$&&(Gi(!0),Ki(!0),or(!0)),it=q=!0):(U&&((o={}).l=N.max(ht[yn](),dt[yn](),ut[yn]()),o.t=N.max(ht[bn](),dt[bn](),ut[bn]()),s=function(){yt.removeAttr(g.ti),Di(yt,xn,s,!0,!0)}),Gi(),Ki(),or(),function(){var t,e,i=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],r=[],o="focus";function a(e){Yi(),x.update(sn),e&&E&&clearInterval(t)}V?(9<A||!E?Oi(ht,"input",a):Oi(ht,[Tn,Sn],[function(e){var n=e.keyCode;v(n,i)<0&&(r[g.l]||(a(),t=setInterval(a,1e3/60)),v(n,r)<0&&r.push(n))},function(t){var e=t.keyCode,n=v(e,r);v(e,i)<0&&(-1<n&&r.splice(n,1),r[g.l]||a(!0))}]),Oi(ht,[un,"drop",o,o+"out"],[function(t){return ht[yn](S.i&&he?9999999:0),ht[bn](0),y.prvD(t),y.stpP(t),!1},function(t){setTimeout(function(){q||a()},50)},function(){Ee=!0,wr(pt,o)},function(){Ee=!1,r=[],_r(pt,o),a(!0)}])):Oi(bt,An,function(t){!0!==re&&function(t){if(!W)return 1;var e="flex-grow",n="flex-shrink",i="flex-basis",r=[nn,tn+nn,en+nn,$e+Je,$e+Ke,Je,Ke,"font-weight","word-spacing",e,n,i],o=[Qe+Je,Qe+Ke,Xe+Je+nn,Xe+Ke+nn],a=[Qe+Ge,Qe+Ze,Xe+Ge+nn,Xe+Ze+nn],s="s"===ee.x||"v-s"===ee.x,l=!1,u=function(t,e){for(var n=0;n<t[g.l];n++)if(t[n]===e)return!0;return!1};return("s"===ee.y||"v-s"===ee.y)&&((l=u([rn,tn+rn,en+rn,$e+Ge,$e+Ze,Ge,Ze,"line-height",e,n,i],t))||Q||(l=u(a,t))),s&&!l&&((l=u(r,t))||Q||(l=u(o,t))),l}((t=t.originalEvent||t).propertyName)&&x.update(sn)}),Oi(yt,un,function(t){it||(e!==n?clearTimeout(e):((Oe||Ie)&&tr(!0),hr()||wr(pt,jn),ar("onScrollStart",t)),ze||(nr(!0),nr(!1)),ar("onScroll",t),e=setTimeout(function(){q||(clearTimeout(e),e=n,(Oe||Ie)&&tr(!1),hr()||_r(pt,jn),ar("onScrollStop",t))},175))},!0)}(),Zi(!0),Zi(!1),function(){var t,e=Mt.top!==Mt,i={},r={},o={};function a(t){if(l(t)){var e=u(t),n={};(je||Be)&&(n[nn]=r.w+(e.x-i.x)*o.x),(Re||Be)&&(n[rn]=r.h+(e.y-i.y)*o.y),pt.css(n),y.stpP(t)}else s(t)}function s(e){var i=e!==n;Di(ct,[En,_n,wn],[Ri,a,s],!0),_r(ft,vi),Ct.releaseCapture&&Ct.releaseCapture(),i&&(t&&Pi(),x.update(sn)),t=!1}function l(t){var e=(t.originalEvent||t).touches!==n;return!it&&!q&&(1===y.mBtn(t)||e)}function u(t){return A&&e?{x:t.screenX,y:t.screenY}:y.page(t)}Oi(Ct,xn,function(e){l(e)&&!Fe&&(Se&&(t=!0,Ni()),i=u(e),r.w=It[g.oW]-(Q?0:G),r.h=It[g.oH]-(Q?0:K),o=cr(),Di(ct,[En,_n,wn],[Ri,a,s]),wr(ft,vi),Ct.setCapture&&Ct.setCapture(),y.prvD(e),y.stpP(e))})}(),function(){if(H){var t,e,n,i,r,o,a,s,l,c,d=y.mO(),f=y.now();Te=function(t){var e=!1;return W&&!it&&(b(t,function(){return!(e=function(t){var e=t.attributeName,n=t.target,i="closest";if(n===Bt)return null===e;if("attributes"===t.type&&(e===g.c||e===g.s)&&!V){if(e===g.c&&F(n).hasClass(Dn))return Vi(t.oldValue,n.className);if(typeof n[i]!=u)return!0;if(null!==n[i](hn+Jn)||null!==n[i](hn+ii)||null!==n[i](hn+ci))return!1}return!0}(this))}),e&&(s=y.now(),l=Ut||Vt,c=function(){q||(f=s,V&&Yi(),l?$i():x.update(sn))},clearTimeout(a),11<s-f||!l?c():a=setTimeout(c,11))),e},_e=new d(ke=function(a){var s,l=!1,u=!1,c=[];return W&&!it&&(b(a,function(){t=(s=this).target,n=(e=s.attributeName)===g.c,i=s.oldValue,r=t.className,$&&n&&!u&&-1<i.indexOf(On)&&r.indexOf(On)<0&&(o=ur(!0),It.className=r.split(pn).concat(i.split(pn).filter(function(t){return t.match(o)})).join(pn),l=u=!0),l=l||(n?Vi(i,r):e!==g.s||i!==t[g.s].cssText),c.push(e)}),Ui(c),l&&x.update(u||sn)),l}),Ce=new d(Te)}}(),Ii(mt,zi),U&&(yt[yn](o.l)[bn](o.t),e.activeElement==t&&Ft.focus&&(yt.attr(g.ti,"-1"),Ft.focus(),Di(yt,xn,s,!1,!0))),x.update(sn),W=!0,ar("onInitialized"),b(xi,function(t,e){ar(e.n,e.a)}),xi=[],p(r)==d&&(r=[r]),y.isA(r)?b(r,function(t,e){x.addExt(e)}):F.isPlainObject(r)&&b(r,function(t,e){x.addExt(t,e)}),setTimeout(function(){O&&!q&&wr(pt,zn)},333)),x}(i,r,o))&&B(i,x),x}function Di(t,e,n,i,r){var o=y.isA(e)&&y.isA(n),a=i?"removeEventListener":"addEventListener",s=i?"off":"on",l=!o&&e.split(pn),u=0,c=F.isPlainObject(r),d=j&&(c?r.V||!1:r),f=c&&(r.$||!1),h=f||d,p=d?{passive:d,capture:f}:f;if(o)for(;u<e[g.l];u++)Di(t,e[u],n[u],i,r);else for(;u<l[g.l];u++)h?t[0][a](l[u],n,p):t[s](l[u],n)}function Oi(t,e,n,i){Di(t,e,n,!1,i),Mi.push(y.bind(Di,0,t,e,n,!0,i))}function Ii(t,e){if(t){var i=y.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",o="childNodes",s=3333333,u=function(){t[bn](s)[yn](nt?S.n?-s:S.i?0:s:s),e()};if(e){if(R)((P=t.addClass("observed").append(gr(Jn)).contents()[0])[Ln]=new i(u)).observe(P);else if(9<A||!E){t.prepend(gr(Jn,gr({c:ti,dir:"ltr"},gr(ti,gr(ei))+gr(ti,gr({c:ei,style:"width: 200%; height: 200%"})))));var c,d,f,h,p=t[0][o][0][o][0],m=F(p[o][1]),v=F(p[o][0]),b=F(v[0][o][0]),x=p[g.oW],w=p[g.oH],_=a.nativeScrollbarSize,C=function(){v[yn](s)[bn](s),m[yn](s)[bn](s)},k=function(){d=0,c&&(x=f,w=h,u())},T=function(t){return h=p[g.oH],c=(f=p[g.oW])!=x||h!=w,t&&c&&!d?(y.cAF()(d),d=y.rAF()(k)):t||k(),C(),t&&(y.prvD(t),y.stpP(t)),!1},L={},M={};sr(M,an,[-2*(_.y+1),-2*_.x,-2*_.y,-2*(_.x+1)]),F(p).css(M),v.on(un,T),m.on(un,T),t.on(r,function(){T(!1)}),L[nn]=s,L[rn]=s,b.css(L),C()}else{var D=A!==n;if(Dt.attachEvent)t.prepend(gr(Jn)),Tr(t,hn+Jn)[0].attachEvent("onresize",u);else{var O=Dt.createElement(l);O.setAttribute(g.ti,"-1"),O.setAttribute(g.c,Jn),O.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",u),t.document.documentElement.style.display="none"},O.type="text/html",D&&t.prepend(O),O.data="about:blank",D||t.prepend(O),t.on(r,u)}}if(t[0]===Nt){var I=function(){var t=pt.css("direction"),e={},n=0,i=!1;return t!==Kt&&(n="ltr"===t?(e[Je]=0,e[Ke]=sn,s):(e[Je]=sn,e[Ke]=0,S.n?-s:S.i?0:s),mt.children().eq(0).css(e),mt[yn](n)[bn](s),Kt=t,i=!0),i};I(),Oi(t,un,function(t){return I()&&$i(),y.prvD(t),y.stpP(t),!1})}}else if(R){var P,N=(P=t.contents()[0])[Ln];N&&(N.disconnect(),delete P[Ln])}else kr(t.children(hn+Jn).eq(0))}}function Pi(){H&&!Se&&(_e.observe(It,{attributes:!0,attributeOldValue:!0,attributeFilter:Li}),Ce.observe(V?Ot:Bt,{attributes:!0,attributeOldValue:!0,subtree:!V,childList:!V,characterData:!V,attributeFilter:V?Ai:Li}),Se=!0)}function Ni(){H&&Se&&(_e.disconnect(),Ce.disconnect(),Se=!1)}function zi(){if(!it){var t,e={w:Nt[g.sW],h:Nt[g.sH]};t=br(e,se),se=e,t&&$i({A:!0})}}function Fi(){Pe&&tr(!0)}function Bi(){Pe&&!ft.hasClass(vi)&&tr(!1)}function ji(){Ie&&(tr(!0),clearTimeout(Le),Le=setTimeout(function(){Ie&&!q&&tr(!1)},100))}function Ri(t){return y.prvD(t),!1}function Hi(t){var e=F(t.target);yr(function(t,n){e.is(n)&&$i({k:!0})})}function Wi(t){t||Wi(!0),Di(pt,_n.split(pn)[0],ji,!Ie||t,!0),Di(pt,[Cn,kn],[Fi,Bi],!Pe||t,!0),W||t||pt.one("mouseover",Fi)}function qi(){var t={};return U&&xt&&(t.w=fr(xt.css(tn+nn)),t.h=fr(xt.css(tn+rn)),t.c=br(t,we),t.f=!0),!!(we=t).c}function Vi(t,e){var n,i,r=typeof e==d?e.split(pn):[],o=function(t,e){var n,i,r=[],o=[];for(n=0;n<t.length;n++)r[t[n]]=!0;for(n=0;n<e.length;n++)r[e[n]]?delete r[e[n]]:r[e[n]]=!0;for(i in r)o.push(i);return o}(typeof t==d?t.split(pn):[],r),a=v(yi,o);if(-1<a&&o.splice(a,1),0<o[g.l])for(i=ur(!0,!0),n=0;n<o.length;n++)if(!o[n].match(i))return!0;return!1}function Ui(t){b(t=t||wi,function(t,e){if(-1<y.inA(e,wi)){var n=ht.attr(e);p(n)==d?yt.attr(e,n):yt.removeAttr(e)}})}function Yi(){if(!it){var t,e,n,i,r=Ve.w,o=Ve.h,a={},s=Vt||!me;return a[tn+nn]=an,a[tn+rn]=an,a[nn]=sn,ht.css(a),t=Ot[g.oW],e=s?N.max(t,Ot[g.sW]-1):1,a[nn]=Vt?sn:cn,a[tn+nn]=cn,a[rn]=sn,ht.css(a),i=N.max(n=Ot[g.oH],Ot[g.sH]-1),a[nn]=e,a[rn]=i,_t.css(a),a[tn+nn]=r,a[tn+rn]=o,ht.css(a),{q:t,B:n,X:e,Y:i}}}function $i(t){clearTimeout(lt),Ci.A|=(t=t||{}).A,Ci.k|=t.k,Ci.H|=t.H;var e,i=y.now(),r=!!Ci.A,o=!!Ci.k,l=!!Ci.H,u=t.C,c=0<ki&&W&&!q&&!l&&!u&&i-st<ki&&!Ut&&!Vt;if(c&&(lt=setTimeout($i,ki)),!(q||c||it&&!u||W&&!l&&(e=pt.is(":hidden"))||"inline"===pt.css("display"))){st=i,Ci={},!L||k.x&&k.y?D=xr({},a.nativeScrollbarSize):(D.x=0,D.y=0),Ue={x:3*(D.x+(k.x?0:3)),y:3*(D.y+(k.y?0:3))},u=u||{};var d=function(){return br.apply(this,[].slice.call(arguments).concat([l]))},f={x:yt[yn](),y:yt[bn]()},h=at.scrollbars,p=at.textarea,v=h.visibility,b=d(v,le),w=h.autoHide,_=d(w,ue),C=h.clickScrolling,A=d(C,ce),O=h.dragScrolling,I=d(O,de),P=at.className,z=d(P,pe),B=at.resize,j=d(B,fe)&&!U,R=at.paddingAbsolute,H=d(R,Zt),Y=at.clipAlways,$=d(Y,Jt),rt=at.sizeAutoCapable&&!U,ot=d(rt,oe),ut=at.nativeScrollbarsOverlaid.showNativeScrollbars,ct=d(ut,ie),dt=at.autoUpdate,ft=d(dt,re),kt=at.overflowBehavior,Tt=d(kt,ee,l),St=p.dynWidth,Et=d(xe,St),At=p.dynHeight,Lt=d(be,At);if(De="n"===w,Oe="s"===w,Ie="m"===w,Pe="l"===w,Me=h.autoHideDelay,ge=pe,Fe="n"===B,Be="b"===B,je="h"===B,Re="v"===B,he=at.normalizeRTL,le=v,ue=w,ce=C,de=O,pe=P,fe=B,Zt=R,Jt=Y,oe=rt,ie=ut=ut&&k.x&&k.y,re=dt,ee=xr({},kt),xe=St,be=At,Wt=Wt||{x:!1,y:!1},z&&(_r(pt,ge+pn+yi),wr(pt,P!==n&&null!==P&&0<P.length?P:yi)),ft&&(!0===dt||null===dt&&E?(Ni(),s.add(x)):(s.remove(x),Pi())),ot)if(rt)if(wt?wt.show():(wt=F(gr(Kn)),vt.before(wt)),X)gt.show();else{gt=F(gr(Zn)),Pt=gt[0],wt.before(gt);var Mt={w:-1,h:-1};Ii(gt,function(){var t={w:Pt[g.oW],h:Pt[g.oH]};br(t,Mt)&&(W&&Ut&&0<t.h||Vt&&0<t.w||W&&!Ut&&0===t.h||!Vt&&0===t.w)&&$i(),Mt=t}),X=!0,null!==M&>.css(rn,M+"(100% + 1px)")}else X&>.hide(),wt&&wt.hide();l&&(mt.find("*").trigger(un),X&>.find("*").trigger(un)),e=e===n?pt.is(":hidden"):e;var Dt,Nt=!!V&&"off"!==ht.attr("wrap"),Kt=d(Nt,me),ae=pt.css("direction"),se=d(ae,Gt),_e=pt.css("box-sizing"),Ce=d(_e,Yt),ke=lr(Qe);try{Dt=X?Pt[g.bCR]():null}catch(Tr){return}Q="border-box"===_e;var Te=(nt="rtl"===ae)?Je:Ke,Ae=nt?Ke:Je,Le=!1,Ne=!(!X||"none"===pt.css(on))&&0===N.round(Dt.right-Dt.left)&&(!!R||0<It[g.cW]-G);if(rt&&!Ne){var ze=It[g.oW],We=wt.css(nn);wt.css(nn,sn);var qe=It[g.oW];wt.css(nn,We),(Le=ze!==qe)||(wt.css(nn,ze+1),qe=It[g.oW],wt.css(nn,We),Le=ze!==qe)}var Ye=(Ne||Le)&&rt&&!e,ln=d(Ye,Vt),dn=!Ye&&Vt,fn=!(!X||!rt||e)&&0===N.round(Dt.bottom-Dt.top),hn=d(fn,Ut),gn=!fn&&Ut,mn=lr(Xe,"-"+nn,!(Ye&&Q||!Q),!(fn&&Q||!Q)),vn=lr($e),xn={},wn={},_n=function(){return{w:It[g.cW],h:It[g.cH]}},Cn=function(){return{w:zt[g.oW]+N.max(0,Bt[g.cW]-Bt[g.sW]),h:zt[g.oH]+N.max(0,Bt[g.cH]-Bt[g.sH])}},kn=G=ke.l+ke.r,Tn=K=ke.t+ke.b;if(kn*=R?1:0,Tn*=R?1:0,ke.c=d(ke,$t),Z=mn.l+mn.r,J=mn.t+mn.b,mn.c=d(mn,Qt),tt=vn.l+vn.r,et=vn.t+vn.b,vn.c=d(vn,Xt),me=Nt,Gt=ae,Yt=_e,Vt=Ye,Ut=fn,$t=ke,Qt=mn,Xt=vn,se&&X&>.css(on,Ae),ke.c||se||H||ln||hn||Ce||ot){var Sn={},En={},An=[ke.t,ke.r,ke.b,ke.l];sr(wn,$e,[-ke.t,-ke.r,-ke.b,-ke.l]),R?(sr(Sn,an,An),sr(V?En:xn,Qe)):(sr(Sn,an),sr(V?En:xn,Qe,An)),vt.css(Sn),ht.css(En)}Ve=Cn();var Ln=!!V&&Yi(),Mn=V&&d(Ln,ye),Dn=V&&Ln?{w:St?Ln.X:Ln.q,h:At?Ln.Y:Ln.B}:{};if(ye=Ln,fn&&(hn||H||Ce||ke.c||mn.c)?xn[rn]=sn:(hn||H)&&(xn[rn]=cn),Ye&&(ln||H||Ce||ke.c||mn.c||se)?(xn[nn]=sn,wn[en+nn]=cn):(ln||H)&&(xn[nn]=cn,xn[on]=an,wn[en+nn]=an),Ye?(wn[nn]=sn,xn[nn]=m.v(nn,"max-content intrinsic")||sn,xn[on]=Ae):wn[nn]=an,wn[rn]=fn?Dn.h||Bt[g.cH]:an,rt&&wt.css(wn),bt.css(xn),xn={},wn={},r||o||Mn||se||Ce||H||ln||Ye||hn||fn||ct||Tt||$||j||b||_||I||A||Et||Lt||Kt){var On="overflow",In=On+"-x",Pn=On+"-y";if(!L){var Nn={},zn=Wt.y&&qt.ys&&!ut?k.y?yt.css(Te):-D.y:0,qn=Wt.x&&qt.xs&&!ut?k.x?yt.css(Ze):-D.x:0;sr(Nn,an),yt.css(Nn)}var Vn=pr(),Un={w:Dn.w||Vn[g.cW],h:Dn.h||Vn[g.cH]},Yn=Vn[g.sW],Qn=Vn[g.sH];L||(Nn[Ze]=gn?an:qn,Nn[Te]=dn?an:zn,yt.css(Nn)),Ve=Cn();var Xn=_n(),Jn={w:Xn.w-tt-Z-(Q?0:G),h:Xn.h-et-J-(Q?0:K)},ti={w:N.max((Ye?Un.w:Yn)+kn,Jn.w),h:N.max((fn?Un.h:Qn)+Tn,Jn.h)};if(ti.c=d(ti,te),te=ti,rt){(ti.c||fn||Ye)&&(wn[nn]=ti.w,wn[rn]=ti.h,V||(Un={w:Vn[g.cW],h:Vn[g.cH]}));var ei={},ni=function(t){var e=rr(t),n=e.F,i=e.K,r=t?Ye:fn,o=Ve[n]-(t?Z:J)-(t?tt:et)-(Q?0:t?G:K);r&&(r||!mn.c)||(wn[i]=Jn[n]-1),!(r&&Un[n]<o)||t&&V&&Nt||(V&&(ei[i]=fr(_t.css(i))-1),--wn[i]),0<Un[n]&&(wn[i]=N.max(1,wn[i]))};ni(!0),ni(!1),V&&_t.css(ei),wt.css(wn)}Ye&&(xn[nn]=cn),!Ye||Q||Se||(xn[on]="none"),bt.css(xn),xn={};var ii={w:Vn[g.sW],h:Vn[g.sH]};ii.c=o=d(ii,Rt),Rt=ii,Ve=Cn(),r=d(Xn=_n(),jt),jt=Xn;var ri=V&&(0===Ve.w||0===Ve.h),oi=ne,ai={},si={},li={},ui={},ci={},gi={},mi={},vi=zt[g.bCR](),bi=function(t){var e=rr(t),n=rr(!t).U,i=e.U,r=e.F,o=e.K,a=un+e.G+"Max",s=vi[o]?N.abs(vi[o]-Ve[r]):0,l=oi&&0<oi[i]&&0===Ft[a];ai[i]="v-s"===kt[i],si[i]="v-h"===kt[i],li[i]="s"===kt[i],ui[i]=N.max(0,N.round(100*(ii[r]-Ve[r]))/100),ui[i]*=ri||l&&0<s&&s<1?0:1,ci[i]=0<ui[i],gi[i]=ai[i]||si[i]?ci[n]&&!ai[n]&&!si[n]:ci[i],gi[i+"s"]=!!gi[i]&&(li[i]||ai[i]),mi[i]=ci[i]&&gi[i+"s"]};if(bi(!0),bi(!1),ui.c=d(ui,ne),ne=ui,ci.c=d(ci,Wt),Wt=ci,gi.c=d(gi,qt),qt=gi,k.x||k.y){var xi,wi={},_i={},Ti=l;(ci.x||ci.y)&&(_i.w=k.y&&ci.y?ii.w+T.y:an,_i.h=k.x&&ci.x?ii.h+T.x:an,Ti=d(_i,Ht),Ht=_i),(ci.c||gi.c||ii.c||se||ln||hn||Ye||fn||ct)&&(xn[$e+Ae]=xn[Xe+Ae]=an,xi=function(t){var e=rr(t),n=rr(!t),i=e.U,r=t?Ze:Te,o=t?fn:Ye;k[i]&&ci[i]&&gi[i+"s"]?(xn[$e+r]=!o||ut?an:T[i],xn[Xe+r]=t&&o||ut?an:T[i]+"px solid transparent"):(_i[n.F]=xn[$e+r]=xn[Xe+r]=an,Ti=!0)},L?Cr(yt,$n,!ut):(xi(!0),xi(!1))),ut&&(_i.w=_i.h=an,Ti=!0),Ti&&!L&&(wi[nn]=gi.y?_i.w:an,wi[rn]=gi.x?_i.h:an,xt||(xt=F(gr(Gn)),yt.prepend(xt)),xt.css(wi)),bt.css(xn)}var Si,Ei={};if(Sn={},(r||ci.c||gi.c||ii.c||Tt||Ce||ct||se||$||hn)&&(Ei[Ae]=an,(Si=function(t){var e=rr(t),n=rr(!t),i=e.U,r=e.J,o=t?Ze:Te,a=function(){Ei[o]=an,He[n.F]=0};ci[i]&&gi[i+"s"]?(Ei[On+r]=un,ut||L?a():(Ei[o]=-(k[i]?T[i]:D[i]),He[n.F]=k[i]?T[n.U]:0)):(Ei[On+r]=an,a())})(!0),Si(!1),!L&&(Ve.h<Ue.x||Ve.w<Ue.y)&&(ci.x&&gi.x&&!k.x||ci.y&&gi.y&&!k.y)?(Ei[Qe+Ge]=Ue.x,Ei[$e+Ge]=-Ue.x,Ei[Qe+Ae]=Ue.y,Ei[$e+Ae]=-Ue.y):Ei[Qe+Ge]=Ei[$e+Ge]=Ei[Qe+Ae]=Ei[$e+Ae]=an,Ei[Qe+Te]=Ei[$e+Te]=an,ci.x&&gi.x||ci.y&&gi.y||ri?V&&ri&&(Sn[In]=Sn[Pn]="hidden"):(!Y||si.x||ai.x||si.y||ai.y)&&(V&&(Sn[In]=Sn[Pn]=an),Ei[In]=Ei[Pn]="visible"),vt.css(Sn),yt.css(Ei),Ei={},(ci.c||Ce||ln||hn)&&(!k.x||!k.y))){var Ai=Bt[g.s];Ai.webkitTransform="scale(1)",Ai.display="run-in",Ai.display=an,Ai.webkitTransform=an}if(xn={},se||ln||hn)if(nt&&Ye){var Li=bt.css(on),Mi=N.round(bt.css(on,an).css(Je,an).position().left);bt.css(on,Li),Mi!==N.round(bt.position().left)&&(xn[Je]=Mi)}else xn[Je]=an;if(bt.css(xn),V&&o){var Di=function(){var t=Ot.selectionStart;if(t!==n){var e,i,r=ht.val(),o=r[g.l],a=r.split("\n"),s=a[g.l],l=r.substr(0,t).split("\n"),u=0,c=0,d=l[g.l],f=l[l[g.l]-1][g.l];for(i=0;i<a[g.l];i++)c<(e=a[i][g.l])&&(u=i+1,c=e);return{Q:d,Z:f,nn:s,tn:c,rn:u,en:t,in:o}}}();if(Di){var Oi=ve===n||Di.nn!==ve.nn,zi=Di.Q,Fi=Di.in<=Di.en&&Ee,Bi={x:Nt||Di.Z!==Di.tn||zi!==Di.rn?-1:ne.x,y:(Nt?Fi||Oi&&oi&&f.y===oi.y:(Fi||Oi)&&zi===Di.nn)?ne.y:-1};f.x=-1<Bi.x?nt&&he&&S.i?0:Bi.x:f.x,f.y=-1<Bi.y?Bi.y:f.y}ve=Di}nt&&S.i&&k.y&&ci.x&&he&&(f.x+=He.w||0),Ye&&pt[yn](0),fn&&pt[bn](0),yt[yn](f.x)[bn](f.y);var ji="v"===v,Ri="h"===v,Hi="a"===v,Vi=function(t,e){e=e===n?t:e,Ji(!0,t,mi.x),Ji(!1,e,mi.y)};Cr(pt,Rn,gi.x||gi.y),Cr(pt,Hn,gi.x),Cr(pt,Wn,gi.y),se&&!U&&Cr(pt,Fn,nt),U&&wr(pt,Bn),j&&(Cr(pt,Bn,Fe),Cr(Ct,di,!Fe),Cr(Ct,fi,Be),Cr(Ct,hi,je),Cr(Ct,pi,Re)),(b||Tt||gi.c||ci.c||ct)&&(ut?ct&&(_r(pt,jn),ut&&Vi(!1)):Hi?Vi(mi.x,mi.y):ji?Vi(!0):Ri&&Vi(!1)),(_||ct)&&(Wi(!Pe&&!Ie),tr(De,!De)),(r||ui.c||hn||ln||j||Ce||H||ct||se)&&(er(!0),nr(!0),er(!1),nr(!1)),A&&ir(!0,C),I&&ir(!1,O),ar("onDirectionChanged",{isRTL:nt,dir:ae},se),ar("onHostSizeChanged",{width:jt.w,height:jt.h},r),ar("onContentSizeChanged",{width:Rt.w,height:Rt.h},o),ar("onOverflowChanged",{x:ci.x,y:ci.y,xScrollable:gi.xs,yScrollable:gi.ys,clipped:gi.x||gi.y},ci.c||gi.c),ar("onOverflowAmountChanged",{x:ui.x,y:ui.y},ui.c)}U&&we&&(Wt.c||we.c)&&(we.f||qi(),k.y&&Wt.x&&bt.css(tn+nn,we.w+T.y),k.x&&Wt.y&&bt.css(tn+rn,we.h+T.x),we.c=!1),W&&u.updateOnLoad&&Qi(),ar("onUpdated",{forced:l})}}function Qi(){V||yr(function(t,e){bt.find(e).each(function(t,e){y.inA(e,Si)<0&&(Si.push(e),F(e).off(Ti,Hi).on(Ti,Hi))})})}function Xi(t){var e=P._(t,P.g,!0,ot);return ot=xr({},ot,e.S),at=xr({},at,e.z),e.z}function Gi(t){var e="parent",i=qn+pn+ni,r=V?pn+ni:an,o=at.textarea.inheritedAttrs,a={},s=function(){var e=t?ht:pt;b(a,function(t,n){p(n)==d&&(t==g.c?e.addClass(n):e.attr(t,n))})},l=[Dn,On,In,Bn,Fn,Pn,Nn,zn,jn,Rn,Hn,Wn,yi,qn,ni,pe].join(pn),u={};pt=pt||(V?$?ht[e]()[e]()[e]()[e]():F(gr(In)):ht),bt=bt||mr(Xn+r),yt=yt||mr(Yn+r),vt=vt||mr(Un+r),mt=mt||mr("os-resize-observer-host"),_t=_t||(V?mr(Vn):n),$&&wr(pt,On),t&&_r(pt,l),o=p(o)==d?o.split(pn):o,y.isA(o)&&V&&b(o,function(e,n){p(n)==d&&(a[n]=t?pt.attr(n):ht.attr(n))}),t?($&&W?(mt.children().remove(),b([vt,yt,bt,_t],function(t,e){e&&_r(e.removeAttr(g.s),bi)}),wr(pt,V?In:Dn)):(kr(mt),bt.contents().unwrap().unwrap().unwrap(),V&&(ht.unwrap(),kr(pt),kr(_t),s())),V&&ht.removeAttr(g.s),U&&_r(dt,Mn)):(V&&(at.sizeAutoCapable||(u[nn]=ht.css(nn),u[rn]=ht.css(rn)),$||ht.addClass(ni).wrap(pt),pt=ht[e]().css(u)),$||(wr(ht,V?i:Dn),pt.wrapInner(bt).wrapInner(yt).wrapInner(vt).prepend(mt),bt=Tr(pt,hn+Xn),yt=Tr(pt,hn+Yn),vt=Tr(pt,hn+Un),V&&(bt.prepend(_t),s())),L&&wr(yt,$n),k.x&&k.y&&wr(yt,Qn),U&&wr(dt,Mn),Nt=mt[0],It=pt[0],zt=vt[0],Ft=yt[0],Bt=bt[0],Ui())}function Ki(t){var e,n,i=function(e){var n=mr(ii+pn+(e?gi:mi),!0),i=mr(ri,n),r=mr(ai,n);return $||t||(n.append(i),i.append(r)),{an:n,un:i,cn:r}};function r(t){var e=rr(t),n=e.an;$&&W?b([n,e.un,e.cn],function(t,e){_r(e.removeAttr(g.s),bi)}):kr(n||i(t).an)}t?(r(!0),r()):(e=i(!0),n=i(),kt=e.an,Tt=e.un,St=e.cn,Et=n.an,At=n.un,Lt=n.cn,$||(vt.after(Et),vt.after(kt)))}function Zi(t){var e,i,r,o,a=rr(t),s=a.sn,l=Mt.top!==Mt,u=a.U,c=a.J,d=un+a.G,f="active",h="snapHandle",p="click",m=1,b=[16,17];function w(t){return A&&l?t["screen"+c]:y.page(t)[u]}function _(t){return at.scrollbars[t]}function C(){m=.5}function k(){m=1}function T(t){y.stpP(t)}function E(t){-1<v(t.keyCode,b)&&C()}function L(t){-1<v(t.keyCode,b)&&k()}function M(t){var e=(t.originalEvent||t).touches!==n;return!(it||q||hr()||!de||e&&!_("touchSupport"))&&(1===y.mBtn(t)||e)}function D(e){if(M(e)){var n=s.I,a=s.D,l=s.N*((w(e)-r)*o/(n-a));l=isFinite(l)?l:0,nt&&t&&!S.i&&(l*=-1),yt[d](N.round(i+l)),ze&&nr(t,i+l),j||y.prvD(e)}else I(e)}function I(s){if(s=s||s.originalEvent,Di(ct,[_n,wn,Tn,Sn,En],[D,I,E,L,Ri],!0),y.rAF()(function(){Di(ct,p,T,!0,{$:!0})}),ze&&nr(t,!0),ze=!1,_r(ft,vi),_r(a.cn,f),_r(a.un,f),_r(a.an,f),o=1,k(),e!==(r=i=n)&&(x.scrollStop(),clearTimeout(e),e=n),s){var l=It[g.bCR]();s.clientX>=l.left&&s.clientX<=l.right&&s.clientY>=l.top&&s.clientY<=l.bottom||Bi(),(Oe||Ie)&&tr(!1)}}function P(e){i=yt[d](),i=isNaN(i)?0:i,(nt&&t&&!S.n||!nt)&&(i=i<0?0:i),o=cr()[u],r=w(e),ze=!_(h),wr(ft,vi),wr(a.cn,f),wr(a.an,f),Di(ct,[_n,wn,En],[D,I,Ri]),y.rAF()(function(){Di(ct,p,T,!1,{$:!0})}),!A&&Y||y.prvD(e),y.stpP(e)}Oi(a.cn,xn,function(t){M(t)&&P(t)}),Oi(a.un,[xn,Cn,kn],[function(i){if(M(i)){var l,c=a.sn.D/Math.round(N.min(1,Ve[a.F]/Rt[a.F])*a.sn.I),p=N.round(Ve[a.F]*c),g=270*c,v=400*c,b=a.un.offset()[a.P],w=i.ctrlKey,k=i.shiftKey,T=k&&w,A=!0,D=function(e){ze&&nr(t,e)},O=function(){D(),P(i)},z=function(){if(!q){var i=(r-b)*o,a=s.W,c=s.I,f=s.D,h=s.N,y=s.R,w=g*m,_=A?N.max(v,w):w,C=h*((i-f/2)/(c-f)),E=nt&&t&&(!S.i&&!S.n||he),L=E?a<i:i<a,M={},I={easing:"linear",step:function(e){ze&&(yt[d](e),nr(t,e))}};C=isFinite(C)?C:0,C=nt&&t&&!S.i?h-C:C,k?(yt[d](C),T?(C=yt[d](),yt[d](y),C=E&&S.i?h-C:C,M[u]=C=E&&S.n?-C:C,x.scroll(M,xr(I,{duration:130,complete:O}))):O()):(l=A?L:l,(E?l?i<=a+f:a<=i:l?a<=i:i<=a+f)?(clearTimeout(e),x.scrollStop(),e=n,D(!0)):(e=setTimeout(z,_),M[u]=(l?"-=":"+=")+p,x.scroll(M,xr(I,{duration:w}))),A=!1)}};w&&C(),o=cr()[u],r=y.page(i)[u],ze=!_(h),wr(ft,vi),wr(a.un,f),wr(a.an,f),Di(ct,[wn,Tn,Sn,En],[I,E,L,Ri]),z(),y.prvD(i),y.stpP(i)}},function(t){Ne=!0,(Oe||Ie)&&tr(!0)},function(t){Ne=!1,(Oe||Ie)&&tr(!1)}]),Oi(a.an,xn,function(t){y.stpP(t)}),O&&Oi(a.an,An,function(e){e.target===a.an[0]&&(er(t),nr(t))})}function Ji(t,e,n){var i=t?kt:Et;Cr(pt,t?Pn:Nn,!e),Cr(i,li,!n)}function tr(t,e){if(clearTimeout(Ae),t)_r(kt,ui),_r(Et,ui);else{var n,i=function(){Ne||q||(!(n=St.hasClass("active")||Lt.hasClass("active"))&&(Oe||Ie||Pe)&&wr(kt,ui),!n&&(Oe||Ie||Pe)&&wr(Et,ui))};0<Me&&!0!==e?Ae=setTimeout(i,Me):i()}}function er(t){var e={},n=rr(t),i=n.sn,r=N.min(1,Ve[n.F]/Rt[n.F]);e[n.K]=N.floor(100*r*1e6)/1e6+"%",hr()||n.cn.css(e),i.D=n.cn[0]["offset"+n.ln],i.M=r}function nr(t,e){var i,r=p(e)==f,o=nt&&t,a=rr(t),s=a.sn,l="translate(",u=m.u("transform"),c=m.u("transition"),d=t?yt[yn]():yt[bn](),h=e===n||r?d:e,v=s.D,y=a.un[0]["offset"+a.ln],b=y-v,x={},w=(Ft[un+a.ln]-Ft["client"+a.ln])*(S.n&&o?-1:1),_=function(t){return isNaN(t/w)?0:N.max(0,N.min(1,t/w))},C=function(t){var e=b*t;return e=isNaN(e)?0:e,N.max(0,e=o&&!S.i?y-v-e:e)},k=_(d),T=C(_(h)),E=C(k);s.N=w,s.R=d,s.L=k,I?(i=o?-(y-v-T):T,x[u]=t?l+i+"px, 0)":l+"0, "+i+"px)",O&&(x[c]=r&&1<N.abs(T-s.W)?function(t){var e=m.u("transition"),n=t.css(e);if(n)return n;for(var i,r,o,a="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",s=new RegExp(a),l=new RegExp("^("+a+")+$"),u="property duration timing-function delay".split(" "),c=[],d=0,f=function(t){if(i=[],!t.match(l))return t;for(;t.match(s);)i.push(RegExp.$1),t=t.replace(s,an);return i};d<u[g.l];d++)for(r=f(t.css(e+"-"+u[d])),o=0;o<r[g.l];o++)c[o]=(c[o]?c[o]+pn:an)+r[o];return c.join(", ")}(a.cn)+", "+(u+pn+250)+"ms":an)):x[a.P]=T,hr()||(a.cn.css(x),I&&O&&r&&a.cn.one(An,function(){q||a.cn.css(c,an)})),s.W=T,s.j=E,s.I=y}function ir(t,e){var n=e?"removeClass":"addClass",i=t?At:Lt,r=t?oi:si;(t?Tt:St)[n](r),i[n](r)}function rr(t){return{K:t?nn:rn,ln:t?"Width":"Height",P:t?Je:Ge,G:t?"Left":"Top",U:t?dn:fn,J:t?"X":"Y",F:t?"w":"h",vn:t?"l":"t",un:t?Tt:At,cn:t?St:Lt,an:t?kt:Et,sn:t?We:qe}}function or(t){Ct=Ct||mr(ci,!0),t?$&&W?_r(Ct.removeAttr(g.s),bi):kr(Ct):$||pt.append(Ct)}function ar(t,e,n){if(!1!==n)if(W){var i,r=at.callbacks[t],o=t;"on"===o.substr(0,2)&&(o=o.substr(2,1).toLowerCase()+o.substr(3)),p(r)==u&&r.call(x,e),b(_i,function(){p((i=this).on)==u&&i.on(o,e)})}else q||xi.push({n:t,a:e})}function sr(t,e,n){t[(e=e||an)+Ge]=(n=n||[an,an,an,an])[0],t[e+Ke]=n[1],t[e+Ze]=n[2],t[e+Je]=n[3]}function lr(t,e,n,i){return e=e||an,t=t||an,{t:i?0:fr(pt.css(t+Ge+e)),r:n?0:fr(pt.css(t+Ke+e)),b:i?0:fr(pt.css(t+Ze+e)),l:n?0:fr(pt.css(t+Je+e))}}function ur(t,e){var n,i,r,o=function(t,e){if(r="",e&&typeof t==d)for(i=t.split(pn),n=0;n<i[g.l];n++)r+="|"+i[n]+"$";return r};return new RegExp("(^"+Dn+"([-_].+|)$)"+o(pe,t)+o(ge,e),"g")}function cr(){var t=zt[g.bCR]();return{x:I&&1/(N.round(t.width)/zt[g.oW])||1,y:I&&1/(N.round(t.height)/zt[g.oH])||1}}function dr(e){var n="ownerDocument",i="HTMLElement",r=e&&e[n]&&e[n].parentWindow||t;return typeof r[i]==l?e instanceof r[i]:e&&typeof e==l&&null!==e&&1===e.nodeType&&typeof e.nodeName==d}function fr(t,e){var n=e?parseFloat(t):parseInt(t,10);return isNaN(n)?0:n}function hr(){return ie&&k.x&&k.y}function pr(){return V?_t[0]:Bt}function gr(t,e){return"<div "+(t?p(t)==d?'class="'+t+'"':function(){var e,n=an;if(F.isPlainObject(t))for(e in t)n+=("c"===e?"class":e)+'="'+t[e]+'" ';return n}():an)+">"+(e||an)+"</div>"}function mr(t,e){var n=p(e)==f,i=!n&&e||pt;return $&&!i[g.l]?null:$?i[n?"children":"find"](hn+t.replace(/\s/g,hn)).eq(0):F(gr(t))}function vr(t,e){for(var n,i=e.split(hn),r=0;r<i.length;r++){if(!t[g.hOP](i[r]))return;n=t[i[r]],r<i.length&&p(n)==l&&(t=n)}return n}function yr(t){var e=at.updateOnLoad;e=p(e)==d?e.split(pn):e,y.isA(e)&&!q&&b(e,t)}function br(t,e,n){if(n)return n;if(p(t)!=l||p(e)!=l)return t!==e;for(var i in t)if("c"!==i){if(!t[g.hOP](i)||!e[g.hOP](i))return!0;if(br(t[i],e[i]))return!0}return!1}function xr(){return F.extend.apply(this,[!0].concat([].slice.call(arguments)))}function wr(t,e){return w.addClass.call(t,e)}function _r(t,e){return w.removeClass.call(t,e)}function Cr(t,e,n){return(n?wr:_r)(t,e)}function kr(t){return w.remove.call(t)}function Tr(t,e){return w.find.call(t,e).eq(0)}}return z&&z.fn&&(z.fn.overlayScrollbars=function(t,e){return z.isPlainObject(t)?(z.each(this,function(){j(this,t,e)}),this):j(this,t)}),j}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).adminlte={},t.jQuery)}(this,function(t,e){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=n(e),r="CardRefresh",o="lte.cardrefresh",a=i.default.fn[r],s='[data-card-widget="card-refresh"]',l={source:"",sourceSelector:"",params:{},trigger:s,content:".card-body",loadInContent:!0,loadOnInit:!0,responseType:"",overlayTemplate:'<div class="overlay"><i class="fas fa-2x fa-sync-alt fa-spin"></i></div>',onLoadStart:function(){},onLoadDone:function(t){return t}},u=function(){function t(t,e){if(this._element=t,this._parent=t.parents(".card").first(),this._settings=i.default.extend({},l,e),this._overlay=i.default(this._settings.overlayTemplate),t.hasClass("card")&&(this._parent=t),""===this._settings.source)throw new Error("Source url was not defined. Please specify a url in your CardRefresh source option.")}var e=t.prototype;return e.load=function(){var t=this;this._addOverlay(),this._settings.onLoadStart.call(i.default(this)),i.default.get(this._settings.source,this._settings.params,function(e){t._settings.loadInContent&&(""!==t._settings.sourceSelector&&(e=i.default(e).find(t._settings.sourceSelector).html()),t._parent.find(t._settings.content).html(e)),t._settings.onLoadDone.call(i.default(t),e),t._removeOverlay()},""!==this._settings.responseType&&this._settings.responseType),i.default(this._element).trigger(i.default.Event("loaded.lte.cardrefresh"))},e._addOverlay=function(){this._parent.append(this._overlay),i.default(this._element).trigger(i.default.Event("overlay.added.lte.cardrefresh"))},e._removeOverlay=function(){this._parent.find(this._overlay).remove(),i.default(this._element).trigger(i.default.Event("overlay.removed.lte.cardrefresh"))},e._init=function(){var t=this;i.default(this).find(this._settings.trigger).on("click",function(){t.load()}),this._settings.loadOnInit&&this.load()},t._jQueryInterface=function(e){var n=i.default(this).data(o),r=i.default.extend({},l,i.default(this).data());n||(n=new t(i.default(this),r),i.default(this).data(o,"string"==typeof e?n:e)),"string"==typeof e&&e.match(/load/)?n[e]():n._init(i.default(this))},t}();i.default(document).on("click",s,function(t){t&&t.preventDefault(),u._jQueryInterface.call(i.default(this),"load")}),i.default(function(){i.default(s).each(function(){u._jQueryInterface.call(i.default(this))})}),i.default.fn[r]=u._jQueryInterface,i.default.fn[r].Constructor=u,i.default.fn[r].noConflict=function(){return i.default.fn[r]=a,u._jQueryInterface};var c="CardWidget",d="lte.cardwidget",f=i.default.fn[c],h="collapsed-card",p="collapsing-card",g="expanding-card",m="was-collapsed",v="maximized-card",y='[data-card-widget="remove"]',b='[data-card-widget="collapse"]',x='[data-card-widget="maximize"]',w={animationSpeed:"normal",collapseTrigger:b,removeTrigger:y,maximizeTrigger:x,collapseIcon:"fa-minus",expandIcon:"fa-plus",maximizeIcon:"fa-expand",minimizeIcon:"fa-compress"},_=function(){function t(t,e){this._element=t,this._parent=t.parents(".card").first(),t.hasClass("card")&&(this._parent=t),this._settings=i.default.extend({},w,e)}var e=t.prototype;return e.collapse=function(){var t=this;this._parent.addClass(p).children(".card-body, .card-footer").slideUp(this._settings.animationSpeed,function(){t._parent.addClass(h).removeClass(p)}),this._parent.find("> .card-header "+this._settings.collapseTrigger+" ."+this._settings.collapseIcon).addClass(this._settings.expandIcon).removeClass(this._settings.collapseIcon),this._element.trigger(i.default.Event("collapsed.lte.cardwidget"),this._parent)},e.expand=function(){var t=this;this._parent.addClass(g).children(".card-body, .card-footer").slideDown(this._settings.animationSpeed,function(){t._parent.removeClass(h).removeClass(g)}),this._parent.find("> .card-header "+this._settings.collapseTrigger+" ."+this._settings.expandIcon).addClass(this._settings.collapseIcon).removeClass(this._settings.expandIcon),this._element.trigger(i.default.Event("expanded.lte.cardwidget"),this._parent)},e.remove=function(){this._parent.slideUp(),this._element.trigger(i.default.Event("removed.lte.cardwidget"),this._parent)},e.toggle=function(){this._parent.hasClass(h)?this.expand():this.collapse()},e.maximize=function(){this._parent.find(this._settings.maximizeTrigger+" ."+this._settings.maximizeIcon).addClass(this._settings.minimizeIcon).removeClass(this._settings.maximizeIcon),this._parent.css({height:this._parent.height(),width:this._parent.width(),transition:"all .15s"}).delay(150).queue(function(){var t=i.default(this);t.addClass(v),i.default("html").addClass(v),t.hasClass(h)&&t.addClass(m),t.dequeue()}),this._element.trigger(i.default.Event("maximized.lte.cardwidget"),this._parent)},e.minimize=function(){this._parent.find(this._settings.maximizeTrigger+" ."+this._settings.minimizeIcon).addClass(this._settings.maximizeIcon).removeClass(this._settings.minimizeIcon),this._parent.css("cssText","height: "+this._parent[0].style.height+" !important; width: "+this._parent[0].style.width+" !important; transition: all .15s;").delay(10).queue(function(){var t=i.default(this);t.removeClass(v),i.default("html").removeClass(v),t.css({height:"inherit",width:"inherit"}),t.hasClass(m)&&t.removeClass(m),t.dequeue()}),this._element.trigger(i.default.Event("minimized.lte.cardwidget"),this._parent)},e.toggleMaximize=function(){this._parent.hasClass(v)?this.minimize():this.maximize()},e._init=function(t){var e=this;this._parent=t,i.default(this).find(this._settings.collapseTrigger).click(function(){e.toggle()}),i.default(this).find(this._settings.maximizeTrigger).click(function(){e.toggleMaximize()}),i.default(this).find(this._settings.removeTrigger).click(function(){e.remove()})},t._jQueryInterface=function(e){var n=i.default(this).data(d),r=i.default.extend({},w,i.default(this).data());n||(n=new t(i.default(this),r),i.default(this).data(d,"string"==typeof e?n:e)),"string"==typeof e&&e.match(/collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/)?n[e]():"object"==typeof e&&n._init(i.default(this))},t}();i.default(document).on("click",b,function(t){t&&t.preventDefault(),_._jQueryInterface.call(i.default(this),"toggle")}),i.default(document).on("click",y,function(t){t&&t.preventDefault(),_._jQueryInterface.call(i.default(this),"remove")}),i.default(document).on("click",x,function(t){t&&t.preventDefault(),_._jQueryInterface.call(i.default(this),"toggleMaximize")}),i.default.fn[c]=_._jQueryInterface,i.default.fn[c].Constructor=_,i.default.fn[c].noConflict=function(){return i.default.fn[c]=f,_._jQueryInterface};var C="ControlSidebar",k="lte.controlsidebar",T=i.default.fn[C],S=".control-sidebar",E=".main-header",A=".main-footer",L="control-sidebar-animate",M="control-sidebar-open",D="control-sidebar-slide-open",O="layout-fixed",I="layout-footer-fixed",P="layout-sm-footer-fixed",N="layout-md-footer-fixed",z="layout-lg-footer-fixed",F="layout-xl-footer-fixed",B={controlsidebarSlide:!0,scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l"},j=function(){function t(t,e){this._element=t,this._config=e,this._init()}var e=t.prototype;return e.collapse=function(){var t=i.default("body"),e=i.default("html");this._config.controlsidebarSlide?(e.addClass(L),t.removeClass(D).delay(300).queue(function(){i.default(S).hide(),e.removeClass(L),i.default(this).dequeue()})):t.removeClass(M),i.default(this._element).trigger(i.default.Event("collapsed.lte.controlsidebar"))},e.show=function(){var t=i.default("body"),e=i.default("html");this._config.controlsidebarSlide?(e.addClass(L),i.default(S).show().delay(10).queue(function(){t.addClass(D).delay(300).queue(function(){e.removeClass(L),i.default(this).dequeue()}),i.default(this).dequeue()})):t.addClass(M),this._fixHeight(),this._fixScrollHeight(),i.default(this._element).trigger(i.default.Event("expanded.lte.controlsidebar"))},e.toggle=function(){var t=i.default("body");t.hasClass(M)||t.hasClass(D)?this.collapse():this.show()},e._init=function(){var t=this;this._fixHeight(),this._fixScrollHeight(),i.default(window).resize(function(){t._fixHeight(),t._fixScrollHeight()}),i.default(window).scroll(function(){var e=i.default("body");(e.hasClass(M)||e.hasClass(D))&&t._fixScrollHeight()})},e._fixScrollHeight=function(){var t=i.default("body");if(t.hasClass(O)){var e={scroll:i.default(document).height(),window:i.default(window).height(),header:i.default(E).outerHeight(),footer:i.default(A).outerHeight()},n=Math.abs(e.window+i.default(window).scrollTop()-e.scroll),r=i.default(window).scrollTop(),o=(t.hasClass("layout-navbar-fixed")||t.hasClass("layout-sm-navbar-fixed")||t.hasClass("layout-md-navbar-fixed")||t.hasClass("layout-lg-navbar-fixed")||t.hasClass("layout-xl-navbar-fixed"))&&"fixed"===i.default(E).css("position"),a=(t.hasClass(I)||t.hasClass(P)||t.hasClass(N)||t.hasClass(z)||t.hasClass(F))&&"fixed"===i.default(A).css("position"),s=i.default(S),l=i.default(".control-sidebar, .control-sidebar .control-sidebar-content");if(0===r&&0===n)s.css({bottom:e.footer,top:e.header}),l.css("height",e.window-(e.header+e.footer));else if(n<=e.footer)if(!1===a){var u=e.header-r;s.css("bottom",e.footer-n).css("top",u>=0?u:0),l.css("height",e.window-(e.footer-n))}else s.css("bottom",e.footer);else r<=e.header?!1===o?(s.css("top",e.header-r),l.css("height",e.window-(e.header-r))):s.css("top",e.header):!1===o?(s.css("top",0),l.css("height",e.window)):s.css("top",e.header)}},e._fixHeight=function(){var t=i.default("body");if(t.hasClass(O)){var e=i.default(window).height(),n=i.default(E).outerHeight(),r=i.default(A).outerHeight(),o=e-n;(t.hasClass(I)||t.hasClass(P)||t.hasClass(N)||t.hasClass(z)||t.hasClass(F))&&"fixed"===i.default(A).css("position")&&(o=e-n-r);var a=i.default(".control-sidebar .control-sidebar-content");a.css("height",o),void 0!==i.default.fn.overlayScrollbars&&a.overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}})}},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(k),r=i.default.extend({},B,i.default(this).data());if(n||(n=new t(this,r),i.default(this).data(k,n)),"undefined"===n[e])throw new Error(e+" is not a function");n[e]()})},t}();i.default(document).on("click",'[data-widget="control-sidebar"]',function(t){t.preventDefault(),j._jQueryInterface.call(i.default(this),"toggle")}),i.default.fn[C]=j._jQueryInterface,i.default.fn[C].Constructor=j,i.default.fn[C].noConflict=function(){return i.default.fn[C]=T,j._jQueryInterface};var R="DirectChat",H="lte.directchat",W=i.default.fn[R],q=function(){function t(t){this._element=t}return t.prototype.toggle=function(){i.default(this._element).parents(".direct-chat").first().toggleClass("direct-chat-contacts-open"),i.default(this._element).trigger(i.default.Event("toggled.lte.directchat"))},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(H);n||(n=new t(i.default(this)),i.default(this).data(H,n)),n[e]()})},t}();i.default(document).on("click",'[data-widget="chat-pane-toggle"]',function(t){t&&t.preventDefault(),q._jQueryInterface.call(i.default(this),"toggle")}),i.default.fn[R]=q._jQueryInterface,i.default.fn[R].Constructor=q,i.default.fn[R].noConflict=function(){return i.default.fn[R]=W,q._jQueryInterface};var V="Dropdown",U="lte.dropdown",Y=i.default.fn[V],$={},Q=function(){function t(t,e){this._config=e,this._element=t}var e=t.prototype;return e.toggleSubmenu=function(){this._element.siblings().show().toggleClass("show"),this._element.next().hasClass("show")||this._element.parents(".dropdown-menu").first().find(".show").removeClass("show").hide(),this._element.parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",function(){i.default(".dropdown-submenu .show").removeClass("show").hide()})},e.fixPosition=function(){var t=i.default(".dropdown-menu.show");if(0!==t.length){t.hasClass("dropdown-menu-right")?t.css({left:"inherit",right:0}):t.css({left:0,right:"inherit"});var e=t.offset(),n=t.width(),r=i.default(window).width()-e.left;e.left<0?t.css({left:"inherit",right:e.left-5}):r<n&&t.css({left:"inherit",right:0})}},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(U),r=i.default.extend({},$,i.default(this).data());n||(n=new t(i.default(this),r),i.default(this).data(U,n)),"toggleSubmenu"!==e&&"fixPosition"!==e||n[e]()})},t}();i.default('.dropdown-menu [data-toggle="dropdown"]').on("click",function(t){t.preventDefault(),t.stopPropagation(),Q._jQueryInterface.call(i.default(this),"toggleSubmenu")}),i.default('.navbar [data-toggle="dropdown"]').on("click",function(t){t.preventDefault(),i.default(t.target).parent().hasClass("dropdown-submenu")||setTimeout(function(){Q._jQueryInterface.call(i.default(this),"fixPosition")},1)}),i.default.fn[V]=Q._jQueryInterface,i.default.fn[V].Constructor=Q,i.default.fn[V].noConflict=function(){return i.default.fn[V]=Y,Q._jQueryInterface};var X="ExpandableTable",G="lte.expandableTable",K=i.default.fn[X],Z='[data-widget="expandable-table"]',J="aria-expanded",tt=function(){function t(t,e){this._options=e,this._element=t}var e=t.prototype;return e.init=function(){i.default(Z).each(function(t,e){var n=i.default(e).attr(J),r=i.default(e).next().children().first().children();"true"===n?r.show():"false"===n&&(r.hide(),r.parent().parent().addClass("d-none"))})},e.toggleRow=function(){var t=this._element,e=t.attr(J),n=t.next().children().first().children();n.stop(),"true"===e?(n.slideUp(500,function(){t.next().addClass("d-none")}),t.attr(J,"false"),t.trigger(i.default.Event("collapsed.lte.expandableTable"))):"false"===e&&(t.next().removeClass("d-none"),n.slideDown(500),t.attr(J,"true"),t.trigger(i.default.Event("expanded.lte.expandableTable")))},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(G);n||(n=new t(i.default(this)),i.default(this).data(G,n)),"string"==typeof e&&e.match(/init|toggleRow/)&&n[e]()})},t}();i.default(".expandable-table").ready(function(){tt._jQueryInterface.call(i.default(this),"init")}),i.default(document).on("click",Z,function(){tt._jQueryInterface.call(i.default(this),"toggleRow")}),i.default.fn[X]=tt._jQueryInterface,i.default.fn[X].Constructor=tt,i.default.fn[X].noConflict=function(){return i.default.fn[X]=K,tt._jQueryInterface};var et="Fullscreen",nt="lte.fullscreen",it=i.default.fn[et],rt='[data-widget="fullscreen"]',ot=rt+" i",at={minimizeIcon:"fa-compress-arrows-alt",maximizeIcon:"fa-expand-arrows-alt"},st=function(){function t(t,e){this.element=t,this.options=i.default.extend({},at,e)}var e=t.prototype;return e.toggle=function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?this.windowed():this.fullscreen()},e.fullscreen=function(){document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.webkitRequestFullscreen?document.documentElement.webkitRequestFullscreen():document.documentElement.msRequestFullscreen&&document.documentElement.msRequestFullscreen(),i.default(ot).removeClass(this.options.maximizeIcon).addClass(this.options.minimizeIcon)},e.windowed=function(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i.default(ot).removeClass(this.options.minimizeIcon).addClass(this.options.maximizeIcon)},t._jQueryInterface=function(e){var n=i.default(this).data(nt);n||(n=i.default(this).data());var r=i.default.extend({},at,"object"==typeof e?e:n),o=new t(i.default(this),r);i.default(this).data(nt,"object"==typeof e?e:n),"string"==typeof e&&e.match(/toggle|fullscreen|windowed/)?o[e]():o.init()},t}();i.default(document).on("click",rt,function(){st._jQueryInterface.call(i.default(this),"toggle")}),i.default.fn[et]=st._jQueryInterface,i.default.fn[et].Constructor=st,i.default.fn[et].noConflict=function(){return i.default.fn[et]=it,st._jQueryInterface};var lt="lte.iframe",ut=i.default.fn.IFrame,ct='[data-widget="iframe-fullscreen"]',dt=".content-wrapper",ft=".content-wrapper iframe",ht='[data-widget="iframe"].iframe-mode .navbar-nav',pt=ht+" .nav-item",gt='[data-widget="iframe"].iframe-mode .tab-content',mt=gt+" .tab-empty",vt=gt+" .tab-loading",yt=".main-sidebar .nav-item > a.nav-link",bt=".main-header .nav-item a.nav-link",xt=".main-header a.dropdown-item",wt="iframe-mode",_t="iframe-mode-fullscreen",Ct={onTabClick:function(t){return t},onTabChanged:function(t){return t},onTabCreated:function(t){return t},autoIframeMode:!0,autoItemActive:!0,autoShowNewTab:!0,loadingScreen:!0,useNavbarItems:!0,scrollOffset:40,scrollBehaviorSwap:!1,iconMaximize:"fa-expand",iconMinimize:"fa-compress"},kt=function(){function t(t,e){this._config=e,this._element=t,this._init()}var e=t.prototype;return e.onTabClick=function(t){this._config.onTabClick(t)},e.onTabChanged=function(t){this._config.onTabChanged(t)},e.onTabCreated=function(t){this._config.onTabCreated(t)},e.createTab=function(t,e,n,r){var o=this,a="panel-"+n+"-"+Math.floor(1e3*Math.random()),s="tab-"+n+"-"+Math.floor(1e3*Math.random()),l='<li class="nav-item" role="presentation"><a class="nav-link" data-toggle="row" id="'+s+'" href="#'+a+'" role="tab" aria-controls="'+a+'" aria-selected="false">'+t+"</a></li>";i.default(ht).append(l);var u='<div class="tab-pane fade" id="'+a+'" role="tabpanel" aria-labelledby="'+s+'"><iframe src="'+e+'"></iframe></div>';if(i.default(gt).append(u),r)if(this._config.loadingScreen){var c=i.default(vt);c.fadeIn(),i.default(a+" iframe").ready(function(){"number"==typeof o._config.loadingScreen?(o.switchTab("#"+s,o._config.loadingScreen),setTimeout(function(){c.fadeOut()},o._config.loadingScreen)):(o.switchTab("#"+s,o._config.loadingScreen),c.fadeOut())})}else this.switchTab("#"+s);this.onTabCreated(i.default("#"+s))},e.openTabSidebar=function(t,e){void 0===e&&(e=this._config.autoShowNewTab);var n=i.default(t).clone();void 0===n.attr("href")&&(n=i.default(t).parent("a").clone()),n.find(".right").remove();var r=n.find("p").text();""===r&&(r=n.text());var o=n.attr("href");"#"!==o&&""!==o&&void 0!==o&&this.createTab(r,o,o.replace(".html","").replace("./","").replaceAll("/","-"),e)},e.switchTab=function(t){var e=i.default(t),n=e.attr("href");i.default(mt).hide(),i.default(ht+" .active").tab("dispose").removeClass("active"),this._fixHeight(),e.tab("show"),e.parents("li").addClass("active"),this.onTabChanged(e),this._config.autoItemActive&&this._setItemActive(i.default(n+" iframe").attr("src"))},e.removeActiveTab=function(){var t=i.default(pt+".active"),e=t.parent(),n=t.index();if(t.remove(),i.default(".tab-pane.active").remove(),i.default(gt).children().length==i.default(mt+", "+vt).length)i.default(mt).show();else{var r=n-1;this.switchTab(e.children().eq(r).find("a"))}},e.toggleFullscreen=function(){i.default("body").hasClass(_t)?(i.default(ct+" i").removeClass(this._config.iconMinimize).addClass(this._config.iconMaximize),i.default("body").removeClass(_t),i.default(mt+", "+vt).height("auto"),i.default(dt).height("auto"),i.default(ft).height("auto")):(i.default(ct+" i").removeClass(this._config.iconMaximize).addClass(this._config.iconMinimize),i.default("body").addClass(_t)),i.default(window).trigger("resize"),this._fixHeight(!0)},e._init=function(){window.frameElement&&this._config.autoIframeMode?i.default("body").addClass(wt):i.default(dt).hasClass(wt)&&(this._setupListeners(),this._fixHeight(!0))},e._navScroll=function(t){var e=i.default(ht).scrollLeft();i.default(ht).animate({scrollLeft:e+t},250,"linear")},e._setupListeners=function(){var t=this;i.default(window).on("resize",function(){setTimeout(function(){t._fixHeight()},1)}),i.default(document).on("click",yt,function(e){e.preventDefault(),t.openTabSidebar(e.target)}),this._config.useNavbarItems&&i.default(document).on("click",bt+", "+xt,function(e){e.preventDefault(),t.openTabSidebar(e.target)}),i.default(document).on("click",pt,function(e){e.preventDefault(),t.onTabClick(e.target),t.switchTab(e.target)}),i.default(document).on("click",'[data-widget="iframe-close"]',function(e){e.preventDefault(),t.removeActiveTab()}),i.default(document).on("click",ct,function(e){e.preventDefault(),t.toggleFullscreen()});var e=!1,n=null;i.default(document).on("mousedown",'[data-widget="iframe-scrollleft"]',function(i){i.preventDefault(),clearInterval(n);var r=t._config.scrollOffset;t._config.scrollBehaviorSwap||(r=-r),e=!0,t._navScroll(r),n=setInterval(function(){t._navScroll(r)},250)}),i.default(document).on("mousedown",'[data-widget="iframe-scrollright"]',function(i){i.preventDefault(),clearInterval(n);var r=t._config.scrollOffset;t._config.scrollBehaviorSwap&&(r=-r),e=!0,t._navScroll(r),n=setInterval(function(){t._navScroll(r)},250)}),i.default(document).on("mouseup",function(){e&&(e=!1,clearInterval(n),n=null)})},e._setItemActive=function(t){i.default(yt+", "+xt).removeClass("active"),i.default(bt).parent().removeClass("active");var e=i.default(bt+'[href$="'+t+'"]'),n=i.default('.main-header a.dropdown-item[href$="'+t+'"]'),r=i.default(yt+'[href$="'+t+'"]');e.each(function(t,e){i.default(e).parent().addClass("active")}),n.each(function(t,e){i.default(e).addClass("active")}),r.each(function(t,e){i.default(e).addClass("active"),i.default(e).parents(".nav-treeview").prevAll(".nav-link").addClass("active")})},e._fixHeight=function(t){if(void 0===t&&(t=!1),i.default("body").hasClass(_t)){var e=i.default(window).height();i.default(mt+", "+vt).height(e),i.default(dt).height(e),i.default(ft).height(e)}else{var n=parseFloat(i.default(dt).css("min-height")),r=i.default('[data-widget="iframe"].iframe-mode .nav').outerHeight();1==t?setTimeout(function(){i.default(mt+", "+vt).height(n-r)},50):i.default(ft).height(n-r)}},t._jQueryInterface=function(e){var n=i.default(this).data(lt),r=i.default.extend({},Ct,i.default(this).data());if(n||(n=new t(this,r),i.default(this).data(lt,n)),"string"==typeof e&&e.match(/createTab|openTabSidebar|switchTab|removeActiveTab/)){for(var o,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];(o=n)[e].apply(o,s)}},t}();i.default(window).on("load",function(){kt._jQueryInterface.call(i.default('[data-widget="iframe"]'))}),i.default.fn.IFrame=kt._jQueryInterface,i.default.fn.IFrame.Constructor=kt,i.default.fn.IFrame.noConflict=function(){return i.default.fn.IFrame=ut,kt._jQueryInterface};var Tt="lte.layout",St=i.default.fn.Layout,Et=".main-header",At=".main-sidebar",Lt=".main-sidebar .sidebar",Mt=".main-footer",Dt="sidebar-focused",Ot={scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l",panelAutoHeight:!0,panelAutoHeightMode:"min-height",loginRegisterAutoHeight:!0},It=function(){function t(t,e){this._config=e,this._element=t,this._init()}var e=t.prototype;return e.fixLayoutHeight=function(t){void 0===t&&(t=null);var e=i.default("body"),n=0;(e.hasClass("control-sidebar-slide-open")||e.hasClass("control-sidebar-open")||"control_sidebar"===t)&&(n=i.default(".control-sidebar-content").height());var r={window:i.default(window).height(),header:0!==i.default(Et).length?i.default(Et).outerHeight():0,footer:0!==i.default(Mt).length?i.default(Mt).outerHeight():0,sidebar:0!==i.default(Lt).length?i.default(Lt).height():0,controlSidebar:n},o=this._max(r),a=this._config.panelAutoHeight;!0===a&&(a=0);var s=i.default(".content-wrapper");!1!==a&&(o===r.controlSidebar?e.hasClass("layout-top-nav")?s.css(this._config.panelAutoHeightMode,o+a+r.header+r.footer):s.css(this._config.panelAutoHeightMode,o+a):s.css(this._config.panelAutoHeightMode,o===r.window?o+a-r.header-r.footer:o+a-r.header),this._isFooterFixed()&&s.css(this._config.panelAutoHeightMode,parseFloat(s.css(this._config.panelAutoHeightMode))+r.footer)),e.hasClass("layout-fixed")&&(!1!==a&&s.css(this._config.panelAutoHeightMode,o+a-r.header-r.footer),void 0!==i.default.fn.overlayScrollbars&&i.default(Lt).overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}))},e.fixLoginRegisterHeight=function(){var t=i.default("body"),e=i.default(".login-box, .register-box");if(0===e.length)t.css("height","auto"),i.default("html").css("height","auto");else{var n=e.height();t.css(this._config.panelAutoHeightMode)!==n&&t.css(this._config.panelAutoHeightMode,n)}},e._init=function(){var t=this;this.fixLayoutHeight(),!0===this._config.loginRegisterAutoHeight?this.fixLoginRegisterHeight():this._config.loginRegisterAutoHeight===parseInt(this._config.loginRegisterAutoHeight,10)&&setInterval(this.fixLoginRegisterHeight,this._config.loginRegisterAutoHeight),i.default(Lt).on("collapsed.lte.treeview expanded.lte.treeview",function(){t.fixLayoutHeight()}),i.default('[data-widget="pushmenu"]').on("collapsed.lte.pushmenu shown.lte.pushmenu",function(){t.fixLayoutHeight()}),i.default('[data-widget="control-sidebar"]').on("collapsed.lte.controlsidebar",function(){t.fixLayoutHeight()}).on("expanded.lte.controlsidebar",function(){t.fixLayoutHeight("control_sidebar")}),i.default(window).resize(function(){t.fixLayoutHeight()}),i.default(document).ready(function(){t.fixLayoutHeight()}),setTimeout(function(){i.default("body.hold-transition").removeClass("hold-transition")},50)},e._max=function(t){var e=0;return Object.keys(t).forEach(function(n){t[n]>e&&(e=t[n])}),e},e._isFooterFixed=function(){return"fixed"===i.default(Mt).css("position")},t._jQueryInterface=function(e){return void 0===e&&(e=""),this.each(function(){var n=i.default(this).data(Tt),r=i.default.extend({},Ot,i.default(this).data());n||(n=new t(i.default(this),r),i.default(this).data(Tt,n)),"init"===e||""===e?n._init():"fixLayoutHeight"!==e&&"fixLoginRegisterHeight"!==e||n[e]()})},t}();i.default(window).on("load",function(){It._jQueryInterface.call(i.default("body"))}),i.default(Lt+" a").on("focusin",function(){i.default(At).addClass(Dt)}),i.default(Lt+" a").on("focusout",function(){i.default(At).removeClass(Dt)}),i.default.fn.Layout=It._jQueryInterface,i.default.fn.Layout.Constructor=It,i.default.fn.Layout.noConflict=function(){return i.default.fn.Layout=St,It._jQueryInterface};var Pt="PushMenu",Nt="lte.pushmenu",zt="."+Nt,Ft=i.default.fn[Pt],Bt='[data-widget="pushmenu"]',jt="body",Rt="sidebar-collapse",Ht="sidebar-open",Wt="sidebar-is-opening",qt="sidebar-closed",Vt={autoCollapseSize:992,enableRemember:!1,noTransitionAfterReload:!0},Ut=function(){function t(t,e){this._element=t,this._options=i.default.extend({},Vt,e),0===i.default("#sidebar-overlay").length&&this._addOverlay(),this._init()}var e=t.prototype;return e.expand=function(){var t=i.default(jt);this._options.autoCollapseSize&&i.default(window).width()<=this._options.autoCollapseSize&&t.addClass(Ht),t.addClass(Wt).removeClass("sidebar-collapse sidebar-closed").delay(50).queue(function(){t.removeClass(Wt),i.default(this).dequeue()}),this._options.enableRemember&&localStorage.setItem("remember"+zt,Ht),i.default(this._element).trigger(i.default.Event("shown.lte.pushmenu"))},e.collapse=function(){var t=i.default(jt);this._options.autoCollapseSize&&i.default(window).width()<=this._options.autoCollapseSize&&t.removeClass(Ht).addClass(qt),t.addClass(Rt),this._options.enableRemember&&localStorage.setItem("remember"+zt,Rt),i.default(this._element).trigger(i.default.Event("collapsed.lte.pushmenu"))},e.toggle=function(){i.default(jt).hasClass(Rt)?this.expand():this.collapse()},e.autoCollapse=function(t){if(void 0===t&&(t=!1),this._options.autoCollapseSize){var e=i.default(jt);i.default(window).width()<=this._options.autoCollapseSize?e.hasClass(Ht)||this.collapse():!0===t&&(e.hasClass(Ht)?e.removeClass(Ht):e.hasClass(qt)&&this.expand())}},e.remember=function(){if(this._options.enableRemember){var t=i.default("body");localStorage.getItem("remember"+zt)===Rt?this._options.noTransitionAfterReload?t.addClass("hold-transition").addClass(Rt).delay(50).queue(function(){i.default(this).removeClass("hold-transition"),i.default(this).dequeue()}):t.addClass(Rt):this._options.noTransitionAfterReload?t.addClass("hold-transition").removeClass(Rt).delay(50).queue(function(){i.default(this).removeClass("hold-transition"),i.default(this).dequeue()}):t.removeClass(Rt)}},e._init=function(){var t=this;this.remember(),this.autoCollapse(),i.default(window).resize(function(){t.autoCollapse(!0)})},e._addOverlay=function(){var t=this,e=i.default("<div />",{id:"sidebar-overlay"});e.on("click",function(){t.collapse()}),i.default(".wrapper").append(e)},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(Nt),r=i.default.extend({},Vt,i.default(this).data());n||(n=new t(this,r),i.default(this).data(Nt,n)),"string"==typeof e&&e.match(/collapse|expand|toggle/)&&n[e]()})},t}();i.default(document).on("click",Bt,function(t){t.preventDefault();var e=t.currentTarget;"pushmenu"!==i.default(e).data("widget")&&(e=i.default(e).closest(Bt)),Ut._jQueryInterface.call(i.default(e),"toggle")}),i.default(window).on("load",function(){Ut._jQueryInterface.call(i.default(Bt))}),i.default.fn[Pt]=Ut._jQueryInterface,i.default.fn[Pt].Constructor=Ut,i.default.fn[Pt].noConflict=function(){return i.default.fn[Pt]=Ft,Ut._jQueryInterface};var Yt="SidebarSearch",$t="lte.sidebar-search",Qt=i.default.fn[Yt],Xt="sidebar-search-open",Gt="fa-search",Kt="fa-times",Zt='[data-widget="sidebar-search"]',Jt=Zt+" .form-control",te=Zt+" .btn",ee=te+" i",ne=".sidebar-search-results",ie=".sidebar-search-results .list-group",re={arrowSign:"->",minLength:3,maxResults:7,highlightName:!0,highlightPath:!1,highlightClass:"text-light",notFoundText:"No element found!"},oe=[],ae=function(){function t(t,e){this.element=t,this.options=i.default.extend({},re,e),this.items=[]}var n=t.prototype;return n.init=function(){var t=this;0!=i.default(Zt).length&&(0==i.default(Zt).next(ne).length&&i.default(Zt).after(i.default("<div />",{class:"sidebar-search-results"})),0==i.default(ne).children(".list-group").length&&i.default(ne).append(i.default("<div />",{class:"list-group"})),this._addNotFound(),i.default(".main-sidebar .nav-sidebar").children().each(function(e,n){t._parseItem(n)}))},n.search=function(){var t=this,e=i.default(Jt).val().toLowerCase();if(e.length<this.options.minLength)return i.default(ie).empty(),this._addNotFound(),void this.close();var n=oe.filter(function(t){return t.name.toLowerCase().includes(e)}),r=i.default(n.slice(0,this.options.maxResults));i.default(ie).empty(),0===r.length?this._addNotFound():r.each(function(e,n){i.default(ie).append(t._renderItem(n.name,n.link,n.path))}),this.open()},n.open=function(){i.default(Zt).parent().addClass(Xt),i.default(ee).removeClass(Gt).addClass(Kt)},n.close=function(){i.default(Zt).parent().removeClass(Xt),i.default(ee).removeClass(Kt).addClass(Gt)},n.toggle=function(){i.default(Zt).parent().hasClass(Xt)?this.close():this.open()},n._parseItem=function(t,e){var n=this;if(void 0===e&&(e=[]),!i.default(t).hasClass("nav-header")){var r={},o=i.default(t).clone().find("> .nav-link"),a=i.default(t).clone().find("> .nav-treeview"),s=o.attr("href"),l=o.find("p").children().remove().end().text();if(r.name=this._trimText(l),r.link=s,r.path=e,0===a.length)oe.push(r);else{var u=r.path.concat([r.name]);a.children().each(function(t,e){n._parseItem(e,u)})}}},n._trimText=function(t){return e.trim(t.replace(/(\r\n|\n|\r)/gm," "))},n._renderItem=function(t,e,n){var r=this;if(n=n.join(" "+this.options.arrowSign+" "),this.options.highlightName||this.options.highlightPath){var o=i.default(Jt).val().toLowerCase(),a=new RegExp(o,"gi");this.options.highlightName&&(t=t.replace(a,function(t){return'<b class="'+r.options.highlightClass+'">'+t+"</b>"})),this.options.highlightPath&&(n=n.replace(a,function(t){return'<b class="'+r.options.highlightClass+'">'+t+"</b>"}))}return'<a href="'+e+'" class="list-group-item">\n <div class="search-title">\n '+t+'\n </div>\n <div class="search-path">\n '+n+"\n </div>\n </a>"},n._addNotFound=function(){i.default(ie).append(this._renderItem(this.options.notFoundText,"#",[]))},t._jQueryInterface=function(e){var n=i.default(this).data($t);n||(n=i.default(this).data());var r=i.default.extend({},re,"object"==typeof e?e:n),o=new t(i.default(this),r);i.default(this).data($t,"object"==typeof e?e:n),"string"==typeof e&&e.match(/init|toggle|close|open|search/)?o[e]():o.init()},t}();i.default(document).on("click",te,function(t){t.preventDefault(),ae._jQueryInterface.call(i.default(Zt),"toggle")}),i.default(document).on("keyup",Jt,function(t){if(38==t.keyCode)return t.preventDefault(),void i.default(ie).children().last().focus();if(40==t.keyCode)return t.preventDefault(),void i.default(ie).children().first().focus();var e=0;clearTimeout(e),e=setTimeout(function(){ae._jQueryInterface.call(i.default(Zt),"search")},100)}),i.default(document).on("keydown",ie,function(t){var e=i.default(":focus");38==t.keyCode&&(t.preventDefault(),e.is(":first-child")?e.siblings().last().focus():e.prev().focus()),40==t.keyCode&&(t.preventDefault(),e.is(":last-child")?e.siblings().first().focus():e.next().focus())}),i.default(window).on("load",function(){ae._jQueryInterface.call(i.default(Zt),"init")}),i.default.fn[Yt]=ae._jQueryInterface,i.default.fn[Yt].Constructor=ae,i.default.fn[Yt].noConflict=function(){return i.default.fn[Yt]=Qt,ae._jQueryInterface};var se=i.default.fn.Toasts,le="topRight",ue="topLeft",ce="bottomRight",de="bottomLeft",fe={position:le,fixed:!0,autohide:!1,autoremove:!0,delay:1e3,fade:!0,icon:null,image:null,imageAlt:null,imageHeight:"25px",title:null,subtitle:null,close:!0,body:null,class:null},he=function(){function t(t,e){this._config=e,this._prepareContainer(),i.default("body").trigger(i.default.Event("init.lte.toasts"))}var e=t.prototype;return e.create=function(){var t=i.default('<div class="toast" role="alert" aria-live="assertive" aria-atomic="true"/>');t.data("autohide",this._config.autohide),t.data("animation",this._config.fade),this._config.class&&t.addClass(this._config.class),this._config.delay&&500!=this._config.delay&&t.data("delay",this._config.delay);var e=i.default('<div class="toast-header">');if(null!=this._config.image){var n=i.default("<img />").addClass("rounded mr-2").attr("src",this._config.image).attr("alt",this._config.imageAlt);null!=this._config.imageHeight&&n.height(this._config.imageHeight).width("auto"),e.append(n)}if(null!=this._config.icon&&e.append(i.default("<i />").addClass("mr-2").addClass(this._config.icon)),null!=this._config.title&&e.append(i.default("<strong />").addClass("mr-auto").html(this._config.title)),null!=this._config.subtitle&&e.append(i.default("<small />").html(this._config.subtitle)),1==this._config.close){var r=i.default('<button data-dismiss="toast" />').attr("type","button").addClass("ml-2 mb-1 close").attr("aria-label","Close").append('<span aria-hidden="true">×</span>');null==this._config.title&&r.toggleClass("ml-2 ml-auto"),e.append(r)}t.append(e),null!=this._config.body&&t.append(i.default('<div class="toast-body" />').html(this._config.body)),i.default(this._getContainerId()).prepend(t);var o=i.default("body");o.trigger(i.default.Event("created.lte.toasts")),t.toast("show"),this._config.autoremove&&t.on("hidden.bs.toast",function(){i.default(this).delay(200).remove(),o.trigger(i.default.Event("removed.lte.toasts"))})},e._getContainerId=function(){return this._config.position==le?"#toastsContainerTopRight":this._config.position==ue?"#toastsContainerTopLeft":this._config.position==ce?"#toastsContainerBottomRight":this._config.position==de?"#toastsContainerBottomLeft":void 0},e._prepareContainer=function(){if(0===i.default(this._getContainerId()).length){var t=i.default("<div />").attr("id",this._getContainerId().replace("#",""));this._config.position==le?t.addClass("toasts-top-right"):this._config.position==ue?t.addClass("toasts-top-left"):this._config.position==ce?t.addClass("toasts-bottom-right"):this._config.position==de&&t.addClass("toasts-bottom-left"),i.default("body").append(t)}this._config.fixed?i.default(this._getContainerId()).addClass("fixed"):i.default(this._getContainerId()).removeClass("fixed")},t._jQueryInterface=function(e,n){return this.each(function(){var r=i.default.extend({},fe,n),o=new t(i.default(this),r);"create"===e&&o[e]()})},t}();i.default.fn.Toasts=he._jQueryInterface,i.default.fn.Toasts.Constructor=he,i.default.fn.Toasts.noConflict=function(){return i.default.fn.Toasts=se,he._jQueryInterface};var pe="TodoList",ge="lte.todolist",me=i.default.fn[pe],ve="done",ye={onCheck:function(t){return t},onUnCheck:function(t){return t}},be=function(){function t(t,e){this._config=e,this._element=t,this._init()}var e=t.prototype;return e.toggle=function(t){t.parents("li").toggleClass(ve),i.default(t).prop("checked")?this.check(t):this.unCheck(i.default(t))},e.check=function(t){this._config.onCheck.call(t)},e.unCheck=function(t){this._config.onUnCheck.call(t)},e._init=function(){var t=this,e=this._element;e.find("input:checkbox:checked").parents("li").toggleClass(ve),e.on("change","input:checkbox",function(e){t.toggle(i.default(e.target))})},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(ge);n||(n=i.default(this).data());var r=i.default.extend({},ye,"object"==typeof e?e:n),o=new t(i.default(this),r);i.default(this).data(ge,"object"==typeof e?e:n),"init"===e&&o[e]()})},t}();i.default(window).on("load",function(){be._jQueryInterface.call(i.default('[data-widget="todo-list"]'))}),i.default.fn[pe]=be._jQueryInterface,i.default.fn[pe].Constructor=be,i.default.fn[pe].noConflict=function(){return i.default.fn[pe]=me,be._jQueryInterface};var xe="Treeview",we="lte.treeview",_e=i.default.fn[xe],Ce=".nav-item",ke=".nav-treeview",Te=".menu-open",Se='[data-widget="treeview"]',Ee="menu-open",Ae={trigger:Se+" .nav-link",animationSpeed:300,accordion:!0,expandSidebar:!1,sidebarButtonSelector:'[data-widget="pushmenu"]'},Le=function(){function t(t,e){this._config=e,this._element=t}var e=t.prototype;return e.init=function(){i.default(".nav-item.menu-open .nav-treeview").css("display","block"),this._setupListeners()},e.expand=function(t,e){var n=this,r=i.default.Event("expanded.lte.treeview");if(this._config.accordion){var o=e.siblings(Te).first(),a=o.find(ke).first();this.collapse(a,o)}e.addClass("menu-is-opening"),t.stop().slideDown(this._config.animationSpeed,function(){e.addClass(Ee),i.default(n._element).trigger(r)}),this._config.expandSidebar&&this._expandSidebar()},e.collapse=function(t,e){var n=this,r=i.default.Event("collapsed.lte.treeview");e.removeClass("menu-is-opening menu-open"),t.stop().slideUp(this._config.animationSpeed,function(){i.default(n._element).trigger(r),t.find(".menu-open > .nav-treeview").slideUp(),t.find(Te).removeClass(Ee)})},e.toggle=function(t){var e=i.default(t.currentTarget),n=e.parent(),r=n.find("> .nav-treeview");if(r.is(ke)||(n.is(Ce)||(r=n.parent().find("> .nav-treeview")),r.is(ke))){t.preventDefault();var o=e.parents(Ce).first();o.hasClass(Ee)?this.collapse(i.default(r),o):this.expand(i.default(r),o)}},e._setupListeners=function(){var t=this,e=void 0!==this._element.attr("id")?"#"+this._element.attr("id"):"";i.default(document).on("click",""+e+this._config.trigger,function(e){t.toggle(e)})},e._expandSidebar=function(){i.default("body").hasClass("sidebar-collapse")&&i.default(this._config.sidebarButtonSelector).PushMenu("expand")},t._jQueryInterface=function(e){return this.each(function(){var n=i.default(this).data(we),r=i.default.extend({},Ae,i.default(this).data());n||(n=new t(i.default(this),r),i.default(this).data(we,n)),"init"===e&&n[e]()})},t}();i.default(window).on("load.lte.treeview",function(){i.default(Se).each(function(){Le._jQueryInterface.call(i.default(this),"init")})}),i.default.fn[xe]=Le._jQueryInterface,i.default.fn[xe].Constructor=Le,i.default.fn[xe].noConflict=function(){return i.default.fn[xe]=_e,Le._jQueryInterface},t.CardRefresh=u,t.CardWidget=_,t.ControlSidebar=j,t.DirectChat=q,t.Dropdown=Q,t.ExpandableTable=tt,t.Fullscreen=st,t.IFrame=kt,t.Layout=It,t.PushMenu=Ut,t.SidebarSearch=ae,t.Toasts=he,t.TodoList=be,t.Treeview=Le,Object.defineProperty(t,"__esModule",{value:!0})}),function(t){"use strict";var e=t(".control-sidebar"),n=t("<div />",{class:"p-3 control-sidebar-content"});e.append(n);var i=["navbar-primary","navbar-secondary","navbar-info","navbar-success","navbar-danger","navbar-indigo","navbar-purple","navbar-pink","navbar-navy","navbar-lightblue","navbar-teal","navbar-cyan","navbar-dark","navbar-gray-dark","navbar-gray"];n.append('<h5>Customize AdminLTE</h5><hr class="mb-2"/>');var r=t("<input />",{type:"checkbox",value:1,checked:t(".main-header").hasClass("border-bottom-0"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".main-header").addClass("border-bottom-0"):t(".main-header").removeClass("border-bottom-0")}),o=t("<div />",{class:"mb-1"}).append(r).append("<span>No Navbar border</span>");n.append(o);var a=t("<input />",{type:"checkbox",value:1,checked:t("body").hasClass("text-sm"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t("body").addClass("text-sm"):t("body").removeClass("text-sm")}),s=t("<div />",{class:"mb-1"}).append(a).append("<span>Body small text</span>");n.append(s);var l=t("<input />",{type:"checkbox",value:1,checked:t(".main-header").hasClass("text-sm"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".main-header").addClass("text-sm"):t(".main-header").removeClass("text-sm")}),u=t("<div />",{class:"mb-1"}).append(l).append("<span>Navbar small text</span>");n.append(u);var c=t("<input />",{type:"checkbox",value:1,checked:t(".nav-sidebar").hasClass("text-sm"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".nav-sidebar").addClass("text-sm"):t(".nav-sidebar").removeClass("text-sm")}),d=t("<div />",{class:"mb-1"}).append(c).append("<span>Sidebar nav small text</span>");n.append(d);var f=t("<input />",{type:"checkbox",value:1,checked:t(".main-footer").hasClass("text-sm"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".main-footer").addClass("text-sm"):t(".main-footer").removeClass("text-sm")}),h=t("<div />",{class:"mb-1"}).append(f).append("<span>Footer small text</span>");n.append(h);var p=t("<input />",{type:"checkbox",value:1,checked:t(".nav-sidebar").hasClass("nav-flat"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".nav-sidebar").addClass("nav-flat"):t(".nav-sidebar").removeClass("nav-flat")}),g=t("<div />",{class:"mb-1"}).append(p).append("<span>Sidebar nav flat style</span>");n.append(g);var m=t("<input />",{type:"checkbox",value:1,checked:t(".nav-sidebar").hasClass("nav-legacy"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".nav-sidebar").addClass("nav-legacy"):t(".nav-sidebar").removeClass("nav-legacy")}),v=t("<div />",{class:"mb-1"}).append(m).append("<span>Sidebar nav legacy style</span>");n.append(v);var y=t("<input />",{type:"checkbox",value:1,checked:t(".nav-sidebar").hasClass("nav-compact"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".nav-sidebar").addClass("nav-compact"):t(".nav-sidebar").removeClass("nav-compact")}),b=t("<div />",{class:"mb-1"}).append(y).append("<span>Sidebar nav compact</span>");n.append(b);var x=t("<input />",{type:"checkbox",value:1,checked:t(".nav-sidebar").hasClass("nav-child-indent"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".nav-sidebar").addClass("nav-child-indent"):t(".nav-sidebar").removeClass("nav-child-indent")}),w=t("<div />",{class:"mb-1"}).append(x).append("<span>Sidebar nav child indent</span>");n.append(w);var _=t("<input />",{type:"checkbox",value:1,checked:t(".nav-sidebar").hasClass("nav-collapse-hide-child"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".nav-sidebar").addClass("nav-collapse-hide-child"):t(".nav-sidebar").removeClass("nav-collapse-hide-child")}),C=t("<div />",{class:"mb-1"}).append(_).append("<span>Sidebar nav child hide on collapse</span>");n.append(C);var k=t("<input />",{type:"checkbox",value:1,checked:t(".main-sidebar").hasClass("sidebar-no-expand"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".main-sidebar").addClass("sidebar-no-expand"):t(".main-sidebar").removeClass("sidebar-no-expand")}),T=t("<div />",{class:"mb-1"}).append(k).append("<span>Main Sidebar disable hover/focus auto expand</span>");n.append(T);var S=t("<input />",{type:"checkbox",value:1,checked:t(".brand-link").hasClass("text-sm"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t(".brand-link").addClass("text-sm"):t(".brand-link").removeClass("text-sm")}),E=t("<div />",{class:"mb-1"}).append(S).append("<span>Brand small text</span>");n.append(E);var A=t("<input />",{type:"checkbox",value:1,checked:t("body").hasClass("dark-mode"),class:"mr-1"}).on("click",function(){t(this).is(":checked")?t("body").addClass("dark-mode"):t("body").removeClass("dark-mode")}),L=t("<div />",{class:"mb-4"}).append(A).append("<span>Dark Mode</span>");n.append(L),n.append("<h6>Navbar Variants</h6>");var M=t("<div />",{class:"d-flex"}),D=i.concat(["navbar-light","navbar-warning","navbar-white","navbar-orange"]),O=W(D,function(){var e=t(this).data("color"),n=t(".main-header");n.removeClass("navbar-dark").removeClass("navbar-light"),D.forEach(function(t){n.removeClass(t)}),i.indexOf(e)>-1?n.addClass("navbar-dark"):n.addClass("navbar-light"),n.addClass(e)});M.append(O),n.append(M);var I=["bg-primary","bg-warning","bg-info","bg-danger","bg-success","bg-indigo","bg-lightblue","bg-navy","bg-purple","bg-fuchsia","bg-pink","bg-maroon","bg-orange","bg-lime","bg-teal","bg-olive"],P=["accent-primary","accent-warning","accent-info","accent-danger","accent-success","accent-indigo","accent-lightblue","accent-navy","accent-purple","accent-fuchsia","accent-pink","accent-maroon","accent-orange","accent-lime","accent-teal","accent-olive"],N=["sidebar-dark-primary","sidebar-dark-warning","sidebar-dark-info","sidebar-dark-danger","sidebar-dark-success","sidebar-dark-indigo","sidebar-dark-lightblue","sidebar-dark-navy","sidebar-dark-purple","sidebar-dark-fuchsia","sidebar-dark-pink","sidebar-dark-maroon","sidebar-dark-orange","sidebar-dark-lime","sidebar-dark-teal","sidebar-dark-olive","sidebar-light-primary","sidebar-light-warning","sidebar-light-info","sidebar-light-danger","sidebar-light-success","sidebar-light-indigo","sidebar-light-lightblue","sidebar-light-navy","sidebar-light-purple","sidebar-light-fuchsia","sidebar-light-pink","sidebar-light-maroon","sidebar-light-orange","sidebar-light-lime","sidebar-light-teal","sidebar-light-olive"];n.append("<h6>Accent Color Variants</h6>");var z=t("<div />",{class:"d-flex"});n.append(z),n.append(W(P,function(){var e=t(this).data("color"),n=t("body");P.forEach(function(t){n.removeClass(t)}),n.addClass(e)})),n.append("<h6>Dark Sidebar Variants</h6>");var F=t("<div />",{class:"d-flex"});n.append(F),n.append(W(I,function(){var e="sidebar-dark-"+t(this).data("color").replace("bg-",""),n=t(".main-sidebar");N.forEach(function(t){n.removeClass(t)}),n.addClass(e)})),n.append("<h6>Light Sidebar Variants</h6>");var B=t("<div />",{class:"d-flex"});n.append(B),n.append(W(I,function(){var e="sidebar-light-"+t(this).data("color").replace("bg-",""),n=t(".main-sidebar");N.forEach(function(t){n.removeClass(t)}),n.addClass(e)}));var j=D;n.append("<h6>Brand Logo Variants</h6>");var R=t("<div />",{class:"d-flex"});n.append(R);var H=t("<a />",{href:"#"}).text("clear").on("click",function(e){e.preventDefault();var n=t(".brand-link");j.forEach(function(t){n.removeClass(t)})});function W(e,n){var i=t("<div />",{class:"d-flex flex-wrap mb-3"});return e.forEach(function(e){var r=t("<div />",{class:("object"==typeof e?e.join(" "):e).replace("navbar-","bg-").replace("accent-","bg-")+" elevation-2"});i.append(r),r.data("color",e),r.css({width:"40px",height:"20px",borderRadius:"25px",marginRight:10,marginBottom:10,opacity:.8,cursor:"pointer"}),r.hover(function(){t(this).css({opacity:1}).removeClass("elevation-2").addClass("elevation-4")},function(){t(this).css({opacity:.8}).removeClass("elevation-4").addClass("elevation-2")}),n&&r.on("click",n)}),i}n.append(W(j,function(){var e=t(this).data("color"),n=t(".brand-link");j.forEach(function(t){n.removeClass(t)}),n.addClass(e)}).append(H)),t(".product-image-thumb").on("click",function(){var e=t(this).find("img");t(".product-image").prop("src",t(e).attr("src")),t(".product-image-thumb.active").removeClass("active"),t(this).addClass("active")})}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){var e,n,i=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],o=Array.prototype.slice;if(t.event.fixHooks)for(var a=i.length;a;)t.event.fixHooks[i[--a]]=t.event.mouseHooks;var s=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=r.length;e;)this.addEventListener(r[--e],l,!1);else this.onmousewheel=l;t.data(this,"mousewheel-line-height",s.getLineHeight(this)),t.data(this,"mousewheel-page-height",s.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=r.length;e;)this.removeEventListener(r[--e],l,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var n=t(e),i=n["offsetParent"in t.fn?"offsetParent":"parent"]();return i.length||(i=t("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(i){var r=i||window.event,a=o.call(arguments,1),l=0,d=0,f=0,h=0,p=0,g=0;if((i=t.event.fix(r)).type="mousewheel","detail"in r&&(f=-1*r.detail),"wheelDelta"in r&&(f=r.wheelDelta),"wheelDeltaY"in r&&(f=r.wheelDeltaY),"wheelDeltaX"in r&&(d=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(d=-1*f,f=0),l=0===f?d:f,"deltaY"in r&&(l=f=-1*r.deltaY),"deltaX"in r&&(d=r.deltaX,0===f&&(l=-1*d)),0!==f||0!==d){if(1===r.deltaMode){var m=t.data(this,"mousewheel-line-height");l*=m,f*=m,d*=m}else if(2===r.deltaMode){var v=t.data(this,"mousewheel-page-height");l*=v,f*=v,d*=v}if(h=Math.max(Math.abs(f),Math.abs(d)),(!n||h<n)&&(n=h,c(r,h)&&(n/=40)),c(r,h)&&(l/=40,d/=40,f/=40),l=Math[l>=1?"floor":"ceil"](l/n),d=Math[d>=1?"floor":"ceil"](d/n),f=Math[f>=1?"floor":"ceil"](f/n),s.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=i.clientX-y.left,g=i.clientY-y.top}return i.deltaX=d,i.deltaY=f,i.deltaFactor=n,i.offsetX=p,i.offsetY=g,i.deltaMode=0,a.unshift(i,l,d,f),e&&clearTimeout(e),e=setTimeout(u,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function u(){n=null}function c(t,e){return s.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Raphael=e():t.Raphael=e()}(window,function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,(function(e){return t[e]}).bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){var i,r;i=[n(2)],void 0===(r=(function(t){function e(i){if(e.is(i,"function"))return n?i():t.on("raphael.DOMload",i);if(e.is(i,M))return e._engine.create[h](e,i.splice(0,3+e.is(i[0],L))).add(i);var r=Array.prototype.slice.call(arguments,0);if(e.is(r[r.length-1],"function")){var o=r.pop();return n?o.call(e._engine.create[h](e,r)):t.on("raphael.DOMload",function(){o.call(e._engine.create[h](e,r))})}return e._engine.create[h](e,arguments)}e.version="2.3.0",e.eve=t;var n,i,r,o,a=/[, ]+/,s={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},l=/\{(\d+)\}/g,u="hasOwnProperty",c={doc:document,win:window},d={was:Object.prototype[u].call(c.win,"Raphael"),is:c.win.Raphael},f=function(){this.ca=this.customAttributes={}},h="apply",p="concat",g="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,m="",v=" ",y=String,b="split",x="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[b](v),w={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},_=y.prototype.toLowerCase,C=Math,k=C.max,T=C.min,S=C.abs,E=C.pow,A=C.PI,L="number",M="array",D=Object.prototype.toString,O=(e._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),I={NaN:1,Infinity:1,"-Infinity":1},P=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,N=C.round,z=parseFloat,F=parseInt,B=y.prototype.toUpperCase,j=e._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},R=e._availableAnimAttrs={blur:L,"clip-rect":"csv",cx:L,cy:L,fill:"colour","fill-opacity":L,"font-size":L,height:L,opacity:L,path:"path",r:L,rx:L,ry:L,stroke:"colour","stroke-opacity":L,"stroke-width":L,transform:"transform",width:L,x:L,y:L},H=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,W={hs:1,rg:1},q=/,?([achlmqrstvxz]),?/gi,V=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,U=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,Y=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,$=(e._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),Q=function(t,e){return z(t)-z(e)},X=function(t){return t},G=e._rectPath=function(t,e,n,i,r){return r?[["M",t+r,e],["l",n-2*r,0],["a",r,r,0,0,1,r,r],["l",0,i-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-n,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-i],["a",r,r,0,0,1,r,-r],["z"]]:[["M",t,e],["l",n,0],["l",0,i],["l",-n,0],["z"]]},K=function(t,e,n,i){return null==i&&(i=n),[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]]},Z=e._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return K(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return K(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return G(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return G(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return G(e.x,e.y,e.width,e.height)},set:function(t){var e=t._getBBox();return G(e.x,e.y,e.width,e.height)}},J=e.mapPath=function(t,e){if(!e)return t;var n,i,r,o,a,s,l;for(r=0,a=(t=Et(t)).length;r<a;r++)for(o=1,s=(l=t[r]).length;o<s;o+=2)n=e.x(l[o],l[o+1]),i=e.y(l[o],l[o+1]),l[o]=n,l[o+1]=i;return t};if(e._g=c,"VML"==(e.type=c.win.SVGAngle||c.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML")){var tt,et=c.doc.createElement("div");if(et.innerHTML='<v:shape adj="1"/>',(tt=et.firstChild).style.behavior="url(#default#VML)",!tt||"object"!=typeof tt.adj)return e.type=m;et=null}function nt(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var n in t)t[u](n)&&(e[n]=nt(t[n]));return e}e.svg=!(e.vml="VML"==e.type),e._Paper=f,e.fn=i=f.prototype=e.prototype,e._id=0,e.is=function(t,e){return"finite"==(e=_.call(e))?!I[u](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||D.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,n,i,r,o,a){if(null==o){var s=t-i,l=n-r;return s||l?(180+180*C.atan2(-l,-s)/A+360)%360:0}return e.angle(t,n,o,a)-e.angle(i,r,o,a)},e.rad=function(t){return t%360*A/180},e.deg=function(t){return Math.round(180*t/A%360*1e3)/1e3},e.snapTo=function(t,n,i){if(i=e.is(i,"finite")?i:10,e.is(t,M)){for(var r=t.length;r--;)if(S(t[r]-n)<=i)return t[r]}else{var o=n%(t=+t);if(o<i)return n-o;if(o>t-i)return n-o+t}return n},e.createUUID=(r=/[xy]/g,o=function(t){var e=16*C.random()|0;return("x"==t?e:3&e|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(r,o).toUpperCase()}),e.setWindow=function(n){t("raphael.setWindow",e,c.win,n),c.win=n,c.doc=c.win.document,e._engine.initWin&&e._engine.initWin(c.win)};var it=function(t){if(e.vml){var n,i=/^\s+|\s+$/g;try{var r=new ActiveXObject("htmlfile");r.write("<body>"),r.close(),n=r.body}catch(t){n=createPopup().document.body}var o=n.createTextRange();it=ut(function(t){try{n.style.color=y(t).replace(i,m);var e=o.queryCommandValue("ForeColor");return"#"+("000000"+(e=(255&e)<<16|65280&e|(16711680&e)>>>16).toString(16)).slice(-6)}catch(t){return"none"}})}else{var a=c.doc.createElement("i");a.title="Raphaël Colour Picker",a.style.display="none",c.doc.body.appendChild(a),it=ut(function(t){return a.style.color=t,c.doc.defaultView.getComputedStyle(a,m).getPropertyValue("color")})}return it(t)},rt=function(){return"hsb("+[this.h,this.s,this.b]+")"},ot=function(){return"hsl("+[this.h,this.s,this.l]+")"},at=function(){return this.hex},st=function(t,n,i){if(null==n&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(i=t.b,n=t.g,t=t.r),null==n&&e.is(t,"string")){var r=e.getRGB(t);t=r.r,n=r.g,i=r.b}return(t>1||n>1||i>1)&&(t/=255,n/=255,i/=255),[t,n,i]},lt=function(t,n,i,r){var o={r:t*=255,g:n*=255,b:i*=255,hex:e.rgb(t,n,i),toString:at};return e.is(r,"finite")&&(o.opacity=r),o};function ut(t,e,n){return function i(){var r=Array.prototype.slice.call(arguments,0),o=r.join("␀"),a=i.cache=i.cache||{},s=i.count=i.count||[];return a[u](o)?(function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}(s,o),n?n(a[o]):a[o]):(s.length>=1e3&&delete a[s.shift()],s.push(o),a[o]=t[h](e,r),n?n(a[o]):a[o])}}function ct(){return this.hex}function dt(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4==i?o[3]={x:+t[0],y:+t[1]}:r-2==i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4==i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(6*o[1].x-o[0].x+o[2].x)/6,(6*o[1].y-o[0].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}e.color=function(t){var n;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(n=e.hsb2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.hex=n.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(n=e.hsl2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.hex=n.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(n=e.rgb2hsl(t),t.h=n.h,t.s=n.s,t.l=n.l,n=e.rgb2hsb(t),t.v=n.b):(t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1),t.toString=at,t},e.hsb2rgb=function(t,e,n,i){var r,o,a,s,l;return this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,i=t.o,t=t.h),s=(l=n*e)*(1-S((t=(t*=360)%360/60)%2-1)),r=o=a=n-l,lt(r+=[l,s,0,0,s,l][t=~~t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],i)},e.hsl2rgb=function(t,e,n,i){var r,o,a,s,l;return this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),s=(l=2*e*(n<.5?n:1-n))*(1-S((t=(t*=360)%360/60)%2-1)),r=o=a=n-l/2,lt(r+=[l,s,0,0,s,l][t=~~t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],i)},e.rgb2hsb=function(t,e,n){var i,r;return t=(n=st(t,e,n))[0],{h:((0==(r=(i=k(t,e=n[1],n=n[2]))-T(t,e,n))?null:i==t?(e-n)/r:i==e?(n-t)/r+2:(t-e)/r+4)+360)%6*60/360,s:0==r?0:r/i,b:i,toString:rt}},e.rgb2hsl=function(t,e,n){var i,r,o,a;return t=(n=st(t,e,n))[0],i=((r=k(t,e=n[1],n=n[2]))+(o=T(t,e,n)))/2,{h:((0==(a=r-o)?null:r==t?(e-n)/a:r==e?(n-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:0==a?0:i<.5?a/(2*i):a/(2-2*i),l:i,toString:ot}},e._path2string=function(){return this.join(",").replace(q,"$1")},e._preload=function(t,e){var n=c.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(this),this.onload=null,c.doc.body.removeChild(this)},n.onerror=function(){c.doc.body.removeChild(this)},c.doc.body.appendChild(n),n.src=t},e.getRGB=ut(function(t){if(!t||(t=y(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ct};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:ct};!W[u](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=it(t));var n,i,r,o,a,s,l=t.match(O);return l?(l[2]&&(r=F(l[2].substring(5),16),i=F(l[2].substring(3,5),16),n=F(l[2].substring(1,3),16)),l[3]&&(r=F((a=l[3].charAt(3))+a,16),i=F((a=l[3].charAt(2))+a,16),n=F((a=l[3].charAt(1))+a,16)),l[4]&&(s=l[4][b](H),n=z(s[0]),"%"==s[0].slice(-1)&&(n*=2.55),i=z(s[1]),"%"==s[1].slice(-1)&&(i*=2.55),r=z(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),"rgba"==l[1].toLowerCase().slice(0,4)&&(o=z(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100)),l[5]?(s=l[5][b](H),n=z(s[0]),"%"==s[0].slice(-1)&&(n*=2.55),i=z(s[1]),"%"==s[1].slice(-1)&&(i*=2.55),r=z(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(n/=360),"hsba"==l[1].toLowerCase().slice(0,4)&&(o=z(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsb2rgb(n,i,r,o)):l[6]?(s=l[6][b](H),n=z(s[0]),"%"==s[0].slice(-1)&&(n*=2.55),i=z(s[1]),"%"==s[1].slice(-1)&&(i*=2.55),r=z(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(n/=360),"hsla"==l[1].toLowerCase().slice(0,4)&&(o=z(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsl2rgb(n,i,r,o)):((l={r:n,g:i,b:r,toString:ct}).hex="#"+(16777216|r|i<<8|n<<16).toString(16).slice(1),e.is(o,"finite")&&(l.opacity=o),l)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ct}},e),e.hsb=ut(function(t,n,i){return e.hsb2rgb(t,n,i).hex}),e.hsl=ut(function(t,n,i){return e.hsl2rgb(t,n,i).hex}),e.rgb=ut(function(t,e,n){function i(t){return t+.5|0}return"#"+(16777216|i(n)|i(e)<<8|i(t)<<16).toString(16).slice(1)}),(e.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},n=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),n.hex}).reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var n=ft(t);if(n.arr)return bt(n.arr);var i={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},r=[];return e.is(t,M)&&e.is(t[0],M)&&(r=bt(t)),r.length||y(t).replace(V,function(t,e,n){var o=[],a=e.toLowerCase();if(n.replace(Y,function(t,e){e&&o.push(+e)}),"m"==a&&o.length>2&&(r.push([e][p](o.splice(0,2))),a="l",e="m"==e?"l":"L"),"r"==a)r.push([e][p](o));else for(;o.length>=i[a]&&(r.push([e][p](o.splice(0,i[a]))),i[a]););}),r.toString=e._path2string,n.arr=bt(r),r},e.parseTransformString=ut(function(t){if(!t)return null;var n=[];return e.is(t,M)&&e.is(t[0],M)&&(n=bt(t)),n.length||y(t).replace(U,function(t,e,i){var r=[];_.call(e),i.replace(Y,function(t,e){e&&r.push(+e)}),n.push([e][p](r))}),n.toString=e._path2string,n},this,function(t){if(!t)return t;for(var e=[],n=0;n<t.length;n++){for(var i=[],r=0;r<t[n].length;r++)i.push(t[n][r]);e.push(i)}return e});var ft=function(t){var e=ft.ps=ft.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var n in e)e[u](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])}),e[t]};function ht(t,e,n,i,r){return t*(t*(-3*e+9*n-9*i+3*r)+6*e-12*n+6*i)-3*e+3*n}function pt(t,e,n,i,r,o,a,s,l){null==l&&(l=1);for(var u=(l=l>1?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,h=0;h<12;h++){var p=u*c[h]+u,g=ht(p,t,n,r,a),m=ht(p,e,i,o,s);f+=d[h]*C.sqrt(g*g+m*m)}return u*f}function gt(t,e,n,i,r,o,a,s){if(!(k(t,n)<T(r,a)||T(t,n)>k(r,a)||k(e,i)<T(o,s)||T(e,i)>k(o,s))){var l=(t-n)*(o-s)-(e-i)*(r-a);if(l){var u=((t*i-e*n)*(r-a)-(t-n)*(r*s-o*a))/l,c=((t*i-e*n)*(o-s)-(e-i)*(r*s-o*a))/l,d=+u.toFixed(2),f=+c.toFixed(2);if(!(d<+T(t,n).toFixed(2)||d>+k(t,n).toFixed(2)||d<+T(r,a).toFixed(2)||d>+k(r,a).toFixed(2)||f<+T(e,i).toFixed(2)||f>+k(e,i).toFixed(2)||f<+T(o,s).toFixed(2)||f>+k(o,s).toFixed(2)))return{x:u,y:c}}}}function mt(t,n,i){var r=e.bezierBBox(t),o=e.bezierBBox(n);if(!e.isBBoxIntersect(r,o))return i?0:[];for(var a=pt.apply(0,t),s=pt.apply(0,n),l=k(~~(a/5),1),u=k(~~(s/5),1),c=[],d=[],f={},h=i?0:[],p=0;p<l+1;p++){var g=e.findDotsAtSegment.apply(e,t.concat(p/l));c.push({x:g.x,y:g.y,t:p/l})}for(p=0;p<u+1;p++)g=e.findDotsAtSegment.apply(e,n.concat(p/u)),d.push({x:g.x,y:g.y,t:p/u});for(p=0;p<l;p++)for(var m=0;m<u;m++){var v=c[p],y=c[p+1],b=d[m],x=d[m+1],w=S(y.x-v.x)<.001?"y":"x",_=S(x.x-b.x)<.001?"y":"x",C=gt(v.x,v.y,y.x,y.y,b.x,b.y,x.x,x.y);if(C){if(f[C.x.toFixed(4)]==C.y.toFixed(4))continue;f[C.x.toFixed(4)]=C.y.toFixed(4);var E=v.t+S((C[w]-v[w])/(y[w]-v[w]))*(y.t-v.t),A=b.t+S((C[_]-b[_])/(x[_]-b[_]))*(x.t-b.t);E>=0&&E<=1.001&&A>=0&&A<=1.001&&(i?h++:h.push({x:C.x,y:C.y,t1:T(E,1),t2:T(A,1)}))}}return h}function vt(t,n,i){t=e._path2curve(t),n=e._path2curve(n);for(var r,o,a,s,l,u,c,d,f,h,p=i?0:[],g=0,m=t.length;g<m;g++){var v=t[g];if("M"==v[0])r=l=v[1],o=u=v[2];else{"C"==v[0]?(f=[r,o].concat(v.slice(1)),r=f[6],o=f[7]):(f=[r,o,r,o,l,u,l,u],r=l,o=u);for(var y=0,b=n.length;y<b;y++){var x=n[y];if("M"==x[0])a=c=x[1],s=d=x[2];else{"C"==x[0]?(h=[a,s].concat(x.slice(1)),a=h[6],s=h[7]):(h=[a,s,a,s,c,d,c,d],a=c,s=d);var w=mt(f,h,i);if(i)p+=w;else{for(var _=0,C=w.length;_<C;_++)w[_].segment1=g,w[_].segment2=y,w[_].bez1=f,w[_].bez2=h;p=p.concat(w)}}}}}return p}e.findDotsAtSegment=function(t,e,n,i,r,o,a,s,l){var u=1-l,c=E(u,3),d=E(u,2),f=l*l,h=f*l,p=c*t+3*d*l*n+3*u*l*l*r+h*a,g=c*e+3*d*l*i+3*u*l*l*o+h*s,m=t+2*l*(n-t)+f*(r-2*n+t),v=e+2*l*(i-e)+f*(o-2*i+e),y=n+2*l*(r-n)+f*(a-2*r+n),b=i+2*l*(o-i)+f*(s-2*o+i),x=u*t+l*n,w=u*e+l*i,_=u*r+l*a,k=u*o+l*s,T=90-180*C.atan2(m-y,v-b)/A;return(m>y||v<b)&&(T+=180),{x:p,y:g,m:{x:m,y:v},n:{x:y,y:b},start:{x:x,y:w},end:{x:_,y:k},alpha:T}},e.bezierBBox=function(t,n,i,r,o,a,s,l){e.is(t,"array")||(t=[t,n,i,r,o,a,s,l]);var u=St.apply(null,t);return{x:u.min.x,y:u.min.y,x2:u.max.x,y2:u.max.y,width:u.max.x-u.min.x,height:u.max.y-u.min.y}},e.isPointInsideBBox=function(t,e,n){return e>=t.x&&e<=t.x2&&n>=t.y&&n<=t.y2},e.isBBoxIntersect=function(t,n){var i=e.isPointInsideBBox;return i(n,t.x,t.y)||i(n,t.x2,t.y)||i(n,t.x,t.y2)||i(n,t.x2,t.y2)||i(t,n.x,n.y)||i(t,n.x2,n.y)||i(t,n.x,n.y2)||i(t,n.x2,n.y2)||(t.x<n.x2&&t.x>n.x||n.x<t.x2&&n.x>t.x)&&(t.y<n.y2&&t.y>n.y||n.y<t.y2&&n.y>t.y)},e.pathIntersection=function(t,e){return vt(t,e)},e.pathIntersectionNumber=function(t,e){return vt(t,e,1)},e.isPointInsidePath=function(t,n,i){var r=e.pathBBox(t);return e.isPointInsideBBox(r,n,i)&&vt(t,[["M",n,i],["H",r.x2+10]],1)%2==1},e._removedFactory=function(e){return function(){t("raphael.log",null,"Raphaël: you are calling to method “"+e+"” of removed object",e)}};var yt=e.pathBBox=function(t){var e=ft(t);if(e.bbox)return nt(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var n,i=0,r=0,o=[],a=[],s=0,l=(t=Et(t)).length;s<l;s++)if("M"==(n=t[s])[0])r=n[2],o.push(i=n[1]),a.push(r);else{var u=St(i,r,n[1],n[2],n[3],n[4],n[5],n[6]);o=o[p](u.min.x,u.max.x),a=a[p](u.min.y,u.max.y),i=n[5],r=n[6]}var c=T[h](0,o),d=T[h](0,a),f=k[h](0,o),g=k[h](0,a),m=f-c,v=g-d,y={x:c,y:d,x2:f,y2:g,width:m,height:v,cx:c+m/2,cy:d+v/2};return e.bbox=nt(y),y},bt=function(t){var n=nt(t);return n.toString=e._path2string,n},xt=e._pathToRelative=function(t){var n=ft(t);if(n.rel)return bt(n.rel);e.is(t,M)&&e.is(t&&t[0],M)||(t=e.parsePathString(t));var i=[],r=0,o=0,a=0,s=0,l=0;"M"==t[0][0]&&(a=r=t[0][1],s=o=t[0][2],l++,i.push(["M",r,o]));for(var u=l,c=t.length;u<c;u++){var d=i[u]=[],f=t[u];if(f[0]!=_.call(f[0]))switch(d[0]=_.call(f[0]),d[0]){case"a":d[1]=f[1],d[2]=f[2],d[3]=f[3],d[4]=f[4],d[5]=f[5],d[6]=+(f[6]-r).toFixed(3),d[7]=+(f[7]-o).toFixed(3);break;case"v":d[1]=+(f[1]-o).toFixed(3);break;case"m":a=f[1],s=f[2];default:for(var h=1,p=f.length;h<p;h++)d[h]=+(f[h]-(h%2?r:o)).toFixed(3)}else{d=i[u]=[],"m"==f[0]&&(a=f[1]+r,s=f[2]+o);for(var g=0,m=f.length;g<m;g++)i[u][g]=f[g]}var v=i[u].length;switch(i[u][0]){case"z":r=a,o=s;break;case"h":r+=+i[u][v-1];break;case"v":o+=+i[u][v-1];break;default:r+=+i[u][v-2],o+=+i[u][v-1]}}return i.toString=e._path2string,n.rel=bt(i),i},wt=e._pathToAbsolute=function(t){var n=ft(t);if(n.abs)return bt(n.abs);if(e.is(t,M)&&e.is(t&&t[0],M)||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var i=[],r=0,o=0,a=0,s=0,l=0;"M"==t[0][0]&&(a=r=+t[0][1],s=o=+t[0][2],l++,i[0]=["M",r,o]);for(var u,c,d=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),f=l,h=t.length;f<h;f++){if(i.push(u=[]),(c=t[f])[0]!=B.call(c[0]))switch(u[0]=B.call(c[0]),u[0]){case"A":u[1]=c[1],u[2]=c[2],u[3]=c[3],u[4]=c[4],u[5]=c[5],u[6]=+(c[6]+r),u[7]=+(c[7]+o);break;case"V":u[1]=+c[1]+o;break;case"H":u[1]=+c[1]+r;break;case"R":for(var g=[r,o][p](c.slice(1)),m=2,v=g.length;m<v;m++)g[m]=+g[m]+r,g[++m]=+g[m]+o;i.pop(),i=i[p](dt(g,d));break;case"M":a=+c[1]+r,s=+c[2]+o;default:for(m=1,v=c.length;m<v;m++)u[m]=+c[m]+(m%2?r:o)}else if("R"==c[0])g=[r,o][p](c.slice(1)),i.pop(),i=i[p](dt(g,d)),u=["R"][p](c.slice(-2));else for(var y=0,b=c.length;y<b;y++)u[y]=c[y];switch(u[0]){case"Z":r=a,o=s;break;case"H":r=u[1];break;case"V":o=u[1];break;case"M":a=u[u.length-2],s=u[u.length-1];default:r=u[u.length-2],o=u[u.length-1]}}return i.toString=e._path2string,n.abs=bt(i),i},_t=function(t,e,n,i){return[t,e,n,i,n,i]},Ct=function(t,e,n,i,r,o){return[1/3*t+2/3*n,1/3*e+2/3*i,1/3*r+2/3*n,1/3*o+2/3*i,r,o]},kt=function(t,e,n,i,r,o,a,s,l,u){var c,d=120*A/180,f=A/180*(+r||0),h=[],g=ut(function(t,e,n){return{x:t*C.cos(n)-e*C.sin(n),y:t*C.sin(n)+e*C.cos(n)}});if(u)E=u[0],L=u[1],k=u[2],T=u[3];else{t=(c=g(t,e,-f)).x,e=c.y,s=(c=g(s,l,-f)).x,l=c.y,C.cos(A/180*r),C.sin(A/180*r);var m=(t-s)/2,v=(e-l)/2,y=m*m/(n*n)+v*v/(i*i);y>1&&(n*=y=C.sqrt(y),i*=y);var x=n*n,w=i*i,_=(o==a?-1:1)*C.sqrt(S((x*w-x*v*v-w*m*m)/(x*v*v+w*m*m))),k=_*n*v/i+(t+s)/2,T=_*-i*m/n+(e+l)/2,E=C.asin(((e-T)/i).toFixed(9)),L=C.asin(((l-T)/i).toFixed(9));(E=t<k?A-E:E)<0&&(E=2*A+E),(L=s<k?A-L:L)<0&&(L=2*A+L),a&&E>L&&(E-=2*A),!a&&L>E&&(L-=2*A)}var M=L-E;if(S(M)>d){var D=L,O=s,I=l;s=k+n*C.cos(L=E+d*(a&&L>E?1:-1)),l=T+i*C.sin(L),h=kt(s,l,n,i,r,0,a,O,I,[L,D,k,T])}M=L-E;var P=C.cos(E),N=C.sin(E),z=C.cos(L),F=C.sin(L),B=C.tan(M/4),j=4/3*n*B,R=4/3*i*B,H=[t,e],W=[t+j*N,e-R*P],q=[s+j*F,l-R*z],V=[s,l];if(W[0]=2*H[0]-W[0],W[1]=2*H[1]-W[1],u)return[W,q,V][p](h);for(var U=[],Y=0,$=(h=[W,q,V][p](h).join()[b](",")).length;Y<$;Y++)U[Y]=Y%2?g(h[Y-1],h[Y],f).y:g(h[Y],h[Y+1],f).x;return U},Tt=function(t,e,n,i,r,o,a,s,l){var u=1-l;return{x:E(u,3)*t+3*E(u,2)*l*n+3*u*l*l*r+E(l,3)*a,y:E(u,3)*e+3*E(u,2)*l*i+3*u*l*l*o+E(l,3)*s}},St=ut(function(t,e,n,i,r,o,a,s){var l,u=r-2*n+t-(a-2*r+n),c=2*(n-t)-2*(r-n),d=t-n,f=(-c+C.sqrt(c*c-4*u*d))/2/u,p=(-c-C.sqrt(c*c-4*u*d))/2/u,g=[e,s],m=[t,a];return S(f)>"1e12"&&(f=.5),S(p)>"1e12"&&(p=.5),f>0&&f<1&&(l=Tt(t,e,n,i,r,o,a,s,f),m.push(l.x),g.push(l.y)),p>0&&p<1&&(l=Tt(t,e,n,i,r,o,a,s,p),m.push(l.x),g.push(l.y)),f=(-(c=2*(i-e)-2*(o-i))+C.sqrt(c*c-4*(u=o-2*i+e-(s-2*o+i))*(d=e-i)))/2/u,p=(-c-C.sqrt(c*c-4*u*d))/2/u,S(f)>"1e12"&&(f=.5),S(p)>"1e12"&&(p=.5),f>0&&f<1&&(l=Tt(t,e,n,i,r,o,a,s,f),m.push(l.x),g.push(l.y)),p>0&&p<1&&(l=Tt(t,e,n,i,r,o,a,s,p),m.push(l.x),g.push(l.y)),{min:{x:T[h](0,m),y:T[h](0,g)},max:{x:k[h](0,m),y:k[h](0,g)}}}),Et=e._path2curve=ut(function(t,e){var n=!e&&ft(t);if(!e&&n.curve)return bt(n.curve);for(var i=wt(t),r=e&&wt(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(t,e,n){var i,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][p](kt[h](0,[e.x,e.y][p](t.slice(1))));break;case"S":"C"==n||"S"==n?(i=2*e.x-e.bx,r=2*e.y-e.by):(i=e.x,r=e.y),t=["C",i,r][p](t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][p](Ct(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][p](Ct(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][p](_t(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][p](_t(e.x,e.y,t[1],e.y));break;case"V":t=["C"][p](_t(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][p](_t(e.x,e.y,e.X,e.Y))}return t},l=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)c[e]="A",r&&(d[e]="A"),t.splice(e++,0,["C"][p](n.splice(0,6)));t.splice(e,1),v=k(i.length,r&&r.length||0)}},u=function(t,e,n,o,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",o.x,o.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],v=k(i.length,r&&r.length||0))},c=[],d=[],f="",g="",m=0,v=k(i.length,r&&r.length||0);m<v;m++){i[m]&&(f=i[m][0]),"C"!=f&&(c[m]=f,m&&(g=c[m-1])),i[m]=s(i[m],o,g),"A"!=c[m]&&"C"==f&&(c[m]="C"),l(i,m),r&&(r[m]&&(f=r[m][0]),"C"!=f&&(d[m]=f,m&&(g=d[m-1])),r[m]=s(r[m],a,g),"A"!=d[m]&&"C"==f&&(d[m]="C"),l(r,m)),u(i,r,o,a,m),u(r,i,a,o,m);var y=i[m],b=r&&r[m],x=y.length,w=r&&b.length;o.x=y[x-2],o.y=y[x-1],o.bx=z(y[x-4])||o.x,o.by=z(y[x-3])||o.y,a.bx=r&&(z(b[w-4])||a.x),a.by=r&&(z(b[w-3])||a.y),a.x=r&&b[w-2],a.y=r&&b[w-1]}return r||(n.curve=bt(i)),r?[i,r]:i},null,bt),At=(e._parseDots=ut(function(t){for(var n=[],i=0,r=t.length;i<r;i++){var o={},a=t[i].match(/^([^:]*):?([\d\.]*)/);if(o.color=e.getRGB(a[1]),o.color.error)return null;o.opacity=o.color.opacity,o.color=o.color.hex,a[2]&&(o.offset=a[2]+"%"),n.push(o)}for(i=1,r=n.length-1;i<r;i++)if(!n[i].offset){for(var s=z(n[i-1].offset||0),l=0,u=i+1;u<r;u++)if(n[u].offset){l=n[u].offset;break}l||(l=100,u=r);for(var c=((l=z(l))-s)/(u-i+1);i<u;i++)n[i].offset=(s+=c)+"%"}return n}),e._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)}),Lt=(e._tofront=function(t,e){e.top!==t&&(At(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},e._toback=function(t,e){e.bottom!==t&&(At(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},e._insertafter=function(t,e,n){At(t,n),e==n.top&&(n.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},e._insertbefore=function(t,e,n){At(t,n),e==n.bottom&&(n.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},e.toMatrix=function(t,e){var n=yt(t),i={_:{transform:m},getBBox:function(){return n}};return Mt(i,e),i.matrix}),Mt=(e.transformPath=function(t,e){return J(t,Lt(t,e))},e._extractTransform=function(t,n){if(null==n)return t._.transform;n=y(n).replace(/\.{3}|\u2026/g,t._.transform||m);var i,r,o=e.parseTransformString(n),a=0,s=1,l=1,u=t._,c=new It;if(u.transform=o||[],o)for(var d=0,f=o.length;d<f;d++){var h,p,g,v,b,x=o[d],w=x.length,_=y(x[0]).toLowerCase(),C=x[0]!=_,k=C?c.invert():0;"t"==_&&3==w?C?(h=k.x(0,0),p=k.y(0,0),g=k.x(x[1],x[2]),v=k.y(x[1],x[2]),c.translate(g-h,v-p)):c.translate(x[1],x[2]):"r"==_?2==w?(b=b||t.getBBox(1),c.rotate(x[1],b.x+b.width/2,b.y+b.height/2),a+=x[1]):4==w&&(C?(g=k.x(x[2],x[3]),v=k.y(x[2],x[3]),c.rotate(x[1],g,v)):c.rotate(x[1],x[2],x[3]),a+=x[1]):"s"==_?2==w||3==w?(b=b||t.getBBox(1),c.scale(x[1],x[w-1],b.x+b.width/2,b.y+b.height/2),s*=x[1],l*=x[w-1]):5==w&&(C?(g=k.x(x[3],x[4]),v=k.y(x[3],x[4]),c.scale(x[1],x[2],g,v)):c.scale(x[1],x[2],x[3],x[4]),s*=x[1],l*=x[2]):"m"==_&&7==w&&c.add(x[1],x[2],x[3],x[4],x[5],x[6]),u.dirtyT=1,t.matrix=c}t.matrix=c,u.sx=s,u.sy=l,u.deg=a,u.dx=i=c.e,u.dy=r=c.f,1==s&&1==l&&!a&&u.bbox?(u.bbox.x+=+i,u.bbox.y+=+r):u.dirtyT=1}),Dt=function(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}},Ot=e._equaliseTransform=function(t,n){n=y(n).replace(/\.{3}|\u2026/g,t),t=e.parseTransformString(t)||[],n=e.parseTransformString(n)||[];for(var i,r,o,a,s=k(t.length,n.length),l=[],u=[],c=0;c<s;c++){if(o=t[c]||Dt(n[c]),a=n[c]||Dt(o),o[0]!=a[0]||"r"==o[0].toLowerCase()&&(o[2]!=a[2]||o[3]!=a[3])||"s"==o[0].toLowerCase()&&(o[3]!=a[3]||o[4]!=a[4]))return;for(l[c]=[],u[c]=[],i=0,r=k(o.length,a.length);i<r;i++)i in o&&(l[c][i]=o[i]),i in a&&(u[c][i]=a[i])}return{from:l,to:u}};function It(t,e,n,i,r,o){null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+i,this.e=+r,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}e._getContainer=function(t,n,i,r){var o;if(null!=(o=null!=r||e.is(t,"object")?t:c.doc.getElementById(t)))return o.tagName?null==n?{container:o,width:o.style.pixelWidth||o.offsetWidth,height:o.style.pixelHeight||o.offsetHeight}:{container:o,width:n,height:i}:{container:1,x:t,y:n,width:i,height:r}},e.pathToRelative=xt,e._engine={},e.path2curve=Et,e.matrix=function(t,e,n,i,r,o){return new It(t,e,n,i,r,o)},function(t){function n(t){return t[0]*t[0]+t[1]*t[1]}function i(t){var e=C.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}t.add=function(t,e,n,i,r,o){var a,s,l,u,c=[[],[],[]],d=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],f=[[t,n,r],[e,i,o],[0,0,1]];for(t&&t instanceof It&&(f=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;a<3;a++)for(s=0;s<3;s++){for(u=0,l=0;l<3;l++)u+=d[a][l]*f[l][s];c[a][s]=u}this.a=c[0][0],this.b=c[1][0],this.c=c[0][1],this.d=c[1][1],this.e=c[0][2],this.f=c[1][2]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new It(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},t.clone=function(){return new It(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(t,e){this.add(1,0,0,1,t,e)},t.scale=function(t,e,n,i){null==e&&(e=t),(n||i)&&this.add(1,0,0,1,n,i),this.add(t,0,0,e,0,0),(n||i)&&this.add(1,0,0,1,-n,-i)},t.rotate=function(t,n,i){t=e.rad(t),n=n||0,i=i||0;var r=+C.cos(t).toFixed(9),o=+C.sin(t).toFixed(9);this.add(r,o,-o,r,n,i),this.add(1,0,0,1,-n,-i)},t.x=function(t,e){return t*this.a+e*this.c+this.e},t.y=function(t,e){return t*this.b+e*this.d+this.f},t.get=function(t){return+this[y.fromCharCode(97+t)].toFixed(4)},t.toString=function(){return e.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},t.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var r=[[this.a,this.c],[this.b,this.d]];t.scalex=C.sqrt(n(r[0])),i(r[0]),t.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*t.shear,r[1][1]-r[0][1]*t.shear],t.scaley=C.sqrt(n(r[1])),i(r[1]),t.shear/=t.scaley;var o=-r[0][1],a=r[1][1];return a<0?(t.rotate=e.deg(C.acos(a)),o<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(C.asin(o)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(t){var e=t||this[b]();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[e.dx,e.dy]:m)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:m)+(e.rotate?"r"+[e.rotate,0,0]:m)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(It.prototype);for(var Pt=function(){this.returnValue=!1},Nt=function(){return this.originalEvent.preventDefault()},zt=function(){this.cancelBubble=!0},Ft=function(){return this.originalEvent.stopPropagation()},Bt=function(t){return{x:t.clientX+(c.doc.documentElement.scrollLeft||c.doc.body.scrollLeft),y:t.clientY+(c.doc.documentElement.scrollTop||c.doc.body.scrollTop)}},jt=c.doc.addEventListener?function(t,e,n,i){var r=function(t){var e=Bt(t);return n.call(i,t,e.x,e.y)};if(t.addEventListener(e,r,!1),g&&w[e]){var o=function(e){for(var r=Bt(e),o=e,a=0,s=e.targetTouches&&e.targetTouches.length;a<s;a++)if(e.targetTouches[a].target==t){(e=e.targetTouches[a]).originalEvent=o,e.preventDefault=Nt,e.stopPropagation=Ft;break}return n.call(i,e,r.x,r.y)};t.addEventListener(w[e],o,!1)}return function(){return t.removeEventListener(e,r,!1),g&&w[e]&&t.removeEventListener(w[e],o,!1),!0}}:c.doc.attachEvent?function(t,e,n,i){var r=function(t){var e=(t=t||c.win.event).clientX+(c.doc.documentElement.scrollLeft||c.doc.body.scrollLeft),r=t.clientY+(c.doc.documentElement.scrollTop||c.doc.body.scrollTop);return t.preventDefault=t.preventDefault||Pt,t.stopPropagation=t.stopPropagation||zt,n.call(i,t,e,r)};return t.attachEvent("on"+e,r),function(){return t.detachEvent("on"+e,r),!0}}:void 0,Rt=[],Ht=function(e){for(var n,i=e.clientX,r=e.clientY,o=c.doc.documentElement.scrollTop||c.doc.body.scrollTop,a=c.doc.documentElement.scrollLeft||c.doc.body.scrollLeft,s=Rt.length;s--;){if(n=Rt[s],g&&e.touches){for(var l,u=e.touches.length;u--;)if((l=e.touches[u]).identifier==n.el._drag.id){i=l.clientX,r=l.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var d,f=n.el.node,h=f.nextSibling,p=f.parentNode,m=f.style.display;c.win.opera&&p.removeChild(f),f.style.display="none",d=n.el.paper.getElementByPoint(i,r),f.style.display=m,c.win.opera&&(h?p.insertBefore(f,h):p.appendChild(f)),d&&t("raphael.drag.over."+n.el.id,n.el,d),t("raphael.drag.move."+n.el.id,n.move_scope||n.el,(i+=a)-n.el._drag.x,(r+=o)-n.el._drag.y,i,r,e)}},Wt=function(n){e.unmousemove(Ht).unmouseup(Wt);for(var i,r=Rt.length;r--;)(i=Rt[r]).el._drag={},t("raphael.drag.end."+i.el.id,i.end_scope||i.start_scope||i.move_scope||i.el,n);Rt=[]},qt=e.el={},Vt=x.length;Vt--;)!function(t){e[t]=qt[t]=function(n,i){return e.is(n,"function")&&(this.events=this.events||[],this.events.push({name:t,f:n,unbind:jt(this.shape||this.node||c.doc,t,n,i||this)})),this},e["un"+t]=qt["un"+t]=function(n){for(var i=this.events||[],r=i.length;r--;)i[r].name!=t||!e.is(n,"undefined")&&i[r].f!=n||(i[r].unbind(),i.splice(r,1),!i.length&&delete this.events);return this}}(x[Vt]);qt.data=function(n,i){var r=$[this.id]=$[this.id]||{};if(0==arguments.length)return r;if(1==arguments.length){if(e.is(n,"object")){for(var o in n)n[u](o)&&this.data(o,n[o]);return this}return t("raphael.data.get."+this.id,this,r[n],n),r[n]}return r[n]=i,t("raphael.data.set."+this.id,this,i,n),this},qt.removeData=function(t){return null==t?delete $[this.id]:$[this.id]&&delete $[this.id][t],this},qt.getData=function(){return nt($[this.id]||{})},qt.hover=function(t,e,n,i){return this.mouseover(t,n).mouseout(e,i||n)},qt.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var Ut=[];function Yt(){return this.x+v+this.y+v+this.width+" × "+this.height}qt.drag=function(n,i,r,o,a,s){function l(l){(l.originalEvent||l).preventDefault();var u=l.clientX,d=l.clientY,f=c.doc.documentElement.scrollTop||c.doc.body.scrollTop,h=c.doc.documentElement.scrollLeft||c.doc.body.scrollLeft;if(this._drag.id=l.identifier,g&&l.touches)for(var p,m=l.touches.length;m--;)if(this._drag.id=(p=l.touches[m]).identifier,p.identifier==this._drag.id){u=p.clientX,d=p.clientY;break}this._drag.x=u+h,this._drag.y=d+f,!Rt.length&&e.mousemove(Ht).mouseup(Wt),Rt.push({el:this,move_scope:o,start_scope:a,end_scope:s}),i&&t.on("raphael.drag.start."+this.id,i),n&&t.on("raphael.drag.move."+this.id,n),r&&t.on("raphael.drag.end."+this.id,r),t("raphael.drag.start."+this.id,a||o||this,this._drag.x,this._drag.y,l)}return this._drag={},Ut.push({el:this,start:l}),this.mousedown(l),this},qt.onDragOver=function(e){e?t.on("raphael.drag.over."+this.id,e):t.unbind("raphael.drag.over."+this.id)},qt.undrag=function(){for(var n=Ut.length;n--;)Ut[n].el==this&&(this.unmousedown(Ut[n].start),Ut.splice(n,1),t.unbind("raphael.drag.*."+this.id));!Ut.length&&e.unmousemove(Ht).unmouseup(Wt),Rt=[]},i.circle=function(t,n,i){var r=e._engine.circle(this,t||0,n||0,i||0);return this.__set__&&this.__set__.push(r),r},i.rect=function(t,n,i,r,o){var a=e._engine.rect(this,t||0,n||0,i||0,r||0,o||0);return this.__set__&&this.__set__.push(a),a},i.ellipse=function(t,n,i,r){var o=e._engine.ellipse(this,t||0,n||0,i||0,r||0);return this.__set__&&this.__set__.push(o),o},i.path=function(t){t&&!e.is(t,"string")&&!e.is(t[0],M)&&(t+=m);var n=e._engine.path(e.format[h](e,arguments),this);return this.__set__&&this.__set__.push(n),n},i.image=function(t,n,i,r,o){var a=e._engine.image(this,t||"about:blank",n||0,i||0,r||0,o||0);return this.__set__&&this.__set__.push(a),a},i.text=function(t,n,i){var r=e._engine.text(this,t||0,n||0,y(i));return this.__set__&&this.__set__.push(r),r},i.set=function(t){!e.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var n=new de(t);return this.__set__&&this.__set__.push(n),n.paper=this,n.type="set",n},i.setStart=function(t){this.__set__=t||this.set()},i.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},i.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},i.setSize=function(t,n){return e._engine.setSize.call(this,t,n)},i.setViewBox=function(t,n,i,r,o){return e._engine.setViewBox.call(this,t,n,i,r,o)},i.top=i.bottom=null,i.raphael=e,i.getElementByPoint=function(t,e){var n,i,r,o,a,s=this.canvas,l=c.doc.elementFromPoint(t,e);if(c.win.opera&&"svg"==l.tagName){var u=(i=(n=s).getBoundingClientRect(),o=(r=n.ownerDocument).body,a=r.documentElement,{y:i.top+(c.win.pageYOffset||a.scrollTop||o.scrollTop)-(a.clientTop||o.clientTop||0),x:i.left+(c.win.pageXOffset||a.scrollLeft||o.scrollLeft)-(a.clientLeft||o.clientLeft||0)}),d=s.createSVGRect();d.x=t-u.x,d.y=e-u.y,d.width=d.height=1;var f=s.getIntersectionList(d,null);f.length&&(l=f[f.length-1])}if(!l)return null;for(;l.parentNode&&l!=s.parentNode&&!l.raphael;)l=l.parentNode;return l==this.canvas.parentNode&&(l=s),l&&l.raphael?this.getById(l.raphaelid):null},i.getElementsByBBox=function(t){var n=this.set();return this.forEach(function(i){e.isBBoxIntersect(i.getBBox(),t)&&n.push(i)}),n},i.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},i.forEach=function(t,e){for(var n=this.bottom;n;){if(!1===t.call(e,n))return this;n=n.next}return this},i.getElementsByPoint=function(t,e){var n=this.set();return this.forEach(function(i){i.isPointInside(t,e)&&n.push(i)}),n},qt.isPointInside=function(t,n){var i=this.realPath=Z[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(i=e.transformPath(i,this.attr("transform"))),e.isPointInsidePath(i,t,n)},qt.getBBox=function(t){if(this.removed)return{};var e=this._;return t?(!e.dirty&&e.bboxwt||(this.realPath=Z[this.type](this),e.bboxwt=yt(this.realPath),e.bboxwt.toString=Yt,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&(!e.dirty&&this.realPath||(e.bboxwt=0,this.realPath=Z[this.type](this)),e.bbox=yt(J(this.realPath,this.matrix)),e.bbox.toString=Yt,e.dirty=e.dirtyT=0),e.bbox)},qt.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},qt.glow=function(t){if("text"==this.type)return null;var e={width:((t=t||{}).width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:null==t.opacity?.5:t.opacity,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},n=e.width/2,i=this.paper,r=i.set(),o=this.realPath||Z[this.type](this);o=this.matrix?J(o,this.matrix):o;for(var a=1;a<n+1;a++)r.push(i.path(o).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/n*a).toFixed(3),opacity:+(e.opacity/n).toFixed(3)}));return r.insertBefore(this).translate(e.offsetx,e.offsety)};var $t=function(t,n,i,r,o,a,s,l,u){return null==u?pt(t,n,i,r,o,a,s,l):e.findDotsAtSegment(t,n,i,r,o,a,s,l,function(t,e,n,i,r,o,a,s,l){if(!(l<0||pt(t,e,n,i,r,o,a,s)<l)){var u,c=.5,d=1-c;for(u=pt(t,e,n,i,r,o,a,s,d);S(u-l)>.01;)u=pt(t,e,n,i,r,o,a,s,d+=(u<l?1:-1)*(c/=2));return d}}(t,n,i,r,o,a,s,l,u))},Qt=function(t,n){return function(i,r,o){for(var a,s,l,u,c,d="",f={},h=0,p=0,g=(i=Et(i)).length;p<g;p++){if("M"==(l=i[p])[0])a=+l[1],s=+l[2];else{if(h+(u=$t(a,s,l[1],l[2],l[3],l[4],l[5],l[6]))>r){if(n&&!f.start){if(d+=["C"+(c=$t(a,s,l[1],l[2],l[3],l[4],l[5],l[6],r-h)).start.x,c.start.y,c.m.x,c.m.y,c.x,c.y],o)return d;f.start=d,d=["M"+c.x,c.y+"C"+c.n.x,c.n.y,c.end.x,c.end.y,l[5],l[6]].join(),h+=u,a=+l[5],s=+l[6];continue}if(!t&&!n)return{x:(c=$t(a,s,l[1],l[2],l[3],l[4],l[5],l[6],r-h)).x,y:c.y,alpha:c.alpha}}h+=u,a=+l[5],s=+l[6]}d+=l.shift()+l}return f.end=d,(c=t?h:n?f:e.findDotsAtSegment(a,s,l[0],l[1],l[2],l[3],l[4],l[5],1)).alpha&&(c={x:c.x,y:c.y,alpha:c.alpha}),c}},Xt=Qt(1),Gt=Qt(),Kt=Qt(0,1);e.getTotalLength=Xt,e.getPointAtLength=Gt,e.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return Kt(t,e).end;var i=Kt(t,n,1);return e?Kt(i,e).end:i},qt.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():Xt(t)},qt.getPointAtLength=function(t){var e=this.getPath();if(e)return Gt(e,t)},qt.getPath=function(){var t,n=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return n&&(t=n(this)),t},qt.getSubpath=function(t,n){var i=this.getPath();if(i)return e.getSubpath(i,t,n)};var Zt=e.easing_formulas={linear:function(t){return t},"<":function(t){return E(t,1.7)},">":function(t){return E(t,.48)},"<>":function(t){var e=.48-t/1.04,n=C.sqrt(.1734+e*e),i=n-e,r=-n-e,o=E(S(i),1/3)*(i<0?-1:1)+E(S(r),1/3)*(r<0?-1:1)+.5;return 3*(1-o)*o*o+o*o*o},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:E(2,-10*t)*C.sin(2*A*(t-.075)/.3)+1},bounce:function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375}};Zt.easeIn=Zt["ease-in"]=Zt["<"],Zt.easeOut=Zt["ease-out"]=Zt[">"],Zt.easeInOut=Zt["ease-in-out"]=Zt["<>"],Zt["back-in"]=Zt.backIn,Zt["back-out"]=Zt.backOut;var Jt=[],te=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},ee=function(){for(var n=+new Date,i=0;i<Jt.length;i++){var r=Jt[i];if(!r.el.removed&&!r.paused){var o,a,s=n-r.start,l=r.ms,c=r.easing,d=r.from,f=r.diff,h=r.to,g=r.el,m={},y={};if(r.initstatus?(s=(r.initstatus*r.anim.top-r.prev)/(r.percent-r.prev)*l,r.status=r.initstatus,delete r.initstatus,r.stop&&Jt.splice(i--,1)):r.status=(r.prev+s/l*(r.percent-r.prev))/r.anim.top,!(s<0))if(s<l){var b=c(s/l);for(var x in d)if(d[u](x)){switch(R[x]){case L:o=+d[x]+b*l*f[x];break;case"colour":o="rgb("+[ne(N(d[x].r+b*l*f[x].r)),ne(N(d[x].g+b*l*f[x].g)),ne(N(d[x].b+b*l*f[x].b))].join(",")+")";break;case"path":o=[];for(var w=0,_=d[x].length;w<_;w++){o[w]=[d[x][w][0]];for(var C=1,k=d[x][w].length;C<k;C++)o[w][C]=+d[x][w][C]+b*l*f[x][w][C];o[w]=o[w].join(v)}o=o.join(v);break;case"transform":if(f[x].real)for(o=[],w=0,_=d[x].length;w<_;w++)for(o[w]=[d[x][w][0]],C=1,k=d[x][w].length;C<k;C++)o[w][C]=d[x][w][C]+b*l*f[x][w][C];else{var T=function(t){return+d[x][t]+b*l*f[x][t]};o=[["m",T(0),T(1),T(2),T(3),T(4),T(5)]]}break;case"csv":if("clip-rect"==x)for(o=[],w=4;w--;)o[w]=+d[x][w]+b*l*f[x][w];break;default:var S=[][p](d[x]);for(o=[],w=g.paper.customAttributes[x].length;w--;)o[w]=+S[w]+b*l*f[x][w]}m[x]=o}g.attr(m),function(e,n,i){setTimeout(function(){t("raphael.anim.frame."+e,n,i)})}(g.id,g,r.anim)}else{if(function(n,i,r){setTimeout(function(){t("raphael.anim.frame."+i.id,i,r),t("raphael.anim.finish."+i.id,i,r),e.is(n,"function")&&n.call(i)})}(r.callback,g,r.anim),g.attr(h),Jt.splice(i--,1),r.repeat>1&&!r.next){for(a in h)h[u](a)&&(y[a]=r.totalOrigin[a]);r.el.attr(y),oe(r.anim,r.el,r.anim.percents[0],null,r.totalOrigin,r.repeat-1)}r.next&&!r.stop&&oe(r.anim,r.el,r.next,null,r.totalOrigin,r.repeat)}}}Jt.length&&te(ee)},ne=function(t){return t>255?255:t<0?0:t};function ie(t,e,n,i,r,o){var a=3*e,s=3*(i-e)-a,l=1-a-s,u=3*n,c=3*(r-n)-u,d=1-u-c;function f(t){return((l*t+s)*t+a)*t}return function(t,e){var n=function(t,e){var n,i,r,o,u,c;for(r=t,c=0;c<8;c++){if(o=f(r)-t,S(o)<e)return r;if(S(u=(3*l*r+2*s)*r+a)<1e-6)break;r-=o/u}if((r=t)<(n=0))return n;if(r>(i=1))return i;for(;n<i;){if(o=f(r),S(o-t)<e)return r;t>o?n=r:i=r,r=(i-n)/2+n}return r}(t,e);return((d*n+c)*n+u)*n}(t,1/(200*o))}function re(t,e){var n=[],i={};if(this.ms=e,this.times=1,t){for(var r in t)t[u](r)&&(i[z(r)]=t[r],n.push(z(r)));n.sort(Q)}this.anim=i,this.top=n[n.length-1],this.percents=n}function oe(n,i,r,o,s,l){r=z(r);var c,d,f,h,g,m,v=n.ms,x={},w={},_={};if(o)for(k=0,T=Jt.length;k<T;k++){var C=Jt[k];if(C.el.id==i.id&&C.anim==n){C.percent!=r?(Jt.splice(k,1),f=1):d=C,i.attr(C.totalOrigin);break}}else o=+w;for(var k=0,T=n.percents.length;k<T;k++){if(n.percents[k]==r||n.percents[k]>o*n.top){v=v/n.top*((r=n.percents[k])-(g=n.percents[k-1]||0)),h=n.percents[k+1],c=n.anim[r];break}o&&i.attr(n.anim[n.percents[k]])}if(c){if(d)d.initstatus=o,d.start=new Date-d.ms*o;else{for(var S in c)if(c[u](S)&&(R[u](S)||i.paper.customAttributes[u](S)))switch(x[S]=i.attr(S),null==x[S]&&(x[S]=j[S]),w[S]=c[S],R[S]){case L:_[S]=(w[S]-x[S])/v;break;case"colour":x[S]=e.getRGB(x[S]);var E=e.getRGB(w[S]);_[S]={r:(E.r-x[S].r)/v,g:(E.g-x[S].g)/v,b:(E.b-x[S].b)/v};break;case"path":var A=Et(x[S],w[S]),M=A[1];for(x[S]=A[0],_[S]=[],k=0,T=x[S].length;k<T;k++){_[S][k]=[0];for(var D=1,O=x[S][k].length;D<O;D++)_[S][k][D]=(M[k][D]-x[S][k][D])/v}break;case"transform":var I=i._,N=Ot(I[S],w[S]);if(N)for(x[S]=N.from,w[S]=N.to,_[S]=[],_[S].real=!0,k=0,T=x[S].length;k<T;k++)for(_[S][k]=[x[S][k][0]],D=1,O=x[S][k].length;D<O;D++)_[S][k][D]=(w[S][k][D]-x[S][k][D])/v;else{var F=i.matrix||new It,B={_:{transform:I.transform},getBBox:function(){return i.getBBox(1)}};x[S]=[F.a,F.b,F.c,F.d,F.e,F.f],Mt(B,w[S]),w[S]=B._.transform,_[S]=[(B.matrix.a-F.a)/v,(B.matrix.b-F.b)/v,(B.matrix.c-F.c)/v,(B.matrix.d-F.d)/v,(B.matrix.e-F.e)/v,(B.matrix.f-F.f)/v]}break;case"csv":var H=y(c[S])[b](a),W=y(x[S])[b](a);if("clip-rect"==S)for(x[S]=W,_[S]=[],k=W.length;k--;)_[S][k]=(H[k]-x[S][k])/v;w[S]=H;break;default:for(H=[][p](c[S]),W=[][p](x[S]),_[S]=[],k=i.paper.customAttributes[S].length;k--;)_[S][k]=((H[k]||0)-(W[k]||0))/v}var q=c.easing,V=e.easing_formulas[q];if(!V)if((V=y(q).match(P))&&5==V.length){var U=V;V=function(t){return ie(t,+U[1],+U[2],+U[3],+U[4],v)}}else V=X;if(C={anim:n,percent:r,timestamp:m=c.start||n.start||+new Date,start:m+(n.del||0),status:0,initstatus:o||0,stop:!1,ms:v,easing:V,from:x,diff:_,to:w,el:i,callback:c.callback,prev:g,next:h,repeat:l||n.times,origin:i.attr(),totalOrigin:s},Jt.push(C),o&&!d&&!f&&(C.stop=!0,C.start=new Date-v*o,1==Jt.length))return ee();f&&(C.start=new Date-C.ms*o),1==Jt.length&&te(ee)}t("raphael.anim.start."+i.id,i,n)}}function ae(t){for(var e=0;e<Jt.length;e++)Jt[e].el.paper==t&&Jt.splice(e--,1)}qt.animateWith=function(t,n,i,r,o,a){if(this.removed)return a&&a.call(this),this;var s=i instanceof re?i:e.animation(i,r,o,a);oe(s,this,s.percents[0],null,this.attr());for(var l=0,u=Jt.length;l<u;l++)if(Jt[l].anim==n&&Jt[l].el==t){Jt[u-1].start=Jt[l].start;break}return this},qt.onAnimation=function(e){return e?t.on("raphael.anim.frame."+this.id,e):t.unbind("raphael.anim.frame."+this.id),this},re.prototype.delay=function(t){var e=new re(this.anim,this.ms);return e.times=this.times,e.del=+t||0,e},re.prototype.repeat=function(t){var e=new re(this.anim,this.ms);return e.del=this.del,e.times=C.floor(k(t,0))||1,e},e.animation=function(t,n,i,r){if(t instanceof re)return t;!e.is(i,"function")&&i||(r=r||i||null,i=null),t=Object(t),n=+n||0;var o,a,s={};for(a in t)t[u](a)&&z(a)!=a&&z(a)+"%"!=a&&(o=!0,s[a]=t[a]);if(o)return i&&(s.easing=i),r&&(s.callback=r),new re({100:s},n);if(r){var l=0;for(var c in t){var d=F(c);t[u](c)&&d>l&&(l=d)}!t[l+="%"].callback&&(t[l].callback=r)}return new re(t,n)},qt.animate=function(t,n,i,r){if(this.removed)return r&&r.call(this),this;var o=t instanceof re?t:e.animation(t,n,i,r);return oe(o,this,o.percents[0],null,this.attr()),this},qt.setTime=function(t,e){return t&&null!=e&&this.status(t,T(e,t.ms)/t.ms),this},qt.status=function(t,e){var n,i,r=[],o=0;if(null!=e)return oe(t,this,-1,T(e,1)),this;for(n=Jt.length;o<n;o++)if((i=Jt[o]).el.id==this.id&&(!t||i.anim==t)){if(t)return i.status;r.push({anim:i.anim,status:i.status})}return t?0:r},qt.pause=function(e){for(var n=0;n<Jt.length;n++)Jt[n].el.id!=this.id||e&&Jt[n].anim!=e||!1!==t("raphael.anim.pause."+this.id,this,Jt[n].anim)&&(Jt[n].paused=!0);return this},qt.resume=function(e){for(var n=0;n<Jt.length;n++)if(Jt[n].el.id==this.id&&(!e||Jt[n].anim==e)){var i=Jt[n];!1!==t("raphael.anim.resume."+this.id,this,i.anim)&&(delete i.paused,this.status(i.anim,i.status))}return this},qt.stop=function(e){for(var n=0;n<Jt.length;n++)Jt[n].el.id!=this.id||e&&Jt[n].anim!=e||!1!==t("raphael.anim.stop."+this.id,this,Jt[n].anim)&&Jt.splice(n--,1);return this},t.on("raphael.remove",ae),t.on("raphael.clear",ae),qt.toString=function(){return"Raphaël’s object"};var se,le,ue,ce,de=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)!t[e]||t[e].constructor!=qt.constructor&&t[e].constructor!=de||(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},fe=de.prototype;for(var he in fe.push=function(){for(var t,e,n=0,i=arguments.length;n<i;n++)!(t=arguments[n])||t.constructor!=qt.constructor&&t.constructor!=de||(this[e=this.items.length]=this.items[e]=t,this.length++);return this},fe.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},fe.forEach=function(t,e){for(var n=0,i=this.items.length;n<i;n++)if(!1===t.call(e,this.items[n],n))return this;return this},qt)qt[u](he)&&(fe[he]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t][h](n,e)})}}(he));return fe.attr=function(t,n){if(t&&e.is(t,M)&&e.is(t[0],"object"))for(var i=0,r=t.length;i<r;i++)this.items[i].attr(t[i]);else for(var o=0,a=this.items.length;o<a;o++)this.items[o].attr(t,n);return this},fe.clear=function(){for(;this.length;)this.pop()},fe.splice=function(t,e,n){t=t<0?k(this.length+t,0):t,e=k(0,T(this.length-t,e));var i,r=[],o=[],a=[];for(i=2;i<arguments.length;i++)a.push(arguments[i]);for(i=0;i<e;i++)o.push(this[t+i]);for(;i<this.length-t;i++)r.push(this[t+i]);var s=a.length;for(i=0;i<s+r.length;i++)this.items[t+i]=this[t+i]=i<s?a[i]:r[i-s];for(i=this.items.length=this.length-=e-s;this[i];)delete this[i++];return new de(o)},fe.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0},fe.animate=function(t,n,i,r){(e.is(i,"function")||!i)&&(r=i||null);var o,a,s=this.items.length,l=s,u=this;if(!s)return this;r&&(a=function(){!--s&&r.call(u)}),i=e.is(i,"string")?i:a;var c=e.animation(t,n,i,a);for(o=this.items[--l].animate(c);l--;)this.items[l]&&!this.items[l].removed&&this.items[l].animateWith(o,c,c),this.items[l]&&!this.items[l].removed||s--;return this},fe.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},fe.getBBox=function(){for(var t=[],e=[],n=[],i=[],r=this.items.length;r--;)if(!this.items[r].removed){var o=this.items[r].getBBox();t.push(o.x),e.push(o.y),n.push(o.x+o.width),i.push(o.y+o.height)}return{x:t=T[h](0,t),y:e=T[h](0,e),x2:n=k[h](0,n),y2:i=k[h](0,i),width:n-t,height:i-e}},fe.clone=function(t){t=this.paper.set();for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},fe.toString=function(){return"Raphaël‘s set"},fe.glow=function(t){var e=this.paper.set();return this.forEach(function(n,i){var r=n.glow(t);null!=r&&r.forEach(function(t,n){e.push(t)})}),e},fe.isPointInside=function(t,e){var n=!1;return this.forEach(function(i){if(i.isPointInside(t,e))return n=!0,!1}),n},e.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},n=t.face["font-family"];for(var i in t.face)t.face[u](i)&&(e.face[i]=t.face[i]);if(this.fonts[n]?this.fonts[n].push(e):this.fonts[n]=[e],!t.svg)for(var r in e.face["units-per-em"]=F(t.face["units-per-em"],10),t.glyphs)if(t.glyphs[u](r)){var o=t.glyphs[r];if(e.glyphs[r]={w:o.w,k:{},d:o.d&&"M"+o.d.replace(/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},o.k)for(var a in o.k)o[u](a)&&(e.glyphs[r].k[a]=o.k[a])}return t},i.getFont=function(t,n,i,r){if(r=r||"normal",i=i||"normal",n=+n||{normal:400,bold:700,lighter:300,bolder:800}[n]||400,e.fonts){var o,a=e.fonts[t];if(!a){var s=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,m)+"(\\s|$)","i");for(var l in e.fonts)if(e.fonts[u](l)&&s.test(l)){a=e.fonts[l];break}}if(a)for(var c=0,d=a.length;c<d&&((o=a[c]).face["font-weight"]!=n||o.face["font-style"]!=i&&o.face["font-style"]||o.face["font-stretch"]!=r);c++);return o}},i.print=function(t,n,i,r,o,s,l,u){s=s||"middle",l=k(T(l||0,1),-1),u=k(T(u||1,3),1);var c,d=y(i)[b](m),f=0,h=0,p=m;if(e.is(r,"string")&&(r=this.getFont(r)),r){c=(o||16)/r.face["units-per-em"];for(var g=r.face.bbox[b](a),v=+g[0],x=g[3]-g[1],w=0,_=+g[1]+("baseline"==s?x+ +r.face.descent:x/2),C=0,S=d.length;C<S;C++){if("\n"==d[C])f=0,A=0,h=0,w+=x*u;else{var E=h&&r.glyphs[d[C-1]]||{},A=r.glyphs[d[C]];f+=h?(E.w||r.w)+(E.k&&E.k[d[C]]||0)+r.w*l:0,h=1}A&&A.d&&(p+=e.transformPath(A.d,["t",f*c,w*c,"s",c,c,v,_,"t",(t-v)/c,(n-_)/c]))}}return this.path(p).attr({fill:"#000",stroke:"none"})},i.add=function(t){if(e.is(t,"array"))for(var n,i=this.set(),r=0,o=t.length;r<o;r++)s[u]((n=t[r]||{}).type)&&i.push(this[n.type]().attr(n));return i},e.format=function(t,n){var i=e.is(n,M)?[0][p](n):arguments;return t&&e.is(t,"string")&&i.length-1&&(t=t.replace(l,function(t,e){return null==i[++e]?m:i[e]})),t||m},e.fullfill=(se=/\{([^\}]+)\}/g,le=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return String(t).replace(se,function(t,n){return function(t,e,n){var i=n;return e.replace(le,function(t,e,n,r,o){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&o&&(i=i()))}),i=(null==i||i==n?t:i)+""}(t,n,e)})}),e.ninja=function(){if(d.was)c.win.Raphael=d.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(t){}}return e},e.st=fe,t.on("raphael.DOMload",function(){n=!0}),null==(ue=document).readyState&&ue.addEventListener&&(ue.addEventListener("DOMContentLoaded",ce=function(){ue.removeEventListener("DOMContentLoaded",ce,!1),ue.readyState="complete"},!1),ue.readyState="loading"),function t(){/in/.test(ue.readyState)?setTimeout(t,9):e.eve("raphael.DOMload")}(),e}).apply(e,i))||(t.exports=r)},function(t,e,n){var i,r;i=[n(0),n(3),n(4)],void 0===(r=(function(t){return t}).apply(e,i))||(t.exports=r)},function(t,e,n){var i,r,o,a,s,l,u,c,d,f,h,p,g,m;a="hasOwnProperty",s=/[\.\/]/,l=/\s*,\s*/,u=function(t,e){return t-e},c={n:{}},d=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},f=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},h=Object.prototype.toString,p=String,g=Array.isArray||function(t){return t instanceof Array||"[object Array]"==h.call(t)},(m=function(t,e){var n,i=o,a=Array.prototype.slice.call(arguments,2),s=m.listeners(t),l=0,c=[],h={},p=[],g=r;p.firstDefined=d,p.lastDefined=f,r=t,o=0;for(var v=0,y=s.length;v<y;v++)"zIndex"in s[v]&&(c.push(s[v].zIndex),s[v].zIndex<0&&(h[s[v].zIndex]=s[v]));for(c.sort(u);c[l]<0;)if(n=h[c[l++]],p.push(n.apply(e,a)),o)return o=i,p;for(v=0;v<y;v++)if("zIndex"in(n=s[v]))if(n.zIndex==c[l]){if(p.push(n.apply(e,a)),o)break;do{if((n=h[c[++l]])&&p.push(n.apply(e,a)),o)break}while(n)}else h[n.zIndex]=n;else if(p.push(n.apply(e,a)),o)break;return o=i,r=g,p})._events=c,m.listeners=function(t){var e,n,i,r,o,a,l,u,d=g(t)?t:t.split(s),f=c,h=[f],p=[];for(r=0,o=d.length;r<o;r++){for(u=[],a=0,l=h.length;a<l;a++)for(n=[(f=h[a].n)[d[r]],f["*"]],i=2;i--;)(e=n[i])&&(u.push(e),p=p.concat(e.f||[]));h=u}return p},m.separator=function(t){t?(t="["+(t=p(t).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",s=new RegExp(t)):s=/[\.\/]/},m.on=function(t,e){if("function"!=typeof e)return function(){};for(var n=g(t)?g(t[0])?t:[t]:p(t).split(l),i=0,r=n.length;i<r;i++)!function(t){for(var n,i=g(t)?t:p(t).split(s),r=c,o=0,a=i.length;o<a;o++)r=(r=r.n).hasOwnProperty(i[o])&&r[i[o]]||(r[i[o]]={n:{}});for(r.f=r.f||[],o=0,a=r.f.length;o<a;o++)if(r.f[o]==e){n=!0;break}!n&&r.f.push(e)}(n[i]);return function(t){+t==+t&&(e.zIndex=+t)}},m.f=function(t){var e=[].slice.call(arguments,1);return function(){m.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},m.stop=function(){o=1},m.nt=function(t){var e=g(r)?r.join("."):r;return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},m.nts=function(){return g(r)?r:r.split(s)},m.off=m.unbind=function(t,e){if(t){var n=g(t)?g(t[0])?t:[t]:p(t).split(l);if(n.length>1)for(var i=0,r=n.length;i<r;i++)m.off(n[i],e);else{n=g(t)?t:p(t).split(s);var o,u,d,f,h,v=[c];for(i=0,r=n.length;i<r;i++)for(f=0;f<v.length;f+=d.length-2){if(d=[f,1],o=v[f].n,"*"!=n[i])o[n[i]]&&d.push(o[n[i]]);else for(u in o)o[a](u)&&d.push(o[u]);v.splice.apply(v,d)}for(i=0,r=v.length;i<r;i++)for(o=v[i];o.n;){if(e){if(o.f){for(f=0,h=o.f.length;f<h;f++)if(o.f[f]==e){o.f.splice(f,1);break}!o.f.length&&delete o.f}for(u in o.n)if(o.n[a](u)&&o.n[u].f){var y=o.n[u].f;for(f=0,h=y.length;f<h;f++)if(y[f]==e){y.splice(f,1);break}!y.length&&delete o.n[u].f}}else for(u in delete o.f,o.n)o.n[a](u)&&o.n[u].f&&delete o.n[u].f;o=o.n}}}else m._events=c={n:{}}},m.once=function(t,e){var n=function(){return m.off(t,n),e.apply(this,arguments)};return m.on(t,n)},m.version="0.5.0",m.toString=function(){return"You are running Eve 0.5.0"},t.exports?t.exports=m:void 0===(i=(function(){return m}).apply(e,[]))||(t.exports=i)},function(t,e,n){var i,r;i=[n(0)],void 0===(r=(function(t){if(!t||t.svg){var e="hasOwnProperty",n=String,i=parseFloat,r=parseInt,o=Math,a=o.max,s=o.abs,l=o.pow,u=/[, ]+/,c=t.eve,d="",f=" ",h="http://www.w3.org/1999/xlink",p={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},g={};t.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var m=function(i,r){if(r)for(var o in"string"==typeof i&&(i=m(i)),r)r[e](o)&&("xlink:"==o.substring(0,6)?i.setAttributeNS(h,o.substring(6),n(r[o])):i.setAttribute(o,n(r[o])));else(i=t._g.doc.createElementNS("http://www.w3.org/2000/svg",i)).style&&(i.style.webkitTapHighlightColor="rgba(0,0,0,0)");return i},v=function(e,r){var u="linear",c=e.id+r,f=.5,h=.5,p=e.node,g=e.paper,v=p.style,b=t._g.doc.getElementById(c);if(!b){if(r=(r=n(r).replace(t._radial_gradient,function(t,e,n){if(u="radial",e&&n){f=i(e);var r=2*((h=i(n))>.5)-1;l(f-.5,2)+l(h-.5,2)>.25&&(h=o.sqrt(.25-l(f-.5,2))*r+.5)&&.5!=h&&(h=h.toFixed(5)-1e-5*r)}return d})).split(/\s*\-\s*/),"linear"==u){var x=r.shift();if(x=-i(x),isNaN(x))return null;var w=[0,0,o.cos(t.rad(x)),o.sin(t.rad(x))],_=1/(a(s(w[2]),s(w[3]))||1);w[2]*=_,w[3]*=_,w[2]<0&&(w[0]=-w[2],w[2]=0),w[3]<0&&(w[1]=-w[3],w[3]=0)}var C=t._parseDots(r);if(!C)return null;if(c=c.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&c!=e.gradient.id&&(g.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){b=m(u+"Gradient",{id:c}),e.gradient=b,m(b,"radial"==u?{fx:f,fy:h}:{x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientTransform:e.matrix.invert()}),g.defs.appendChild(b);for(var k=0,T=C.length;k<T;k++)b.appendChild(m("stop",{offset:C[k].offset?C[k].offset:k?"100%":"0%","stop-color":C[k].color||"#fff","stop-opacity":isFinite(C[k].opacity)?C[k].opacity:1}))}}return m(p,{fill:y(c),opacity:1,"fill-opacity":1}),v.fill=d,v.opacity=1,v.fillOpacity=1,1},y=function(t){if((e=document.documentMode)&&(9===e||10===e))return"url('#"+t+"')";var e,n=document.location;return"url('"+n.protocol+"//"+n.host+n.pathname+n.search+"#"+t+"')"},b=function(t){var e=t.getBBox(1);m(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},x=function(i,r,o){if("path"==i.type){for(var a,s,l,u,c,f=n(r).toLowerCase().split("-"),h=i.paper,v=o?"end":"start",y=i.node,b=i.attrs,x=b["stroke-width"],w=f.length,_="classic",C=3,k=3,T=5;w--;)switch(f[w]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":_=f[w];break;case"wide":k=5;break;case"narrow":k=2;break;case"long":C=5;break;case"short":C=2}if("open"==_?(C+=2,k+=2,T+=2,l=1,u=o?4:1,c={fill:"none",stroke:b.stroke}):(u=l=C/2,c={fill:b.stroke,stroke:"none"}),i._.arrows?o?(i._.arrows.endPath&&g[i._.arrows.endPath]--,i._.arrows.endMarker&&g[i._.arrows.endMarker]--):(i._.arrows.startPath&&g[i._.arrows.startPath]--,i._.arrows.startMarker&&g[i._.arrows.startMarker]--):i._.arrows={},"none"!=_){var S="raphael-marker-"+_,E="raphael-marker-"+v+_+C+k+"-obj"+i.id;t._g.doc.getElementById(S)?g[S]++:(h.defs.appendChild(m(m("path"),{"stroke-linecap":"round",d:p[_],id:S})),g[S]=1);var A,L=t._g.doc.getElementById(E);L?(g[E]++,A=L.getElementsByTagName("use")[0]):(L=m(m("marker"),{id:E,markerHeight:k,markerWidth:C,orient:"auto",refX:u,refY:k/2}),A=m(m("use"),{"xlink:href":"#"+S,transform:(o?"rotate(180 "+C/2+" "+k/2+") ":d)+"scale("+C/T+","+k/T+")","stroke-width":(1/((C/T+k/T)/2)).toFixed(4)}),L.appendChild(A),h.defs.appendChild(L),g[E]=1),m(A,c);var M=l*("diamond"!=_&&"oval"!=_);o?(a=i._.arrows.startdx*x||0,s=t.getTotalLength(b.path)-M*x):(a=M*x,s=t.getTotalLength(b.path)-(i._.arrows.enddx*x||0)),(c={})["marker-"+v]="url(#"+E+")",(s||a)&&(c.d=t.getSubpath(b.path,a,s)),m(y,c),i._.arrows[v+"Path"]=S,i._.arrows[v+"Marker"]=E,i._.arrows[v+"dx"]=M,i._.arrows[v+"Type"]=_,i._.arrows[v+"String"]=r}else o?(a=i._.arrows.startdx*x||0,s=t.getTotalLength(b.path)-a):(a=0,s=t.getTotalLength(b.path)-(i._.arrows.enddx*x||0)),i._.arrows[v+"Path"]&&m(y,{d:t.getSubpath(b.path,a,s)}),delete i._.arrows[v+"Path"],delete i._.arrows[v+"Marker"],delete i._.arrows[v+"dx"],delete i._.arrows[v+"Type"],delete i._.arrows[v+"String"];for(c in g)if(g[e](c)&&!g[c]){var D=t._g.doc.getElementById(c);D&&D.parentNode.removeChild(D)}}},w={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},_=function(t,e,i){if(e=w[n(e).toLowerCase()]){for(var r=t.attrs["stroke-width"]||"1",o={round:r,square:r,butt:0}[t.attrs["stroke-linecap"]||i["stroke-linecap"]]||0,a=[],s=e.length;s--;)a[s]=e[s]*r+(s%2?1:-1)*o;m(t.node,{"stroke-dasharray":a.join(",")})}else m(t.node,{"stroke-dasharray":"none"})},C=function(i,o){var l=i.node,c=i.attrs,f=l.style.visibility;for(var p in l.style.visibility="hidden",o)if(o[e](p)){if(!t._availableAttrs[e](p))continue;var g=o[p];switch(c[p]=g,p){case"blur":i.blur(g);break;case"title":var y=l.getElementsByTagName("title");if(y.length&&(y=y[0]))y.firstChild.nodeValue=g;else{y=m("title");var w=t._g.doc.createTextNode(g);y.appendChild(w),l.appendChild(y)}break;case"href":case"target":var C=l.parentNode;if("a"!=C.tagName.toLowerCase()){var T=m("a");C.insertBefore(T,l),T.appendChild(l),C=T}"target"==p?C.setAttributeNS(h,"show","blank"==g?"new":g):C.setAttributeNS(h,p,g);break;case"cursor":l.style.cursor=g;break;case"transform":i.transform(g);break;case"arrow-start":x(i,g);break;case"arrow-end":x(i,g,1);break;case"clip-rect":var S=n(g).split(u);if(4==S.length){i.clip&&i.clip.parentNode.parentNode.removeChild(i.clip.parentNode);var E=m("clipPath"),A=m("rect");E.id=t.createUUID(),m(A,{x:S[0],y:S[1],width:S[2],height:S[3]}),E.appendChild(A),i.paper.defs.appendChild(E),m(l,{"clip-path":"url(#"+E.id+")"}),i.clip=A}if(!g){var L=l.getAttribute("clip-path");if(L){var M=t._g.doc.getElementById(L.replace(/(^url\(#|\)$)/g,d));M&&M.parentNode.removeChild(M),m(l,{"clip-path":d}),delete i.clip}}break;case"path":"path"==i.type&&(m(l,{d:g?c.path=t._pathToAbsolute(g):"M0,0"}),i._.dirty=1,i._.arrows&&("startString"in i._.arrows&&x(i,i._.arrows.startString),"endString"in i._.arrows&&x(i,i._.arrows.endString,1)));break;case"width":if(l.setAttribute(p,g),i._.dirty=1,!c.fx)break;p="x",g=c.x;case"x":c.fx&&(g=-c.x-(c.width||0));case"rx":if("rx"==p&&"rect"==i.type)break;case"cx":l.setAttribute(p,g),i.pattern&&b(i),i._.dirty=1;break;case"height":if(l.setAttribute(p,g),i._.dirty=1,!c.fy)break;p="y",g=c.y;case"y":c.fy&&(g=-c.y-(c.height||0));case"ry":if("ry"==p&&"rect"==i.type)break;case"cy":l.setAttribute(p,g),i.pattern&&b(i),i._.dirty=1;break;case"r":"rect"==i.type?m(l,{rx:g,ry:g}):l.setAttribute(p,g),i._.dirty=1;break;case"src":"image"==i.type&&l.setAttributeNS(h,"href",g);break;case"stroke-width":1==i._.sx&&1==i._.sy||(g/=a(s(i._.sx),s(i._.sy))||1),l.setAttribute(p,g),c["stroke-dasharray"]&&_(i,c["stroke-dasharray"],o),i._.arrows&&("startString"in i._.arrows&&x(i,i._.arrows.startString),"endString"in i._.arrows&&x(i,i._.arrows.endString,1));break;case"stroke-dasharray":_(i,g,o);break;case"fill":var D=n(g).match(t._ISURL);if(D){E=m("pattern");var O=m("image");E.id=t.createUUID(),m(E,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),m(O,{x:0,y:0,"xlink:href":D[1]}),E.appendChild(O),function(e){t._preload(D[1],function(){var t=this.offsetWidth,n=this.offsetHeight;m(e,{width:t,height:n}),m(O,{width:t,height:n})})}(E),i.paper.defs.appendChild(E),m(l,{fill:"url(#"+E.id+")"}),i.pattern=E,i.pattern&&b(i);break}var I=t.getRGB(g);if(I.error){if(("circle"==i.type||"ellipse"==i.type||"r"!=n(g).charAt())&&v(i,g)){if("opacity"in c||"fill-opacity"in c){var P=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,d));if(P){var N=P.getElementsByTagName("stop");m(N[N.length-1],{"stop-opacity":("opacity"in c?c.opacity:1)*("fill-opacity"in c?c["fill-opacity"]:1)})}}c.gradient=g,c.fill="none";break}}else delete o.gradient,delete c.gradient,!t.is(c.opacity,"undefined")&&t.is(o.opacity,"undefined")&&m(l,{opacity:c.opacity}),!t.is(c["fill-opacity"],"undefined")&&t.is(o["fill-opacity"],"undefined")&&m(l,{"fill-opacity":c["fill-opacity"]});I[e]("opacity")&&m(l,{"fill-opacity":I.opacity>1?I.opacity/100:I.opacity});case"stroke":I=t.getRGB(g),l.setAttribute(p,I.hex),"stroke"==p&&I[e]("opacity")&&m(l,{"stroke-opacity":I.opacity>1?I.opacity/100:I.opacity}),"stroke"==p&&i._.arrows&&("startString"in i._.arrows&&x(i,i._.arrows.startString),"endString"in i._.arrows&&x(i,i._.arrows.endString,1));break;case"gradient":("circle"==i.type||"ellipse"==i.type||"r"!=n(g).charAt())&&v(i,g);break;case"opacity":c.gradient&&!c[e]("stroke-opacity")&&m(l,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(c.gradient){(P=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,d)))&&(N=P.getElementsByTagName("stop"),m(N[N.length-1],{"stop-opacity":g}));break}default:"font-size"==p&&(g=r(g,10)+"px");var z=p.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});l.style[z]=g,i._.dirty=1,l.setAttribute(p,g)}}k(i,o),l.style.visibility=f},k=function(i,o){if("text"==i.type&&(o[e]("text")||o[e]("font")||o[e]("font-size")||o[e]("x")||o[e]("y"))){var a=i.attrs,s=i.node,l=s.firstChild?r(t._g.doc.defaultView.getComputedStyle(s.firstChild,d).getPropertyValue("font-size"),10):10;if(o[e]("text")){for(a.text=o.text;s.firstChild;)s.removeChild(s.firstChild);for(var u,c=n(o.text).split("\n"),f=[],h=0,p=c.length;h<p;h++)u=m("tspan"),h&&m(u,{dy:1.2*l,x:a.x}),u.appendChild(t._g.doc.createTextNode(c[h])),s.appendChild(u),f[h]=u}else for(h=0,p=(f=s.getElementsByTagName("tspan")).length;h<p;h++)h?m(f[h],{dy:1.2*l,x:a.x}):m(f[0],{dy:0});m(s,{x:a.x,y:a.y}),i._.dirty=1;var g=i._getBBox(),v=a.y-(g.y+g.height/2);v&&t.is(v,"finite")&&m(f[0],{dy:v})}},T=function(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t},S=function(e,n){this[0]=this.node=e,e.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),e.raphaelid=this.id,this.matrix=t.matrix(),this.realPath=null,this.paper=n,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},E=t.el;S.prototype=E,E.constructor=S,t._engine.path=function(t,e){var n=m("path");e.canvas&&e.canvas.appendChild(n);var i=new S(n,e);return i.type="path",C(i,{fill:"none",stroke:"#000",path:t}),i},E.rotate=function(t,e,r){if(this.removed)return this;if((t=n(t).split(u)).length-1&&(e=i(t[1]),r=i(t[2])),t=i(t[0]),null==r&&(e=r),null==e||null==r){var o=this.getBBox(1);e=o.x+o.width/2,r=o.y+o.height/2}return this.transform(this._.transform.concat([["r",t,e,r]])),this},E.scale=function(t,e,r,o){if(this.removed)return this;if((t=n(t).split(u)).length-1&&(e=i(t[1]),r=i(t[2]),o=i(t[3])),t=i(t[0]),null==e&&(e=t),null==o&&(r=o),null==r||null==o)var a=this.getBBox(1);return this.transform(this._.transform.concat([["s",t,e,r=null==r?a.x+a.width/2:r,o=null==o?a.y+a.height/2:o]])),this},E.translate=function(t,e){return this.removed||((t=n(t).split(u)).length-1&&(e=i(t[1])),t=i(t[0])||0,this.transform(this._.transform.concat([["t",t,e=+e||0]]))),this},E.transform=function(n){var i=this._;if(null==n)return i.transform;if(t._extractTransform(this,n),this.clip&&m(this.clip,{transform:this.matrix.invert()}),this.pattern&&b(this),this.node&&m(this.node,{transform:this.matrix}),1!=i.sx||1!=i.sy){var r=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":r})}return this},E.hide=function(){return this.removed||(this.node.style.display="none"),this},E.show=function(){return this.removed||(this.node.style.display=""),this},E.remove=function(){var e=T(this.node);if(!this.removed&&e.parentNode){var n=this.paper;for(var i in n.__set__&&n.__set__.exclude(this),c.unbind("raphael.*.*."+this.id),this.gradient&&n.defs.removeChild(this.gradient),t._tear(this,n),e.parentNode.removeChild(e),this.removeData(),this)this[i]="function"==typeof this[i]?t._removedFactory(i):null;this.removed=!0}},E._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e,n=!1;this.paper.canvas.parentElement?e=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(e=this.paper.canvas.parentNode.style),e&&"none"==e.display&&(n=!0,e.display="");var i={};try{i=this.node.getBBox()}catch(t){i={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{i=i||{},n&&(e.display="none")}return t&&this.hide(),i},E.attr=function(n,i){if(this.removed)return this;if(null==n){var r={};for(var o in this.attrs)this.attrs[e](o)&&(r[o]=this.attrs[o]);return r.gradient&&"none"==r.fill&&(r.fill=r.gradient)&&delete r.gradient,r.transform=this._.transform,r}if(null==i&&t.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==n)return this._.transform;for(var a=n.split(u),s={},l=0,d=a.length;l<d;l++)s[n]=(n=a[l])in this.attrs?this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?this.paper.customAttributes[n].def:t._availableAttrs[n];return d-1?s:s[a[0]]}if(null==i&&t.is(n,"array")){for(s={},l=0,d=n.length;l<d;l++)s[n[l]]=this.attr(n[l]);return s}if(null!=i){var f={};f[n]=i}else null!=n&&t.is(n,"object")&&(f=n);for(var h in f)c("raphael.attr."+h+"."+this.id,this,f[h]);for(h in this.paper.customAttributes)if(this.paper.customAttributes[e](h)&&f[e](h)&&t.is(this.paper.customAttributes[h],"function")){var p=this.paper.customAttributes[h].apply(this,[].concat(f[h]));for(var g in this.attrs[h]=f[h],p)p[e](g)&&(f[g]=p[g])}return C(this,f),this},E.toFront=function(){if(this.removed)return this;var e=T(this.node);e.parentNode.appendChild(e);var n=this.paper;return n.top!=this&&t._tofront(this,n),this},E.toBack=function(){if(this.removed)return this;var e=T(this.node),n=e.parentNode;return n.insertBefore(e,n.firstChild),t._toback(this,this.paper),this},E.insertAfter=function(e){if(this.removed||!e)return this;var n=T(this.node),i=T(e.node||e[e.length-1].node);return i.nextSibling?i.parentNode.insertBefore(n,i.nextSibling):i.parentNode.appendChild(n),t._insertafter(this,e,this.paper),this},E.insertBefore=function(e){if(this.removed||!e)return this;var n=T(this.node),i=T(e.node||e[0].node);return i.parentNode.insertBefore(n,i),t._insertbefore(this,e,this.paper),this},E.blur=function(e){var n=this;if(0!=+e){var i=m("filter"),r=m("feGaussianBlur");n.attrs.blur=e,i.id=t.createUUID(),m(r,{stdDeviation:+e||1.5}),i.appendChild(r),n.paper.defs.appendChild(i),n._blur=i,m(n.node,{filter:"url(#"+i.id+")"})}else n._blur&&(n._blur.parentNode.removeChild(n._blur),delete n._blur,delete n.attrs.blur),n.node.removeAttribute("filter");return n},t._engine.circle=function(t,e,n,i){var r=m("circle");t.canvas&&t.canvas.appendChild(r);var o=new S(r,t);return o.attrs={cx:e,cy:n,r:i,fill:"none",stroke:"#000"},o.type="circle",m(r,o.attrs),o},t._engine.rect=function(t,e,n,i,r,o){var a=m("rect");t.canvas&&t.canvas.appendChild(a);var s=new S(a,t);return s.attrs={x:e,y:n,width:i,height:r,rx:o||0,ry:o||0,fill:"none",stroke:"#000"},s.type="rect",m(a,s.attrs),s},t._engine.ellipse=function(t,e,n,i,r){var o=m("ellipse");t.canvas&&t.canvas.appendChild(o);var a=new S(o,t);return a.attrs={cx:e,cy:n,rx:i,ry:r,fill:"none",stroke:"#000"},a.type="ellipse",m(o,a.attrs),a},t._engine.image=function(t,e,n,i,r,o){var a=m("image");m(a,{x:n,y:i,width:r,height:o,preserveAspectRatio:"none"}),a.setAttributeNS(h,"href",e),t.canvas&&t.canvas.appendChild(a);var s=new S(a,t);return s.attrs={x:n,y:i,width:r,height:o,src:e},s.type="image",s},t._engine.text=function(e,n,i,r){var o=m("text");e.canvas&&e.canvas.appendChild(o);var a=new S(o,e);return a.attrs={x:n,y:i,"text-anchor":"middle",text:r,"font-family":t._availableAttrs["font-family"],"font-size":t._availableAttrs["font-size"],stroke:"none",fill:"#000"},a.type="text",C(a,a.attrs),a},t._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e&&e.container;if(!n)throw new Error("SVG container not found.");var i,r=e.x,o=e.y,a=e.width,s=e.height,l=m("svg"),u="overflow:hidden;";return r=r||0,o=o||0,m(l,{height:s=s||342,version:1.1,width:a=a||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==n?(l.style.cssText=u+"position:absolute;left:"+r+"px;top:"+o+"px",t._g.doc.body.appendChild(l),i=1):(l.style.cssText=u+"position:relative",n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l)),(n=new t._Paper).width=a,n.height=s,n.canvas=l,n.clear(),n._left=n._top=0,i&&(n.renderfix=function(){}),n.renderfix(),n},t._engine.setViewBox=function(t,e,n,i,r){c("raphael.setViewBox",this,this._viewBox,[t,e,n,i,r]);var o,s=this.getSize(),l=a(n/s.width,i/s.height),u=this.top,d=r?"xMidYMid meet":"xMinYMin";for(null==t?(this._vbSize&&(l=1),delete this._vbSize,o="0 0 "+this.width+f+this.height):(this._vbSize=l,o=t+f+e+f+n+f+i),m(this.canvas,{viewBox:o,preserveAspectRatio:d});l&&u;)u.attr({"stroke-width":"stroke-width"in u.attrs?u.attrs["stroke-width"]:1}),u._.dirty=1,u._.dirtyT=1,u=u.prev;return this._viewBox=[t,e,n,i,!!r],this},t.prototype.renderfix=function(){var t,e=this.canvas,n=e.style;try{t=e.getScreenCTM()||e.createSVGMatrix()}catch(n){t=e.createSVGMatrix()}var i=-t.e%1,r=-t.f%1;(i||r)&&(i&&(this._left=(this._left+i)%1,n.left=this._left+"px"),r&&(this._top=(this._top+r)%1,n.top=this._top+"px"))},t.prototype.clear=function(){t.eve("raphael.clear",this);for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null,(this.desc=m("desc")).appendChild(t._g.doc.createTextNode("Created with Raphaël "+t.version)),e.appendChild(this.desc),e.appendChild(this.defs=m("defs"))},t.prototype.remove=function(){for(var e in c("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var A=t.st;for(var L in E)E[e](L)&&!A[e](L)&&(A[L]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(L))}}).apply(e,i))||(t.exports=r)},function(t,e,n){var i,r;i=[n(0)],void 0===(r=(function(t){if(!t||t.vml){var e="hasOwnProperty",n=String,i=parseFloat,r=Math,o=r.round,a=r.max,s=r.min,l=r.abs,u=/[, ]+/,c=t.eve,d=" ",f="",h={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},p=/([clmz]),?([^clmz]*)/gi,g=/ progid:\S+Blur\([^\)]+\)/g,m=/-?[^,\s-]+/g,v="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",y=21600,b={path:1,rect:1,image:1},x={circle:1,ellipse:1},w=function(e,n,i){var r=t.matrix();return r.rotate(-e,.5,.5),{dx:r.x(n,i),dy:r.y(n,i)}},_=function(t,e,n,i,r,o){var a=t._,s=t.matrix,u=a.fillpos,c=t.node,f=c.style,h=1,p="",g=y/e,m=y/n;if(f.visibility="hidden",e&&n){if(c.coordsize=l(g)+d+l(m),f.rotation=o*(e*n<0?-1:1),o){var v=w(o,i,r);i=v.dx,r=v.dy}if(e<0&&(p+="x"),n<0&&(p+=" y")&&(h=-1),f.flip=p,c.coordorigin=i*-g+d+r*-m,u||a.fillsize){var b=c.getElementsByTagName("fill");c.removeChild(b=b&&b[0]),u&&(v=w(o,s.x(u[0],u[1]),s.y(u[0],u[1])),b.position=v.dx*h+d+v.dy*h),a.fillsize&&(b.size=a.fillsize[0]*l(e)+d+a.fillsize[1]*l(n)),c.appendChild(b)}f.visibility="visible"}};t.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var C,k=function(t,e,i){for(var r=n(e).toLowerCase().split("-"),o=i?"end":"start",a=r.length,s="classic",l="medium",u="medium";a--;)switch(r[a]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":s=r[a];break;case"wide":case"narrow":u=r[a];break;case"long":case"short":l=r[a]}var c=t.node.getElementsByTagName("stroke")[0];c[o+"arrow"]=s,c[o+"arrowlength"]=l,c[o+"arrowwidth"]=u},T=function(r,l){r.attrs=r.attrs||{};var c=r.node,g=r.attrs,v=c.style,w=b[r.type]&&(l.x!=g.x||l.y!=g.y||l.width!=g.width||l.height!=g.height||l.cx!=g.cx||l.cy!=g.cy||l.rx!=g.rx||l.ry!=g.ry||l.r!=g.r),T=x[r.type]&&(g.cx!=l.cx||g.cy!=l.cy||g.r!=l.r||g.rx!=l.rx||g.ry!=l.ry),E=r;for(var A in l)l[e](A)&&(g[A]=l[A]);if(w&&(g.path=t._getPath[r.type](r),r._.dirty=1),l.href&&(c.href=l.href),l.title&&(c.title=l.title),l.target&&(c.target=l.target),l.cursor&&(v.cursor=l.cursor),"blur"in l&&r.blur(l.blur),(l.path&&"path"==r.type||w)&&(c.path=function(e){var i=/[ahqstv]/gi,r=t._pathToAbsolute;if(n(e).match(i)&&(r=t._path2curve),i=/[clmz]/g,r==t._pathToAbsolute&&!n(e).match(i)){var a=n(e).replace(p,function(t,e,n){var i=[],r="m"==e.toLowerCase(),a=h[e];return n.replace(m,function(t){r&&2==i.length&&(a+=i+h["m"==e?"l":"L"],i=[]),i.push(o(t*y))}),a+i});return a}var s,l,u=r(e);a=[];for(var c=0,g=u.length;c<g;c++){s=u[c],"z"==(l=u[c][0].toLowerCase())&&(l="x");for(var v=1,b=s.length;v<b;v++)l+=o(s[v]*y)+(v!=b-1?",":f);a.push(l)}return a.join(d)}(~n(g.path).toLowerCase().indexOf("r")?t._pathToAbsolute(g.path):g.path),r._.dirty=1,"image"==r.type&&(r._.fillpos=[g.x,g.y],r._.fillsize=[g.width,g.height],_(r,1,1,0,0,0))),"transform"in l&&r.transform(l.transform),T){var L=+g.cx,M=+g.cy,D=+g.rx||+g.r||0,O=+g.ry||+g.r||0;c.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",o((L-D)*y),o((M-O)*y),o((L+D)*y),o((M+O)*y),o(L*y)),r._.dirty=1}if("clip-rect"in l){var I=n(l["clip-rect"]).split(u);if(4==I.length){I[2]=+I[2]+ +I[0],I[3]=+I[3]+ +I[1];var P=c.clipRect||t._g.doc.createElement("div"),N=P.style;N.clip=t.format("rect({1}px {2}px {3}px {0}px)",I),c.clipRect||(N.position="absolute",N.top=0,N.left=0,N.width=r.paper.width+"px",N.height=r.paper.height+"px",c.parentNode.insertBefore(P,c),P.appendChild(c),c.clipRect=P)}l["clip-rect"]||c.clipRect&&(c.clipRect.style.clip="auto")}if(r.textpath){var z=r.textpath.style;l.font&&(z.font=l.font),l["font-family"]&&(z.fontFamily='"'+l["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,f)+'"'),l["font-size"]&&(z.fontSize=l["font-size"]),l["font-weight"]&&(z.fontWeight=l["font-weight"]),l["font-style"]&&(z.fontStyle=l["font-style"])}if("arrow-start"in l&&k(E,l["arrow-start"]),"arrow-end"in l&&k(E,l["arrow-end"],1),null!=l.opacity||null!=l.fill||null!=l.src||null!=l.stroke||null!=l["stroke-width"]||null!=l["stroke-opacity"]||null!=l["fill-opacity"]||null!=l["stroke-dasharray"]||null!=l["stroke-miterlimit"]||null!=l["stroke-linejoin"]||null!=l["stroke-linecap"]){var F=c.getElementsByTagName("fill");if(!(F=F&&F[0])&&(F=C("fill")),"image"==r.type&&l.src&&(F.src=l.src),l.fill&&(F.on=!0),null!=F.on&&"none"!=l.fill&&null!==l.fill||(F.on=!1),F.on&&l.fill){var B=n(l.fill).match(t._ISURL);if(B){F.parentNode==c&&c.removeChild(F),F.rotate=!0,F.src=B[1],F.type="tile";var j=r.getBBox(1);F.position=j.x+d+j.y,r._.fillpos=[j.x,j.y],t._preload(B[1],function(){r._.fillsize=[this.offsetWidth,this.offsetHeight]})}else F.color=t.getRGB(l.fill).hex,F.src=f,F.type="solid",t.getRGB(l.fill).error&&(E.type in{circle:1,ellipse:1}||"r"!=n(l.fill).charAt())&&S(E,l.fill,F)&&(g.fill="none",g.gradient=l.fill,F.rotate=!1)}if("fill-opacity"in l||"opacity"in l){var R=((+g["fill-opacity"]+1||2)-1)*((+g.opacity+1||2)-1)*((+t.getRGB(l.fill).o+1||2)-1);R=s(a(R,0),1),F.opacity=R,F.src&&(F.color="none")}c.appendChild(F);var H=c.getElementsByTagName("stroke")&&c.getElementsByTagName("stroke")[0],W=!1;!H&&(W=H=C("stroke")),(l.stroke&&"none"!=l.stroke||l["stroke-width"]||null!=l["stroke-opacity"]||l["stroke-dasharray"]||l["stroke-miterlimit"]||l["stroke-linejoin"]||l["stroke-linecap"])&&(H.on=!0),("none"==l.stroke||null===l.stroke||null==H.on||0==l.stroke||0==l["stroke-width"])&&(H.on=!1);var q=t.getRGB(l.stroke);H.on&&l.stroke&&(H.color=q.hex),R=((+g["stroke-opacity"]+1||2)-1)*((+g.opacity+1||2)-1)*((+q.o+1||2)-1);var V=.75*(i(l["stroke-width"])||1);if(R=s(a(R,0),1),null==l["stroke-width"]&&(V=g["stroke-width"]),l["stroke-width"]&&(H.weight=V),V&&V<1&&(R*=V)&&(H.weight=1),H.opacity=R,l["stroke-linejoin"]&&(H.joinstyle=l["stroke-linejoin"]||"miter"),H.miterlimit=l["stroke-miterlimit"]||8,l["stroke-linecap"]&&(H.endcap="butt"==l["stroke-linecap"]?"flat":"square"==l["stroke-linecap"]?"square":"round"),"stroke-dasharray"in l){var U={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};H.dashstyle=U[e](l["stroke-dasharray"])?U[l["stroke-dasharray"]]:f}W&&c.appendChild(H)}if("text"==E.type){E.paper.canvas.style.display=f;var Y=E.paper.span,$=g.font&&g.font.match(/\d+(?:\.\d*)?(?=px)/);v=Y.style,g.font&&(v.font=g.font),g["font-family"]&&(v.fontFamily=g["font-family"]),g["font-weight"]&&(v.fontWeight=g["font-weight"]),g["font-style"]&&(v.fontStyle=g["font-style"]),$=i(g["font-size"]||$&&$[0])||10,v.fontSize=100*$+"px",E.textpath.string&&(Y.innerHTML=n(E.textpath.string).replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,"<br>"));var Q=Y.getBoundingClientRect();E.W=g.w=(Q.right-Q.left)/100,E.H=g.h=(Q.bottom-Q.top)/100,E.X=g.x,E.Y=g.y+E.H/2,("x"in l||"y"in l)&&(E.path.v=t.format("m{0},{1}l{2},{1}",o(g.x*y),o(g.y*y),o(g.x*y)+1));for(var X=["x","y","text","font","font-family","font-weight","font-style","font-size"],G=0,K=X.length;G<K;G++)if(X[G]in l){E._.dirty=1;break}switch(g["text-anchor"]){case"start":E.textpath.style["v-text-align"]="left",E.bbx=E.W/2;break;case"end":E.textpath.style["v-text-align"]="right",E.bbx=-E.W/2;break;default:E.textpath.style["v-text-align"]="center",E.bbx=0}E.textpath.style["v-text-kern"]=!0}},S=function(e,o,a){e.attrs=e.attrs||{};var s=Math.pow,l="linear",u=".5 .5";if(e.attrs.gradient=o,o=(o=n(o).replace(t._radial_gradient,function(t,e,n){return l="radial",e&&n&&(e=i(e),n=i(n),s(e-.5,2)+s(n-.5,2)>.25&&(n=r.sqrt(.25-s(e-.5,2))*(2*(n>.5)-1)+.5),u=e+d+n),f})).split(/\s*\-\s*/),"linear"==l){var c=o.shift();if(c=-i(c),isNaN(c))return null}var h=t._parseDots(o);if(!h)return null;if(e=e.shape||e.node,h.length){e.removeChild(a),a.on=!0,a.method="none",a.color=h[0].color,a.color2=h[h.length-1].color;for(var p=[],g=0,m=h.length;g<m;g++)h[g].offset&&p.push(h[g].offset+d+h[g].color);a.colors=p.length?p.join():"0% "+a.color,"radial"==l?(a.type="gradientTitle",a.focus="100%",a.focussize="0 0",a.focusposition=u,a.angle=0):(a.type="gradient",a.angle=(270-c)%360),e.appendChild(a)}return 1},E=function(e,n){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=n,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},A=t.el;E.prototype=A,A.constructor=E,A.transform=function(e){if(null==e)return this._.transform;var i,r=this.paper._viewBoxShift,o=r?"s"+[r.scale,r.scale]+"-1-1t"+[r.dx,r.dy]:f;r&&(i=e=n(e).replace(/\.{3}|\u2026/g,this._.transform||f)),t._extractTransform(this,o+e);var a,s=this.matrix.clone(),l=this.skew,u=this.node,c=~n(this.attrs.fill).indexOf("-"),h=!n(this.attrs.fill).indexOf("url(");if(s.translate(1,1),h||c||"image"==this.type)if(l.matrix="1 0 0 1",l.offset="0 0",a=s.split(),c&&a.noRotation||!a.isSimple){u.style.filter=s.toFilter();var p=this.getBBox(),g=this.getBBox(1),m=p.x-g.x,v=p.y-g.y;u.coordorigin=m*-y+d+v*-y,_(this,1,1,m,v,0)}else u.style.filter=f,_(this,a.scalex,a.scaley,a.dx,a.dy,a.rotate);else u.style.filter=f,l.matrix=n(s),l.offset=s.offset();return null!==i&&(this._.transform=i,t._extractTransform(this,i)),this},A.rotate=function(t,e,r){if(this.removed)return this;if(null!=t){if((t=n(t).split(u)).length-1&&(e=i(t[1]),r=i(t[2])),t=i(t[0]),null==r&&(e=r),null==e||null==r){var o=this.getBBox(1);e=o.x+o.width/2,r=o.y+o.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,r]])),this}},A.translate=function(t,e){return this.removed||((t=n(t).split(u)).length-1&&(e=i(t[1])),t=i(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]]))),this},A.scale=function(t,e,r,o){if(this.removed)return this;if((t=n(t).split(u)).length-1&&(e=i(t[1]),r=i(t[2]),o=i(t[3]),isNaN(r)&&(r=null),isNaN(o)&&(o=null)),t=i(t[0]),null==e&&(e=t),null==o&&(r=o),null==r||null==o)var a=this.getBBox(1);return this.transform(this._.transform.concat([["s",t,e,r=null==r?a.x+a.width/2:r,o=null==o?a.y+a.height/2:o]])),this._.dirtyT=1,this},A.hide=function(){return!this.removed&&(this.node.style.display="none"),this},A.show=function(){return!this.removed&&(this.node.style.display=f),this},A.auxGetBBox=t.el.getBBox,A.getBBox=function(){var t=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var e={},n=1/this.paper._viewBoxShift.scale;return e.x=t.x-this.paper._viewBoxShift.dx,e.x*=n,e.y=t.y-this.paper._viewBoxShift.dy,e.y*=n,e.width=t.width*n,e.height=t.height*n,e.x2=e.x+e.width,e.y2=e.y+e.height,e}return t},A._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},A.remove=function(){if(!this.removed&&this.node.parentNode){for(var e in this.paper.__set__&&this.paper.__set__.exclude(this),t.eve.unbind("raphael.*.*."+this.id),t._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;this.removed=!0}},A.attr=function(n,i){if(this.removed)return this;if(null==n){var r={};for(var o in this.attrs)this.attrs[e](o)&&(r[o]=this.attrs[o]);return r.gradient&&"none"==r.fill&&(r.fill=r.gradient)&&delete r.gradient,r.transform=this._.transform,r}if(null==i&&t.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var a=n.split(u),s={},l=0,d=a.length;l<d;l++)s[n]=(n=a[l])in this.attrs?this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?this.paper.customAttributes[n].def:t._availableAttrs[n];return d-1?s:s[a[0]]}if(this.attrs&&null==i&&t.is(n,"array")){for(s={},l=0,d=n.length;l<d;l++)s[n[l]]=this.attr(n[l]);return s}var f;for(var h in null!=i&&((f={})[n]=i),null==i&&t.is(n,"object")&&(f=n),f)c("raphael.attr."+h+"."+this.id,this,f[h]);if(f){for(h in this.paper.customAttributes)if(this.paper.customAttributes[e](h)&&f[e](h)&&t.is(this.paper.customAttributes[h],"function")){var p=this.paper.customAttributes[h].apply(this,[].concat(f[h]));for(var g in this.attrs[h]=f[h],p)p[e](g)&&(f[g]=p[g])}f.text&&"text"==this.type&&(this.textpath.string=f.text),T(this,f)}return this},A.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},A.toBack=function(){return this.removed||this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this},A.insertAfter=function(e){return this.removed||(e.constructor==t.st.constructor&&(e=e[e.length-1]),e.node.nextSibling?e.node.parentNode.insertBefore(this.node,e.node.nextSibling):e.node.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper)),this},A.insertBefore=function(e){return this.removed||(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper)),this},A.blur=function(e){var n=this.node.runtimeStyle,i=n.filter;return i=i.replace(g,f),0!=+e?(this.attrs.blur=e,n.filter=i+d+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+e||1.5)+")",n.margin=t.format("-{0}px 0 0 -{0}px",o(+e||1.5))):(n.filter=i,n.margin=0,delete this.attrs.blur),this},t._engine.path=function(t,e){var n=C("shape");n.style.cssText=v,n.coordsize=y+d+y,n.coordorigin=e.coordorigin;var i=new E(n,e),r={fill:"none",stroke:"#000"};t&&(r.path=t),i.type="path",i.path=[],i.Path=f,T(i,r),e.canvas&&e.canvas.appendChild(n);var o=C("skew");return o.on=!0,n.appendChild(o),i.skew=o,i.transform(f),i},t._engine.rect=function(e,n,i,r,o,a){var s=t._rectPath(n,i,r,o,a),l=e.path(s),u=l.attrs;return l.X=u.x=n,l.Y=u.y=i,l.W=u.width=r,l.H=u.height=o,u.r=a,u.path=s,l.type="rect",l},t._engine.ellipse=function(t,e,n,i,r){var o=t.path();return o.X=e-i,o.Y=n-r,o.W=2*i,o.H=2*r,o.type="ellipse",T(o,{cx:e,cy:n,rx:i,ry:r}),o},t._engine.circle=function(t,e,n,i){var r=t.path();return r.X=e-i,r.Y=n-i,r.W=r.H=2*i,r.type="circle",T(r,{cx:e,cy:n,r:i}),r},t._engine.image=function(e,n,i,r,o,a){var s=t._rectPath(i,r,o,a),l=e.path(s).attr({stroke:"none"}),u=l.attrs,c=l.node,d=c.getElementsByTagName("fill")[0];return u.src=n,l.X=u.x=i,l.Y=u.y=r,l.W=u.width=o,l.H=u.height=a,u.path=s,l.type="image",d.parentNode==c&&c.removeChild(d),d.rotate=!0,d.src=n,d.type="tile",l._.fillpos=[i,r],l._.fillsize=[o,a],c.appendChild(d),_(l,1,1,0,0,0),l},t._engine.text=function(e,i,r,a){var s=C("shape"),l=C("path"),u=C("textpath");r=r||0,a=a||"",l.v=t.format("m{0},{1}l{2},{1}",o((i=i||0)*y),o(r*y),o(i*y)+1),l.textpathok=!0,u.string=n(a),u.on=!0,s.style.cssText=v,s.coordsize=y+d+y,s.coordorigin="0 0";var c=new E(s,e),h={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:a};c.shape=s,c.path=l,c.textpath=u,c.type="text",c.attrs.text=n(a),c.attrs.x=i,c.attrs.y=r,c.attrs.w=1,c.attrs.h=1,T(c,h),s.appendChild(u),s.appendChild(l),e.canvas.appendChild(s);var p=C("skew");return p.on=!0,s.appendChild(p),c.skew=p,c.transform(f),c},t._engine.setSize=function(e,n){var i=this.canvas.style;return this.width=e,this.height=n,e==+e&&(e+="px"),n==+n&&(n+="px"),i.width=e,i.height=n,i.clip="rect(0 "+e+" "+n+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,n,i,r,o){t.eve("raphael.setViewBox",this,this._viewBox,[e,n,i,r,o]);var a,s,l=this.getSize(),u=l.width,c=l.height;return o&&(i*(a=c/r)<u&&(e-=(u-i*a)/2/a),r*(s=u/i)<c&&(n-=(c-r*s)/2/s)),this._viewBox=[e,n,i,r,!!o],this._viewBoxShift={dx:-e,dy:-n,scale:l},this.forEach(function(t){t.transform("...")}),this},t._engine.initWin=function(t){var e=t.document;e.styleSheets.length<31?e.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):e.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!e.namespaces.rvml&&e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),C=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(t){C=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e.container,i=e.height,r=e.width,o=e.x,a=e.y;if(!n)throw new Error("VML container not found.");var s=new t._Paper,l=s.canvas=t._g.doc.createElement("div"),u=l.style;return o=o||0,a=a||0,i=i||342,s.width=r=r||512,s.height=i,r==+r&&(r+="px"),i==+i&&(i+="px"),s.coordsize="21600000 21600000",s.coordorigin="0 0",s.span=t._g.doc.createElement("span"),s.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",l.appendChild(s.span),u.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",r,i),1==n?(t._g.doc.body.appendChild(l),u.left=o+"px",u.top=a+"px",u.position="absolute"):n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),s.renderfix=function(){},s},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML=f,this.span=t._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},t.prototype.remove=function(){for(var e in t.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var L=t.st;for(var M in A)A[e](M)&&!L[e](M)&&(L[M]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(M))}}).apply(e,i))||(t.exports=r)}])}),function(t){"object"==typeof exports?module.exports=t(require("jquery"),require("raphael"),require("jquery-mousewheel")):"function"==typeof define&&define.amd?define(["jquery","raphael","mousewheel"],t):t(jQuery,Raphael,jQuery)}(function(t,e,n,i){"use strict";var r=function(e,n){var i=this;i.container=e,i.$container=t(e),i.options=i.extendDefaultOptions(n),i.zoomTO=0,i.zoomCenterX=0,i.zoomCenterY=0,i.previousPinchDist=0,i.zoomData={zoomLevel:0,zoomX:0,zoomY:0,panX:0,panY:0},i.currentViewBox={x:0,y:0,w:0,h:0},i.panning=!1,i.zoomAnimID=null,i.zoomAnimStartTime=null,i.zoomAnimCVBTarget=null,i.$map=t("."+i.options.map.cssClass,i.container),i.initialMapHTMLContent=i.$map.html(),i.$tooltip={},i.paper={},i.areas={},i.plots={},i.links={},i.legends={},i.mapConf={},i.customEventHandlers={},i.init()};return r.prototype={MouseOverFilteringTO:120,panningFilteringTO:150,panningEndFilteringTO:50,zoomFilteringTO:150,resizeFilteringTO:150,init:function(){var n=this;if(""===n.options.map.cssClass||0===t("."+n.options.map.cssClass,n.container).length)throw new Error("The map class `"+n.options.map.cssClass+"` doesn't exists");if(n.$tooltip=t("<div>").addClass(n.options.map.tooltip.cssClass).css("display","none"),n.$map.empty().append(n.$tooltip),t.mapael&&t.mapael.maps&&t.mapael.maps[n.options.map.name])n.mapConf=t.mapael.maps[n.options.map.name];else{if(!(t.fn.mapael&&t.fn.mapael.maps&&t.fn.mapael.maps[n.options.map.name]))throw new Error("Unknown map '"+n.options.map.name+"'");n.mapConf=t.fn.mapael.maps[n.options.map.name],window.console&&window.console.warn&&window.console.warn("Extending $.fn.mapael is deprecated (map '"+n.options.map.name+"')")}if(n.paper=new e(n.$map[0],n.mapConf.width,n.mapConf.height),!0===n.isRaphaelBBoxBugPresent())throw n.destroy(),new Error("Can't get boundary box for text (is your container hidden? See #135)");n.$container.addClass("mapael"),n.options.map.tooltip.css&&n.$tooltip.css(n.options.map.tooltip.css),n.setViewBox(0,0,n.mapConf.width,n.mapConf.height),n.options.map.width?n.paper.setSize(n.options.map.width,n.mapConf.height*(n.options.map.width/n.mapConf.width)):n.initResponsiveSize(),t.each(n.mapConf.elems,function(t){n.areas[t]={},n.areas[t].options=n.getElemOptions(n.options.map.defaultArea,n.options.areas[t]?n.options.areas[t]:{},n.options.legend.area),n.areas[t].mapElem=n.paper.path(n.mapConf.elems[t])}),n.options.map.beforeInit&&n.options.map.beforeInit(n.$container,n.paper,n.options),t.each(n.mapConf.elems,function(t){n.initElem(t,"area",n.areas[t])}),n.links=n.drawLinksCollection(n.options.links),t.each(n.options.plots,function(t){n.plots[t]=n.drawPlot(t)}),n.$container.on("zoom.mapael",function(t,e){n.onZoomEvent(t,e)}),n.options.map.zoom.enabled&&n.initZoom(n.mapConf.width,n.mapConf.height,n.options.map.zoom),n.options.map.zoom.init!==i&&(n.options.map.zoom.init.animDuration===i&&(n.options.map.zoom.init.animDuration=0),n.$container.trigger("zoom",n.options.map.zoom.init)),n.createLegends("area",n.areas,1),n.createLegends("plot",n.plots,n.paper.width/n.mapConf.width),n.$container.on("update.mapael",function(t,e){n.onUpdateEvent(t,e)}),n.$container.on("showElementsInRange.mapael",function(t,e){n.onShowElementsInRange(t,e)}),n.initDelegatedMapEvents(),n.initDelegatedCustomEvents(),n.options.map.afterInit&&n.options.map.afterInit(n.$container,n.paper,n.areas,n.plots,n.options),t(n.paper.desc).append(" and Mapael "+n.version+" (https://www.vincentbroute.fr/mapael/)")},destroy:function(){var e=this;e.$container.off(".mapael"),e.$map.off(".mapael"),e.onResizeEvent&&t(window).off("resize.mapael",e.onResizeEvent),e.$map.empty(),e.$map.html(e.initialMapHTMLContent),t.each(e.legends,function(n){t.each(e.legends[n],function(t){var i=e.legends[n][t];i.container.empty(),i.container.html(i.initialHTMLContent)})}),e.$container.removeClass("mapael"),e.$container.removeData("mapael"),e.container=i,e.$container=i,e.options=i,e.paper=i,e.$map=i,e.$tooltip=i,e.mapConf=i,e.areas=i,e.plots=i,e.links=i,e.customEventHandlers=i},initResponsiveSize:function(){var e=this,n=null,i=function(t){var n=e.$map.width();if(e.paper.width!==n){var i=n/e.mapConf.width;e.paper.setSize(n,e.mapConf.height*i),!0!==t&&e.options.legend.redrawOnResize&&e.createLegends("plot",e.plots,i)}};e.onResizeEvent=function(){clearTimeout(n),n=setTimeout(function(){i()},e.resizeFilteringTO)},t(window).on("resize.mapael",e.onResizeEvent),i(!0)},extendDefaultOptions:function(e){return e=t.extend(!0,{},r.prototype.defaultOptions,e),t.each(["area","plot"],function(n,i){if(t.isArray(e.legend[i]))for(var o=0;o<e.legend[i].length;++o)e.legend[i][o]=t.extend(!0,{},r.prototype.legendDefaultOptions[i],e.legend[i][o]);else e.legend[i]=t.extend(!0,{},r.prototype.legendDefaultOptions[i],e.legend[i])}),e},initDelegatedMapEvents:function(){var e,n,r=this,o={area:r.areas,"area-text":r.areas,plot:r.plots,"plot-text":r.plots,link:r.links,"link-text":r.links};r.$container.on("mouseover.mapael","[data-id]",function(){var n=this;clearTimeout(e),e=setTimeout(function(){var e=t(n),a=e.attr("data-id"),s=e.attr("data-type");if(o[s]!==i)r.elemEnter(o[s][a]);else if("legend-elem"===s||"legend-label"===s){var l=e.attr("data-legend-id"),u=e.attr("data-legend-type");r.elemEnter(r.legends[u][l].elems[a])}},r.MouseOverFilteringTO)}),r.$container.on("mousemove.mapael","[data-id]",function(e){var a=this;clearTimeout(n),n=setTimeout(function(){var n=t(a),s=n.attr("data-id"),l=n.attr("data-type");o[l]!==i&&r.elemHover(o[l][s],e)},0)}),r.$container.on("mouseout.mapael","[data-id]",function(){clearTimeout(e),clearTimeout(n);var a=t(this),s=a.attr("data-id"),l=a.attr("data-type");if(o[l]!==i)r.elemOut(o[l][s]);else if("legend-elem"===l||"legend-label"===l){var u=a.attr("data-legend-id"),c=a.attr("data-legend-type");r.elemOut(r.legends[c][u].elems[s])}}),r.$container.on("click.mapael","[data-id]",function(e,n){var a=t(this),s=a.attr("data-id"),l=a.attr("data-type");if(o[l]!==i)r.elemClick(o[l][s]);else if("legend-elem"===l||"legend-label"===l){var u=a.attr("data-legend-id"),c=a.attr("data-legend-type");r.handleClickOnLegendElem(r.legends[c][u].elems[s],s,u,c,n)}})},initDelegatedCustomEvents:function(){var e=this;t.each(e.customEventHandlers,function(n){var r=n+".mapael.custom";e.$container.off(r).on(r,"[data-id]",function(r){var o=t(this),a=o.attr("data-id"),s=o.attr("data-type").replace("-text","");if(!e.panning&&e.customEventHandlers[n][s]!==i&&e.customEventHandlers[n][s][a]!==i){var l=e.customEventHandlers[n][s][a];l.options.eventHandlers[n](r,a,l.mapElem,l.textElem,l.options)}})})},initElem:function(e,n,r){var o=this,a=t(r.mapElem.node);if(r.options.href&&(r.options.attrs.cursor="pointer",r.options.text&&(r.options.text.attrs.cursor="pointer")),r.mapElem.attr(r.options.attrs),a.attr({"data-id":e,"data-type":n}),r.options.cssClass!==i&&a.addClass(r.options.cssClass),r.options.text&&r.options.text.content!==i){var s=o.getTextPosition(r.mapElem.getBBox(),r.options.text.position,r.options.text.margin);r.options.text.attrs.text=r.options.text.content,r.options.text.attrs.x=s.x,r.options.text.attrs.y=s.y,r.options.text.attrs["text-anchor"]=s.textAnchor,r.textElem=o.paper.text(s.x,s.y,r.options.text.content),r.textElem.attr(r.options.text.attrs),t(r.textElem.node).attr({"data-id":e,"data-type":n+"-text"})}r.options.eventHandlers&&o.setEventHandlers(e,n,r),o.setHoverOptions(r.mapElem,r.options.attrs,r.options.attrsHover),r.textElem&&o.setHoverOptions(r.textElem,r.options.text.attrs,r.options.text.attrsHover)},initZoom:function(e,n,r){var o=this,a=!1,s=0,l=0,u={reset:function(){o.$container.trigger("zoom",{level:0})},in:function(){o.$container.trigger("zoom",{level:"+1"})},out:function(){o.$container.trigger("zoom",{level:-1})}};t.extend(o.zoomData,{zoomLevel:0,panX:0,panY:0}),t.each(r.buttons,function(e,n){if(u[e]===i)throw new Error("Unknown zoom button '"+e+"'");var r=t("<div>").addClass(n.cssClass).html(n.content).attr("title",n.title);r.on("click.mapael",u[e]),o.$map.append(r)}),o.options.map.zoom.mousewheel&&o.$map.on("mousewheel.mapael",function(t){var e=t.deltaY>0?1:-1,n=o.mapPagePositionToXY(t.pageX,t.pageY);o.$container.trigger("zoom",{fixedCenter:!0,level:o.zoomData.zoomLevel+e,x:n.x,y:n.y}),t.preventDefault()}),o.options.map.zoom.touch&&(o.$map.on("touchstart.mapael",function(t){2===t.originalEvent.touches.length&&(o.zoomCenterX=(t.originalEvent.touches[0].pageX+t.originalEvent.touches[1].pageX)/2,o.zoomCenterY=(t.originalEvent.touches[0].pageY+t.originalEvent.touches[1].pageY)/2,o.previousPinchDist=Math.sqrt(Math.pow(t.originalEvent.touches[1].pageX-t.originalEvent.touches[0].pageX,2)+Math.pow(t.originalEvent.touches[1].pageY-t.originalEvent.touches[0].pageY,2)))}),o.$map.on("touchmove.mapael",function(t){var e=0,n=0;if(2===t.originalEvent.touches.length){if(e=Math.sqrt(Math.pow(t.originalEvent.touches[1].pageX-t.originalEvent.touches[0].pageX,2)+Math.pow(t.originalEvent.touches[1].pageY-t.originalEvent.touches[0].pageY,2)),Math.abs(e-o.previousPinchDist)>15){var i=o.mapPagePositionToXY(o.zoomCenterX,o.zoomCenterY);n=(e-o.previousPinchDist)/Math.abs(e-o.previousPinchDist),o.$container.trigger("zoom",{fixedCenter:!0,level:o.zoomData.zoomLevel+n,x:i.x,y:i.y}),o.previousPinchDist=e}return!1}})),o.$map.on("dragstart",function(){return!1});var c=null,d=null;t("body").on("mouseup.mapael"+(r.touch?" touchend.mapael":""),function(){a=!1,clearTimeout(c),clearTimeout(d),c=setTimeout(function(){o.panning=!1},o.panningEndFilteringTO)}),o.$map.on("mousedown.mapael"+(r.touch?" touchstart.mapael":""),function(t){clearTimeout(c),clearTimeout(d),t.pageX!==i?(a=!0,s=t.pageX,l=t.pageY):1===t.originalEvent.touches.length&&(a=!0,s=t.originalEvent.touches[0].pageX,l=t.originalEvent.touches[0].pageY)}).on("mousemove.mapael"+(r.touch?" touchmove.mapael":""),function(u){var f=o.zoomData.zoomLevel,h=0,p=0;if(clearTimeout(c),clearTimeout(d),u.pageX!==i?(h=u.pageX,p=u.pageY):1===u.originalEvent.touches.length?(h=u.originalEvent.touches[0].pageX,p=u.originalEvent.touches[0].pageY):a=!1,a&&0!==f){var g=(s-h)/(1+f*r.step)*(e/o.paper.width),m=(l-p)/(1+f*r.step)*(n/o.paper.height),v=Math.min(Math.max(0,o.currentViewBox.x+g),e-o.currentViewBox.w),y=Math.min(Math.max(0,o.currentViewBox.y+m),n-o.currentViewBox.h);return(Math.abs(g)>5||Math.abs(m)>5)&&(t.extend(o.zoomData,{panX:v,panY:y,zoomX:v+o.currentViewBox.w/2,zoomY:y+o.currentViewBox.h/2}),o.setViewBox(v,y,o.currentViewBox.w,o.currentViewBox.h),d=setTimeout(function(){o.$map.trigger("afterPanning",{x1:v,y1:y,x2:v+o.currentViewBox.w,y2:y+o.currentViewBox.h})},o.panningFilteringTO),s=h,l=p,o.panning=!0),!1}})},mapPagePositionToXY:function(t,e){var n=this,i=n.$map.offset(),r=n.options.map.width?n.mapConf.width/n.options.map.width:n.mapConf.width/n.$map.width(),o=1/(1+n.zoomData.zoomLevel*n.options.map.zoom.step);return{x:o*r*(t-i.left)+n.zoomData.panX,y:o*r*(e-i.top)+n.zoomData.panY}},onZoomEvent:function(e,n){var r,o,a,s,l,u=this,c=u.zoomData.zoomLevel,d=1+u.zoomData.zoomLevel*u.options.map.zoom.step,f=n.animDuration!==i?n.animDuration:u.options.map.zoom.animDuration;if(n.area!==i){if(u.areas[n.area]===i)throw new Error("Unknown area '"+n.area+"'");var h=n.areaMargin!==i?n.areaMargin:10,p=u.areas[n.area].mapElem.getBBox(),g=p.width+2*h,m=p.height+2*h;n.x=p.cx,n.y=p.cy,c=Math.min(Math.floor((u.mapConf.width/g-1)/u.options.map.zoom.step),Math.floor((u.mapConf.height/m-1)/u.options.map.zoom.step))}else if(n.level!==i&&(c="string"==typeof n.level?"+"===n.level.slice(0,1)||"-"===n.level.slice(0,1)?u.zoomData.zoomLevel+parseInt(n.level,10):parseInt(n.level,10):n.level<0?u.zoomData.zoomLevel+n.level:n.level),n.plot!==i){if(u.plots[n.plot]===i)throw new Error("Unknown plot '"+n.plot+"'");n.x=u.plots[n.plot].coords.x,n.y=u.plots[n.plot].coords.y}else{if(n.latitude!==i&&n.longitude!==i){var v=u.mapConf.getCoords(n.latitude,n.longitude);n.x=v.x,n.y=v.y}n.x===i&&(n.x=u.currentViewBox.x+u.currentViewBox.w/2),n.y===i&&(n.y=u.currentViewBox.y+u.currentViewBox.h/2)}c=Math.min(Math.max(c,u.options.map.zoom.minLevel),u.options.map.zoom.maxLevel),a=u.mapConf.width/(l=1+c*u.options.map.zoom.step),s=u.mapConf.height/l,0===c?(r=0,o=0):(n.fixedCenter!==i&&!0===n.fixedCenter?(r=u.zoomData.panX+(n.x-u.zoomData.panX)*(l-d)/l,o=u.zoomData.panY+(n.y-u.zoomData.panY)*(l-d)/l):(r=n.x-a/2,o=n.y-s/2),r=Math.min(Math.max(0,r),u.mapConf.width-a),o=Math.min(Math.max(0,o),u.mapConf.height-s)),l===d&&r===u.zoomData.panX&&o===u.zoomData.panY||(f>0?u.animateViewBox(r,o,a,s,f,u.options.map.zoom.animEasing):(u.setViewBox(r,o,a,s),clearTimeout(u.zoomTO),u.zoomTO=setTimeout(function(){u.$map.trigger("afterZoom",{x1:r,y1:o,x2:r+a,y2:o+s})},u.zoomFilteringTO)),t.extend(u.zoomData,{zoomLevel:c,panX:r,panY:o,zoomX:r+a/2,zoomY:o+s/2}))},onShowElementsInRange:function(t,e){var n=this;e.animDuration===i&&(e.animDuration=0),e.hiddenOpacity===i&&(e.hiddenOpacity=.3),e.ranges&&e.ranges.area&&n.showElemByRange(e.ranges.area,n.areas,e.hiddenOpacity,e.animDuration),e.ranges&&e.ranges.plot&&n.showElemByRange(e.ranges.plot,n.plots,e.hiddenOpacity,e.animDuration),e.ranges&&e.ranges.link&&n.showElemByRange(e.ranges.link,n.links,e.hiddenOpacity,e.animDuration),e.afterShowRange&&e.afterShowRange()},showElemByRange:function(e,n,r,o){var a=this,s={};e.min===i&&e.max===i||(e={0:e}),t.each(e,function(o){var a=e[o];if(a.min===i&&a.max===i)return!0;t.each(n,function(t){var e=n[t].options.value;if("object"!=typeof e&&(e=[e]),e[o]===i)return!0;s[t]=a.min!==i&&e[o]<a.min||a.max!==i&&e[o]>a.max?r:1})}),t.each(s,function(t){a.setElementOpacity(n[t],s[t],o)})},setElementOpacity:function(t,e,n){e>0&&(t.mapElem.show(),t.textElem&&t.textElem.show()),this.animate(t.mapElem,{opacity:e},n,function(){0===e&&t.mapElem.hide()}),this.animate(t.textElem,{opacity:e},n,function(){0===e&&t.textElem.hide()})},onUpdateEvent:function(e,n){var r=this;if("object"==typeof n){var o=0,a=n.animDuration?n.animDuration:0,s=function(t){r.animate(t.mapElem,{opacity:0},a,function(){t.mapElem.remove()}),r.animate(t.textElem,{opacity:0},a,function(){t.textElem.remove()})},l=function(t){t.mapElem.attr({opacity:0}),t.textElem&&t.textElem.attr({opacity:0}),r.setElementOpacity(t,t.mapElem.originalAttrs.opacity!==i?t.mapElem.originalAttrs.opacity:1,a)};if("object"==typeof n.mapOptions&&(!0===n.replaceOptions?r.options=r.extendDefaultOptions(n.mapOptions):t.extend(!0,r.options,n.mapOptions),n.mapOptions.areas===i&&n.mapOptions.plots===i&&n.mapOptions.legend===i||t("[data-type='legend-elem']",r.$container).each(function(e,n){"1"===t(n).attr("data-hidden")&&t(n).trigger("click",{hideOtherElems:!1,animDuration:a})})),"object"==typeof n.deletePlotKeys)for(;o<n.deletePlotKeys.length;o++)r.plots[n.deletePlotKeys[o]]!==i&&(s(r.plots[n.deletePlotKeys[o]]),delete r.plots[n.deletePlotKeys[o]]);else"all"===n.deletePlotKeys&&(t.each(r.plots,function(t,e){s(e)}),r.plots={});if("object"==typeof n.deleteLinkKeys)for(o=0;o<n.deleteLinkKeys.length;o++)r.links[n.deleteLinkKeys[o]]!==i&&(s(r.links[n.deleteLinkKeys[o]]),delete r.links[n.deleteLinkKeys[o]]);else"all"===n.deleteLinkKeys&&(t.each(r.links,function(t,e){s(e)}),r.links={});if("object"==typeof n.newPlots&&t.each(n.newPlots,function(t){r.plots[t]===i&&(r.options.plots[t]=n.newPlots[t],r.plots[t]=r.drawPlot(t),a>0&&l(r.plots[t]))}),"object"==typeof n.newLinks){var u=r.drawLinksCollection(n.newLinks);t.extend(r.links,u),t.extend(r.options.links,n.newLinks),a>0&&t.each(u,function(t){l(u[t])})}if(t.each(r.areas,function(t){("object"==typeof n.mapOptions&&("object"==typeof n.mapOptions.map&&"object"==typeof n.mapOptions.map.defaultArea||"object"==typeof n.mapOptions.areas&&"object"==typeof n.mapOptions.areas[t]||"object"==typeof n.mapOptions.legend&&"object"==typeof n.mapOptions.legend.area)||!0===n.replaceOptions)&&(r.areas[t].options=r.getElemOptions(r.options.map.defaultArea,r.options.areas[t]?r.options.areas[t]:{},r.options.legend.area),r.updateElem(r.areas[t],a))}),t.each(r.plots,function(t){("object"==typeof n.mapOptions&&("object"==typeof n.mapOptions.map&&"object"==typeof n.mapOptions.map.defaultPlot||"object"==typeof n.mapOptions.plots&&"object"==typeof n.mapOptions.plots[t]||"object"==typeof n.mapOptions.legend&&"object"==typeof n.mapOptions.legend.plot)||!0===n.replaceOptions)&&(r.plots[t].options=r.getElemOptions(r.options.map.defaultPlot,r.options.plots[t]?r.options.plots[t]:{},r.options.legend.plot),r.setPlotCoords(r.plots[t]),r.setPlotAttributes(r.plots[t]),r.updateElem(r.plots[t],a))}),t.each(r.links,function(t){("object"==typeof n.mapOptions&&("object"==typeof n.mapOptions.map&&"object"==typeof n.mapOptions.map.defaultLink||"object"==typeof n.mapOptions.links&&"object"==typeof n.mapOptions.links[t])||!0===n.replaceOptions)&&(r.links[t].options=r.getElemOptions(r.options.map.defaultLink,r.options.links[t]?r.options.links[t]:{},{}),r.updateElem(r.links[t],a))}),n.mapOptions&&("object"==typeof n.mapOptions.legend||"object"==typeof n.mapOptions.map&&"object"==typeof n.mapOptions.map.defaultArea||"object"==typeof n.mapOptions.map&&"object"==typeof n.mapOptions.map.defaultPlot)&&(t("[data-type='legend-elem']",r.$container).each(function(e,n){"1"===t(n).attr("data-hidden")&&t(n).trigger("click",{hideOtherElems:!1,animDuration:a})}),r.createLegends("area",r.areas,1),r.createLegends("plot",r.plots,r.options.map.width?r.options.map.width/r.mapConf.width:r.$map.width()/r.mapConf.width)),"object"==typeof n.setLegendElemsState)t.each(n.setLegendElemsState,function(e,n){var o=r.$container.find("."+e)[0];o!==i&&t("[data-type='legend-elem']",o).each(function(e,i){("0"===t(i).attr("data-hidden")&&"hide"===n||"1"===t(i).attr("data-hidden")&&"show"===n)&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})})});else{var c="hide"===n.setLegendElemsState?"hide":"show";t("[data-type='legend-elem']",r.$container).each(function(e,n){("0"===t(n).attr("data-hidden")&&"hide"===c||"1"===t(n).attr("data-hidden")&&"show"===c)&&t(n).trigger("click",{hideOtherElems:!1,animDuration:a})})}r.initDelegatedCustomEvents(),n.afterUpdate&&n.afterUpdate(r.$container,r.paper,r.areas,r.plots,r.options,r.links)}},setPlotCoords:function(t){var e=this;if(t.options.x!==i&&t.options.y!==i)t.coords={x:t.options.x,y:t.options.y};else if(t.options.plotsOn!==i&&e.areas[t.options.plotsOn]!==i){var n=e.areas[t.options.plotsOn].mapElem.getBBox();t.coords={x:n.cx,y:n.cy}}else t.coords=e.mapConf.getCoords(t.options.latitude,t.options.longitude)},setPlotAttributes:function(t){"square"===t.options.type?(t.options.attrs.width=t.options.size,t.options.attrs.height=t.options.size,t.options.attrs.x=t.coords.x-t.options.size/2,t.options.attrs.y=t.coords.y-t.options.size/2):"image"===t.options.type?(t.options.attrs.src=t.options.url,t.options.attrs.width=t.options.width,t.options.attrs.height=t.options.height,t.options.attrs.x=t.coords.x-t.options.width/2,t.options.attrs.y=t.coords.y-t.options.height/2):"svg"===t.options.type?(t.options.attrs.path=t.options.path,t.options.attrs.transform===i&&(t.options.attrs.transform=""),t.mapElem.originalBBox===i&&(t.mapElem.originalBBox=t.mapElem.getBBox()),t.mapElem.baseTransform="m"+t.options.width/t.mapElem.originalBBox.width+",0,0,"+t.options.height/t.mapElem.originalBBox.height+","+(t.coords.x-t.options.width/2)+","+(t.coords.y-t.options.height/2),t.options.attrs.transform=t.mapElem.baseTransform+t.options.attrs.transform):(t.options.attrs.x=t.coords.x,t.options.attrs.y=t.coords.y,t.options.attrs.r=t.options.size/2)},drawLinksCollection:function(e){var n=this,r={},o={},a={},s={},l={};return t.each(e,function(t){var u=n.getElemOptions(n.options.map.defaultLink,e[t],{});if(o="string"==typeof e[t].between[1]?n.options.plots[e[t].between[1]]:e[t].between[1],(r="string"==typeof e[t].between[0]?n.options.plots[e[t].between[0]]:e[t].between[0]).plotsOn!==i&&n.areas[r.plotsOn]!==i){var c=n.areas[r.plotsOn].mapElem.getBBox();a={x:c.cx,y:c.cy}}else r.latitude!==i&&r.longitude!==i?a=n.mapConf.getCoords(r.latitude,r.longitude):(a.x=r.x,a.y=r.y);if(o.plotsOn!==i&&n.areas[o.plotsOn]!==i){var d=n.areas[o.plotsOn].mapElem.getBBox();s={x:d.cx,y:d.cy}}else o.latitude!==i&&o.longitude!==i?s=n.mapConf.getCoords(o.latitude,o.longitude):(s.x=o.x,s.y=o.y);l[t]=n.drawLink(t,a.x,a.y,s.x,s.y,u)}),l},drawLink:function(t,e,n,i,r,o){var a,s={options:o},l=(e+i)/2,u=(n+r)/2,c=-1/((r-n)/(i-e)),d=u-c*l,f=Math.sqrt((i-e)*(i-e)+(r-n)*(r-n)),h=1+c*c,p=-2*l+2*c*d-2*c*u,g=p*p-4*h*(l*l+d*d-d*u-u*d+u*u-o.factor*f*(o.factor*f)),m=0;return a=o.factor>0?c*(m=(-p+Math.sqrt(g))/(2*h))+d:c*(m=(-p-Math.sqrt(g))/(2*h))+d,s.mapElem=this.paper.path("m "+e+","+n+" C "+m+","+a+" "+i+","+r+" "+i+","+r),this.initElem(t,"link",s),s},isAttrsChanged:function(t,e){for(var n in e)if(e.hasOwnProperty(n)&&void 0===t[n]||e[n]!==t[n])return!0;return!1},updateElem:function(e,n){var r,o,a,s=this;if(!0===e.options.toFront&&e.mapElem.toFront(),e.options.href!==i?(e.options.attrs.cursor="pointer",e.options.text&&(e.options.text.attrs.cursor="pointer")):"pointer"===e.mapElem.attrs.cursor&&(e.options.attrs.cursor="auto",e.options.text&&(e.options.text.attrs.cursor="auto")),e.textElem){e.options.text.attrs.text=e.options.text.content,r=e.mapElem.getBBox(),(e.options.size||e.options.width&&e.options.height)&&("image"===e.options.type||"svg"===e.options.type?(o=(e.options.width-r.width)/2,a=(e.options.height-r.height)/2):(o=(e.options.size-r.width)/2,a=(e.options.size-r.height)/2),r.x-=o,r.x2+=o,r.y-=a,r.y2+=a);var l=s.getTextPosition(r,e.options.text.position,e.options.text.margin);e.options.text.attrs.x=l.x,e.options.text.attrs.y=l.y,e.options.text.attrs["text-anchor"]=l.textAnchor,s.setHoverOptions(e.textElem,e.options.text.attrs,e.options.text.attrsHover),s.isAttrsChanged(e.textElem.attrs,e.options.text.attrs)&&s.animate(e.textElem,e.options.text.attrs,n)}s.setHoverOptions(e.mapElem,e.options.attrs,e.options.attrsHover),s.isAttrsChanged(e.mapElem.attrs,e.options.attrs)&&s.animate(e.mapElem,e.options.attrs,n),e.options.cssClass!==i&&t(e.mapElem.node).removeClass().addClass(e.options.cssClass)},drawPlot:function(t){var e=this,n={};return n.options=e.getElemOptions(e.options.map.defaultPlot,e.options.plots[t]?e.options.plots[t]:{},e.options.legend.plot),e.setPlotCoords(n),"svg"===n.options.type&&(n.mapElem=e.paper.path(n.options.path)),e.setPlotAttributes(n),"square"===n.options.type?n.mapElem=e.paper.rect(n.options.attrs.x,n.options.attrs.y,n.options.attrs.width,n.options.attrs.height):"image"===n.options.type?n.mapElem=e.paper.image(n.options.attrs.src,n.options.attrs.x,n.options.attrs.y,n.options.attrs.width,n.options.attrs.height):"svg"===n.options.type||(n.mapElem=e.paper.circle(n.options.attrs.x,n.options.attrs.y,n.options.attrs.r)),e.initElem(t,"plot",n),n},setEventHandlers:function(e,n,r){var o=this;t.each(r.options.eventHandlers,function(t){o.customEventHandlers[t]===i&&(o.customEventHandlers[t]={}),o.customEventHandlers[t][n]===i&&(o.customEventHandlers[t][n]={}),o.customEventHandlers[t][n][e]=r})},drawLegend:function(n,r,o,a,s){var l=this,u={},c={},d=0,f=0,h=null,p=null,g={},m=0,v=0,y=0,b=0,x=[],w=(u=t("."+n.cssClass,l.$container)).html();for(u.empty(),c=new e(u.get(0)),t(c.canvas).attr({"data-legend-type":r,"data-legend-id":s}),f=d=0,n.title&&""!==n.title&&(p=(h=c.text(n.marginLeftTitle,0,n.title).attr(n.titleAttrs)).getBBox(),h.attr({y:.5*p.height}),d=n.marginLeftTitle+p.width,f+=n.marginBottomTitle+p.height),m=0;m<n.slices.length;++m){var _=0;x[m]=t.extend(!0,{},"plot"===r?l.options.map.defaultPlot:l.options.map.defaultArea,n.slices[m]),n.slices[m].legendSpecificAttrs===i&&(n.slices[m].legendSpecificAttrs={}),t.extend(!0,x[m].attrs,n.slices[m].legendSpecificAttrs),"area"===r?(x[m].attrs.width===i&&(x[m].attrs.width=30),x[m].attrs.height===i&&(x[m].attrs.height=20)):"square"===x[m].type?(x[m].attrs.width===i&&(x[m].attrs.width=x[m].size),x[m].attrs.height===i&&(x[m].attrs.height=x[m].size)):"image"===x[m].type||"svg"===x[m].type?(x[m].attrs.width===i&&(x[m].attrs.width=x[m].width),x[m].attrs.height===i&&(x[m].attrs.height=x[m].height)):x[m].attrs.r===i&&(x[m].attrs.r=x[m].size/2),_=n.marginBottomTitle,h&&(_+=p.height),_+="plot"!==r||x[m].type!==i&&"circle"!==x[m].type?a*x[m].attrs.height/2:a*x[m].attrs.r,b=Math.max(b,_)}for("horizontal"===n.mode&&(d=n.marginLeft),m=0;m<x.length;++m){var C={},k={},T={};if(x[m].display===i||!0===x[m].display){if("area"===r||"square"===x[m].type?("horizontal"===n.mode?(v=d+n.marginLeft,y=b-.5*a*x[m].attrs.height):(v=n.marginLeft,y=f),C=c.rect(v,y,a*x[m].attrs.width,a*x[m].attrs.height)):"image"===x[m].type||"svg"===x[m].type?("horizontal"===n.mode?(v=d+n.marginLeft,y=b-.5*a*x[m].attrs.height):(v=n.marginLeft,y=f),"image"===x[m].type?C=c.image(x[m].url,v,y,a*x[m].attrs.width,a*x[m].attrs.height):(C=c.path(x[m].path),x[m].attrs.transform===i&&(x[m].attrs.transform=""),k=C.getBBox(),x[m].attrs.transform="m"+a*x[m].width/k.width+",0,0,"+a*x[m].height/k.height+","+v+","+y+x[m].attrs.transform)):("horizontal"===n.mode?(v=d+n.marginLeft+a*x[m].attrs.r,y=b):(v=n.marginLeft+a*x[m].attrs.r,y=f+a*x[m].attrs.r),C=c.circle(v,y,a*x[m].attrs.r)),delete x[m].attrs.width,delete x[m].attrs.height,delete x[m].attrs.r,C.attr(x[m].attrs),k=C.getBBox(),"horizontal"===n.mode?(v=d+n.marginLeft+k.width+n.marginLeftLabel,y=b):(v=n.marginLeft+k.width+n.marginLeftLabel,y=f+k.height/2),T=c.text(v,y,x[m].label).attr(n.labelAttrs),"horizontal"===n.mode){var S=n.marginBottom+k.height;d+=n.marginLeft+k.width+n.marginLeftLabel+T.getBBox().width,"image"!==x[m].type&&"area"!==r&&(S+=n.marginBottomTitle),h&&(S+=p.height),f=Math.max(f,S)}else d=Math.max(d,n.marginLeft+k.width+n.marginLeftLabel+T.getBBox().width),f+=n.marginBottom+k.height;t(C.node).attr({"data-legend-id":s,"data-legend-type":r,"data-type":"legend-elem","data-id":m,"data-hidden":0}),t(T.node).attr({"data-legend-id":s,"data-legend-type":r,"data-type":"legend-label","data-id":m,"data-hidden":0}),g[m]={mapElem:C,textElem:T},n.hideElemsOnClick.enabled&&(T.attr({cursor:"pointer"}),C.attr({cursor:"pointer"}),l.setHoverOptions(C,x[m].attrs,x[m].attrs),l.setHoverOptions(T,n.labelAttrs,n.labelAttrsHover),x[m].clicked!==i&&!0===x[m].clicked&&l.handleClickOnLegendElem(g[m],m,s,r,{hideOtherElems:!1}))}}return"SVG"!==e.type&&n.VMLWidth&&(d=n.VMLWidth),c.setSize(d,f),{container:u,initialHTMLContent:w,elems:g}},handleClickOnLegendElem:function(e,n,r,o,a){var s,l=this;a=a||{},s=t.isArray(l.options.legend[o])?l.options.legend[o][r]:l.options.legend[o];var u=e.textElem,c=t(e.mapElem.node),d=t(u.node),f=s.slices[n],h="area"===o?l.areas:l.plots,p=a.animDuration!==i?a.animDuration:s.hideElemsOnClick.animDuration,g=c.attr("data-hidden"),m="0"===g?{"data-hidden":"1"}:{"data-hidden":"0"};l.animate(u,"0"===g?{opacity:.5}:{opacity:1},p),t.each(h,function(e){var n,o=h[e].mapElem.data("hidden-by");o===i&&(o={}),n=t.isArray(h[e].options.value)?h[e].options.value[r]:h[e].options.value,l.getLegendSlice(n,s)===f&&("0"===g?(o[r]=!0,l.setElementOpacity(h[e],s.hideElemsOnClick.opacity,p)):(delete o[r],t.isEmptyObject(o)&&l.setElementOpacity(h[e],h[e].mapElem.originalAttrs.opacity!==i?h[e].mapElem.originalAttrs.opacity:1,p)),h[e].mapElem.data("hidden-by",o))}),c.attr(m),d.attr(m),a.hideOtherElems!==i&&!0!==a.hideOtherElems||!0!==s.exclusive||t("[data-type='legend-elem'][data-hidden=0]",l.$container).each(function(){var e=t(this);e.attr("data-id")!==n&&e.trigger("click",{hideOtherElems:!1})})},createLegends:function(e,n,i){var r=this,o=r.options.legend[e];t.isArray(r.options.legend[e])||(o=[r.options.legend[e]]),r.legends[e]={};for(var a=0;a<o.length;++a)!0===o[a].display&&t.isArray(o[a].slices)&&o[a].slices.length>0&&""!==o[a].cssClass&&0!==t("."+o[a].cssClass,r.$container).length&&(r.legends[e][a]=r.drawLegend(o[a],e,n,i,a))},setHoverOptions:function(n,i,r){"SVG"!==e.type&&delete r.transform,n.attrsHover=r,n.originalAttrs=n.attrsHover.transform?t.extend({transform:"s1"},i):i},elemEnter:function(t){var e=this;if(t!==i){if(t.mapElem!==i&&e.animate(t.mapElem,t.mapElem.attrsHover,t.mapElem.attrsHover.animDuration),t.textElem!==i&&e.animate(t.textElem,t.textElem.attrsHover,t.textElem.attrsHover.animDuration),t.options&&t.options.tooltip!==i){var n="";e.$tooltip.removeClass().addClass(e.options.map.tooltip.cssClass),t.options.tooltip.content!==i&&(n="function"==typeof t.options.tooltip.content?t.options.tooltip.content(t.mapElem):t.options.tooltip.content),t.options.tooltip.cssClass!==i&&e.$tooltip.addClass(t.options.tooltip.cssClass),e.$tooltip.html(n).css("display","block")}t.mapElem===i&&t.textElem===i||e.paper.safari&&e.paper.safari()}},elemHover:function(t,e){var n=this;if(t!==i&&t.options.tooltip!==i){var r=e.pageX,o=e.pageY,a=10,s=20;"object"==typeof t.options.tooltip.offset&&(void 0!==t.options.tooltip.offset.left&&(a=t.options.tooltip.offset.left),void 0!==t.options.tooltip.offset.top&&(s=t.options.tooltip.offset.top));var l={left:Math.min(n.$map.width()-n.$tooltip.outerWidth()-5,r-n.$map.offset().left+a),top:Math.min(n.$map.height()-n.$tooltip.outerHeight()-5,o-n.$map.offset().top+s)};"object"==typeof t.options.tooltip.overflow&&(!0===t.options.tooltip.overflow.right&&(l.left=r-n.$map.offset().left+10),!0===t.options.tooltip.overflow.bottom&&(l.top=o-n.$map.offset().top+20)),n.$tooltip.css(l)}},elemOut:function(t){var e=this;t!==i&&(t.mapElem!==i&&e.animate(t.mapElem,t.mapElem.originalAttrs,t.mapElem.attrsHover.animDuration),t.textElem!==i&&e.animate(t.textElem,t.textElem.originalAttrs,t.textElem.attrsHover.animDuration),t.options&&t.options.tooltip!==i&&e.$tooltip.css({display:"none",top:-1e3,left:-1e3}),t.mapElem===i&&t.textElem===i||e.paper.safari&&e.paper.safari())},elemClick:function(t){t!==i&&(this.panning||t.options.href===i||window.open(t.options.href,t.options.target))},getElemOptions:function(e,n,r){var o=t.extend(!0,{},e,n);if(o.value!==i)if(t.isArray(r))for(var a=0;a<r.length;++a)o=t.extend(!0,{},o,this.getLegendSlice(o.value[a],r[a]));else o=t.extend(!0,{},o,this.getLegendSlice(o.value,r));return o},getTextPosition:function(t,e,n){var i=0,r=0,o="";switch("number"==typeof n&&(n="bottom"===e||"top"===e?{x:0,y:n}:"right"===e||"left"===e?{x:n,y:0}:{x:0,y:0}),e){case"bottom":i=(t.x+t.x2)/2+n.x,r=t.y2+n.y,o="middle";break;case"top":i=(t.x+t.x2)/2+n.x,r=t.y-n.y,o="middle";break;case"left":i=t.x-n.x,r=(t.y+t.y2)/2+n.y,o="end";break;case"right":i=t.x2+n.x,r=(t.y+t.y2)/2+n.y,o="start";break;default:i=(t.x+t.x2)/2+n.x,r=(t.y+t.y2)/2+n.y,o="middle"}return{x:i,y:r,textAnchor:o}},getLegendSlice:function(t,e){for(var n=0;n<e.slices.length;++n)if(e.slices[n].sliceValue!==i&&t===e.slices[n].sliceValue||e.slices[n].sliceValue===i&&(e.slices[n].min===i||t>=e.slices[n].min)&&(e.slices[n].max===i||t<=e.slices[n].max))return e.slices[n];return{}},animateViewBox:function(t,n,i,r,o,a){var s=this,l=s.currentViewBox.x,u=t-l,c=s.currentViewBox.y,d=n-c,f=s.currentViewBox.w,h=i-f,p=s.currentViewBox.h,g=r-p;s.zoomAnimCVBTarget||(s.zoomAnimCVBTarget={x:t,y:n,w:i,h:r});var m=f>i?"in":"out",v=e.easing_formulas[a||"linear"],y=o-2*o/100,b=s.zoomAnimStartTime;s.zoomAnimStartTime=(new Date).getTime();var x=function(){s.cancelAnimationFrame(s.zoomAnimID);var e=(new Date).getTime()-s.zoomAnimStartTime;if(e<y){var a,w,_,C;if(b&&s.zoomAnimCVBTarget&&s.zoomAnimCVBTarget.w!==i){var k=(new Date).getTime()-b,T=v(k/o);u=t-(l=a=l+(s.zoomAnimCVBTarget.x-l)*T),d=n-(c=w=c+(s.zoomAnimCVBTarget.y-c)*T),h=i-(f=_=f+(s.zoomAnimCVBTarget.w-f)*T),g=r-(p=C=p+(s.zoomAnimCVBTarget.h-p)*T),s.zoomAnimCVBTarget={x:t,y:n,w:i,h:r}}else{var S=v(e/o);a=l+u*S,w=c+d*S,_=f+h*S,C=p+g*S}"in"===m&&(_>s.currentViewBox.w||_<i)||"out"===m&&(_<s.currentViewBox.w||_>i)||s.setViewBox(a,w,_,C),s.zoomAnimID=s.requestAnimationFrame(x)}else s.zoomAnimStartTime=null,s.zoomAnimCVBTarget=null,s.currentViewBox.w!==i&&s.setViewBox(t,n,i,r),s.$map.trigger("afterZoom",{x1:t,y1:n,x2:t+i,y2:n+r})};x()},requestAnimationFrame:function(t){return this._requestAnimationFrameFn.call(window,t)},cancelAnimationFrame:function(t){this._cancelAnimationFrameFn.call(window,t)},_requestAnimationFrameFn:function(){var t=function(){var e=(new Date).getTime();return function(n){var i=(new Date).getTime();if(!(i-e>16))return setTimeout(function(){t(n)},0);e=i,n(i)}}();return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||t}(),_cancelAnimationFrameFn:window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelAnimationFrame||window.mozCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.msCancelRequestAnimationFrame||window.oCancelAnimationFrame||window.oCancelRequestAnimationFrame||clearTimeout,setViewBox:function(t,e,n,i){var r=this;r.currentViewBox.x=t,r.currentViewBox.y=e,r.currentViewBox.w=n,r.currentViewBox.h=i,r.paper.setViewBox(t,e,n,i,!1)},_nonAnimatedAttrs:["arrow-end","arrow-start","gradient","class","cursor","text-anchor","font","font-family","font-style","font-weight","letter-spacing","src","href","target","title","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit"],animate:function(t,e,n,r){if(t)if(n>0){for(var o={},a=0;a<this._nonAnimatedAttrs.length;a++){var s=this._nonAnimatedAttrs[a];e[s]!==i&&(o[s]=e[s])}t.attr(o),t.animate(e,n,"linear",function(){r&&r()})}else t.attr(e),r&&r()},isRaphaelBBoxBugPresent:function(){var t=this.paper.text(-50,-50,"TEST"),e=t.getBBox();return t.remove(),0===e.width&&0===e.height},defaultOptions:{map:{cssClass:"map",tooltip:{cssClass:"mapTooltip"},defaultArea:{attrs:{fill:"#343434",stroke:"#5d5d5d","stroke-width":1,"stroke-linejoin":"round"},attrsHover:{fill:"#f38a03",animDuration:300},text:{position:"inner",margin:10,attrs:{"font-size":15,fill:"#c7c7c7"},attrsHover:{fill:"#eaeaea",animDuration:300}},target:"_self",cssClass:"area"},defaultPlot:{type:"circle",size:15,attrs:{fill:"#0088db",stroke:"#fff","stroke-width":0,"stroke-linejoin":"round"},attrsHover:{"stroke-width":3,animDuration:300},text:{position:"right",margin:10,attrs:{"font-size":15,fill:"#c7c7c7"},attrsHover:{fill:"#eaeaea",animDuration:300}},target:"_self",cssClass:"plot"},defaultLink:{factor:.5,attrs:{stroke:"#0088db","stroke-width":2},attrsHover:{animDuration:300},text:{position:"inner",margin:10,attrs:{"font-size":15,fill:"#c7c7c7"},attrsHover:{fill:"#eaeaea",animDuration:300}},target:"_self",cssClass:"link"},zoom:{enabled:!1,minLevel:0,maxLevel:10,step:.25,mousewheel:!0,touch:!0,animDuration:200,animEasing:"linear",buttons:{reset:{cssClass:"zoomButton zoomReset",content:"•",title:"Reset zoom"},in:{cssClass:"zoomButton zoomIn",content:"+",title:"Zoom in"},out:{cssClass:"zoomButton zoomOut",content:"−",title:"Zoom out"}}}},legend:{redrawOnResize:!0,area:[],plot:[]},areas:{},plots:{},links:{}},legendDefaultOptions:{area:{cssClass:"areaLegend",display:!0,marginLeft:10,marginLeftTitle:5,marginBottomTitle:10,marginLeftLabel:10,marginBottom:10,titleAttrs:{"font-size":16,fill:"#343434","text-anchor":"start"},labelAttrs:{"font-size":12,fill:"#343434","text-anchor":"start"},labelAttrsHover:{fill:"#787878",animDuration:300},hideElemsOnClick:{enabled:!0,opacity:.2,animDuration:300},slices:[],mode:"vertical"},plot:{cssClass:"plotLegend",display:!0,marginLeft:10,marginLeftTitle:5,marginBottomTitle:10,marginLeftLabel:10,marginBottom:10,titleAttrs:{"font-size":16,fill:"#343434","text-anchor":"start"},labelAttrs:{"font-size":12,fill:"#343434","text-anchor":"start"},labelAttrsHover:{fill:"#787878",animDuration:300},hideElemsOnClick:{enabled:!0,opacity:.2,animDuration:300},slices:[],mode:"vertical"}}},r.version="2.2.0",t.mapael===i&&(t.mapael=r),t.fn.mapael=function(e){return this.each(function(){t.data(this,"mapael")&&t.data(this,"mapael").destroy(),t.data(this,"mapael",new r(this,e))})},r}),function(t){"object"==typeof exports?module.exports=t(require("jquery"),require("jquery-mapael")):"function"==typeof define&&define.amd?define(["jquery","mapael"],t):t(jQuery,jQuery.mapael)}(function(t,e){"use strict";return t.extend(!0,e,{maps:{usa_states:{width:959,height:593,latLngToGrid:function(t,e,n,i,r,o){var a,s,l,u,c,d=Math.PI,f=(n+i)/2;return a=(Math.sin(n/180*d)+Math.sin(i/180*d))/2,s=Math.sqrt(Math.cos(n/180*d))+2*a*Math.sin(n/180*d),l=o*Math.pow(s-2*a*Math.sin(f/180*d),.5)/a,u=a*(e-r),[(c=o*Math.pow(s-2*a*Math.sin(t/180*d),.5)/a)*Math.sin(u/180*d),l-c*Math.cos(u/180*d)]},getCoords:function(t,e){var n,i,r,o,a={};return t>51?(a=this.latLngToGrid(t,e,15,105,-134,530),n=190,i=543,r=1,o=-1):e<-140?(a=this.latLngToGrid(t,e,0,26,-166,1280),n=115,i=723,r=1,o=-1):(n=-17,i=-22,r=10.05,o=6.26,a[0]=50+(1.9694462586094064-t*Math.PI/180)*Math.sin(.6010514667026994*(e+96)*Math.PI/180)*124.03149777329222,a[1]=55.23670416287796-200.38467697709729*(1.3236744353715044-(1.9694462586094064-t*Math.PI/180)*Math.cos(.6010514667026994*(e+96)*Math.PI/180))),{x:a[0]*r+n,y:a[1]*o+i}},elems:{HI:"m 233.08751,519.30948 1.93993,-3.55655 2.26326,-0.32332 0.32332,0.8083 -2.1016,3.07157 -2.42491,0 z m 10.18466,-3.71821 6.14313,2.58657 2.10159,-0.32332 1.61661,-3.87987 -0.64664,-3.39488 -4.2032,-0.48498 -4.04153,1.77827 -0.96996,3.71821 z m 30.71563,10.023 3.7182,5.49647 2.42492,-0.32332 1.13163,-0.48498 1.45495,1.29329 3.71821,-0.16166 0.96997,-1.45495 -2.90991,-1.77827 -1.93993,-3.71822 -2.1016,-3.55654 -5.8198,2.9099 -0.64664,1.77828 z m 20.20765,8.89137 1.29329,-1.93994 4.68817,0.96996 0.64665,-0.48498 6.14312,0.64664 -0.32332,1.2933 -2.58658,1.45494 -4.36485,-0.32332 -5.49648,-1.6166 z m 5.33482,5.17315 1.93994,3.87987 3.07155,-1.13163 0.32333,-1.61662 -1.61661,-2.10159 -3.71821,-0.32332 0,1.29329 z m 6.95143,-1.13163 2.26326,-2.9099 4.68817,2.42492 4.36485,1.13163 4.36486,2.74824 0,1.93993 -3.55654,1.77828 -4.84985,0.96996 -2.42491,-1.45495 -4.84984,-6.62811 z m 16.65111,15.51947 1.61661,-1.29328 3.39489,1.61662 7.59807,3.55654 3.39489,2.10159 1.6166,2.42492 1.93994,4.36485 4.04153,2.58658 -0.32332,1.2933 -3.87987,3.23322 -4.20319,1.45495 -1.45495,-0.64664 -3.07157,1.77826 -2.42491,3.23323 -2.26326,2.9099 -1.77828,-0.16166 -3.55654,-2.58658 -0.32332,-4.52651 0.64664,-2.42492 -1.61661,-5.65814 -2.1016,-1.77828 -0.16166,-2.58658 2.26326,-0.96996 2.1016,-3.07156 0.48498,-0.96997 -1.61661,-1.77828 -0.32332,-2.1016 z",AK:"m 158.07671,453.67502 -0.32332,85.35713 1.6166,0.96996 3.07157,0.16166 1.45494,-1.13162 2.58658,0 0.16167,2.9099 6.95143,6.78977 0.48499,2.58658 3.39488,-1.93994 0.64665,-0.16166 0.32332,-3.07156 1.45494,-1.61661 1.13164,-0.16166 1.93993,-1.45496 3.07156,2.1016 0.64665,2.90991 1.93993,1.13162 1.13163,2.42492 3.87988,1.77827 3.39488,5.98147 2.74823,3.87986 2.26326,2.74825 1.45496,3.7182 5.01149,1.77828 5.17317,2.10159 0.96996,4.36486 0.48498,3.07156 -0.96996,3.39489 -1.77828,2.26325 -1.61661,-0.8083 -1.45495,-3.07157 -2.74824,-1.45494 -1.77827,-1.13164 -0.80831,0.80831 1.45495,2.74825 0.16166,3.7182 -1.13163,0.48498 -1.93993,-1.93993 -2.10159,-1.29329 0.48498,1.61661 1.29328,1.77828 -0.8083,0.8083 c 0,0 -0.8083,-0.32332 -1.29328,-0.96997 -0.485,-0.64664 -2.1016,-3.39488 -2.1016,-3.39488 l -0.96997,-2.26326 c 0,0 -0.32332,1.29329 -0.96997,0.96996 -0.64665,-0.32332 -1.29329,-1.45494 -1.29329,-1.45494 l 1.77827,-1.93994 -1.45495,-1.45495 0,-5.0115 -0.8083,0 -0.8083,3.39488 -1.13164,0.485 -0.96996,-3.71822 -0.64665,-3.71821 -0.80831,-0.48498 0.32333,5.65815 0,1.13162 -1.45496,-1.29328 -3.55654,-5.98147 -2.1016,-0.48498 -0.64664,-3.71821 -1.61661,-2.9099 -1.61662,-1.13164 0,-2.26325 2.1016,-1.29329 -0.48498,-0.32332 -2.58658,0.64664 -3.39489,-2.42491 -2.58658,-2.90991 -4.84983,-2.58658 -4.04154,-2.58658 1.2933,-3.23322 0,-1.61661 -1.77828,1.61661 -2.9099,1.13163 -3.71821,-1.13163 -5.65815,-2.42491 -5.49647,0 -0.64664,0.48498 -6.46645,-3.87988 -2.1016,-0.32332 -2.74824,-5.8198 -3.55655,0.32332 -3.55655,1.45495 0.48499,4.52652 1.13162,-2.9099 0.96998,0.32332 -1.45496,4.36485 3.23322,-2.74824 0.64665,1.61661 -3.87987,4.36485 -1.29329,-0.32332 -0.48498,-1.93994 -1.29329,-0.8083 -1.29329,1.13163 -2.74824,-1.77827 -3.07157,2.1016 -1.77826,2.10159 -3.39489,2.1016 -4.68818,-0.16167 -0.48498,-2.10159 3.7182,-0.64665 0,-1.29328 -2.26326,-0.64666 0.96998,-2.42491 2.26325,-3.87987 0,-1.77827 0.16166,-0.80831 4.36486,-2.26326 0.96996,1.29329 2.74825,0 -1.29329,-2.58657 -3.71822,-0.32333 -5.01149,2.74824 -2.42492,3.39488 -1.77827,2.58659 -1.13163,2.26326 -4.20319,1.45494 -3.07157,2.58658 -0.323321,1.61662 2.263257,0.96997 0.808313,2.10158 -2.748249,3.23323 -6.466439,4.2032 -7.759747,4.20319 -2.101597,1.13162 -5.334818,1.13164 -5.334826,2.26325 1.778275,1.29329 -1.454954,1.45495 -0.484982,1.13163 -2.748238,-0.96997 -3.23322,0.16166 -0.808312,2.26326 -0.969963,0 0.323321,-2.42492 -3.556551,1.2933 -2.909899,0.96996 -3.394886,-1.29329 -2.909901,1.93993 -3.233224,0 -2.101597,1.2933 -1.616612,0.8083 -2.101595,-0.32332 -2.58658,-1.13163 -2.263257,0.64665 -0.969967,0.96996 -1.616613,-1.13162 0,-1.93994 3.071564,-1.29329 6.304787,0.64665 4.364853,-1.61662 2.101596,-2.10159 2.909902,-0.64665 1.778273,-0.80831 2.748241,0.16166 1.616612,1.2933 0.969963,-0.32332 2.263257,-2.74824 3.07157,-0.96998 3.39488,-0.64664 1.293294,-0.32332 0.646642,0.48498 0.808312,0 1.293284,-3.71821 4.041533,-1.45494 1.939936,-3.71821 2.263259,-4.52652 1.616615,-1.45495 0.323321,-2.58658 -1.616615,1.29329 -3.394893,0.64665 -0.646642,-2.42492 -1.293284,-0.32332 -0.969973,0.96996 -0.16166,2.90991 -1.454955,-0.16167 -1.454944,-5.8198 -1.293294,1.29328 -1.131624,-0.48498 -0.32332,-1.93993 -4.041533,0.16166 -2.101596,1.13163 -2.586578,-0.32332 1.454944,-1.45495 0.484981,-2.58658 -0.646641,-1.93994 1.454954,-0.96996 1.293284,-0.16166 -0.646642,-1.77828 0,-4.36485 -0.969963,-0.96997 -0.808312,1.45495 -6.143123,0 -1.454951,-1.29329 -0.646645,-3.87986 -2.101596,-3.55656 0,-0.96996 2.101596,-0.80831 0.161661,-2.1016 1.131628,-1.13162 -0.808305,-0.48498 -1.29329,0.48498 -1.131628,-2.74824 0.969967,-5.01151 4.526514,-3.23321 2.586575,-1.61662 1.939936,-3.7182 2.748249,-1.2933 2.586578,1.13164 0.323321,2.42492 2.424917,-0.32334 3.23322,-2.42491 1.616615,0.64665 0.969962,0.64664 1.616615,0 2.263259,-1.29329 0.808313,-4.36486 c 0,0 0.323321,-2.90989 0.969963,-3.39488 0.646642,-0.48498 0.969963,-0.96996 0.969963,-0.96996 l -1.131623,-1.93994 -2.58658,0.80831 -3.23323,0.8083 -1.939936,-0.48498 -3.556541,-1.77828 -5.011495,-0.16166 -3.556551,-3.7182 0.484981,-3.87987 0.646652,-2.42492 -2.101596,-1.77827 -1.939938,-3.71822 0.484983,-0.8083 6.789771,-0.48498 2.101596,0 0.969963,0.96996 0.646652,0 -0.16166,-1.61661 3.879862,-0.64664 2.586577,0.32332 1.454955,1.13163 -1.454955,2.1016 -0.484981,1.45494 2.748249,1.61662 5.011497,1.77827 1.778276,-0.96996 -2.263257,-4.36485 -0.969974,-3.23323 0.969974,-0.80831 -3.394891,-1.93993 -0.484983,-1.13164 0.484983,-1.6166 -0.808304,-3.87987 -2.909909,-4.68818 -2.424918,-4.20319 2.909909,-1.93994 3.233222,0 1.778276,0.64665 4.203192,-0.16166 3.718205,-3.55654 1.131633,-3.07157 3.718212,-2.42492 1.616604,0.96997 2.748239,-0.64665 3.718209,-2.1016 1.13164,-0.16166 0.96996,0.80832 4.52651,-0.16167 2.74824,-3.07156 1.13163,0 3.55655,2.42491 1.93993,2.1016 -0.48498,1.13163 0.64664,1.13163 1.61662,-1.61661 3.87987,0.32332 0.32332,3.7182 1.93994,1.45496 7.11309,0.64664 6.30479,4.20319 1.45494,-0.96996 5.17317,2.58658 2.10159,-0.64664 1.93994,-0.80832 4.84983,1.93994 4.36486,2.9099 z m -115.102797,28.93736 2.101596,5.33482 -0.161662,0.96997 -2.909902,-0.32333 -1.778273,-4.04153 -1.778273,-1.45494 -2.424919,0 -0.16166,-2.58659 1.778273,-2.42492 1.131629,2.42492 1.45495,1.45495 2.748241,0.64665 z m -2.58658,33.46387 3.718209,0.80831 3.718207,0.96996 0.808307,0.96998 -1.616612,3.7182 -3.071564,-0.16166 -3.394885,-3.55654 -0.161662,-2.74825 z m -20.692636,-14.06452 1.13163,2.58657 1.131628,1.61662 -1.131628,0.8083 -2.101597,-3.07156 0,-1.93993 0.969967,0 z m -13.7412027,73.07087 3.3948853,-2.26326 3.3948854,-0.96997 2.58658,0.32332 0.484983,1.61661 1.939935,0.48499 1.939934,-1.93993 -0.323322,-1.61661 2.748241,-0.64665 2.909902,2.58658 -1.131629,1.77827 -4.364852,1.13163 -2.748242,-0.48498 -3.718207,-1.13163 -4.3648533,1.45495 -1.616612,0.32332 -1.1316284,-0.64664 z m 48.9833487,-4.52651 1.616612,1.93993 2.101593,-1.61661 -1.454948,-1.2933 -2.263257,0.96998 z m 2.909902,3.07155 1.131624,-2.26325 2.101597,0.32332 -0.808303,1.93993 -2.424918,0 z m 23.602535,-1.93993 1.454954,1.77827 0.969974,-1.13162 -0.808313,-1.93994 -1.616615,1.29329 z m 8.72971,-12.44791 1.131633,5.8198 2.909899,0.80831 5.011495,-2.90991 4.364853,-2.58658 -1.6166,-2.42491 0.48498,-2.42492 -2.1016,1.29329 -2.909898,-0.80831 1.616605,-1.13162 1.939933,0.8083 3.87987,-1.77828 0.48499,-1.45494 -2.42492,-0.80831 0.8083,-1.93994 -2.74824,1.93994 -4.688172,3.55655 -4.849834,2.9099 -1.293294,1.13163 z m 42.35524,-19.88433 2.42492,-1.45495 -0.96997,-1.77828 -1.77827,0.96997 0.32332,2.26326 z",FL:"m 759.8167,439.1428 2.26566,7.3186 3.7297,9.74226 5.33479,9.3763 3.71819,6.30476 4.84982,5.49646 4.04151,3.71819 1.6166,2.90989 -1.13162,1.29328 -0.8083,1.29328 2.90988,7.43639 2.90989,2.90988 2.58657,5.3348 3.55653,5.81978 4.52649,8.24468 1.29329,7.59804 0.48498,11.96288 0.64664,1.77826 -0.32332,3.39487 -2.42491,1.29329 0.32332,1.93992 -0.64664,1.93993 0.32332,2.4249 0.48498,1.93993 -2.74822,3.23321 -3.07155,1.45494 -3.87985,0.16166 -1.45495,1.61661 -2.4249,0.96996 -1.29329,-0.48498 -1.13162,-0.96996 -0.32332,-2.90989 -0.80831,-3.39487 -3.39487,-5.17314 -3.55653,-2.26324 -3.87985,-0.32332 -0.8083,1.29328 -3.07155,-4.36483 -0.64664,-3.55653 -2.58657,-4.04151 -1.77826,-1.13163 -1.61661,2.10159 -1.77826,-0.32332 -2.10159,-5.01148 -2.90989,-3.87985 -2.90989,-5.33479 -2.58656,-3.07155 -3.55653,-3.71819 2.10158,-2.42491 3.23321,-5.49646 -0.16166,-1.6166 -4.52649,-0.96996 -1.61661,0.64664 0.32333,0.64664 2.58656,0.96996 -1.45494,4.5265 -0.8083,0.48498 -1.77827,-4.04151 -1.29328,-4.84982 -0.32332,-2.74823 1.45494,-4.68815 0,-9.53797 -3.07155,-3.71819 -1.29328,-3.07155 -5.17314,-1.29328 -1.93992,-0.64664 -1.61661,-2.58657 -3.39487,-1.61661 -1.13162,-3.39487 -2.74823,-0.96996 -2.42491,-3.71819 -4.20317,-1.45494 -2.90989,-1.45495 -2.58656,0 -4.04152,0.80831 -0.16166,1.93992 0.80831,0.96996 -0.48499,1.13163 -3.07154,-0.16166 -3.71819,3.55653 -3.55654,1.93992 -3.87985,0 -3.23321,1.29329 -0.32332,-2.74823 -1.6166,-1.93993 -2.90989,-1.13162 -1.6166,-1.45495 -8.08303,-3.87985 -7.59804,-1.77826 -4.36483,0.64664 -5.98144,0.48498 -5.98144,2.10159 -3.47924,0.61296 -0.23792,-8.04975 -2.58657,-1.93992 -1.77827,-1.77827 0.32332,-3.07156 10.18462,-1.29328 25.5424,-2.90989 6.78975,-0.64664 5.436,0.28027 2.58657,3.87986 1.45494,1.45494 8.09816,0.51522 10.81975,-0.64664 21.51239,-1.29329 5.44572,-0.67437 5.10758,0.20451 0.42683,2.90989 2.233,0.8083 0.23494,-4.63 -1.52822,-4.17295 1.3084,-1.43983 5.55463,0.45475 5.17314,0.32332 z m 12.54541,132.40508 2.42492,-0.64664 1.29328,-0.24249 1.45496,-2.34409 2.34408,-1.61661 1.29329,0.48499 1.69744,0.32332 0.40415,1.05079 -3.4757,1.21246 -4.2032,1.45495 -2.34408,1.21246 -0.88914,-0.88914 z m 13.4987,-5.01149 1.21246,1.0508 2.74824,-2.10159 5.33481,-4.20319 3.7182,-3.87987 2.50575,-6.6281 0.96997,-1.69744 0.16166,-3.39488 -0.72748,0.48498 -0.96996,2.82907 -1.45496,4.60733 -3.23322,5.254 -4.36484,4.20318 -3.39488,1.93993 -2.50575,1.53578 z",NH:"m 880.79902,142.42476 0.869,-1.0765 1.09022,-3.29102 -2.54308,-0.91347 -0.48499,-3.07156 -3.87985,-1.13162 -0.32332,-2.74824 -7.27475,-23.44082 -4.60142,-14.542988 -0.89708,-0.0051 -0.64664,1.616605 -0.64664,-0.484981 -0.96997,-0.969963 -1.45494,1.939925 -0.0485,5.032054 0.31165,5.667218 1.93992,2.74824 0,4.04152 -3.7182,5.06278 -2.58657,1.13164 0,1.13162 1.13163,1.77827 0,8.56802 -0.80831,9.21467 -0.16166,4.84982 0.96997,1.2933 -0.16166,4.52649 -0.48499,1.77828 0.96881,0.70922 16.78767,-4.42455 2.17487,-0.60245 1.84357,-2.77333 3.60523,-1.61312 z",MI:"M581.61931,82.059006 L 583.4483,80.001402 L 585.62022,79.201221 L 590.99286,75.314624 L 593.27908,74.743065 L 593.73634,75.200319 L 588.59232,80.344339 L 585.27728,82.287628 L 583.21967,83.202124 L 581.61931,82.059006 z M 667.79369,114.18719 L 668.44033,116.69293 L 671.67355,116.85459 L 672.96684,115.64213 C 672.96684,115.64213 672.88601,114.18719 672.56269,114.02552 C 672.23936,113.86386 670.94608,112.16642 670.94608,112.16642 L 668.76366,112.40891 L 667.14704,112.57057 L 666.82372,113.7022 L 667.79369,114.18719 z M 567.49209,111.21318 L 568.20837,110.63278 L 570.9566,109.82447 L 574.51313,107.56123 L 574.51313,106.59126 L 575.15978,105.94462 L 581.14121,104.97466 L 583.56612,103.03473 L 587.93095,100.93315 L 588.09261,99.639864 L 590.03254,96.729975 L 591.8108,95.921673 L 593.10409,94.143408 L 595.36733,91.880161 L 599.73217,89.455254 L 604.42032,88.970273 L 605.55194,90.101896 L 605.22862,91.071859 L 601.51043,92.041822 L 600.05549,95.113371 L 597.79224,95.921673 L 597.30726,98.34658 L 594.88235,101.57979 L 594.55903,104.16636 L 595.36733,104.65134 L 596.3373,103.51972 L 599.89383,100.60983 L 601.18711,101.90311 L 603.45036,101.90311 L 606.68357,102.87307 L 608.13851,104.0047 L 609.59345,107.07625 L 612.34168,109.82447 L 616.22153,109.66281 L 617.67648,108.69285 L 619.29308,109.98613 L 620.90969,110.47112 L 622.20297,109.66281 L 623.33459,109.66281 L 624.9512,108.69285 L 628.99271,105.13632 L 632.38758,104.0047 L 639.01566,103.68138 L 643.54215,101.74145 L 646.12872,100.44817 L 647.58367,100.60983 L 647.58367,106.26794 L 648.06865,106.59126 L 650.97853,107.39957 L 652.91846,106.91458 L 659.06156,105.29798 L 660.19318,104.16636 L 661.64813,104.65134 L 661.64813,111.60274 L 664.88134,114.67429 L 666.17462,115.32093 L 667.4679,116.29089 L 666.17462,116.61421 L 665.36632,116.29089 L 661.64813,115.80591 L 659.54654,116.45255 L 657.28329,116.29089 L 654.05008,117.74584 L 652.27182,117.74584 L 646.45204,116.45255 L 641.27891,116.61421 L 639.33898,119.20078 L 632.38758,119.84742 L 629.96267,120.65572 L 628.83105,123.72727 L 627.53777,124.8589 L 627.05279,124.69724 L 625.59784,123.08063 L 621.07135,125.50554 L 620.42471,125.50554 L 619.29308,123.88893 L 618.48478,124.05059 L 616.54486,128.41543 L 615.57489,132.45694 L 612.39377,139.45774 L 611.21701,138.42347 L 609.84527,137.39215 L 607.90449,127.10413 L 604.36001,125.73408 L 602.30743,123.44785 L 590.18707,120.70437 L 587.3318,119.67473 L 579.10138,117.50199 L 571.21139,116.35887 L 567.49209,111.21318 z,M697.8,177.2L694.6,168.9L692.3,159.9L689.9,156.7L687.3,154.9L685.7,156L681.8,157.8L679.9,162.8L677.1,166.5L676,167.2L674.5,166.5 C 674.5,166.5 671.9,165.1 672.1,164.4 C 672.3,163.8 672.6,159.4 672.6,159.4L676,158.1L676.8,154.7L677.4,152.1L679.9,150.5L679.5,140.5L677.9,138.2L676.6,137.4L675.8,135.3L676.6,134.5L678.2,134.8L678.4,133.2L676,131L674.7,128.4L672.1,128.4L667.6,126.9L662.1,123.5L659.3,123.5L658.7,124.2L657.7,123.7L654.6,121.4L651.7,123.2L648.8,125.5L649.2,129L650.1,129.3L652.2,129.8L652.7,130.6L650.1,131.4L647.5,131.8L646.1,133.5L645.8,135.6L646.1,137.3L646.4,142.8L642.8,144.9L642.2,144.7L642.2,140.5L643.5,138.1L644.1,135.6L643.3,134.8L641.4,135.6L640.4,139.8L637.7,141L635.9,142.9L635.7,143.9L636.4,144.7L635.7,147.3L633.5,147.8L633.5,148.9L634.3,151.3L633.1,157.5L631.5,161.5L632.2,166.2L632.7,167.3L631.9,169.8L631.5,170.6L631.2,173.3L634.8,179.3L637.7,185.8L639.1,190.6L638.3,195.3L637.3,201.3L634.9,206.4L634.6,209.2L631.3,212.3L635.8,212.1L657.2,209.9L664.4,208.9L664.5,210.5L671.4,209.3L681.7,207.8L685.5,207.4L685.7,206.8L685.8,205.3L687.9,201.6L689.9,199.9L689.7,194.8L691.3,193.2L692.4,192.9L692.6,189.3L694.2,186.3L695.2,186.9L695.4,187.5L696.2,187.7L698.1,186.7L697.8,177.2z",VT:"m 844.48416,154.05791 0.3167,-5.34563 -2.89071,-10.78417 -0.64664,-0.32332 -2.9099,-1.29329 0.8083,-2.90989 -0.8083,-2.10159 -2.70005,-4.63998 0.96997,-3.87986 -0.80831,-5.17315 -2.42491,-6.46644 -0.80557,-4.92251 26.41936,-6.73182 0.3087,5.52221 1.91626,2.74223 0,4.04152 -3.70715,5.05799 -2.58657,1.14267 -0.011,1.12057 1.30997,1.51912 -0.31093,8.09797 -0.60943,9.25886 -0.22795,5.55694 0.96996,1.29329 -0.16166,4.57069 -0.48498,1.68989 1.01418,0.72716 -7.43755,1.50671 -4.50174,0.72383 z",ME:"m 922.83976,78.830719 1.93993,2.101586 2.26325,3.718191 0,1.939926 -2.10159,4.688153 -1.93993,0.646642 -3.39487,3.071549 -4.84981,5.496454 c 0,0 -0.64664,0 -1.29328,0 -0.64664,0 -0.96997,-2.101584 -0.96997,-2.101584 l -1.77826,0.16166 -0.96996,1.454944 -2.42491,1.45495 -0.96996,1.45494 1.6166,1.45494 -0.48498,0.64665 -0.48498,2.74822 -1.93993,-0.16166 0,-1.6166 -0.32332,-1.29329 -1.45494,0.32333 -1.77827,-3.23321 -2.10158,1.29328 1.29328,1.45494 0.32332,1.13163 -0.8083,1.29328 0.32332,3.07155 0.16166,1.6166 -1.6166,2.58657 -2.90989,0.48498 -0.32332,2.90989 -5.3348,3.07155 -1.29328,0.48498 -1.61661,-1.45494 -3.07155,3.55653 0.96997,3.23321 -1.45495,1.29328 -0.16166,4.36483 -1.12328,6.25936 -2.46225,-1.15595 -0.48499,-3.07156 -3.87985,-1.13163 -0.32332,-2.74824 -7.27475,-23.44082 -4.69858,-14.639742 1.42054,-0.118165 1.51379,0.409899 0,-2.586568 1.3083,-4.496456 2.58657,-4.688153 1.45495,-4.041512 -1.93993,-2.424907 0,-5.981437 0.8083,-0.969963 0.80831,-2.748228 -0.16166,-1.454944 -0.16167,-4.849814 1.77827,-4.849814 2.90989,-8.891326 2.10158,-4.203172 1.29329,0 1.29328,0.16166 0,1.131623 1.29329,2.263247 2.74822,0.646642 0.80831,-0.808303 0,-0.969962 4.04151,-2.909889 1.77826,-1.778265 1.45495,0.161661 5.98143,2.424907 1.93993,0.969962 9.05299,29.907187 5.98143,0 0.80831,1.939926 0.16166,4.849814 2.90988,2.263246 0.80831,0 0.16166,-0.484981 -0.48498,-1.131623 2.74822,-0.161661 z m -20.93175,30.147531 1.53578,-1.53578 1.37412,1.0508 0.56581,2.42492 -1.69744,0.88913 -1.77827,-2.82907 z m 6.70893,-5.90062 1.77827,1.8591 c 0,0 1.29329,0.0808 1.29329,-0.2425 0,-0.32332 0.24249,-2.02076 0.24249,-2.02076 l 0.88914,-0.8083 -0.80831,-1.77828 -2.02076,0.72748 -1.37412,2.26326 z",RI:"m 874.07001,178.89536 -3.69579,-14.95599 6.26928,-1.84514 2.19113,1.92712 3.30649,4.32065 2.6879,4.40209 -2.99934,1.62479 -1.29328,-0.16166 -1.13162,1.77827 -2.42491,1.93992 -2.90986,0.96995 z",NY:"m 830.37944,188.7456 -1.13163,-0.96996 -2.58658,-0.16166 -2.26324,-1.93992 -1.63061,-6.12913 -3.45846,0.0905 -2.44371,-2.7082 -19.38532,4.38194 -43.00178,8.72969 -7.52965,1.22799 -0.73816,-6.46834 1.4281,-1.12538 1.29328,-1.13162 0.96997,-1.61661 1.77826,-1.13162 1.93993,-1.77827 0.48498,-1.6166 2.10158,-2.74823 1.13163,-0.96996 -0.16166,-0.96997 -1.29329,-3.07154 -1.77826,-0.16166 -1.93993,-6.1431 2.90989,-1.77827 4.36483,-1.45494 4.04152,-1.29329 3.23321,-0.48498 6.30475,-0.16166 1.93993,1.29329 1.6166,0.16166 2.10159,-1.29329 2.58657,-1.13162 5.17313,-0.48498 2.10159,-1.77827 1.77826,-3.23321 1.61661,-1.93992 2.10158,0 1.93993,-1.13163 0.16166,-2.26324 -1.45494,-2.10159 -0.32332,-1.45494 1.13162,-2.10159 0,-1.45494 -1.77827,0 -1.77826,-0.8083 -0.8083,-1.13163 -0.16166,-2.58657 5.81977,-5.49645 0.64664,-0.8083 1.45495,-2.90989 2.90989,-4.5265 2.74823,-3.71819 2.10158,-2.4249 2.4151,-1.82561 3.08136,-1.24594 5.49645,-1.29329 3.23321,0.16166 4.5265,-1.45494 7.56519,-2.07117 0.51979,4.97967 2.42492,6.46644 0.8083,5.17315 -0.96996,3.87986 2.58657,4.5265 0.8083,2.10159 -0.8083,2.9099 2.9099,1.29328 0.64664,0.32332 3.07156,10.99294 -0.53629,5.05967 -0.48498,10.83127 0.8083,5.49647 0.8083,3.55654 1.45495,7.27474 0,8.08304 -1.13163,2.26325 1.83933,1.99279 0.79655,1.67842 -1.93992,1.77827 0.32332,1.29328 1.29328,-0.32332 1.45495,-1.29328 2.26324,-2.58657 1.13163,-0.64664 1.6166,0.64664 2.26325,0.16166 7.92136,-3.87985 2.90989,-2.74823 1.29328,-1.45494 4.20317,1.6166 -3.39487,3.55653 -3.87985,2.90989 -7.11306,5.33479 -2.58656,0.96997 -5.81978,1.93992 -4.04151,1.13163 -1.17474,-0.53293 -0.24402,-3.68853 0.48498,-2.74824 -0.16166,-2.10158 -2.81351,-1.699 -4.5265,-0.96997 -3.87986,-1.13162 -3.7182,-1.77828 z",PA:"m 825.1237,224.69205 1.30842,-0.271 2.32953,-1.25325 1.21188,-2.48307 1.61661,-2.26325 3.23321,-3.07156 0,-0.8083 -2.42491,-1.6166 -3.55654,-2.42492 -0.96996,-2.58657 -2.74824,-0.32332 -0.16166,-1.13163 -0.8083,-2.74823 2.26326,-1.13162 0.16166,-2.42492 -1.2933,-1.29329 0.16166,-1.61661 1.93994,-3.07155 0,-3.07156 2.69763,-2.64588 -0.92028,-0.67498 -2.52408,-0.19291 -2.29449,-1.93992 -1.54992,-6.11606 -3.50458,0.10052 -2.45523,-2.70333 -18.09099,4.19777 -43.00178,8.72969 -8.89135,1.45494 -0.62067,-6.52139 -5.36253,5.06765 -1.29329,0.48498 -4.20229,3.00889 2.91076,19.13745 2.48166,9.72936 3.5718,19.26149 3.26931,-0.63768 11.94358,-1.50247 37.92663,-7.6652 14.87621,-2.82332 8.30035,-1.62236 0.26711,-0.23853 2.1016,-1.61662 2.10158,-0.68084 z",NJ:"m 829.67942,188.46016 -2.32255,2.73427 0,3.07156 -1.93994,3.07155 -0.16166,1.61662 1.2933,1.29328 -0.16166,2.42492 -2.26326,1.13162 0.8083,2.74823 0.16166,1.13163 2.74824,0.32332 0.96996,2.58657 3.55654,2.42492 2.42491,1.6166 0,0.80831 -2.98321,2.69656 -1.61661,2.26324 -1.45495,2.74824 -2.26325,1.29328 -0.46245,1.60248 -0.2425,1.21246 -0.60923,2.60674 1.09227,2.24419 3.23321,2.90989 4.84981,2.26325 4.04151,0.64664 0.16166,1.45494 -0.8083,0.96996 0.32332,2.74823 0.8083,0 2.10159,-2.4249 0.8083,-4.84982 2.74823,-4.04151 3.07155,-6.46642 1.13162,-5.49645 -0.64664,-1.13163 -0.16166,-9.37631 -1.61661,-3.39486 -1.13162,0.8083 -2.74823,0.32332 -0.48498,-0.48498 1.13163,-0.96997 2.10158,-1.93992 0.0631,-1.09383 -0.38439,-3.43384 0.57337,-2.74824 -0.11747,-1.96901 -2.80754,-1.75035 -5.09214,-1.17576 -4.13744,-1.38163 -3.58563,-1.64569 z",DE:"m 825.6261,228.2791 0.36831,-2.14689 0.37507,-1.69105 -1.623,0.39776 -1.61546,0.46756 -2.20626,1.7643 1.72012,5.04288 2.26326,5.65812 2.10158,9.69965 1.61662,6.30478 5.01148,-0.16166 6.14212,-1.18068 -2.26423,-7.38627 -0.96997,0.48498 -3.55653,-2.4249 -1.77826,-4.68816 -1.93993,-3.55653 -3.14712,-2.87031 -0.86416,-2.09812 0.36636,-1.61546 z",MD:"m 839.79175,252.41476 -6.00855,1.20384 -5.1429,0.11746 -1.84356,-6.92233 -1.92481,-9.16932 -2.57262,-6.18845 -1.28838,-4.39833 -7.50602,1.62236 -14.87621,2.82332 -37.45143,7.5509 1.1313,5.01166 0.96996,5.65811 0.32332,-0.32332 2.1016,-2.4249 2.26324,-2.61766 2.42491,-0.61556 1.45496,-1.45495 1.77826,-2.58657 1.29328,0.64665 2.90989,-0.32333 2.58658,-2.10158 2.00689,-1.45327 1.84523,-0.48498 1.64435,1.12995 2.90989,1.45494 1.93992,1.77827 1.21246,1.53578 4.12235,1.69743 0,2.90989 5.49646,1.29329 1.14444,0.54198 1.4119,-2.02832 2.88197,1.97016 -1.27817,2.48193 -0.76527,3.98566 -1.77826,2.58657 0,2.10159 0.64664,1.77827 5.06395,1.35569 4.3111,-0.0617 3.07154,0.96997 2.10159,0.32332 0.96996,-2.10159 -1.45494,-2.10158 0,-1.77827 -2.42491,-2.10159 -2.10158,-5.49645 1.29328,-5.3348 -0.16166,-2.10158 -1.29328,-1.29329 c 0,0 1.45494,-1.6166 1.45494,-2.26324 0,-0.64665 0.48498,-2.10159 0.48498,-2.10159 l 1.93993,-1.29328 1.93992,-1.61661 0.48498,0.96997 -1.45494,1.6166 -1.29328,3.71819 0.32332,1.13162 1.77826,0.32332 0.48498,5.49646 -2.10158,0.96996 0.32332,3.55653 0.48498,-0.16166 1.13162,-1.93992 1.61661,1.77826 -1.61661,1.29329 -0.32332,3.39487 2.58657,3.39487 3.87985,0.48498 1.61661,-0.8083 3.23655,4.18293 1.35835,0.5363 6.65367,-2.79695 2.00758,-4.02387 -0.43596,-4.90798 z m -15.96958,9.02872 1.13162,2.50575 0.16166,1.77827 1.13163,1.8591 c 0,0 0.88914,-0.88914 0.88914,-1.21246 0,-0.32332 -0.72747,-3.07156 -0.72747,-3.07156 l -0.72748,-2.34409 -1.8591,0.48499 z",VA:"m 831.63885,266.06892 -0.14391,-1.94703 6.45343,-2.54988 -0.77041,3.21784 -2.91995,3.77911 -0.41809,4.58582 0.46175,3.39044 -1.82797,4.97816 -2.16427,1.91614 -1.47034,-4.64081 0.44589,-5.44911 1.587,-4.18307 0.76687,-3.09761 z m 3.34019,28.30136 -58.17418,12.57543 -37.42697,5.27907 -6.67833,-0.37518 -2.58525,1.92638 -7.33913,0.22069 -8.38211,0.97767 -10.91496,1.61462 10.46943,-5.6112 -0.0131,-2.07493 1.52005,-2.14613 10.55378,-11.50143 3.94672,4.47746 3.78301,0.96398 2.54346,-1.14032 2.23722,-1.31116 2.53661,1.34352 3.91417,-1.42776 1.87673,-4.55634 2.60092,0.54002 2.85524,-2.13125 1.79927,0.4936 2.82721,-3.67657 0.34825,-2.08311 -0.96366,-1.27557 1.00277,-1.86663 5.27427,-12.27715 0.61677,-5.73508 1.22889,-0.52354 2.17853,2.44287 3.93586,-0.30117 1.92921,-7.57363 2.79399,-0.56086 1.04975,-2.74107 2.57982,-2.34688 2.77183,-5.69519 0.0849,-5.06755 9.82151,3.82282 c 0.68085,0.34042 0.83288,-5.04915 0.83288,-5.04915 l 3.65256,1.59833 0.0683,2.93816 5.78425,1.29949 2.13295,1.1762 1.65992,2.05569 -0.65455,3.64867 -1.94744,2.59098 0.10985,2.05907 0.58896,1.85291 4.97875,1.26843 4.45127,0.0399 3.06883,0.95864 1.94351,0.3093 0.71481,3.08846 3.19044,0.40253 0.86807,1.20002 -0.43949,4.69008 1.37473,1.10255 -0.47895,1.93039 1.22941,0.78977 -0.2218,1.3846 -2.69399,-0.0949 0.089,1.61552 2.28099,1.54287 0.12154,1.4119 1.77311,1.78538 0.49179,2.52413 -2.55304,1.38131 1.57222,1.4943 5.80102,-1.68583 3.60762,6.01193 z",WV:"m 761.18551,238.96731 1.11201,4.94453 1.08344,6.03133 2.13029,-2.58034 2.26324,-3.07156 2.53838,-0.61555 1.45495,-1.45494 1.77827,-2.58657 1.44498,0.64664 2.90989,-0.32332 2.58658,-2.10159 2.00689,-1.45326 1.84523,-0.48499 1.30392,1.01647 3.64325,1.82163 1.93993,1.77827 1.37412,1.29328 -0.76172,5.55494 -5.83491,-2.54122 -4.24525,-1.62202 -0.10114,5.17843 -2.74764,5.53673 -2.53003,2.42666 -1.19209,2.74939 -2.64358,0.5001 -0.89784,3.60188 -1.04323,3.94967 -3.96824,0.34074 -2.32373,-2.43888 -1.07115,0.55941 -0.63268,5.4697 -1.35029,3.5345 -4.9584,10.95497 0.89669,1.1607 -0.20586,1.90854 -2.80869,3.88447 -1.8085,-0.54429 -2.96805,2.15974 -2.54238,-0.57221 -1.99923,4.55557 c 0,0 -3.25931,1.43022 -3.92291,1.36772 -0.16051,-0.0151 -2.4691,-1.2491 -2.4691,-1.2491 l -2.33652,1.37937 -2.4098,1.0444 -3.74469,-0.88912 -1.1214,-1.16828 -2.19222,-3.02336 -3.14259,-1.98812 -1.71157,-3.62324 -4.28488,-3.46819 -0.64665,-2.26325 -2.58657,-1.45495 -0.80831,-1.6166 -0.24249,-5.25398 2.18242,-0.0808 1.93994,-0.8083 0.16166,-2.74823 1.6166,-1.45495 0.16166,-5.01148 0.96996,-3.87986 1.29329,-0.64664 1.29328,1.13162 0.48499,1.77827 1.77827,-0.96997 0.48498,-1.6166 -1.13162,-1.77827 0,-2.42491 0.96996,-1.29329 2.26325,-3.39487 1.29328,-1.45494 2.1016,0.48498 2.26324,-1.61662 3.07155,-3.39487 2.26326,-3.87986 0.32332,-5.65811 0.48498,-5.01149 0,-4.68816 -1.13162,-3.07155 0.96996,-1.45496 1.28348,-1.29328 3.49125,19.82712 4.63101,-0.75115 12.42832,-1.79965 z",OH:"m 735.32497,193.32832 -6.09354,4.05335 -3.87985,2.26325 -3.39487,3.71819 -4.04151,3.87985 -3.23321,0.8083 -2.90989,0.48498 -5.49646,2.58657 -2.10158,0.16166 -3.39487,-3.07155 -5.17314,0.64665 -2.58656,-1.45495 -2.38107,-1.35083 -4.89257,0.70341 -10.18462,1.61661 -11.20687,2.18473 1.29329,14.63028 1.77827,13.74117 2.58656,23.4408 0.56582,4.83117 4.12235,-0.12902 2.42491,-0.80831 3.3638,1.50314 2.07049,4.36483 5.13894,-0.0171 1.89174,2.1187 1.76117,-0.0653 2.53839,-1.34146 2.50417,0.3715 5.42128,0.48268 1.72697,-2.13268 2.34565,-1.29328 2.07049,-0.68085 0.64664,2.74824 1.77828,0.96996 3.47569,2.34407 2.18242,-0.0808 1.33312,-0.49248 0.18471,-2.76153 1.58536,-1.45496 0.0992,-4.79272 c 0,0 1.02396,-4.10906 1.02396,-4.10906 l 1.29927,-0.60128 1.32135,1.14774 0.53815,1.69702 1.71913,-1.03742 0.43898,-1.46075 -1.11669,-1.90306 0.0663,-2.31443 0.749,-1.07231 2.15276,-3.30648 1.05022,-1.54334 2.10159,0.48498 2.26325,-1.61661 3.07155,-3.39487 2.77149,-4.07873 0.32033,-5.05551 0.48498,-5.01149 -0.17678,-5.30688 -0.95484,-2.89478 0.35124,-1.18978 1.80439,-1.75011 -2.28879,-9.04733 -2.90989,-19.36177 z",IN:"m 619.56954,299.97132 0.0653,-2.85858 0.48499,-4.52651 2.26324,-2.90988 1.77828,-3.87987 2.58656,-4.20317 -0.48498,-5.81979 -1.77826,-2.74823 -0.32332,-3.23321 0.8083,-5.49647 -0.48498,-6.95141 -1.2933,-16.00441 -1.29328,-15.35776 -0.97047,-11.72002 3.07106,0.88951 1.45495,0.96996 1.13162,-0.32332 2.10159,-1.93992 2.82957,-1.61699 5.0928,-0.16204 21.98587,-2.26326 5.57573,-0.53316 1.50314,15.95621 4.25135,36.84155 0.59846,5.7716 -0.3715,2.26325 1.22798,1.79537 0.0964,1.37255 -2.52129,1.59951 -3.53943,1.55131 -3.20213,0.55028 -0.59846,4.86693 -4.57469,3.31247 -2.79642,4.01044 0.32332,2.37673 -0.58134,1.5342 -3.32647,0 -1.58553,-1.6166 -2.49331,1.2622 -2.68296,1.50314 0.16167,3.05445 -1.19379,0.25803 -0.46788,-1.01814 -2.16688,-1.50314 -3.25032,1.34148 -1.55131,3.00625 -1.43784,-0.8083 -1.45495,-1.59951 -4.46434,0.48499 -5.59283,0.96996 -2.90989,1.55132 z",IL:"m 619.54145,300.34244 0.0312,-3.22971 0.56739,-4.64596 2.33253,-2.91586 1.86665,-4.07576 2.23302,-3.99533 -0.3715,-5.2524 -2.00521,-3.54257 -0.0964,-3.34668 0.69483,-5.26951 -0.82541,-7.17837 -1.06634,-15.77745 -1.29328,-15.01734 -0.92228,-11.6392 -0.27251,-0.92139 -0.8083,-2.58657 -1.29328,-3.71819 -1.61661,-1.77827 -1.45494,-2.58656 -0.23357,-5.48896 -45.79643,2.59825 0.22862,2.37195 2.28623,0.68587 0.91448,1.14311 0.45725,1.82898 3.88658,3.42934 0.68588,2.28623 -0.68588,3.42934 -1.82898,3.65796 -0.68586,2.51484 -2.28623,1.82899 -1.82898,0.68587 -5.25832,1.37173 -0.68587,1.82898 -0.68587,2.05761 0.68587,1.37174 1.82898,1.60036 -0.22862,4.1152 -1.82899,1.60036 -0.68586,1.60036 0,2.74347 -1.82898,0.45724 -1.60036,1.14312 -0.22862,1.37174 0.22862,2.0576 -1.71467,1.31457 -1.0288,2.80064 0.45724,3.65795 2.28623,7.31593 7.31593,7.54455 5.48693,3.65796 -0.22862,4.34383 0.9145,1.37174 6.40143,0.45724 2.74347,1.37174 -0.68586,3.65796 -2.28623,5.94419 -0.68587,3.20072 2.28622,3.88658 6.40144,5.25832 4.57246,0.68587 2.05759,5.0297 2.05761,3.20071 -0.91449,2.97209 1.60036,4.11521 1.82898,2.05761 1.41403,-0.88069 0.90766,-2.07479 2.21308,-1.7472 2.13147,-0.6144 2.60253,1.1798 3.62699,1.3757 1.18895,-0.29823 0.19987,-2.25845 -1.2873,-2.41179 0.30422,-2.37672 1.8384,-1.34745 3.02254,-0.81029 1.2609,-0.45852 -0.61261,-1.38688 -0.79137,-2.35437 1.4326,-0.98096 1.15747,-3.21403 z",CT:"m 874.06831,178.86288 -3.67743,-14.87881 -4.71882,0.92031 -21.22878,4.74309 1.00019,3.22567 1.45495,7.27474 0.17678,8.96692 -1.22002,2.17487 1.92079,1.93234 4.27153,-3.90564 3.55653,-3.23321 1.93992,-2.10159 0.80831,0.64664 2.74822,-1.45494 5.17314,-1.13162 7.79469,-3.17877 z",WI:"m 615.06589,197.36866 -0.0667,-3.15742 -1.17911,-4.5265 -0.64664,-6.14309 -1.13162,-2.42491 0.96996,-3.07155 0.8083,-2.90989 1.45495,-2.58656 -0.64665,-3.39487 -0.64664,-3.55653 0.48498,-1.77827 1.93993,-2.42491 0.16166,-2.74823 -0.8083,-1.29328 0.64664,-2.58657 -0.45252,-4.17071 2.74823,-5.65811 2.90989,-6.78974 0.16166,-2.26325 -0.32332,-0.96996 -0.80831,0.48498 -4.20317,6.30476 -2.74823,4.04151 -1.93992,1.77827 -0.8083,2.26324 -1.95495,0.8083 -1.13162,1.93993 -1.45495,-0.32332 -0.16166,-1.77827 1.29329,-2.4249 2.10158,-4.68816 1.77827,-1.6166 0.99083,-2.35785 -2.56045,-1.90134 -1.97482,-10.36699 -3.54747,-1.34198 -1.94626,-2.30833 -12.12971,-2.72164 -2.87589,-1.01205 -8.21312,-2.16729 -7.91792,-1.15875 -3.76516,-5.13067 -0.7504,0.55401 -1.19791,-0.16166 -0.64665,-1.13162 -1.33401,0.29655 -1.13163,0.16166 -1.77826,0.96996 -0.96997,-0.64664 0.64665,-1.93993 1.93992,-3.07155 1.13162,-1.13162 -1.93992,-1.45494 -2.10159,0.8083 -2.90989,1.93992 -7.43638,3.23321 -2.90989,0.64664 -2.90988,-0.48498 -0.98173,-0.87825 -2.1167,2.83518 -0.22862,2.74347 0,8.45903 -1.14312,1.60037 -5.25832,3.88657 -2.28622,5.94419 0.45724,0.22862 2.51485,2.05761 0.68586,3.20072 -1.82898,3.20071 0,3.88659 0.45725,6.63005 2.97209,2.9721 3.42935,0 1.82898,3.20072 3.42933,0.45724 3.88659,5.71557 7.0873,4.11521 2.0576,2.74347 0.9145,7.43024 0.68586,3.31502 2.28623,1.60036 0.22862,1.37174 -2.0576,3.42933 0.22862,3.20073 2.51485,3.88658 2.51485,1.14311 2.97209,0.45724 1.34234,1.38012 45.29836,-2.66945 z",NC:"m 834.98153,294.31554 2.085,4.91735 3.55653,6.46642 2.4249,2.42491 0.64664,2.26325 -2.4249,0.16166 0.8083,0.64664 -0.32332,4.20317 -2.58657,1.29328 -0.64664,2.10159 -1.29328,2.90989 -3.7182,1.6166 -2.4249,-0.32332 -1.45495,-0.16166 -1.6166,-1.29328 0.32332,1.29328 0,0.96997 1.93993,0 0.8083,1.29328 -1.93993,6.30476 4.20317,0 0.64665,1.6166 2.26324,-2.26324 1.29329,-0.48499 -1.93993,3.55653 -3.07155,4.84982 -1.29328,0 -1.13163,-0.48498 -2.74822,0.64664 -5.17314,2.42491 -6.46642,5.33479 -3.39487,4.68815 -1.93992,6.46642 -0.48498,2.42491 -4.68816,0.48498 -5.45313,1.33666 -9.94641,-8.20253 -12.60954,-7.59805 -2.90989,-0.80831 -12.60953,1.45495 -4.27646,0.75015 -1.6166,-3.23322 -2.97036,-2.1167 -16.48939,0.48498 -7.27474,0.8083 -9.05299,4.52651 -6.14311,2.58656 -21.17755,2.58658 0.50009,-4.05433 1.77827,-1.45494 2.74824,-0.64665 0.64664,-3.7182 4.20318,-2.74822 3.87985,-1.45496 4.20319,-3.55653 4.36483,-2.10159 0.64664,-3.07156 3.87986,-3.87985 0.64664,-0.16166 c 0,0 0,1.13163 0.80831,1.13163 0.8083,0 1.93993,0.32332 1.93993,0.32332 l 2.26325,-3.55654 2.10159,-0.64665 2.26324,0.32333 1.61662,-3.55653 2.90989,-2.58658 0.48498,-2.10159 0.1875,-3.64819 4.2765,-0.0225 7.19859,-0.85579 15.75723,-2.25243 15.13604,-2.08657 21.64048,-4.71935 19.98332,-4.25857 11.17694,-2.40581 5.04998,-1.15688 z m 4.27046,33.20657 2.58658,-2.50575 3.15238,-2.58658 1.53578,-0.64664 0.16166,-2.02076 -0.64664,-6.14312 -1.45495,-2.34408 -0.64665,-1.8591 0.72748,-0.2425 2.74824,5.49648 0.40415,4.44567 -0.16166,3.39489 -3.39488,1.53577 -2.82907,2.42492 -1.13162,1.21246 -1.0508,-0.16166 z",DC:"m 805.81945,250.84384 -1.85828,-1.82417 -1.23263,-0.68629 1.44301,-2.02247 2.88909,1.9485 -1.24119,2.58443 z",MA:"m 899.62349,173.25394 2.17192,-0.68588 0.45726,-1.71467 1.0288,0.11431 1.0288,2.28624 -1.25742,0.45724 -3.8866,0.11432 0.45724,-0.57156 z m -9.37354,0.80018 2.28622,-2.62917 1.60037,0 1.82899,1.48605 -2.40054,1.0288 -2.17192,1.0288 -1.14312,-0.91448 z m -34.79913,-21.98819 17.64687,-4.64068 2.26326,-0.64664 1.91408,-2.79571 3.73677,-1.66331 2.88924,4.41284 -2.42491,5.17314 -0.32332,1.45494 1.93993,2.58657 1.13162,-0.8083 1.77827,0 2.26324,2.58656 3.87986,5.98144 3.55653,0.48498 2.26324,-0.96996 1.77827,-1.77827 -0.80831,-2.74822 -2.10158,-1.61661 -1.45495,0.8083 -0.96996,-1.29328 0.48498,-0.48498 2.10159,-0.16166 1.77826,0.8083 1.93993,2.42491 0.96996,2.90989 0.32332,2.4249 -4.20317,1.45495 -3.87985,1.93992 -3.87985,4.5265 -1.93993,1.45494 0,-0.96996 2.42491,-1.45495 0.48498,-1.77826 -0.8083,-3.07155 -2.90989,1.45494 -0.8083,1.45495 0.48498,2.26324 -2.06633,1.00043 -2.7472,-4.52713 -3.39488,-4.36484 -2.0705,-1.81247 -6.53327,1.8762 -5.09233,1.05079 -20.67516,4.59221 -0.66776,-4.76785 0.64664,-10.58877 4.28927,-0.88914 6.78975,-1.2933 z",TN:"m 696.67788,318.25411 -51.89309,5.01149 -15.75956,1.77826 -4.6212,0.51271 -3.86835,-0.0277 -0.22097,4.10083 -8.18538,0.26401 -6.95141,0.64664 -8.09083,-0.12386 -1.41378,7.07286 -1.69623,5.48005 -3.29317,2.75084 -1.34874,4.38106 -0.32332,2.58657 -4.04152,2.26324 1.45494,3.55654 -0.96996,4.36484 -0.96838,0.78965 108.15855,-10.40755 0.40327,-3.95494 1.81073,-1.49039 2.83415,-0.74945 0.67193,-3.71698 4.0986,-2.70496 4.04693,-1.49403 4.08358,-3.57033 4.43609,-2.02546 0.52126,-3.06735 4.0646,-3.98499 0.5508,-0.11417 c 0,0 0.0312,1.13162 0.83955,1.13162 0.8083,0 1.93993,0.35457 1.93993,0.35457 l 2.26325,-3.58779 2.07034,-0.64664 2.27511,0.29521 1.59831,-3.53286 2.95525,-2.64391 0.42168,-1.93911 0.30896,-3.71115 -2.14655,-0.19977 -2.60168,2.02833 -6.99331,0.0291 -18.35929,2.38682 -8.06109,1.9082 z",AR:"m 593.82477,343.05296 -3.97988,0.7167 -5.11215,-0.63403 0.4207,-1.60207 2.97975,-2.56669 0.94338,-3.65625 -1.82898,-2.9721 -78.41757,2.51485 1.60036,6.85869 -1e-5,8.23042 1.37175,10.97399 0.22862,37.83693 2.28623,1.94329 2.97209,-1.37173 2.74348,1.14311 0.68034,6.5733 55.62126,-1.1406 1.14563,-2.09037 -0.28662,-3.54951 -1.82563,-2.9721 1.59869,-1.48521 -1.59869,-2.5115 0.6842,-2.50983 1.36839,-5.60543 2.51819,-2.06263 -0.68587,-2.28456 3.65797,-5.37179 2.74347,-1.36839 -0.11348,-1.49358 -0.34544,-1.82564 2.85695,-5.59873 2.40304,-1.25659 0.38413,-3.42763 1.77067,-1.2417 -3.14352,-0.48427 -1.34146,-4.01044 2.80408,-2.37671 0.55026,-2.0192 1.27948,-4.04661 1.06619,-3.25539 z",MO:"m 558.44022,248.11316 -2.51987,-3.08725 -1.14312,-2.28623 -64.35723,2.40054 -2.28626,0.11431 1.25743,2.51485 -0.22862,2.28622 2.51484,3.88659 3.0864,4.11521 3.08641,2.74347 2.16123,0.22862 1.49673,0.9145 0,2.97209 -1.82897,1.60036 -0.45726,2.28622 2.05761,3.42935 2.51486,2.97209 2.51484,1.82898 1.37173,11.65975 0.31414,36.07221 0.22862,4.68675 0.45724,5.38351 22.43299,-0.86682 23.20603,-0.68587 20.80466,-0.80101 11.65474,-0.2303 2.1694,3.426 -0.68419,3.3075 -3.08725,2.40304 -0.57239,1.83734 5.37849,0.45726 3.89496,-0.68588 1.71718,-5.49363 0.65142,-5.85679 2.09803,-2.55516 2.59603,-1.48689 0.0514,-3.05024 1.01602,-1.93648 -1.69423,-2.54377 -1.33093,0.98426 -1.99262,-2.22724 -1.28503,-4.759 0.80101,-2.5182 -1.94413,-3.42766 -1.83064,-4.5758 -4.79941,-0.79934 -6.9688,-5.59875 -1.71886,-4.11353 0.79935,-3.20072 2.05927,-6.05767 0.45892,-2.86363 -1.94914,-1.03131 -6.85534,-0.79767 -1.02797,-1.71216 -0.1118,-4.23036 -5.48694,-3.43101 -6.97551,-7.7715 -2.28622,-7.31593 -0.23029,-4.22532 0.80101,-2.2879 z",GA:"m 672.29229,355.5518 0,2.18242 0.16166,2.1016 0.64664,3.39487 3.39488,7.92137 2.42491,9.86131 1.45494,6.14311 1.61661,4.84981 1.45495,6.95141 2.10159,6.30477 2.58657,3.39488 0.48498,3.39487 1.93993,0.8083 0.16166,2.1016 -1.77827,4.84981 -0.48498,3.23322 -0.16166,1.93993 1.61661,4.36484 0.32332,5.3348 -0.80831,2.42491 0.64665,0.80831 1.45495,0.8083 0.2047,3.21809 2.23301,3.34953 2.25044,2.16205 7.92138,0.16166 10.81975,-0.64664 21.51239,-1.29328 5.44572,-0.67437 4.57725,0.0277 0.16166,2.90989 2.58657,0.8083 0.32332,-4.36484 -1.61661,-4.5265 1.13163,-1.6166 5.81978,0.8083 4.97741,0.31778 -0.77542,-6.29879 2.26324,-10.02295 1.45495,-4.20318 -0.48499,-2.58656 3.33441,-6.2443 -0.5103,-1.35168 -1.91341,0.70458 -2.58656,-1.2933 -0.64665,-2.10159 -1.29328,-3.55653 -2.26326,-2.10159 -2.58656,-0.64664 -1.61661,-4.84982 -2.92501,-6.335 -4.20317,-1.93993 -2.1016,-1.93993 -1.29329,-2.58657 -2.10158,-1.93993 -2.26325,-1.29329 -2.26325,-2.90989 -3.07155,-2.26324 -4.52651,-1.77828 -0.48498,-1.45494 -2.42491,-2.90989 -0.48498,-1.45495 -3.39488,-4.97048 -3.51987,0.0992 -3.75491,-2.35614 -1.41828,-1.29328 -0.32332,-1.77827 0.8708,-1.93992 2.22664,-1.11014 -0.63394,-2.09722 -41.86975,4.98893 z",SC:"m 764.94328,408.16488 -1.77706,0.9695 -2.58657,-1.29329 -0.64664,-2.10159 -1.29328,-3.55653 -2.26326,-2.1016 -2.58657,-0.64664 -1.6166,-4.84981 -2.74824,-5.98145 -4.20317,-1.93994 -2.1016,-1.93992 -1.29328,-2.58657 -2.10159,-1.93994 -2.26325,-1.29328 -2.26325,-2.90989 -3.07155,-2.26324 -4.52651,-1.77828 -0.48498,-1.45494 -2.4249,-2.90989 -0.48499,-1.45496 -3.39488,-5.17313 -3.39487,0.16166 -4.04152,-2.42492 -1.29328,-1.29328 -0.32332,-1.77827 0.8083,-1.93992 2.26325,-0.96998 -0.51082,-2.28908 5.7681,-2.33657 9.1155,-4.589 7.77473,-0.80831 16.1144,-0.42248 2.63825,1.87743 1.6791,3.35822 4.30235,-0.60998 12.60953,-1.45496 2.90989,0.80831 12.60954,7.59806 10.10808,8.12168 -5.42117,5.45834 -2.58657,6.1431 -0.48498,6.30476 -1.6166,0.8083 -1.13163,2.74823 -2.4249,0.64664 -2.10159,3.55653 -2.74823,2.74823 -2.26324,3.39487 -1.61661,0.8083 -3.55653,3.39487 -2.90989,0.16166 0.96997,3.23321 -5.01148,5.49646 -2.10159,1.29328 z",KY:"m 725.9944,295.2707 -2.29332,2.40168 -3.57819,3.99404 -4.92455,5.46467 -1.21577,1.71577 -0.0625,2.10158 -4.37986,2.16409 -5.65812,3.39488 -7.23187,1.79885 -51.86789,4.89886 -15.75956,1.77826 -4.6212,0.51271 -3.86835,-0.0277 -0.22695,4.22028 -8.17941,0.14456 -6.95141,0.64664 -7.98748,-0.0602 1.20778,-1.32008 2.49954,-1.54085 0.22863,-3.20073 0.91449,-1.82898 -1.60682,-2.5389 0.80183,-1.90681 2.26326,-1.77826 2.10158,-0.64665 2.74823,1.29329 3.55654,1.29328 1.13163,-0.32332 0.16166,-2.26325 -1.29329,-2.42491 0.32332,-2.26325 1.93993,-1.45494 2.58658,-0.64665 1.6166,-0.64664 -0.8083,-1.77827 -0.64664,-1.93993 1.50662,-0.9958 c 0.003,-0.0371 1.25396,-3.52229 1.23829,-3.65781 l 3.05322,-1.47868 5.31979,-0.96996 4.49404,-0.48498 1.39244,1.62743 1.52827,0.8708 1.59077,-3.10821 3.18708,-1.28262 2.20509,1.48403 0.41056,0.99904 1.17352,-0.26401 -0.16167,-2.95293 3.13087,-1.74919 2.14809,-1.07348 1.52936,1.66081 3.31815,-0.0442 0.58733,-1.57125 -0.36751,-2.26324 2.60053,-3.9985 4.77655,-3.4379 0.70595,-4.83586 2.92502,-0.45591 3.79146,-1.64568 2.44332,-1.70824 -0.19833,-1.56493 -1.14245,-1.45494 0.56582,-2.99491 4.18485,-0.1175 2.29991,-0.7458 3.34739,1.4291 2.05411,4.36484 5.13229,0.0108 2.05101,2.20819 1.61545,-0.1477 2.60169,-1.27817 5.23706,0.57337 2.57492,0.21751 1.68758,-2.05624 2.61795,-1.42588 1.88178,-0.7071 0.64664,2.83663 2.04343,1.05834 2.64276,2.08249 0.11747,5.67324 0.8083,1.57241 2.58972,1.55628 0.77164,2.29451 4.15989,3.43694 1.80531,3.62324 2.45655,1.65852 z",AL:"m 631.30647,460.41572 -1.4906,-14.3215 -2.74824,-18.75264 0.16166,-14.06449 0.8083,-31.03885 -0.16166,-16.65106 0.16509,-6.41906 44.48448,-3.61945 -0.1478,2.18242 0.16166,2.1016 0.64665,3.39487 3.39488,7.92137 2.4249,9.86131 1.45495,6.14311 1.6166,4.84982 1.45496,6.95141 2.10158,6.30476 2.58657,3.39489 0.48498,3.39486 1.93994,0.80831 0.16166,2.10159 -1.77828,4.84982 -0.48498,3.23322 -0.16166,1.93992 1.61662,4.36485 0.32332,5.33479 -0.80832,2.42492 0.64666,0.8083 1.45494,0.8083 0.32814,2.88882 -5.59766,-0.35355 -6.78975,0.64665 -25.5424,2.90988 -10.41156,1.40677 -0.22138,2.8774 1.77827,1.77827 2.58657,1.93992 0.58086,7.93544 -5.54206,2.5729 -2.74822,-0.32332 2.74822,-1.93993 0,-0.96996 -3.07154,-5.98144 -2.26325,-0.64664 -1.45495,4.36483 -1.29328,2.74823 -0.64664,-0.16166 -2.74823,0 z",LA:"m 607.96706,459.16125 -3.28461,-3.16614 1.00991,-5.50023 -0.66135,-0.89308 -9.26167,1.00656 -25.02832,0.45892 -0.68419,-2.39468 0.91281,-8.4557 3.31588,-5.94585 5.03136,-8.69102 -0.57407,-2.39802 1.25659,-0.68085 0.45893,-1.95249 -2.28624,-2.05593 -0.11179,-1.94245 -1.83066,-4.34551 -0.14705,-6.3386 -55.47379,0.92397 0.0286,9.57357 0.68587,9.37353 0.68587,3.88658 2.51485,4.11521 0.91449,5.02971 4.34383,5.48693 0.22862,3.20072 0.68587,0.68587 -0.68587,8.45904 -2.97209,5.02969 1.60036,2.05761 -0.68588,2.51484 -0.68586,7.31593 -1.37174,3.20071 0.12246,3.61645 4.68648,-1.52015 12.11335,0.20701 10.34627,3.55653 6.46642,1.13163 3.71819,-1.45495 3.23321,1.13163 3.23321,0.96996 0.8083,-2.10159 -3.23321,-1.13162 -2.58657,0.48498 -2.74823,-1.6166 c 0,0 0.16167,-1.29329 0.80831,-1.45495 0.64664,-0.16166 3.07155,-0.96996 3.07155,-0.96996 l 1.77826,1.45494 1.77827,-0.96996 3.23321,0.64664 1.45494,2.42491 0.32332,2.26325 4.52649,0.32332 1.77827,1.77826 -0.8083,1.61661 -1.29329,0.8083 1.61661,1.6166 8.40634,3.55653 3.55653,-1.29328 0.96997,-2.42491 2.58656,-0.64664 1.77827,-1.45494 1.29328,0.96996 0.8083,2.90989 -2.26324,0.8083 0.64664,0.64664 3.39487,-1.29328 2.26325,-3.39487 0.8083,-0.48498 -2.10159,-0.32332 0.8083,-1.61661 -0.16166,-1.45494 2.10159,-0.48498 1.13162,-1.29329 0.64664,0.8083 c 0,0 -0.16166,3.07155 0.64665,3.07155 0.8083,0 4.20317,0.64665 4.20317,0.64665 l 4.04151,1.93992 0.96996,1.45495 2.90989,0 1.13163,0.96996 2.26324,-3.07155 0,-1.45495 -1.29328,0 -3.39487,-2.74822 -5.81978,-0.80831 -3.23321,-2.26324 1.13163,-2.74823 2.26324,0.32332 0.16166,-0.64664 -1.77826,-0.96996 0,-0.48499 3.23321,0 1.77826,-3.07154 -1.29328,-1.93993 -0.32332,-2.74823 -1.45495,0.16166 -1.93992,2.10159 -0.64664,2.58657 -3.07155,-0.64665 -0.96997,-1.77826 1.77827,-1.93993 1.90333,-3.4456 -1.0611,-2.41227 -1.16564,-3.98133 z",MS:"m 631.55882,459.34458 -0.25426,1.25615 -5.17314,0 -1.45494,-0.8083 -2.10159,-0.32332 -6.78974,1.93992 -1.77826,-0.8083 -2.58657,4.20317 -1.10254,0.77802 -1.12383,-2.48798 -1.14312,-3.88659 -3.42933,-3.20071 1.1431,-5.54455 -0.68586,-0.91449 -1.82898,0.22862 -7.91792,0.87337 -24.5465,0.37337 -0.76974,-2.22536 0.87337,-8.3768 3.11684,-5.67281 5.22707,-9.1449 -0.44574,-2.4326 1.23686,-0.65625 0.43587,-1.91947 -2.31748,-2.07898 -0.11512,-2.14148 -1.83572,-4.12109 -0.109,-5.96277 1.32753,-2.48097 -0.2233,-3.41575 -1.76949,-3.08259 1.52642,-1.48221 -1.57061,-2.49954 0.45725,-1.65221 1.5774,-6.52637 2.48595,-2.03635 -0.64167,-2.36697 3.65797,-5.30253 2.83186,-1.35642 -0.22097,-1.67516 -0.28813,-1.6811 2.87606,-5.56767 2.34572,-1.23151 0.15163,-0.89301 37.34348,-3.88117 0.18486,6.28333 0.16166,16.65106 -0.8083,31.03885 -0.16166,14.06449 2.74824,18.75264 1.48437,13.39529 z",IA:"m 569.19154,199.5843 0.26438,2.7862 2.22372,0.57726 0.95394,1.22533 0.50001,1.85536 3.79284,3.35865 0.68587,2.3915 -0.67434,3.42447 -1.58231,3.23198 -0.79934,2.74179 -2.17275,1.60204 -1.71551,0.5724 -5.57902,1.8602 -1.39146,3.84869 0.72864,1.37174 1.84051,1.68259 -0.28293,4.03629 -1.76315,1.53786 -0.77141,1.64314 0.12722,2.77632 -1.88631,0.45724 -1.62545,1.10491 -0.27879,1.35263 0.27879,2.11492 -1.55102,1.11607 -2.47053,-3.13328 -1.26257,-2.44987 -65.73582,2.51485 -0.91803,0.16544 -2.0524,-4.51596 -0.22862,-6.63007 -1.60036,-4.11521 -0.68586,-5.25831 -2.28623,-3.65797 -0.91448,-4.80107 -2.74348,-7.54455 -1.14311,-5.37264 -1.37174,-2.17191 -1.60036,-2.74346 1.95398,-4.84383 1.37174,-5.71557 -2.74347,-2.05761 -0.45725,-2.74347 0.9145,-2.51485 1.71467,0 82.654,-1.26948 0.83426,4.18312 2.25218,1.56097 0.25671,1.42309 -2.02954,3.38931 0.19041,3.20552 2.51486,3.7982 2.52679,1.29362 3.07928,0.50305 0.65834,0.83236 z",MN:"m 475.23781,128.82439 -0.45725,-8.45904 -1.82898,-7.31592 -1.82898,-13.488725 -0.45725,-9.830778 -1.82898,-3.429343 -1.60036,-5.029695 0,-10.28802 0.68586,-3.886587 -1.82093,-5.451667 30.13242,0.03527 0.32332,-8.244684 0.64664,-0.161661 2.26325,0.484982 1.93992,0.808302 0.8083,5.496456 1.45495,6.143098 1.6166,1.616605 4.84982,0 0.32332,1.454944 6.30476,0.323321 0,2.101586 4.84981,0 0.32332,-1.293284 1.13162,-1.131623 2.26325,-0.646642 1.29328,0.969963 2.90989,0 3.87985,2.586567 5.3348,2.424907 2.42491,0.484982 0.48498,-0.969963 1.45494,-0.484982 0.48498,2.909889 2.58657,1.293284 0.48498,-0.484982 1.29329,0.161661 0,2.101586 2.58656,0.969963 3.07155,0 1.61661,-0.808303 3.23321,-3.233209 2.58656,-0.484981 0.80831,1.778265 0.48498,1.293283 0.96996,0 0.96996,-0.808302 8.89133,-0.323321 1.77826,3.071549 0.64665,0 0.71361,-1.084279 4.43991,-0.370665 -0.6121,2.279459 -3.93872,1.837125 -9.24578,4.061128 -4.77474,2.006897 -3.07155,2.586568 -2.42491,3.55653 -2.26324,3.879851 -1.77827,0.808304 -4.52649,5.01147 -1.29329,0.16166 -4.32778,2.75712 -2.46288,3.20511 -0.22862,3.19139 0.0944,8.04335 -1.37604,1.68875 -5.08154,3.75997 -2.23008,5.98241 2.87175,2.23371 0.67989,3.22698 -1.85524,3.23893 0.17079,3.74802 0.36886,6.7304 3.02825,3.00199 3.329,0 1.89111,3.1326 3.37917,0.50327 3.85916,5.67147 7.08729,4.11675 2.14315,2.87512 0.67115,6.43951 -81.2115,1.14479 -0.33792,-35.67685 -0.45724,-2.97209 -4.11521,-3.42934 -1.14312,-1.82898 0,-1.60037 2.0576,-1.60035 1.37174,-1.37174 0.22863,-3.20072 z",OK:"m 380.34313,320.82146 -16.68418,-1.27331 -0.88022,10.95243 20.46538,1.15688 32.05555,1.3036 -2.3346,24.41865 -0.45725,17.83257 0.22863,1.60036 4.34383,3.65796 2.0576,1.14311 0.68587,-0.22862 0.68587,-2.05761 1.37174,1.82899 2.0576,0 0,-1.37174 2.74347,1.37174 -0.45724,3.88658 4.11521,0.22862 2.51484,1.14312 4.11521,0.68587 2.51485,1.82898 2.28623,-2.0576 3.42934,0.68586 2.51485,3.42934 0.91448,0 0,2.28623 2.28623,0.68586 2.28622,-2.28622 1.82899,0.68586 2.51484,0 0.9145,2.51486 6.30107,2.07897 1.37174,-0.68586 1.82898,-4.11521 1.14311,0 1.14312,2.0576 4.11521,0.68587 3.65795,1.37174 2.9721,0.91449 1.82899,-0.91449 0.68586,-2.51485 4.34383,0 2.0576,0.91449 2.74347,-2.05761 1.14312,0 0.68587,1.60036 4.1152,0 1.60036,-2.0576 1.82899,0.45724 2.0576,2.51486 3.20071,1.82897 3.20073,0.9145 1.94108,1.11893 -0.3891,-37.21701 -1.37175,-10.97398 -0.16046,-8.87234 -1.43989,-6.53773 -0.7782,-7.17964 -0.0681,-3.81622 -12.13684,0.31874 -46.41004,-0.45724 -45.03891,-2.05762 -24.2912,-1.37173 z",TX:"m 361.46423,330.57358 22.69079,1.08594 31.09269,1.14312 -2.33461,23.4558 -0.29676,18.15352 0.0681,2.08179 4.34383,3.81843 1.98665,1.44716 1.18421,-0.55969 0.37337,-1.81772 1.14032,1.80362 2.11164,0.0439 -0.003,-1.44709 1.66994,0.96727 1.1387,0.40887 -0.35927,3.96765 4.08819,0.0935 2.92532,1.19717 3.95474,0.52538 2.38138,2.07898 2.1241,-2.07617 3.72494,0.61491 2.22091,3.22494 1.07496,0.32096 -0.16047,1.96527 2.21361,0.79229 2.33015,-2.0548 2.13302,0.61492 2.22938,0.0355 0.93307,2.43544 6.32809,2.11445 1.59305,-0.76693 1.48947,-4.17771 0.34072,0 0.90649,0.0816 1.22905,2.06863 3.92988,0.66528 3.337,1.12288 3.42563,1.19597 1.84058,-0.975 0.71376,-2.51484 4.45322,0.0442 1.80874,0.93078 2.79925,-2.10651 1.10364,0.0442 0.85104,1.60507 4.05472,0 1.51887,-2.02862 1.86737,0.40724 1.94603,2.40328 3.52057,2.04415 2.85876,0.80981 1.51362,0.79984 2.4467,1.99732 3.04304,-1.32779 2.69109,1.13888 0.56381,6.10594 -0.0398,9.70217 0.68586,9.53401 0.70218,3.60511 2.67533,4.41986 0.89818,4.95073 4.21595,5.53802 0.19602,3.14494 0.74637,0.78584 -0.73007,8.38007 -2.8721,5.0065 1.53297,2.15287 -0.63008,2.33808 -0.66957,7.40432 -1.50432,3.338 0.29488,3.50235 -5.66488,1.58518 -9.86129,4.5265 -0.96996,1.93992 -2.58657,1.93993 -2.10158,1.45494 -1.29329,0.8083 -5.65811,5.3348 -2.74823,2.10159 -5.3348,3.2332 -5.65811,2.42491 -6.30476,3.39487 -1.77826,1.45495 -5.81978,3.55653 -3.39487,0.64664 -3.87985,5.49645 -4.04151,0.32333 -0.96997,1.93992 2.26325,1.93993 -1.45495,5.49645 -1.29328,4.5265 -1.13162,3.87985 -0.8083,4.52649 0.8083,2.42491 1.77826,6.9514 0.96997,6.14309 1.77826,2.74823 -0.96996,1.45495 -3.07155,1.93992 -5.65812,-3.87985 -5.49645,-1.13162 -1.29329,0.48498 -3.23321,-0.64664 -4.20317,-3.07155 -5.17313,-1.13162 -7.59805,-3.39487 -2.10158,-3.87986 -1.29329,-6.46641 -3.2332,-1.93993 -0.64665,-2.26325 0.64665,-0.64664 0.32332,-3.39487 -1.29329,-0.64664 -0.64664,-0.96996 1.29328,-4.36484 -1.6166,-2.26324 -3.23321,-1.29329 -3.39487,-4.36483 -3.55653,-6.62808 -4.20317,-2.58657 0.16166,-1.93992 -5.3348,-12.2862 -0.8083,-4.20317 -1.77826,-1.93992 -0.16166,-1.45495 -5.98144,-5.33479 -2.58657,-3.07155 0,-1.13163 -2.58657,-2.10158 -6.78974,-1.13163 -7.43638,-0.64664 -3.07155,-2.26324 -4.52649,1.77826 -3.55653,1.45495 -2.26325,3.2332 -0.96996,3.7182 -4.36483,6.14309 -2.42491,2.42491 -2.58657,-0.96996 -1.77826,-1.13163 -1.93993,-0.64664 -3.87985,-2.26324 0,-0.64665 -1.77826,-1.93992 -5.17314,-2.10159 -7.43638,-7.7597 -2.26325,-4.68815 0,-8.08303 -3.23321,-6.46642 -0.48498,-2.74822 -1.6166,-0.96997 -1.13163,-2.10158 -5.01147,-2.10159 -1.29328,-1.6166 -7.11307,-7.92137 -1.29328,-3.23321 -4.68816,-2.26325 -1.45495,-4.36487 -2.58659,-2.90987 -1.93991,-0.48496 -0.64923,-4.67764 8.00187,0.68589 29.03499,2.74345 29.03508,1.60036 2.23353,-19.46182 3.88655,-55.55502 1.60039,-18.74732 1.37174,0.0286 m 99.02935,229.66274 -0.56581,-7.11308 -2.74824,-7.19392 -0.56582,-7.03225 1.53578,-8.24471 3.31406,-6.87059 3.4757,-5.41565 3.1524,-3.55655 0.64664,0.2425 -4.769,6.6281 -4.36484,6.54728 -2.02077,6.62809 -0.32332,5.17316 0.88913,6.14312 2.58658,7.19392 0.48498,5.17314 0.16166,1.45496 -0.88913,0.24248 z",NM:"m 288.15255,424.01315 -0.77541,-4.7481 8.64378,0.5254 30.17176,2.9459 27.26816,1.68989 2.21527,-18.70747 3.85736,-55.87597 1.73768,-19.38923 1.5717,0.12856 0.8254,-11.16339 -104.00445,-10.63595 -17.49735,120.43481 15.46067,1.98915 1.29328,-10.02295 29.23215,2.82935 z",KS:"m 507.88059,324.38028 -12.61826,0.20443 -46.08909,-0.45723 -44.55748,-2.05763 -24.62974,-1.25741 3.89379,-64.59497 22.08346,0.67517 40.28913,0.8414 44.30124,0.98758 5.09563,0 2.1844,2.1624 2.01766,-0.0214 1.6403,1.01247 -0.0625,3.00923 -1.82898,1.72537 -0.33225,2.23217 1.84308,3.40233 2.95236,3.19506 2.32735,1.61446 1.30077,11.24082 0.18913,36.08573 z",NE:"m 486.09787,240.70058 3.23061,7.01991 -0.12863,2.30252 3.45922,5.49388 2.71929,3.15234 -5.04948,0 -43.48256,-0.93868 -40.78686,-0.8903 -22.25222,-0.78387 1.07277,-21.32785 -32.31824,-2.92025 4.34383,-44.00986 15.54633,1.02881 20.11879,1.1431 17.83257,1.14312 23.77676,1.14311 10.74526,-0.45724 2.0576,2.28622 4.80108,2.9721 1.14311,0.91449 4.34383,-1.37174 3.88659,-0.45724 2.74347,-0.22863 1.82898,1.37174 4.05743,1.60036 2.97209,1.60036 0.45725,1.60036 0.91449,2.0576 1.82898,0 0.79798,0.0462 0.89423,4.68182 2.92026,8.46792 0.57253,3.75671 2.52349,3.77425 0.56959,5.11414 1.60724,4.24037 0.25234,6.47426 z",SD:"m 476.44687,204.02465 -0.0474,-0.58087 -2.89571,-4.84544 1.86023,-4.71211 1.49273,-5.88654 -2.78187,-2.07971 -0.38516,-2.74346 0.7924,-2.55435 3.18851,0.0152 -0.12308,-5.00614 -0.3333,-30.17425 -0.61773,-3.76758 -4.07232,-3.33093 -0.98263,-1.67696 -0.0625,-1.60882 2.02212,-1.5294 1.53222,-1.66567 0.24496,-2.65679 -58.25709,-1.60035 -54.79921,-3.44909 -5.32527,63.69119 14.59027,0.9038 19.94985,1.20561 17.74305,0.92859 23.77676,1.30358 11.9827,-0.42464 1.9663,2.24518 5.19464,3.25335 0.76389,0.72275 4.54144,-1.45281 6.54054,-0.61491 1.6753,1.33627 4.20451,1.59613 2.94506,1.63583 0.39898,1.48381 1.03949,2.24088 2.23737,-0.20136 z",ND:"m 475.30528,128.91846 -0.61491,-8.43367 -1.67695,-6.81592 -1.89149,-13.02422 -0.45724,-10.987026 -1.73946,-3.077142 -1.75661,-5.194396 0.0312,-10.44427 0.62336,-3.824087 -1.8341,-5.467761 -28.64225,-0.564027 -18.59095,-0.646642 -26.51232,-1.293284 -22.94634,-2.133869 -6.99324,67.176834 54.93224,3.34365 58.06901,1.38583 z",WY:"m 360.37668,143.27587 -106.7426,-13.45706 -14.08348,88.45803 113.26461,13.58549 7.56147,-88.58646 z",MT:"M 369.20952,56.969133 338.5352,54.1613 l -29.26055,-3.55653 -29.26054,-4.041512 -32.3321,-5.334795 -18.42929,-3.39487 -32.72365,-6.932736 -4.47902,21.347532 3.42934,7.544541 -1.37174,4.572452 1.82898,4.572451 3.20073,1.371739 4.62082,10.769453 2.6951,3.176523 0.45724,1.143118 3.42934,1.143118 0.45725,2.057593 -7.0873,17.603953 0,2.51485 2.51485,3.20071 0.91448,0 4.80107,-2.97209 0.68588,-1.14312 1.60036,0.68587 -0.22863,5.25832 2.74348,12.57425 2.97209,2.51484 0.91448,0.68587 1.82899,2.28622 -0.45725,3.42935 0.68587,3.42933 1.14312,0.9145 2.28622,-2.28623 2.74347,0 3.20072,1.60036 2.51485,-0.91449 4.11521,0 3.65795,1.60036 2.74348,-0.45725 0.45724,-2.9721 2.97209,-0.68586 1.37174,1.37174 0.45725,3.20071 1.42587,0.83464 1.88695,-11.03474 106.74567,13.42892 8.80221,-86.299157 z",CO:"m 380.03242,320.96457 4.90324,-86.32496 -113.38856,-12.64396 -12.21382,87.93916 120.69914,11.02976 z",ID:"m 148.47881,176.48395 8.77087,-35.22072 1.37174,-4.22952 2.51484,-5.94418 -1.25742,-2.28623 -2.51486,0.11431 -0.80017,-1.0288 0.45725,-1.14311 0.34292,-3.08641 4.45815,-5.48695 1.82898,-0.45724 1.14311,-1.14311 0.57156,-3.20072 0.91448,-0.68586 3.88659,-5.82988 3.88659,-4.34383 0.22862,-3.772268 -3.42934,-2.629163 -1.53555,-4.400983 13.62491,-63.341691 13.51759,2.528111 -4.40808,21.383013 3.56035,7.485352 -1.58111,4.66084 1.96985,4.641233 3.13822,1.255191 3.83534,9.556588 3.51269,4.437154 0.50725,1.143118 3.34095,1.143118 0.36885,2.097075 -6.97101,17.376092 -0.16518,2.56593 2.63112,3.3217 0.90508,-0.0489 4.91129,-3.0256 0.67742,-1.09497 1.56231,0.65886 -0.27844,5.35372 2.73925,12.58271 3.91783,3.17791 1.68118,2.16545 -0.71661,4.08386 1.06622,2.80741 1.06163,1.09128 2.47929,-2.35142 2.84816,0.0489 2.91925,1.3352 2.78002,-0.68193 3.79426,-0.16048 3.9789,1.60036 2.74348,-0.29676 0.49674,-3.03731 2.93259,-0.76483 1.26017,1.51591 0.44093,2.94496 1.42434,1.21321 -8.386,53.60866 c 0,0 -87.96599,-16.70061 -94.95939,-18.20435 z",UT:"m 259.49836,310.10509 -83.74903,-11.87225 20.58761,-112.54135 46.78031,8.74514 -1.4848,10.63042 -2.31162,13.17266 7.80769,0.92837 16.40652,1.80479 8.21097,0.85564 -12.24765,88.27658 z",AZ:"m 144.9112,382.62909 -2.62701,2.15833 -0.32332,1.45495 0.48498,0.96996 18.91427,10.66959 12.12454,7.59804 14.7111,8.56801 16.81269,10.02295 12.2862,2.42491 24.95116,2.70491 17.25561,-119.12707 -83.73563,-11.91725 -3.09239,16.41246 -1.60629,0.0153 -1.71467,2.62916 -2.51485,-0.11432 -1.25742,-2.74347 -2.74347,-0.34293 -0.9145,-1.14311 -0.91448,0 -0.9145,0.57156 -1.94329,1.0288 -0.1143,6.97298 -0.22864,1.71467 -0.57154,12.57424 -1.48605,2.17191 -0.57156,3.31503 2.74347,4.91539 1.25742,5.82988 0.80019,1.0288 1.0288,0.57156 -0.11432,2.28622 -1.60035,1.37173 -3.42934,1.71467 -1.94329,1.9433 -1.48605,3.65795 -0.57156,4.91539 -2.85778,2.74347 -2.0576,0.68587 0.13569,0.82988 -0.45725,1.71467 0.45725,0.80018 3.65796,0.57154 -0.57156,2.74348 -1.48605,2.17191 -3.77227,0.91449 z",NV:"m 196.39273,185.57552 -23.63891,128.82275 -1.83224,0.34915 -1.57276,2.40618 -2.37294,0.0107 -1.47195,-2.74347 -2.61847,-0.37842 -0.77092,-1.10763 -1.03783,-0.054 -2.77837,1.64429 -0.31026,6.78548 -0.36209,5.77717 -0.34857,8.59281 -1.4471,2.08916 -2.43892,-1.07403 -69.079886,-104.20119 18.989116,-67.58491 93.0921,20.66601 z",OR:"m 148.72184,175.53153 8.8497,-34.80151 1.05079,-4.22952 2.35437,-5.62323 -0.61551,-1.16288 -2.51486,-0.0462 -1.2816,-1.6707 0.45724,-1.46407 0.50341,-3.24688 4.45815,-5.48695 1.82898,-1.09915 1.14311,-1.14311 1.48604,-3.56563 4.04706,-5.6694 3.56563,-3.8624 0.22862,-3.451314 -3.26886,-2.468682 -1.78341,-4.642625 -12.66377,-3.61197 -15.08909,-3.54365 -15.43202,0.114306 -0.45724,-1.371729 -5.48695,2.057604 -4.45814,-0.571559 -2.40054,-1.600361 -1.25742,0.685875 -4.68676,-0.228632 -1.71467,-1.371729 -5.25832,-2.057604 -0.800182,0.114316 -4.34383,-1.486056 -1.943291,1.828983 -6.172812,-0.342927 -5.944183,-4.115209 0.685865,-0.80018 0.228621,-7.773173 -2.286225,-3.886577 -4.115208,-0.571559 -0.685865,-2.514847 -2.353932,-0.466565 -5.798525,2.058784 -2.263247,6.466418 -3.233209,10.022949 -3.23321,6.466419 -5.011474,14.064461 -6.466419,13.579473 -8.083023,12.60952 -1.939926,2.90989 -0.808302,8.568 0.386095,12.08023 112.578342,26.32133 z",WA:"m 102.07324,7.6117734 4.36483,1.4549443 9.69963,2.7482283 8.568,1.939925 20.0459,5.658117 22.95579,5.658116 15.22312,3.207173 -13.63236,63.585811 -12.445,-3.525318 -15.50801,-3.570679 -15.22929,0.03324 -0.45557,-1.344699 -5.59922,2.179293 -4.59543,-0.736744 -2.14697,-1.584054 -1.31321,0.657976 -4.73566,-0.140243 -1.69836,-1.349633 -5.26304,-2.112303 -0.734971,0.146918 -4.389122,-1.524448 -1.893298,1.817379 -6.265906,-0.298733 -5.925698,-4.125702 0.778957,-0.932763 0.121223,-7.677452 -2.281999,-3.839701 -4.115208,-0.60704 -0.67741,-2.510616 -2.275512,-0.456932 -3.554948,1.230576 -2.263247,-3.219247 0.323321,-2.909889 2.748228,-0.323321 1.616605,-4.041511 -2.586568,-1.131624 0.161661,-3.718191 4.364833,-0.646641 -2.748228,-2.748228 -1.454945,-7.113061 0.646642,-2.909888 0,-7.921363 -1.778265,-3.23321 2.263247,-9.376307 2.101586,0.484981 2.424907,2.909889 2.748228,2.586567 3.233209,1.939926 4.526493,2.101586 3.071551,0.646642 2.909889,1.454944 3.394873,0.969963 2.263246,-0.16166 0,-2.424908 1.293284,-1.131623 2.101582,-1.293284 0.32333,1.131624 0.32332,1.778265 -2.263251,0.484981 -0.323321,2.101586 1.778262,1.454945 1.13163,2.424907 0.64664,1.939925 1.45494,-0.16166 0.16166,-1.293284 -0.96996,-1.293284 -0.48498,-3.233209 0.8083,-1.778265 -0.64664,-1.454944 0,-2.263247 1.77827,-3.55653 -1.13163,-2.586568 -2.42491,-4.8498139 0.32333,-0.8083023 1.13162,-0.8083024 z m -9.456692,5.9789646 2.020764,-0.16166 0.484982,1.374119 1.535779,-1.616615 2.344082,0 0.808303,1.535779 -1.53578,1.69744 0.646652,0.808313 -0.727477,2.020761 -1.374119,0.404146 c 0,0 -0.889138,0.08084 -0.889138,-0.242485 0,-0.323321 1.454955,-2.586578 1.454955,-2.586578 l -1.69744,-0.565817 -0.323321,1.454954 -0.727478,0.646642 -1.535782,-2.263257 -0.484982,-2.505742 z",CA:"m 144.69443,382.19813 3.94008,-0.48862 1.48604,-2.01144 0.54454,-2.94109 -3.55152,-0.59012 -0.51417,-0.66822 0.4775,-2.03231 -0.15928,-0.58967 1.92257,-0.61959 3.04278,-2.83268 0.58156,-4.9951 1.3799,-3.40211 1.94329,-2.16626 3.51887,-1.58967 1.65439,-1.60483 0.0687,-2.10884 -0.99333,-0.58001 -1.02315,-1.07273 -1.15522,-5.84845 -2.6852,-4.83009 0.56581,-3.505 -2.41958,-1.02931 -69.061322,-104.1784 18.902112,-67.60149 -67.079863,-15.69796 -1.506896,4.73324 -0.161661,7.43638 -5.173135,11.80121 -3.071548,2.58657 -0.323321,1.13162 -1.778266,0.80831 -1.454944,4.20317 -0.808302,3.23321 2.748228,4.20317 1.616605,4.20317 1.131623,3.55653 -0.323321,6.46642 -1.778265,3.07155 -0.646642,5.81978 -0.969963,3.71819 1.778265,3.87985 2.748228,4.52649 2.263247,4.84982 1.293283,4.04151 -0.32332,3.23321 -0.323321,0.48498 0,2.10158 5.658116,6.30476 -0.484981,2.42491 -0.646642,2.26325 -0.646642,1.93992 0.16166,8.24469 2.101586,3.71819 1.939926,2.58656 2.748228,0.48499 0.969963,2.74822 -1.131623,3.55653 -2.101587,1.61661 -1.131623,0 -0.808302,3.87985 0.484981,2.90989 3.23321,4.36483 1.616604,5.3348 1.454944,4.68815 1.293284,3.07155 3.39487,5.81978 1.454944,2.58656 0.484982,2.90989 1.616604,0.96996 0,2.42491 -0.808302,1.93993 -1.778265,7.11306 -0.484982,1.93992 2.424908,2.74823 4.203172,0.48498 4.526493,1.77827 3.879851,2.10158 2.909889,0 2.909888,3.07155 2.586567,4.84982 1.131624,2.26324 3.879851,2.10159 4.849814,0.8083 1.454944,2.10159 0.646642,3.23321 -1.454944,0.64664 0.323321,0.96996 3.233211,0.8083 2.748228,0.16167 3.159889,-1.68685 3.879854,4.20317 0.808302,2.26325 2.586572,4.20317 0.32332,3.23321 0,9.37631 0.48498,1.77826 10.02295,1.45495 19.72257,2.74822 13.84504,1.3497 z m -88.135212,-43.71668 1.293288,1.53578 -0.16166,1.29329 -3.233221,-0.0808 -0.565814,-1.21246 -0.646644,-1.45495 3.314051,-0.0808 z m 1.939932,0 1.212458,-0.64664 3.556543,2.10159 3.07156,1.21245 -0.889136,0.64666 -4.526509,-0.2425 -1.61661,-1.61661 -0.808306,-1.45495 z m 20.692614,19.80348 1.778265,2.34408 0.808313,0.96997 1.535779,0.56581 0.565807,-1.45495 -0.969963,-1.77827 -2.667403,-2.02076 -1.050798,0.16166 0,1.21246 z m -1.454955,8.64886 1.778276,3.15239 1.212458,1.93994 -1.454954,0.24248 -1.293284,-1.21245 c 0,0 -0.727477,-1.45495 -0.727477,-1.85911 0,-0.40414 0,-2.18242 0,-2.18242 l 0.484981,-0.0808 z"}}}}),e}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";function t(t){return t&&"[object Function]"==={}.toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function n(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function i(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var r=e(t);return/(auto|scroll|overlay)/.test(r.overflow+r.overflowY+r.overflowX)?t:i(n(t))}function r(t){return t&&t.referenceNode?t.referenceNode:t}function o(t){return 11===t?X:10===t?G:X||G}function a(t){if(!t)return document.documentElement;for(var n=o(10)?document.body:null,i=t.offsetParent||null;i===n&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===e(i,"position")?a(i):i:t?t.ownerDocument.documentElement:document.documentElement}function s(t){return null===t.parentNode?t:s(t.parentNode)}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var u=o.commonAncestorContainer;if(t!==u&&e!==u||i.contains(r))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||a(t.firstElementChild)===t)}(u)?u:a(u);var c=s(t);return c.host?l(c.host,e):l(t,s(e).host)}function u(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||r;return o[n]}return t[n]}function c(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=u(e,"top"),r=u(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}function d(t,e){var n="x"===e?"Left":"Top",i="Left"==n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function f(t,e,n,i){return U(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],o(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function h(t){var e=t.body,n=t.documentElement,i=o(10)&&getComputedStyle(n);return{height:f("Height",e,n,i),width:f("Width",e,n,i)}}function p(t){return tt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function g(t){var n={};try{if(o(10)){n=t.getBoundingClientRect();var i=u(t,"top"),r=u(t,"left");n.top+=i,n.left+=r,n.bottom+=i,n.right+=r}else n=t.getBoundingClientRect()}catch(e){}var a={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},s="HTML"===t.nodeName?h(t.ownerDocument):{},l=t.offsetWidth-(s.width||t.clientWidth||a.width),c=t.offsetHeight-(s.height||t.clientHeight||a.height);if(l||c){var f=e(t);l-=d(f,"x"),c-=d(f,"y"),a.width-=l,a.height-=c}return p(a)}function m(t,n){var r=2<arguments.length&&void 0!==arguments[2]&&arguments[2],a=o(10),s="HTML"===n.nodeName,l=g(t),u=g(n),d=i(t),f=e(n),h=parseFloat(f.borderTopWidth),m=parseFloat(f.borderLeftWidth);r&&s&&(u.top=U(u.top,0),u.left=U(u.left,0));var v=p({top:l.top-u.top-h,left:l.left-u.left-m,width:l.width,height:l.height});if(v.marginTop=0,v.marginLeft=0,!a&&s){var y=parseFloat(f.marginTop),b=parseFloat(f.marginLeft);v.top-=h-y,v.bottom-=h-y,v.left-=m-b,v.right-=m-b,v.marginTop=y,v.marginLeft=b}return(a&&!r?n.contains(d):n===d&&"BODY"!==d.nodeName)&&(v=c(v,n)),v}function v(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=m(t,n),r=U(n.clientWidth,window.innerWidth||0),o=U(n.clientHeight,window.innerHeight||0),a=e?0:u(n),s=e?0:u(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o};return p(l)}function y(t){var i=t.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===e(t,"position"))return!0;var r=n(t);return!!r&&y(r)}function b(t){if(!t||!t.parentElement||o())return document.documentElement;for(var n=t.parentElement;n&&"none"===e(n,"transform");)n=n.parentElement;return n||document.documentElement}function x(t,e,o,a){var s=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},c=s?b(t):l(t,r(e));if("viewport"===a)u=v(c,s);else{var d;"scrollParent"===a?"BODY"===(d=i(n(e))).nodeName&&(d=t.ownerDocument.documentElement):d="window"===a?t.ownerDocument.documentElement:a;var f=m(d,c,s);if("HTML"!==d.nodeName||y(c))u=f;else{var p=h(t.ownerDocument),g=p.height,x=p.width;u.top+=f.top-f.marginTop,u.bottom=g+f.top,u.left+=f.left-f.marginLeft,u.right=x+f.left}}var w="number"==typeof(o=o||0);return u.left+=w?o:o.left||0,u.top+=w?o:o.top||0,u.right-=w?o:o.right||0,u.bottom-=w?o:o.bottom||0,u}function w(t){return t.width*t.height}function _(t,e,n,i,r){var o=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=x(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return tt({key:t},s[t],{area:w(s[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){return t.width>=n.clientWidth&&t.height>=n.clientHeight}),c=0<u.length?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function C(t,e,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=i?b(e):l(e,r(n));return m(n,o,i)}function k(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function T(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function S(t,e,n){n=n.split("-")[0];var i=k(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[u]:e[T(s)],r}function E(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function A(e,n,i){return(void 0===i?e:e.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=E(t,function(t){return t[e]===n});return t.indexOf(i)}(e,"name",i))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=e.function||e.fn;e.enabled&&t(i)&&(n.offsets.popper=p(n.offsets.popper),n.offsets.reference=p(n.offsets.reference),n=i(n,e))}),n}function L(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=C(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=_(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=S(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=A(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function M(t,e){return t.some(function(t){return t.enabled&&t.name===e})}function D(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function O(){return this.state.isDestroyed=!0,M(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[D("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function I(t){var e=t.ownerDocument;return e?e.defaultView:window}function P(t,e,n,r){var o="BODY"===t.nodeName,a=o?t.ownerDocument.defaultView:t;a.addEventListener(e,n,{passive:!0}),o||P(i(a.parentNode),e,n,r),r.push(a)}function N(t,e,n,r){n.updateBound=r,I(t).addEventListener("resize",n.updateBound,{passive:!0});var o=i(t);return P(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function z(){this.state.eventsEnabled||(this.state=N(this.reference,0,this.state,this.scheduleUpdate))}function F(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return I(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function B(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function j(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&B(e[n])&&(i="px"),t.style[n]=e[n]+i})}function R(t,e,n){var i=E(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`";console.warn("`"+n+"` modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function H(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=it.indexOf(t),i=it.slice(n+1).concat(it.slice(0,n));return e?i.reverse():i}var W=Math.min,q=Math.floor,V=Math.round,U=Math.max,Y="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,$=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(Y&&0<=navigator.userAgent.indexOf(t[e]))return 1;return 0}(),Q=Y&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},$))}},X=Y&&!(!window.MSInputMethodContext||!document.documentMode),G=Y&&/MSIE 10/.test(navigator.userAgent),K=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Z=function(){function t(t,e){for(var n,i=0;i<e.length;i++)(n=e[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),J=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},tt=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},et=Y&&/Firefox/i.test(navigator.userAgent),nt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],it=nt.slice(3),rt=function(){function e(n,i){var r=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};K(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Q(this.update.bind(this)),this.options=tt({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(tt({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=tt({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return tt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(e){e.enabled&&t(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Z(e,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return O.call(this)}},{key:"enableEventListeners",value:function(){return z.call(this)}},{key:"disableEventListeners",value:function(){return F.call(this)}}]),e}();return rt.Utils=("undefined"==typeof window?global:window).PopperUtils,rt.placements=nt,rt.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:J({},l,o[l]),end:J({},l,o[l]+o[u]-a[u])};t.offsets.popper=tt({},a,c[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,i=e.offset,r=t.offsets,o=r.popper,a=r.reference,s=t.placement.split("-")[0];return n=B(+i)?[+i,0]:function(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(E(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1===s?[a]:[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))];return(u=u.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return p(s)[e]/100*o}return"vh"===a||"vw"===a?("vh"===a?U(document.documentElement.clientHeight,window.innerHeight||0):U(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){B(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}(i,o,a,s),"left"===s?(o.top+=n[0],o.left-=n[1]):"right"===s?(o.top+=n[0],o.left+=n[1]):"top"===s?(o.left+=n[0],o.top-=n[1]):"bottom"===s&&(o.left+=n[0],o.top+=n[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||a(t.instance.popper);t.instance.reference===n&&(n=a(n));var i=D("transform"),r=t.instance.popper.style,o=r.top,s=r.left,l=r[i];r.top="",r.left="",r[i]="";var u=x(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=s,r[i]=l,e.boundaries=u;var c=t.offsets.popper,d={primary:function(t){var n=c[t];return c[t]<u[t]&&!e.escapeWithReference&&(n=U(c[t],u[t])),J({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=c[n];return c[t]>u[t]&&!e.escapeWithReference&&(i=W(c[n],u[t]-("right"===t?c.width:c.height))),J({},n,i)}};return e.priority.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";c=tt({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=q,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,n){var i;if(!R(t.instance.modifiers,"arrow","keepTogether"))return t;var r=n.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],a=t.offsets,s=a.popper,l=a.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),h=u?"left":"top",g=u?"bottom":"right",m=k(r)[c];l[g]-m<s[f]&&(t.offsets.popper[f]-=s[f]-(l[g]-m)),l[f]+m>s[g]&&(t.offsets.popper[f]+=l[f]+m-s[g]),t.offsets.popper=p(t.offsets.popper);var v=l[f]+l[c]/2-m/2,y=e(t.instance.popper),b=parseFloat(y["margin"+d]),x=parseFloat(y["border"+d+"Width"]),w=v-t.offsets.popper[f]-b-x;return w=U(W(s[c]-m,w),0),t.arrowElement=r,t.offsets.arrow=(J(i={},f,V(w)),J(i,h,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(M(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=x(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=T(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case"flip":a=[i,r];break;case"clockwise":a=H(i);break;case"counterclockwise":a=H(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=T(i);var u=t.offsets.popper,c=t.offsets.reference,d=q,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)<d(c.right)||"top"===i&&d(u.bottom)>d(c.top)||"bottom"===i&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),g=d(u.top)<d(n.top),m=d(u.bottom)>d(n.bottom),v="left"===i&&h||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,y=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(y&&"start"===o&&h||y&&"end"===o&&p||!y&&"start"===o&&g||!y&&"end"===o&&m)||!!e.flipVariationsByContent&&(y&&"start"===o&&p||y&&"end"===o&&h||!y&&"start"===o&&m||!y&&"end"===o&&g);(f||v||b)&&(t.flipped=!0,(f||v)&&(i=a[l+1]),b&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=tt({},t.offsets.popper,S(t.instance.popper,t.offsets.reference,t.placement)),t=A(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=T(e),t.offsets.popper=p(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!R(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=E(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=E(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,l,u=void 0===o?e.gpuAcceleration:o,c=a(t.instance.popper),d=g(c),f={position:r.position},h=function(t,e){var n=t.offsets,i=n.popper,r=V,o=function(t){return t},a=r(n.reference.width),s=r(i.width),l=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),c=e?l||u||a%2==s%2?r:q:o,d=e?r:o;return{left:c(1==a%2&&1==s%2&&!u&&e?i.left-1:i.left),top:d(i.top),bottom:d(i.bottom),right:c(i.right)}}(t,2>window.devicePixelRatio||!et),p="bottom"===n?"top":"bottom",m="right"===i?"left":"right",v=D("transform");if(l="bottom"==p?"HTML"===c.nodeName?-c.clientHeight+h.bottom:-d.height+h.bottom:h.top,s="right"==m?"HTML"===c.nodeName?-c.clientWidth+h.right:-d.width+h.right:h.left,u&&v)f[v]="translate3d("+s+"px, "+l+"px, 0)",f[p]=0,f[m]=0,f.willChange="transform";else{var y="right"==m?-1:1;f[p]=l*("bottom"==p?-1:1),f[m]=s*y,f.willChange=p+", "+m}return t.attributes=tt({},{"x-placement":t.placement},t.attributes),t.styles=tt({},f,t.styles),t.arrowStyles=tt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return j(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach(function(n){!1===e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&j(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,r){var o=C(r,e,t,n.positionFixed),a=_(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),j(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},rt}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(function(){try{return require("moment")}catch(t){}}()):"function"==typeof define&&define.amd?define(["require"],function(t){return e(function(){try{return t("moment")}catch(t){}}())}):(t=t||self).Chart=e(t.moment)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}}),e.exports}(function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=r[o].channels,s=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:a}),Object.defineProperty(r[o],"labels",{value:s})}r.rgb.hsl=function(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a;return s===a?e=0:i===s?e=(r-o)/l:r===s?e=2+(o-i)/l:o===s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+s)/2,[e,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},r.rgb.hsv=function(t){var e,n,i,r,o,a=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(t){return(u-t)/6/c+.5};return 0===c?r=o=0:(o=c/u,e=d(a),n=d(s),i=d(l),a===u?r=i-n:s===u?r=1/3+e-i:l===u&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*o,100*u]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[r.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,i))*100,100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},r.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,o,a,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=(o=t,a=e[l],Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));u<s&&(s=u,r=l)}return r},r.keyword.rgb=function(t){return e[t]},r.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e=r.rgb.xyz(t),n=e[0],i=e[1],o=e[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(t){var e,n,i,r,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[o=255*l,o,o];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=a+1/3*-(u-1))<0&&i++,i>1&&i--,r[u]=255*(o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e);return r},r.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,r=n,o=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=o<=1?o:2-o,[e,100*(0===i?2*r/(o+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,o=e-Math.floor(e),a=255*i*(1-n),s=255*i*(1-n*o),l=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return i=(2-o)*a,n=o*s,[r,100*(n=(n/=(e=(2-o)*s)<=1?e:2-e)||0),100*(i/=2)]},r.hwb.rgb=function(t){var e,n,i,r,o,a,s,l=t[0]/360,u=t[1]/100,c=t[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),r=u+i*((n=1-c)-u),e){default:case 6:case 0:o=n,a=r,s=u;break;case 1:o=r,a=n,s=u;break;case 2:o=u,a=n,s=r;break;case 3:o=u,a=r,s=n;break;case 4:o=r,a=u,s=n;break;case 5:o=n,a=u,s=r}return[255*o,255*a,255*s]},r.cmyk.rgb=function(t){var e=t[1]/100,n=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-i)+i)),255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,o=t[1]/100,a=t[2]/100;return n=-.9689*r+1.8758*o+.0415*a,i=.0557*r+-.204*o+1.057*a,e=(e=3.2406*r+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(t){var e,n,i;e=t[1]/500+(n=(t[0]+16)/116),i=n-t[2]/200;var r=Math.pow(n,3),o=Math.pow(e,3),a=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=a>.008856?a:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},r.lab.lch=function(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]},r.lch.lab=function(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],o=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255,o=Math.max(Math.max(n,i),r),a=Math.min(Math.min(n,i),r),s=o-a;return e=s<=0?0:o===n?(i-r)/s%6:o===i?2+(r-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(t){var e,n=t[1]/100,i=t[2]/100,r=0;return(e=i<.5?2*n*i:2*n*(1-i))<1&&(r=(i-.5*e)/(1-e)),[t[0],100*e,100*r]},r.hsv.hcg=function(t){var e=t[2]/100,n=t[1]/100*e,i=0;return n<1&&(i=(e-n)/(1-n)),[t[0],100*n,100*i]},r.hcg.rgb=function(t){var e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];var i,r=[0,0,0],o=t[0]/360%1*6,a=o%1,s=1-a;switch(Math.floor(o)){case 0:r[0]=1,r[1]=a,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=a;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=a,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return[255*(e*r[0]+(i=(1-e)*n)),255*(e*r[1]+i),255*(e*r[2]+i)]},r.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},r.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){var e=1-t[2]/100,n=e-t[1]/100,i=0;return n<1&&(i=(e-n)/(1-n)),[t[0],100*n,100*i]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}});function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,r=0;r<i;r++)t[e[r]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;)for(var r=i.pop(),o=Object.keys(n[r]),a=o.length,s=0;s<a;s++){var l=o[s],u=e[l];-1===u.distance&&(u.distance=e[r].distance+1,u.parent=r,i.unshift(l))}return e}function r(t,e){return function(n){return e(t(n))}}function o(t,e){for(var i=[e[t].parent,t],o=n[e[t].parent][t],a=e[t].parent;e[a].parent;)i.unshift(e[a].parent),o=r(n[e[a].parent][a],o),a=e[a].parent;return o.conversion=i,o}var a={};Object.keys(n).forEach(function(t){a[t]={},Object.defineProperty(a[t],"channels",{value:n[t].channels}),Object.defineProperty(a[t],"labels",{value:n[t].labels});var e=function(t){for(var e=i(t),n={},r=Object.keys(e),a=r.length,s=0;s<a;s++){var l=r[s];null!==e[l].parent&&(n[l]=o(l,e))}return n}(t);Object.keys(e).forEach(function(n){var i=e[n];a[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(i),a[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)})});var s=a,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:d,getRgb:function(t){var e=c(t);return e&&e.slice(0,3)},getHsl:function(t){var e=d(t);return e&&e.slice(0,3)},getHwb:f,getAlpha:function(t){var e=c(t);return e||(e=d(t))||(e=f(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?h(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:h,percentString:function(t,e){return e<1||t[3]&&t[3]<1?p(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:p,hslString:function(t,e){return e<1||t[3]&&t[3]<1?g(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:g,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return y[t.slice(0,3)]}};function c(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var o=0;o<e.length;o++)e[o]=parseInt(i[o]+i[o],16);r&&(n=Math.round(parseInt(r+r,16)/255*100)/100)}else if(i=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(r=i[2],i=i[1],o=0;o<e.length;o++)e[o]=parseInt(i.slice(2*o,2*o+2),16);r&&(n=Math.round(parseInt(r,16)/255*100)/100)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=l[i[1]]))return}for(o=0;o<e.length;o++)e[o]=m(e[o],0,255);return n=n||0==n?m(n,0,1):1,e[3]=n,e}}function d(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function f(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function h(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function p(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function m(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var y={};for(var b in l)y[l[b]]=b;var x=function(t){return t instanceof x?t:this instanceof x?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=u.getRgba(t))?this.setValues("rgb",e):(e=u.getHsla(t))?this.setValues("hsl",e):(e=u.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new x(t);var e};x.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,o=this.alpha()-n.alpha(),a=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new x,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&("[object Array]"===(e={}.toString.call(t=i[o]))?r[o]=t.slice(0):"[object Number]"===e?r[o]=t:console.error("unexpected color value:",t));return n}},x.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},x.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},x.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},x.prototype.setValues=function(t,e){var n,i,r=this.values,o=this.spaces,a=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)r[t][n]=e[t.charAt(n)];l=e.a}else if(void 0!==e[o[t][0]]){var u=o[t];for(n=0;n<t.length;n++)r[t][n]=e[u[n]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(n=0;n<t.length;n++)i=Math.max(0,Math.min(a[t][n],r[t][n])),r[t][n]=Math.round(i);for(var c in o)c!==t&&(r[c]=s[t][c](r[t]));return!0},x.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},x.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=x);var w=x;function _(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var C,k={noop:function(){},uid:(C=0,function(){return C++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return k.valueOrDefault(k.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var r,o,a;if(k.isArray(t))if(o=t.length,i)for(r=o-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<o;r++)e.call(n,t[r],r);else if(k.isObject(t))for(o=(a=Object.keys(t)).length,r=0;r<o;r++)e.call(n,t[a[r]],a[r])},arrayEquals:function(t,e){var n,i,r,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(o=e[n],(r=t[n])instanceof Array&&o instanceof Array){if(!k.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(t){if(k.isArray(t))return t.map(k.clone);if(k.isObject(t)){for(var e=Object.create(t),n=Object.keys(t),i=n.length,r=0;r<i;++r)e[n[r]]=k.clone(t[n[r]]);return e}return t},_merger:function(t,e,n,i){if(_(t)){var r=e[t],o=n[t];k.isObject(r)&&k.isObject(o)?k.merge(r,o,i):e[t]=k.clone(o)}},_mergerIf:function(t,e,n){if(_(t)){var i=e[t],r=n[t];k.isObject(i)&&k.isObject(r)?k.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=k.clone(r))}},merge:function(t,e,n){var i,r,o,a,s,l=k.isArray(e)?e:[e],u=l.length;if(!k.isObject(t))return t;for(i=(n=n||{}).merger||k._merger,r=0;r<u;++r)if(k.isObject(e=l[r]))for(s=0,a=(o=Object.keys(e)).length;s<a;++s)i(o[s],t,e,n);return t},mergeIf:function(t,e){return k.merge(t,e,{merger:k._mergerIf})},extend:Object.assign||function(t){return k.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=k.inherits,t&&k.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,i){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},T=k;k.callCallback=k.callback,k.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},k.getValueOrDefault=k.valueOrDefault,k.getValueAtIndexOrDefault=k.valueAtIndexOrDefault;var S={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-S.easeOutBounce(1-t)},easeOutBounce:function(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},easeInOutBounce:function(t){return t<.5?.5*S.easeInBounce(2*t):.5*S.easeOutBounce(2*t-1)+.5}},E={effects:S};T.easingEffects=S;var A=Math.PI,L=A/180,M=2*A,D=A/2,O=A/4,I=2*A/3,P={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,o){if(o){var a=Math.min(o,r/2,i/2),s=e+a,l=n+a,u=e+i-a,c=n+r-a;t.moveTo(e,l),s<u&&l<c?(t.arc(s,l,a,-A,-D),t.arc(u,l,a,-D,0),t.arc(u,c,a,0,D),t.arc(s,c,a,D,A)):s<u?(t.moveTo(s,n),t.arc(u,l,a,-D,D),t.arc(s,l,a,D,A+D)):l<c?(t.arc(s,l,a,-A,0),t.arc(s,c,a,0,A)):t.arc(s,l,a,-A,A),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r,o){var a,s,l,u,c,d=(o||0)*L;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(a=e.toString())||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,r),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,r,n,0,M),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=I,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=I,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),t.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(d+O)*u,l=Math.sin(d+O)*u,t.arc(i-s,r-l,c,d-A,d-D),t.arc(i+l,r-s,c,d-D,d),t.arc(i+s,r+l,c,d,d+D),t.arc(i-l,r+s,c,d+D,d+A),t.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,t.rect(i-u,r-u,2*u,2*u);break}d+=O;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+l,r-s),t.lineTo(i+s,r+l),t.lineTo(i-l,r+s),t.closePath();break;case"crossRot":d+=O;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s),d+=O,s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l);break;case"dash":t.moveTo(i,r),t.lineTo(i+Math.cos(d)*n,r+Math.sin(d)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){var r=n.steppedLine;if(r){if("middle"===r){var o=(e.x+n.x)/2;t.lineTo(o,i?n.y:e.y),t.lineTo(o,i?e.y:n.y)}else"after"===r&&!i||"after"!==r&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},N=P;T.clear=P.clear,T.drawRoundedRectangle=function(t){t.beginPath(),P.roundedRect.apply(P,arguments)};var z={_set:function(t,e){return T.merge(this[t]||(this[t]={}),e)}};z._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var F=z,B=T.valueOrDefault,j={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,r;return T.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,r=+t.left||0):e=n=i=r=+t||0,{top:e,right:n,bottom:i,left:r,height:e+i,width:r+n}},_parseFont:function(t){var e=F.global,n=B(t.fontSize,e.defaultFontSize),i={family:B(t.fontFamily,e.defaultFontFamily),lineHeight:T.options.toLineHeight(B(t.lineHeight,e.defaultLineHeight),n),size:n,style:B(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=function(t){return!t||T.isNullOrUndef(t.size)||T.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i},resolve:function(t,e,n,i){var r,o,a,s=!0;for(r=0,o=t.length;r<o;++r)if(void 0!==(a=t[r])&&(void 0!==e&&"function"==typeof a&&(a=a(e),s=!1),void 0!==n&&T.isArray(a)&&(a=a[n],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}},R={_factorize:function(t){var e,n=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e==0&&(n.push(e),n.push(t/e));return i===(0|i)&&n.push(i),n.sort(function(t,e){return t-e}).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},H=R;T.log10=R.log10;var W=T,q=N,V=j,U=H;W.easing=E,W.canvas=q,W.options=V,W.math=U,W.rtl={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,i;"ltr"!==e&&"rtl"!==e||(i=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};var Y=function(t){W.extend(this,t),this.initialize.apply(this,arguments)};W.extend(Y.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=W.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,r=e._view;return n&&1!==t?(r||(r=e._view={}),i||(i=e._start={}),function(t,e,n,i){var r,o,a,s,l,u,c,d,f,h=Object.keys(n);for(r=0,o=h.length;r<o;++r)if(u=n[a=h[r]],e.hasOwnProperty(a)||(e[a]=u),(s=e[a])!==u&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=s),(c=typeof u)==typeof(l=t[a]))if("string"===c){if((d=w(l)).valid&&(f=w(u)).valid){e[a]=f.mix(d,i).rgbString();continue}}else if(W.isFinite(l)&&W.isFinite(u)){e[a]=l+(u-l)*i;continue}e[a]=u}}(i,r,n,t),e):(e._view=W.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return W.isNumber(this._model.x)&&W.isNumber(this._model.y)}}),Y.extend=W.inherits;var $=Y,Q=$.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),X=Q;Object.defineProperty(Q.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Q.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),F._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:W.noop,onComplete:W.noop}});var G={animations:[],request:null,addAnimation:function(t,e,n,i){var r,o,a=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,i||(t.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===t)return void(a[r]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=W.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=W.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,o=0;o<r.length;)e=(t=r[o]).chart,n=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(i,n),W.callback(t.render,[e,t],e),W.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(W.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(o,1)):++o}},K=W.options.resolve,Z=["push","pop","shift","splice","unshift"];function J(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(Z.forEach(function(e){delete t[e]}),delete t._chartjs)}}var tt=function(t,e){this.initialize(t,e)};W.extend(tt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),r=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||r.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&J(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;t<e;++t)r[t]=r[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,i=n.getDataset(),r=i.data||(i.data=[]);n._data!==r&&(n._data&&J(n._data,n),r&&Object.isExtensible(r)&&(e=n,(t=r)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Z.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=i.apply(this,e);return W.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),r}})}))),n._data=r),n.resyncElements()},_configure:function(){this._config=W.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&W._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:W.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,r=0;r<i;++r)n[r].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},getStyle:function(t){var e,n=this.getMeta(),i=n.dataset;return this._configure(),!1!==(e=i&&void 0===t?this._resolveDatasetElementOptions(i||{}):this._resolveDataElementOptions(n.data[t=t||0]||{},t)).fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,r,o,a=this,s=a.chart,l=a._config,u=t.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,f={},h={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:e};for(n=0,i=d.length;n<i;++n)r=d[n],o=e?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,f[r]=K([u[o],l[o],c[o]],h);return f},_resolveDataElementOptions:function(t,e){var n=this,i=t&&t.custom,r=n._cachedDataOpts;if(r&&!i)return r;var o,a,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},f=n._dataElementOptions,h={},p={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},g={cacheable:!i};if(i=i||{},W.isArray(f))for(a=0,s=f.length;a<s;++a)h[l=f[a]]=K([i[l],c[l],d[l]],p,e,g);else for(a=0,s=(o=Object.keys(f)).length;a<s;++a)h[l=o[a]]=K([i[l],c[f[l]],c[l],d[l]],p,e,g);return g.cacheable&&(n._cachedDataOpts=Object.freeze(h)),h},removeHoverStyle:function(t){W.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},r=t._model,o=W.getHoverColor;t.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=K([i.hoverBackgroundColor,e.hoverBackgroundColor,o(r.backgroundColor)],void 0,n),r.borderColor=K([i.hoverBorderColor,e.hoverBorderColor,o(r.borderColor)],void 0,n),r.borderWidth=K([i.hoverBorderWidth,e.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,r,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,r=this._resolveDatasetElementOptions(a,!0),t=0,e=(i=Object.keys(r)).length;t<e;++t)s[n=i[t]]=o[n],o[n]=r[n];a.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),tt.extend=W.inherits;var et=tt,nt=2*Math.PI;function it(t,e){var n=e.startAngle,i=e.endAngle,r=e.pixelMargin,o=r/e.outerRadius,a=e.x,s=e.y;t.beginPath(),t.arc(a,s,e.outerRadius,n-o,i+o),e.innerRadius>r?t.arc(a,s,e.innerRadius-r,i+(o=r/e.innerRadius),n-o,!0):t.arc(a,s,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}F._set("global",{elements:{arc:{backgroundColor:F.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var rt=$.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=W.getAngleFromPoint(n,{x:t,y:e}),r=i.angle,o=i.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=nt;for(;r>s;)r-=nt;for(;r<a;)r+=nt;return r>=a&&r<=s&&o>=n.innerRadius&&o<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/nt)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+nt,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;t<r.fullCircles;++t)e.fill();r.endAngle=r.startAngle+n.circumference%nt}e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&function(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var r,o=n.endAngle;for(i&&(n.endAngle=n.startAngle+nt,it(t,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=nt,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+nt,n.startAngle,!0),r=0;r<n.fullCircles;++r)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+nt),r=0;r<n.fullCircles;++r)t.stroke()}(t,e,n,i),i&&it(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}(e,n,r),e.restore()}}),ot=W.valueOrDefault,at=F.global.defaultColor;F._set("global",{elements:{line:{tension:.4,backgroundColor:at,borderWidth:3,borderColor:at,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var st=$.extend({_type:"line",draw:function(){var t,e,n,i=this,r=i._view,o=i._chart.ctx,a=r.spanGaps,s=i._children.slice(),l=F.global,u=l.elements.line,c=-1,d=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=W.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=r.borderCapStyle||u.borderCapStyle,o.setLineDash&&o.setLineDash(r.borderDash||u.borderDash),o.lineDashOffset=ot(r.borderDashOffset,u.borderDashOffset),o.lineJoin=r.borderJoinStyle||u.borderJoinStyle,o.lineWidth=ot(r.borderWidth,u.borderWidth),o.strokeStyle=r.borderColor||l.defaultColor,o.beginPath(),(n=s[0]._view).skip||(o.moveTo(n.x,n.y),c=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===c?W.previousItem(s,t):s[c],n.skip||(c!==t-1&&!a||-1===c?o.moveTo(n.x,n.y):W.canvas.lineTo(o,e._view,n),c=t);d&&o.closePath(),o.stroke(),o.restore()}}}),lt=W.valueOrDefault,ut=F.global.defaultColor;function ct(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}F._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:ut,borderColor:ut,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var dt=$.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ct,inXRange:ct,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,i=e.pointStyle,r=e.rotation,o=e.radius,a=e.x,s=e.y,l=F.global,u=l.defaultColor;e.skip||(void 0===t||W.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=lt(e.borderWidth,l.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,W.canvas.drawPoint(n,i,o,a,s,r))}}),ft=F.global.defaultColor;function ht(t){return t&&void 0!==t.width}function pt(t){var e,n,i,r,o;return ht(t)?(e=t.x-(o=t.width/2),n=t.x+o,i=Math.min(t.y,t.base),r=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),i=t.y-o,r=t.y+o),{left:e,top:i,right:n,bottom:r}}function gt(t,e,n){return t===e?n:t===n?e:t}function mt(t,e,n){var i=null===e,r=null===n,o=!(!t||i&&r)&&pt(t);return o&&(i||e>=o.left&&e<=o.right)&&(r||n>=o.top&&n<=o.bottom)}F._set("global",{elements:{rectangle:{backgroundColor:ft,borderColor:ft,borderSkipped:"bottom",borderWidth:0}}});var vt=$.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=pt(t),n=e.right-e.left,i=e.bottom-e.top,r=function(t,e,n){var i,r,o,a,s=t.borderWidth,l=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=gt(e,"left","right")):t.base<t.y&&(e=gt(e,"bottom","top")),n[e]=!0,n):n}(t);return W.isObject(s)?(i=+s.top||0,r=+s.right||0,o=+s.bottom||0,a=+s.left||0):i=r=o=a=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||o<0?0:o>n?n:o,l:l.left||a<0?0:a>e?e:a}}(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return mt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return ht(n)?mt(n,t,null):mt(n,null,e)},inXRange:function(t){return mt(this._view,t,null)},inYRange:function(t){return mt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return ht(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return ht(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),yt={},bt=st,xt=dt,wt=vt;yt.Arc=rt,yt.Line=bt,yt.Point=xt,yt.Rectangle=wt;var _t=W._deprecated,Ct=W.valueOrDefault;F._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),F._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var kt=et.extend({dataElementType:yt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;et.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,_t("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),_t("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),_t("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),_t("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),_t("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=i.getDataset(),a=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:i.chart.data.labels[e]},W.isArray(o.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,n,a),t.pivot()},_updateElementGeometry:function(t,e,n,i){var r=this,o=t._model,a=r._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),u=r._ruler||r.getRuler(),c=r.calculateBarValuePixels(r.index,e,i),d=r.calculateBarIndexPixels(r.index,e,u,i);o.horizontal=l,o.base=n?s:c.base,o.x=l?n?s:c.head:d.center,o.y=l?d.center:n?s:c.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(t){var e,n,i=this._getIndexScale(),r=i._getMatchingVisibleMetas(this._type),o=i.options.stacked,a=r.length,s=[];for(e=0;e<a&&(n=r[e],(!1===o||-1===s.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&s.push(n.stack),n.index!==t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this._getIndexScale(),i=[];for(t=0,e=this.getMeta().data.length;t<e;++t)i.push(n.getPixelForValue(null,t,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var i,r,o,a,s,l,u,c=this.chart,d=this._getValueScale(),f=d.isHorizontal(),h=c.data.datasets,p=d._getMatchingVisibleMetas(this._type),g=d._parseValue(h[t].data[e]),m=n.minBarLength,v=d.options.stacked,y=this.getMeta().stack,b=void 0===g.start?0:g.max>=0&&g.min>=0?g.min:g.max,x=void 0===g.start?g.end:g.max>=0&&g.min>=0?g.max-g.min:g.min-g.max,w=p.length;if(v||void 0===v&&void 0!==y)for(i=0;i<w&&(r=p[i]).index!==t;++i)r.stack===y&&(o=void 0===(u=d._parseValue(h[r.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(g.min<0&&o<0||g.max>=0&&o>0)&&(b+=o));return a=d.getPixelForValue(b),l=(s=d.getPixelForValue(b+x))-a,void 0!==m&&Math.abs(l)<m&&(l=m,s=x>=0&&!f||x<0&&f?a-m:a+m),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r="flex"===i.barThickness?function(t,e,n){var i,r=e.pixels,o=r[t],a=t>0?r[t-1]:null,s=t<r.length-1?r[t+1]:null,l=n.categoryPercentage;return null===a&&(a=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-a),i=o-(o-Math.min(a,s))/2*l,{chunk:Math.abs(s-a)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):function(t,e,n){var i,r,o=n.barThickness,a=e.stackCount,s=e.pixels[t],l=W.isNullOrUndef(o)?function(t,e){var n,i,r,o,a=t._length;for(r=1,o=e.length;r<o;++r)a=Math.min(a,Math.abs(e[r]-e[r-1]));for(r=0,o=t.getTicks().length;r<o;++r)i=t.getPixelForTick(r),a=r>0?Math.min(a,Math.abs(i-n)):a,n=i;return a}(e.scale,e.pixels):-1;return W.isNullOrUndef(o)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=o*a,r=1),{chunk:i/a,ratio:r,start:s-i/2}}(e,n,i),o=this.getStackIndex(t,this.getMeta().stack),a=r.start+r.chunk*o+r.chunk/2,s=Math.min(Ct(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,o=0;for(W.canvas.clipArea(t.ctx,t.chartArea);o<r;++o){var a=e._parseValue(i.data[o]);isNaN(a.min)||isNaN(a.max)||n[o].draw()}W.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=W.extend({},et.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=Ct(n.barPercentage,e.barPercentage),e.barThickness=Ct(n.barThickness,e.barThickness),e.categoryPercentage=Ct(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=Ct(n.maxBarThickness,e.maxBarThickness),e.minBarLength=Ct(i.minBarLength,e.minBarLength),e}}),Tt=W.valueOrDefault,St=W.options.resolve;F._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}});var Et=et.extend({dataElementType:yt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta().data;W.each(n,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=t.custom||{},a=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,e,c),f=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(f),x:d,y:f},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,i=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Tt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Tt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Tt(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,i=n.chart,r=n.getDataset(),o=t.custom||{},a=r.data[e]||{},s=et.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:e,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=W.extend({},s)),s.radius=St([o.radius,a.r,n._config.radius,i.options.elements.point.radius],l,e),s}}),At=W.valueOrDefault,Lt=Math.PI,Mt=2*Lt,Dt=Lt/2;F._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),o=t.data,a=o.datasets,s=o.labels;if(r.setAttribute("class",t.id+"-legend"),a.length)for(e=0,n=a[0].data.length;e<n;++e)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return r.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,r,o=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-Dt,circumference:Mt,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return W.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Ot=et.extend({dataElementType:yt.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i=this,r=i.chart,o=r.chartArea,a=r.options,s=1,l=1,u=0,c=0,d=i.getMeta(),f=d.data,h=a.cutoutPercentage/100||0,p=a.circumference,g=i._getRingWeight(i.index);if(p<Mt){var m=a.rotation%Mt,v=(m+=m>=Lt?-Mt:m<-Lt?Mt:0)+p,y=Math.cos(m),b=Math.sin(m),x=Math.cos(v),w=Math.sin(v),_=m<=0&&v>=0||v>=Mt,C=m<=Dt&&v>=Dt||v>=Mt+Dt,k=m<=-Dt&&v>=-Dt||v>=Lt+Dt,T=m===-Lt||v>=Lt?-1:Math.min(y,y*h,x,x*h),S=k?-1:Math.min(b,b*h,w,w*h),E=_?1:Math.max(y,y*h,x,x*h),A=C?1:Math.max(b,b*h,w,w*h);s=(E-T)/2,l=(A-S)/2,u=-(E+T)/2,c=-(A+S)/2}for(e=0,n=f.length;e<n;++e)f[e]._options=i._resolveDataElementOptions(f[e],e);for(r.borderWidth=i.getMaxBorderWidth(),r.outerRadius=Math.max(Math.min((o.right-o.left-r.borderWidth)/s,(o.bottom-o.top-r.borderWidth)/l)/2,0),r.innerRadius=Math.max(r.outerRadius*h,0),r.radiusLength=(r.outerRadius-r.innerRadius)/(i._getVisibleDatasetWeightTotal()||1),r.offsetX=u*r.outerRadius,r.offsetY=c*r.outerRadius,d.total=i.calculateTotal(),i.outerRadius=r.outerRadius-r.radiusLength*i._getRingWeightOffset(i.index),i.innerRadius=Math.max(i.outerRadius-r.radiusLength*g,0),e=0,n=f.length;e<n;++e)i.updateElement(f[e],e,t)},updateElement:function(t,e,n){var i=this,r=i.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,c=a.rotation,d=a.rotation,f=i.getDataset(),h=n&&s.animateRotate||t.hidden?0:i.calculateCircumference(f.data[e])*(a.circumference/Mt),p=t._options||{};W.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,borderAlign:p.borderAlign,x:l+r.offsetX,y:u+r.offsetY,startAngle:c,endAngle:d,circumference:h,outerRadius:n&&s.animateScale?0:i.outerRadius,innerRadius:n&&s.animateScale?0:i.innerRadius,label:W.valueAtIndexOrDefault(f.label,e,r.data.labels[e])}});var g=t._model;n&&s.animateRotate||(g.startAngle=0===e?a.rotation:i.getMeta().data[e-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return W.each(n.data,function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?Mt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,o,a,s,l,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e<n;++e)if(c.isDatasetVisible(e)){t=(i=c.getDatasetMeta(e)).data,e!==this.index&&(o=i.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)r=t[e],o?(o._configure(),a=o._resolveDataElementOptions(r,e)):a=r._options,"inner"!==a.borderAlign&&(u=(l=a.hoverBorderWidth)>(u=(s=a.borderWidth)>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=At(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=At(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=At(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(At(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});F._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),F._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var It=kt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Pt=W.valueOrDefault,Nt=W.options.resolve,zt=W.canvas._isPointInArea;function Ft(t,e){var n=t&&t.options.ticks||{},i=n.reverse,r=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:i?o:r,end:i?r:o}}function Bt(t,e,n){var i=n/2,r=Ft(t,i),o=Ft(e,i);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function jt(t){var e,n,i,r;return W.isObject(t)?(e=t.top,n=t.right,i=t.bottom,r=t.left):e=n=i=r=t,{top:e,right:n,bottom:i,left:r}}F._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Rt=et.extend({datasetElementType:yt.Line,dataElementType:yt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i._config,l=i._showLine=Pt(s.showLine,i.chart.options.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),l&&(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(l&&0!==o._model.tension&&i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i,r,o=this,a=o.getMeta(),s=t.custom||{},l=o.getDataset(),u=o.index,c=l.data[e],d=o._xScale,f=o._yScale,h=a.dataset._model,p=o._resolveDataElementOptions(t,e);i=d.getPixelForValue("object"==typeof c?c:NaN,e,u),r=n?f.getBasePixel():o.calculatePointY(c,e,u),t._xScale=d,t._yScale=f,t._options=p,t._datasetIndex=u,t._index=e,t._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:Pt(s.tension,h?h.tension:0),steppedLine:!!h&&h.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},r=e.chart.options,o=r.elements.line,a=et.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=Pt(n.spanGaps,r.spanGaps),a.tension=Pt(n.lineTension,o.tension),a.steppedLine=Nt([i.steppedLine,n.steppedLine,o.stepped]),a.clip=jt(Pt(n.clip,Bt(e._xScale,e._yScale,a.borderWidth))),a},calculatePointY:function(t,e,n){var i,r,o,a,s,l,u=this.chart,c=this._yScale,d=0,f=0;if(c.options.stacked){for(a=+c.getRightValue(t),l=(s=u._getSortedVisibleDatasetMetas()).length,i=0;i<l&&(r=s[i]).index!==n;++i)"line"===r.type&&r.yAxisID===c.id&&((o=+c.getRightValue(u.data.datasets[r.index].data[e]))<0?f+=o||0:d+=o||0);return c.getPixelForValue(a<0?f+a:d+a)}return c.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,r=this.chart,o=this.getMeta(),a=o.dataset._model,s=r.chartArea,l=o.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(a.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===a.cubicInterpolationMode)W.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)n=l[t]._model,i=W.splineCurve(W.previousItem(l,t)._model,n,W.nextItem(l,t)._model,a.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)zt(n=l[t]._model,s)&&(t>0&&zt(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&zt(l[t+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),i=n.data||[],r=e.chartArea,o=e.canvas,a=0,s=i.length;for(this._showLine&&(W.canvas.clipArea(e.ctx,{left:!1===(t=n.dataset._model.clip).left?0:r.left-t.left,right:!1===t.right?o.width:r.right+t.right,top:!1===t.top?0:r.top-t.top,bottom:!1===t.bottom?o.height:r.bottom+t.bottom}),n.dataset.draw(),W.canvas.unclipArea(e.ctx));a<s;++a)i[a].draw(r)},setHoverStyle:function(t){var e=t._model,n=t._options,i=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Pt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Pt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Pt(n.hoverBorderWidth,n.borderWidth),e.radius=Pt(n.hoverRadius,n.radius)}}),Ht=W.options.resolve;F._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,i,r=document.createElement("ul"),o=t.data,a=o.datasets,s=o.labels;if(r.setAttribute("class",t.id+"-legend"),a.length)for(e=0,n=a[0].data.length;e<n;++e)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return r.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,r,o=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o].hidden=!r.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Wt=et.extend({dataElementType:yt.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i,r=this,o=r.getDataset(),a=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),e=0,n=o.data.length;e<n;e++)l[e]=s,i=r._computeAngle(e),u[e]=i,s+=i;for(e=0,n=c.length;e<n;++e)c[e]._options=r._resolveDataElementOptions(c[e],e),r.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,r=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var i=this,r=i.chart,o=i.getDataset(),a=r.options,s=a.animation,l=r.scale,u=r.data.labels,c=l.xCenter,d=l.yCenter,f=a.startAngle,h=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),p=i._starts[e],g=p+(t.hidden?0:i._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),v=t._options||{};W.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?m:h,startAngle:n&&s.animateRotate?f:p,endAngle:n&&s.animateRotate?f:g,label:W.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return W.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||n++}),n},setHoverStyle:function(t){var e=t._model,n=t._options,i=W.getHoverColor,r=W.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=r(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),r=e.getMeta();return isNaN(i.data[t])||r.data[t].hidden?0:Ht([e.chart.options.elements.arc.angle,2*Math.PI/n],{chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index},t)}});F._set("pie",W.clone(F.doughnut)),F._set("pie",{cutoutPercentage:0});var qt=Ot,Vt=W.valueOrDefault;F._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ut=et.extend({datasetElementType:yt.Line,dataElementType:yt.Point,linkScales:W.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=i.index,o._children=a,o._loop=!0,o._model=i._resolveDatasetElementOptions(o),o.pivot(),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i=this,r=t.custom||{},o=i.getDataset(),a=i.chart.scale,s=a.getPointPositionForValue(e,o.data[e]),l=i._resolveDataElementOptions(t,e),u=i.getMeta().dataset._model,c=n?a.xCenter:s.x,d=n?a.yCenter:s.y;t._scale=a,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:c,y:d,skip:r.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Vt(r.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,i=et.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=Vt(e.spanGaps,n.spanGaps),i.tension=Vt(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,n,i,r=this.getMeta(),o=this.chart.chartArea,a=r.data||[];function s(t,e,n){return Math.max(Math.min(t,n),e)}for(r.dataset._model.spanGaps&&(a=a.filter(function(t){return!t._model.skip})),t=0,e=a.length;t<e;++t)n=a[t]._model,i=W.splineCurve(W.previousItem(a,t,!0)._model,n,W.nextItem(a,t,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,o.left,o.right),n.controlPointPreviousY=s(i.previous.y,o.top,o.bottom),n.controlPointNextX=s(i.next.x,o.left,o.right),n.controlPointNextY=s(i.next.y,o.top,o.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,i=W.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Vt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Vt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Vt(n.hoverBorderWidth,n.borderWidth),e.radius=Vt(n.hoverRadius,n.radius)}});F._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),F._set("global",{datasets:{scatter:{showLine:!1}}});var Yt={bar:kt,bubble:Et,doughnut:Ot,horizontalBar:It,line:Rt,polarArea:Wt,pie:qt,radar:Ut,scatter:Rt};function $t(t,e){return t.native?{x:t.x,y:t.y}:W.getRelativePosition(t,e)}function Qt(t,e){var n,i,r,o,a,s,l=t._getSortedVisibleDatasetMetas();for(i=0,o=l.length;i<o;++i)for(r=0,a=(n=l[i].data).length;r<a;++r)(s=n[r])._view.skip||e(s)}function Xt(t,e){var n=[];return Qt(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function Gt(t,e,n,i){var r=Number.POSITIVE_INFINITY,o=[];return Qt(t,function(t){if(!n||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=i(e,a);s<r?(o=[t],r=s):s===r&&o.push(t)}}),o}function Kt(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var r=e?Math.abs(t.x-i.x):0,o=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function Zt(t,e,n){var i=$t(e,t);n.axis=n.axis||"x";var r=Kt(n.axis),o=n.intersect?Xt(t,i):Gt(t,i,!1,r),a=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){var e=t.data[o[0]._index];e&&!e._view.skip&&a.push(e)}),a):[]}var Jt={modes:{single:function(t,e){var n=$t(e,t),i=[];return Qt(t,function(t){if(t.inRange(n.x,n.y))return i.push(t),i}),i.slice(0,1)},label:Zt,index:Zt,dataset:function(t,e,n){var i=$t(e,t);n.axis=n.axis||"xy";var r=Kt(n.axis),o=n.intersect?Xt(t,i):Gt(t,i,!1,r);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return Zt(t,e,{intersect:!1})},point:function(t,e){return Xt(t,$t(e,t))},nearest:function(t,e,n){var i=$t(e,t);n.axis=n.axis||"xy";var r=Kt(n.axis);return Gt(t,i,n.intersect,r)},x:function(t,e,n){var i=$t(e,t),r=[],o=!1;return Qt(t,function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(o=!0)}),n.intersect&&!o&&(r=[]),r},y:function(t,e,n){var i=$t(e,t),r=[],o=!1;return Qt(t,function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(o=!0)}),n.intersect&&!o&&(r=[]),r}}},te=W.extend;function ee(t,e){return W.where(t,function(t){return t.pos===e})}function ne(t,e){return t.sort(function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function ie(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function re(t,e,n){var i,r,o=n.box,a=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,t[n.pos]+=n.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(i=e.outerWidth-ie(a,t,"left","right"),r=e.outerHeight-ie(a,t,"top","bottom"),i!==t.w||r!==t.h){t.w=i,t.h=r;var l=n.horizontal?[i,t.w]:[r,t.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function oe(t,e){var n=e.maxPadding;return function(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach(function(t){i[t]=Math.max(e[t],n[t])}),i}(t?["left","right"]:["top","bottom"])}function ae(t,e,n){var i,r,o,a,s,l,u=[];for(i=0,r=t.length;i<r;++i)(a=(o=t[i]).box).update(o.width||e.w,o.height||e.h,oe(o.horizontal,e)),re(e,n,o)&&(l=!0,u.length&&(s=!0)),a.fullWidth||u.push(o);return s&&ae(u,e,n)||l}function se(t,e,n){var i,r,o,a,s=n.padding,l=e.x,u=e.y;for(i=0,r=t.length;i<r;++i)a=(o=t[i]).box,o.horizontal?(a.left=a.fullWidth?s.left:e.left,a.right=a.fullWidth?n.outerWidth-s.right:e.left+e.w,a.top=u,a.bottom=u+a.height,a.width=a.right-a.left,u=a.bottom):(a.left=l,a.right=l+a.width,a.top=e.top,a.bottom=e.top+e.h,a.height=a.bottom-a.top,l=a.right);e.x=l,e.y=u}F._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var le,ue={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)n.hasOwnProperty(i=r[a])&&(e[i]=n[i])},update:function(t,e,n){if(t){var i=W.options.toPadding((t.options.layout||{}).padding),r=e-i.width,o=n-i.height,a=function(t){var e=function(t){var e,n,i,r=[];for(e=0,n=(t||[]).length;e<n;++e)r.push({index:e,box:i=t[e],pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}(t),n=ne(ee(e,"left"),!0),i=ne(ee(e,"right")),r=ne(ee(e,"top"),!0),o=ne(ee(e,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(o),chartArea:ee(e,"chartArea"),vertical:n.concat(i),horizontal:r.concat(o)}}(t.boxes),s=a.vertical,l=a.horizontal,u=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:r,vBoxMaxWidth:r/2/s.length,hBoxMaxHeight:o/2}),c=te({maxPadding:te({},i),w:r,h:o,x:i.left,y:i.top},i);!function(t,e){var n,i,r;for(n=0,i=t.length;n<i;++n)(r=t[n]).width=r.horizontal?r.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,r.height=r.horizontal&&e.hBoxMaxHeight}(s.concat(l),u),ae(s,c,u),ae(l,c,u)&&ae(s,c,u),function(t){var e=t.maxPadding;function n(n){var i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(c),se(a.leftAndTop,c,u),c.x+=c.w,c.y+=c.h,se(a.rightAndBottom,c,u),t.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},W.each(a.chartArea,function(e){var n=e.box;te(n,t.chartArea),n.update(c.w,c.h)})}}},ce=(le=Object.freeze({__proto__:null,default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&le.default||le,de="$chartjs",fe="chartjs-size-monitor",he="chartjs-render-monitor",pe=["animationstart","webkitAnimationStart"],ge={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function me(t,e){var n=W.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var ve=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function ye(t,e,n){t.addEventListener(e,n,ve)}function be(t,e,n){t.removeEventListener(e,n,ve)}function xe(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function we(t){var e=document.createElement("div");return e.className=t||"",e}var _e={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t[de]||(t[de]={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,ce)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[de]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=me(t,"width");void 0!==o&&(t.width=o)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=me(t,"height");void 0!==o&&(t.height=a)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[de]){var n=e[de].initial;["height","width"].forEach(function(t){var i=n[t];W.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),W.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[de]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=n[de]||(n[de]={});ye(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=ge[t.type]||t.type,i=W.getRelativePosition(t,e);return xe(n,e,i.x,i.y,t)}(e,t))})}else!function(t,e,n){var i,r,o,a,s=t[de]||(t[de]={}),l=s.resizer=function(t){var e=we(fe),n=we(fe+"-expand"),i=we(fe+"-shrink");n.appendChild(we()),i.appendChild(we()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){e._reset(),t()};return ye(n,"scroll",r.bind(n,"expand")),ye(i,"scroll",r.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,r=i?i.clientWidth:0;e(xe("resize",n)),i&&i.clientWidth<r&&n.canvas&&e(xe("resize",n))}},o=!1,a=[],function(){a=Array.prototype.slice.call(arguments),r=r||this,o||(o=!0,W.requestAnimFrame.call(window,function(){o=!1,i.apply(r,a)}))}));!function(t,e){var n=t[de]||(t[de]={}),i=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};W.each(pe,function(e){ye(t,e,i)}),n.reflow=!!t.offsetParent,t.classList.add(he)}(t,function(){if(s.resizer){var e=t.parentNode;e&&e!==l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}})}(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=((n[de]||{}).proxies||{})[t.id+"_"+e];r&&be(i,e,r)}else!function(t){var e=t[de]||{},n=e.resizer;delete e.resizer,function(t){var e=t[de]||{},n=e.renderProxy;n&&(W.each(pe,function(e){be(t,e,n)}),delete e.renderProxy),t.classList.remove(he)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}(i)}};W.addEvent=ye,W.removeEvent=be;var Ce=W.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},_e._enabled?_e:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}});F._set("global",{plugins:{}});var ke={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,o,a,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(o=(r=l[i]).plugin)[e])&&((a=[t].concat(n||[])).push(r.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],i=[],r=t&&t.config||{},o=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,r=o[e];!1!==r&&(!0===r&&(r=W.clone(F.global.plugins[e])),n.push(t),i.push({plugin:t,options:r||{}}))}}),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Te={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=W.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?W.merge(Object.create(null),[F.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=W.extend(this.defaults[t],e))},addScalesToLayout:function(t){W.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,ue.addBox(t,e)})}},Se=W.valueOrDefault,Ee=W.rtl.getRtlAdapter;F._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:W.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var o=t[0];o.label?n=o.label:o.xLabel?n=o.xLabel:r>0&&o.index<r&&(n=i[o.index])}return n},afterTitle:W.noop,beforeBody:W.noop,beforeLabel:W.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),W.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:W.noop,afterBody:W.noop,beforeFooter:W.noop,footer:W.noop,afterFooter:W.noop}}});var Ae={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,o=0;for(e=0,n=t.length;e<n;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,r+=s.y,++o}}return{x:i/o,y:r/o}},nearest:function(t,e){var n,i,r,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=W.distanceBetweenPoints(e,u);c<s&&(s=c,r=l)}}if(r){var d=r.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}};function Le(t,e){return e&&(W.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Me(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function De(t){var e=F.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Se(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Se(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Se(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Se(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Se(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Se(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Se(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Se(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Se(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Oe(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ie(t){return Le([],Me(t))}var Pe=$.extend({initialize:function(){this._model=De(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),r=n.title.apply(t,arguments),o=n.afterTitle.apply(t,arguments),a=[];return a=Le(a,Me(i)),a=Le(a,Me(r)),Le(a,Me(o))},getBeforeBody:function(){return Ie(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return W.each(t,function(t){var o={before:[],lines:[],after:[]};Le(o.before,Me(i.beforeLabel.call(n,t,e))),Le(o.lines,i.label.call(n,t,e)),Le(o.after,Me(i.afterLabel.call(n,t,e))),r.push(o)}),r},getAfterBody:function(){return Ie(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),o=[];return o=Le(o,Me(n)),o=Le(o,Me(i)),Le(o,Me(r))},update:function(t){var e,n,i,r,o,a,s,l,u,c,d=this,f=d._options,h=d._model,p=d._model=De(f),g=d._active,m=d._data,v={xAlign:h.xAlign,yAlign:h.yAlign},y={x:h.x,y:h.y},b={width:h.width,height:h.height},x={x:h.caretX,y:h.caretY};if(g.length){p.opacity=1;var w=[],_=[];x=Ae[f.position].call(d,g,d._eventPosition);var C=[];for(e=0,n=g.length;e<n;++e)C.push((r=void 0,o=void 0,l=void 0,u=void 0,c=void 0,r=(i=g[e])._xScale,o=i._yScale||i._scale,a=i._index,u=(l=i._chart.getDatasetMeta(s=i._datasetIndex).controller)._getIndexScale(),c=l._getValueScale(),{xLabel:r?r.getLabelForIndex(a,s):"",yLabel:o?o.getLabelForIndex(a,s):"",label:u?""+u.getLabelForIndex(a,s):"",value:c?""+c.getLabelForIndex(a,s):"",index:a,datasetIndex:s,x:i._model.x,y:i._model.y}));f.filter&&(C=C.filter(function(t){return f.filter(t,m)})),f.itemSort&&(C=C.sort(function(t,e){return f.itemSort(t,e,m)})),W.each(C,function(t){w.push(f.callbacks.labelColor.call(d,t,d._chart)),_.push(f.callbacks.labelTextColor.call(d,t,d._chart))}),p.title=d.getTitle(C,m),p.beforeBody=d.getBeforeBody(C,m),p.body=d.getBody(C,m),p.afterBody=d.getAfterBody(C,m),p.footer=d.getFooter(C,m),p.x=x.x,p.y=x.y,p.caretPadding=f.caretPadding,p.labelColors=w,p.labelTextColors=_,p.dataPoints=C,y=function(t,e,n,i){var r=t.x,o=t.y,a=t.caretPadding,s=n.xAlign,l=n.yAlign,u=t.caretSize+a,c=t.cornerRadius+a;return"right"===s?r-=e.width:"center"===s&&((r-=e.width/2)+e.width>i.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===l?o+=u:o-="bottom"===l?e.height+u:e.height/2,"center"===l?"left"===s?r+=u:"right"===s&&(r-=u):"left"===s?r-=c:"right"===s&&(r+=c),{x:r,y:o}}(p,b=function(t,e){var n=t._chart.ctx,i=2*e.yPadding,r=0,o=e.body,a=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0),s=e.title.length,l=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=(a+=e.beforeBody.length+e.afterBody.length)*c,i+=a?(a-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*d,i+=l?(l-1)*e.footerSpacing:0;var f=0,h=function(t){r=Math.max(r,n.measureText(t).width+f)};return n.font=W.fontString(u,e._titleFontStyle,e._titleFontFamily),W.each(e.title,h),n.font=W.fontString(c,e._bodyFontStyle,e._bodyFontFamily),W.each(e.beforeBody.concat(e.afterBody),h),f=e.displayColors?c+2:0,W.each(o,function(t){W.each(t.before,h),W.each(t.lines,h),W.each(t.after,h)}),f=0,n.font=W.fontString(d,e._footerFontStyle,e._footerFontFamily),W.each(e.footer,h),{width:r+=2*e.xPadding,height:i}}(this,p),v=function(t,e){var n,i,r,o,a,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",d="center";s.y<e.height?d="top":s.y>l.height-e.height&&(d="bottom");var f=(u.left+u.right)/2,h=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=f},i=function(t){return t>f}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},o=function(t){return t-e.width-s.caretSize-s.caretPadding<0},a=function(t){return t<=h?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",d=a(s.y))):i(s.x)&&(c="right",o(s.x)&&(c="center",d=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,b),d._chart)}else p.opacity=0;return p.xAlign=v.xAlign,p.yAlign=v.yAlign,p.x=y.x,p.y=y.y,p.width=b.width,p.height=b.height,p.caretX=x.x,p.caretY=x.y,d._model=p,t&&f.custom&&f.custom.call(d,p),d},drawCaret:function(t,e){var n=this._chart.ctx,i=this.getCaretPosition(t,e,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var i,r,o,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,f=n.yAlign,h=t.x,p=t.y,g=e.width,m=e.height;if("center"===f)s=p+m/2,"left"===d?(r=(i=h)-u,o=i,a=s+u,l=s-u):(r=(i=h+g)+u,o=i,a=s-u,l=s+u);else if("left"===d?(i=(r=h+c+u)-u,o=r+u):"right"===d?(i=(r=h+g-c-u)-u,o=r+u):(i=(r=n.caretX)-u,o=r+u),"top"===f)s=(a=p)-u,l=a;else{s=(a=p+m)+u,l=a;var v=o;o=i,i=v}return{x1:i,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(t,e,n){var i,r,o,a=e.title,s=a.length;if(s){var l=Ee(e.rtl,e.x,e.width);for(t.x=Oe(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=W.fontString(i,e._titleFontStyle,e._titleFontFamily),o=0;o<s;++o)n.fillText(a[o],l.x(t.x),t.y+i/2),t.y+=i+r,o+1===s&&(t.y+=e.titleMarginBottom-r)}},drawBody:function(t,e,n){var i,r,o,a,s,l,u,c,d=e.bodyFontSize,f=e.bodySpacing,h=e._bodyAlign,p=e.body,g=e.displayColors,m=0,v=g?Oe(e,"left"):0,y=Ee(e.rtl,e.x,e.width),b=function(e){n.fillText(e,y.x(t.x+m),t.y+d/2),t.y+=d+f},x=y.textAlign(h);for(n.textAlign=h,n.textBaseline="middle",n.font=W.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Oe(e,x),n.fillStyle=e.bodyFontColor,W.each(e.beforeBody,b),m=g&&"right"!==x?"center"===h?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(i=p[s],o=e.labelColors[s],n.fillStyle=r=e.labelTextColors[s],W.each(i.before,b),l=0,c=(a=i.lines).length;l<c;++l){if(g){var w=y.x(v);n.fillStyle=e.legendColorBackground,n.fillRect(y.leftForLtr(w,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(y.leftForLtr(w,d),t.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(y.leftForLtr(y.xPlus(w,1),d-2),t.y+1,d-2,d-2),n.fillStyle=r}b(a[l])}W.each(i.after,b)}m=0,W.each(e.afterBody,b),t.y-=f},drawFooter:function(t,e,n){var i,r,o=e.footer,a=o.length;if(a){var s=Ee(e.rtl,e.x,e.width);for(t.x=Oe(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=s.textAlign(e._footerAlign),n.textBaseline="middle",i=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=W.fontString(i,e._footerFontStyle,e._footerFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,a=t.x,s=t.y,l=i.width,u=i.height,c=e.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===o&&this.drawCaret(t,i),n.lineTo(a+l-c,s),n.quadraticCurveTo(a+l,s,a+l,s+c),"center"===o&&"right"===r&&this.drawCaret(t,i),n.lineTo(a+l,s+u-c),n.quadraticCurveTo(a+l,s+u,a+l-c,s+u),"bottom"===o&&this.drawCaret(t,i),n.lineTo(a+c,s+u),n.quadraticCurveTo(a,s+u,a,s+u-c),"center"===o&&"left"===r&&this.drawCaret(t,i),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,W.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),W.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!W.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}});Pe.positioners=Ae;var Ne=W.valueOrDefault;function ze(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,o,a,s=n[t].length;for(e[t]||(e[t]=[]),r=0;r<s;++r)o=Ne((a=n[t][r]).type,"xAxes"===t?"category":"linear"),r>=e[t].length&&e[t].push({}),W.merge(e[t][r],!e[t][r].type||a.type&&a.type!==e[t][r].type?[Te.getScaleDefaults(o),a]:a)}else W._merger(t,e,n,i)}})}function Fe(){return W.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||Object.create(null),o=n[t];"scales"===t?e[t]=ze(r,o):"scale"===t?e[t]=W.merge(r,[Te.getScaleDefaults(o.type),o]):W._merger(t,e,n,i)}})}function Be(t){var e=t.options;W.each(t.scales,function(e){ue.removeBox(t,e)}),e=Fe(F.global,F[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function je(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(W.findIndex(t,r)>=0);return i}function Re(t){return"top"===t||"bottom"===t}function He(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}F._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var We=function(t,e){return this.construct(t,e),this};W.extend(We.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Fe(F.global,F[t.type],t.options||{}),t}(e);var i=Ce.acquireContext(t,e),r=i&&i.canvas,o=r&&r.height,a=r&&r.width;n.id=W.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,We.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return ke.notify(t,"beforeInit"),W.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),ke.notify(t,"afterInit"),t},clear:function(){return W.canvas.clear(this),this},stop:function(){return G.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(W.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?o/r:W.getMaximumHeight(i)));if((e.width!==o||e.height!==a)&&(i.width=e.width=o,i.height=e.height=a,i.style.width=o+"px",i.style.height=a+"px",W.retinaScale(e,n.devicePixelRatio),!t)){var s={width:o,height:a};ke.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;W.each(e.xAxes,function(t,n){t.id||(t.id=je(e.xAxes,"x-axis-",n))}),W.each(e.yAxes,function(t,n){t.id||(t.id=je(e.yAxes,"y-axis-",n))}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),W.each(i,function(e){var i=e.options,o=i.id,a=Ne(i.type,e.dtype);Re(i.position)!==Re(e.dposition)&&(i.position=e.dposition),r[o]=!0;var s=null;if(o in n&&n[o].type===a)(s=n[o]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Te.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),W.each(r,function(t,e){t||delete n[e]}),t.scales=n,Te.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t<e;t++){var o=r[t],a=n.getDatasetMeta(t),s=o.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(t),a=n.getDatasetMeta(t)),a.type=s,a.order=o.order||0,a.index=t,a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var l=Yt[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,t),i.push(a.controller)}}return i},resetElements:function(){var t=this;W.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Be(i),ke._invalidate(i),!1!==ke.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(e=0,n=i.data.datasets.length;e<n;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&W.each(r,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],ke.notify(i,"afterUpdate"),i._layers.sort(He("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==ke.notify(t,"beforeLayout")&&(ue.update(this,this.width,this.height),t._layers=[],W.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(t,e){t._idx=e}),ke.notify(t,"afterScaleUpdate"),ke.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==ke.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);ke.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==ke.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),ke.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,i=Ne(t.duration,n&&n.duration),r=t.lazy;if(!1!==ke.notify(e,"beforeRender")){var o=function(t){ke.notify(e,"afterRender"),W.callback(n&&n.onComplete,[t],e)};if(n&&i){var a=new X({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var n=e.currentStep,i=n/e.numSteps;t.draw((0,W.easing.effects[e.easing])(i),i,n)},onAnimationProgress:n.onProgress,onAnimationComplete:o});G.addAnimation(e,a,i,r)}else e.draw(),o(new X({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),W.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==ke.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),ke.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||i.push(this.getDatasetMeta(e));return i.sort(He("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==ke.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);ke.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==ke.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),ke.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==ke.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),ke.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return Jt.modes.single(this,t)},getElementsAtEvent:function(t){return Jt.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Jt.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=Jt.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return Jt.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),W.canvas.clear(n),Ce.releaseContext(n.ctx),n.canvas=null,n.ctx=null),ke.notify(n,"destroy"),delete We.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Pe({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};W.each(t.options.events,function(i){Ce.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},Ce.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,W.each(e,function(e,n){Ce.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,r,o,a=n?"set":"remove";for(r=0,o=t.length;r<o;++r)(i=t[r])&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==ke.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),ke.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},r=i.hover;return n.lastActive=n.lastActive||[],n.active="mouseout"===t.type?[]:n.getElementsAtEventForMode(t,r.mode,r),W.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,r.mode,!1),n.active.length&&r.mode&&n.updateHoverStyle(n.active,r.mode,!0),e=!W.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),We.instances={};var qe=We;function Ve(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Ue(t){this.options=t||{}}We.Controller=We,We.types={},W.configMerge=Fe,W.scaleMerge=ze,W.extend(Ue.prototype,{formats:Ve,parse:Ve,format:Ve,add:Ve,diff:Ve,startOf:Ve,endOf:Ve,_create:function(t){return t}}),Ue.override=function(t){W.extend(Ue.prototype,t)};var Ye={_date:Ue},$e={formatters:{values:function(t){return W.isArray(t)?t:""+t},linear:function(t,e,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=W.log10(Math.abs(i)),o="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=W.log10(Math.abs(t)),s=Math.floor(a)-Math.floor(r);s=Math.max(Math.min(s,20),0),o=t.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),o=t.toFixed(l)}else o="0";return o},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(W.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},Qe=W.isArray,Xe=W.isNullOrUndef,Ge=W.valueOrDefault,Ke=W.valueAtIndexOrDefault;function Ze(t,e,n){var i,r=t.getTicks().length,o=Math.min(e,r-1),a=t.getPixelForTick(o),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===r?Math.max(a-s,l-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(o-1))/2,(a+=o<e?i:-i)<s-1e-6||a>l+1e-6)))return a}function Je(t){return t.drawTicks?t.tickMarkLength:0}function tn(t){var e,n;return t.display?(e=W.options._parseFont(t),n=W.options.toPadding(t.padding),e.lineHeight+n.height):0}function en(t,e){return W.extend(W.options._parseFont({fontFamily:Ge(e.fontFamily,t.fontFamily),fontSize:Ge(e.fontSize,t.fontSize),fontStyle:Ge(e.fontStyle,t.fontStyle),lineHeight:Ge(e.lineHeight,t.lineHeight)}),{color:W.options.resolve([e.fontColor,t.fontColor,F.global.defaultFontColor])})}function nn(t){var e=en(t,t.minor);return{minor:e,major:t.major.enabled?en(t,t.major):e}}function rn(t){var e,n,i,r=[];for(n=0,i=t.length;n<i;++n)void 0!==(e=t[n])._index&&r.push(e);return r}function on(t,e,n,i){var r,o,a,s,l=Ge(n,0),u=Math.min(Ge(i,t.length),t.length),c=0;for(e=Math.ceil(e),i&&(e=(r=i-n)/Math.floor(r/e)),s=l;s<0;)c++,s=Math.round(l+c*e);for(o=Math.max(l,0);o<u;o++)a=t[o],o===s?(a._index=o,c++,s=Math.round(l+c*e)):delete a.label}F._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:$e.formatters.values,minor:{},major:{}}});var an=$.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){W.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,r,o,a,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=W.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],i=0,r=l.ticks.length;i<r;++i)a.push({value:l.ticks[i],major:!1});return l._ticks=a,o=l._convertTicksToLabels((s=c<a.length)?function(t,e){for(var n=[],i=t.length/e,r=0,o=t.length;r<o;r+=i)n.push(t[Math.floor(r)]);return n}(a,c):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var t,e,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,i=!i),n._startPixel=t,n._endPixel=e,n._reversePixels=i,n._length=e-t},afterUpdate:function(){W.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){W.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){W.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){W.callback(this.options.beforeDataLimits,[this])},determineDataLimits:W.noop,afterDataLimits:function(){W.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){W.callback(this.options.beforeBuildTicks,[this])},buildTicks:W.noop,afterBuildTicks:function(t){var e=this;return Qe(t)&&t.length?W.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=W.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){W.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){W.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){W.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,i,r,o,a,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,f=u.maxRotation,h=d;!s._isVisible()||!u.display||d>=f||c<=1||!s.isHorizontal()?s.labelRotation=d:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(r=l.offset?s.maxWidth/c:i/(c-1))&&(r=i/(c-(l.offset?.5:1)),o=s.maxHeight-Je(l.gridLines)-u.padding-tn(l.scaleLabel),a=Math.sqrt(e*e+n*n),h=W.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),h=Math.max(d,Math.min(f,h))),s.labelRotation=h)},afterCalculateTickRotation:function(){W.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){W.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,o=i.scaleLabel,a=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=Je(a)+tn(o)),u?s&&(e.height=Je(a)+tn(o)):e.height=t.maxHeight,r.display&&s){var c=nn(r),d=t._getLabelSizes(),f=d.first,h=d.last,p=d.widest,g=d.highest,m=.4*c.minor.lineHeight,v=r.padding;if(u){var y=0!==t.labelRotation,b=W.toRadians(t.labelRotation),x=Math.cos(b),w=Math.sin(b);e.height=Math.min(t.maxHeight,e.height+(w*p.width+x*(g.height-(y?g.offset:0))+(y?0:m))+v);var _,C,k=t.getPixelForTick(0)-t.left,T=t.right-t.getPixelForTick(t.getTicks().length-1);y?(_=l?x*f.width+w*f.offset:w*(f.height-f.offset),C=l?w*(h.height-h.offset):x*h.width+w*h.offset):(_=f.width/2,C=h.width/2),t.paddingLeft=Math.max((_-k)*t.width/(t.width-k),0)+3,t.paddingRight=Math.max((C-T)*t.width/(t.width-T),0)+3}else e.width=Math.min(t.maxWidth,e.width+(r.mirror?0:p.width+v+m)),t.paddingTop=f.height/2,t.paddingBottom=h.height/2}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){W.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Xe(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map(function(t){return t.value}),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;n<i;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=function(t,e,n,i){var r,o,a,s,l,u,c,d,f,h,p,g,m,v=n.length,y=[],b=[],x=[],w=0,_=0;for(r=0;r<v;++r){if(s=n[r].label,t.font=u=(l=n[r].major?e.major:e.minor).string,c=i[u]=i[u]||{data:{},gc:[]},d=l.lineHeight,f=h=0,Xe(s)||Qe(s)){if(Qe(s))for(o=0,a=s.length;o<a;++o)Xe(p=s[o])||Qe(p)||(f=W.measureText(t,c.data,c.gc,f,p),h+=d)}else f=W.measureText(t,c.data,c.gc,f,s),h=d;y.push(f),b.push(h),x.push(d/2),w=Math.max(f,w),_=Math.max(h,_)}function C(t){return{width:y[t]||0,height:b[t]||0,offset:x[t]||0}}return function(t,e){W.each(t,function(t){var n,i=t.gc,r=i.length/2;if(r>e){for(n=0;n<r;++n)delete t.data[i[n]];i.splice(0,r)}})}(i,v),g=y.indexOf(w),m=b.indexOf(_),{first:C(0),last:C(v-1),widest:C(g),highest:C(m)}}(t.ctx,nn(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,i,r;return Qe(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),i=Math.min(e,n),r=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),i=t,r=t),{min:i,max:r,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:W.noop,getPixelForValue:W.noop,getValueForPixel:W.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,o=this.options.ticks,a=o.maxTicksLimit||this._length/this._tickSize()+1,s=o.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;e<n;e++)t[e].major&&i.push(e);return i}(t):[],l=s.length,u=s[0],c=s[l-1];if(l>a)return function(t,e,n){var i,r,o=0,a=e[0];for(n=Math.ceil(n),i=0;i<t.length;i++)r=t[i],i===a?(r._index=i,a=e[++o*n]):delete r.label}(t,s,l/a),rn(t);if(i=function(t,e,n,i){var r,o,a,s,l=function(t){var e,n,i=t.length;if(i<2)return!1;for(n=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/i;if(!l)return Math.max(u,1);for(a=0,s=(r=W.math._factorize(l)).length-1;a<s;a++)if((o=r[a])>u)return o;return Math.max(u,1)}(s,t,0,a),l>0){for(e=0,n=l-1;e<n;e++)on(t,i,s[e],s[e+1]);return on(t,i,W.isNullOrUndef(r=l>1?(c-u)/(l-1):null)?0:u-r,u),on(t,i,c,W.isNullOrUndef(r)?t.length:c+r),rn(t)}return on(t,i),rn(t)},_tickSize:function(){var t=this.options.ticks,e=W.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),r=this._getLabelSizes(),o=t.autoSkipPadding||0,a=r?r.widest.width+o:0,s=r?r.highest.height+o:0;return this.isHorizontal()?s*n>a*i?a/n:s/i:s*i<a*n?s/n:a/i},_isVisible:function(){var t,e,n,i=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(t=0,e=i.data.datasets.length;t<e;++t)if(i.isDatasetVisible(t)&&((n=i.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,r,o,a,s,l,u,c,d,f,h,p,g,m,v,y=this,b=y.chart,x=y.options,w=x.gridLines,_=x.position,C=w.offsetGridLines,k=y.isHorizontal(),T=y._ticksToDraw,S=T.length+(C?1:0),E=Je(w),A=[],L=w.drawBorder?Ke(w.lineWidth,0,0):0,M=L/2,D=W._alignPixel,O=function(t){return D(b,t,L)};for("top"===_?(e=O(y.bottom),s=y.bottom-E,u=e-M,d=O(t.top)+M,h=t.bottom):"bottom"===_?(e=O(y.top),d=t.top,h=O(t.bottom)-M,s=e+M,u=y.top+E):"left"===_?(e=O(y.right),a=y.right-E,l=e-M,c=O(t.left)+M,f=t.right):(e=O(y.left),c=t.left,f=O(t.right)-M,a=e+M,l=y.left+E),n=0;n<S;++n)Xe((i=T[n]||{}).label)&&n<T.length||(n===y.zeroLineIndex&&x.offset===C?(p=w.zeroLineWidth,g=w.zeroLineColor,m=w.zeroLineBorderDash||[],v=w.zeroLineBorderDashOffset||0):(p=Ke(w.lineWidth,n,1),g=Ke(w.color,n,"rgba(0,0,0,0.1)"),m=w.borderDash||[],v=w.borderDashOffset||0),void 0!==(r=Ze(y,i._index||n,C))&&(o=D(b,r,p),k?a=l=c=f=o:s=u=d=h=o,A.push({tx1:a,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:f,y2:h,width:p,color:g,borderDash:m,borderDashOffset:v})));return A.ticksLength=S,A.borderValue=e,A},_computeLabelItems:function(){var t,e,n,i,r,o,a,s,l,u,c,d,f=this,h=f.options,p=h.ticks,g=h.position,m=p.mirror,v=f.isHorizontal(),y=f._ticksToDraw,b=nn(p),x=p.padding,w=Je(h.gridLines),_=-W.toRadians(f.labelRotation),C=[];for("top"===g?(o=f.bottom-w-x,a=_?"left":"center"):"bottom"===g?(o=f.top+w+x,a=_?"right":"center"):"left"===g?(r=f.right-(m?0:w)-x,a=m?"left":"right"):(r=f.left+(m?0:w)+x,a=m?"right":"left"),t=0,e=y.length;t<e;++t)i=(n=y[t]).label,Xe(i)||(s=f.getPixelForTick(n._index||t)+p.labelOffset,u=(l=n.major?b.major:b.minor).lineHeight,c=Qe(i)?i.length:1,v?(r=s,d="top"===g?((_?1:.5)-c)*u:(_?0:.5)*u):(o=s,d=(1-c)*u/2),C.push({x:r,y:o,rotation:_,label:i,font:l,textOffset:d,textAlign:a}));return C},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var i,r,o,a,s,l=e.ctx,u=e.chart,c=W._alignPixel,d=n.drawBorder?Ke(n.lineWidth,0,0):0,f=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(o=0,a=f.length;o<a;++o)i=(s=f[o]).width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var h,p,g,m,v=d,y=Ke(n.lineWidth,f.ticksLength-1,1),b=f.borderValue;e.isHorizontal()?(h=c(u,e.left,v)-v/2,p=c(u,e.right,y)+y/2,g=m=b):(g=c(u,e.top,v)-v/2,m=c(u,e.bottom,y)+y/2,h=p=b),l.lineWidth=d,l.strokeStyle=Ke(n.color,0),l.beginPath(),l.moveTo(h,g),l.lineTo(p,m),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,i,r,o,a,s,l,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,i=c.length;e<i;++e){if(a=(o=c[e]).font,u.save(),u.translate(o.x,o.y),u.rotate(o.rotation),u.font=a.string,u.fillStyle=a.color,u.textBaseline="middle",u.textAlign=o.textAlign,l=o.textOffset,Qe(s=o.label))for(n=0,r=s.length;n<r;++n)u.fillText(""+s[n],0,l),l+=a.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,i=n.scaleLabel;if(i.display){var r,o,a=Ge(i.fontColor,F.global.defaultFontColor),s=W.options._parseFont(i),l=W.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())r=t.left+t.width/2,o="bottom"===c?t.bottom-u-l.bottom:t.top+u+l.top;else{var f="left"===c;r=f?t.left+u+l.top:t.right-u-l.top,o=t.top+t.height/2,d=f?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(r,o),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=a,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter(function(i){return(!t||i.type===t)&&(n?i.xAxisID===e.id:i.yAxisID===e.id)})}});an.prototype._draw=an.prototype.draw;var sn=an,ln=W.isNullOrUndef,un=sn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),i=e.options.ticks,r=i.min,o=i.max,a=0,s=n.length-1;void 0!==r&&(t=n.indexOf(r))>=0&&(a=t),void 0!==o&&(t=n.indexOf(o))>=0&&(s=t),e.minIndex=a,e.maxIndex=s,e.min=n[a],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;sn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,o,a=this;return ln(e)||ln(n)||(t=a.chart.data.datasets[n].data[e]),ln(t)||(i=a.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=a._getLabels(),t=W.valueOrDefault(i,t),e=-1!==(o=r.indexOf(t))?o:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});un._defaults={position:"bottom"};var cn=W.isNullOrUndef,dn=sn.extend({getRightValue:function(t){return"string"==typeof t?+t:sn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=W.sign(t.min),i=W.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),r!==o&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:W.noop,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:W.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var n,i,r,o,a=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,c=t.min,d=t.max,f=t.precision,h=e.min,p=e.max,g=W.niceNum((p-h)/u/l)*l;if(g<1e-14&&cn(c)&&cn(d))return[h,p];(o=Math.ceil(p/g)-Math.floor(h/g))>u&&(g=W.niceNum(o*g/u/l)*l),s||cn(f)?n=Math.pow(10,W._decimalPlaces(g)):(n=Math.pow(10,f),g=Math.ceil(g*n)/n),i=Math.floor(h/g)*g,r=Math.ceil(p/g)*g,s&&(!cn(c)&&W.almostWhole(c/g,g/1e3)&&(i=c),!cn(d)&&W.almostWhole(d/g,g/1e3)&&(r=d)),o=W.almostEquals(o=(r-i)/g,Math.round(o),g/1e3)?Math.round(o):Math.ceil(o),i=Math.round(i*n)/n,r=Math.round(r*n)/n,a.push(cn(c)?i:c);for(var m=1;m<o;++m)a.push(Math.round((i+m*g)*n)/n);return a.push(cn(d)?r:d),a}(i,t);t.handleDirectionalChanges(),t.max=W.max(r),t.min=W.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),sn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),i=e.min,r=e.max;sn.prototype._configure.call(e),e.options.offset&&n.length&&(i-=t=(r-i)/Math.max(n.length-1,1)/2,r+=t),e._startValue=i,e._endValue=r,e._valueRange=r-i}}),fn={position:"left",ticks:{callback:$e.formatters.linear}};function hn(t,e,n,i){var r,o,a=t.options,s=function(t,e,n){var i=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}(e,a.stacked,n),l=s.pos,u=s.neg,c=i.length;for(r=0;r<c;++r)o=t._parseValue(i[r]),isNaN(o.min)||isNaN(o.max)||n.data[r].hidden||(l[r]=l[r]||0,u[r]=u[r]||0,a.relativePoints?l[r]=100:o.min<0||o.max<0?u[r]+=o.min:l[r]+=o.max)}function pn(t,e,n){var i,r,o=n.length;for(i=0;i<o;++i)r=t._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||e.data[i].hidden||(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}var gn=dn.extend({determineDataLimits:function(){var t,e,n,i,r=this,o=r.options,a=r.chart.data.datasets,s=r._getMatchingVisibleMetas(),l=o.stacked,u={},c=s.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<c;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<c;++t)n=a[(e=s[t]).index].data,l?hn(r,u,e,n):pn(r,e,n);W.each(u,function(t){i=t.pos.concat(t.neg),r.min=Math.min(r.min,W.min(i)),r.max=Math.max(r.max,W.max(i))}),r.min=W.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=W.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=W.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}});gn._defaults=fn;var mn=W.valueOrDefault,vn=W.math.log10,yn={position:"left",ticks:{callback:$e.formatters.logarithmic}};function bn(t,e){return W.isFinite(t)&&t>=0?t:e}var xn=sn.extend({determineDataLimits:function(){var t,e,n,i,r,o,a=this,s=a.options,l=a.chart,u=l.data.datasets,c=a.isHorizontal();function d(t){return c?t.xAxisID===a.id:t.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var f=s.stacked;if(void 0===f)for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&d(e)&&void 0!==e.stack){f=!0;break}if(s.stacked||f){var h={};for(t=0;t<u.length;t++){var p=[(e=l.getDatasetMeta(t)).type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&d(e))for(void 0===h[p]&&(h[p]=[]),r=0,o=(i=u[t].data).length;r<o;r++){var g=h[p];n=a._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||e.data[r].hidden||n.min<0||n.max<0||(g[r]=g[r]||0,g[r]+=n.max)}}W.each(h,function(t){if(t.length>0){var e=W.min(t),n=W.max(t);a.min=Math.min(a.min,e),a.max=Math.max(a.max,n)}})}else for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&d(e))for(r=0,o=(i=u[t].data).length;r<o;r++)n=a._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||e.data[r].hidden||n.min<0||n.max<0||(a.min=Math.min(n.min,a.min),a.max=Math.max(n.max,a.max),0!==n.min&&(a.minNotZero=Math.min(n.min,a.minNotZero)));a.min=W.isFinite(a.min)?a.min:null,a.max=W.isFinite(a.max)?a.max:null,a.minNotZero=W.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=bn(e.min,t.min),t.max=bn(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(vn(t.min))-1),t.max=Math.pow(10,Math.floor(vn(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(vn(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(vn(t.min))+1):10),null===t.minNotZero&&(t.minNotZero=t.min>0?t.min:t.max<1?Math.pow(10,Math.floor(vn(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:bn(e.min),max:bn(e.max)},r=t.ticks=function(t,e){var n,i,r=[],o=mn(t.min,Math.pow(10,Math.floor(vn(e.min)))),a=Math.floor(vn(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===o?(n=Math.floor(vn(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(o),o=i*Math.pow(10,n)):(n=Math.floor(vn(o)),i=Math.floor(o/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(o),10==++i&&(i=1,l=++n>=0?1:l),o=Math.round(i*Math.pow(10,n)*l)/l}while(n<a||n===a&&i<s);var u=mn(t.max,o);return r.push(u),r}(i,t);t.max=W.max(r),t.min=W.min(r),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),sn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(vn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;sn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=mn(t.options.ticks.fontSize,F.global.defaultFontSize)/t._length),t._startValue=vn(e),t._valueOffset=n,t._valueRange=(vn(t.max)-vn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(vn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}});xn._defaults=yn;var wn=W.valueOrDefault,_n=W.valueAtIndexOrDefault,Cn=W.options.resolve,kn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:$e.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Tn(t){var e=t.ticks;return e.display&&t.display?wn(e.fontSize,F.global.defaultFontSize)+2*e.backdropPaddingY:0}function Sn(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function En(t){return 0===t||180===t?"center":t<180?"left":"right"}function An(t,e,n,i){var r,o,a=n.y+i/2;if(W.isArray(e))for(r=0,o=e.length;r<o;++r)t.fillText(e[r],n.x,a),a+=i;else t.fillText(e,n.x,a)}function Ln(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Mn(t){return W.isNumber(t)?t:0}var Dn=dn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Tn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;W.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);W.each(r.data,function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Tn(this.options))},convertTicksToLabels:function(){var t=this;dn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=W.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,r=W.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=r.string,t._pointLabelSizes=[];var s,l,u,c=t.chart.data.labels.length;for(e=0;e<c;e++){i=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=r.lineHeight,n=W.isArray(u=t.pointLabels[e])?{w:W.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizes[e]=n;var d=t.getIndexAngle(e),f=W.toDegrees(d)%360,h=Sn(f,i.x,n.w,0,180),p=Sn(f,i.y,n.h,90,270);h.start<o.l&&(o.l=h.start,a.l=d),h.end>o.r&&(o.r=h.end,a.r=d),p.start<o.t&&(o.t=p.start,a.t=d),p.end>o.b&&(o.b=p.end,a.b=d)}t.setReductions(t.drawingArea,o,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),o=Math.max(e.r-i.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Mn(r),o=Mn(o),a=Mn(a),s=Mn(s),i.drawingArea=Math.min(Math.floor(t-(r+o)/2),Math.floor(t-(a+s)/2)),i.setCenterPoint(r,o,a,s)},setCenterPoint:function(t,e,n,i){var r=this,o=n+r.drawingArea,a=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((t+r.drawingArea+(r.width-e-r.drawingArea))/2+r.left),r.yCenter=Math.floor((o+a)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(W.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,o=i.options,a=o.gridLines,s=o.angleLines,l=wn(s.lineWidth,a.lineWidth),u=wn(s.color,a.color);if(o.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=Tn(n),o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),a=W.options._parseFont(i);e.save(),e.font=a.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=t.getPointPosition(s,o+(0===s?r/2:0)+5),u=_n(i.fontColor,s,F.global.defaultFontColor);e.fillStyle=u;var c=t.getIndexAngle(s),d=W.toDegrees(c);e.textAlign=En(d),Ln(d,t._pointLabelSizes[s],l),An(e,t.pointLabels[s],l,a.lineHeight)}e.restore()}(i),a.display&&W.each(i.ticks,function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var r,o=t.ctx,a=e.circular,s=t.chart.data.labels.length,l=_n(e.color,i-1),u=_n(e.lineWidth,i-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),o.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=t.getPointPosition(c,n),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}(i,a,e,n))}),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash(Cn([s.borderDash,a.borderDash,[]])),r.lineDashOffset=Cn([s.borderDashOffset,a.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,r,o=t.getIndexAngle(0),a=W.options._parseFont(n),s=wn(n.fontColor,F.global.defaultFontColor);e.save(),e.font=a.string,e.translate(t.xCenter,t.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",W.each(t.ticks,function(o,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=e.measureText(o).width,e.fillStyle=n.backdropColor,e.fillRect(-r/2-n.backdropPaddingX,-i-a.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(o,0,-i))}),e.restore()}},_drawTitle:W.noop});Dn._defaults=kn;var On=W._deprecated,In=W.options.resolve,Pn=W.valueOrDefault,Nn=Number.MIN_SAFE_INTEGER||-9007199254740991,zn=Number.MAX_SAFE_INTEGER||9007199254740991,Fn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Bn=Object.keys(Fn);function jn(t,e){return t-e}function Rn(t){return W.valueOrDefault(t.time.min,t.ticks.min)}function Hn(t){return W.valueOrDefault(t.time.max,t.ticks.max)}function Wn(t,e,n,i){var r=function(t,e,n){for(var i,r,o,a=0,s=t.length-1;a>=0&&a<=s;){if(r=t[(i=a+s>>1)-1]||null,o=t[i],!r)return{lo:null,hi:o};if(o[e]<n)a=i+1;else{if(!(r[e]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}(t,e,n),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],a=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=a[e]-o[e];return o[i]+(a[i]-o[i])*(s?(n-o[e])/s:0)}function qn(t,e){var n=t._adapter,i=t.options.time,r=i.parser,o=r||i.format,a=e;return"function"==typeof r&&(a=r(a)),W.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(e),W.isFinite(a)||(a=n.parse(a))),a)}function Vn(t,e){if(W.isNullOrUndef(e))return null;var n=t.options.time,i=qn(t,t.getRightValue(e));return null===i||n.round&&(i=+t._adapter.startOf(i,n.round)),i}function Un(t,e,n,i){var r,o,a,s=Bn.length;for(r=Bn.indexOf(t);r<s-1;++r)if(a=(o=Fn[Bn[r]]).steps?o.steps:zn,o.common&&Math.ceil((n-e)/(a*o.size))<=i)return Bn[r];return Bn[s-1]}function Yn(t,e,n){var i,r,o=[],a={},s=e.length;for(i=0;i<s;++i)a[r=e[i]]=i,o.push({value:r,major:!1});return 0!==s&&n?function(t,e,n,i){var r,o,a=t._adapter,s=+a.startOf(e[0].value,i),l=e[e.length-1].value;for(r=s;r<=l;r=+a.add(r,1,i))(o=n[r])>=0&&(e[o].major=!0);return e}(t,o,a,n):o}var $n=sn.extend({initialize:function(){this.mergeTicksOptions(),sn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new Ye._date(e.adapters.date);return On("time scale",n.format,"time.format","time.parser"),On("time scale",n.min,"time.min","ticks.min"),On("time scale",n.max,"time.max","ticks.max"),W.mergeIf(n.displayFormats,i.formats()),sn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),sn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",f=zn,h=Nn,p=[],g=[],m=[],v=s._getLabels();for(t=0,n=v.length;t<n;++t)m.push(Vn(s,v[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(W.isObject((r=l.data.datasets[t].data)[0]))for(g[t]=[],e=0,i=r.length;e<i;++e)o=Vn(s,r[e]),p.push(o),g[t][e]=o;else g[t]=m.slice(0),a||(p=p.concat(m),a=!0);else g[t]=[];m.length&&(f=Math.min(f,m[0]),h=Math.max(h,m[m.length-1])),p.length&&(p=n>1?function(t){var e,n,i,r={},o=[];for(e=0,n=t.length;e<n;++e)r[i=t[e]]||(r[i]=!0,o.push(i));return o}(p).sort(jn):p.sort(jn),f=Math.min(f,p[0]),h=Math.max(h,p[p.length-1])),f=Vn(s,Rn(c))||f,h=Vn(s,Hn(c))||h,f=f===zn?+u.startOf(Date.now(),d):f,h=h===Nn?+u.endOf(Date.now(),d)+1:h,s.min=Math.min(f,h),s.max=Math.max(f+1,h),s._table=[],s._timestamps={data:p,datasets:g,labels:m}},buildTicks:function(){var t,e,n,i=this,r=i.min,o=i.max,a=i.options,s=a.ticks,l=a.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),f=s.source,h=a.distribution;for(u="data"===f||"auto"===f&&"series"===h?u.data:"labels"===f?u.labels:function(t,e,n,i){var r,o=t._adapter,a=t.options,s=a.time,l=s.unit||Un(s.minUnit,e,n,i),u=In([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=e,f=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+o.add(r,u,l))f.push(r);return r!==n&&"ticks"!==a.bounds||f.push(r),f}(i,r,o,d),"ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=Vn(i,Rn(a))||r,o=Vn(i,Hn(a))||o,t=0,e=u.length;t<e;++t)(n=u[t])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=l.unit||(s.autoSkip?Un(l.minUnit,i.min,i.max,d):function(t,e,n,i,r){var o,a;for(o=Bn.length-1;o>=Bn.indexOf(n);o--)if(Fn[a=Bn[o]].common&&t._adapter.diff(r,i,a)>=e-1)return a;return Bn[n?Bn.indexOf(n):0]}(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=Bn.indexOf(t)+1,n=Bn.length;e<n;++e)if(Fn[Bn[e]].common)return Bn[e]}(i._unit):void 0,i._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,o,a,s,l,u=[],c=[e];for(r=0,o=t.length;r<o;++r)(s=t[r])>e&&s<n&&c.push(s);for(c.push(n),r=0,o=c.length;r<o;++r)l=c[r+1],s=c[r],void 0!==(a=c[r-1])&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:r/(o-1)});return u}(i._timestamps.data,r,o,h),i._offsets=function(t,e,n,i,r){var o,a,s=0,l=0;return r.offset&&e.length&&(o=Wn(t,"time",e[0],"pos"),s=1===e.length?1-o:(Wn(t,"time",e[1],"pos")-o)/2,a=Wn(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-Wn(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,c,0,0,a),s.reverse&&c.reverse(),Yn(i,c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,r=n.chart.data,o=n.options.time,a=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return W.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?i.format(qn(n,a),o.tooltipFormat):"string"==typeof a?a:i.format(qn(n,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var r=this.options,o=r.time.displayFormats,a=this._majorUnit,s=o[a],l=n[e],u=r.ticks,c=a&&s&&l&&l.major,d=this._adapter.format(t,i||(c?s:o[this._unit])),f=c?u.major:u.minor,h=In([f.callback,f.userCallback,u.callback,u.userCallback]);return h?h(d,e,n):d},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this._offsets,n=Wn(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=Vn(this,t)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,i=Wn(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=W.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),r=Math.cos(i),o=Math.sin(i),a=Pn(e.fontSize,F.global.defaultFontSize);return{w:n*r+a*o,h:n*o+a*r}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=e.tickFormatFunction(t,0,Yn(e,[t],e._majorUnit),r),a=e._getLabelSize(o),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h);return e.options.offset&&s--,s>0?s:1}});$n._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Qn={category:un,linear:gn,logarithmic:xn,radialLinear:Dn,time:$n},Xn={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Ye._date.override("function"==typeof t?{_id:"moment",formats:function(){return Xn},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),F._set("global",{plugins:{filler:{propagate:!0}}});var Gn={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],o=r.length||0;return o?function(t,e){return e<o&&r[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return W.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};function Kn(t,e,n){var i,r=t._model||{},o=r.fill;if(void 0===o&&(o=!!r.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function Zn(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,r,o,a=t.el._scale,s=a.options,l=a.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(n=s.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,e=s.ticks.reverse?a.max:a.min),r=0;r<l;++r)o="start"===u||"end"===u?a.getPointPositionForValue(r,"start"===u?e:n):a.getBasePosition(r),s.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(r)-Math.PI/2),c.push(o);return c}(t):function(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePixel&&(o=i.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if(W.isFinite(o))return{x:(e=i.isHorizontal())?o:null,y:e?null:o}}return null}(t)}function Jn(t,e,n){var i,r=t[e].fill,o=[e];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=t[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}function ti(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),Gn[n](t))}function ei(t){return t&&!t.skip}function ni(t,e,n,i,r){var o,a,s,l;if(i&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o<i;++o)W.canvas.lineTo(t,e[o-1],e[o]);if(void 0===n[0].angle)for(t.lineTo(n[r-1].x,n[r-1].y),o=r-1;o>0;--o)W.canvas.lineTo(t,n[o],n[o-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),o=r-1;o>0;--o)t.arc(a,s,l,n[o].angle,n[o-1].angle,!0)}}function ii(t,e,n,i,r,o){var a,s,l,u,c,d,f,h,p=e.length,g=i.spanGaps,m=[],v=[],y=0,b=0;for(t.beginPath(),a=0,s=p;a<s;++a)c=n(u=e[l=a%p]._view,l,i),d=ei(u),f=ei(c),o&&void 0===h&&d&&(s=p+(h=a+1)),d&&f?(y=m.push(u),b=v.push(c)):y&&b&&(g?(d&&m.push(u),f&&v.push(c)):(ni(t,m,v,y,b),y=b=0,m=[],v=[]));ni(t,m,v,y,b),t.closePath(),t.fillStyle=r,t.fill()}var ri={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,r,o,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<a;++i)o=null,(r=(n=t.getDatasetMeta(i)).dataset)&&r._model&&r instanceof yt.Line&&(o={visible:t.isDatasetVisible(i),fill:Kn(r,i,a),chart:t,el:r}),n.$filler=o,l.push(o);for(i=0;i<a;++i)(o=l[i])&&(o.fill=Jn(l,i,s),o.boundary=Zn(o),o.mapper=ti(o))},beforeDatasetsDraw:function(t){var e,n,i,r,o,a,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=l.length-1;n>=0;--n)(e=l[n].$filler)&&e.visible&&(r=(i=e.el)._view,o=i._children||[],s=r.backgroundColor||F.global.defaultColor,(a=e.mapper)&&s&&o.length&&(W.canvas.clipArea(u,t.chartArea),ii(u,o,a,r,s,i._loop),W.canvas.unclipArea(u)))}},oi=W.rtl.getRtlAdapter,ai=W.noop,si=W.valueOrDefault;function li(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}F._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}},this)}}},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),o=t.data.datasets;for(r.setAttribute("class",t.id+"-legend"),e=0,n=o.length;e<n;e++)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[e].backgroundColor,o[e].label&&i.appendChild(document.createTextNode(o[e].label));return r.outerHTML}});var ui=$.extend({initialize:function(t){W.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:ai,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:ai,beforeSetDimensions:ai,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:ai,beforeBuildLabels:ai,buildLabels:function(){var t=this,e=t.options.labels||{},n=W.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:ai,beforeFit:ai,fit:function(){var t=this,e=t.options,n=e.labels,i=e.display,r=t.ctx,o=W.options._parseFont(n),a=o.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),i){if(r.font=o.string,u){var c=t.lineWidths=[0],d=0;r.textAlign="left",r.textBaseline="middle",W.each(t.legendItems,function(t,e){var i=li(n,a)+a/2+r.measureText(t.text).width;(0===e||c[c.length-1]+i+2*n.padding>l.width)&&(d+=a+n.padding,c[c.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:a},c[c.length-1]+=i+n.padding}),l.height+=d}else{var f=n.padding,h=t.columnWidths=[],p=t.columnHeights=[],g=n.padding,m=0,v=0;W.each(t.legendItems,function(t,e){var i=li(n,a)+a/2+r.measureText(t.text).width;e>0&&v+a+2*f>l.height&&(g+=m+n.padding,h.push(m),p.push(v),m=0,v=0),m=Math.max(m,i),v+=a+f,s[e]={left:0,top:0,width:i,height:a}}),g+=m,h.push(m),p.push(v),l.width+=g}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:ai,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=F.global,r=i.defaultColor,o=i.elements.line,a=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var c,d=oi(e.rtl,t.left,t.minSize.width),f=t.ctx,h=si(n.fontColor,i.defaultFontColor),p=W.options._parseFont(n),g=p.size;f.textAlign=d.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.strokeStyle=h,f.fillStyle=h,f.font=p.string;var m=li(n,g),v=t.legendHitBoxes,y=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},b=t.isHorizontal();c=b?{x:t.left+y(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+y(a,s[0]),line:0},W.rtl.overrideTextDirection(t.ctx,e.textDirection);var x=g+n.padding;W.each(t.legendItems,function(e,i){var h=f.measureText(e.text).width,p=m+g/2+h,w=c.x,_=c.y;d.setWidth(t.minSize.width),b?i>0&&w+p+n.padding>t.left+t.minSize.width&&(_=c.y+=x,c.line++,w=c.x=t.left+y(l,u[c.line])):i>0&&_+x>t.top+t.minSize.height&&(w=c.x=w+t.columnWidths[c.line]+n.padding,c.line++,_=c.y=t.top+y(a,s[c.line]));var C=d.x(w);!function(t,e,i){if(!(isNaN(m)||m<=0)){f.save();var a=si(i.lineWidth,o.borderWidth);if(f.fillStyle=si(i.fillStyle,r),f.lineCap=si(i.lineCap,o.borderCapStyle),f.lineDashOffset=si(i.lineDashOffset,o.borderDashOffset),f.lineJoin=si(i.lineJoin,o.borderJoinStyle),f.lineWidth=a,f.strokeStyle=si(i.strokeStyle,r),f.setLineDash&&f.setLineDash(si(i.lineDash,o.borderDash)),n&&n.usePointStyle){var s=m*Math.SQRT2/2,l=d.xPlus(t,m/2);W.canvas.drawPoint(f,i.pointStyle,s,l,e+g/2,i.rotation)}else f.fillRect(d.leftForLtr(t,m),e,m,g),0!==a&&f.strokeRect(d.leftForLtr(t,m),e,m,g);f.restore()}}(C,_,e),v[i].left=d.leftForLtr(C,v[i].width),v[i].top=_,function(t,e,n,i){var r=g/2,o=d.xPlus(t,m+r),a=e+r;f.fillText(n.text,o,a),n.hidden&&(f.beginPath(),f.lineWidth=2,f.moveTo(o,a),f.lineTo(d.xPlus(o,i),a),f.stroke())}(C,_,e,h),b?c.x+=p+n.padding:c.y+=x}),W.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(r=o.legendHitBoxes,n=0;n<r.length;++n)if(t>=(i=r[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return o.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function ci(t,e){var n=new ui({ctx:t.ctx,options:e,chart:t});ue.configure(t,n,e),ue.addBox(t,n),t.legend=n}var di={id:"legend",_element:ui,beforeInit:function(t){var e=t.options.legend;e&&ci(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(W.mergeIf(e,F.global.legend),n?(ue.configure(t,n,e),n.options=e):ci(t,e)):n&&(ue.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},fi=W.noop;F._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var hi=$.extend({initialize:function(t){W.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:fi,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:fi,beforeSetDimensions:fi,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:fi,beforeBuildLabels:fi,buildLabels:fi,afterBuildLabels:fi,beforeFit:fi,fit:function(){var t,e=this,n=e.options,i=e.minSize={},r=e.isHorizontal();n.display?(t=(W.isArray(n.text)?n.text.length:1)*W.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=r?e.maxWidth:t,e.height=i.height=r?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:fi,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,o,a=W.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,u=0,c=t.top,d=t.left,f=t.bottom,h=t.right;e.fillStyle=W.valueOrDefault(n.fontColor,F.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(r=d+(h-d)/2,o=c+l,i=h-d):(r="left"===n.position?d+l:h-l,o=c+(f-c)/2,i=f-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,o),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var p=n.text;if(W.isArray(p))for(var g=0,m=0;m<p.length;++m)e.fillText(p[m],0,g,i),g+=s;else e.fillText(p,0,0,i);e.restore()}}});function pi(t,e){var n=new hi({ctx:t.ctx,options:e,chart:t});ue.configure(t,n,e),ue.addBox(t,n),t.titleBlock=n}var gi={},mi=ri,vi=di,yi={id:"title",_element:hi,beforeInit:function(t){var e=t.options.title;e&&pi(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(W.mergeIf(e,F.global.title),n?(ue.configure(t,n,e),n.options=e):pi(t,e)):n&&(ue.removeBox(t,n),delete t.titleBlock)}};for(var bi in gi.filler=mi,gi.legend=vi,gi.title=yi,qe.helpers=W,function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return null!=t&&"none"!==t}function n(n,i,r){var o=document.defaultView,a=W._getParentNode(n),s=o.getComputedStyle(n)[i],l=o.getComputedStyle(a)[i],u=e(s),c=e(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(s,n,r):d,c?t(l,a,r):d):"none"}W.where=function(t,e){if(W.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return W.each(t,function(t){e(t)&&n.push(t)}),n},W.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i<r;++i)if(e.call(n,t[i],i,t))return i;return-1},W.findNextWhere=function(t,e,n){W.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var r=t[i];if(e(r))return r}},W.findPreviousWhere=function(t,e,n){W.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var r=t[i];if(e(r))return r}},W.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},W.almostEquals=function(t,e,n){return Math.abs(t-e)<n},W.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},W.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},W.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},W.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},W.toRadians=function(t){return t*(Math.PI/180)},W.toDegrees=function(t){return t*(180/Math.PI)},W._decimalPlaces=function(t){if(W.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},W.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},W.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},W.aliasPixel=function(t){return t%2==0?0:.5},W._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},W.splineCurve=function(t,e,n,i){var r=t.skip?e:t,o=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),f=i*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+f*(a.x-r.x),y:o.y+f*(a.y-r.y)}}},W.EPSILON=Number.EPSILON||1e-14,W.splineCurveMonotone=function(t){var e,n,i,r,o,a,s,l,u,c=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),d=c.length;for(e=0;e<d;++e)if(!(i=c[e]).model.skip){if(n=e>0?c[e-1]:null,(r=e<d-1?c[e+1]:null)&&!r.model.skip){var f=r.model.x-i.model.x;i.deltaK=0!==f?(r.model.y-i.model.y)/f:0}i.mK=!n||n.model.skip?i.deltaK:!r||r.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?0:(n.deltaK+i.deltaK)/2}for(e=0;e<d-1;++e)r=c[e+1],(i=c[e]).model.skip||r.model.skip||(W.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(o=i.mK/i.deltaK,a=r.mK/i.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),i.mK=o*s*i.deltaK,r.mK=a*s*i.deltaK)));for(e=0;e<d;++e)(i=c[e]).model.skip||(r=e<d-1?c[e+1]:null,(n=e>0?c[e-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(u=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-u*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(u=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+u*i.mK))},W.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},W.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},W.niceNum=function(t,e){var n=Math.floor(W.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},W.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},W.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(W.getStyle(o,"padding-left")),u=parseFloat(W.getStyle(o,"padding-top")),c=parseFloat(W.getStyle(o,"padding-right")),d=parseFloat(W.getStyle(o,"padding-bottom")),f=a.bottom-a.top-u-d;return{x:n=Math.round((n-a.left-l)/(a.right-a.left-l-c)*o.width/e.currentDevicePixelRatio),y:i=Math.round((i-a.top-u)/f*o.height/e.currentDevicePixelRatio)}},W.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},W.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},W._calculatePadding=function(t,e,n){return(e=W.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},W._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},W.getMaximumWidth=function(t){var e=W._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-W._calculatePadding(e,"padding-left",n)-W._calculatePadding(e,"padding-right",n),r=W.getConstraintWidth(t);return isNaN(r)?i:Math.min(i,r)},W.getMaximumHeight=function(t){var e=W._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-W._calculatePadding(e,"padding-top",n)-W._calculatePadding(e,"padding-bottom",n),r=W.getConstraintHeight(t);return isNaN(r)?i:Math.min(i,r)},W.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},W.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,o=t.width;i.height=r*n,i.width=o*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},W.fontString=function(t,e,n){return e+" "+t+"px "+n},W.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var a,s,l,u,c,d=0,f=n.length;for(a=0;a<f;a++)if(null!=(u=n[a])&&!0!==W.isArray(u))d=W.measureText(t,r,o,d,u);else if(W.isArray(u))for(s=0,l=u.length;s<l;s++)null==(c=u[s])||W.isArray(c)||(d=W.measureText(t,r,o,d,c));var h=o.length/2;if(h>n.length){for(a=0;a<h;a++)delete r[o[a]];o.splice(0,h)}return d},W.measureText=function(t,e,n,i,r){var o=e[r];return o||(o=e[r]=t.measureText(r).width,n.push(r)),o>i&&(i=o),i},W.numberOfLabelLines=function(t){var e=1;return W.each(t,function(t){W.isArray(t)&&t.length>e&&(e=t.length)}),e},W.color=w?function(t){return t instanceof CanvasGradient&&(t=F.global.defaultColor),w(t)}:function(t){return console.error("Color.js not found!"),t},W.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:W.color(t).saturate(.5).darken(.1).rgbString()}}(),qe._adapters=Ye,qe.Animation=X,qe.animationService=G,qe.controllers=Yt,qe.DatasetController=et,qe.defaults=F,qe.Element=$,qe.elements=yt,qe.Interaction=Jt,qe.layouts=ue,qe.platform=Ce,qe.plugins=ke,qe.Scale=sn,qe.scaleService=Te,qe.Ticks=$e,qe.Tooltip=Pe,qe.helpers.each(Qn,function(t,e){qe.scaleService.registerScaleType(e,t,t._defaults)}),gi)gi.hasOwnProperty(bi)&&qe.plugins.register(gi[bi]);qe.platform.initialize();var xi=qe;return"undefined"!=typeof window&&(window.Chart=qe),qe.Chart=qe,qe.Legend=gi.legend._element,qe.Title=gi.title._element,qe.pluginService=qe.plugins,qe.PluginBase=qe.Element.extend({}),qe.canvasHelpers=qe.helpers.canvas,qe.layoutService=qe.layouts,qe.LinearScaleBase=dn,qe.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){qe[t]=function(e,n){return new qe(e,qe.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),xi});